/*
Theme Name: SHA Theme
Theme URI: https://sportinghorseaustralia.org
Author: Macedon Digital
Author URI: https://macedondigital.com.au
Description: Custom theme for Sporting Horse Australia
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sha-theme
*/

/* =========================================
   DESIGN TOKENS
   ========================================= */
:root {
  /* Brand */
  --sha-navy: #0b1a55;
  --sha-navy-2: #1e3a8a;
  --sha-red: #d62828;
  --sha-red-2: #b71f1f;
  --sha-green: #16a34a;
  --sha-green-light: #F0FDF4;

  /* Elevation */
  --shadow-card: 0 10px 30px rgba(2,6,23,0.10);
  --shadow-sm: 0 1px 3px rgba(2,6,23,0.06);

  /* Radii */
  --radius-card: 24px;
  --radius-tile: 16px;
  --radius-control: 12px;
  --radius-pill: 9999px;

  /* Neutrals */
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Status */
  --green-50: #F0FDF4;
  --green-200: #BBF7D0;
  --green-700: #15803D;
  --amber-50: #FFFBEB;
  --amber-200: #FDE68A;
  --amber-700: #B45309;
  --red-50: #FEF2F2;
  --red-200: #FECACA;
  --red-700: #B91C1C;

  /* Blue */
  --blue-50: #EFF6FF;
  --blue-100: #DBEAFE;
  --blue-200: #BFDBFE;
  --blue-700: #1D4ED8;
}

/* =========================================
   RESET & BASE
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Inter, system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-900);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* =========================================
   LAYOUT
   ========================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 200ms;
}

/* Primary Red */
.btn-red {
  padding: 12px 20px;
  border-radius: var(--radius-tile);
  font-size: 16px;
  background: var(--sha-red);
  color: white;
  border-color: var(--sha-red);
}
.btn-red:hover {
  background: var(--sha-red-2);
  border-color: var(--sha-red-2);
}

/* Primary Navy */
.btn-navy {
  padding: 12px 20px;
  border-radius: var(--radius-tile);
  font-size: 16px;
  background: var(--sha-navy);
  color: white;
  border-color: var(--sha-navy);
}
.btn-navy:hover {
  background: var(--sha-navy-2);
  border-color: var(--sha-navy-2);
}

/* Secondary Outline */
.btn-outline {
  padding: 12px 20px;
  border-radius: var(--radius-tile);
  font-size: 16px;
  background: transparent;
  color: var(--sha-navy);
  border-color: var(--sha-navy);
  font-weight: 600;
}
.btn-outline:hover { background: #EFF3FF; }

/* Ghost on dark */
.btn-ghost-white {
  padding: 12px 20px;
  border-radius: var(--radius-tile);
  font-size: 16px;
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
  font-weight: 600;
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.15); }

/* Large */
.btn-lg { padding: 14px 28px; font-size: 17px; }

/* Compact variants */
.btn-sm {
  padding: 9px 18px;
  border-radius: var(--radius-control);
  font-size: 15px;
}

.btn-navy-sm {
  padding: 9px 18px;
  border-radius: var(--radius-control);
  font-size: 15px;
  background: var(--sha-navy);
  color: white;
  border-color: var(--sha-navy);
  font-weight: 600;
}
.btn-navy-sm:hover {
  background: var(--sha-navy-2);
  border-color: var(--sha-navy-2);
}

.btn-outline-sm {
  padding: 9px 18px;
  border-radius: var(--radius-control);
  font-size: 15px;
  background: transparent;
  color: var(--sha-navy);
  border: 2px solid var(--sha-navy);
  font-weight: 600;
}
.btn-outline-sm:hover { background: #EFF3FF; }

.btn-red-sm {
  padding: 9px 18px;
  border-radius: var(--radius-control);
  font-size: 15px;
  background: var(--sha-red);
  color: white;
  border-color: var(--sha-red);
  font-weight: 600;
}
.btn-red-sm:hover {
  background: var(--sha-red-2);
  border-color: var(--sha-red-2);
}

/* =========================================
   STATUS BADGES
   ========================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid;
}
.badge-green {
  background: var(--green-50);
  color: var(--green-700);
  border-color: var(--green-200);
}
.badge-amber {
  background: var(--amber-50);
  color: var(--amber-700);
  border-color: var(--amber-200);
}
.badge-red {
  background: var(--red-50);
  color: var(--red-700);
  border-color: var(--red-200);
}
.badge-grey {
  background: var(--gray-100);
  color: var(--gray-500);
  border-color: var(--gray-200);
}
.badge-blue {
  background: #EFF3FF;
  color: #0b1a55;
  border-color: #C7D2FE;
}

/* =========================================
   SECTION LINK
   ========================================= */
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--sha-navy);
  transition: color 200ms;
  white-space: nowrap;
}
.section-link:hover { color: var(--sha-navy-2); }

/* =========================================
   1. URGENCY BANNER
   ========================================= */
.urgency-banner {
  background: var(--amber-50);
  border-bottom: 1px solid var(--amber-200);
  padding: 9px 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--amber-700);
}
.urgency-banner a {
  text-decoration: underline;
  margin-left: 6px;
  font-weight: 700;
}

/* =========================================
   2. TOP UTILITY BAR
   ========================================= */
.top-bar {
  background: var(--sha-navy);
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.top-bar-left .dot {
  margin: 0 6px;
  opacity: 0.3;
}
.top-bar-right {
  display: flex;
  gap: 16px;
  align-items: center;
}
.top-bar-right a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: color 200ms;
}
.top-bar-right a:hover { color: white; }
.top-bar-sep {
  color: rgba(255,255,255,0.15);
  font-size: 13px;
}
.icon-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  transition: all 200ms;
}
.icon-circle:hover {
  border-color: rgba(255,255,255,0.4);
  color: white;
}

/* =========================================
   3. MAIN NAVIGATION
   ========================================= */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-mark {
  height: 44px;
  width: auto;
  border-radius: 6px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 200ms;
}
.nav-links a:hover,
.nav-links a.active,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a {
  color: var(--sha-navy);
}
.nav-cta {
  padding: 8px 16px;
  border-radius: var(--radius-control);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--sha-navy);
  color: var(--sha-navy);
  transition: all 200ms;
}
.nav-cta:hover { background: #EFF3FF; }
.nav-cta-short { display: none; }

/* Cart Icon */
.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--gray-600);
  border-radius: var(--radius-control);
  transition: all 200ms;
}
.nav-cart:hover {
  color: var(--sha-navy);
  background: var(--gray-50);
}
.nav-cart svg {
  flex-shrink: 0;
}
.nav-cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  background: var(--sha-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  border-radius: 9px;
  padding: 0 4px;
}
.nav-cart-count.hidden {
  display: none;
}

/* Toast Notification */
.sha-toast {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #16a34a;
  color: #fff;
  padding: 18px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  font-size: 17px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 300ms, transform 300ms;
}
.sha-toast--visible {
  opacity: 1;
  transform: translateY(0);
}
.sha-toast-body {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sha-toast-msg {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sha-toast-msg svg {
  flex-shrink: 0;
  stroke: #fff;
  width: 22px;
  height: 22px;
}
.sha-toast-action {
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 17px;
}
.sha-toast-action:hover {
  color: #bbf7d0;
}
.sha-toast-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 24px;
  cursor: pointer;
  padding: 0 0 0 8px;
  line-height: 1;
}
.sha-toast-close:hover {
  color: #fff;
}

/* =========================================
   4. HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(11,26,85,0.93) 0%, rgba(11,26,85,0.65) 50%, rgba(11,26,85,0.3) 100%);
}
.hero-bg--no-image {
  background:
    linear-gradient(160deg, #0d1f60 0%, #1a3580 40%, #2548a0 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background: repeating-linear-gradient(45deg, transparent, transparent 45px, white 45px, white 46px);
}
.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 44px;
  max-width: 1280px;
}
.hero-content {
  color: white;
  flex: 1;
  min-width: 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sha-red);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  color: white;
}
.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: white;
  opacity: 0.5;
}
.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.hero-content > p {
  font-size: 18px;
  opacity: 0.72;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-btns {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.hero-video-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 15px;
  font-weight: 500;
}
.play-sm {
  width: 24px;
  height: 24px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
}

/* Next Show Card */
.next-show-card {
  background: white;
  border-radius: var(--radius-card);
  padding: 26px 28px;
  width: 380px;
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
}
.card-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-500);
  font-weight: 700;
  margin-bottom: 12px;
}
.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  gap: 10px;
}
.card-top-row .badge {
  flex-shrink: 0;
  white-space: nowrap;
}
.next-show-card h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--sha-navy);
  line-height: 1.25;
}
.card-meta {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 4px;
}
.card-close {
  font-size: 14px;
  color: var(--amber-700);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--gray-200);
}
.card-btns {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.card-btns .btn,
.card-btns a[class*="btn"] {
  flex: 1;
  text-align: center;
}

/* =========================================
   5. SEASON BAR
   ========================================= */
.season-bar {
  background: var(--sha-navy);
  padding: 13px 0;
}
.season-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}
.season-stat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
}
.season-stat strong {
  font-size: 20px;
  font-weight: 800;
  color: white;
}
.season-sep {
  color: rgba(255,255,255,0.12);
  font-size: 16px;
}

/* =========================================
   SECTIONS
   ========================================= */
.section { padding: 56px 0; }
.section-grey { background: var(--gray-50); }
.section-white { background: white; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}
.section-header h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-header p {
  font-size: 16px;
  color: var(--gray-600);
  margin-top: 4px;
}

/* =========================================
   6. WHAT IS SHA + PHOTO GALLERY
   ========================================= */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}
.about-text h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.about-text p {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 10px;
}
.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}
.info-card {
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-tile);
  background: white;
}
.info-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.info-card p {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 0;
  line-height: 1.5;
}
.about-btns {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.gallery-block h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.gallery-block .sub {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-cell {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-tile);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-cell:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.gallery-cell:focus-visible {
  outline: 2px solid var(--sha-navy);
  outline-offset: 2px;
}
.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Homepage gallery lightbox */
.hp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}
.hp-lightbox[hidden] {
  display: none;
}
.hp-lightbox.active {
  opacity: 1;
}
.hp-lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}
.hp-lightbox__close,
.hp-lightbox__prev,
.hp-lightbox__next {
  position: absolute;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 32px;
  padding: 12px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 10;
}
.hp-lightbox__close:hover,
.hp-lightbox__prev:hover,
.hp-lightbox__next:hover {
  opacity: 1;
}
.hp-lightbox__close {
  top: 16px;
  right: 16px;
  font-size: 40px;
}
.hp-lightbox__prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
}
.hp-lightbox__next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
}
.hp-lightbox__caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  text-align: center;
  max-width: 500px;
}

/* =========================================
   7. UPCOMING SHOWS
   ========================================= */
.shows-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.shows-view-all-mobile {
  display: none;
}
.show-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow 200ms;
  display: flex;
  flex-direction: column;
}
.show-card:hover { box-shadow: var(--shadow-card); }
.show-card-top {
  padding: 20px 22px 12px;
  flex: 1;
}
.show-card-top .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}
.show-card-top .location {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  min-width: 0;
}
.show-card-top .badge {
  white-space: nowrap;
  flex-shrink: 0;
}
.show-card-top h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}
.show-card-top .date {
  font-size: 15px;
  color: var(--gray-500);
}
.show-card-bottom {
  padding: 12px 22px 20px;
  display: flex;
  gap: 8px;
}
.show-card-bottom .btn,
.show-card-bottom a[class*="btn"] {
  flex: 1;
  text-align: center;
}

/* =========================================
   8. MEMBERSHIP
   ========================================= */
