/* =========================================================
   DESIGN SYSTEM — Maison Noire (App Theme)
   Palette: ivoire, encre, ocre brûlée. Editorial, calme, luxe.
   ========================================================= */
:root {
  --ink: #0e0e0c;
  --ink-soft: #1c1b18;
  --ivory: #f3efe6;
  --ivory-2: #ebe5d6;
  --paper: #f8f5ec;
  --ochre: #b8612b;
  --ochre-2: #d6814a;
  --rose: #e9c8b4;
  --line: rgba(14, 14, 12, .12);
  --line-soft: rgba(14, 14, 12, .06);
  --muted: #6b665a;
  --shadow-soft: 0 30px 60px -30px rgba(14, 14, 12, .25);
  --shadow-card: 0 20px 40px -25px rgba(14, 14, 12, .35);
  --radius: 18px;
  --radius-lg: 28px;
  --t-fast: .25s cubic-bezier(.2, .7, .2, 1);
  --t-med: .55s cubic-bezier(.2, .7, .2, 1);
  --t-slow: .9s cubic-bezier(.2, .7, .2, 1);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }


body {
    /*font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;*/
    /*background: #0a0a0a;*/
    color: black !important;
    overflow: auto !important;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; }
::selection { background: var(--ochre); color: var(--paper); }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.eyebrow {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.02em;
  margin: 0;
  line-height: 1.02;
}
h1 { font-size: clamp(44px, 12vw, 120px); }
h2 { font-size: clamp(32px, 7vw, 64px); }
h3 { font-size: clamp(20px, 4.2vw, 28px); }
p { line-height: 1.55; margin: 0; }

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 900px) {
  .container { padding: 0 40px; }
}

/* =========================================================
   SCREEN INTRO / SPLASH
   ========================================================= */
.screen-intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ink-soft);
  color: var(--ivory);
  transition: opacity .6s ease;
}

.intro-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .18;
  transition: opacity 1s;
}

.intro-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,14,12,.3) 0%, rgba(14,14,12,.85) 100%);
}

.intro-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding: 40px 24px;
  max-width: 480px;
}

.intro-logo-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(243,239,230,.2);
  display: grid;
  place-items: center;
  background: rgba(243,239,230,.06);
  margin-bottom: 6px;
}

.intro-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-initials {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--ivory);
  opacity: .8;
}

.intro-name {
  font-size: clamp(32px, 8vw, 56px);
  line-height: 1;
  font-style: italic;
}

.intro-desc {
  font-size: 14px;
  color: rgba(243,239,230,.65);
  max-width: 36ch;
  line-height: 1.6;
}

.intro-brand {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: rgba(243,239,230,.4);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  z-index: 1;
}

.intro-brand-link {
  color: var(--ochre-2);
  font-family: var(--serif);
  font-style: italic;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: color-mix(in oklab, var(--paper) 70%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: background var(--t-med), border-color var(--t-med), padding var(--t-med), transform var(--t-med);
  overflow: hidden;
}

.header.scrolled {
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  border-bottom-color: var(--line);
  padding: 10px 20px;
}

.header.hidden { transform: translateY(-110%); }

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: .02em;
}

.brand-logo-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--ivory-2);
  display: grid;
  place-items: center;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-initials {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

.brand .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ochre);
  display: inline-block;
  flex-shrink: 0;
  transition: transform var(--t-med);
}

.brand:hover .dot { transform: scale(1.6) rotate(45deg); }

.brand-name {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: .01em;
}

/* Desktop nav */
.nav-desktop { display: none; gap: 28px; font-size: 14px; }
.nav-desktop a { position: relative; padding: 6px 0; color:black !important; }
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-med);
}
.nav-desktop a:hover::after { transform: scaleX(1); transform-origin: left; }

@media (min-width: 900px) { .nav-desktop { display: flex; } }

/* Header actions */
.header-actions { display: none; align-items: center; gap: 6px; }
@media (min-width: 900px) { .header-actions { display: flex; } }

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background var(--t-fast), transform var(--t-fast);
  flex-shrink: 0;
  color: black;

}
.icon-btn:hover { background: rgba(14, 14, 12, .06); }
.icon-btn:active { transform: scale(.94); }



