/*
Theme Name:  Pallas Lotteries
Theme URI:   https://pallaslotteries.ie
Author:      Flow Web Design
Author URI:  https://flowebdesign.ie
Description: Custom WooCommerce theme for Pallas Lotteries — GAA club raffle platform
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pallas
Tags:        woocommerce, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ─────────────────────────────────────────
   FONTS
───────────────────────────────────────── */
@font-face {
    font-family: 'LemonMilk';
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    src: url('assets/fonts/LEMONMILK-Light.otf') format('opentype');
}
@font-face {
    font-family: 'LemonMilk';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('assets/fonts/LEMONMILK-Regular.otf') format('opentype');
}
@font-face {
    font-family: 'LemonMilk';
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url('assets/fonts/LEMONMILK-Medium.otf') format('opentype');
}
@font-face {
    font-family: 'LemonMilk';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('assets/fonts/LEMONMILK-Bold.otf') format('opentype');
}

/* ─────────────────────────────────────────
   CSS VARIABLES
───────────────────────────────────────── */
:root {
    --navy:          #003060;
    --navy-deep:     #001E3C;
    --navy-light:    #004080;
    --navy-pale:     #E8EFF6;
    --crimson:       #C00030;
    --crimson-lite:  #E8001A;
    --orange:        #FF8C42;
    --white:         #FFFFFF;
    --off-white:     #F7F8FA;
    --grey-50:       #F0F2F5;
    --grey-100:      #DDE1E8;
    --grey-300:      #9BA4B0;
    --grey-500:      #5C6472;
    --grey-700:      #2E3340;
    --serif:         'LemonMilk', 'Trebuchet MS', sans-serif;
    --sans:          'DM Sans', system-ui, sans-serif;
    --radius:        2px;
}

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--white);
    color: var(--grey-700);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--crimson); }

ul, ol { list-style: none; }

.container {
    width: 100%;
}

/* ─────────────────────────────────────────
   TYPOGRAPHY HELPERS
───────────────────────────────────────── */
.section-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--crimson);
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(20px, 2.8vw, 32px);
    font-weight: 700;
    color: var(--navy-deep);
    line-height: 1.2;
    letter-spacing: 0.03em;
}

.section-title em {
    font-style: italic;
    color: var(--crimson);
}

.section-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 16px;
}

.view-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    border-bottom: 1.5px solid var(--navy);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}
.view-all:hover { color: var(--crimson); border-color: var(--crimson); }

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn-primary {
    display: inline-block;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--crimson);
    border: none;
    padding: 14px 32px;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: var(--radius);
    letter-spacing: 0.03em;
    line-height: 1;
}
.btn-primary:hover { background: var(--crimson-lite); color: #fff; transform: translateY(-1px); }

.btn-secondary {
    display: inline-block;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    background: transparent;
    border: 1.5px solid var(--navy);
    padding: 13px 28px;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: var(--radius);
}
.btn-secondary:hover { background: var(--navy); color: #fff; }

.btn-navy {
    display: inline-block;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: var(--navy);
    border: none;
    padding: 11px 20px;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: var(--radius);
}
.btn-navy:hover { background: var(--navy-light); color: #fff; }

/* ─────────────────────────────────────────
   HEADER / NAV
───────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; }

.main-nav {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 120px;
    border-bottom: 3px solid var(--crimson);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}
.site-header.scrolled .main-nav { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.main-nav .custom-logo-link { display: block; flex-shrink: 0; }
.main-nav .custom-logo { height: 115px; max-height: 115px; width: auto; max-width: 180px; display: block; object-fit: contain; }
.nav-logo-top { font-family: var(--sans); font-weight: 700; font-size: 18px; letter-spacing: 0.12em; color: var(--navy); display: block; line-height: 1; }
.nav-logo-bottom { font-family: var(--sans); font-weight: 700; font-size: 11px; letter-spacing: 0.22em; color: var(--crimson); display: block; margin-top: 2px; }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--navy); transition: color 0.2s; }
.nav-links a:hover { color: var(--crimson); }

.nav-right { display: flex; align-items: center; gap: 12px; }

.btn-cart {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: transparent; border: none;
    cursor: pointer; transition: all 0.2s;
    position: relative;
}
.btn-cart:hover { opacity: 0.7; }
.cart-count {
    position: absolute; top: 2px; right: 2px;
    background: var(--crimson); color: #fff;
    font-size: 9px; font-weight: 700;
    width: 16px; height: 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}

.btn-login {
    font-family: var(--sans); font-size: 13px; font-weight: 500;
    color: var(--navy); background: transparent;
    border: 1px solid rgba(0,48,96,0.3);
    padding: 8px 18px; cursor: pointer; transition: all 0.2s;
    border-radius: var(--radius); text-decoration: none;
    display: inline-block;
}
.btn-login:hover { background: var(--navy-pale); color: var(--navy); }

.btn-enter-nav {
    font-family: var(--sans); font-size: 13px; font-weight: 600;
    color: #fff; background: var(--crimson); border: none;
    padding: 9px 22px; cursor: pointer; transition: background 0.2s;
    border-radius: var(--radius); text-decoration: none;
    display: inline-block;
}
.btn-enter-nav:hover { background: var(--crimson-lite); color: #fff; }

.nav-mobile-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-mobile-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--navy); transition: all 0.25s; border-radius: 1px;
}
.nav-mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─────────────────────────────────────────
   HERO SLIDER
───────────────────────────────────────── */
.hero-slider { position: relative; height: 82vh; min-height: 560px; overflow: hidden; }

.hero-slide {
    position: absolute; inset: 0; width: 100%; height: 100%;
    display: flex; align-items: center;
    background-size: cover; background-position: center center;
    opacity: 0; transition: opacity 0.9s ease; pointer-events: none;
    background-color: var(--navy-deep);
}
.hero-slide.active { opacity: 1; pointer-events: auto; }

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,18,40,0.96) 0%, rgba(0,18,40,0.90) 35%, rgba(0,18,40,0.65) 58%, rgba(0,18,40,0.15) 100%);
}