.membership-section {
  background: var(--sha-navy);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.membership-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(30,58,138,0.5) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(214,40,40,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.membership-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.membership-intro {
  padding-top: 16px;
  position: relative;
  z-index: 1;
}
.membership-intro .section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.membership-intro h2 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 16px;
}
.membership-intro .intro-text {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 32px;
}
.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.benefit-check {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-control);
  background: rgba(22,163,74,0.15);
  border: 1px solid rgba(22,163,74,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.benefit-check svg {
  width: 12px;
  height: 12px;
  stroke: var(--sha-green);
  fill: none;
  stroke-width: 2.5;
}
.membership-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.membership-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.m-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 250ms;
}
.m-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 10px 30px rgba(2,6,23,0.15);
}
.m-card-info {
  flex: 1;
  min-width: 0;
}
.m-card-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.m-card-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}
.m-card-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.m-card-price {
  text-align: right;
}
.m-card-price .amount {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.m-card-price .period {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}
.m-card-btn {
  padding: 10px 18px;
  border-radius: var(--radius-control);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  transition: all 200ms;
  white-space: nowrap;
}
.m-card-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}
.cards-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
}
.cards-divider span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}
.cards-divider::before,
.cards-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}
.m-card.family {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.08);
}
.m-card.family:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
}
.family-savings {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sha-green);
  background: rgba(22,163,74,0.1);
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  margin-left: 8px;
}
.membership-note {
  text-align: center;
  margin-top: 48px;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}
.membership-note a {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 200ms;
}
.membership-note a:hover {
  color: #fff;
}

/* =========================================
   9. COME & TRY
   ========================================= */
.come-try {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}
.come-try-img {
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--gray-400);
  font-weight: 500;
  position: relative;
  overflow: hidden;
}
.come-try-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.come-try-img::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background: repeating-linear-gradient(45deg, transparent, transparent 28px, white 28px, white 29px);
}
.come-try-text {
  background: #EFF3FF;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.come-try-text h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.come-try-text > p {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
}
.ct-list {
  list-style: none;
  margin-bottom: 22px;
}
.ct-list li {
  font-size: 16px;
  padding: 4px 0 4px 22px;
  position: relative;
}
.ct-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green-700);
  font-weight: 800;
}
.ct-btns {
  display: flex;
  gap: 10px;
}

/* =========================================
   10. ABOUT SHA TEASER + STATS
   ========================================= */
.about-teaser-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-teaser-text h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.about-teaser-text p {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 10px;
}
.stats-row {
  display: flex;
  gap: 32px;
  margin: 24px 0;
}
.stat-item { text-align: center; }
.stat-item .num {
  font-size: 34px;
  font-weight: 800;
  color: var(--sha-navy);
}
.stat-item .lbl {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
  font-weight: 600;
  margin-top: 2px;
}
.about-teaser-photo {
  background: var(--gray-100);
  border-radius: var(--radius-card);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 500;
  overflow: hidden;
}
.about-teaser-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-card);
}

/* =========================================
   11. UNIFORMS
   ========================================= */
.uniforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.uniform-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow 200ms, border-color 200ms;
  display: flex;
  flex-direction: column;
}
.uniform-card:hover { box-shadow: var(--shadow-card); }
.uniform-card-img {
  aspect-ratio: 1;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 500;
  overflow: hidden;
}
.uniform-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.uniform-card-body {
  padding: 14px 18px 16px;
}
.uniform-card-body h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}
.uniform-card-body {
  flex: 1;
}
.uniform-card-body .sub {
  display: none;
}
.uniform-card-foot {
  padding: 0 18px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.uniform-card-foot .price {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-500);
}

/* =========================================
   12. RULES & GUIDELINES
   ========================================= */
.rules-section { padding: 48px 0; }
.rules-section .section-header { margin-bottom: 22px; }

/* =========================================
   13. SPONSORS
   ========================================= */
.sponsors-section {
  padding: 44px 0;
}
.sponsors-header {
  text-align: center;
  margin-bottom: 22px;
}
.sponsors-header h2 {
  font-size: 22px;
  font-weight: 800;
}
.sponsors-header p {
  font-size: 15px;
  color: var(--gray-500);
  margin-top: 4px;
}
.sponsors-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.sponsor-box {
  height: 64px;
  padding: 0 28px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-tile);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 600;
  overflow: hidden;
}
.sponsor-box img {
  max-height: 48px;
  width: auto;
}

/* =========================================
   14. FOOTER
   ========================================= */
.footer {
  background: var(--gray-900);
  color: var(--gray-200);
  padding: 52px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-brand p {
  font-size: 15px;
  color: var(--gray-400);
  line-height: 1.6;
  margin-top: 10px;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
.footer h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-300);
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 9px;
}
.footer-links a {
  font-size: 15px;
  color: var(--gray-300);
  transition: color 200ms;
}
.footer-links a:hover { color: white; }
.nl-form {
  display: flex;
  margin-top: 8px;
}
.nl-form input {
  flex: 1;
  height: 40px;
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-control) 0 0 var(--radius-control);
  padding: 0 12px;
  color: white;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
.nl-form input:focus {
  border-color: var(--sha-navy-2);
  box-shadow: 0 0 0 2px rgba(30,58,138,0.3);
}
.nl-form input::placeholder { color: var(--gray-600); }
.nl-form button {
  background: var(--sha-red);
  color: white;
  border: none;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 0 var(--radius-control) var(--radius-control) 0;
  cursor: pointer;
  transition: background 200ms;
}
.nl-form button:hover { background: var(--sha-red-2); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--gray-500);
}

/* =========================================
   PAGE HEADER (inner pages)
   ========================================= */
.page-header {
  background: var(--sha-navy);
  padding: 28px 0 32px;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background: repeating-linear-gradient(45deg, transparent, transparent 45px, white 45px, white 46px);
}
.page-header .container {
  position: relative;
  z-index: 2;
}
.page-header h1 {
  font-size: 32px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.page-header p {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}
.breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color 200ms;
}
.breadcrumb a:hover { color: white; }
.breadcrumb .sep { margin: 0 8px; }

/* Season bar with top border (archive variant) */
.season-bar--border {
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Show count pill */
.show-count {
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 500;
  background: var(--gray-100);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

/* Past show card — muted */
.show-card.past { opacity: 0.65; }
.show-card.past:hover { opacity: 0.85; }

/* Past shows toggle button */
.past-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 0;
  margin-top: 16px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-500);
  border: none;
  background: none;
  width: 100%;
  transition: color 200ms;
  font-family: inherit;
}
.past-toggle:hover { color: var(--sha-navy); }
.past-toggle .arrow {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gray-100);
  font-size: 12px;
  transition: transform 200ms;
}
.past-toggle.open .arrow { transform: rotate(180deg); }

/* Past shows section — hidden by default */
.past-shows { display: none; margin-top: 24px; }
.past-shows.visible { display: block; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 56px 24px;
  background: white;
  border: 1px dashed var(--gray-200);
  border-radius: var(--radius-card);
}
.empty-state h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.empty-state p {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 16px;
}

/* =========================================
   SINGLE SHOW
   ========================================= */

/* Page header — row layout with badge */
.page-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.page-header-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: rgba(255,255,255,0.6);
}
.meta-item .icon { font-size: 16px; }
.header-badge-area {
  flex-shrink: 0;
  padding-top: 6px;
}

/* Show content */
.show-content { padding: 44px 0 0; }
.show-inner { max-width: 100%; }

.show-about-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
}
.show-photo-small {
  flex-shrink: 0;
  width: 120px;
}
.show-photo-small img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-tile);
}

.show-description { flex: 1; }
.show-description h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 0;
  margin-bottom: 10px;
}
.show-description p {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Detail cards (entries close + show date) */
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.detail-card {
  padding: 18px 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-tile);
  background: white;
}
.detail-card .label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-500);
  margin-bottom: 4px;
}
.detail-card .value {
  font-size: 16px;
  font-weight: 700;
}
.detail-card .sub {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 2px;
}
.detail-card.highlight {
  border-color: var(--amber-200);
  background: var(--amber-50);
}
.detail-card.highlight .value {
  color: var(--amber-700);
}

/* Map */
.map-section { margin-bottom: 36px; }
.map-section h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.map-embed iframe {
  width: 100%;
  height: 240px;
  border: 0;
  border-radius: var(--radius-tile);
}

/* CTA strip */
.cta-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
}

/* Registration section */
.registration-section {
  padding: 48px 0 64px;
  border-top: 1px solid var(--gray-200);
  margin-top: 40px;
}
.reg-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 32px;
}
.reg-header h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.reg-header p {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.6;
}
.reg-form-wrapper {
  max-width: 820px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

/* Entries closed message */
.entries-closed-msg {
  text-align: center;
  padding: 48px 24px;
  max-width: 500px;
  margin: 0 auto;
}
.entries-closed-msg .icon {
  font-size: 40px;
  margin-bottom: 12px;
}
.entries-closed-msg h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.entries-closed-msg p {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ─── On-Day Banner ─────────────────── */
.sha-on-day-banner {
  display: flex;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
  padding: 28px 28px;
  background: #EFF3FF;
  border: 1px solid #C7D2FE;
  border-left: 5px solid var(--sha-navy);
  border-radius: var(--radius-tile);
}
.sha-on-day-banner__icon {
  flex-shrink: 0;
  padding-top: 2px;
}
.sha-on-day-banner__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--sha-navy);
  margin-bottom: 8px;
}
.sha-on-day-banner__message {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.sha-on-day-banner__info {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-600);
  margin-bottom: 12px;
}
.sha-on-day-banner__details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
}
@media (max-width: 600px) {
  .sha-on-day-banner {
    flex-direction: column;
    gap: 12px;
    padding: 20px 18px;
  }
  .sha-on-day-banner__details {
    flex-direction: column;
    gap: 6px;
  }
}

/* =========================================
   GRAVITY FORMS OVERRIDES — replace green with SHA brand
   ========================================= */

/* Section headers — navy instead of green */
.gform_wrapper .gsection_title,
.gform_wrapper .gfield_label,
.gform_wrapper h2.gsection_title,
.gform_wrapper h3.gsection_title {
  color: var(--sha-navy) !important;
}

/* Section divider lines — navy instead of green */
.gform_wrapper .gsection {
  border-bottom: 2px solid var(--sha-navy) !important;
}

/* Form wrapper — remove green left border */
.gform_wrapper.gravity-theme,
.gform_wrapper {
  border-left: none !important;
}

/* Buttons — navy/red instead of green */
.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"],
.gform_wrapper .gform_next_button {
  background: var(--sha-navy) !important;
  border-color: var(--sha-navy) !important;
  color: #fff !important;
  border-radius: var(--radius-control) !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-weight: 600 !important;
  padding: 12px 24px !important;
  font-size: 15px !important;
  cursor: pointer;
  transition: background-color 0.2s !important;
}

.gform_wrapper .gform_button:hover,
.gform_wrapper input[type="submit"]:hover,
.gform_wrapper .gform_next_button:hover {
  background: var(--sha-navy-2) !important;
}

/* Previous button — outline style */
.gform_wrapper .gform_previous_button {
  background: transparent !important;
  border: 2px solid var(--sha-navy) !important;
  color: var(--sha-navy) !important;
  border-radius: var(--radius-control) !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-weight: 600 !important;
  padding: 12px 24px !important;
  font-size: 15px !important;
  cursor: pointer;
}

.gform_wrapper .gform_previous_button:hover {
  background: var(--sha-navy) !important;
  color: #fff !important;
}

/* GPNF "Add Another" button — navy instead of green */
.gform_wrapper .gpnf-add-entry,
.gform_wrapper .gpnf-add-entry a,
.gpnf-add-entry {
  background: var(--sha-navy) !important;
  border-color: var(--sha-navy) !important;
  color: #fff !important;
  border-radius: var(--radius-control) !important;
  font-weight: 600 !important;
  transition: background-color 0.2s !important;
}