/* WhatsApp icon btn */
.icon-btn--wa { color: #25d366; }
.icon-btn--wa:hover { background: rgba(37, 211, 102, .1); }

.icon-wrap { position: relative; }

/* Cart badge */
.cart-badge {
  position: absolute;
  top: 5px; right: 5px;
  background: var(--ochre);
  color: var(--paper);
  font-size: 10px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  pointer-events: none;
  font-family: var(--sans);
  line-height: 1;
}

/* =========================================================
   DRAWER MOBILE MENU
   ========================================================= */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.drawer .backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 12, .4);
  opacity: 0;
  transition: opacity var(--t-med);
}

.drawer .panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(86vw, 380px);
  background: var(--ivory);
  transform: translateX(100%);
  transition: transform var(--t-slow);
  display: flex;
  flex-direction: column;
  padding: 80px 28px 28px;
}

.drawer.open { pointer-events: auto; }
.drawer.open .backdrop { opacity: 1; }
.drawer.open .panel { transform: translateX(0); }

.drawer .close { position: absolute; top: 18px; right: 18px; }

.drawer nav { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.drawer nav a {
  font-family: var(--serif);
  font-size: 34px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(20px);
  opacity: 0;
  transition: transform .6s, opacity .6s, color var(--t-fast);
}
.drawer.open nav a { transform: translateY(0); opacity: 1; }
.drawer.open nav a:nth-child(1) { transition-delay: .10s; }
.drawer.open nav a:nth-child(2) { transition-delay: .16s; }
.drawer.open nav a:nth-child(3) { transition-delay: .22s; }
.drawer.open nav a:nth-child(4) { transition-delay: .28s; }
.drawer.open nav a:nth-child(5) { transition-delay: .34s; }
.drawer nav a:hover { color: var(--ochre); }
.drawer nav a span { font-family: var(--sans); font-size: 12px; color: var(--muted); }

.drawer .meta {
  margin-top: auto;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* =========================================================
   SEARCH OVERLAY
   ========================================================= */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}

.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 12, .5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.search-modal {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100vw - 32px));
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  overflow: hidden;
}

.search-modal__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
}

.search-modal__icon {
  flex-shrink: 0;
  color: var(--muted);
  width: 20px;
  height: 20px;
}

.search-modal__input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: var(--ink);
  outline: none;
}
.search-modal__input::placeholder { color: var(--muted); }

.search-modal__close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  transition: background var(--t-fast), color var(--t-fast);
}
.search-modal__close:hover { background: var(--ivory-2); color: var(--ink); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  background: var(--ink);
  color: var(--paper);
  transition: transform var(--t-fast), color var(--t-med);
  cursor: pointer;
  border: 0;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn .arrow { transition: transform var(--t-med); }
.btn:hover .arrow { transform: translateX(4px); }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ochre);
  transform: translateY(101%);
  transition: transform var(--t-med);
  z-index: 0;
}
.btn:hover::before { transform: translateY(0); }
.btn > * { position: relative; z-index: 1; }
.btn > svg { position: relative; z-index: 1; }

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.ghost::before { background: var(--ink); }
.btn.ghost:hover { color: var(--paper); border-color: var(--ink); }

.btn--full { width: 100%; justify-content: center; }
.btn--danger { color: #c0392b; border-color: rgba(192,57,43,.3); }
.btn--danger:hover { background: rgba(192,57,43,.08); color: #c0392b; }
.btn--danger::before { background: rgba(192,57,43,.06); }

/* =========================================================
   SECTION COMMON
   ========================================================= */
section { padding: 90px 0; position: relative; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.section-head .left { max-width: 60ch; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  white-space: nowrap;
}
.link-arrow svg { transition: transform var(--t-med); }
.link-arrow:hover svg { transform: translateX(6px); }

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--t-slow), transform .9s var(--t-slow);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--t-slow), transform .8s var(--t-slow);
}
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .19s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .26s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .33s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .40s; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 120px 20px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(80% 60% at 80% 0%, var(--rose) 0%, transparent 60%),
    radial-gradient(60% 50% at 0% 100%, var(--ivory-2) 0%, transparent 55%),
    var(--paper);
  overflow: hidden;
}

/* Marquee top */
.marquee-top {
  position: absolute;
  top: 84px; left: 0; right: 0;
  display: flex;
  gap: 48px;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Hero grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; }
}

/* Hero title */
.hero-title {
  font-size: 38px;
  line-height: .92;
  font-style: italic;
  font-weight: 300;
}