.hero-content { position: relative; z-index: 2; padding: 80px 56px 80px 48px; max-width: 580px; }

.hero-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(192,0,48,0.18); border: 1px solid rgba(192,0,48,0.45);
    color: #FF6680; font-size: 11px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    padding: 5px 12px; margin-bottom: 28px; width: fit-content;
}
.live-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #FF4466; animation: blink 1.8s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.hero-title {
    font-family: var(--serif); font-size: clamp(28px, 3.8vw, 52px);
    font-weight: 700; line-height: 1.15; color: #fff;
    margin-bottom: 20px; letter-spacing: 0.02em;
}
.hero-title em { color: var(--crimson); font-style: italic; }

.hero-sub {
    font-size: 17px; color: rgba(255,255,255,0.65);
    max-width: 440px; margin-bottom: 40px; line-height: 1.7;
}

.hero-cta-row { display: flex; gap: 14px; align-items: center; margin-bottom: 56px; flex-wrap: wrap; }

.btn-hero-ghost {
    font-size: 14px; font-weight: 500;
    color: rgba(255,255,255,0.65); background: transparent;
    border: 1px solid rgba(255,255,255,0.25); padding: 15px 30px;
    cursor: pointer; transition: all 0.2s;
    font-family: var(--sans); border-radius: var(--radius);
    text-decoration: none; display: inline-block;
}
.btn-hero-ghost:hover { border-color: rgba(255,255,255,0.55); color: #fff; }

.hero-stats { display: flex; gap: 44px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.12); flex-wrap: wrap; }
.stat-val { font-family: var(--serif); font-size: 24px; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 4px; letter-spacing: 0.02em; }
.stat-val .c, .stat-val em { color: var(--crimson); font-style: normal; }
.stat-lbl { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4); }

/* ─────────────────────────────────────────
   TRUST BAR
───────────────────────────────────────── */
.trust-bar { background: var(--navy); padding: 18px 48px; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.62); white-space: nowrap; }
.trust-icon { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ─────────────────────────────────────────
   CLUBS MARQUEE
───────────────────────────────────────── */
.clubs-bar { background: var(--navy-deep); padding: 18px 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.clubs-inner { display: flex; gap: 48px; animation: scroll-clubs 26s linear infinite; width: max-content; }
@keyframes scroll-clubs { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.club-pill { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.club-pill::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--crimson); opacity: 0.7; flex-shrink: 0; }

/* ─────────────────────────────────────────
   SECTIONS
───────────────────────────────────────── */
.section { padding: 72px 48px; }
.section-bg { background: var(--off-white); }

/* ─────────────────────────────────────────
   RAFFLE CARDS
───────────────────────────────────────── */
.raffles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px;    padding: 0 60px; }

.raffle-card { background: #fff; border: 1px solid var(--grey-100); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.raffle-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,48,96,0.1); }

.rc-club-bar { background: var(--navy); padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; }
.rc-club { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.85); letter-spacing: 0.05em; text-transform: uppercase; }
.rc-status { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; }
.rc-status.live    { background: var(--crimson); color: #fff; }
.rc-status.closing { background: #D45800; color: #fff; }
.rc-status.new     { background: #1A7A3C; color: #fff; }

.rc-img-link { display: block; line-height: 0; }
.rc-img { width: 100%; aspect-ratio: 1/1; object-fit: contain; display: block; }

.rc-body { padding: 18px 18px 20px; }
.rc-prize-type { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--crimson); margin-bottom: 5px; }
.rc-name { font-family: var(--serif); font-size: 14px; font-weight: 700; color: var(--navy-deep); margin-bottom: 4px; line-height: 1.3; letter-spacing: 0.02em; }
.rc-name a { color: inherit; text-decoration: none; }
.rc-name a:hover { color: var(--crimson); }
.rc-value { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 14px; line-height: 1; letter-spacing: 0.02em; }
.rc-progress-row { display: flex; justify-content: space-between; font-size: 10px; color: var(--grey-500); margin-bottom: 5px; font-weight: 500; }
.rc-track { height: 5px; background: var(--grey-100); border-radius: 2px; margin-bottom: 16px; overflow: hidden; }
.rc-fill { height: 100%; background: var(--crimson); border-radius: 2px; }
.rc-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--grey-100); }
.rc-price-wrap { font-size: 11px; color: var(--grey-500); }
.rc-price-label { display: block; }
.rc-price { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--navy); display: block; }

