/* ============================================================
   IKODY SHOP — design tokens
   Palette pulled from the mark: pitch green, leaf-green trim,
   kit cream, ink, and two "card" accents borrowed from ref cards.
   ============================================================ */
:root {
  --green-deep: #3f8f68;
  --green: #4fa97d;
  --green-leaf: #a0cc6b;
  --cream: #fbf3d5;
  --cream-soft: #f6ecc9;
  --ink: #1f2a1e;
  --ink-soft: #45524a;
  --card-yellow: #f4c430;
  --card-red: #e24a3b;
  --white: #ffffff;
  --line: rgba(31, 42, 30, 0.12);

  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-body: 'Work Sans', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(31, 42, 30, 0.12);
  --container: 1180px;
}

@font-face {
  font-family: 'Archivo Black';
  src: local('Arial Black');
}

* { box-sizing: border-box; }

.icon-svg { width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ============================================================
   Micro-interactions & animations
   Mostly CSS-only so they apply automatically to every button,
   card, and pill already in the markup - no per-page JS needed.
   ============================================================ */
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(244, 196, 48, 0.45); }
.btn-dark:hover { box-shadow: 0 8px 20px rgba(31,42,30,0.35); transform: translateY(-2px); }
.btn-outline:hover { background: var(--cream-soft); border-color: var(--green); }
.btn-ghost:hover { background: rgba(255,255,255,0.24); }

.icon-btn { transition: transform 0.15s ease, background-color 0.15s ease; }
.icon-btn:hover { transform: scale(1.08); background: rgba(255,255,255,0.28); }
.icon-btn:active { transform: scale(0.9); }
.icon-btn.bump { animation: iconBump 0.45s ease; }
@keyframes iconBump {
  0% { transform: scale(1); }
  35% { transform: scale(1.3) rotate(-8deg); }
  65% { transform: scale(0.95) rotate(4deg); }
  100% { transform: scale(1) rotate(0); }
}

.product-card .thumb img { transition: transform 0.4s ease; }
.product-card:hover .thumb img { transform: scale(1.08); }

.category-pin:hover { transform: translateY(-2px); }

.size-pill:hover { border-color: var(--green); }
.size-pill.active { animation: pillPop 0.25s ease; }
@keyframes pillPop {
  0% { transform: scale(0.88); }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.qty-stepper button { transition: background-color 0.15s ease, transform 0.1s ease; }
.qty-stepper button:active { transform: scale(0.88); }

/* "Ajouté !" success flash on the add-to-cart button */
.btn-primary.add-success { background: var(--green); color: white; transition: background-color 0.2s ease; }

/* Smoother cart drawer motion */
.cart-drawer { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }

/* Hero content animates in on page load */
.hero-eyebrow, .hero h1, .hero p.lead, .hero-cta, .hero-visual {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}
.hero h1 { animation-delay: 0.06s; }
.hero p.lead { animation-delay: 0.14s; }
.hero-cta { animation-delay: 0.22s; }
.hero-visual { animation-delay: 0.18s; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-reveal: elements fade/slide up the first time they enter the viewport
   (public/js/layout.js watches for [data-reveal] and adds .revealed via IntersectionObserver) */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* Alerts slide in rather than just appearing */
.alert { animation: alertIn 0.25s ease; }
@keyframes alertIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Splash / wink loading screen
   Eye coordinates below were measured directly from the logo
   pixels (right eye center at 58.35%, 28.47% of the image),
   so the "eyelid" lines up exactly regardless of logo size.
   Background color #5FB280 is the exact green sampled from the
   logo file itself, so the square logo blends in with no edge.
   ============================================================ */
.splash-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: #5FB280;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: opacity 0.5s ease;
}
.splash-screen.hide { opacity: 0; pointer-events: none; }
.splash-logo-wrap {
  position: relative;
  width: 200px; height: 200px;
  opacity: 0;
  animation: splashLogoIn 0.5s ease forwards;
}
.splash-logo { width: 100%; height: 100%; display: block; }
.splash-eyelid {
  position: absolute;
  left: 58.35%; top: 28.47%;
  width: 8%; height: 8%;
  background: var(--cream);
  border-radius: 50%;
  transform: translate(-50%, -50%) scaleY(0);
  transform-origin: center;
  animation: splashWink 0.9s ease 0.6s 1 both;
}
.splash-tagline {
  font-family: var(--font-display);
  color: white;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 0 24px;
  opacity: 0;
  animation: splashTaglineIn 0.5s ease 1.5s forwards;
}
@keyframes splashLogoIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes splashWink {
  0%, 45% { transform: translate(-50%, -50%) scaleY(0); }
  55%, 75% { transform: translate(-50%, -50%) scaleY(1); }
  100% { transform: translate(-50%, -50%) scaleY(0); }
}
@keyframes splashTaglineIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 8px 16px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--green);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 0 rgba(0,0,0,0.05);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand img { height: 44px; width: 44px; border-radius: 10px; background: var(--green-leaf); padding: 3px; }