.hero-title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.hero-title .word > .char {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(.2, .8, .2, 1);
}
.hero-title.in .word > .char { transform: translateY(0); }
.hero-title .word > .char:nth-child(1)  { transition-delay: .05s; }
.hero-title .word > .char:nth-child(2)  { transition-delay: .10s; }
.hero-title .word > .char:nth-child(3)  { transition-delay: .15s; }
.hero-title .word > .char:nth-child(4)  { transition-delay: .20s; }
.hero-title .word > .char:nth-child(5)  { transition-delay: .25s; }
.hero-title .word > .char:nth-child(6)  { transition-delay: .30s; }
.hero-title .word > .char:nth-child(7)  { transition-delay: .35s; }
.hero-title .word > .char:nth-child(8)  { transition-delay: .40s; }

.hero-sub {
  max-width: 38ch;
  color: var(--muted);
  font-size: 15px;
  margin-top: 18px;
}

.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}


/* =========================================================
   HERO VISUAL
   ========================================================= */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #1c1b18, #2a2722);
  box-shadow: var(--shadow-soft);
  transform: translateY(40px);
  opacity: 0;
  transition: transform 1.2s var(--t-slow), opacity 1s;
}
.hero.in .hero-visual { transform: translateY(0); opacity: 1; }

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px;
  text-align: center;
  background: linear-gradient(160deg, #1c1b18, #2a2722);
}

.hero-visual__fallback-name {
  font-size: clamp(28px, 6vw, 52px);
  color: var(--ivory);
  font-style: italic;
  line-height: 1.1;
}

.hero-visual__fallback-loc {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(243, 239, 230, .5);
}

.hero-visual .tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  color: var(--paper);
  background: rgba(14, 14, 12, .45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.12);
  max-width: calc(100% - 32px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.hero-stats .num {
  font-family: var(--serif);
  font-size: clamp(28px, 6vw, 40px);
}
.hero-stats .lbl {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%; bottom: 18px;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.scroll-cue .line {
  width: 1px;
  height: 36px;
  background: var(--ink);
  transform-origin: top;
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================
   CATEGORIES
   ========================================================= */
.cats { background: var(--paper); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 700px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
}

.cat {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ivory-2);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  cursor: pointer;
  transition: transform var(--t-med);
  border: 0;
  text-align: left;
}
.cat:hover { transform: translateY(-6px); }

.cat .ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 80px;
  color: rgba(14, 14, 12, .08);
  transition: transform var(--t-slow);
  pointer-events: none;
}
.cat:hover .ph { transform: scale(1.08) rotate(-3deg); }

.cat .label {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  gap: 6px;
}
.cat .label .name {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.2;
}
.cat .label .count {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* =========================================================
   PRODUCTS
   ========================================================= */
.products { background: var(--ivory); }

/* Tabs */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  transition: all var(--t-fast);
  white-space: nowrap;
  flex-shrink: 0;
}
.tab.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.tab:hover:not(.active) { border-color: var(--muted); }

/* Sort */
.sort-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.sort-select {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b665a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.sort-select:hover { border-color: var(--muted); }
.sort-select:focus { outline: none; border-color: var(--ink); }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (min-width: 760px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 1080px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Product card */
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--t-slow), transform .8s var(--t-slow);
}
.product.in { opacity: 1; transform: none; }
.product:focus-visible { outline: 2px solid var(--ochre); outline-offset: 4px; border-radius: var(--radius); }

.product .thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ivory-2);
  transition: transform var(--t-med);
}
.product:hover .thumb { transform: translateY(-4px); }

.product .thumb svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 1s var(--t-slow);
}
.product:hover .thumb svg { transform: scale(1.06) rotate(2deg); }

