/* ═══════════════════════════════════════════════════════════════
   CAPY — styles.css
   Brand: Denim Caps · Casablanca, Morocco
   Palette: Denim Blue #5B7FA6 | Deep Denim #3A5470 | Pale #A8C0D6
            Warm Sand #C9B99A | Charcoal #2B2B2B
   ═══════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  /* Brand palette */
  --denim:       #5B7FA6;
  --denim-deep:  #3A5470;
  --denim-pale:  #A8C0D6;
  --sand:        #C9B99A;
  --sand-dark:   #B0A088;
  --charcoal:    #2B2B2B;

  /* Semantic */
  --color-bg:            #F5F2EE;
  --color-bg-alt:        #EEE9E3;
  --color-surface:       #FFFFFF;
  --color-surface-raised:#F9F7F4;
  --color-primary:       var(--denim-deep);
  --color-accent:        var(--sand);
  --color-accent-dark:   var(--sand-dark);
  --color-text:          var(--charcoal);
  --color-text-muted:    rgba(43, 43, 43, 0.58);
  --color-border:        rgba(91, 127, 166, 0.18);
  --color-border-focus:  var(--denim);

  /* Fonts */
  --font-display: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing (8px grid) */
  --s1:  0.25rem;   /* 4px  */
  --s2:  0.5rem;    /* 8px  */
  --s3:  0.75rem;   /* 12px */
  --s4:  1rem;      /* 16px */
  --s6:  1.5rem;    /* 24px */
  --s8:  2rem;      /* 32px */
  --s12: 3rem;      /* 48px */
  --s16: 4rem;      /* 64px */
  --s24: 6rem;      /* 96px */

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-full: 999px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--denim);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
.section-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--denim);
  margin-bottom: var(--s3);
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: var(--s4);
}

.section-description {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 52ch;
  margin-inline: auto;
}

.gradient-text {
  background: linear-gradient(135deg, var(--denim) 0%, var(--denim-pale) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── LAYOUT CONTAINERS ──────────────────────────────────────── */
.section-container {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3.5rem);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--s12);
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--denim-deep);
  color: #fff;
}
.btn-primary:hover {
  background: #2e435b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58, 84, 112, 0.35);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-accent {
  background: var(--sand);
  color: var(--charcoal);
}
.btn-accent:hover {
  background: var(--sand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 185, 154, 0.45);
}
.btn-accent:active { transform: translateY(0) scale(0.98); }

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* ── NAVIGATION ─────────────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  height: 64px;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

#site-nav.scrolled {
  background: rgba(245, 242, 238, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--color-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3.5rem);
  height: 100%;
  gap: var(--s8);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  text-decoration: none;
  flex-shrink: 0;
  transition: color 0.2s;
}
.nav-logo:hover { color: var(--denim); }