.gform_wrapper .gpnf-add-entry:hover,
.gform_wrapper .gpnf-add-entry a:hover,
.gpnf-add-entry:hover {
  background: var(--sha-navy-2) !important;
}

/* Form fields — clean light styling */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="url"],
.gform_wrapper select,
.gform_wrapper textarea {
  border: 1px solid var(--gray-300) !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  font-size: 15px !important;
  font-family: Inter, system-ui, sans-serif !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.gform_wrapper input[type="text"]:focus,
.gform_wrapper input[type="email"]:focus,
.gform_wrapper input[type="tel"]:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
  border-color: var(--sha-navy) !important;
  box-shadow: 0 0 0 2px rgba(11, 26, 85, 0.15) !important;
  outline: none !important;
}

/* Horizontal rules within sections — navy */
.gform_wrapper hr,
.gform_wrapper .gfield--type-section .gsection_description + hr,
.gform_wrapper .gsection + .gfield::before {
  border-color: var(--sha-navy) !important;
}

/* Validation — use SHA red */
.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error select,
.gform_wrapper .gfield_error textarea {
  border-color: var(--sha-red) !important;
}

.gform_wrapper .validation_message,
.gform_wrapper .gfield_error .gfield_label {
  color: var(--sha-red) !important;
}

/* =========================================
   MEMBERSHIP PAGE
   ========================================= */

/* Utility — block button */
.btn-block { width: 100%; }

/* Utility — button group */
.btn-group {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* Badge — blue */
.badge-blue {
  background: var(--blue-50);
  color: var(--blue-700);
  border-color: var(--blue-200);
}

/* Why Join */
.why-join {
  padding: 56px 0;
  background: white;
  border-bottom: 1px solid var(--gray-200);
}
.why-join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.why-join-text h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.why-join-text > p {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
}
.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.5;
}
.benefit-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--green-700);
  margin-top: 1px;
}
.why-join-image {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 15px;
  font-weight: 500;
}
.why-join-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pricing Section */
.pricing-section {
  padding: 56px 0 64px;
}
.pricing-section > .container > h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  text-align: center;
}
.pricing-section > .container > p {
  font-size: 17px;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 10px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-season {
  text-align: center;
  margin-bottom: 36px;
}
.pricing-season .badge {
  font-size: 14px;
  padding: 6px 16px;
}

/* Individual tier grid (3 columns) */
.pricing-grid-individual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

/* Family tier grid (2 columns) */
.pricing-grid-family {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Tier card */
.tier-card {
  background: white;
  border-radius: var(--radius-card);
  border: 1px solid var(--gray-200);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: all 250ms;
  display: flex;
  flex-direction: column;
}
.tier-card:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--gray-300);
}
.tier-card.featured {
  border-color: var(--sha-navy);
  box-shadow: var(--shadow-card), 0 0 0 1px var(--sha-navy);
}
.tier-card.featured:hover {
  box-shadow: 0 14px 40px rgba(2,6,23,0.14), 0 0 0 1px var(--sha-navy);
}
.tier-label {
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--sha-navy);
  margin-bottom: 10px;
}
.tier-card.featured .tier-label {
  color: var(--sha-red);
}
.tier-name {
  font-size: 21px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.tier-desc {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 16px;
}
.tier-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}
.tier-price .amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  line-height: 1;
}
.tier-price .period {
  font-size: 15px;
  color: var(--gray-500);
  font-weight: 500;
}
.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  flex-grow: 1;
}
.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.45;
}
.tier-features li .check {
  flex-shrink: 0;
  color: var(--green-700);
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}
.tier-cta {
  margin-top: auto;
}
.btn-mobile-price {
  display: none;
}

/* Family Note */
.family-note {
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-tile);
  padding: 20px 24px;
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.family-note-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: white;
  border: 1px solid var(--blue-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--blue-700);
}
.family-note-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.family-note-text p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.55;
}

/* How It Works */
.how-it-works {
  padding: 56px 0;
  background: white;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.how-it-works h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  text-align: center;
}
.how-it-works > .container > p {
  font-size: 17px;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step-card {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sha-navy);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}
.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.step-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.55;
}
.step-card:not(:last-child)::after {
  content: '\2192';
  position: absolute;
  right: -18px;
  top: 34px;
  font-size: 18px;
  color: var(--gray-300);
  font-weight: 600;
}

/* FAQ Section */
.faq-section {
  padding: 56px 0;
}
.faq-section h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  text-align: center;
}
.faq-section > .container > p {
  font-size: 17px;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 36px;
}
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-tile);
  overflow: hidden;
  transition: border-color 200ms;
}
.faq-item:hover {
  border-color: var(--gray-300);
}
.faq-question {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  user-select: none;
}
.faq-question .toggle {
  font-size: 20px;
  color: var(--gray-400);
  transition: transform 200ms;
  font-weight: 400;
  line-height: 1;
}
.faq-answer {
  padding: 0 22px 18px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
  display: none;
}
.faq-item.open .faq-answer {
  display: block;
}
.faq-item.open .faq-question .toggle {
  transform: rotate(45deg);
}

/* CTA Banner (full-width navy) */
.cta-banner {
  background: var(--sha-navy);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background: repeating-linear-gradient(45deg, transparent, transparent 45px, white 45px, white 46px);
}
.cta-banner .container {
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta-banner h2 {
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
}
.cta-banner p {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   ABOUT PAGE
   ========================================= */

/* Centered section header variant */
.section-header-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.section-header-center h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-header-center p {
  font-size: 16px;
  color: var(--gray-600);
  margin-top: 6px;
  line-height: 1.6;
}

/* Split Hero — Our Story */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--sha-red);
  margin-bottom: 16px;
}
.about-hero-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--sha-red);
  border-radius: 1px;
}
.about-hero h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--gray-900);
}
.about-hero p {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 12px;
}
.about-hero-img {
  background: linear-gradient(135deg, #1a3580 0%, #2548a0 100%);
  border-radius: var(--radius-card);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}
.about-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background: repeating-linear-gradient(45deg, transparent, transparent 30px, white 30px, white 31px);
  pointer-events: none;
}
.about-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* What is SHR */
.what-shr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.what-shr-img {
  background: linear-gradient(135deg, #2548a0 0%, #1a3580 100%);
  border-radius: var(--radius-card);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}
.what-shr-img::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background: repeating-linear-gradient(-45deg, transparent, transparent 30px, white 30px, white 31px);
  pointer-events: none;
}
.what-shr-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.what-shr-text h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.what-shr-text p {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 14px;
}
.highlight-list {
  list-style: none;
  margin-top: 20px;
}
.highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--gray-700);
  margin-bottom: 14px;
  line-height: 1.5;
}
.highlight-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-top: 1px;
}

/* Season Stats */
.season-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: white;
  border-radius: var(--radius-card);
  border: 1px solid var(--gray-200);
  transition: all 300ms;
}
.stat-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
  border-color: var(--gray-300);
}
.stat-number {
  font-size: 40px;
  font-weight: 900;
  color: var(--sha-navy);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-500);
}
.stat-desc {
  font-size: 15px;
  color: var(--gray-500);
  margin-top: 8px;
  line-height: 1.5;
}

/* Race Type Cards */
.race-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.race-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: all 300ms;
}
.race-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
  border-color: var(--gray-300);
}
.race-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-control);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.race-icon-blue { background: #EFF3FF; }
.race-icon-red { background: #FEF2F2; }
.race-icon-amber { background: var(--amber-50); }
.race-icon-green { background: var(--green-50); }
.race-icon-purple { background: #F5F3FF; }
.race-icon-teal { background: #F0FDFA; }
.race-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.race-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Age Groups */
.age-groups-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.age-pill {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: white;
  border: 1px solid var(--gray-200);
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-700);
  transition: all 200ms;
}
.age-pill:hover {
  border-color: var(--sha-navy);
  color: var(--sha-navy);
}
.age-pill.featured {
  background: var(--sha-navy);
  border-color: var(--sha-navy);
  color: white;
}
.age-pill-green {
  background: var(--green-50);
  border-color: var(--green-200);
  color: var(--green-700);
}
.age-groups-cta {
  text-align: center;
  margin-top: 32px;
}
.age-groups-cta p {
  font-size: 16px;
  color: var(--gray-600);
  max-width: 520px;
  margin: 0 auto 20px;
}

/* How to Get Started */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.how-card {
  text-align: center;
}
.how-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sha-navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  margin: 0 auto 16px;
}
.how-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.how-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* =========================================
   CONTACT PAGE
   ========================================= */

/* Contact Section */
.contact-section {
  padding: 72px 0 96px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

/* Contact Info Card */
.contact-info-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contact-info-card h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--sha-navy);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.contact-info-card > p {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--gray-100);
}
.contact-item:first-of-type { border-top: none; padding-top: 0; }
.contact-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(11,26,85,0.06);
  border-radius: var(--radius-control);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--sha-navy);
}
.contact-item-content { flex: 1; }
.contact-item-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.contact-item-value {
  font-size: 17px;
  font-weight: 600;
  color: var(--sha-navy);
}
.contact-item-value a {
  color: var(--sha-navy);
  transition: color 200ms;
}
.contact-item-value a:hover { color: var(--sha-navy-2); }
.contact-item-note {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 2px;
}

/* Committee Members */
.committee-section {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}
.committee-section h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--sha-navy);
  margin-bottom: 20px;
}
.committee-member {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--gray-100);
}
.committee-member:first-of-type { border-top: none; padding-top: 0; }
.committee-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(11,26,85,0.08), rgba(30,58,138,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--sha-navy);
  flex-shrink: 0;
}
.committee-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-800);
}
.committee-role {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 1px;
}

/* Social Links */
.social-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}
.social-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--sha-navy);
  margin-bottom: 14px;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(11,26,85,0.04);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-tile);
  font-size: 15px;
  font-weight: 600;
  color: var(--sha-navy);
  transition: all 200ms;
}
.social-link:hover {
  background: rgba(11,26,85,0.08);
  border-color: var(--gray-300);
}
.social-link svg { flex-shrink: 0; }

/* Contact Form Card */
.contact-form-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.contact-form-card h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--sha-navy);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.contact-form-card > p {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.form-label .required {
  color: var(--sha-red);
  margin-left: 2px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 16px;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-control);
  transition: all 200ms;
  outline: none;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-400);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--sha-navy);
  background: white;
  box-shadow: 0 0 0 3px rgba(11,26,85,0.08);
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--sha-red);
  color: white;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--sha-red);
  border-radius: var(--radius-tile);
  cursor: pointer;
  transition: all 200ms;
  width: 100%;
  justify-content: center;
}
.form-submit:hover {
  background: var(--sha-red-2);
  border-color: var(--sha-red-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(214,40,40,0.25);
}

.form-note {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 16px;
  text-align: center;
}

/* Response Time Banner */
.response-banner {
  background: var(--gray-50);
  padding: 48px 0;
}
.response-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.response-card {
  text-align: center;
  padding: 32px 24px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  transition: all 200ms;
}
.response-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--gray-300);
}
.response-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(11,26,85,0.06);
  border-radius: var(--radius-tile);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--sha-navy);
}
.response-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--sha-navy);
  margin-bottom: 6px;
}
.response-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* =========================================
   RULES & GUIDELINES PAGE
   ========================================= */