/* ─────────────────────────────────────────
   ENDING SOON
───────────────────────────────────────── */
.ending-section { padding: 72px 48px; background: var(--navy-deep); }
.ending-section .section-eyebrow { color: var(--orange); }
.ending-section .section-title { color: #fff; }
.ending-section .section-title em { color: var(--orange); }
.ending-section .view-all { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.3); }
.ending-section .view-all:hover { color: var(--orange); border-color: var(--orange); }

.ending-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ending-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); overflow: hidden; cursor: pointer; transition: transform 0.25s, border-color 0.25s; }
.ending-card:hover { transform: translateY(-3px); border-color: rgba(255,140,66,0.5); }
.ending-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.ending-card-body { padding: 16px; }
.ending-club-tag { font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 6px; }
.ending-name { font-family: var(--serif); font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 4px; line-height: 1.3; letter-spacing: 0.02em; }
.ending-value { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--orange); margin-bottom: 12px; line-height: 1; letter-spacing: 0.02em; }
.ending-progress-row { display: flex; justify-content: space-between; font-size: 9px; color: rgba(255,255,255,0.4); margin-bottom: 5px; font-weight: 500; }
.ending-track { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-bottom: 14px; overflow: hidden; }
.ending-fill { height: 100%; background: var(--orange); border-radius: 2px; }
.ending-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.08); }
.ending-price-wrap { font-size: 10px; color: rgba(255,255,255,0.4); }
.ending-price { font-family: var(--serif); font-size: 17px; font-weight: 700; color: #fff; display: block; letter-spacing: 0.02em; }
.btn-ending { font-family: var(--sans); font-size: 11px; font-weight: 600; background: transparent; border: 1px solid rgba(255,140,66,0.6); color: var(--orange); padding: 8px 14px; cursor: pointer; transition: all 0.2s; border-radius: var(--radius); text-decoration: none; display: inline-block; }
.btn-ending:hover { background: var(--orange); color: #fff; }

/* ─────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────── */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--grey-100); }
.how-step { padding: 36px 28px; border-right: 1px solid var(--grey-100); background: #fff; position: relative; }
.how-step:last-child { border-right: none; }
.how-num { font-family: var(--serif); font-size: 56px; font-weight: 700; color: var(--grey-100); line-height: 1; margin-bottom: 16px; }
.how-icon-wrap { width: 44px; height: 44px; background: var(--navy-pale); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.how-title { font-family: var(--serif); font-size: 13px; font-weight: 700; color: var(--navy-deep); margin-bottom: 8px; letter-spacing: 0.03em; }
.how-desc { font-size: 13px; color: var(--grey-500); line-height: 1.65; }
.how-step::after { content: '\2192'; position: absolute; right: -13px; top: 48px; font-size: 18px; color: var(--grey-300); z-index: 1; background: #fff; padding: 0 2px; }
.how-step:last-child::after { display: none; }

/* ─────────────────────────────────────────
   WINNERS CAROUSEL
───────────────────────────────────────── */
.carousel-wrap { position: relative; display: flex; align-items: center; gap: 16px; }
.carousel-viewport { overflow: hidden; width: 100%; }
.carousel-track { display: flex; gap: 24px; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.carousel-btn { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1.5px solid var(--grey-100); color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; }
.carousel-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grey-100); border: none; cursor: pointer; transition: all 0.2s; padding: 0; }
.carousel-dot.active { background: var(--crimson); width: 24px; border-radius: 4px; }

.winner-card { flex-shrink: 0; background: #fff; border: 1px solid var(--grey-100); padding: 28px; position: relative; box-sizing: border-box; }
.winner-tick { position: absolute; top: 24px; right: 24px; width: 32px; height: 32px; background: var(--crimson); display: flex; align-items: center; justify-content: center; }
.winner-club-tag { display: inline-flex; align-items: center; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); background: var(--navy-pale); padding: 4px 10px; margin-bottom: 16px; }
.winner-prize-name { font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--navy-deep); margin-bottom: 4px; letter-spacing: 0.02em; }
.winner-amount { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--crimson); margin-bottom: 4px; line-height: 1; letter-spacing: 0.02em; }
.winner-name-loc { font-size: 13px; color: var(--grey-500); margin-bottom: 18px; }
.winner-quote { font-family: var(--serif); font-size: 15px; font-style: italic; color: var(--grey-500); line-height: 1.6; padding-left: 14px; border-left: 3px solid var(--crimson); }