/* Hero context — white logo on dark hero */
.hero-visible .nav-logo { color: #fff; }
.hero-visible .nav-links a { color: rgba(255,255,255,0.75); }
.hero-visible .nav-links a:hover { color: #fff; }
.hero-visible .hamburger span { background: #fff; }

.nav-links {
  display: flex;
  gap: var(--s8);
  margin: 0;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--color-text); }

.nav-cta { font-size: 0.875rem; padding: 0.6rem 1.25rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: var(--s2);
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(300px, 85vw);
  background: var(--color-surface);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  padding: var(--s8) var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s8);
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
}
.nav-drawer.open { transform: translateX(0); }

.drawer-close {
  background: none;
  border: none;
  align-self: flex-end;
  color: var(--color-text-muted);
  padding: var(--s2);
  transition: color 0.2s;
}
.drawer-close:hover { color: var(--color-text); }

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: var(--s6);
}
.drawer-links a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
  padding-block: var(--s2);
  border-bottom: 1px solid var(--color-border);
}
.drawer-links a:last-child { border-bottom: none; }
.drawer-links a.btn {
  margin-top: var(--s4);
  border: none;
  width: 100%;
  text-align: center;
  color: #fff;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 99;
}
.nav-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ── HERO ───────────────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  background: var(--denim-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 64px;
  padding-inline: clamp(1.25rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

/* Subtle noise/texture overlay on hero */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 65% 40%, rgba(91,127,166,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 90%, rgba(168,192,214,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero-container {
  max-width: 1160px;
  width: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
}

.hero-content { position: relative; }

.hero-content .section-label { color: var(--denim-pale); }

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: var(--s6);
}

.hero-headline .gradient-text {
  background: linear-gradient(135deg, var(--denim-pale) 0%, #fff 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  margin-bottom: var(--s6);
  max-width: 42ch;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s3);
  margin-bottom: var(--s8);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.01em;
}
.badge svg { color: var(--denim-pale); flex-shrink: 0; }

.hero-cta-group {
  display: flex;
  gap: var(--s4);
  flex-wrap: wrap;
}

/* Mobile-only CTA — shown below slider on small screens */
.hero-cta-mobile { display: none; }

/* Hero image / slider */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-slider {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45);
  position: relative;
  background: var(--denim-deep);
  cursor: grab;
  touch-action: pan-y;
}
.hero-slider:active { cursor: grabbing; }

.hero-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: var(--s4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 2;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.slider-dot.active {
  background: #fff;
  transform: scale(1.35);
}

.hero-float-tag {
  position: absolute;
  bottom: var(--s6);
  right: calc(-1 * var(--s6));
  background: var(--sand);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  letter-spacing: -0.01em;
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--s6);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.35);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

@media (max-width: 860px) {
  .hero-container { grid-template-columns: 1fr; gap: var(--s10); text-align: center; }
  .hero-content .section-label { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-badges { justify-content: center; }
  .hero-cta-group { display: none; }         /* hide in-content CTA on mobile */
  .hero-visual { justify-content: center; }
  .hero-slider { max-width: 380px; }
  .hero-float-tag { right: var(--s3); bottom: var(--s3); }
  /* Show mobile CTA below the slider */
  .hero-cta-mobile {
    display: flex;
    justify-content: center;
    margin-top: var(--s8);
    width: 100%;
  }
  .hero-cta-mobile .btn { width: 100%; max-width: 360px; }
}

@media (max-width: 480px) {
  #hero { min-height: auto; padding-block: 80px 2rem; }
  .hero-slider { max-width: 100%; }
  .quality-strip-inner { font-size: 0.72rem; }
}

/* ── QUALITY STRIP ───────────────────────────────────────────── */
.quality-strip {
  background: var(--denim-deep);
  color: rgba(255,255,255,0.88);
  padding: 0.75rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.quality-strip-inner {
  display: inline-flex;
  gap: 0;
  animation: strip-scroll 24s linear infinite;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  will-change: transform;
}

.quality-strip-inner span {
  padding: 0 var(--s6);
}

.quality-strip-inner .strip-sep {
  padding: 0;
  color: var(--sand);
}

@keyframes strip-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* 4 repetitions in HTML → -50% shifts by 2 full sets, landing on identical content */

@media (prefers-reduced-motion: reduce) {
  .quality-strip-inner { animation: none; }
}

/* ── PRODUIT (FEATURES) ─────────────────────────────────────── */
#produit { background: var(--color-bg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s6);
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--s8);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(58,84,112,0.1);
  border-color: var(--denim-pale);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(91,127,166,0.1);
  border-radius: 10px;
  color: var(--denim);
  margin-bottom: var(--s4);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--s3);
  letter-spacing: -0.01em;
}

.feature-description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ── OFFRE ──────────────────────────────────────────────────── */
#offre {
  background: var(--denim-deep);
  position: relative;
  overflow: hidden;
}

#offre::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(91,127,166,0.2) 0%, transparent 70%);
  pointer-events: none;
}

#offre .section-label { color: var(--denim-pale); }
#offre .section-headline { color: #fff; }
#offre .section-description { color: rgba(255,255,255,0.6); }

.offer-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s5, var(--s4));
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: var(--s6);
}