/* Intro Section */
.rules-intro {
  padding: 56px 0 0;
}
.intro-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 40px;
}
.intro-text {
  max-width: 620px;
}
.intro-text h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--sha-navy);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.intro-text p {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Category Filter Pills */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.filter-pill {
  padding: 8px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 200ms;
  white-space: nowrap;
}
.filter-pill:hover {
  color: var(--sha-navy);
  border-color: var(--gray-300);
  background: var(--gray-50);
}
.filter-pill.active {
  color: white;
  background: var(--sha-navy);
  border-color: var(--sha-navy);
}

/* Document Categories */
.rules-content {
  padding: 0 0 96px;
}
.doc-category {
  margin-bottom: 56px;
}
.doc-category:last-child { margin-bottom: 0; }

.category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-100);
}
.category-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-control);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.category-icon.rulebook { background: rgba(214,40,40,0.08); color: var(--sha-red); }
.category-icon.competition { background: rgba(11,26,85,0.06); color: var(--sha-navy); }
.category-icon.conduct { background: rgba(22,163,74,0.08); color: #16a34a; }
.category-icon.forms { background: rgba(202,138,4,0.08); color: #ca8a04; }

.category-header h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--sha-navy);
  letter-spacing: -0.01em;
}
.category-header .doc-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
  margin-left: auto;
}

/* Document Cards */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.doc-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  transition: all 250ms;
}
.doc-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.doc-file-icon {
  width: 52px;
  height: 64px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-control);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.doc-file-icon svg {
  color: var(--gray-400);
  margin-bottom: 2px;
}
.doc-file-ext {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 4px;
  position: absolute;
  bottom: -6px;
}
.doc-file-ext.pdf { background: var(--sha-red); color: white; }
.doc-file-ext.docx { background: var(--sha-navy-2); color: white; }

.doc-card-content {
  flex: 1;
  min-width: 0;
}
.doc-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--sha-navy);
  margin-bottom: 4px;
  line-height: 1.4;
}
.doc-card-desc {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 14px;
}
.doc-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.doc-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-400);
}
.doc-meta-item svg { flex-shrink: 0; }

.doc-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--sha-navy);
  background: rgba(11,26,85,0.04);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-control);
  transition: all 200ms;
  white-space: nowrap;
}
.doc-download-btn:hover {
  background: rgba(11,26,85,0.08);
  border-color: var(--sha-navy);
  color: var(--sha-navy);
}

/* Help CTA Banner */
.help-banner {
  background: var(--gray-50);
  padding: 64px 0;
}
.help-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.help-card-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--sha-navy);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.help-card-content p {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 500px;
  line-height: 1.6;
}
.help-card-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* =========================================
   WORDPRESS OVERRIDES
   ========================================= */

/* WP admin bar spacing */
body.admin-bar .main-nav {
  top: 32px;
}

/* WP nav menu — strip default list styles */
.nav-links li {
  list-style: none;
}

/* Screen reader text (accessibility) */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* =========================================
   MOBILE NAVIGATION ELEMENTS
   ========================================= */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-control);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 200ms;
}
.main-nav.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.main-nav.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.main-nav.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   VIDEOS PAGE
   ========================================= */

/* Featured section */
.videos-featured {
  padding-bottom: 0;
}
.featured-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sha-red);
  margin-bottom: 16px;
}
.featured-label svg { flex-shrink: 0; }

.featured-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.featured-video-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  background: var(--gray-100);
}
.featured-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.featured-info {
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.featured-info-text h2 {
  font-size: 21px;
  font-weight: 800;
  color: var(--sha-navy);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.featured-info-text p {
  font-size: 15px;
  color: var(--gray-500);
}
.featured-meta {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}
.meta-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-400);
}

/* Video grid section */
.videos-grid-section {
  padding-bottom: 80px;
}
.videos-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  gap: 24px;
}
.videos-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--sha-navy);
  letter-spacing: -0.01em;
}
.videos-header p {
  font-size: 15px;
  color: var(--gray-500);
  margin-top: 4px;
}

/* Video grid layout */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Video card */
.video-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all 0.25s;
  display: block;
}
.video-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

/* Thumbnail */
.video-thumb {
  position: relative;
  padding-bottom: 56.25%;
  background: var(--gray-100);
  overflow: hidden;
}
.video-thumb img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-thumb-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.1);
  transition: background 0.25s;
  z-index: 1;
}
.video-card:hover .video-thumb-overlay {
  background: rgba(0,0,0,0.25);
}
.thumb-play {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}
.thumb-play svg { color: #fff; margin-left: 3px; }
.video-card:hover .thumb-play {
  background: var(--sha-red);
  border-color: var(--sha-red);
  transform: scale(1.1);
}

/* Duration badge */
.video-duration {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 1;
}

/* Card info */
.video-card-info {
  padding: 20px 22px;
}
.video-card-info h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--sha-navy);
  margin-bottom: 6px;
  line-height: 1.4;
}
.video-card-info p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.video-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-400);
}
.video-card-meta svg { flex-shrink: 0; }

/* Category tags */
.video-cat-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}
.video-cat-tag.race { background: rgba(214,40,40,0.08); color: var(--sha-red); }
.video-cat-tag.highlights { background: rgba(11,26,85,0.06); color: var(--sha-navy); }
.video-cat-tag.juniors { background: rgba(22,163,74,0.08); color: #16a34a; }
.video-cat-tag.awards { background: rgba(202,138,4,0.08); color: #ca8a04; }

/* YouTube CTA banner */
.yt-banner {
  background: var(--gray-50);
  padding: 64px 0;
}
.yt-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.yt-card-content { flex: 1; }
.yt-card-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--sha-navy);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.yt-card-content p {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 480px;
  line-height: 1.6;
}
.yt-card-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* =========================================
   WOOCOMMERCE: SHOP (Uniforms Page)
   ========================================= */

/* Shop Info Bar */
.shop-info-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}
.info-bar-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
}
.info-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
}
.info-bar-icon {
  width: 36px;
  height: 36px;
  background: rgba(11,26,85,0.06);
  border-radius: var(--radius-control);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sha-navy);
  flex-shrink: 0;
}

/* Shop Section */
.shop-section {
  padding: 64px 0 96px;
}
.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  gap: 24px;
}
.shop-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--sha-navy);
  letter-spacing: -0.01em;
}
.shop-header p {
  font-size: 15px;
  color: var(--gray-500);
  margin-top: 4px;
}
.shop-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-400);
  flex-shrink: 0;
  white-space: nowrap;
}
.shop-empty {
  text-align: center;
  padding: 64px 0;
  color: var(--gray-400);
  font-size: 16px;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Product Card */
.product-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

/* Product Image */
.product-img {
  position: relative;
  padding-bottom: 110%;
  background: var(--gray-50);
  overflow: hidden;
}
.product-img-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.product-img-actual {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-img-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-300);
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--gray-100) 100%);
}
.product-img-placeholder svg { opacity: 0.5; }
.product-img-placeholder span {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Product Badge */
.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
  z-index: 2;
}
.product-badge.popular {
  background: var(--sha-red);
  color: #fff;
}
.product-badge.new {
  background: var(--sha-navy);
  color: #fff;
}

/* Product Info */
.product-info {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-category {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin-bottom: 6px;
}
.product-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--sha-navy);
  margin-bottom: 4px;
  line-height: 1.35;
}
.product-title a { color: inherit; }
.product-title a:hover { color: var(--sha-navy-2); }
.product-desc {
  display: none;
}

/* Size Chips */
.product-sizes {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.size-chip {
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
}

/* Product Footer */
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}
.product-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--sha-navy);
  letter-spacing: -0.01em;
}
.product-price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }
.product-price del {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
  text-decoration: line-through;
}
.product-price ins {
  text-decoration: none;
}
.product-price .from {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-400);
  margin-right: 2px;
}

/* Add to Cart Button */
.btn-add-to-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--sha-red);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--sha-red);
  border-radius: var(--radius-tile);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-add-to-cart:hover {
  background: var(--sha-red-2);
  border-color: var(--sha-red-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(214,40,40,0.2);
  color: #fff;
}

/* View Options Button (variable products) */
.btn-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: transparent;
  color: var(--sha-navy);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-tile);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-view:hover {
  border-color: var(--sha-navy);
  background: rgba(11,26,85,0.04);
}

/* Sizing & Info Section */
.sizing-section {
  background: var(--gray-50);
  padding: 64px 0;
}
.sizing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.sizing-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  padding: 36px;
}
.sizing-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(11,26,85,0.06);
  border-radius: var(--radius-tile);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sha-navy);
  margin-bottom: 20px;
}
.sizing-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--sha-navy);
  margin-bottom: 8px;
}
.sizing-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
}
.sizing-card p:last-child { margin-bottom: 0; }
.sizing-card-note {
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--gray-50);
  border-radius: var(--radius-control);
  font-size: 14px;
  color: var(--gray-600);
}
.sizing-card-note strong {
  color: var(--sha-navy);
}
.sizing-card-note a {
  color: var(--sha-navy);
  font-weight: 600;
}
.sizing-card-note a:hover {
  text-decoration: underline;
}

/* Sizing Table */
.sizing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 12px;
}
.sizing-table th {
  text-align: left;
  padding: 10px 12px;
  font-weight: 700;
  color: var(--sha-navy);
  background: var(--gray-50);
  border-bottom: 2px solid var(--gray-200);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.sizing-table td {
  padding: 10px 12px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}
.sizing-table tr:last-child td { border-bottom: none; }

/* Shop CTA Banner */
.shop-cta-banner {
  padding: 0 0 64px;
  background: var(--gray-50);
}
.shop-cta-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.shop-cta-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--sha-navy);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.shop-cta-content p {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 480px;
  line-height: 1.6;
}
.shop-cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* =========================================
   WOOCOMMERCE: CART
   ========================================= */

/* Page background */
.sha-cart-page,
.sha-checkout-page {
  background: var(--gray-50);
}

/* Breadcrumb */
.breadcrumb-bar {
  background: white;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
}
.breadcrumb-bar .breadcrumb a {
  color: var(--gray-500);
  transition: color 0.2s;
}
.breadcrumb-bar .breadcrumb a:hover {
  color: var(--sha-navy);
}
.breadcrumb-bar .breadcrumb .current {
  color: var(--sha-navy);
  font-weight: 600;
}
.breadcrumb-bar .breadcrumb-sep {
  color: var(--gray-300);
  display: flex;
  align-items: center;
}

/* Default page template — top spacing (no page-header banner) */
.sha-content--default {
  padding-top: 48px;
}

/* Hide duplicate page title from fallback template on WooCommerce pages */
body.sha-cart-page .sha-content > .sha-container > article > h2,
body.sha-checkout-page .sha-content > .sha-container > article > h2 {
  display: none;
}

/* Cart Page Header */
.cart-page-header {
  padding: 20px 0 0;
}
.cart-page-header h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--sha-navy);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.cart-page-header p {
  font-size: 15px;
  color: var(--gray-500);
}

/* Cart Section */
.cart-section {
  padding: 32px 0 96px;
}

/* Cart Layout */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}

/* Cart Items Card */
.cart-items-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  overflow: hidden;
}

/* Cart Item Row */
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto auto auto;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
}
.cart-item:last-of-type {
  border-bottom: none;
}

/* Product Image */
.cart-item-img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-control);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-img a {
  display: block;
  width: 100%;
  height: 100%;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Details */
.cart-item-details {
  min-width: 0;
}
.cart-item-category {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin-bottom: 2px;
}
.cart-item-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--sha-navy);
  margin-bottom: 4px;
  line-height: 1.3;
}
.cart-item-name a {
  color: inherit;
  transition: color 0.2s;
}
.cart-item-name a:hover {
  color: var(--sha-navy-2);
}
.cart-item-variant {
  font-size: 14px;
  color: var(--gray-500);
}
.cart-item-variant strong {
  font-weight: 600;
  color: var(--gray-600);
}

/* Unit Price */
.cart-item-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-700);
  white-space: nowrap;
  text-align: center;
  min-width: 70px;
}
.cart-item-price-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin-bottom: 2px;
}