/* ─────────────────────────────────────────
   CTA BANNER
───────────────────────────────────────── */
.cta-banner { background: var(--crimson); padding: 64px 48px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(255,255,255,0.04) 30px, rgba(255,255,255,0.04) 31px); pointer-events: none; }
.cta-banner-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; width: 100%; }
.cta-title { font-family: var(--serif); font-size: clamp(18px, 2.4vw, 28px); font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.2; letter-spacing: 0.03em; }
.cta-sub { font-size: 15px; color: rgba(255,255,255,0.75); }
.btn-cta-white { font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--crimson); background: #fff; border: none; padding: 16px 36px; cursor: pointer; transition: all 0.2s; border-radius: var(--radius); white-space: nowrap; text-decoration: none; display: inline-block; }
.btn-cta-white:hover { background: #f0f0f0; color: var(--crimson); transform: translateY(-1px); }



/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer { background: var(--navy-deep); padding: 60px 48px 32px; border-top: 3px solid var(--crimson); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo-link { text-decoration: none; display: block; margin-bottom: 16px; }
.footer-brand img, .footer-brand .custom-logo { height: 44px; max-height: 44px; width: auto; max-width: 160px; display: block; object-fit: contain; }
.footer-logo-top { font-family: var(--sans); font-weight: 700; font-size: 20px; letter-spacing: 0.1em; color: #fff; display: block; }
.footer-logo-bottom { font-family: var(--sans); font-weight: 700; font-size: 11px; letter-spacing: 0.25em; color: var(--crimson); display: block; margin-top: 2px; margin-bottom: 16px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 240px; }
.footer-col-head { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 18px; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.58); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-legal { font-size: 11px; color: rgba(255,255,255,0.32); }
.footer-18plus { width: 32px; height: 32px; border: 2px solid rgba(255,255,255,0.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.4); flex-shrink: 0; }

/* ─────────────────────────────────────────
   ARCHIVE PAGE
───────────────────────────────────────── */
.archive-header { background: var(--navy-deep); padding: 48px; border-bottom: 3px solid var(--crimson); }
.archive-title { font-family: var(--serif); font-size: clamp(28px, 4vw, 48px); font-weight: 700; color: #fff; letter-spacing: 0.03em; }
.archive-title em { color: var(--crimson); font-style: italic; }
.pallas-woo-wrap { padding: 48px; }
.archive-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--grey-100); }
.archive-result-count { font-size: 13px; color: var(--grey-500); }
.archive-pagination { margin-top: 48px; display: flex; justify-content: center; gap: 8px; }
.archive-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--grey-100); font-size: 13px; color: var(--navy); transition: all 0.2s; text-decoration: none; }
.archive-pagination .page-numbers.current, .archive-pagination .page-numbers:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.no-products { text-align: center; padding: 80px 0; }
.no-products p { font-size: 16px; color: var(--grey-500); margin-bottom: 24px; }

/* ─────────────────────────────────────────
   SINGLE PRODUCT
───────────────────────────────────────── */
.single-product-wrap { padding: 48px 48px 80px; }
.product-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--grey-500); margin-bottom: 36px; flex-wrap: wrap; }
.product-breadcrumb a { color: var(--grey-500); text-decoration: none; }
.product-breadcrumb a:hover { color: var(--crimson); }
.product-breadcrumb span { color: var(--grey-300); }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product-main-image { overflow: hidden; border-radius: var(--radius); }
.product-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-club-badge { background: var(--navy); color: #fff; padding: 12px 16px; display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.product-club-label { font-size: 10px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; }
.product-club-name { font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.product-status-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.product-prize-type { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-500); }
.product-title { font-family: var(--serif); font-size: clamp(22px, 3vw, 36px); font-weight: 700; color: var(--navy-deep); margin-bottom: 12px; line-height: 1.2; letter-spacing: 0.02em; }
.product-prize-value { font-family: var(--serif); font-size: 42px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1; letter-spacing: 0.02em; }
.product-ticket-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 24px; }
.ticket-price-label { font-size: 12px; color: var(--grey-500); }
.ticket-price-val { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--navy); }
.product-progress-wrap { margin-bottom: 20px; }
.product-draw-date { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--grey-500); margin-bottom: 28px; }
.product-draw-date strong { color: var(--navy-deep); }
.product-add-to-cart { margin-bottom: 28px; }
.product-description { border-top: 1px solid var(--grey-100); padding-top: 24px; margin-bottom: 24px; }
.product-desc-title { font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--navy-deep); margin-bottom: 12px; letter-spacing: 0.02em; }
.product-description p { font-size: 14px; color: var(--grey-500); line-height: 1.7; margin-bottom: 12px; }
.product-trust-mini { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--grey-100); }
.trust-mini-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--grey-500); }
.product-acf-block { border-top: 1px solid var(--grey-100); padding-top: 20px; margin-top: 20px; }
.product-acf-title { font-family: var(--serif); font-size: 13px; font-weight: 700; color: var(--navy-deep); margin-bottom: 10px; letter-spacing: 0.03em; text-transform: uppercase; }
.product-acf-block p { font-size: 14px; color: var(--grey-500); line-height: 1.7; margin-bottom: 8px; }
.product-acf-block ul { list-style: disc; padding-left: 20px; font-size: 14px; color: var(--grey-500); line-height: 1.7; }
.product-livestream { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: rgba(192,0,48,0.05); border: 1px solid rgba(192,0,48,0.2); margin-top: 0; }
.product-livestream a { font-size: 13px; font-weight: 600; color: var(--crimson); }
.product-livestream a:hover { text-decoration: underline; }

