/* ============================================================
   Hoodie Hub — Master Stylesheet
   File: /assets/css/site.css
   
   THIS SINGLE FILE REPLACES:
   - site.css (old)
   - configurator.css
   - pricing-styles.css
   - pricing-complete.css
   - price-in-green-banner.css
   
   Sections:
   1. Tokens & Reset
   2. Message Bar + Fixed Header (properly stacked)
   3. Navigation & Mega Menu
   4. Buttons & Forms (shared)
   5. Homepage (hero, tiles, features, CTA)
   6. Footer & Chat
   7. Configurator Layout
   8. Configurator Wizard Steps
   9. Flyout Panel
   10. Modal / Enquiry
   11. Pricing Display & Green Banner
   12. Colour Swatches (single + two-tone)
   13. Image Toggle (front/back)
   14. Responsive
============================================================ */


/* ==========================================================
   1. TOKENS & RESET
========================================================== */
:root {
  --pink: #f04a6a;
  --nav: #1f2937;
  --nav2: #111827;
  --text: #111827;
  --muted: rgba(17,24,39,.55);
  --line: rgba(17,24,39,.10);
  --shadow: 0 18px 44px rgba(17,24,39,.10);
  --focus: 0 0 0 4px rgba(240,74,106,.18);

  /* Heights — these are the REAL measured values */
  --msg-height: 38px;   /* message bar height */
  --nav-height: 66px;   /* header row height */
  --header-offset: calc(var(--msg-height) + var(--nav-height)); /* total fixed area */
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; }
.container { max-width: 1440px; margin: 0 auto; padding: 0 18px; }


/* ==========================================================
   2. MESSAGE BAR + FIXED HEADER (properly stacked)
   
   Layout order (top to bottom):
   - .message-bar  → fixed, top: 0            (z: 10001)
   - .site-header  → fixed, top: msg-height   (z: 9999)
   - #headerSpacer → static, pushes content below both
========================================================== */

.message-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  background: var(--pink);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
  font-size: 12px;
  text-align: center;
  padding: 12px 10px;
  transition: transform .25s ease;
}

.site-header {
  position: fixed;
  top: var(--msg-height);
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--nav);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  will-change: top;
}

/* Spacer: pushes page content below both fixed bars */
#headerSpacer {
  height: var(--header-offset);
}



.header-row {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: #fff;
  letter-spacing: .02em;
  white-space: nowrap;
}
.logo img { height: 38px; width: auto; display: block; }


/* ==========================================================
   3. NAVIGATION & MEGA MENU
========================================================== */
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 13px;
  flex: 1;
  margin: 0 10px;
}
.nav a { opacity: .92; }
.nav a:hover { opacity: 1; }
.nav .more {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; user-select: none; opacity: .92;
  padding: 10px; border-radius: 12px;
}
.nav .more:hover { opacity: 1; background: rgba(255,255,255,.06); }
.chev { width: 14px; height: 14px; opacity: .9; }

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  color: #fff;
  font-weight: 800;
  min-width: 340px;
}
.contact { display: flex; gap: 14px; align-items: center; opacity: .95; }
.contact .item { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.icon { width: 16px; height: 16px; opacity: .95; }

/* Mega menu */
.mega {
  position: fixed;
  left: 0; right: 0;
  top: var(--header-offset);
  background: var(--nav2);
  display: none;
  border-top: 1px solid rgba(255,255,255,.10);
  z-index: 10000;
}
.mega.open { display: block; }
.mega-inner {
  padding: 22px 0 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  color: #fff;
}
.mega h4 {
  margin: 0 0 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .9;
  font-weight: 900;
}
.mega a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 800;
  opacity: .92;
}
.mega a:hover { opacity: 1; background: rgba(255,255,255,.08); }