/* Quantity Control */
.cart-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
}
.cart-qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.2s;
}
.cart-qty-btn:hover {
  background: var(--gray-100);
  color: var(--sha-navy);
}
.cart-qty-val {
  width: 40px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--sha-navy);
  background: white;
  border: none;
  border-left: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
  text-align: center;
  -moz-appearance: textfield;
}
.cart-qty-val::-webkit-inner-spin-button,
.cart-qty-val::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Subtotal */
.cart-item-subtotal {
  text-align: right;
  min-width: 80px;
}
.cart-item-subtotal-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin-bottom: 2px;
}
.cart-item-subtotal-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--sha-navy);
}

/* Remove Button */
.remove-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1.5px solid transparent;
  border-radius: 8px;
  color: var(--gray-400);
  cursor: pointer;
  transition: all 0.2s;
}
.remove-btn:hover {
  background: var(--red-50);
  border-color: var(--red-200);
  color: #B91C1C;
}

/* Cart Footer */
.cart-items-footer {
  padding: 20px 28px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.btn-continue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.btn-continue:hover {
  color: var(--sha-navy);
}
.btn-update {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--sha-navy);
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-control);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-update:hover {
  border-color: var(--sha-navy);
  background: rgba(11,26,85,0.04);
}

/* =========================================
   Order Summary (sidebar)
   ========================================= */
.order-summary-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.order-summary-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--gray-100);
}
.order-summary-header h2 {
  font-size: 19px;
  font-weight: 800;
  color: var(--sha-navy);
}
.order-summary-body {
  padding: 24px 28px;
}

/* Summary Rows */
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}
.summary-label {
  font-size: 15px;
  color: var(--gray-600);
}
.summary-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
}
.summary-items-count {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-400);
  margin-left: 4px;
}
.summary-divider {
  border: none;
  border-top: 1px solid var(--gray-100);
  margin: 8px 0;
}

/* Total */
.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0 4px;
}
.summary-total-label {
  font-size: 17px;
  font-weight: 700;
  color: var(--sha-navy);
}
.summary-total-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--sha-navy);
  letter-spacing: -0.01em;
}
.summary-tax-note {
  text-align: right;
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 20px;
}

/* Checkout Button */
.btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background: var(--sha-red);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--sha-red);
  border-radius: var(--radius-tile);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-checkout:hover {
  background: var(--sha-red-2);
  border-color: var(--sha-red-2);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(214,40,40,0.25);
}

/* Secure Badge */
.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-400);
}

/* Shipping Note */
.shipping-note {
  margin-top: 20px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius-control);
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.5;
}
.shipping-note strong {
  color: var(--gray-700);
  font-weight: 600;
}

/* =========================================
   Empty Cart State
   ========================================= */
.empty-cart {
  text-align: center;
  padding: 80px 40px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
}
.empty-cart-icon {
  width: 80px;
  height: 80px;
  background: var(--gray-50);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--gray-300);
}
.empty-cart h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--sha-navy);
  margin-bottom: 8px;
}
.empty-cart p {
  font-size: 16px;
  color: var(--gray-500);
  margin-bottom: 28px;
}
.btn-shop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--sha-red);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--sha-red);
  border-radius: var(--radius-tile);
  transition: all 0.2s;
}
.btn-shop:hover {
  background: var(--sha-red-2);
  border-color: var(--sha-red-2);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(214,40,40,0.25);
}

/* =========================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ========================================= */
@media (max-width: 1024px) {
  /* Layout */
  .container { padding: 0 24px; }

  /* Nav */
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 15px; }

  /* Hero */
  .hero .container { gap: 32px; }
  .hero-content h1 { font-size: 38px; }
  .next-show-card { width: 320px; }

  /* About + Gallery — stack */
  .about-split { grid-template-columns: 1fr; }

  /* Shows grid — 2 columns */
  .shows-grid { grid-template-columns: repeat(2, 1fr); }

  /* Membership — stack */
  .membership-layout { grid-template-columns: 1fr; gap: 40px; }
  .membership-intro { padding-top: 0; text-align: center; }
  .benefits-list { align-items: center; }
  .membership-actions { justify-content: center; }

  /* Come & Try — stack, image on top */
  .come-try { grid-template-columns: 1fr; min-height: auto; }
  .come-try-img { min-height: 300px; }

  /* About teaser — stack */
  .about-teaser-split { grid-template-columns: 1fr; gap: 32px; }

  /* Uniforms — 2 columns */
  .uniforms-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer — 2x2 */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Page header */
  .page-header h1 { font-size: 28px; }

  /* Section header — stack */
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Membership page */
  .why-join-grid { grid-template-columns: 1fr; gap: 32px; }
  .pricing-grid-individual { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card:nth-child(2)::after { display: none; }

  /* About page */
  .about-hero { grid-template-columns: 1fr; gap: 32px; }
  .about-hero-img { min-height: 320px; }
  .what-shr { grid-template-columns: 1fr; gap: 32px; }
  .what-shr-img { min-height: 280px; }
  .season-stats { grid-template-columns: repeat(2, 1fr); }
  .race-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact page */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .response-cards { grid-template-columns: 1fr; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }

  /* Rules page */
  .intro-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .doc-grid { grid-template-columns: 1fr; }
  .help-card { flex-direction: column; text-align: center; padding: 36px 28px; }
  .help-card-content p { margin: 0 auto; }
  .help-card-actions { justify-content: center; }

  /* Videos page */
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .videos-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .yt-card { flex-direction: column; text-align: center; padding: 36px 28px; }
  .yt-card-content p { margin: 0 auto; }
  .yt-card-actions { justify-content: center; }
  .featured-info { flex-direction: column; align-items: flex-start; }

  /* Shop page */
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .info-bar-inner { gap: 24px; flex-wrap: wrap; justify-content: center; }
  .sizing-grid { grid-template-columns: 1fr; }
  .shop-cta-card { flex-direction: column; text-align: center; padding: 36px 28px; }
  .shop-cta-content p { margin: 0 auto; }
  .shop-cta-actions { justify-content: center; }
  .shop-header { flex-direction: column; align-items: flex-start; }

  /* Cart page */
  .cart-layout { grid-template-columns: 1fr 360px; }
}

/* Cart — single column on tablet */
@media (max-width: 968px) {
  .cart-layout { grid-template-columns: 1fr; }
  .order-summary-card { position: static; }
  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 14px;
  }
  .cart-item-price,
  .cart-item-subtotal { display: none; }
  .cart-item-details { grid-column: 2; }
  .cart-item-qty-wrap { grid-column: 2; justify-self: start; }
  .cart-item-remove { position: absolute; top: 24px; right: 28px; }
}

/* =========================================
   RESPONSIVE — MOBILE (max-width: 767px)
   ========================================= */