.main-nav {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.main-nav a { opacity: 0.92; padding: 6px 0; border-bottom: 2px solid transparent; transition: 0.15s; }
.main-nav a:hover, .main-nav a.active { opacity: 1; border-color: var(--card-yellow); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.16);
  border-radius: 50%;
  color: var(--white);
  border: none;
}
.icon-btn .icon-svg { width: 20px; height: 20px; }
.icon-btn .badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--card-red); color: white;
  font-size: 10.5px; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  padding: 0 3px;
}
.burger { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--card-yellow); color: var(--ink); }
.btn-primary:hover { box-shadow: 0 6px 18px rgba(244, 196, 48, 0.5); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { box-shadow: 0 6px 18px rgba(31,42,30,0.3); }
.btn-outline { background: transparent; border-color: currentColor; }
.btn-ghost { background: rgba(255,255,255,0.14); color: var(--white); }
.btn-danger { background: var(--card-red); color: white; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-deep) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 70px 0 90px;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; position: relative; }
.hero .wrap.hero-single { display: block; max-width: 720px; text-align: center; margin: 0 auto; }
.hero .wrap.hero-single .hero-eyebrow { margin-left: auto; margin-right: auto; }
.hero .wrap.hero-single .hero-cta { justify-content: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.16);
  padding: 6px 14px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--card-yellow); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  margin: 0 0 20px;
  text-wrap: balance;
}
.hero p.lead { font-size: 18px; line-height: 1.6; opacity: 0.92; max-width: 480px; margin: 0 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-badge-card {
  background: var(--cream);
  border-radius: 22px;
  padding: 34px;
  color: var(--ink);
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
  width: 100%;
  max-width: 360px;
}
.hero-badge-card img { width: 120px; height: 120px; margin: 0 auto 18px; }
.hero-badge-card .num { font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); letter-spacing: 0.08em; }
.hero-badge-card h3 { font-family: var(--font-display); font-size: 22px; margin: 6px 0 4px; }
.hero-badge-card .price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.hero-badge-card .price { font-family: var(--font-mono); font-size: 24px; font-weight: 700; }
.hero-badge-card .strike { text-decoration: line-through; color: var(--ink-soft); font-size: 14px; }

/* ---------- Section headings ---------- */
.section { padding: 70px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 34px; gap: 20px; flex-wrap: wrap; }
.eyebrow { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12.5px; color: var(--green-deep); font-weight: 700; margin: 0 0 8px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); margin: 0; }
.section-head p { color: var(--ink-soft); margin: 8px 0 0; max-width: 520px; }

/* ---------- Category pins ---------- */
.category-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.category-pin {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--white);
  font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.03em;
}
.category-pin.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.category-pin:hover:not(.active) { border-color: var(--green); }

/* ---------- Product grid & jersey-tag cards ---------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card .tag-hole {
  position: absolute; top: 14px; left: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--cream);
  border: 2px dashed var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--green-deep);
  z-index: 2;
}
.product-card .badge-sale {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: var(--card-red); color: white;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  padding: 4px 9px; border-radius: 999px;
}
.product-card .badge-out {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: var(--ink-soft); color: white;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  padding: 4px 9px; border-radius: 999px;
}
.product-card .thumb {
  aspect-ratio: 4/3.4;
  background: var(--cream-soft);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .thumb .placeholder { color: var(--green-leaf); }
.product-card .thumb .placeholder .icon-svg { width: 46px; height: 46px; }
.product-card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .team { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-deep); font-weight: 700; }
.product-card h3 { font-size: 16.5px; margin: 0; line-height: 1.3; }
.product-card .price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.product-card .price { font-family: var(--font-mono); font-weight: 700; font-size: 17px; }
.product-card .strike { text-decoration: line-through; color: var(--ink-soft); font-size: 13px; font-family: var(--font-mono); }
.product-card .stitch {
  border-top: 2px dashed var(--line);
  margin-top: 10px; padding-top: 12px;
  display: flex; justify-content: space-between; align-items: center;
}

/* ---------- Feature strip ---------- */
.feature-strip { background: var(--ink); color: var(--cream); }
.feature-strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 44px 24px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-item .ico { color: var(--card-yellow); }
.feature-item .ico .icon-svg { width: 24px; height: 24px; }
.feature-item h4 { margin: 0 0 4px; font-size: 15px; }
.feature-item p { margin: 0; font-size: 13.5px; color: rgba(251,243,213,0.72); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: var(--cream); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 19px; margin-bottom: 12px; }
.footer-brand img { height: 34px; width: 34px; border-radius: 8px; background: var(--green-leaf); padding: 3px; }
.site-footer p { color: rgba(251,243,213,0.78); font-size: 14px; line-height: 1.6; }
.site-footer h5 { font-family: var(--font-mono); text-transform: uppercase; font-size: 12px; letter-spacing: 0.08em; margin: 0 0 14px; color: var(--card-yellow); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer ul a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(251,243,213,0.18); padding-top: 22px; display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(251,243,213,0.6); flex-wrap: wrap; gap: 10px; }