/* ==========================================================
   4. BUTTONS & FORMS (shared)
========================================================== */
.btn {
  height: 50px;
  border-radius: 16px;
  padding: 0 18px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  user-select: none;
  white-space: nowrap;
}
.btn.primary { background: var(--pink); color: #fff; box-shadow: 0 16px 34px rgba(240,74,106,.28); }
.btn.ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.20); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.16); }
.btn.outline { background: #fff; border: 2px solid var(--pink); color: var(--pink); }
.btn.outline:hover { background: rgba(240,74,106,.06); }
.btn.white { background: #fff; color: #111827; border-color: rgba(255,255,255,.30); }
.btn.white:hover { filter: brightness(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }

.header-cta {
  height: 44px;
  border-radius: 14px;
  padding: 0 14px;
  letter-spacing: .10em;
  font-size: 12px;
}

label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(17,24,39,.55);
  display: block;
  margin-bottom: 8px;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  border-radius: 14px;
  padding: 16px;
  border: 2px solid rgba(17,24,39,.08);
  background: #fff;
  font-weight: 800;
  font-size: 16px;
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease;
}
input:focus, select:focus, textarea:focus {
  box-shadow: var(--focus);
  border-color: rgba(240,74,106,.45);
}
.help {
  margin-top: 10px;
  color: rgba(17,24,39,.38);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.45;
}
.help a { color: var(--pink); font-weight: 900; }
.help a:hover { text-decoration: underline; }


/* ==========================================================
   5. HOMEPAGE
========================================================== */

/* Hero */
.hero {
  position: relative;
  min-height: clamp(520px, 74vh, 740px);
  overflow: hidden;
  background: #0b1220;
  isolation: isolate;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transform: scale(1.02);
  transition: opacity .55s ease, transform .7s ease;
  z-index: 0;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--bg-image);
  background-size: cover; background-position: center;
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.02); z-index: 0;
}
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.20), rgba(0,0,0,.10) 50%, rgba(0,0,0,.00)),
    radial-gradient(900px 520px at 70% 40%, rgba(240,74,106,.18), transparent 60%),
    radial-gradient(900px 520px at 40% 60%, rgba(56,189,248,.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0)),
    linear-gradient(90deg, rgba(17,24,39,.62) 0%, rgba(17,24,39,.20) 52%, rgba(17,24,39,.00) 100%);
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 2;
  height: 100%;
  display: grid; align-items: center;
  padding: clamp(26px, 4vw, 52px) 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px; align-items: center;
}
.hero-card { max-width: 920px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.14);
  color: #fff; font-weight: 900; letter-spacing: .12em;
  text-transform: uppercase; font-size: 12px; opacity: .96;
}
.hero-title {
  margin: 14px 0 0; color: #fff; line-height: 1.02;
  letter-spacing: -.03em; font-weight: 900;
  font-size: clamp(40px, 5.2vw, 72px);
  text-shadow: 0 18px 60px rgba(0,0,0,.35);
}
.hero-title span {
  display: inline-block; margin-top: 10px;
  background: rgba(17,24,39,.72); padding: 12px 16px;
  border-radius: 16px; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}
.hero-sub {
  margin: 14px 0 0; color: rgba(255,255,255,.84);
  font-weight: 800; font-size: 18px; line-height: 1.5; max-width: 58ch;
}
.hero-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-right { display: flex; justify-content: flex-end; }

/* Trust card */
.trust-card {
  width: min(420px, 100%);
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px; padding: 18px; color: #fff;
  box-shadow: 0 20px 70px rgba(0,0,0,.22); backdrop-filter: blur(10px);
}
.trust-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.trust-top h3 { margin: 0; font-weight: 900; letter-spacing: -.02em; font-size: 18px; }
.trust-top p { margin: 6px 0 0; opacity: .86; font-weight: 800; line-height: 1.35; font-size: 13px; }
.stars { display: flex; gap: 6px; margin-top: 12px; align-items: center; font-weight: 900; }
.star {
  width: 18px; height: 18px; border-radius: 6px;
  background: rgba(34,197,94,.20); border: 1px solid rgba(34,197,94,.35);
  display: grid; place-items: center; color: #22c55e; font-size: 12px;
}