/* ─────────────────────────────────────────
   WOOCOMMERCE
───────────────────────────────────────── */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top: 3px solid var(--navy); background: var(--navy-pale); color: var(--navy-deep); padding: 14px 20px; margin-bottom: 24px; font-size: 14px; list-style: none; }
.woocommerce-error { border-color: var(--crimson); background: #FFF0F3; color: var(--crimson); }
.woocommerce .single_add_to_cart_button, .woocommerce button.button.alt, .woocommerce input.button.alt { font-family: var(--sans) !important; font-size: 15px !important; font-weight: 600 !important; background: var(--crimson) !important; color: #fff !important; border: none !important; padding: 16px 36px !important; border-radius: var(--radius) !important; transition: background 0.2s, transform 0.2s !important; cursor: pointer !important; text-transform: none !important; }
.woocommerce .single_add_to_cart_button:hover, .woocommerce button.button.alt:hover { background: var(--crimson-lite) !important; transform: translateY(-1px) !important; color: #fff !important; }
.woocommerce .quantity input.qty { font-family: var(--sans); font-size: 15px; font-weight: 500; border: 1.5px solid var(--grey-100); border-radius: var(--radius); padding: 12px 16px; width: 80px; text-align: center; color: var(--navy-deep); }
.woocommerce .quantity input.qty:focus { outline: none; border-color: var(--navy); }
.woocommerce form.cart { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.woocommerce table.cart { border-collapse: collapse; width: 100%; margin-bottom: 32px; }
.woocommerce table.cart th { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-500); border-bottom: 2px solid var(--grey-100); padding: 12px 16px; }
.woocommerce table.cart td { padding: 20px 16px; border-bottom: 1px solid var(--grey-100); vertical-align: middle; font-size: 14px; }
.woocommerce table.cart .product-name a { font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--navy-deep); }
.woocommerce table.cart .product-name a:hover { color: var(--crimson); }
.woocommerce table.cart .product-price, .woocommerce table.cart .product-subtotal { font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--navy); }
.woocommerce .cart_totals h2 { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--navy-deep); margin-bottom: 20px; letter-spacing: 0.03em; }
.woocommerce .cart_totals table { width: 100%; border-collapse: collapse; }
.woocommerce .cart_totals table th, .woocommerce .cart_totals table td { padding: 12px 0; border-bottom: 1px solid var(--grey-100); font-size: 14px; }
.woocommerce .cart_totals table .order-total th, .woocommerce .cart_totals table .order-total td { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--navy-deep); border-bottom: none; padding-top: 16px; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { font-family: var(--sans) !important; font-size: 15px !important; font-weight: 600 !important; background: var(--crimson) !important; color: #fff !important; padding: 16px 32px !important; display: block !important; text-align: center !important; border-radius: var(--radius) !important; transition: background 0.2s !important; margin-top: 16px !important; }
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover { background: var(--crimson-lite) !important; }
.woocommerce form .form-row label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--grey-700); margin-bottom: 6px; display: block; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { font-family: var(--sans); font-size: 14px; border: 1.5px solid var(--grey-100); border-radius: var(--radius); padding: 12px 14px; width: 100%; color: var(--grey-700); transition: border-color 0.2s; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { outline: none; border-color: var(--navy); }
#place_order { font-family: var(--sans) !important; font-size: 16px !important; font-weight: 700 !important; background: var(--crimson) !important; color: #fff !important; padding: 18px 40px !important; width: 100% !important; border: none !important; border-radius: var(--radius) !important; cursor: pointer !important; transition: background 0.2s !important; }
#place_order:hover { background: var(--crimson-lite) !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; border: 1px solid var(--grey-100); }
.woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--grey-100); }
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child { border-bottom: none; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 12px 20px; font-size: 13px; font-weight: 500; color: var(--navy); transition: all 0.2s; }
.woocommerce-account .woocommerce-MyAccount-navigation a:hover, .woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--navy); color: #fff; }
.woocommerce-ordering select { font-family: var(--sans); font-size: 13px; border: 1px solid var(--grey-100); border-radius: var(--radius); padding: 8px 12px; color: var(--grey-700); }
.woocommerce .star-rating span::before { color: var(--crimson); }


/* ─────────────────────────────────────────
   DRAW RULES ACCORDION
───────────────────────────────────────── */
.product-acf-block--accordion {
    border-top: 1px solid var(--grey-100);
    margin-top: 20px;
}

.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 18px 0;
    cursor: pointer;
    text-align: left;
    gap: 12px;
}

.accordion-trigger-label {
    font-family: var(--serif);
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-deep);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.accordion-trigger-icon {
    width: 28px;
    height: 28px;
    background: var(--navy-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.3s;
}

.accordion-trigger[aria-expanded="true"] .accordion-trigger-icon {
    background: var(--crimson);
    transform: rotate(180deg);
}

.accordion-trigger[aria-expanded="true"] .accordion-trigger-icon svg path {
    stroke: #fff;
}

.accordion-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding-bottom: 0;
}