/* Rupture */
.thumb-rupture {
  position: absolute;
  inset: 0;
  background: rgba(14,14,12,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.thumb-rupture span {
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
}

.product .badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  z-index: 2;
  pointer-events: none;
}
.product .badge.badge--promo { background: var(--ochre); }
.product .badge.badge--top   { background: var(--ink-soft); }

.product .fav {
  position: absolute;
  top: 10px; right: 10px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(248, 245, 236, .85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  z-index: 2;
  transition: transform var(--t-fast), background var(--t-fast);
}
.product .fav:hover { transform: scale(1.08); background: var(--paper); }
.product .fav.active svg { fill: var(--ochre); stroke: var(--ochre); }

.product .add {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px;
  border-radius: 12px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(120%);
  opacity: 0;
  transition: transform var(--t-med), opacity var(--t-med);
  z-index: 2;
  cursor: pointer;
}
.product:hover .add { transform: translateY(0); opacity: 1; }

.product .meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.product .name { font-family: var(--serif); font-size: 17px; line-height: 1.2; }
.product .sub  { font-size: 12px; color: var(--muted); margin-top: 2px; }
.product .price { font-family: var(--serif); font-size: 17px; white-space: nowrap; }
.product .opts-tag {
  font-size: 11px;
  color: var(--ochre);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.empty-state__icon { font-size: 48px; }
.empty-state__title { font-family: var(--serif); font-size: 22px; }
.empty-state__desc  { color: var(--muted); font-size: 14px; }

/* Pagination */
.pagination-wrap { display: flex; justify-content: center; margin-top: 48px; }

.pagination {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pg-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 14px;
  display: grid;
  place-items: center;
  transition: all var(--t-fast);
  font-family: var(--serif);
}
.pg-btn:hover:not(:disabled) { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.pg-btn.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pg-btn:disabled { opacity: .35; cursor: default; }

.pg-ellipsis {
  width: 40px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* =========================================================
   PROMOS / AFFICHES
   ========================================================= */
.promos { background: var(--paper); }

.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  
}
@media (min-width: 760px) {
  .promo-grid { grid-template-columns: 1.4fr 1fr; grid-auto-rows: minmax(220px, auto); height: 63vh;}
}

.promo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  isolation: isolate;
  transition: transform var(--t-med);
}
.promo:hover { transform: translateY(-6px); }

.promo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: transform 1.2s var(--t-slow);
}
.promo:hover::before { transform: scale(1.05); }

.promo.dark { color: var(--paper); }

.promo .kicker {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .8;
}
.promo .title {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.05;
  margin-top: 8px;
  max-width: 18ch;
}
.promo .cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  align-self: flex-start;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  margin-top: 18px;
  cursor: pointer;
}
.promo .deco {
  position: absolute;
  right: -30px; bottom: -30px;
  font-family: var(--serif);
  font-size: 240px;
  opacity: .08;
  line-height: 1;
  pointer-events: none;
  font-style: italic;
}

/* Promo variants */
.promo-1 { grid-row: span 2; }
.promo-1::before { background: linear-gradient(140deg, #1c1b18 0%, #2a2722 60%, #b8612b 130%); }
.promo-1 { color: var(--paper); }
.promo-1 .deco { color: var(--ochre); opacity: .25; }
.promo-2::before { background: linear-gradient(140deg, #e9c8b4, #d6814a); }
.promo-3::before { background: linear-gradient(140deg, #efe6d2, #c9a883); }

/* =========================================================
   INFOS BOUTIQUE (detail section)
   ========================================================= */
.detail { background: var(--ivory); }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) {
  .detail-grid { grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
}

/* Gallery / logo */
.gallery { display: grid; gap: 10px; }

.gallery .main,
.info-logo-main {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, #ecd9c8, #9c6a4a);
  display: grid;
  place-items: center;
}

.info-logo-ph {
  font-family: var(--serif);
  font-size: 80px;
  color: rgba(14,14,12,.12);
  font-style: italic;
}

.detail-info .crumb {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.detail-desc { margin-top: 14px; color: var(--muted); max-width: 50ch; }

/* Options / assurances */
.options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 22px;
}
.options .a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  cursor: default;
}
.options .a[style*="pointer"] { cursor: pointer; }
.options .a[style*="pointer"]:hover { color: var(--ink); }
.options .a svg { flex-shrink: 0; margin-top: 1px; color: var(--ochre); }
.options .a strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 2px;
}

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

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--ink);
  color: var(--ivory);
  padding: 80px 0 28px;
  margin-top: 0;
}

.foot-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 50px;
}
@media (min-width: 760px) {
  .foot-top { grid-template-columns: 1.4fr 1fr 1fr; }
}

.foot-brand .foot-brand-title {
  font-size: 42px;
  line-height: 1;
  font-family: var(--serif);
}
.foot-brand-desc {
  color: rgba(243,239,230,.55);
  max-width: 32ch;
  margin-top: 14px;
  font-size: 14px;
}

.foot-socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: grid;
  place-items: center;
  transition: background var(--t-fast), transform var(--t-fast);
  border: 1px solid rgba(255,255,255,.1);
}
.footer-social:hover { transform: translateY(-3px); }
.footer-social--wa:hover { background: rgba(37,211,102,.2); }
.footer-social--fb:hover { background: rgba(24,119,242,.2); }
.footer-social--ig:hover { background: rgba(225,48,108,.2); }
.footer-social svg { width: 18px; height: 18px; }

.foot-col h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(243,239,230,.5);
  margin: 0 0 16px;
  font-weight: 500;
}