/* Hero dots */
.dots {
  position: absolute; left: 50%; bottom: 18px;
  transform: translateX(-50%); display: flex; gap: 10px; z-index: 3;
}
.dot {
  width: 10px; height: 10px; border-radius: 999px;
  border: 2px solid rgba(255,255,255,.60); opacity: .75;
  cursor: pointer; background: transparent; padding: 0;
}
.dot.active { background: #fff; opacity: 1; }

/* Tiles */
.section { padding: clamp(26px, 4vw, 56px) 0; }
.tiles { background: #fff; border-top: 1px solid rgba(17,24,39,.06); }
.tiles-grid { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 16px; align-items: stretch; }
.tile {
  position: relative; border-radius: 22px; overflow: hidden;
  background: #f3f4f6; min-height: 300px;
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: 0 18px 50px rgba(17,24,39,.08);
  cursor: pointer; transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tile:hover { transform: translateY(-2px); box-shadow: 0 26px 70px rgba(17,24,39,.12); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.25));
}
.tile-label {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2;
  padding: 12px 14px; border-radius: 18px;
  background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.75);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.tile-label strong { font-weight: 900; letter-spacing: .10em; text-transform: uppercase; font-size: 12px; }
.tile-label span { font-weight: 900; color: rgba(17,24,39,.65); letter-spacing: .08em; text-transform: uppercase; font-size: 11px; white-space: nowrap; }
.tiles-grid-2 { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile.small { min-height: 240px; }
.tile.small .tile-label { background: rgba(255,255,255,.92); }
.tile.small::after { background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.22)); }