.offer-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: var(--s8) var(--s6);
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}
.offer-card:hover, .offer-card:focus {
  outline: none;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.offer-card.selected {
  background: rgba(201,185,154,0.15);
  border-color: var(--sand);
  box-shadow: 0 0 0 2px var(--sand), 0 12px 32px rgba(0,0,0,0.2);
}

.offer-popular, .offer-best {
  border-color: var(--sand);
  background: rgba(201,185,154,0.1);
}

.offer-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sand);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.offer-badge-best { background: var(--denim-pale); color: var(--denim-deep); }

.offer-qty-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--s3);
}

.offer-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--s2);
}
.offer-currency {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  vertical-align: super;
  opacity: 0.8;
}

.offer-per-unit {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--s2);
}

.offer-save {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sand);
  background: rgba(201,185,154,0.15);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-top: var(--s2);
}

.offer-note {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
  margin-bottom: var(--s6);
  letter-spacing: 0.01em;
}

.offer-cta {
  display: flex;
  justify-content: center;
}
.offer-cta .btn-primary {
  background: var(--sand);
  color: var(--charcoal);
}
.offer-cta .btn-primary:hover {
  background: var(--sand-dark);
  box-shadow: 0 8px 24px rgba(201,185,154,0.4);
}

@media (max-width: 640px) {
  .offer-cards { grid-template-columns: 1fr; }
}

/* ── GALLERY ────────────────────────────────────────────────── */
#galerie { background: var(--color-bg-alt); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: var(--s3);
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--denim-deep);
  aspect-ratio: 4/5;
  position: relative;
}

.gallery-item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-placeholder {
  display: none;
}
.gallery-placeholder span {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(255,255,255,0.15);
  letter-spacing: -0.02em;
}

@media (max-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item--tall { grid-row: span 1; aspect-ratio: 4/5; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; gap: var(--s2); }
  .gallery-item { aspect-ratio: 3/4; }
  .gallery-item img { object-position: top center; }
}

/* ── ORDER FORM ─────────────────────────────────────────────── */
#commander { background: var(--color-bg); }

.order-wrapper {
  max-width: 580px;
  margin-inline: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 8px 40px rgba(58,84,112,0.08);
}

/* Quantity block */
.qty-block {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--s6);
  margin-bottom: var(--s8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s4);
  text-align: center;
}

.qty-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--denim);
}

.qty-row {
  display: flex;
  align-items: center;
  gap: var(--s6);
}

.qty-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.qty-btn:hover {
  background: var(--denim-deep);
  color: #fff;
  border-color: var(--denim-deep);
  transform: scale(1.08);
}
.qty-btn:active { transform: scale(0.95); }

.qty-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text);
  min-width: 2.5ch;
  text-align: center;
  letter-spacing: -0.02em;
}

.qty-price-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s1);
}

.qty-total-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--denim-deep);
  letter-spacing: -0.02em;
}

.qty-shipping-label {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  font-size: 0.78rem;
  font-weight: 600;
  color: #4a9e6b;
  letter-spacing: 0.01em;
}
.qty-shipping-label svg { color: #4a9e6b; }

/* Form fields */
#order-form { display: flex; flex-direction: column; gap: var(--s6); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.01em;
}

.req {
  color: var(--denim);
  font-weight: 800;
}

.optional-label {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  font-family: var(--font-body);
  font-size: max(16px, 0.95rem);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--denim);
  box-shadow: 0 0 0 3px rgba(91,127,166,0.15);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #d9534f;
  box-shadow: 0 0 0 3px rgba(217,83,79,0.1);
}

.field-error {
  font-size: 0.78rem;
  color: #c0392b;
  font-weight: 500;
  min-height: 1em;
}

/* Select custom arrow */
.select-wrapper {
  position: relative;
}
.select-wrapper select { padding-right: 2.5rem; }
.select-arrow {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-text-muted);
}