/* ---------- Generic page header (shop/product/cart/checkout) ---------- */
.page-head { background: var(--green); color: white; padding: 42px 0; }
.page-head h1 { font-family: var(--font-display); font-size: clamp(26px, 4vw, 38px); margin: 0 0 6px; }
.breadcrumb { font-family: var(--font-mono); font-size: 12.5px; opacity: 0.85; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Shop layout ---------- */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
.filter-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 96px; }
.filter-box h4 { font-family: var(--font-mono); text-transform: uppercase; font-size: 12px; letter-spacing: 0.08em; margin: 0 0 14px; color: var(--green-deep); }
.filter-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 22px; }
.filter-list label { display: flex; align-items: center; gap: 9px; font-size: 14px; padding: 6px 0; cursor: pointer; }
.filter-list.pills { flex-direction: row; flex-wrap: wrap; }

.empty-state { text-align: center; padding: 70px 20px; color: var(--ink-soft); }
.empty-state .glyph { margin-bottom: 14px; color: var(--ink-soft); display: flex; justify-content: center; }
.empty-state .glyph .icon-svg { width: 42px; height: 42px; }

/* ---------- Product detail ---------- */
.pd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.pd-gallery { position: relative; background: var(--cream-soft); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; }
.pd-gallery .carousel-track { display: flex; width: 100%; height: 100%; transition: transform 0.5s ease; }
.pd-gallery .carousel-slide { flex: 0 0 100%; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.pd-gallery .carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery .placeholder { color: var(--green-leaf); }
.pd-gallery .placeholder .icon-svg { width: 80px; height: 80px; }
.pd-gallery .carousel-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.pd-gallery .carousel-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.55); border: none; padding: 0; cursor: pointer; transition: 0.15s; }
.pd-gallery .carousel-dot.active { background: var(--white); transform: scale(1.25); }
.pd-gallery .carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.85); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer;
}
.pd-gallery .carousel-arrow:hover { background: white; }
.pd-gallery .carousel-arrow.prev { left: 14px; }
.pd-gallery .carousel-arrow.next { right: 14px; }
.pd-info .team { font-family: var(--font-mono); text-transform: uppercase; color: var(--green-deep); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; }
.pd-info h1 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); margin: 8px 0 12px; }
.pd-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.pd-price { font-family: var(--font-mono); font-size: 28px; font-weight: 700; }
.pd-strike { font-family: var(--font-mono); text-decoration: line-through; color: var(--ink-soft); }
.pd-desc { color: var(--ink-soft); line-height: 1.7; margin-bottom: 26px; }
.size-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }

.personalization-box { background: var(--cream-soft); border-radius: 12px; padding: 16px 18px; margin-bottom: 26px; }
.personalization-toggle { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 600; }
.personalization-toggle input { width: 18px; height: 18px; margin-top: 2px; cursor: pointer; flex-shrink: 0; }
#personalizationFields { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.patch-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.patch-option {
  width: 56px; height: 56px; border-radius: 10px; border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  cursor: pointer; background: white; transition: border-color 0.15s ease, transform 0.15s ease;
}
.patch-option:hover { border-color: var(--green); transform: translateY(-2px); }
.patch-option.active { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink) inset; }
.patch-option img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.patch-none { font-size: 10px; font-weight: 700; color: var(--ink-soft); text-align: center; text-transform: uppercase; }
.size-pill {
  width: 52px; height: 46px; border-radius: 10px; border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-mono);
  background: white;
}
.size-pill.active { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.qty-stepper { display: flex; align-items: center; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty-stepper button { width: 38px; height: 40px; background: var(--cream-soft); border: none; font-size: 17px; font-weight: 700; }
.qty-stepper span { width: 44px; text-align: center; font-family: var(--font-mono); font-weight: 700; }
.stock-note { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.stock-note.low { color: var(--card-red); font-weight: 600; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.cart-line {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.cart-line .thumb { width: 90px; height: 90px; border-radius: 10px; background: var(--cream-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--green-leaf); }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line .thumb .placeholder .icon-svg { width: 34px; height: 34px; }
.cart-line .meta .team { font-family: var(--font-mono); font-size: 11px; color: var(--green-deep); text-transform: uppercase; font-weight: 700; }
.cart-line .meta h4 { margin: 2px 0 6px; font-size: 15.5px; }
.cart-line .meta .size-badge { font-family: var(--font-mono); font-size: 12px; background: var(--cream-soft); padding: 2px 8px; border-radius: 6px; }
.cart-line .meta .custom-badge { font-size: 11.5px; color: var(--green-deep); margin-top: 6px; font-weight: 600; }
.cart-line .right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-line .price { font-family: var(--font-mono); font-weight: 700; }
.remove-link { font-size: 12.5px; color: var(--card-red); font-weight: 600; }

.summary-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 96px; }
.summary-box h3 { font-family: var(--font-display); font-size: 18px; margin: 0 0 18px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14.5px; color: var(--ink-soft); }
.summary-row.total { color: var(--ink); font-weight: 700; font-size: 18px; border-top: 2px dashed var(--line); padding-top: 14px; margin-top: 14px; }
.summary-row.total .price { font-family: var(--font-mono); }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.form-group .hint { font-size: 12px; color: var(--ink-soft); font-weight: 400; margin-top: 4px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=search], textarea, select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 2px solid var(--line);
  font-family: inherit; font-size: 14.5px; background: white; color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--green); }
textarea { resize: vertical; min-height: 90px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.alert { padding: 14px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 18px; }
.alert-success { background: rgba(160, 204, 107, 0.25); color: var(--green-deep); border: 1px solid var(--green-leaf); }
.alert-error { background: rgba(226, 74, 59, 0.1); color: var(--card-red); border: 1px solid rgba(226,74,59,0.3); }

/* ---------- Order confirmation ---------- */
.confirm-box { max-width: 560px; margin: 0 auto; text-align: center; background: white; border-radius: var(--radius); padding: 48px 32px; border: 1px solid var(--line); }
.confirm-box .check { width: 68px; height: 68px; border-radius: 50%; background: var(--green); color: white; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.confirm-box .check .icon-svg { width: 34px; height: 34px; }
.confirm-box h1 { font-family: var(--font-display); font-size: 26px; margin: 0 0 10px; }
.order-ref { display: inline-block; font-family: var(--font-mono); background: var(--cream-soft); padding: 8px 16px; border-radius: 8px; font-weight: 700; margin: 14px 0; letter-spacing: 0.04em; }
.next-steps { text-align: left; background: var(--cream-soft); border-radius: 10px; padding: 18px 20px; margin: 24px 0; }
.next-steps li { margin-bottom: 8px; font-size: 14px; color: var(--ink-soft); list-style: none; display: flex; gap: 10px; align-items: flex-start; }
.next-steps .step-icon { color: var(--green-deep); flex-shrink: 0; margin-top: 2px; }
.next-steps .step-icon .icon-svg { width: 16px; height: 16px; }

.whatsapp-redirect-box {
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 20px 0 0;
  text-align: center;
}
.whatsapp-redirect-box p { margin: 0 0 14px; font-size: 14px; color: var(--ink-soft); }
.whatsapp-redirect-box #countdownNum { color: #25D366; font-family: var(--font-mono); }
.whatsapp-redirect-box .btn-primary { background: #25D366; color: white; }
.whatsapp-redirect-box .btn-primary:hover { background: #1ebe5a; }
.whatsapp-redirect-box #whatsappIcon .icon-svg { width: 18px; height: 18px; }

/* ---------- Cart drawer ---------- */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(31,42,30,0.5);
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease; z-index: 100;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 92vw;
  background: var(--cream); z-index: 101;
  transform: translateX(100%); transition: transform 0.25s ease;
  display: flex; flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.2);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); background: var(--green); color: white; }
.cart-drawer-head h3 { font-family: var(--font-display); margin: 0; font-size: 18px; }
.cart-drawer-head button { background: none; border: none; color: white; font-size: 22px; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 0 22px; }
.cart-drawer-foot { padding: 20px 22px; border-top: 1px solid var(--line); background: white; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .pd-layout, .cart-layout, .shop-layout { grid-template-columns: 1fr; }
  .filter-box { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-strip .wrap { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .burger { display: flex; }
  .form-row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 70px 1fr; }
  .cart-line .right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}