@media (max-width: 767px) {
  /* Layout */
  .container { padding: 0 16px; }
  .section { padding: 40px 0; }

  /* Typography */
  .hero-content h1 { font-size: 30px; }
  .page-header h1 { font-size: 28px; }
  .section-header h2,
  .about-text h2,
  .membership-intro h2,
  .come-try-text h2,
  .about-teaser-text h2,
  .show-description h2,
  .reg-header h2 { font-size: 22px; }

  /* Top bar — hide */
  .top-bar { display: none; }

  /* Urgency banner — compact */
  .urgency-banner { font-size: 13px; padding: 8px 12px; }

  /* Mobile hamburger menu */
  .nav-toggle { display: flex; }
  .main-nav .container { height: 60px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 8px 16px;
    box-shadow: 0 10px 30px rgba(2,6,23,0.12);
    gap: 0;
    z-index: 100;
  }
  .nav-links li { border-bottom: 1px solid var(--gray-100); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: flex;
    align-items: center;
    padding: 14px 0;
    font-size: 16px;
    min-height: 44px;
  }
  .main-nav.nav-open .nav-links { display: flex; }
  .nav-cta { font-size: 13px; padding: 7px 12px; }
  .nav-cta-full { display: none; }
  .nav-cta-short { display: inline; }
  .logo-mark { height: 36px; }

  /* Hero — stack vertically */
  .hero { min-height: auto; }
  .hero .container {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding-top: 36px;
    padding-bottom: 28px;
  }
  .hero-content > p { font-size: 16px; }
  .next-show-card { width: 100%; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }

  /* Season bar — hide on mobile */
  .season-bar,
  .season-bar--border { display: none; }

  /* Shows grid — 1 column + mobile "View All" button */
  .shows-grid { grid-template-columns: 1fr; gap: 16px; }
  .shows-grid + .shows-view-all-mobile {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  .section-shows .section-header .section-link { display: none; }

  /* Show card buttons — full width */
  .show-card-bottom { flex-direction: column; }
  .show-card-bottom .btn,
  .show-card-bottom a[class*="btn"] { min-height: 44px; }
  .card-btns { flex-direction: column; }
  .card-btns .btn,
  .card-btns a[class*="btn"] { min-height: 44px; }

  /* About + Gallery */
  .about-split { gap: 24px; }
  .info-cards { grid-template-columns: 1fr; }
  .about-btns { flex-direction: column; }
  .about-btns .btn { width: 100%; text-align: center; min-height: 44px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Membership */
  .membership-section { padding: 56px 0; }
  .m-card { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
  .m-card-right { width: 100%; justify-content: space-between; }
  .membership-actions { flex-direction: column; }
  .membership-actions .btn { width: 100%; text-align: center; min-height: 44px; }

  /* Come & Try */
  .come-try-img { min-height: 220px; }
  .come-try-text { padding: 28px 20px; }
  .ct-btns { flex-direction: column; }
  .ct-btns .btn { width: 100%; text-align: center; min-height: 44px; }

  /* About teaser */
  .stats-row { gap: 20px; }
  .stat-item .num { font-size: 28px; }
  .about-teaser-photo { height: 220px; }

  /* Uniforms — 2 columns, compact */
  .uniforms-grid { gap: 12px; }
  .uniform-card-body { padding: 10px 14px 12px; }
  .uniform-card-body h4 { font-size: 14px; }
  .uniform-card-foot { padding: 0 14px 12px; }

  /* Sponsors — compact */
  .sponsors-section { padding: 32px 0; }
  .sponsor-box { padding: 0 20px; height: 52px; }
  .sponsor-box img { max-height: 36px; }

  /* Footer — single column */
  .footer { padding: 36px 0 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  /* Cards — reduce border-radius */
  .show-card,
  .uniform-card,
  .next-show-card,
  .empty-state { border-radius: var(--radius-tile); }

  /* Toast — already full-width */

  /* Touch targets — min 44px */
  .btn { min-height: 44px; }

  /* Page header — mobile */
  .page-header { padding: 18px 0 22px; }
  .page-header h1 { font-size: 24px; }
  .page-header-row { flex-direction: column; gap: 12px; }
  .page-header-meta { gap: 10px; }

  /* Single show — detail cards stack */
  .details-grid { grid-template-columns: 1fr; }
  .show-photo-small { display: none; }
  .show-content { padding: 28px 0 0; }

  /* CTA strip — stack */
  .cta-strip { flex-direction: column; }
  .cta-strip .btn { width: 100%; text-align: center; }

  /* Registration — reduce padding */
  .registration-section { padding: 28px 0 40px; margin-top: 20px; }
  .reg-form-wrapper { padding: 20px; border-radius: var(--radius-tile); }
  .reg-header { margin-bottom: 20px; }
  .entries-closed-msg { padding: 32px 16px; }

  /* Membership page */
  .why-join { padding: 40px 0; }
  .why-join-text h2,
  .pricing-section > .container > h2,
  .how-it-works h2,
  .faq-section h2,
  .cta-banner h2 { font-size: 22px; }
  .pricing-grid-individual { grid-template-columns: 1fr; }
  .pricing-grid-family { grid-template-columns: 1fr; }
  .tier-card { border-radius: var(--radius-tile); }
  .btn-mobile-price { display: inline; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card:not(:last-child)::after { display: none; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; }
  .how-it-works { padding: 40px 0; }
  .faq-section { padding: 40px 0; }
  .cta-banner { padding: 36px 0; }
  .family-note { flex-direction: column; gap: 10px; }

  /* About page */
  .about-hero h2 { font-size: 28px; }
  .about-hero-img { min-height: 260px; }
  .what-shr-text h2,
  .section-header-center h2 { font-size: 22px; }
  .what-shr-img { min-height: 220px; }
  .season-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 20px 16px; border-radius: var(--radius-tile); }
  .stat-number { font-size: 32px; }
  .race-grid { grid-template-columns: 1fr; }
  .race-card { border-radius: var(--radius-tile); }
  .how-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .age-pill { padding: 8px 16px; font-size: 14px; }

  /* Contact page */
  .contact-section { padding: 48px 0 56px; }
  .contact-info-card,
  .contact-form-card { padding: 28px; border-radius: var(--radius-tile); }
  .social-links { flex-direction: column; }
  .response-card { border-radius: var(--radius-tile); }

  /* Rules page */
  .rules-content { padding: 0 0 56px; }
  .doc-card { padding: 20px; gap: 14px; border-radius: var(--radius-tile); }
  .doc-file-icon { width: 44px; height: 54px; }
  .help-banner { padding: 40px 0; }
  .help-card { padding: 28px; border-radius: var(--radius-tile); }
  .help-card-actions { flex-direction: column; width: 100%; }
  .help-card-actions .btn { width: 100%; text-align: center; }
  .filter-pill { padding: 6px 14px; font-size: 13px; }

  /* Videos page */
  .video-grid { grid-template-columns: 1fr; }
  .videos-grid-section { padding-bottom: 48px; }
  .featured-info { padding: 20px 22px; }
  .featured-card { border-radius: var(--radius-tile); }
  .video-card { border-radius: var(--radius-tile); }
  .yt-banner { padding: 40px 0; }
  .yt-card { padding: 28px; border-radius: var(--radius-tile); }
  .yt-card-actions { flex-direction: column; width: 100%; }
  .yt-card-actions .btn { width: 100%; text-align: center; }

  /* Shop page */
  .shop-section { padding: 40px 0 56px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-img { padding-bottom: 90%; }
  .product-card { border-radius: var(--radius-tile); }
  .product-info { padding: 16px 16px 20px; }
  .product-title { font-size: 15px; }
  .product-price { font-size: 18px; }
  .btn-add-to-cart { padding: 8px 14px; font-size: 13px; }
  .btn-view { padding: 8px 14px; font-size: 13px; }
  .shop-info-bar { display: none; }
  .sizing-section { padding: 40px 0; }
  .sizing-card { padding: 24px; border-radius: var(--radius-tile); }
  .shop-cta-banner { padding: 0 0 40px; }
  .shop-cta-card { padding: 28px; border-radius: var(--radius-tile); }
  .shop-cta-actions { flex-direction: column; width: 100%; }
  .shop-cta-actions .btn { width: 100%; text-align: center; }

  /* Cart page */
  .cart-page-header h1 { font-size: 26px; }
  .cart-section { padding: 24px 0 56px; }
  .cart-item { padding: 20px; }
  .cart-item-img { width: 72px; height: 72px; }
  .cart-items-footer { flex-direction: column; gap: 12px; align-items: stretch; }
  .btn-continue { justify-content: center; }
  .btn-update { justify-content: center; }
  .empty-cart { padding: 56px 24px; border-radius: var(--radius-tile); }
  .cart-items-card { border-radius: var(--radius-tile); }
  .order-summary-card { border-radius: var(--radius-tile); }
}

/* Shop — single column on small mobile */
@media (max-width: 520px) {
  .product-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* WP admin bar — mobile height is 46px below 783px */
@media (max-width: 782px) {
  body.admin-bar .main-nav { top: 46px; }
}

/* =========================================
   WOOCOMMERCE: SINGLE PRODUCT
   ========================================= */

/* --- Breadcrumb Bar --- */
.sha-single-product .breadcrumb-bar {
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}
.sha-single-product .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
}
.sha-single-product .breadcrumb a {
  color: var(--gray-500);
  transition: color 0.2s;
}
.sha-single-product .breadcrumb a:hover { color: var(--sha-navy); }
.sha-single-product .breadcrumb .current {
  color: var(--sha-navy);
  font-weight: 600;
}
.sha-single-product .breadcrumb-sep { color: var(--gray-300); }

/* --- Product Section Layout --- */
.product-section {
  padding: 48px 0 80px;
}
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* --- Product Gallery (Left Column) --- */
.product-gallery {
  position: sticky;
  top: 100px;
}
.gallery-main {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  margin-bottom: 16px;
}
.gallery-main-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.gallery-main-img--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-300);
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--gray-100) 100%);
}
.gallery-main-img--placeholder svg { opacity: 0.4; }
.gallery-main-img--placeholder span {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Badge on main image */
.gallery-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  color: #fff;
  z-index: 2;
}
.gallery-badge--popular { background: var(--sha-red); }
.gallery-badge--new { background: var(--sha-navy); }

/* Thumbnail strip */
.gallery-thumbs {
  display: flex;
  gap: 12px;
}
.gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-control);
  border: 2px solid var(--gray-200);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb:hover { border-color: var(--gray-400); }
.gallery-thumb.active { border-color: var(--sha-navy); }

/* --- Product Details (Right Column) --- */
.product-details {
  padding-top: 8px;
}
.product-category-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sha-navy);
  background: rgba(11,26,85,0.06);
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.product-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--sha-navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}
.product-price-main {
  font-size: 32px;
  font-weight: 800;
  color: var(--sha-navy);
  letter-spacing: -0.01em;
}
/* Inherit styles for WC price markup */
.product-price-main .woocommerce-Price-amount {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.product-price-main del {
  font-size: 20px;
  opacity: 0.5;
}
.product-price-note {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
}

/* Stock status chip */
.product-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.product-stock.in-stock {
  background: #F0FDF4;
  color: #15803D;
  border: 1px solid #BBF7D0;
}
.product-stock.out-of-stock {
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}
.product-stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

/* Short description */
.product-description {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-200);
}

/* --- Variation Selector --- */
.variation-group {
  margin-bottom: 28px;
}
.variation-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 10px;
}
.variation-label span {
  font-weight: 500;
  color: var(--gray-400);
  margin-left: 4px;
}
.variation-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.variation-btn {
  padding: 10px 20px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-control);
  cursor: pointer;
  transition: all 0.2s;
  min-width: 52px;
  text-align: center;
}
.variation-btn:hover {
  border-color: var(--gray-400);
  color: var(--sha-navy);
}
.variation-btn.selected {
  border-color: var(--sha-navy);
  color: var(--sha-navy);
  background: rgba(11,26,85,0.04);
}
.variation-btn.out-of-stock {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* --- Quantity + Add to Cart Row --- */
.add-to-cart-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-control);
  overflow: hidden;
}
.qty-btn {
  width: 44px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border: none;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.2s;
}
.qty-btn:hover {
  background: var(--gray-100);
  color: var(--sha-navy);
}
.qty-value {
  width: 52px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--sha-navy);
  background: var(--white);
  border-left: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
}
.btn-add-to-cart-lg {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--sha-red);
  color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--sha-red);
  border-radius: var(--radius-tile);
  cursor: pointer;
  transition: all 0.2s;
  height: 52px;
}
.btn-add-to-cart-lg:hover {
  background: var(--sha-red-2);
  border-color: var(--sha-red-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(214,40,40,0.25);
}
.btn-add-to-cart-lg:disabled,
.btn-add-to-cart-lg.wc-variation-selection-needed {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* --- Product Meta List --- */
.product-meta-list {
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-500);
}
.product-meta-icon {
  width: 36px;
  height: 36px;
  background: rgba(11,26,85,0.04);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sha-navy);
  flex-shrink: 0;
}
.product-meta-item strong {
  font-weight: 600;
  color: var(--gray-700);
}

/* --- Product Tabs Section --- */
.product-tabs-section {
  background: var(--gray-50);
  padding: 64px 0;
}
.tabs-nav {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--gray-200);
}
.tab-btn {
  padding: 12px 24px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-500);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn:hover { color: var(--sha-navy); }
.tab-btn.active {
  color: var(--sha-navy);
  border-bottom-color: var(--sha-navy);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
.tab-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  padding: 36px;
}
.tab-panel h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--sha-navy);
  margin-bottom: 16px;
}
.tab-panel p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 12px;
}
.tab-panel p:last-child { margin-bottom: 0; }
.tab-panel ul {
  list-style: none;
  margin: 12px 0;
  padding: 0;
}
.tab-panel ul li {
  padding: 6px 0;
  font-size: 15px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 10px;
}
.tab-panel ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sha-navy);
  flex-shrink: 0;
}
.sha-link {
  color: var(--sha-navy);
  font-weight: 600;
  transition: color 0.2s;
}
.sha-link:hover { color: var(--sha-navy-2); }

/* Sizing table (single product tab — reuses shop sizing table pattern) */
.product-tabs-section .sizing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 16px;
}
.product-tabs-section .sizing-table th {
  text-align: left;
  padding: 12px 14px;
  font-weight: 700;
  color: var(--sha-navy);
  background: var(--gray-50);
  border-bottom: 2px solid var(--gray-200);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.product-tabs-section .sizing-table td {
  padding: 12px 14px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}
.product-tabs-section .sizing-table tr:last-child td { border-bottom: none; }
.product-tabs-section .sizing-table tr:hover td { background: var(--gray-50); }

/* --- Related Products Section --- */
.related-section {
  padding: 72px 0 96px;
}
.related-header {
  margin-bottom: 32px;
}
.related-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--sha-navy);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.related-header p {
  font-size: 15px;
  color: var(--gray-500);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Compact product card (related products) */
.product-card--compact {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all 0.25s;
}
.product-card--compact:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}
.product-card-img {
  position: relative;
  padding-bottom: 110%;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--gray-100) 100%);
  overflow: hidden;
}
.product-card-img-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.product-card-img-actual {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card-img-placeholder {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--gray-300);
}
.product-card-img-placeholder svg { opacity: 0.4; }
.product-card-img-placeholder span {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-card-info {
  padding: 20px 22px;
}
.product-card-cat {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin-bottom: 4px;
}
.product-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--sha-navy);
  margin-bottom: 12px;
  line-height: 1.35;
}
.product-card-title a {
  color: inherit;
  text-decoration: none;
}
.product-card-title a:hover { color: var(--sha-navy-2); }
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-card-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--sha-navy);
}
.product-card-price .woocommerce-Price-amount {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.btn-view-sm {
  padding: 8px 16px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--sha-navy);
  background: rgba(11,26,85,0.04);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-control);
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-view-sm:hover {
  border-color: var(--sha-navy);
  background: rgba(11,26,85,0.08);
}

/* Hide WooCommerce variation wrapper (data is handled by our custom JS) */
.sha-single-product .single_variation_wrap { display: none !important; }

/* Hide WooCommerce default notices positioning conflict */
.sha-single-product .woocommerce-notices-wrapper:empty { display: none; }