/* Order summary */
.order-summary {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--s4) var(--s5, var(--s4));
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.summary-free {
  font-weight: 700;
  color: #4a9e6b;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text);
  padding-top: var(--s3);
  border-top: 1px solid var(--color-border);
  margin-top: var(--s1);
}

.s-total {
  color: var(--denim-deep);
  font-size: 1.1rem;
}

/* Submit button */
.btn-submit {
  width: 100%;
  position: relative;
  overflow: hidden;
  min-height: 52px;
}

.btn-submit .btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

.btn-submit.loading .btn-text { display: none; }
.btn-submit.loading .btn-spinner { display: block; }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none !important; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-trust-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  font-size: 0.78rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.5;
}
.form-trust-note svg { color: var(--denim); flex-shrink: 0; }

/* Success state */
.order-success {
  text-align: center;
  padding: var(--s12) var(--s8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s4);
}

.success-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(74,158,107,0.12);
  border: 2px solid #4a9e6b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a9e6b;
}

.success-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.success-msg {
  color: var(--color-text-muted);
  max-width: 38ch;
  line-height: 1.6;
}

.success-ig {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.success-ig a {
  color: var(--denim);
  font-weight: 600;
  text-decoration: none;
}
.success-ig a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .order-wrapper { padding: var(--s6) var(--s4); border-radius: var(--radius-md); }
}

/* ── FAQ ────────────────────────────────────────────────────── */
#faq { background: var(--color-bg-alt); }

.faq-list {
  max-width: 720px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
  width: 100%;
  padding: var(--s6) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--denim); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--denim);
  transition: transform 0.3s ease;
}
.faq-chevron.open { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease;
}
.faq-answer.open { max-height: 400px; }

.faq-answer p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  padding-bottom: var(--s6);
}
.faq-answer a {
  color: var(--denim);
  font-weight: 600;
  text-decoration: none;
}
.faq-answer a:hover { text-decoration: underline; }

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: var(--denim-deep);
  padding-block: var(--s12);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s8);
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-logo:hover { opacity: 0.8; }

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-top: var(--s2);
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  gap: var(--s6);
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
.footer-links a:hover { color: #fff; }

.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-ig:hover { color: #fff; }

.footer-legal {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
  padding-top: var(--s8);
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── UTILITY ────────────────────────────────────────────────── */
[hidden] { display: none !important; }

/* ── TOM SELECT — Brand overrides ───────────────────────────── */
.ts-wrapper {
  width: 100%;
}

.ts-wrapper.single .ts-control {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  box-shadow: none;
}

.ts-wrapper.single.input-active .ts-control,
.ts-wrapper.single .ts-control:focus-within {
  border-color: var(--denim);
  box-shadow: 0 0 0 3px rgba(91,127,166,0.15);
  outline: none;
}

.ts-control input {
  font-family: var(--font-body) !important;
  font-size: max(16px, 0.95rem) !important;
  color: var(--color-text) !important;
}

.ts-control .item {
  color: var(--color-text);
  font-size: 0.95rem;
}

.ts-wrapper.single .ts-control::after {
  border-color: var(--color-text-muted) transparent transparent;
}

.ts-dropdown {
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  margin-top: 4px;
}

.ts-dropdown .option {
  padding: 0.75rem 1rem;
  color: var(--color-text);
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.ts-dropdown .option:hover,
.ts-dropdown .option.active {
  background: rgba(91,127,166,0.1);
  color: var(--denim-deep);
}

.ts-dropdown .option.selected {
  background: var(--denim-deep);
  color: #fff;
}

.ts-dropdown .create {
  padding: 0.6rem 1rem;
  color: var(--denim);
  font-weight: 600;
}

.ts-dropdown .ts-dropdown-search-content {
  padding: var(--s2);
  border-bottom: 1px solid var(--color-border);
}

.ts-dropdown input.ts-dropdown-search {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-bg);
}
.ts-dropdown input.ts-dropdown-search:focus {
  outline: none;
  border-color: var(--denim);
}

/* ── WHATSAPP FLOATING BUTTON ──────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}