.accordion-body.open {
    max-height: 2000px;
    padding-bottom: 20px;
}

.accordion-body p {
    font-size: 14px;
    color: var(--grey-500);
    line-height: 1.7;
    margin-bottom: 8px;
}

.accordion-body ul, .accordion-body ol {
    padding-left: 20px;
    font-size: 14px;
    color: var(--grey-500);
    line-height: 1.7;
    margin-bottom: 8px;
}

.accordion-body ul { list-style: disc; }
.accordion-body ol { list-style: decimal; }

.accordion-body h3, .accordion-body h4 {
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-deep);
    margin: 16px 0 6px;
    letter-spacing: 0.02em;
}

/* ─────────────────────────────────────────
   FOOTER CONTACT COLUMN
───────────────────────────────────────── */
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.58); }
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.58); transition: color 0.2s; }
.footer-contact-item a:hover { color: #fff; }
.footer-contact-address span { line-height: 1.6; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1100px) {
    .ending-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
    .main-nav { padding: 0 20px; height: 64px; }
    .nav-links { display: none; }
    .nav-mobile-toggle { display: flex; }
    .nav-menu-wrap { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-top: 1px solid var(--grey-100); box-shadow: 0 8px 24px rgba(0,0,0,0.1); padding: 16px 20px; z-index: 99; }
    .nav-menu-wrap.open { display: block; }
    .nav-menu-wrap .nav-links { flex-direction: column; gap: 0; display: flex; }
    .nav-menu-wrap .nav-links li { border-bottom: 1px solid var(--grey-50); }
    .nav-menu-wrap .nav-links a { display: block; padding: 12px 0; font-size: 15px; }
    .hero-content { padding: 48px 20px; }
    .hero-title { font-size: clamp(24px, 7vw, 36px); }
    .raffles-grid { grid-template-columns: 1fr; }
    #draws .raffles-grid { grid-template-columns: 1fr; }
    .how-grid { grid-template-columns: 1fr 1fr; }
    .how-step::after { display: none; }
    .section { padding: 48px 20px; }
    .ending-section { padding: 48px 20px; }
    .trust-bar { padding: 16px 20px; gap: 20px; }
    .cta-banner { padding: 40px 20px; flex-direction: column; }
    .product-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .site-footer { padding: 48px 20px 24px; }
    .single-product-wrap { padding: 24px 20px 48px; }
    .pallas-woo-wrap { padding: 32px 20px; }
    .archive-header { padding: 32px 20px; }
}
@media (max-width: 600px) {
    .ending-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 24px; }
    .how-grid { grid-template-columns: 1fr; }
}



/* ─────────────────────────────────────────
   CLUB ENQUIRY PAGE
───────────────────────────────────────── */