/* Features */
.features { background: linear-gradient(180deg, #fff, #fbfbfd); border-top: 1px solid rgba(17,24,39,.06); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.feature { background: #fff; border: 1px solid rgba(17,24,39,.10); border-radius: 26px; overflow: hidden; box-shadow: 0 18px 55px rgba(17,24,39,.08); }
.feature-media {
  height: 240px;
  background: #f3f4f6;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.feature-body { padding: 18px 18px 20px; }
.feature h3 { margin: 0; font-size: 38px; letter-spacing: -.03em; font-weight: 900; color: var(--pink); line-height: 1.05; }
.feature p { margin: 10px 0 0; color: rgba(17,24,39,.74); font-weight: 800; line-height: 1.6; font-size: 15px; }
.feature a { color: var(--pink); font-weight: 900; }
.feature a:hover { text-decoration: underline; }

/* CTA strip */
.cta-strip { background: linear-gradient(90deg, rgba(240,74,106,.14), rgba(56,189,248,.10)); border-top: 1px solid rgba(17,24,39,.06); }
.cta-inner { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 22px 0; flex-wrap: wrap; }
.cta-inner h2 { margin: 0; letter-spacing: -.03em; font-weight: 900; font-size: 28px; }
.cta-inner p { margin: 6px 0 0; color: rgba(17,24,39,.70); font-weight: 800; line-height: 1.5; max-width: 70ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }


/* ==========================================================
   6. FOOTER & CHAT
========================================================== */
footer {
  background: var(--nav2); color: #fff; padding: 34px 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 18px;
}
footer h4 {
  margin: 0 0 12px; font-size: 12px; text-transform: uppercase;
  letter-spacing: .12em; opacity: .9; font-weight: 900;
}
footer a { display: block; padding: 8px 0; opacity: .86; font-weight: 800; }
footer a:hover { opacity: 1; }
.fine { margin-top: 16px; opacity: .7; font-weight: 800; font-size: 13px; }

.chat-bubble {
  position: fixed; right: 22px; bottom: 22px;
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--pink);
  box-shadow: 0 18px 50px rgba(240,74,106,.35);
  display: grid; place-items: center; cursor: pointer; z-index: 12000;
  transition: transform .2s ease;
}
.chat-bubble:hover { transform: scale(1.08); }
.chat-bubble svg { opacity: .98; transition: transform .3s ease; }
.chat-bubble.open svg { transform: rotate(90deg); }

/* Chat contact popup */
.chat-popup {
  position: fixed; right: 22px; bottom: 90px;
  width: 340px; max-width: calc(100vw - 44px);
  background: #fff; border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.04);
  z-index: 11999;
  opacity: 0; transform: translateY(16px) scale(.96);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.chat-popup.open {
  opacity: 1; transform: translateY(0) scale(1);
  pointer-events: auto;
}
.chat-popup-head {
  padding: 20px 20px 0;
}
.chat-popup-head h3 {
  margin: 0; font-size: 17px; font-weight: 900;
  letter-spacing: -.02em; color: #111827;
}
.chat-popup-head p {
  margin: 4px 0 0; font-size: 13px; font-weight: 700;
  color: #6b7280; line-height: 1.4;
}
.chat-popup-body {
  padding: 16px 20px 20px;
}
.chat-popup-body label {
  display: block; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  color: #374151; margin-bottom: 4px; margin-top: 12px;
}
.chat-popup-body label:first-child { margin-top: 0; }
.chat-popup-body input,
.chat-popup-body textarea {
  display: block; width: 100%; padding: 10px 12px;
  border: 1.5px solid #e5e7eb; border-radius: 10px;
  font-size: 14px; font-weight: 600; font-family: inherit;
  color: #1f2937; background: #f9fafb;
  transition: border-color .15s ease;
}
.chat-popup-body input:focus,
.chat-popup-body textarea:focus {
  outline: none; border-color: var(--pink);
  background: #fff;
}
.chat-popup-body textarea { resize: vertical; min-height: 70px; }
.chat-popup-body .btn-send {
  display: block; width: 100%; margin-top: 16px;
  padding: 12px; border: none; border-radius: 12px;
  background: var(--pink); color: #fff;
  font-size: 14px; font-weight: 800; font-family: inherit;
  cursor: pointer; transition: opacity .15s ease;
}
.chat-popup-body .btn-send:hover { opacity: .9; }
.chat-popup-body .btn-send:disabled {
  opacity: .5; cursor: not-allowed;
}
.chat-popup-success {
  text-align: center; padding: 32px 20px;
}
.chat-popup-success .tick-icon {
  width: 48px; height: 48px; margin: 0 auto 12px;
  border-radius: 50%; background: #d1fae5;
  display: grid; place-items: center;
}
.chat-popup-success h4 {
  margin: 0 0 6px; font-size: 16px; font-weight: 900; color: #111827;
}
.chat-popup-success p {
  margin: 0; font-size: 13px; font-weight: 700; color: #6b7280; line-height: 1.5;
}


/* ==========================================================
   7. CONFIGURATOR LAYOUT
========================================================== */
.configurator-wrap { position: relative; }

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: start;
  gap: 0;
}

/* Left: sticky image preview */
.visual {
  position: sticky;
  top: var(--header-offset);
  height: calc(100vh - var(--header-offset));
  min-height: 640px;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 25% 35%, rgba(180,225,255,.65), transparent 58%),
    radial-gradient(1200px 700px at 80% 55%, rgba(255,203,180,.70), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #f7f7fb 100%);
  display: grid;
  place-items: center;
}

.hoodie-img {
  max-width: 86%; max-height: 86%;
  object-fit: contain;
  transition: opacity .2s ease, transform .2s ease;
  user-select: none; -webkit-user-drag: none;
}
/* Full-bleed hero — fills entire .visual panel */
.hoodie-img.is-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}
.hoodie-img.is-swapping { opacity: .7; transform: scale(.995); }

/* Right: wizard panel */
.wizard {
  background: #fff;
  border-left: 1px solid rgba(17,24,39,.06);
  min-height: calc(100vh - var(--header-offset));
}

.wizard-head { padding: 30px 26px 10px; }
.wizard-head h1 { margin: 0; font-size: 40px; letter-spacing: -.03em; font-weight: 900; }
.wizard-head p { margin: 10px 0 0; color: rgba(17,24,39,.35); font-weight: 800; font-size: 18px; line-height: 1.35; }
.steps { padding: 10px 26px 26px; }


/* ==========================================================
   8. CONFIGURATOR WIZARD STEPS
========================================================== */
.step { margin: 28px 0; scroll-margin-top: calc(var(--header-offset) + 18px); }
.step.disabled { opacity: .25; pointer-events: none; }
.step-title {
  margin-bottom: 14px; display: flex; align-items: flex-end;
  justify-content: space-between; gap: 10px;
}
.step-title h3 {
  margin: 0; font-size: 28px; letter-spacing: -.02em;
  color: rgba(17,24,39,.28); font-weight: 900;
}
.step-title .subtitle {
  font-size: 28px; font-weight: 900;
  color: rgba(17,24,39,.20); margin-left: 8px;
}

/* Done pill */
.done-pill {
  display: none; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 900; color: #065f46;
  background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.22);
  padding: 6px 10px; border-radius: 999px; white-space: nowrap;
}
.step.done .done-pill { display: flex; }