/* --- Single Product Responsive --- */
@media (max-width: 1100px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 968px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .product-gallery { position: static; }
  .product-title { font-size: 28px; }
  .product-price-main { font-size: 28px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .product-layout { gap: 32px; }
  .product-section { padding: 32px 0 56px; }
  .product-title { font-size: 24px; }
  .product-price-main { font-size: 24px; }
  .gallery-thumbs { gap: 8px; }
  .gallery-thumb { width: 64px; height: 64px; }
  .add-to-cart-row { flex-direction: column; }
  .add-to-cart-row .qty-control { width: 100%; justify-content: center; }
  .btn-add-to-cart-lg { width: 100%; }
  .related-grid { grid-template-columns: 1fr; }
  .related-section { padding: 48px 0 64px; }
  .tabs-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .tab-panel { padding: 24px; }
  .product-tabs-section { padding: 40px 0; }
}

/* =========================================
   WOOCOMMERCE: CHECKOUT
   ========================================= */

/* --- Progress Bar --- */
.progress-bar {
  background: var(--white, #fff);
  border-bottom: 1px solid var(--gray-100);
  padding: 20px 0;
}
.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
}
.progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-400);
}
.progress-step.completed {
  color: #16a34a;
}
.progress-step.active {
  color: var(--sha-navy);
}
.progress-step-num {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  border: 2px solid var(--gray-200);
  background: white;
  flex-shrink: 0;
}
.progress-step.completed .progress-step-num {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}
.progress-step.active .progress-step-num {
  background: var(--sha-navy);
  border-color: var(--sha-navy);
  color: #fff;
}
.progress-connector {
  width: 60px;
  height: 2px;
  background: var(--gray-200);
  margin: 0 16px;
  flex-shrink: 0;
}
.progress-connector.completed {
  background: #16a34a;
}

/* --- Checkout Header --- */
.checkout-header {
  padding: 20px 0 0;
}
.checkout-header h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--sha-navy);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.checkout-header p {
  font-size: 15px;
  color: var(--gray-500);
}

/* --- Checkout Section & Layout --- */
.checkout-section {
  padding: 32px 0 96px;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: start;
}

/* --- Checkout Cards --- */
.checkout-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 24px;
}
.checkout-card:last-child {
  margin-bottom: 0;
}
.checkout-card-header {
  padding: 24px 32px 20px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 12px;
}
.checkout-card-header-icon {
  width: 36px;
  height: 36px;
  background: rgba(11,26,85,0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sha-navy);
  flex-shrink: 0;
}
.checkout-card-header h2 {
  font-size: 19px;
  font-weight: 800;
  color: var(--sha-navy);
}
.checkout-card-body {
  padding: 28px 32px 32px;
}

/* Hide WooCommerce's default billing/shipping headings (we use card headers) */
.checkout-card-body .woocommerce-billing-fields > h3,
.checkout-card-body .woocommerce-shipping-fields > h3,
.checkout-card-body .woocommerce-additional-fields > h3 {
  display: none;
}

/* Force input wrapper to block so labels stack above inputs */
.checkout-card-body .woocommerce-input-wrapper {
  display: block;
}

/* Reset form-row grid inside checkout — labels stack above inputs, not side-by-side */
.checkout-card-body .form-row {
  display: block;
}

/* Override WooCommerce's form field margins inside checkout cards */
.checkout-card-body .form-group {
  margin-bottom: 20px;
}
.checkout-card-body .form-group:last-child {
  margin-bottom: 0;
}

/* Optional label styling */
.form-label .optional {
  font-weight: 500;
  color: var(--gray-400);
  font-size: 13px;
  margin-left: 4px;
}

/* Two-column field rows inside billing */
.checkout-card-body .woocommerce-billing-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.checkout-card-body .woocommerce-billing-fields__field-wrapper .form-group {
  margin-bottom: 0;
}
/* Full-width fields */
.checkout-card-body #billing_email_field,
.checkout-card-body #billing_phone_field,
.checkout-card-body #billing_address_1_field,
.checkout-card-body #billing_address_2_field {
  grid-column: 1 / -1;
}

/* Country field disabled styling */
.checkout-card-body #billing_country_field .form-input,
.checkout-card-body #billing_country_field .form-select {
  background: var(--gray-100);
  color: var(--gray-500);
}

/* WooCommerce select2 overrides for checkout */
.checkout-card-body .select2-container .select2-selection--single {
  height: auto;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 16px;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-control);
}
.checkout-card-body .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  line-height: 1.4;
  color: var(--gray-800);
}
.checkout-card-body .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  right: 16px;
}

/* --- Shipping Method: Radio Card Selectors --- */
.checkout-card-body .woocommerce-shipping-methods {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checkout-card-body .woocommerce-shipping-methods li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-control);
  cursor: pointer;
  transition: all 0.2s;
}
.checkout-card-body .woocommerce-shipping-methods li:hover {
  border-color: var(--gray-300);
}
.checkout-card-body .woocommerce-shipping-methods li.selected,
.checkout-card-body .woocommerce-shipping-methods li:has(input:checked) {
  border-color: var(--sha-navy);
  background: rgba(11,26,85,0.02);
}

/* Style the actual radio inputs within shipping */
.checkout-card-body .woocommerce-shipping-methods input[type="radio"] {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-pill);
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  background: white;
}
.checkout-card-body .woocommerce-shipping-methods input[type="radio"]:checked {
  border-color: var(--sha-navy);
}
.checkout-card-body .woocommerce-shipping-methods input[type="radio"]:checked::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--sha-navy);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.checkout-card-body .woocommerce-shipping-methods label {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
}
.checkout-card-body .woocommerce-shipping-methods .amount {
  font-size: 15px;
  font-weight: 700;
  color: var(--sha-navy);
  flex-shrink: 0;
}

/* Shipping table within checkout — flatten the table layout */
.checkout-card-body .woocommerce-shipping-totals td {
  padding: 0;
  border: none;
}
.checkout-card-body .woocommerce-shipping-totals th {
  display: none;
}

/* Shipping note text */
.shipping-note-text {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* --- Payment Methods: Radio Card Selectors --- */
.checkout-card-body #payment {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}
.checkout-card-body #payment .payment_methods {
  list-style: none;
  padding: 0;
  margin: 0;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checkout-card-body #payment .payment_methods li {
  padding: 0;
  margin: 0;
  background: none;
  border: none;
}
.checkout-card-body #payment .payment_methods li > label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-control);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
}
.checkout-card-body #payment .payment_methods li > label:hover {
  border-color: var(--gray-300);
}
.checkout-card-body #payment .payment_methods li > label img {
  max-height: 24px;
  width: auto;
}

/* Selected payment method */
.checkout-card-body #payment .payment_methods li.selected > label,
.checkout-card-body #payment .payment_methods li:has(input:checked) > label {
  border-color: var(--sha-navy);
  background: rgba(11,26,85,0.02);
}

/* Payment radio inputs */
.checkout-card-body #payment .payment_methods input[type="radio"] {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-pill);
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  background: white;
  margin: 1px 0 0;
}
.checkout-card-body #payment .payment_methods input[type="radio"]:checked {
  border-color: var(--sha-navy);
}
.checkout-card-body #payment .payment_methods input[type="radio"]:checked::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--sha-navy);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Payment method description */
.checkout-card-body #payment .payment_box {
  margin: 0;
  padding: 16px 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 0 0 var(--radius-control) var(--radius-control);
  margin-top: -2px;
  color: var(--gray-500);
  font-size: 13px;
  line-height: 1.5;
}
.checkout-card-body #payment .payment_box::before {
  display: none;
}

/* Hide WooCommerce default place order — our button is in the sidebar */
.checkout-card-body #payment .place-order {
  display: none;
}

/* Style Stripe/PayPal injected elements */
.checkout-card-body .wc-stripe-elements-field,
.checkout-card-body .wc-stripe-iban-element,
.checkout-card-body #stripe-card-element {
  padding: 14px 18px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-control);
}
.checkout-card-body #stripe-card-element:focus-within {
  border-color: var(--sha-navy);
  background: white;
  box-shadow: 0 0 0 3px rgba(11,26,85,0.08);
}

/* Payment method icons (for card brands) */
.payment-method-icons {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.payment-icon {
  padding: 4px 8px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-600);
}

/* --- Order Review Card (Sidebar) --- */
.order-review-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.order-review-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--gray-100);
}
.order-review-header h2 {
  font-size: 19px;
  font-weight: 800;
  color: var(--sha-navy);
}
.order-review-body {
  padding: 20px 28px 28px;
}

/* Order items */
.order-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}
.order-item:last-of-type {
  border-bottom: none;
}
.order-item-img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.order-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.order-item-qty-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  background: var(--sha-navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-item-details {
  flex: 1;
  min-width: 0;
}
.order-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.order-item-variant {
  font-size: 13px;
  color: var(--gray-400);
}
.order-item-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--sha-navy);
  flex-shrink: 0;
}

/* Totals */
.order-totals {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}
.order-totals-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}
.order-totals-label {
  font-size: 15px;
  color: var(--gray-600);
}
.order-totals-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
}
.order-totals-divider {
  border: none;
  border-top: 1px solid var(--gray-100);
  margin: 8px 0;
}
.order-grand-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0 4px;
}
.order-grand-total-label {
  font-size: 17px;
  font-weight: 700;
  color: var(--sha-navy);
}
.order-grand-total-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--sha-navy);
  letter-spacing: -0.01em;
}
/* WooCommerce wraps the total in a .woocommerce-Price-amount span */
.order-grand-total-value .woocommerce-Price-amount {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.order-tax-note {
  text-align: right;
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 24px;
}

/* Place order button */
.btn-place-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background: var(--sha-red);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--sha-red);
  border-radius: var(--radius-tile);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-place-order:hover {
  background: var(--sha-red-2);
  border-color: var(--sha-red-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(214,40,40,0.25);
}
.btn-place-order:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Secure note */
.order-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-400);
}

/* Edit cart link */
.order-edit-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  transition: color 0.2s;
}
.order-edit-link:hover {
  color: var(--sha-navy);
}

/* --- Order-Pay Page (Registration/Membership Checkout) --- */

/* Registration info notice */
.sha-checkout-notice {
  background: #EFF3FF;
  border: 1px solid #C7D2FE;
  border-left: 4px solid var(--sha-navy);
  padding: 20px 24px;
  margin-bottom: 24px;
  border-radius: var(--radius-control);
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-700);
}
.sha-checkout-notice strong {
  color: var(--sha-navy);
  font-weight: 700;
}
.sha-checkout-notice p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--gray-500);
}
.sha-checkout-notice-ref {
  display: inline-block;
  background: var(--sha-navy);
  color: #fff;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  margin-left: 8px;
  vertical-align: middle;
}

/* Fee line items (registration orders — no product images) */
.order-pay-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}
.order-pay-item:last-of-type {
  border-bottom: none;
}
.order-pay-item-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
}
.order-pay-item-amount {
  font-size: 15px;
  font-weight: 700;
  color: var(--sha-navy);
  flex-shrink: 0;
  margin-left: 16px;
}

/* Empty order fallback */
.order-pay-empty {
  font-size: 14px;
  color: var(--gray-400);
  text-align: center;
  padding: 20px 0;
}

/* Hide WC default place-order row inside payment div on order-pay (button is in sidebar) */
#order_review #payment .form-row {
  display: none;
}