/* Page header — no hero image, dark navy with texture */
.page-header {
    background: var(--navy-deep);
    padding: 56px 48px 52px;
    border-bottom: 3px solid var(--crimson);
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255,255,255,0.018) 40px, rgba(255,255,255,0.018) 41px);
    pointer-events: none;
}
.page-header-inner { position: relative; z-index: 1; max-width: 640px; }
.page-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(192,0,48,0.9); margin-bottom: 12px; display: block; }
.page-title { font-family: var(--serif); font-size: clamp(26px, 3.5vw, 44px); font-weight: 700; color: #fff; line-height: 1.15; letter-spacing: 0.02em; margin-bottom: 16px; }
.page-title em { color: var(--crimson); font-style: italic; }
.page-subtitle { font-size: 16px; color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 520px; }

/* Dark section variant */
.section-dark { background: var(--navy-deep); }
.section-dark .section-eyebrow { color: rgba(192,0,48,0.85); }
.section-dark .section-title { color: #fff; }

/* Benefits grid */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.benefit-card {
    background: #fff; border: 1px solid var(--grey-100);
    padding: 32px 24px; position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.benefit-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,48,96,0.09); }
.benefit-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--crimson); opacity: 0; transition: opacity 0.2s; }
.benefit-card:hover::after { opacity: 1; }
.benefit-icon { width: 48px; height: 48px; background: var(--navy-pale); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.benefit-title { font-family: var(--serif); font-size: 14px; font-weight: 700; color: var(--navy-deep); margin-bottom: 10px; letter-spacing: 0.02em; }
.benefit-desc { font-size: 13px; color: var(--grey-500); line-height: 1.65; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.testimonial-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 32px; }
.testimonial-quote { font-family: var(--sans); font-size: 16px; font-style: italic; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 24px; padding-left: 16px; border-left: 3px solid var(--crimson); }
.testimonial-club { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 4px; }
.testimonial-person { font-size: 14px; font-weight: 600; color: #fff; }
.testimonial-raised { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; background: rgba(192,0,48,0.2); border: 1px solid rgba(192,0,48,0.35); padding: 5px 12px; }
.testimonial-raised span { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #FF8080; }
.testimonial-raised strong { font-family: var(--serif); font-size: 15px; font-weight: 700; color: #fff; }

/* Form layout */
.form-section { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.form-left-title { font-family: var(--serif); font-size: clamp(20px, 2.5vw, 30px); font-weight: 700; color: var(--navy-deep); margin-bottom: 16px; letter-spacing: 0.02em; line-height: 1.2; }
.form-left-title em { color: var(--crimson); font-style: italic; }
.form-left-desc { font-size: 15px; color: var(--grey-500); line-height: 1.75; margin-bottom: 32px; }
.form-promises { display: flex; flex-direction: column; gap: 14px; }
.form-promise { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; color: var(--grey-700); line-height: 1.5; }
.form-promise-tick { width: 20px; height: 20px; background: var(--crimson); flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 1px; }

/* Contact form */
.contact-form { background: #fff; border: 1px solid var(--grey-100); padding: 36px; }
.form-title { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--navy-deep); letter-spacing: 0.02em; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--grey-100); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-500); }
.form-group input, .form-group select, .form-group textarea { font-family: var(--sans); font-size: 14px; border: 1.5px solid var(--grey-100); border-radius: var(--radius); padding: 11px 14px; color: var(--grey-700); transition: border-color 0.2s; background: #fff; width: 100%; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239BA4B0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-submit { margin-top: 24px; }
.btn-submit, .wpcf7-submit { font-family: var(--sans); font-size: 15px; font-weight: 600; color: #fff; background: var(--crimson); border: none; padding: 16px 40px; cursor: pointer; transition: all 0.2s; border-radius: var(--radius); width: 100%; letter-spacing: 0.03em; }
.btn-submit:hover, .wpcf7-submit:hover { background: var(--crimson-lite); transform: translateY(-1px); }
.form-note { font-size: 11px; color: var(--grey-300); text-align: center; margin-top: 12px; line-height: 1.6; }
.form-success-msg { display: flex; align-items: flex-start; gap: 14px; background: #EAF7EE; border: 1px solid #A8DDB5; padding: 20px; margin-bottom: 24px; }
.form-success-msg strong { display: block; font-size: 15px; font-weight: 600; color: #1A7A3C; margin-bottom: 4px; }
.form-success-msg p { font-size: 13px; color: #2E6B3E; margin: 0; }
.form-error-msg { background: #FFF0F3; border: 1px solid rgba(192,0,48,0.3); padding: 16px 20px; color: var(--crimson); font-size: 13px; margin-bottom: 24px; }

/* FAQ */
.section-alt{background: var(--off-white);}
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.faq-item { padding: 28px; border: 1px solid var(--grey-100); background: #fff; }
.faq-q { font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--navy-deep); margin-bottom: 10px; letter-spacing: 0.02em; line-height: 1.3; }
.faq-a { font-size: 13px; color: var(--grey-500); line-height: 1.7; }

/* Responsive */
@media (max-width: 900px) {
    .page-header { padding: 40px 20px; }
    .benefits-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .form-section { grid-template-columns: 1fr; gap: 40px; }
    .faq-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .benefits-grid { grid-template-columns: 1fr; }
}



/* ─────────────────────────────────────────
   SQUARE PRODUCT IMAGES
───────────────────────────────────────── */
.rc-img { aspect-ratio: 1 / 1; }
.ending-card-img { aspect-ratio: 1 / 1; }
/*.woocommerce-product-gallery__image img,*/
/*.woocommerce-product-gallery__image a img { aspect-ratio: 1 / 1; }*/

/* ─────────────────────────────────────────
   INTERNAL DRAWS PAGE
───────────────────────────────────────── */
.page-header--internal { background: var(--navy); }
.page-header--internal .page-eyebrow { color: var(--orange); }

/* ─────────────────────────────────────────
   RECENT PROFITS PAGE
───────────────────────────────────────── */
.profits-summary-section { background: var(--navy-deep); padding: 56px 48px; }
.profits-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }

.profits-stat {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 36px 28px;
    text-align: center;
}
.profits-stat--highlight { background: rgba(192,0,48,0.12); border-color: rgba(192,0,48,0.25); }
.profits-stat-val { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; color: #fff; line-height: 1; margin-bottom: 8px; letter-spacing: 0.02em; }
.profits-stat--highlight .profits-stat-val { color: #FF8080; }
.profits-stat-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); }

.profits-table-section { padding: 72px 48px; }
.profits-table-wrap { overflow-x: auto; margin-top: 40px; }

.profits-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.profits-table thead tr { background: var(--navy-deep); }
.profits-table thead th {
    font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
    text-transform: uppercase; color: rgba(255,255,255,0.55);
    padding: 14px 16px; text-align: left; white-space: nowrap;
    border-bottom: none;
}
.profits-table thead th.text-right { text-align: right; }
.profits-table tbody tr { border-bottom: 1px solid var(--grey-100); transition: background 0.15s; }
.profits-table tbody tr:hover { background: var(--navy-pale); }
.profits-table tbody td { padding: 16px; color: var(--grey-700); vertical-align: middle; }
.profits-table td.text-right { text-align: right; }

.profits-club-tag {
    display: inline-flex; align-items: center;
    font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--navy); background: var(--navy-pale);
    padding: 4px 10px; white-space: nowrap;
}
.profits-draw-name { font-family: var(--serif); font-weight: 700; color: var(--navy-deep); font-size: 14px; letter-spacing: 0.01em; }
.profits-date { color: var(--grey-500); white-space: nowrap; }
.profits-raised { font-family: var(--serif); font-weight: 700; color: var(--navy); }
.profits-profit-badge {
    display: inline-block;
    font-family: var(--serif); font-weight: 700; font-size: 14px;
    color: #fff; background: var(--crimson);
    padding: 4px 10px; border-radius: var(--radius);
}
.profits-totals-row { background: var(--navy-deep); }
.profits-totals-row td { padding: 16px; color: #fff; font-size: 14px; border-bottom: none; }
.profits-totals-row td strong { font-family: var(--serif); font-size: 16px; }
.profits-empty { color: var(--grey-500); font-size: 15px; padding: 48px 0; }

/* ─────────────────────────────────────────
   RECENT PROFITS — 3 stat columns
───────────────────────────────────────── */
.profits-stats-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
    .profits-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .profits-summary-section { padding: 40px 20px; }
    .profits-stats-grid { grid-template-columns: 1fr 1fr; }
    .profits-table-section { padding: 48px 20px; }
    .profits-table { font-size: 13px; }
}
@media (max-width: 600px) {
    .profits-stats-grid { grid-template-columns: 1fr 1fr; }
}


/* ─────────────────────────────────────────
   PASSWORD PROTECTED PAGE
───────────────────────────────────────── */
.pallas-password-wrap {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 20px;
    background: var(--off-white);
}
.pallas-password-box {
    background: #fff;
    border: 1px solid var(--grey-100);
    border-top: 3px solid var(--crimson);
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    text-align: center;
}
.pallas-password-icon {
    width: 72px; height: 72px;
    background: var(--navy-pale);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
}
.pallas-password-title {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy-deep);
    letter-spacing: 0.02em;
    margin-bottom: 10px;
}
.pallas-password-desc {
    font-size: 14px;
    color: var(--grey-500);
    line-height: 1.6;
    margin-bottom: 32px;
}
.pallas-password-form { text-align: left; }
.pallas-password-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.pallas-password-field label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--grey-500);
}
.pallas-password-field input {
    font-family: var(--sans);
    font-size: 14px;
    border: 1.5px solid var(--grey-100);
    border-radius: var(--radius);
    padding: 12px 14px;
    color: var(--grey-700);
    width: 100%;
    transition: border-color 0.2s;
}
.pallas-password-field input:focus {
    outline: none;
    border-color: var(--navy);
}



/* ─────────────────────────────────────────
   CONTACT FORM 7 — Club Enquiry styling
   Makes CF7 output match the existing form
───────────────────────────────────────── */

/* Remove CF7 default paragraph wrapping */
.wpcf7 p { margin: 0; padding: 0; }
.wpcf7 br { display: none; }

/* Text, email, tel inputs */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    font-family: var(--sans) !important;
    font-size: 14px !important;
    border: 1.5px solid var(--grey-100) !important;
    border-radius: var(--radius) !important;
    padding: 11px 14px !important;
    color: var(--grey-700) !important;
    background: #fff !important;
    width: 100% !important;
    transition: border-color 0.2s !important;
    box-shadow: none !important;
    outline: none !important;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: var(--navy) !important;
    outline: none !important;
}

.wpcf7 select {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239BA4B0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    padding-right: 36px !important;
}

.wpcf7 textarea {
    resize: vertical !important;
    min-height: 100px !important;
}

/* Submit button */
.wpcf7 input[type="submit"] {
    font-family: var(--sans) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #fff !important;
    background: var(--crimson) !important;
    border: none !important;
    padding: 16px 40px !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    border-radius: var(--radius) !important;
    margin-top: 8px !important;
    letter-spacing: 0.03em !important;
}

.wpcf7 input[type="submit"]:hover {
    background: var(--crimson-lite) !important;
}

/* Validation errors */
.wpcf7 .wpcf7-not-valid-tip {
    font-size: 11px;
    color: var(--crimson);
    margin-top: 4px;
    display: block;
}

.wpcf7 .wpcf7-not-valid {
    border-color: var(--crimson) !important;
}

/* Response messages */
.wpcf7 .wpcf7-response-output {
    font-size: 13px;
    padding: 14px 18px;
    margin: 16px 0 0;
    border-radius: var(--radius);
    border: none !important;
}

.wpcf7 .wpcf7-mail-sent-ok {
    background: #EAF7EE;
    border-left: 3px solid #1A7A3C !important;
    color: #1A7A3C;
}

.wpcf7 .wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-aborted,
.wpcf7 .wpcf7-spam-blocked,
.wpcf7 .wpcf7-validation-errors {
    background: #FFF0F3;
    border-left: 3px solid var(--crimson) !important;
    color: var(--crimson);
}

/* Loading spinner */
.wpcf7 .wpcf7-spinner {
    display: none;
}