/* Quantity segmented control */
.seg-wrap { margin-top: 10px; }
.seg {
  display: flex; width: 100%;
  background: #fff; border: 1px solid rgba(17,24,39,.10);
  border-radius: 14px; overflow: hidden;
}
.seg-btn {
  flex: 1; height: 60px; display: grid; place-items: center;
  font-weight: 900; font-size: 18px; color: rgba(17,24,39,.90);
  background: #fff; border: 0; cursor: pointer; position: relative;
}
.seg-btn + .seg-btn { border-left: 1px solid rgba(17,24,39,.08); }
.seg-btn:hover { background: rgba(17,24,39,.02); }
.seg-btn.active {
  outline: 2px solid #22c55e; outline-offset: -2px;
  box-shadow: 0 0 0 4px rgba(34,197,94,.20); z-index: 1;
}
.seg-note { margin-top: 12px; color: rgba(17,24,39,.55); font-weight: 800; line-height: 1.5; }
.seg-note strong { color: rgba(17,24,39,.92); font-weight: 900; }
.seg-note a { color: var(--pink); font-weight: 900; }
.seg-note a:hover { text-decoration: underline; }

.qty-custom { margin-top: 12px; display: none; }
.qty-custom .rowline { display: flex; gap: 10px; align-items: center; }
.mini-btn {
  height: 52px; padding: 0 14px; border-radius: 14px;
  border: 2px solid rgba(17,24,39,.10); background: #fff;
  font-weight: 900; letter-spacing: .10em; text-transform: uppercase;
  font-size: 12px; cursor: pointer;
}
.mini-btn:hover { background: rgba(17,24,39,.02); }

/* Chips (group type) */
.choice-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  border: 2px solid rgba(17,24,39,.08); padding: 12px 14px;
  border-radius: 16px; font-weight: 900; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; background: #fff;
  cursor: pointer; user-select: none;
  transition: box-shadow .12s ease, border-color .12s ease, transform .12s ease;
}
.chip:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(17,24,39,.08); }
.chip.active { border-color: rgba(240,74,106,.55); box-shadow: var(--focus); }

/* Cards (style / front design) */
.cards { display: grid; gap: 14px; }
.card-option {
  display: grid; grid-template-columns: 82px 1fr; gap: 14px;
  align-items: center; padding: 18px; border-radius: 18px;
  border: 2px solid rgba(17,24,39,.06);
  box-shadow: 0 10px 30px rgba(17,24,39,.06);
  cursor: pointer; background: #fff;
  transition: box-shadow .12s ease, border-color .12s ease, transform .12s ease;
}
.card-option:hover { transform: translateY(-1px); box-shadow: 0 18px 40px rgba(17,24,39,.10); border-color: rgba(240,74,106,.3); }
.card-option.active,
.card-option.picked { border-color: rgba(240,74,106,.55); box-shadow: var(--focus); background: rgba(240,74,106,.03); }
.thumb {
  width: 82px; height: 82px; border-radius: 18px;
  background: rgba(17,24,39,.04); display: grid; place-items: center;
  font-weight: 900; color: rgba(17,24,39,.25); font-size: 18px;
  overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; transition: transform .3s ease; }
.card-option:hover .thumb img { transform: scale(1.05); }
.card-option h4 { margin: 0; font-size: 18px; font-weight: 900; letter-spacing: -.01em; }
.sub { margin: 6px 0 0; color: rgba(17,24,39,.45); font-weight: 900; font-size: 14px; }

/* Price tag on cards */
.price-tag {
  display: inline-block; margin-top: 4px;
  background: #f0fdf4; color: #166534;
  font-size: 12px; font-weight: 700;
  padding: 2px 8px; border-radius: 6px;
}

/* Additions checklist */
.checklist { display: grid; gap: 12px; }
.tick {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px; border-radius: 16px;
  border: 2px solid rgba(17,24,39,.06);
  box-shadow: 0 10px 30px rgba(17,24,39,.06);
  background: #fff; cursor: pointer; transition: all .2s ease;
}
.tick:hover { background: rgba(240,74,106,.03); }
.tick input { margin-top: 3px; }
.tick input:checked + div strong { color: var(--pink); }
.tick strong { display: block; font-weight: 900; }
.tick small { display: block; margin-top: 4px; color: rgba(17,24,39,.42); font-weight: 900; }

.cta-row { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }


/* ==========================================================
   9. FLYOUT PANEL
========================================================== */
.overlay {
  position: fixed; inset: 0;
  background: rgba(17,24,39,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease; z-index: 11000;
}
.overlay.open { opacity: 1; pointer-events: auto; }

.flyout {
  position: fixed;
  top: var(--header-offset);
  right: -520px;
  width: min(520px, 96vw);
  height: calc(100vh - var(--header-offset));
  background: #0b1220; color: #fff;
  z-index: 12000;
  border-left: 1px solid rgba(255,255,255,.10);
  box-shadow: -18px 0 60px rgba(0,0,0,.28);
  transition: right .22s ease;
  display: flex; flex-direction: column;
}
.flyout.open { right: 0; }

.flyout-head {
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 12px;
}
.flyout-head h2 { margin: 0; font-weight: 900; letter-spacing: -.02em; font-size: 18px; }
.flyout-head p { margin: 8px 0 0; opacity: .82; font-weight: 800; font-size: 13px; line-height: 1.35; }
.flyout-close {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.12);
  color: #fff; width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; cursor: pointer;
}
.flyout-close:hover { background: rgba(255,255,255,.14); }

.flyout-body { padding: 14px 18px 18px; overflow: auto; flex: 1; }
.flyout-note {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; padding: 12px; font-weight: 800; opacity: .92; line-height: 1.45;
}
.flyout-note .pink { color: #fda4af; font-weight: 900; }

.colour-list { margin-top: 12px; display: grid; gap: 12px; }
.colour-item {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06); border-radius: 18px;
  padding: 12px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  transition: all .15s ease;
}
.colour-item:hover { background: rgba(255,255,255,.10); }
.colour-left { display: flex; gap: 10px; align-items: center; }
.colour-left strong { display: block; font-weight: 900; }
.colour-left span { display: block; font-size: 12px; opacity: .82; font-weight: 800; margin-top: 3px; }

.btn-dark {
  height: 42px; padding: 0 14px; border-radius: 14px;
  font-weight: 900; letter-spacing: .10em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08); color: #fff;
  cursor: pointer; white-space: nowrap;
}
.btn-dark:hover { background: rgba(255,255,255,.12); }
.btn-dark.primary { background: var(--pink); border-color: rgba(255,255,255,.12); }

.flyout-footer {
  padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
}


/* ==========================================================
   10. MODAL / ENQUIRY
========================================================== */
.modal-wrap {
  position: fixed; inset: 0;
  display: none; align-items: center; justify-content: center;
  padding: 18px; background: rgba(17,24,39,.55); z-index: 13000;
}
.modal-wrap.open { display: flex; }

.modal {
  width: min(720px, 96vw); background: #fff;
  border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: 0 26px 90px rgba(0,0,0,.22);
}
.modal-head {
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(17,24,39,.08);
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 12px;
}
.modal-head h2 { margin: 0; font-size: 18px; font-weight: 900; letter-spacing: -.02em; }
.modal-head p { margin: 8px 0 0; color: rgba(17,24,39,.55); font-weight: 800; font-size: 13px; line-height: 1.35; }
.modal-body { padding: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-foot {
  padding: 14px 18px; border-top: 1px solid rgba(17,24,39,.08);
  display: flex; justify-content: flex-end; gap: 10px;
  background: rgba(17,24,39,.02);
}


/* ==========================================================
   11. PRICING DISPLAY & GREEN BANNER
========================================================== */

/* Green price banner at top of wizard */
#livePrice {
  position: sticky;
  top: var(--header-offset);
  z-index: 50;
  background: #a4d65e;
  padding: 18px 32px;
  margin: 0 0 24px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
#livePrice .price-row {
  display: flex; justify-content: space-between; align-items: center;
}
#livePricePerUnit {
  font-size: 28px; font-weight: 900; color: #1f2937; line-height: 1;
}
#livePriceTotal {
  font-size: 28px; font-weight: 900; color: #1f2937; line-height: 1; text-align: right;
}

/* Pop animation on price change */
@keyframes pricePop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.price-pop { animation: pricePop 0.25s ease-out; }

/* Header price display (used by enhanced configurator) */
.price-display {
  display: none !important; /* Hidden — we use the green banner instead */
}