.footer-link {
  display: block;
  padding: 6px 0;
  color: rgba(243,239,230,.85);
  font-size: 14px;
  transition: color var(--t-fast), transform var(--t-fast);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.footer-link:hover { color: var(--ochre-2); transform: translateX(4px); }

.foot-marquee {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(60px, 16vw, 180px);
  line-height: .9;
  white-space: nowrap;
  display: flex;
  gap: 60px;
  color: rgba(243,239,230,.06);
  margin: 30px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  overflow: hidden;
}
.foot-marquee .track {
  display: flex;
  gap: 60px;
  animation: marquee 36s linear infinite;
}
.foot-marquee span { flex-shrink: 0; }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(243,239,230,.45);
}
.foot-bottom a { color: var(--ochre-2); }

/* =========================================================
   BOTTOM NAV (mobile)
   ========================================================= */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-top: 1px solid var(--line);
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
}
@media (min-width: 900px) { .bottom-nav { display: none; } }

.bn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--t-fast);
  border: 0;
  background: none;
  cursor: pointer;
}
.bn-item svg { width: 22px; height: 22px; }
.bn-item.active { color: var(--ink); }
.bn-item:hover { color: var(--ink); }

.bn-item--cart .bn-cart-wrap {
  position: relative;
  width: 22px; height: 22px;
}
.bn-item--cart .bn-cart-wrap svg {
  width: 100%; height: 100%;
}
.bn-item--cart .cart-badge {
  top: -4px; right: -6px;
  position: absolute;
}

/* =========================================================
   WORKSPACES (panneaux glissants)
   ========================================================= */
.ws-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 12, .45);
  z-index: 90;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: opacity var(--t-med);
}
.ws-overlay.exit { opacity: 0; }

.workspace {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(100vw, 480px);
  background: var(--paper);
  z-index: 100;
  display: flex;
  flex-direction: column;
  animation: wsSlideIn var(--t-slow) forwards;
  box-shadow: -20px 0 60px rgba(14,14,12,.2);
}
.workspace.exit { animation: wsSlideOut var(--t-med) forwards; }

@keyframes wsSlideIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
@keyframes wsSlideOut {
  from { transform: translateX(0); }
  to   { transform: translateX(100%); }
}

.workspace--success {
  background: linear-gradient(160deg, var(--paper), var(--ivory-2));
}

/* WS Header */
.ws-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.ws-back {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background var(--t-fast);
  flex-shrink: 0;
}
.ws-back:hover { background: var(--ivory-2); }
.ws-back svg { width: 20px; height: 20px; }
.ws-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -.01em;
}

/* WS Scroll */
.ws-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.ws-scroll::-webkit-scrollbar { width: 4px; }
.ws-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }

.ws-scroll--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 40px 24px;
}

/* WS Footer */
.ws-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
  background: var(--paper);
}
.ws-footer--cart { display: flex; flex-direction: column; gap: 10px; }

/* ─── WS PRODUIT ─── */
.ws-product-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ivory-2);
}
.ws-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .3s;
}
.ws-product-no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  font-size: 80px;
  background: var(--ivory-2);
  border-radius: var(--radius-lg);
}

/* Product thumbnails */
.ws-product-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ws-product-thumbs::-webkit-scrollbar { display: none; }