/* --- WooCommerce Notices (Cart + Checkout) --- */
.woocommerce-notices-wrapper {
  margin-bottom: 20px;
}
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  border-radius: var(--radius-control);
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  list-style: none;
  line-height: 1.5;
}
.woocommerce-message {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.woocommerce-message a {
  color: #15803d;
  font-weight: 600;
}
.woocommerce-info {
  background: #eff6ff;
  color: var(--sha-navy);
  border: 1px solid #bfdbfe;
}
.woocommerce-info a {
  color: var(--sha-navy);
  font-weight: 600;
}
.woocommerce-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.woocommerce-error li {
  list-style: none;
}
.woocommerce-error a {
  color: #b91c1c;
  font-weight: 600;
}

/* --- Validation Error States --- */
.woocommerce-invalid .form-input,
.woocommerce-invalid .form-select,
.woocommerce-invalid .form-textarea {
  border-color: var(--sha-red);
  background: #fff5f5;
}
.woocommerce-invalid .form-input:focus,
.woocommerce-invalid .form-select:focus,
.woocommerce-invalid .form-textarea:focus {
  box-shadow: 0 0 0 3px rgba(214,40,40,0.1);
}
.woocommerce-validated .form-input,
.woocommerce-validated .form-select {
  border-color: #22c55e;
}

/* --- Coupon Code Section --- */
.woocommerce-form-coupon-toggle {
  margin-bottom: 20px;
}
.woocommerce-form-coupon-toggle .woocommerce-info {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
}
.woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon {
  color: var(--sha-navy);
  font-weight: 600;
  text-decoration: underline;
}
.checkout_coupon {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  padding: 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-control);
  margin-bottom: 20px;
}
.checkout_coupon .form-row-first {
  flex: 1;
}
.checkout_coupon .form-row-first input {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-control);
  background: white;
  outline: none;
  transition: border-color 200ms;
}
.checkout_coupon .form-row-first input:focus {
  border-color: var(--sha-navy);
}
.checkout_coupon .form-row-last button {
  padding: 12px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--sha-navy);
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-control);
  cursor: pointer;
  transition: all 200ms;
  white-space: nowrap;
}
.checkout_coupon .form-row-last button:hover {
  border-color: var(--sha-navy);
  background: rgba(11,26,85,0.04);
}

/* --- Cart-specific notice positioning --- */
.sha-cart-page .woocommerce-notices-wrapper {
  max-width: var(--container-max-width, 1280px);
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

/* --- Checkout Responsive — 1100px --- */
@media (max-width: 1100px) {
  .checkout-layout {
    grid-template-columns: 1fr 380px;
  }
}

/* --- Checkout Responsive — 968px (tablet) --- */
@media (max-width: 968px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .checkout-sidebar {
    order: -1;
  }
  .order-review-card {
    position: static;
  }
  .checkout-header h1 {
    font-size: 28px;
  }

  /* Billing fields — single column */
  .checkout-card-body .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  /* Progress bar — hide text labels */
  .progress-step span {
    display: none;
  }
  .progress-step-num {
    margin: 0;
  }
  .progress-connector {
    width: 40px;
    margin: 0 8px;
  }
}

/* --- Checkout Responsive — 600px (mobile) --- */
@media (max-width: 600px) {
  .checkout-card-body {
    padding: 20px;
  }
  .checkout-card-header {
    padding: 20px;
  }
  .order-review-body {
    padding: 16px 20px 24px;
  }
  .order-review-header {
    padding: 20px;
  }
  .checkout-section {
    padding: 24px 0 64px;
  }
  .checkout-card {
    border-radius: var(--radius-tile);
  }
  .order-review-card {
    border-radius: var(--radius-tile);
  }
}

/* ===== WooCommerce: Order Received ===== */

/* --- Confirmation Hero --- */
.confirm-hero {
  padding: 32px 0 40px;
  text-align: center;
}
.confirm-icon {
  width: 80px;
  height: 80px;
  background: var(--sha-green-light);
  border: 2px solid #BBF7D0;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--sha-green);
}
.confirm-hero h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--sha-navy);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.confirm-hero p {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}
.confirm-order-number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 24px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  color: var(--sha-navy);
}
.confirm-order-number span {
  font-weight: 500;
  color: var(--gray-500);
}

/* --- Confirmation Layout --- */
.confirm-section {
  padding: 0 0 96px;
}
.confirm-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

/* --- Confirmation Cards --- */
.confirm-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.confirm-card.full-width {
  grid-column: 1 / -1;
}
.confirm-card-header {
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 12px;
}
.confirm-card-icon {
  width: 36px;
  height: 36px;
  background: rgba(11,26,85,0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sha-navy);
  flex-shrink: 0;
}
.confirm-card-header h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--sha-navy);
}
.confirm-card-body {
  padding: 22px 28px 28px;
}

/* --- Detail Rows --- */
.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-label {
  font-size: 14px;
  color: var(--gray-500);
}
.detail-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  text-align: right;
}

/* --- Order Items --- */
.confirm-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}
.confirm-item:last-of-type {
  border-bottom: none;
}
.confirm-item-img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.confirm-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.confirm-item-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  background: var(--sha-navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
}
.confirm-item-details {
  flex: 1;
  min-width: 0;
}
.confirm-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
}
.confirm-item-variant {
  font-size: 13px;
  color: var(--gray-400);
}
.confirm-item-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--sha-navy);
  flex-shrink: 0;
}

/* --- Totals --- */
.confirm-totals {
  padding-top: 14px;
  margin-top: 6px;
  border-top: 2px solid var(--gray-200);
}
.confirm-totals-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}
.confirm-totals-label {
  font-size: 14px;
  color: var(--gray-500);
}
.confirm-totals-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
}
.confirm-grand-total {
  display: flex;
  justify-content: space-between;
  padding: 12px 0 0;
  margin-top: 6px;
  border-top: 1px solid var(--gray-100);
}
.confirm-grand-total-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--sha-navy);
}
.confirm-grand-total-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--sha-navy);
}

/* --- What Happens Next --- */
.next-steps-card {
  grid-column: 1 / -1;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  padding: 36px;
}
.next-steps-card h2 {
  font-size: 19px;
  font-weight: 800;
  color: var(--sha-navy);
  margin-bottom: 24px;
}
.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step-item {
  display: flex;
  gap: 20px;
  position: relative;
}
.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.step-dot {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-dot.green {
  background: var(--sha-green-light);
  border: 2px solid #BBF7D0;
  color: var(--sha-green);
}
.step-dot.navy {
  background: rgba(11,26,85,0.06);
  border: 2px solid rgba(11,26,85,0.12);
  color: var(--sha-navy);
}
.step-line {
  width: 2px;
  flex: 1;
  min-height: 24px;
  background: var(--gray-200);
  margin: 4px 0;
}
.step-content {
  padding-bottom: 28px;
}
.step-item:last-child .step-content {
  padding-bottom: 0;
}
.step-item:last-child .step-line {
  display: none;
}
.step-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--sha-navy);
  margin-bottom: 4px;
}
.step-content p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* --- Membership Confirmation Info --- */
.confirm-membership-info {
  margin-top: 16px;
  padding: 16px 20px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-control);
}
.confirm-membership-info p {
  font-size: 14px;
  color: #166534;
  margin-bottom: 8px;
  font-weight: 500;
}
.confirm-membership-info ul {
  margin: 0;
  padding: 0 0 0 20px;
}
.confirm-membership-info li {
  font-size: 14px;
  color: #166534;
  line-height: 1.7;
}

/* --- CTA Actions --- */
.confirm-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-top: 8px;
}
.confirm-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--sha-red);
  color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--sha-red);
  border-radius: var(--radius-tile);
  transition: all 0.2s;
  cursor: pointer;
}
.confirm-actions .btn-primary:hover {
  background: var(--sha-red-2);
  border-color: var(--sha-red-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(214,40,40,0.25);
}
.confirm-actions .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: white;
  color: var(--sha-navy);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-tile);
  transition: all 0.2s;
  cursor: pointer;
}
.confirm-actions .btn-outline:hover {
  border-color: var(--sha-navy);
  background: rgba(11,26,85,0.04);
}

/* --- Registration Confirmation: Rider Cards --- */
.reg-rider-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-control);
  padding: 14px 16px;
  margin-bottom: 10px;
}
.reg-rider-card:last-child {
  margin-bottom: 0;
}
.reg-rider-header {
  font-size: 15px;
  margin-bottom: 4px;
}
.reg-rider-horse {
  color: var(--gray-500);
  font-weight: 400;
}
.reg-rider-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 4px;
}
.reg-rider-meta span:not(:last-child)::after {
  content: "\00b7";
  margin-left: 14px;
  color: var(--gray-300);
}
.reg-rider-events {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.5;
}

/* --- Order Received Responsive — 968px --- */
@media (max-width: 968px) {
  .confirm-layout {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .confirm-card.full-width,
  .next-steps-card,
  .confirm-actions {
    grid-column: 1;
  }
  .confirm-hero h1 {
    font-size: 28px;
  }
}

/* --- Order Received Responsive — 600px --- */
@media (max-width: 600px) {
  .confirm-hero {
    padding: 24px 0 24px;
  }
  .confirm-card-body {
    padding: 18px 20px 22px;
  }
  .confirm-card-header {
    padding: 18px 20px;
  }
  .next-steps-card {
    padding: 24px;
  }
  .confirm-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .confirm-actions a {
    text-align: center;
    justify-content: center;
  }
}

/* =========================================
   GALLERY PAGE
   ========================================= */

/* Gallery Controls */
.gallery-section {
  padding: 64px 0 96px;
}
.gallery-controls {
  margin-bottom: 40px;
}
.controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.photo-count {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-400);
  white-space: nowrap;
}

/* Masonry Grid */
.masonry-grid {
  columns: 4;
  column-gap: 16px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-tile);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.masonry-item img {
  width: 100%;
  display: block;
}

/* Hover Overlay */
.masonry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,26,85,0.85) 0%, rgba(11,26,85,0.2) 40%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.masonry-item:hover .masonry-overlay {
  opacity: 1;
}
.overlay-caption {
  color: white;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
}
.overlay-meta {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
}
.overlay-expand {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* Category Badge (top-left on hover) */
.gallery-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: white;
  background: rgba(11,26,85,0.75);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-pill);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}
.masonry-item:hover .gallery-cat-badge {
  opacity: 1;
}

/* Empty State */
.gallery-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--gray-400);
}
.gallery-empty svg {
  margin-bottom: 16px;
}
.gallery-empty h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.gallery-empty p {
  font-size: 16px;
  color: var(--gray-500);
}

/* Submit Photos CTA Banner */
.submit-banner {
  background: var(--gray-50);
  padding: 64px 0;
}
.submit-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.submit-card-content { flex: 1; }
.submit-card-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--sha-navy);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.submit-card-content p {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 480px;
  line-height: 1.6;
}
.submit-card-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(2,6,23,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 12px;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 12px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.25);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: none;
  border-radius: 14px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.25);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  max-width: 600px;
  padding: 0 20px;
}

/* --- Gallery Responsive — 1100px --- */
@media (max-width: 1100px) {
  .masonry-grid {
    columns: 3;
  }
}

/* --- Gallery Responsive — 968px --- */
@media (max-width: 968px) {
  .masonry-grid {
    columns: 2;
  }
  .controls-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .submit-card {
    flex-direction: column;
    text-align: center;
    padding: 36px 28px;
  }
  .submit-card-content p {
    margin: 0 auto;
  }
  .submit-card-actions {
    justify-content: center;
  }
}

/* --- Gallery Responsive — 600px --- */
@media (max-width: 600px) {
  .gallery-section {
    padding: 40px 0 64px;
  }
  .masonry-grid {
    columns: 2;
    column-gap: 10px;
  }
  .masonry-item {
    margin-bottom: 10px;
    border-radius: var(--radius-control);
  }
  .masonry-overlay {
    padding: 12px;
  }
  .overlay-caption {
    font-size: 13px;
  }
  .overlay-meta {
    font-size: 11px;
  }
  .gallery-cat-badge {
    font-size: 11px;
    padding: 3px 8px;
    top: 8px;
    left: 8px;
  }
  .overlay-expand {
    width: 28px;
    height: 28px;
    top: 8px;
    right: 8px;
  }
  .overlay-expand svg {
    width: 14px;
    height: 14px;
  }
  .submit-banner {
    padding: 40px 0;
  }
  .submit-card {
    padding: 28px;
    border-radius: var(--radius-tile);
  }
  .submit-card-actions {
    flex-direction: column;
    width: 100%;
  }
  .submit-card-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}