/* Price summary in enquiry modal */
.price-summary {
  background: #f9fafb; border: 1px solid #e5e7eb;
  border-radius: 12px; padding: 20px; margin-bottom: 20px;
}
.price-summary h3 {
  font-size: 16px; font-weight: 800; margin: 0 0 14px; color: #1f2937;
  padding-bottom: 12px; border-bottom: 2px solid #e5e7eb;
}
.summary-line {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; font-size: 14px; color: #374151;
  border-bottom: 1px solid #f3f4f6;
}
.summary-line:last-child { border-bottom: none; }
.summary-line.total {
  border-top: 2px solid #d1d5db; padding-top: 12px;
  margin-top: 6px; font-size: 16px;
}
.summary-line.total strong { color: #1f2937; }

/* Order summary table in enquiry modal */
.summary-table {
  width: 100%; border-collapse: collapse;
  font-size: 13px; color: #374151;
}
.summary-table td {
  padding: 6px 0; border-bottom: 1px solid #f3f4f6;
}
.summary-table td:first-child {
  color: #6b7280; font-weight: 700; width: 40%;
}
.summary-table td:last-child { text-align: right; }
.summary-table strong { color: #1f2937; }
.summary-table tr.summary-price td {
  border-top: 2px solid #e5e7eb; padding-top: 10px;
  font-size: 14px;
}
.summary-table tr.summary-price td:last-child strong {
  color: #059669; font-size: 15px;
}

/* Spinner */
.spinner {
  width: 32px; height: 32px;
  border: 3px solid #e5e7eb; border-top-color: var(--pink);
  border-radius: 50%; margin: 0 auto 16px;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }


/* ==========================================================
   12. COLOUR SWATCHES (single + two-tone)
========================================================== */

/* Standard swatch */
.colour-swatch {
  width: 38px; height: 38px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.colour-item:hover .colour-swatch { transform: scale(1.1); }

/* Two-tone split swatch (two child divs) */
.colour-swatch--split {
  width: 38px; height: 38px; border-radius: 14px;
  overflow: hidden; display: flex; flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,.18);
}
.colour-swatch--split > div { width: 50%; height: 100%; }

/* CSS custom property driven two-tone */
.colour-swatch.two-tone {
  position: relative; overflow: hidden; padding: 0;
}
.colour-swatch.two-tone::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 50%; height: 100%; background: var(--body-colour);
}
.colour-swatch.two-tone::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 50%; height: 100%; background: var(--sleeve-colour);
}

/* Circle variant */
.colour-swatch.two-tone-circle {
  border-radius: 50%;
  background: linear-gradient(90deg, var(--body-colour) 50%, var(--sleeve-colour) 50%);
}

/* Selected state */
.colour-item.selected .colour-swatch { outline: 3px solid var(--pink); outline-offset: 2px; }


/* ==========================================================
   13. IMAGE TOGGLE (front/back)
========================================================== */
.image-toggle {
  display: flex; gap: 12px; margin-top: 16px; justify-content: center;
}
.thumb-btn {
  flex: 1; max-width: 120px; padding: 8px;
  border: 2px solid #e5e7eb; border-radius: 8px;
  background: white; cursor: pointer; transition: all 0.2s ease;
}
.thumb-btn:hover { border-color: var(--pink); }
.thumb-btn.active { border-color: var(--pink); background: #fef2f2; }
.thumb-btn img {
  width: 100%; height: 80px; object-fit: cover;
  border-radius: 4px; margin-bottom: 4px;
}
.thumb-btn span {
  display: block; font-size: 11px; font-weight: 600;
  text-transform: uppercase; color: #6b7280;
}
.thumb-btn.active span { color: var(--pink); }


/* ==========================================================
   14. RESPONSIVE
========================================================== */

/* Homepage */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero-right { justify-content: flex-start; }
  .tiles-grid { grid-template-columns: 1fr; }
  .tiles-grid-2 { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature h3 { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Nav breakpoint */
@media (max-width: 980px) {
  .nav { display: none; }
  .header-right { min-width: auto; }
}

@media (max-width: 560px) {
  .tiles-grid-2 { grid-template-columns: 1fr; }
  .trust-card { border-radius: 18px; }
  .hero-title { font-size: 40px; }
}

/* Configurator */
@media (max-width: 1100px) {
  .split { grid-template-columns: 1fr; }
  .visual { position: relative; top: auto; height: 440px; min-height: 440px; }
  .wizard { border-left: none; }
}

@media (max-width: 1024px) {
  #livePrice { padding: 14px 20px; }
  #livePricePerUnit, #livePriceTotal { font-size: 22px; }
}

@media (max-width: 720px) {
  .wizard-head h1 { font-size: 32px; }
  .wizard-head p { font-size: 16px; }
  .step-title h3, .step-title .subtitle { font-size: 22px; }
  .grid-2 { grid-template-columns: 1fr; }
}