.ws-product-thumb {
  width: 70px;
  height: 88px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.ws-product-thumb.active { border-color: var(--ink); }
.ws-product-thumb:hover:not(.active) { transform: translateY(-2px); }
.ws-product-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product content */
.ws-product-content { padding: 18px 0; }
.ws-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.ws-product-cat {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.ws-product-stock {
  font-size: 12px;
  font-weight: 500;
}
.ws-product-stock.in  { color: #34c759; }
.ws-product-stock.out { color: #ff3b30; }

.ws-product-title { font-size: clamp(24px, 5vw, 32px); }
.ws-product-ref { font-size: 12px; color: var(--muted); margin-top: 6px; }
.ws-product-price {
  font-family: var(--serif);
  font-size: 26px;
  margin-top: 10px;
  color: var(--ochre);
}

/* Qty */
.ws-product-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 18px;
}
.qty-btn {
  padding: 10px 16px;
  font-size: 18px;
  transition: background var(--t-fast);
  line-height: 1;
}
.qty-btn:hover { background: var(--ivory-2); }
.qty-input {
  width: 52px;
  text-align: center;
  border: 0;
  background: transparent;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  -moz-appearance: textfield;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Variants */
.variants-block {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.variant-group { display: flex; flex-direction: column; gap: 8px; }
.variant-label {
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.variant-sel {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
}
.variant-opts { display: flex; gap: 8px; flex-wrap: wrap; }

.variant-chip {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  transition: all var(--t-fast);
  cursor: pointer;
}
.variant-chip:hover { border-color: var(--ink); }
.variant-chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.variant-chip--size {}
.variant-chip--color {
  width: 32px; height: 32px;
  border-radius: 50%;
  padding: 0;
  border: 2px solid var(--line);
}
.variant-chip--color.active { border-color: var(--ink); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }

/* Product tabs */
.pd-tabs { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.pd-tabs-nav { display: flex; gap: 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.pd-tabs-nav::-webkit-scrollbar { display: none; }

.pd-tab {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--t-fast), border-color var(--t-fast);
  flex-shrink: 0;
  margin-bottom: -1px;
}
.pd-tab.active { color: var(--ink); border-bottom-color: var(--ink); }
.pd-tab:hover:not(.active) { color: var(--ink); }

.pd-panel { display: none; padding-top: 16px; }
.pd-panel.active { display: block; }
.pd-tab-text { font-size: 14px; color: var(--muted); line-height: 1.6; }

.attr-table { display: flex; flex-direction: column; gap: 0; }
.attr-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}
.attr-row span:first-child { color: var(--muted); }

/* ─── WS PANIER ─── */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 24px;
  gap: 10px;
}
.cart-empty__icon { font-size: 52px; }
.cart-empty__title { font-family: var(--serif); font-size: 22px; margin: 0; }
.cart-empty__desc  { color: var(--muted); font-size: 14px; margin: 0; }

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: flex-start;
}
.cart-item:last-child { border-bottom: 0; }

.cart-item__media {
  width: 80px;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--ivory-2);
}
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__no-img {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 32px;
}

.cart-item__info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.cart-item__name  { font-family: var(--serif); font-size: 16px; line-height: 1.2; }
.cart-item__vars  { font-size: 12px; color: var(--muted); }
.cart-item__unit  { font-size: 12px; color: var(--muted); }

.cart-item__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.cart-item__total { font-family: var(--serif); font-size: 17px; }

.cart-item__qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.cart-item__qty-btn {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: background var(--t-fast);
}
.cart-item__qty-btn:hover { background: var(--ivory-2); }
.cart-item__qty span { font-family: var(--serif); font-size: 15px; padding: 0 8px; }

.cart-item__remove {
  color: var(--muted);
  transition: color var(--t-fast);
}
.cart-item__remove:hover { color: #c0392b; }

/* Cart summary */
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  padding: 4px 0;
}
.cart-summary-row strong { font-family: var(--serif); font-size: 20px; }

.cart-free-note {
  font-size: 13px;
  color: var(--ochre);
  text-align: center;
  padding: 10px 14px;
  background: rgba(184,97,43,.08);
  border-radius: 10px;
  border: 1px solid rgba(184,97,43,.15);
}

/* ─── WS CHECKOUT ─── */
.co-section {
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 24px;
  margin-bottom: 24px;
}
.co-section:last-child { border-bottom: 0; }
.co-title { font-size: 18px; margin-bottom: 16px; }

.co-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.co-item:last-child { border-bottom: 0; }
.co-item__name { color: var(--muted); flex: 1; }
.co-item__price { font-family: var(--serif); font-size: 15px; white-space: nowrap; }

.co-totals { margin-top: 16px; }
.co-total-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.co-total-row:last-child { border-bottom: 0; }
.co-total-row--grand {
  font-family: var(--serif);
  font-size: 20px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 4px;
}

.co-label {
  display: block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 14px 0 6px;
}
.co-label:first-child { margin-top: 0; }

.co-req { color: var(--ochre); }
.co-opt { color: var(--muted); font-size: 11px; }

.co-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  font-size: 15px;
  color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}
.co-input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(14,14,12,.06);
}
.co-input::placeholder { color: var(--muted); }

.co-textarea {
  resize: vertical;
  min-height: 80px;
}

select.co-input {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b665a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ─── WS CONFIRMATION ─── */
.confirm-anim { font-size: 64px; }
.confirm-title { font-size: clamp(28px, 6vw, 40px); font-style: italic; }
.confirm-msg { font-size: 15px; color: var(--muted); max-width: 36ch; line-height: 1.6; }

.confirm-ref-block {
  background: var(--ivory-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.confirm-ref-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.confirm-ref-value {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: .05em;
  word-break: break-all;
  text-align: center;
}

.confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* ─── WS SUIVI ─── */
.track-form { display: flex; flex-direction: column; gap: 14px; }
.track-desc { font-size: 14px; color: var(--muted); }
.track-input-row { display: flex; gap: 10px; }
.track-input-row .co-input { flex: 1; }
.btn-track-submit {
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 14px;
  font-size: 14px;
  transition: background var(--t-fast);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-track-submit:hover { background: var(--ochre); }

.track-recent { margin-top: 24px; }
.track-recent-title {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.track-recent-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  background: var(--ivory-2);
  border-radius: 12px;
  margin-bottom: 8px;
  text-align: left;
  transition: background var(--t-fast);
  gap: 10px;
}
.track-recent-item:hover { background: var(--ivory); }
.track-recent-ref { font-family: var(--serif); font-size: 15px; display: block; }
.track-recent-date { font-size: 12px; color: var(--muted); display: block; margin-top: 2px; }

.track-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  padding: 8px 0;
  transition: color var(--t-fast);
}
.track-back:hover { color: var(--ink); }

/* Order status cards */
.track-status-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--ivory-2);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.track-status-card__icon { font-size: 36px; flex-shrink: 0; }
.track-status-card__body { flex: 1; }
.track-status-card__body h3 { font-size: 18px; margin-bottom: 4px; }
.track-status-card__body p  { font-size: 13px; color: var(--muted); margin: 0; }

/* Workflow / progress steps */
.workflow {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  overflow-x: auto;
  gap: 0;
}
.wf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.wf-step__dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ivory-2);
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 14px;
  transition: all var(--t-med);
}
.wf-step.done .wf-step__dot {
  background: var(--ochre);
  border-color: var(--ochre);
  color: var(--paper);
}
.wf-step.current .wf-step__dot {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: scale(1.15);
}
.wf-step__label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.wf-line {
  flex: 1;
  height: 2px;
  background: var(--line);
  min-width: 20px;
  transition: background var(--t-med);
}
.wf-line.done   { background: var(--ochre); }
.wf-line.active { background: linear-gradient(90deg, var(--ochre), var(--line)); }

/* Track grid, products, totals */
.track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.order-card {
  background: var(--ivory-2);
  border-radius: 14px;
  padding: 16px;
}
.order-card__label {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.track-products { margin-bottom: 20px; }
.track-product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.track-product:last-child { border-bottom: 0; }
.track-product img {
  width: 52px; height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.track-product__no-img {
  width: 52px; height: 64px;
  border-radius: 10px;
  background: var(--ivory-2);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.track-product__info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.track-product__price { font-family: var(--serif); font-size: 15px; white-space: nowrap; }

.track-totals {
  background: var(--ivory-2);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
}
.track-total-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.track-total-row:last-child { border-bottom: 0; }
.track-grand {
  font-family: var(--serif);
  font-size: 20px;
  padding-top: 14px;
  margin-top: 4px;
}

.track-contact {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Order status badges */
.o-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.o-status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.s-pending  { background: rgba(255,159,10,.12);  color: #c07800; }
.s-accepted { background: rgba(0,122,255,.1);    color: #0055b3; }
.s-done     { background: rgba(52,199,89,.12);   color: #1a7a32; }
.s-cancel   { background: rgba(255,59,48,.1);    color: #c0392b; }
.s-return   { background: rgba(255,107,53,.1);   color: #b85000; }

/* ─── WS COMMANDES ─── */
.order-card-item {
  background: var(--ivory-2);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.order-card-item__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.order-card-item__ref  { font-family: var(--serif); font-size: 16px; }
.order-card-item__meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.order-card-item__total { font-family: var(--serif); font-size: 16px; }

/* ─── WS CONDITIONS ─── */
.conditions-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  white-space: pre-wrap;
}

/* =========================================================
   PROMO MODAL (livraison gratuite)
   ========================================================= */
.promo-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14,14,12,.55);
  z-index: 150;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 24px;
  opacity: 0;
  transition: opacity .28s;
}
@media (min-width: 600px) {
  .promo-modal-backdrop { align-items: center; padding: 24px; }
}

.promo-modal {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  width: min(480px, calc(100vw - 32px));
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-card);
  animation: modalIn .4s var(--t-slow) forwards;
}
@keyframes modalIn {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

.promo-modal__emoji { font-size: 52px; }
.promo-modal__title { font-size: 28px; font-style: italic; }
.promo-modal__body  { font-size: 15px; color: var(--muted); max-width: 32ch; line-height: 1.6; }
.promo-modal__highlight { font-family: var(--serif); font-size: 18px; color: var(--ochre); font-weight: 400; }

.promo-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}
.promo-modal__close {
  font-size: 13px;
  color: var(--muted);
  padding: 8px;
  transition: color var(--t-fast);
}
.promo-modal__close:hover { color: var(--ink); }

/* =========================================================
   TOASTS
   ========================================================= */
.toast-container {
  position: fixed;
  left: 50%;
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 80px));
  transform: translateX(-50%);
  z-index: 180;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}

.toast {
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-med), transform var(--t-med);
  box-shadow: var(--shadow-card);
  max-width: min(380px, calc(100vw - 32px));
  pointer-events: auto;
}
.toast.show { opacity: 1; transform: none; }
.toast--success { background: #1a7a32; }
.toast--error   { background: #c0392b; }
.toast--info    { background: var(--ink-soft); }

.toast .ok {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.toast__icon {
  width: 22px; height: 22px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 14px;
}

/* =========================================================
   LOADING STATE
   ========================================================= */
.loading-state {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .4s;
}

.loading-ring {
  width: 48px; height: 48px;
  border: 3px solid var(--line);
  border-top-color: var(--ochre);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =========================================================
   CURSOR (desktop only)
   ========================================================= */
@media (hover: hover) and (pointer: fine) {
  .cursor {
    position: fixed;
    top: 0; left: 0;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--ink);
    pointer-events: none;
    z-index: 200;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width .25s, height .25s, background .25s;
  }
  .cursor.big { width: 60px; height: 60px; background: var(--ochre); }
}
@media (hover: none) { .cursor { display: none; } }

/* =========================================================
   BRAND NAV LOGOS
   ========================================================= */
.brand-logo-wrap img,
.brand-logo { border-radius: 50%; }

/* =========================================================
   INFO LOGO (section boutique)
   ========================================================= */
#infoLogo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* =========================================================
   SMOOTH SCROLL (Lenis compat)
   ========================================================= */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ── Hero visual fallback (pas d'image) ── */
.hero-visual__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px;
  text-align: center;
  background: linear-gradient(160deg, #1c1b18, #2a2722);
}

.hero-visual__fallback-name {
  font-size: clamp(28px, 6vw, 52px);
  color: var(--ivory);
  font-style: italic;
  line-height: 1.1;
}

.hero-visual__fallback-loc {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(243, 239, 230, .5);
}

/* ── Promo cards avec image en background : overlay sombre pour lisibilité ── */
.promo[style*="background-image"] {
  position: relative;
}
.promo[style*="background-image"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(14, 14, 12, .65) 0%,
    rgba(14, 14, 12, .35) 60%,
    rgba(14, 14, 12, .55) 100%
  );
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
}
.promo[style*="background-image"] > * {
  position: relative;
  z-index: 1;
}
.promo[style*="background-image"] {
  color: var(--paper);
}

/* ── Sous-titre affiche (deuxième ligne du titre) ── */
.promo-sub {
  font-size: 13px;
  opacity: .8;
  margin-top: 8px;
  max-width: 30ch;
  line-height: 1.5;
}
