/* =====================================================================
   TARZZA — STYLE (version 3 : alwan dyal l-logo TARZZA / طرزة)
   Logo: bordeaux #6c151e · sable #e8af7c · crème #f4e7d0
   Les couleurs w la police kaynin hna f :root — bdel bach tbdel l-look.
   ===================================================================== */
:root {
  --bg: #faf4ec;          /* fond crème clair */
  --card: #ffffff;        /* cartes blanches */
  --soft: #f6ebdd;        /* fond des images (crème) */
  --ink: #2a1215;         /* texte (bordeaux très foncé) */
  --teal: #6c151e;        /* titres & boutons (bordeaux du logo) */
  --aqua: #f4e7d0;        /* crème du logo (hero, actif) */
  --aqua-2: #f8eee0;
  --orange: #b4703a;      /* sable foncé (accents lisibles) */
  --sand: #e8af7c;        /* sable du logo (طرزة) */
  --red: #b3261e;         /* rouge kilim (badges) */
  --muted: #8b7266;
  --line: #ecdcc9;
  --white: #fff;
  --on-teal: #fff4e6;     /* texte sur bordeaux (boutons) */
  --dark: #6c151e;        /* barres foncées (topbar, footer) = bordeaux */
  --ink-2: #5d4540;       /* texte secondaire */
  --logo-lat: #6c151e;    /* TARZZA dans le logo */
  --header-bg: rgba(250, 244, 236, .92);
  color-scheme: only light;   /* 'only' = l-navigateur ma ybedelch l-alwan b rasso (dark mode forcé) */

  --font: "Outfit", "Helvetica Neue", Arial, sans-serif;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --pill: 999px;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 78px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 18px 40px -24px rgba(108, 21, 30, .35);
  --shadow-sm: 0 6px 18px -10px rgba(108, 21, 30, .3);
}

/* ---------- MODE SOMBRE (html[data-theme="dark"]) ---------- */
html[data-theme="dark"] {
  --bg: #160d0e;
  --card: #211415;
  --soft: #2c1b1c;
  --ink: #f4e7d0;
  --ink-2: #d8c4ad;
  --teal: #e8af7c;
  --on-teal: #2a0e12;
  --aqua: #4a1a20;
  --aqua-2: #2f1417;
  --orange: #e8af7c;
  --red: #e0574d;
  --muted: #b29a89;
  --line: #3e2a29;
  --dark: #0e0708;
  --logo-lat: #f4e7d0;
  --header-bg: rgba(22, 13, 14, .9);
  --shadow: 0 18px 40px -24px rgba(0, 0, 0, .85);
  --shadow-sm: 0 6px 18px -10px rgba(0, 0, 0, .75);
  color-scheme: only dark;
}
html[data-theme="dark"] .promo-stack .c2 { color: #e8af7c; filter: none; }
html[data-theme="dark"] .footer { border-top: 1px solid var(--line); }
html[data-theme="dark"] .shop-tools select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1ece3' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.theme-ico-sun { display: none; }
html[data-theme="dark"] .theme-ico-sun { display: block; }
html[data-theme="dark"] .theme-ico-moon { display: none; }
.mm-theme { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 12px 14px 12px 18px; border-radius: var(--r-md); background: var(--bg); font-weight: 600; font-size: 16px; margin-top: 18px; }
.mm-theme .switch { width: 48px; height: 28px; border-radius: 28px; background: var(--line); position: relative; transition: background .3s; flex: none; }
.mm-theme .switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
html[data-theme="dark"] .mm-theme .switch { background: var(--orange); }
html[data-theme="dark"] .mm-theme .switch::after { transform: translateX(20px); }


*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -.02em; color: var(--teal); }
p { margin: 0 0 1em; }
::selection { background: var(--aqua); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Petits éléments ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--orange);
}
.kicker::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.kicker.center::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.kicker.light { color: #e8af7c; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 36px); flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 46px); margin-top: 10px; }
.section-head h2 em { font-style: normal; color: var(--orange); }
.section-head p { color: var(--muted); margin: 10px 0 0; max-width: 520px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center p { margin-inline: auto; }

.btn {
  --bg: var(--teal); --fg: var(--on-teal); --bd: var(--teal);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: var(--pill);
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { --bg: var(--orange); --bd: var(--orange); }
.btn:active { transform: translateY(1px); }
.btn.outline { --bg: transparent; --fg: var(--teal); --bd: var(--teal); }
.btn.outline:hover { --bg: var(--teal); --fg: var(--on-teal); }
.btn.light { --bg: #fff; --fg: var(--teal); --bd: #fff; }
.btn.light:hover { --bg: var(--orange); --fg: #fff; --bd: var(--orange); }
.btn.red, .btn.orange { --bg: var(--orange); --bd: var(--orange); }
.btn.red:hover, .btn.orange:hover { --bg: var(--teal); --bd: var(--teal); }
.btn.wa { --bg: #1f9d55; --bd: #1f9d55; }
.btn.wa:hover { --bg: #17803f; --bd: #17803f; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal); font-size: 15px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--orange); }
.link-arrow:hover svg { transform: translateX(4px); }

.round-btn {
  width: 46px; height: 46px; border-radius: 50%; background: var(--card); display: inline-grid; place-items: center;
  box-shadow: var(--shadow-sm); transition: background .2s, color .2s, transform .2s; position: relative; flex: none;
}
.round-btn:hover { background: var(--teal); color: var(--on-teal); }
.round-btn svg { width: 20px; height: 20px; }

.panel { background: var(--card); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 40px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--dark); color: #f4e7d0; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 16px; }
.topbar .loc, .topbar .socials { display: flex; align-items: center; gap: 8px; flex: 1; }
.topbar .socials { justify-content: flex-end; gap: 16px; }
.topbar svg { width: 15px; height: 15px; }
.topbar .socials a:hover { color: var(--aqua); }
.topbar .ticker { flex: 2; text-align: center; position: relative; height: 20px; overflow: hidden; }
.topbar .ticker span { position: absolute; inset: 0; opacity: 0; transform: translateY(100%); transition: all .6s var(--ease); white-space: nowrap; }
.topbar .ticker span.on { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 10px 30px -24px rgba(27,42,41,.5); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); }
.header-left, .header-right { display: flex; align-items: center; gap: 14px; }
.header-right { justify-content: flex-end; }
.header-link { font-size: 14px; font-weight: 500; padding: 6px 4px; transition: color .2s; }
.header-link:hover, .header-link.active { color: var(--orange); }
.cart-pill {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 14px; border-radius: var(--pill);
  background: var(--card); box-shadow: var(--shadow-sm); font-weight: 600; font-size: 14px; position: relative;
  transition: background .2s, color .2s;
}
.cart-pill svg { width: 20px; height: 20px; }
.cart-pill:hover { background: var(--teal); color: var(--on-teal); }
.cart-count {
  position: absolute; top: -4px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center;
  border: 2px solid var(--bg); transition: transform .3s var(--ease);
}
.cart-count.bump { transform: scale(1.35); }

.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; color: var(--teal); }
.logo-mark { display: flex; align-items: center; gap: 10px; }
.logo-mark .logo-icon { width: 36px; height: 36px; flex: none; }
.logo-word.lw { height: 33px; width: auto; display: block; overflow: visible; }
.logo-word { font-weight: 800; font-size: 24px; letter-spacing: .06em; }
.logo-word.ar { font-family: "Naveid Arabic", var(--font); font-size: 34px; letter-spacing: 0; line-height: 1.15; }
.logo-sub { font-size: 10px; letter-spacing: .42em; color: var(--orange); margin-top: 5px; padding-left: .42em; font-weight: 600; }

.cat-nav { border-top: 1px solid var(--line); }
.cat-nav .wrap { display: flex; justify-content: center; gap: clamp(14px, 2.6vw, 38px); height: 50px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.cat-nav .wrap::-webkit-scrollbar { display: none; }
.cat-nav a { font-size: 14px; font-weight: 500; white-space: nowrap; position: relative; padding: 4px 0; color: var(--ink-2); }
.cat-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transition: transform .3s var(--ease); }
.cat-nav a:hover, .cat-nav a.active { color: var(--teal); }
.cat-nav a:hover::after, .cat-nav a.active::after { transform: scaleX(1); }

/* Recherche */
.search-panel { position: absolute; left: 0; right: 0; top: 100%; padding: 14px 0 20px; display: none; background: var(--bg); }
.search-panel.open { display: block; animation: drop .35s var(--ease); }
.search-panel form { display: flex; gap: 10px; background: var(--card); border-radius: var(--pill); padding: 6px 6px 6px 24px; box-shadow: var(--shadow); }
.search-panel input { flex: 1; border: 0; background: transparent; font-size: 18px; outline: none; min-width: 0; }
.search-panel .btn { min-height: 46px; padding: 0 20px; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Menu latéral */
.mobile-menu {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 90; width: min(420px, 100%); background: var(--card);
  display: flex; flex-direction: column; padding: 22px 26px 30px; border-radius: 0 var(--r-xl) var(--r-xl) 0;
  transform: translateX(-105%); transition: transform .5s var(--ease); visibility: hidden; overflow-y: auto;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mm-top { display: flex; justify-content: space-between; align-items: center; }
.mm-top .logo { align-items: flex-start; }
.mobile-menu nav { display: grid; gap: 6px; margin-top: 30px; }
.mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; border-radius: var(--r-md); background: var(--bg); font-weight: 600; font-size: 17px; transition: background .2s; }
.mobile-menu nav a img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.mobile-menu nav a:hover, .mobile-menu nav a.active { background: var(--aqua); }
.mm-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 24px 0 4px; }
.mm-foot { margin-top: 28px; font-size: 14px; color: var(--muted); display: grid; gap: 6px; }
.menu-overlay { position: fixed; inset: 0; z-index: 89; background: rgba(27,42,41,.45); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.menu-overlay.open { opacity: 1; visibility: visible; }

/* ---------- HERO (photo plein écran) ---------- */
.hero {
  position: relative; overflow: hidden; background: #111; color: #fff;
  min-height: clamp(600px, calc(100vh - 128px), 880px);
}
.hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%;
  opacity: 0; transform: scale(1.06); transition: opacity 1.2s var(--ease), transform 7s linear;
}
.hero-bg img.on { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 48%, rgba(0,0,0,.55) 82%, rgba(0,0,0,.7) 100%);
}
.hero::before {
  content: ""; position: absolute; z-index: 1; width: 620px; height: 620px; right: -160px; top: -120px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 50%; pointer-events: none;
}
.hero-slide { display: none; }
.hero-slide.on { display: grid; animation: rise .9s var(--ease) both; }
.hero-inner {
  position: relative; z-index: 2; min-height: inherit; grid-template-rows: auto 1fr auto;
  padding-top: 30px; padding-bottom: 150px;
}
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.hero-top .lt { max-width: 280px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.25; font-weight: 500; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero-top .lt small { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #e8af7c; margin-bottom: 10px; font-weight: 600; }
.hero-top .rt { text-align: right; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.7; opacity: .9; }
.hero-mid { align-self: center; justify-self: end; display: flex; align-items: center; gap: 18px; max-width: 330px; }
.hero-mid .ico { width: 58px; height: 58px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; flex: none; }
.hero-mid .ico svg { width: 30px; height: 30px; }
.hero-mid h1 { color: #fff; font-size: clamp(20px, 1.9vw, 26px); font-weight: 500; line-height: 1.2; letter-spacing: 0; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.hero-mid h1 em { font-style: normal; color: #e8af7c; display: block; }
.hero-word {
  font-family: "Playfair Display", Georgia, serif; font-weight: 600; text-transform: uppercase; text-align: center;
  line-height: .82; letter-spacing: -.01em; color: #fff; margin: 0 -2vw; white-space: nowrap;
  text-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.hero-cta { display: flex; justify-content: center; margin-top: 22px; }
.hero-cta .btn { --bg: var(--orange); --bd: var(--orange); }
.hero-cta .btn:hover { --bg: #fff; --fg: #111; --bd: #fff; }
.hero-dots { position: absolute; z-index: 3; right: var(--gutter); bottom: 128px; display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 10px; background: rgba(255,255,255,.5); transition: width .3s var(--ease), background .3s; }
.hero-dots button.on { width: 34px; background: #fff; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Panneau qui chevauche le hero */
.overlap { position: relative; z-index: 3; margin-top: -110px; }
.overlap .panel { box-shadow: var(--shadow); display: grid; grid-template-columns: 3fr 1.15fr; gap: clamp(20px, 3vw, 44px); align-items: center; }
.overlap .products { grid-template-columns: repeat(3, 1fr); }
.promo-stack { font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 3vw, 44px); line-height: 1.04; letter-spacing: -.01em; position: relative; padding-top: 30px; }
.promo-stack span { display: block; }
.promo-stack .c1 { color: var(--orange); }
.promo-stack .c2 { color: var(--aqua); -webkit-text-stroke: 0; filter: saturate(1.4) brightness(.85); }
.promo-stack .c3 { color: var(--teal); }
.promo-stack .c4 { color: var(--red); }
.promo-stack::before { content: "//"; position: absolute; top: 0; left: 0; color: var(--orange); font-size: 22px; transform: rotate(-20deg); letter-spacing: -4px; }
.promo-stack p { font-size: 15px; font-weight: 400; text-transform: none; color: var(--muted); letter-spacing: 0; line-height: 1.6; margin: 16px 0 18px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; margin: clamp(40px, 6vw, 70px) 0 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 26px; padding: 6px 13px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; color: var(--teal); white-space: nowrap; text-transform: uppercase; }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--teal); }
.marquee span::after { content: ""; width: 14px; height: 14px; background: var(--orange); transform: rotate(45deg); border-radius: 3px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section.tight { padding: clamp(36px, 5vw, 60px) 0; }

/* Catégories */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.cat { position: relative; background: var(--card); border-radius: var(--r-lg); padding: 12px; display: flex; flex-direction: column; gap: 12px; transition: transform .35s var(--ease), box-shadow .35s; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-img { aspect-ratio: 4 / 3.4; border-radius: var(--r-md); overflow: hidden; background: var(--soft); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat:hover img { transform: scale(1.06); }
.cat-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 6px 4px; }
.cat-label h3 { font-size: 19px; }
.cat-label small { display: block; font-size: 13px; color: var(--muted); }
.cat-label .arrow { width: 40px; height: 40px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; flex: none; transition: background .3s, color .3s; }
.cat-label .arrow svg { width: 17px; height: 17px; }
.cat:hover .arrow { background: var(--orange); color: #fff; }

/* Produits */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-lg); padding: 12px 12px 16px; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.panel .card { background: var(--soft); }
.card-media { position: relative; aspect-ratio: 1 / 1.1; overflow: hidden; background: var(--soft); border-radius: var(--r-md); }
.panel .card-media { background: var(--card); }
.card-link { position: absolute; inset: 0; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform 1s var(--ease); }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img.main { transform: scale(1.04); }
.card:hover .card-media img.alt { opacity: 1; }
.badge { position: absolute; z-index: 2; top: 10px; left: 10px; background: var(--card); color: var(--teal); font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: var(--pill); box-shadow: var(--shadow-sm); }
.badge.sale { background: var(--orange); color: #fff; top: auto; bottom: 10px; }
.badge.sold { background: var(--dark); color: #fff; }
.quick-add {
  position: absolute; z-index: 2; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--card); color: var(--teal); display: grid; place-items: center; box-shadow: var(--shadow-sm);
  transition: background .2s, color .2s, transform .25s var(--ease);
}
.quick-add svg { width: 18px; height: 18px; }
.quick-add:hover { background: var(--teal); color: var(--on-teal); transform: rotate(90deg); }
.card-body { padding: 14px 6px 0; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card-meta { font-size: 12.5px; color: var(--muted); }
.card-title { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink); letter-spacing: 0; }
.card-title a:hover { color: var(--orange); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.price { font-weight: 700; font-size: 17px; color: var(--ink); }
.price ins { text-decoration: none; }
.price del { color: var(--muted); font-weight: 400; margin-left: 8px; font-size: .82em; }
.price.sale ins { color: var(--orange); }
.swatches { display: flex; gap: 5px; }
.swatches i { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }

/* Editorial split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--r-xl); }
.split-media .frame { display: none; }
.split-media .stamp {
  position: absolute; right: -14px; top: 30px; width: 110px; height: 110px; border-radius: 50%;
  background: var(--orange); color: #fff; display: grid; place-items: center; text-align: center;
  font-weight: 700; font-size: 14px; line-height: 1.15; box-shadow: var(--shadow); transform: rotate(-10deg);
}
.split-text h2 { font-size: clamp(34px, 4.2vw, 54px); margin: 14px 0 20px; }
.split-text h2 em { font-style: normal; color: var(--orange); }
.split-text p { color: var(--ink-2); font-size: 17px; max-width: 520px; }
.split-text .btn, .split-text .link-arrow { margin-top: 12px; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.value { background: var(--bg); border-radius: var(--r-md); padding: 18px; }
.section .split-text .value { background: var(--card); }
.panel .split-text .value { background: var(--bg); }
.value svg { width: 32px; height: 32px; color: var(--orange); margin-bottom: 10px; }
.value h4 { font-size: 17px; margin-bottom: 4px; }
.value p { font-size: 14px; color: var(--muted); margin: 0; }

/* Feature sneaker */
.feature { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; background: var(--aqua); border-radius: var(--r-xl); overflow: hidden; min-height: 520px; }
.feature-media { position: relative; padding: 24px; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); }
.feature-text { position: relative; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.feature-text .bg-word { position: absolute; right: -10px; top: 10px; font-weight: 800; font-size: clamp(70px, 9vw, 140px); line-height: .85; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.8); text-transform: uppercase; pointer-events: none; }
.feature-text h2 { font-size: clamp(42px, 5.4vw, 76px); margin: 14px 0 4px; position: relative; }
.feature-text .sub { font-weight: 600; font-size: 19px; color: var(--orange); margin-bottom: 16px; }
.feature-text p { color: var(--ink); max-width: 420px; position: relative; }
.feature-text .palette { display: flex; gap: 8px; margin: 6px 0 26px; }
.feature-text .palette i { width: 26px; height: 26px; border-radius: 50%; border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.feature-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; max-width: 420px; }
.feature-thumbs img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); }

/* Lookbook */
.looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.looks > a { display: block; }
.look { margin: 0; }
.look img {
  display: block; width: 100%; aspect-ratio: 1 / 1.9; object-fit: cover; object-position: center 30%;
  border-radius: var(--r-xl); background: var(--teal); transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.look:hover img { transform: translateY(-4px); box-shadow: var(--shadow); }
.look figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 4px 0; }
.look figcaption strong { font-weight: 700; color: var(--teal); display: block; font-size: 17px; line-height: 1.25; }
.look figcaption small { font-size: 12.5px; color: var(--muted); }
.look figcaption .link-arrow { width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #fff; justify-content: center; flex: none; }
.look figcaption .link-arrow svg { width: 16px; height: 16px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.service { background: var(--card); border-radius: var(--r-lg); padding: 24px; display: flex; gap: 14px; align-items: flex-start; }
.service svg { width: 28px; height: 28px; flex: none; color: var(--orange); }
.service h4 { font-size: 16px; margin-bottom: 2px; }
.service p { font-size: 14px; color: var(--muted); margin: 0; }

/* Community */
.community { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.community a { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--teal); border-radius: var(--r-md); }
.community img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease), opacity .3s; }
.community a:hover img { transform: scale(1.08); opacity: .7; }

/* CTA */
.cta-band { background: var(--dark); color: #fff; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 2px solid rgba(184,137,61,.45); right: -80px; bottom: -120px; }
.cta-band h2 { color: #fff; font-size: clamp(32px, 4vw, 52px); margin: 12px 0 12px; }
.cta-band h2 em { font-style: normal; color: #e8af7c; }
.cta-band p { color: rgba(255,255,255,.72); margin: 0; max-width: 460px; }
.cta-band .row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 2; }

/* ---------- Footer ---------- */
.kilim-band { display: none; }
.footer { background: var(--dark); color: #c9d3d2; border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: clamp(40px, 6vw, 80px); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 44px; }
.footer .logo { color: #fff; align-items: flex-start; }
.footer .logo-sub { padding-left: 0; }
.footer-about p { margin-top: 20px; max-width: 320px; font-size: 14.5px; }
.footer h5 { font-size: 14px; font-weight: 700; color: #fff; margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
.footer ul a:hover { color: var(--aqua); }
.footer .socials { display: flex; gap: 8px; margin-top: 22px; }
.footer .socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s, color .2s; }
.footer .socials a:hover { background: var(--aqua); color: var(--ink); }
.footer .socials svg { width: 18px; height: 18px; }
.footer-plate { margin-top: 20px; max-width: 210px; border-radius: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-bottom .pay { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-bottom .pay span { background: rgba(255,255,255,.08); padding: 4px 12px; border-radius: var(--pill); font-size: 12px; }

/* WhatsApp flottant */
/* bottom 84px : bach ma ytghetach b badge « Powered by Netlify » */
.wa-float { position: fixed; right: 20px; bottom: 84px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 29px; height: 29px; }

/* ---------- Drawer panier ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(27,42,41,.45); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.overlay.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 10px; right: 10px; bottom: 10px; z-index: 85; width: min(440px, calc(100% - 20px)); background: var(--card); border-radius: var(--r-lg); display: flex; flex-direction: column; overflow: hidden; transform: translateX(110%); transition: transform .5s var(--ease); visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; }
.drawer-head h3 { font-size: 24px; }
.drawer-head h3 small { font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.ship-progress { margin: 0 22px; padding: 14px 16px; background: var(--aqua-2); border-radius: var(--r-md); font-size: 13.5px; }
.ship-progress .track { height: 6px; background: var(--card); border-radius: 6px; margin-top: 8px; overflow: hidden; }
.ship-progress .track i { display: block; height: 100%; background: var(--teal); border-radius: 6px; transition: width .5s var(--ease); }
.drawer-items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.line-item { display: grid; grid-template-columns: 82px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-item img { width: 82px; height: 92px; object-fit: cover; background: var(--soft); border-radius: var(--r-sm); }
.line-item h4 { font-size: 16px; color: var(--ink); }
.line-item .opts { font-size: 13px; color: var(--muted); margin: 2px 0 8px; }
.line-item .row { display: flex; align-items: center; justify-content: space-between; }
.qty { display: inline-flex; align-items: center; background: var(--bg); border-radius: var(--pill); padding: 3px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; }
.qty button:hover { background: var(--card); }
.qty span { width: 30px; text-align: center; font-size: 14px; font-weight: 600; }
.remove { font-size: 12.5px; color: var(--muted); text-decoration: underline; margin-top: 6px; }
.remove:hover { color: var(--red); }
.drawer-empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.drawer-empty svg { width: 54px; height: 54px; color: var(--aqua); margin: 0 auto 14px; }
.drawer-empty h4 { font-size: 22px; margin-bottom: 8px; }
.drawer-foot { padding: 18px 22px 22px; background: var(--bg); }
.totals { display: grid; gap: 6px; font-size: 14.5px; margin-bottom: 14px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 18px; font-weight: 700; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.drawer-foot small { display: block; text-align: center; color: var(--muted); margin-top: 10px; font-size: 12.5px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(27,42,41,.5); backdrop-filter: blur(4px); }
.modal-box { position: relative; background: var(--card); width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); transform: translateY(16px) scale(.98); transition: transform .4s var(--ease); }
.modal.wide .modal-box { width: min(880px, 100%); }
.modal.open .modal-box { transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; z-index: 2; }
.modal-close svg { width: 18px; height: 18px; }
.modal-box h3 { font-size: 28px; margin-bottom: 6px; }
.modal-box .sub { color: var(--muted); margin-bottom: 20px; font-size: 14.5px; }

.form { display: grid; gap: 14px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--teal); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 18px; background: var(--bg); border: 1.5px solid transparent; border-radius: var(--r-md); outline: none; transition: border-color .2s, background .2s; font-size: 15px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); background: var(--card); }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.field .err { color: var(--red); font-size: 12.5px; margin-top: 4px; display: none; }
.field.invalid .err { display: block; }
.order-summary { background: var(--aqua-2); padding: 16px 18px; border-radius: var(--r-md); font-size: 14px; }
.order-summary .l { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.order-summary .l.total { font-weight: 700; border-top: 1px solid rgba(31,90,85,.2); margin-top: 6px; padding-top: 10px; font-size: 16px; }
.cod-note { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--teal); }
.cod-note svg { width: 22px; height: 22px; color: var(--orange); flex: none; }
.success { text-align: center; padding: 10px 0; }
.success .check { width: 72px; height: 72px; border-radius: 50%; background: var(--aqua); color: var(--teal); display: grid; place-items: center; margin: 0 auto 18px; }
.success .check svg { width: 34px; height: 34px; }
.success .btn { margin-top: 6px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 99; transform: translate(-50%, 160%); background: var(--dark); color: #fff; padding: 12px 20px; border-radius: var(--pill); display: flex; align-items: center; gap: 10px; font-size: 14px; box-shadow: var(--shadow); transition: transform .45s var(--ease), visibility .45s; max-width: calc(100% - 32px); visibility: hidden; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast svg { width: 18px; height: 18px; color: var(--aqua); flex: none; }
.toast button { color: var(--aqua); text-decoration: underline; margin-left: 4px; white-space: nowrap; }

/* ---------- Page header ---------- */
.page-hero { padding: 26px 0 0; }
.page-hero .inner { position: relative; background: var(--aqua); border-radius: var(--r-xl); padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 64px); overflow: hidden; }
.page-hero .inner::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); right: -60px; top: -70px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 80px); margin-top: 10px; position: relative; z-index: 1; }
.page-hero h1 em { font-style: normal; color: var(--orange); }
.page-hero p { color: var(--ink); max-width: 560px; margin: 14px 0 0; position: relative; z-index: 1; }
.page-hero .outline { position: absolute; right: 30px; bottom: -14px; font-weight: 800; font-size: clamp(60px, 10vw, 150px); line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.85); text-transform: uppercase; pointer-events: none; white-space: nowrap; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--orange); }
.page-hero .crumbs { color: var(--teal); position: relative; z-index: 1; }

/* Page 404 */
.nf-hero .inner { min-height: 420px; display: flex; flex-direction: column; justify-content: center; }
.nf-code { position: relative; z-index: 1; display: block; margin-top: 18px; font-family: "Playfair Display", serif; font-weight: 600; font-size: clamp(90px, 16vw, 200px); line-height: .9; color: var(--orange); letter-spacing: -.02em; }
.nf-ar { font-size: clamp(18px, 2.2vw, 24px); font-weight: 600; }
.btn.nf-ghost { --bg: transparent; --fg: var(--teal); --bd: var(--teal); }
.btn.nf-ghost:hover { --bg: var(--teal); --fg: var(--on-teal); }
.nf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; position: relative; z-index: 1; }

/* ---------- Boutique ---------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(20px, 3vw, 40px); padding-top: 30px; padding-bottom: 80px; align-items: start; }
.shop-side { position: sticky; top: calc(var(--header-h) + 64px); display: grid; gap: 8px; }
.side-title { background: var(--card); border-radius: var(--r-md); padding: 14px 18px; font-weight: 700; color: var(--teal); }
.side-cat { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 18px; background: var(--card); border-radius: var(--r-md); font-weight: 500; font-size: 15px; transition: background .2s; text-align: left; width: 100%; }
.side-cat img { width: 42px; height: 42px; object-fit: cover; border-radius: 10px; flex: none; }
.side-cat small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.side-cat:hover { background: var(--aqua-2); }
.side-cat.on { background: var(--aqua); color: var(--teal); font-weight: 700; }
.shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.shop-head h1 { font-size: clamp(32px, 4vw, 48px); }
.shop-head h1 em { font-style: normal; color: var(--orange); }
.shop-head .count { color: var(--muted); font-size: 14px; margin-top: 4px; }
.shop-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.shop-tools select {
  height: 46px; border: 1.5px solid var(--line); border-radius: var(--pill); padding: 0 40px 0 20px; background-color: var(--card); font-size: 14px; font-weight: 500; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5a55' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 14px;
}
.shop-tools select:hover { border-color: var(--teal); }
.active-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; min-height: 8px; }
.active-chips button { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border-radius: var(--pill); padding: 7px 14px; font-size: 13.5px; }
.active-chips button:hover { background: var(--aqua-2); }
.active-chips button::after { content: "×"; font-size: 17px; line-height: 1; color: var(--muted); }
.shop-main .products { grid-template-columns: repeat(3, 1fr); }
.no-results { text-align: center; padding: 70px 20px; color: var(--muted); background: var(--card); border-radius: var(--r-xl); }
.no-results h3 { font-size: 28px; margin-bottom: 8px; }
.chips { display: none; }

/* ---------- Produit ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(16px, 2.4vw, 28px); padding: 26px 0 70px; align-items: start; }
.gallery { display: grid; grid-template-columns: 82px 1fr; gap: 12px; align-items: start; position: sticky; top: calc(var(--header-h) + 64px); background: var(--card); border-radius: var(--r-xl); padding: 14px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumbs button { aspect-ratio: 1 / 1.1; overflow: hidden; border-radius: var(--r-sm); opacity: .55; transition: opacity .2s; border: 2px solid transparent; background: var(--soft); }
.thumbs button.on { opacity: 1; border-color: var(--aqua); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.main-img { position: relative; background: var(--soft); overflow: hidden; border-radius: var(--r-lg); cursor: zoom-in; }
.main-img img { width: 100%; height: auto; max-height: calc(100vh - 200px); object-fit: cover; object-position: center top; display: block; transition: transform .4s var(--ease); }
.main-img.zoom img { transform: scale(1.9); cursor: zoom-out; }
.main-img .nav-arrows { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; }
.main-img .nav-arrows button { width: 42px; height: 42px; border-radius: 50%; background: var(--card); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.main-img .nav-arrows button:hover { background: var(--teal); color: var(--on-teal); }
.main-img .nav-arrows svg { width: 16px; height: 16px; }
.pdp-info { background: var(--card); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 40px); }
.pdp-info .crumbs { margin-bottom: 14px; }
.pdp-info h1 { font-size: clamp(32px, 3.6vw, 46px); margin: 6px 0 12px; }
.pdp-info .price { font-size: 26px; }
.pdp-info .tax { font-size: 13px; color: var(--muted); margin-top: 4px; }
.pdp-info .desc { margin: 20px 0 24px; color: var(--ink-2); font-size: 16px; }
.opt-group { margin-bottom: 22px; }
.opt-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 14px; }
.opt-head strong { font-weight: 700; color: var(--teal); }
.opt-head span { color: var(--muted); }
.opt-head button { text-decoration: underline; font-size: 13px; color: var(--teal); }
.opt-head button:hover { color: var(--orange); }
.color-opts { display: flex; gap: 10px; }
.color-opts button { width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .2s; }
.color-opts button.on { outline-color: var(--teal); }
.size-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.size-opts button { min-width: 58px; height: 46px; padding: 0 16px; background: var(--bg); border: 1.5px solid transparent; border-radius: var(--pill); font-size: 14px; font-weight: 600; transition: all .2s; }
.size-opts button:hover { border-color: var(--teal); }
.size-opts button.on { background: var(--teal); color: var(--on-teal); }
.size-opts.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.size-hint { color: var(--red); font-size: 13px; margin-top: 8px; display: none; }
.size-hint.show { display: block; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-bottom: 10px; }
.buy-row .qty button { width: 44px; height: 46px; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0; font-size: 13.5px; }
.perks div { display: flex; gap: 10px; align-items: center; background: var(--bg); border-radius: var(--r-md); padding: 12px 14px; }
.perks svg { width: 22px; height: 22px; color: var(--orange); flex: none; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--teal); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-size: 18px; transition: transform .3s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 0 18px; color: var(--ink-2); font-size: 15px; }
.accordion ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }

.size-table-wrap { overflow-x: auto; border-radius: var(--r-md); }
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 420px; }
.size-table th, .size-table td { padding: 10px 12px; text-align: center; }
.size-table th { background: var(--teal); color: var(--on-teal); font-weight: 600; }
.size-table td:first-child, .size-table th:first-child { text-align: left; }
.size-table tr:nth-child(even) td { background: var(--bg); }
.guide-img { margin-top: 16px; border-radius: var(--r-md); }

/* ---------- Histoire ---------- */
.story-intro { font-size: clamp(24px, 3vw, 38px); font-weight: 600; line-height: 1.3; max-width: 980px; margin: 0 auto; text-align: center; color: var(--teal); }
.story-intro em { font-style: normal; color: var(--orange); }
.section.dark { background: transparent; }
.section.dark .wrap > .dark-box, .dark-box { background: var(--dark); color: #fff; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px); }
.dark-box h2 { color: #fff; }
.dark-box h2 em { font-style: normal; color: #e8af7c !important; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.step { background: rgba(255,255,255,.08); border-radius: var(--r-lg); padding: 24px; }
.step::before { counter-increment: step; content: "0" counter(step); font-weight: 800; font-size: 40px; color: var(--orange); display: block; line-height: 1; margin-bottom: 14px; }
.step h4 { font-size: 20px; margin-bottom: 8px; color: #fff; }
.step p { color: rgba(255,255,255,.72); font-size: 14.5px; margin: 0; }
.plate-card { background: #fff; border-radius: 18px; padding: 14px; box-shadow: var(--shadow); transform: rotate(-3deg); }
.split-media .plate-card img { aspect-ratio: auto; object-fit: contain; border-radius: 8px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(20px, 3vw, 40px); }
.contact-cards { display: grid; gap: 10px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 16px; background: var(--card); border-radius: var(--r-lg); transition: background .2s, transform .2s; }
a.contact-card:hover { background: var(--aqua-2); transform: translateX(4px); }
.contact-card .ic { width: 50px; height: 50px; border-radius: 50%; background: var(--teal); color: var(--on-teal); display: grid; place-items: center; flex: none; }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card small { display: block; font-size: 12.5px; color: var(--muted); }
.contact-card strong { font-weight: 600; font-size: 16px; }
.contact-form { background: var(--card); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: var(--r-lg); padding: 0 22px; }
.faq summary { font-weight: 600; font-size: 17px; color: var(--teal); padding: 18px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; flex: none; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- L-ibra katerz s-smiya f l-header ---------- */
.logo-mark { position: relative; }
.logo-mark.stitching .logo-icon, .logo-mark.stitching .lw-fill { opacity: 0; }
.stitch-needle { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 2; color: var(--teal); }
.stitch-needle svg { width: 100%; height: 100%; display: block; }

/* ---------- Pages légales ---------- */
.legal { max-width: 860px; background: var(--card); border-radius: var(--r-xl); padding: clamp(22px, 4vw, 48px); color: var(--ink); }
.legal h2 { font-size: clamp(20px, 2.2vw, 24px); margin: 30px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
.legal .lead { font-size: 16.5px; color: var(--ink); }
.legal ul, .legal ol { padding-left: 20px; display: grid; gap: 6px; margin: 0 0 1em; }
.legal a { text-decoration: underline; color: var(--teal); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0 14px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.legal-table th { background: var(--bg); color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; } .legal-table thead { display: none; } .legal-table tr { border-bottom: 1px solid var(--line); padding: 8px 0; } .legal-table td { border: 0; padding: 4px 0; } }
.todo { background: #fbe7b5; color: #7a4b00; padding: 1px 6px; border-radius: 6px; font-weight: 600; font-size: .92em; }
.accept { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.accept input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--orange); }
.accept a { text-decoration: underline; color: var(--teal); }
.consent p a { text-decoration: underline; color: var(--teal); }

/* ---------- Bandeau cookies (statistiques) ---------- */
.consent {
  position: fixed; z-index: 120; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 560px;
  background: var(--card); color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow);
  padding: 18px 20px; display: flex; align-items: center; gap: 16px;
  transform: translateY(140%); transition: transform .45s var(--ease);
}
.consent.show { transform: none; }
.consent p { margin: 0; font-size: 14px; color: var(--ink-2); flex: 1; }
.consent-btns { display: flex; gap: 8px; flex: none; }
.consent .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
@media (max-width: 640px) {
  .consent { flex-direction: column; align-items: stretch; bottom: 12px; left: 12px; right: 12px; }
  .consent-btns .btn { flex: 1; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .products, .shop-main .products { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .overlap .panel { grid-template-columns: 1fr; }
  .promo-stack { padding-top: 0; display: flex; flex-wrap: wrap; column-gap: 12px; align-items: baseline; }
  .promo-stack::before { display: none; }
  .promo-stack p, .promo-stack .btn { flex-basis: 100%; }
  .promo-stack .btn { flex-basis: auto; }
  .shop-main .products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .header-link, .cat-nav { display: none; }
  .cart-pill .total { display: none; }
  #themeBtn { display: none; }
  .cart-pill { padding: 0; width: 46px; justify-content: center; }
  .logo-word { font-size: 19px; }
  .logo-word.ar { font-size: 24px; }
  .logo-mark { gap: 7px; }
  .logo-mark .logo-icon { width: 28px; height: 28px; }
  .logo-word.lw { height: 25px; }
  .logo-sub { font-size: 8px; }
  .round-btn, .cart-pill { width: 42px; height: 42px; }
  .topbar .loc, .topbar .socials { display: none; }

  .hero { min-height: 640px; }
  .hero-bg img { object-position: center 20%; }
  .hero::before { width: 360px; height: 360px; right: -160px; top: -60px; }
  .hero-inner { padding-top: 22px; padding-bottom: 120px; }
  .hero-top .rt, .hero-mid .ico { display: none; }
  .hero-mid { justify-self: start; align-self: end; margin-bottom: 18px; }
  .hero-dots { right: auto; left: 50%; transform: translateX(-50%); bottom: 100px; }

  .cats { grid-template-columns: repeat(2, 1fr); }
  .split, .feature, .pdp, .contact-grid, .cta-band { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .cta-band .row { justify-content: flex-start; }
  .feature-media { padding: 14px 14px 0; aspect-ratio: 16 / 11; }
  .looks { grid-template-columns: repeat(3, 1fr); }
  .community { grid-template-columns: repeat(3, 1fr); }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .thumbs button { width: 70px; flex: none; }
  .shop-layout { grid-template-columns: minmax(0, 1fr); padding-top: 16px; }
  .shop-side { position: static; display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .shop-side::-webkit-scrollbar { display: none; }
  .side-title { display: none; }
  .side-cat { width: auto; flex: none; padding: 6px 14px 6px 6px; flex-direction: row-reverse; border-radius: var(--pill); }
  .side-cat img { width: 34px; height: 34px; border-radius: 50%; }
  .side-cat small { display: none; }
}

@media (max-width: 640px) {
  .products, .shop-main .products, .overlap .products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .overlap .products .card:nth-child(3) { display: none; }
  .card { padding: 8px 8px 12px; border-radius: var(--r-md); }
  .card-media { border-radius: var(--r-sm); }
  .card-title { font-size: 14.5px; }
  .card-meta { font-size: 11.5px; }
  .price { font-size: 15px; }
  .quick-add { width: 34px; height: 34px; top: 8px; right: 8px; }
  .swatches { display: none; }
  .looks { grid-template-columns: 1fr 1fr; }
  .looks > a:nth-child(3) { display: none; }
  .look img { aspect-ratio: 1 / 2.2; border-radius: var(--r-lg); }
  .look figcaption { padding-top: 10px; }
  .look figcaption strong { font-size: 14.5px; }
  .look figcaption small { font-size: 11.5px; }
  .look figcaption .link-arrow { width: 30px; height: 30px; }
  .values { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .form .two { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 76px; }
  .wa-float svg { width: 26px; height: 26px; }
  .overlap { margin-top: -90px; }
  .overlap .panel { border-radius: var(--r-lg); padding: 14px; }
  .promo-stack { font-size: 26px; padding: 6px 4px 4px; }
  .page-hero .outline { display: none; }
  .header-left, .header-right { gap: 8px; }
}

/* =====================================================================
   « ESSAYEZ LE LOOK » — carrousel 3D des looks (accueil)
   Les looks f products.js → LOOKS. L-mouvement f app.js → tryLook().
   ===================================================================== */
.tl {
  --tl-ease: cubic-bezier(.16, 1, .3, 1);
  --tl-spring: cubic-bezier(.34, 1.56, .64, 1);
  display: grid; grid-template-columns: minmax(0, 1fr) 380px;
  background: var(--card); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow);
}
.tl-left { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--soft); }
.tl-head { position: relative; z-index: 5; padding: clamp(28px, 3.4vw, 44px) clamp(22px, 4vw, 56px) 0; }
.tl-head h2 { font-size: clamp(30px, 3.8vw, 46px); margin-top: 10px; }
.tl-head h2 em { font-style: normal; color: var(--orange); }
.tl-head p { color: var(--muted); margin: 10px 0 0; max-width: 46ch; }

/* Intro */
.tl .tl-head > *, .tl .tl-stage, .tl .tl-controls, .tl .tl-panel { transition: opacity 1.1s var(--tl-ease), transform 1.3s var(--tl-ease), filter 1.1s var(--tl-ease); }
.tl:not(.is-revealed) .tl-head > * { opacity: 0; transform: translateY(22px); filter: blur(8px); }
.tl:not(.is-revealed) .tl-stage, .tl:not(.is-revealed) .tl-controls, .tl:not(.is-revealed) .tl-panel { opacity: 0; }
.tl .tl-head h2 { transition-delay: .12s; } .tl .tl-head p { transition-delay: .26s; }
.tl .tl-stage { transition-delay: .1s; } .tl .tl-panel { transition-delay: .25s; } .tl .tl-controls { transition-delay: .5s; }

/* Scène */
.tl-stage { position: relative; height: clamp(440px, 64vh, 660px); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; overflow: hidden; outline: none; }
.tl-stage:focus-visible { box-shadow: inset 0 0 0 2px var(--orange); }
.tl.is-dragging .tl-stage { cursor: grabbing; }
.tl-ring { position: absolute; inset: 0; }
.tl-body {
  position: absolute; left: 0; bottom: 0; margin: 0;
  height: var(--tl-h, 520px); aspect-ratio: 9 / 16;
  transform-origin: 50% 100%; will-change: transform, opacity; opacity: 0;
  border-radius: var(--r-lg); overflow: hidden; background: var(--aqua);
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .55);
}
.tl-body img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; pointer-events: none; }
.tl-body figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px; border-radius: var(--r-md); background: rgba(17, 17, 17, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff;
  opacity: 0; transform: translateY(10px); transition: opacity .5s var(--tl-ease), transform .7s var(--tl-ease); pointer-events: none;
}
.tl-body figcaption small { font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #e8af7c; font-variant-numeric: tabular-nums; }
.tl-body figcaption strong { font-size: 17px; font-weight: 600; }
.tl-body.is-front figcaption { opacity: 1; transform: none; }
.tl-hit { position: absolute; inset: 0; z-index: 1; padding: 0; border: 0; background: transparent; border-radius: inherit; cursor: pointer; }
.tl-body.is-front .tl-hit { cursor: inherit; }
.tl-hit:focus-visible { outline: 2px solid var(--orange); outline-offset: -4px; }

/* Reflet qui passe à chaque changement de look */
.tl-sweep { position: absolute; inset: 0; z-index: 1550; overflow: hidden; pointer-events: none; mix-blend-mode: soft-light; }
.tl-sweep::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 42%; opacity: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .25) 42%, rgba(255, 255, 255, .6) 50%, rgba(255, 255, 255, .25) 58%, transparent);
  transform: translateX(-130%) skewX(-12deg);
}
.tl-stage.is-sweep .tl-sweep::before { animation: tl-sweep 1.5s cubic-bezier(.65, 0, .35, 1); }
@keyframes tl-sweep { 0% { transform: translateX(-130%) skewX(-12deg); opacity: 0; } 18% { opacity: 1; } 100% { transform: translateX(330%) skewX(-12deg); opacity: 0; } }

/* Curseur « Glisser / Voir » (PC b souris) */
.tl-cursor { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 1700; pointer-events: none; display: none; }
.tl--cursor .tl-cursor { display: block; }
.tl--cursor .tl-stage, .tl--cursor .tl-stage * { cursor: none !important; }
.tl-cursor-in {
  position: absolute; left: -42px; top: -42px; width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent);
  background: color-mix(in srgb, var(--card) 45%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transform: scale(.3);
  transition: transform .6s var(--tl-ease), opacity .35s, background .35s, border-color .35s, color .35s;
}
.tl-cursor-in span { grid-area: 1 / 1; font-size: 10px; font-weight: 600; letter-spacing: .24em; padding-left: .24em; text-transform: uppercase; white-space: nowrap; transition: opacity .25s, letter-spacing .7s var(--tl-ease); }
.tl-cursor-in [data-c="view"] { opacity: 0; }
.tl-cursor.is-on .tl-cursor-in { opacity: 1; transform: scale(1); }
.tl-cursor.is-view [data-c="drag"] { opacity: 0; }
.tl-cursor.is-view [data-c="view"] { opacity: 1; }
.tl.is-dragging .tl-cursor-in { transform: scale(.74); background: var(--orange); border-color: var(--orange); color: #fff; }
.tl.is-dragging .tl-cursor-in [data-c="drag"] { letter-spacing: .42em; }

/* Contrôles : flèches, progression 01–07, pause */
.tl-controls { position: relative; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 10px clamp(16px, 3vw, 40px) 26px; }
.tl-icon {
  flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0;
  border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
  transition: background .3s, color .3s, border-color .3s;
}
.tl-icon svg { width: 20px; height: 20px; transition: transform .5s cubic-bezier(.2, 1.6, .4, 1); }
.tl-icon:hover { background: var(--teal); color: var(--on-teal); border-color: var(--teal); }
.tl-icon[data-tl-prev]:hover svg { transform: translateX(-3px); }
.tl-icon[data-tl-next]:hover svg { transform: translateX(3px); }
.tl-icon:active svg { transform: scale(.88); }
.tl-icon:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.tl-auto svg { width: 14px; height: 14px; }
.tl-auto .i-pause, .tl.is-playing .tl-auto .i-play { display: none; }
.tl.is-playing .tl-auto .i-pause { display: block; }
.tl-ticks { flex: 1; display: flex; gap: 6px; min-width: 0; }
.tl-tick {
  flex: 0 1 44px; min-width: 14px; height: 44px; padding: 0; border: 0; background: none;
  display: flex; flex-direction: column; justify-content: center; gap: 9px; text-align: left; color: var(--muted);
  transition: flex-basis .8s cubic-bezier(.2, 1.25, .3, 1), color .3s;
}
.tl-tick[aria-current="true"] { flex: 0 0 180px; color: var(--ink); }
.tl-tick:hover { color: var(--ink); }
.tl-tick:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.tl-tick-bar { position: relative; display: block; width: 100%; height: 2px; border-radius: 2px; overflow: hidden; background: color-mix(in srgb, var(--ink) 14%, transparent); transition: transform .5s var(--tl-ease); }
.tl-tick:hover .tl-tick-bar { transform: scaleY(1.5); }
.tl-tick-bar::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--tl-ease), opacity .4s, background .4s; }
.tl-tick.is-past .tl-tick-bar::after { transform: scaleX(1); opacity: .35; }
.tl-tick[aria-current="true"] .tl-tick-bar::after { transform: scaleX(1); opacity: 1; background: var(--orange); }
.tl.is-playing .tl-tick[aria-current="true"] .tl-tick-bar::after { transform: scaleX(0); transition: none; }
.tl.is-playing .tl-tick.is-run .tl-tick-bar::after { animation: tl-fill 5s linear forwards; }
@keyframes tl-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tl-tick-label { font-size: 11px; font-weight: 600; letter-spacing: .12em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.tl-tick-name { display: none; }
.tl-tick[aria-current="true"] .tl-tick-name { display: inline; animation: tl-name-in 1.1s var(--tl-ease) .1s backwards; }
@keyframes tl-name-in { from { opacity: 0; letter-spacing: .34em; } }

/* Panneau « Dans ce look » */
.tl-panel { position: relative; min-width: 0; border-left: 1px solid var(--line); }
.tl-panel-in { position: absolute; inset: 0; display: flex; flex-direction: column; }
.tl-panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 40px 28px 14px; }
.tl-panel-head h3 { font-size: 20px; }
.tl-count { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tl-count.is-swap { animation: tl-fade .8s var(--tl-ease); }
@keyframes tl-fade { from { opacity: 0; transform: translateY(6px); } }
.tl-look { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.tl-items { list-style: none; margin: 0; padding: 4px 28px 16px; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.tl-item { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr) 44px; column-gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--tl-ease); }
.tl-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-sm); overflow: hidden; background: var(--soft); }
.tl-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--tl-ease); }
@media (hover: hover) {
  .tl-item:hover::after { transform: scaleX(1); }
  .tl-item:hover .tl-media img { transform: scale(1.07); }
}
.tl-num { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: #111; font-size: 10px; font-weight: 700; }
.tl-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tl-type { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-name { align-self: flex-start; font-size: 15px; font-weight: 600; line-height: 1.25; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .7s var(--tl-ease); }
.tl-name:hover { background-size: 100% 1px; }
.tl-price { display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
.tl-price s { font-size: 12px; color: var(--muted); }
.tl-sold { font-size: 12px; font-weight: 600; color: var(--red); }
.tl-add {
  position: relative; width: 44px; height: 44px; padding: 0; display: grid; place-items: center;
  border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
  transition: background .3s, border-color .3s, color .3s;
}
.tl-add svg { grid-area: 1 / 1; width: 20px; height: 20px; transition: transform .55s cubic-bezier(.2, 1.6, .4, 1), opacity .2s; }
.tl-add .i-check { opacity: 0; transform: scale(.4); }
.tl-add:hover { border-color: var(--ink); }
.tl-add:disabled { opacity: .4; cursor: not-allowed; }
.tl-add:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.tl-item.is-picking .tl-add { border-color: var(--ink); }
.tl-item.is-picking .tl-add .i-plus { transform: rotate(45deg); }
.tl-item.is-added .tl-add { background: var(--orange); border-color: var(--orange); color: #fff; cursor: default; }
.tl-item.is-added .tl-add .i-plus { opacity: 0; transform: scale(.4); }
.tl-item.is-added .tl-add .i-check { opacity: 1; transform: none; animation: tl-pop .6s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes tl-pop { 0% { transform: scale(.4); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.tl-picker { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; padding-top: 14px; animation: tl-drop .7s var(--tl-ease); }
@keyframes tl-drop { from { opacity: 0; transform: translateY(-8px); } }
.tl-opt-name { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.tl-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-pill {
  min-width: 44px; min-height: 40px; padding: 0 14px; border-radius: var(--pill);
  border: 1.5px solid var(--line); background: transparent; color: var(--ink); font-size: 13px; font-weight: 500;
  transition: background .3s, color .3s, border-color .3s, transform .45s var(--tl-spring);
}
.tl-pill:hover { border-color: var(--ink); }
.tl-pill[aria-checked="true"] { background: var(--teal); color: var(--on-teal); border-color: var(--teal); }
.tl-pill:active { transform: scale(.94); }
.tl-pill:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.btn.tl-confirm { min-height: 46px; font-size: 14px; }
.btn.tl-confirm:disabled { opacity: .45; cursor: not-allowed; --bg: var(--teal); --bd: var(--teal); }
.tl-bundle { display: flex; flex-direction: column; gap: 14px; padding: 18px 28px 26px; border-top: 1px solid var(--line); background: var(--card); }
.tl-msg { margin: 0; font-size: 13px; line-height: 1.45; color: var(--red); animation: tl-rise .6s var(--tl-ease); }
.tl-msg:empty { display: none; }
.tl-bundle-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.tl-bundle-title { display: block; font-size: 15px; font-weight: 600; }
.tl-bundle-note { font-size: 12px; color: var(--muted); }
.tl-bundle-price { font-size: 20px; font-weight: 700; white-space: nowrap; }
.btn.tl-cta { width: 100%; }
.tl-cta-done { display: none; }
.tl [hidden] { display: none !important; }

/* Entrée des pièces à chaque look */
.tl-look.is-in .tl-item { animation: tl-item-in 1.1s var(--tl-ease) backwards; animation-delay: calc(var(--i) * 85ms + 140ms); }
.tl-look.is-in .tl-media { animation: tl-curtain 1.2s var(--tl-ease) backwards; animation-delay: calc(var(--i) * 85ms + 200ms); }
.tl-look.is-in .tl-bundle-row { animation: tl-rise 1s var(--tl-ease) .38s backwards; }
.tl-look.is-in .tl-cta { animation: tl-rise 1s var(--tl-ease) .46s backwards; }
.tl-look.is-complete .tl-cta { --bg: var(--orange); --bd: var(--orange); animation: tl-glow 1.8s var(--tl-ease); }
.tl-look.is-complete .tl-cta-add, .tl-look.is-complete .tl-cta svg { display: none; }
.tl-look.is-complete .tl-cta-done { display: inline; animation: tl-rise .7s var(--tl-ease); }
@keyframes tl-item-in { from { opacity: 0; transform: translateY(26px); filter: blur(8px); } }
@keyframes tl-curtain { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes tl-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes tl-glow { from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--orange) 55%, transparent); } to { box-shadow: 0 0 0 16px transparent; } }

@media (max-width: 1100px) {
  .tl { grid-template-columns: minmax(0, 1fr) 340px; }
  .tl-tick[aria-current="true"] { flex-basis: 130px; }
}
@media (max-width: 900px) {
  .tl { grid-template-columns: 1fr; }
  .tl-stage { height: min(118vw, 580px); }
  .tl-panel { border-left: 0; border-top: 1px solid var(--line); }
  .tl-panel-in { position: static; }
  .tl-panel-head { padding: 24px 20px 10px; }
  .tl-items { padding: 4px 20px 12px; overflow: visible; }
  .tl-bundle { padding: 16px 20px 22px; }
}
@media (max-width: 640px) {
  .tl { border-radius: var(--r-lg); }
  .tl-head { padding: 26px 20px 0; }
  .tl-controls { gap: 8px; padding: 8px 14px 20px; }
  .tl-tick[aria-current="true"] { flex-basis: 44px; }
  .tl-tick-name { display: none !important; }
  .tl-tick:not([aria-current="true"]) .tl-tick-label { visibility: hidden; }
  .tl-item { grid-template-columns: 68px minmax(0, 1fr) 44px; column-gap: 12px; }
  .tl-name { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .tl *, .tl *::before, .tl *::after { animation: none !important; transition: none !important; }
  .tl .tl-head > *, .tl .tl-stage, .tl .tl-controls, .tl .tl-panel { transition: none !important; }
}

/* =====================================================================
   « CRÉER MON LOOK » — mannequin (look.html)
   Les blayes dyal les pièces f app.js → builder() → ZONES.
   ===================================================================== */
.lb {
  --lb-ease: cubic-bezier(.16, 1, .3, 1);
  --mq: #e3d6c1; --mq-line: #cdbda3;
  display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: clamp(16px, 2vw, 28px); align-items: start;
}
html[data-theme="dark"] .lb { --mq: #3b342b; --mq-line: #4b4237; }
.lb-stage-col { position: sticky; top: calc(var(--header-h) + 64px); }
.lb-stage {
  position: relative; display: flex; flex-direction: column; align-items: center;
  height: min(78vh, 820px); min-height: 520px; padding: 28px 20px 18px;
  background: var(--soft); border-radius: var(--r-xl); overflow: hidden; outline: none; touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
  background-image: radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--card) 80%, transparent), transparent 70%);
}
.lb-stage:focus-visible { box-shadow: inset 0 0 0 2px var(--orange); }
.lb-fig { position: relative; flex: 1 1 auto; min-height: 0; aspect-ratio: 2 / 5; max-width: 100%; }
.lb-mq { position: absolute; inset: 0; width: 100%; height: 100%; }
.lb-mq-body > * { fill: var(--mq); stroke: var(--mq-line); stroke-width: 2; }
.lb-mq-floor { fill: #000; opacity: .12; }
.lb-layer { position: absolute; pointer-events: none; }
.lb-layer img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: var(--pos);
  pointer-events: auto; cursor: pointer; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .22));
  transition: transform .5s var(--lb-ease), filter .3s;
}
.lb-layer img:hover { filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .22)) drop-shadow(0 0 0 var(--orange)) brightness(1.04); }
.lb-layer .lb-shoe { width: 50%; }
.lb-layer .lb-shoe-l { left: 0; right: auto; transform: scaleX(-1); }
.lb-layer .lb-shoe-r { left: auto; right: 0; }
.lb-layer img.in { animation: lb-in .7s var(--lb-ease) backwards; }
.lb-layer .lb-shoe-l.in { animation-name: lb-in-flip; }
.lb-layer img.out { animation: lb-out .4s ease forwards; pointer-events: none; }
.lb-layer .lb-shoe-l.out { animation-name: lb-out-flip; }
@keyframes lb-in { from { opacity: 0; transform: translateY(-22px) scale(1.04); filter: blur(6px); } }
@keyframes lb-in-flip { from { opacity: 0; transform: translateY(-22px) scaleX(-1.04) scaleY(1.04); filter: blur(6px); } }
@keyframes lb-out { to { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes lb-out-flip { to { opacity: 0; transform: translateY(14px) scaleX(-.96) scaleY(.96); } }

.lb-nav { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 420px; margin-top: 14px; position: relative; z-index: 9; }
.lb-nav-label { flex: 1; min-width: 0; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.lb-nav-label small { font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.lb-nav-label strong { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-shuffle {
  position: absolute; top: 16px; right: 16px; z-index: 9; display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 16px; border-radius: var(--pill); border: 1.5px solid var(--line);
  background: var(--card); color: var(--ink); font-size: 13px; font-weight: 600;
  transition: background .3s, color .3s, border-color .3s;
}
.lb-shuffle svg { width: 16px; height: 16px; transition: transform .6s var(--lb-ease); }
.lb-shuffle:hover { background: var(--teal); color: var(--on-teal); border-color: var(--teal); }
.lb-shuffle:hover svg { transform: rotate(180deg); }
.lb-shuffle:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* Panneau */
.lb-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.lb-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.lb-tab {
  position: relative; flex: 0 0 auto; min-height: 44px; padding: 0 18px; border-radius: var(--pill);
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font-size: 14px; font-weight: 600;
  transition: background .3s, color .3s, border-color .3s;
}
.lb-tab:hover { border-color: var(--ink); }
.lb-tab[aria-selected="true"] { background: var(--teal); color: var(--on-teal); border-color: var(--teal); }
.lb-tab:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.lb-tab i { position: absolute; top: 6px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.lb-tab.has i { opacity: 1; transform: none; }
.lb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lb-opt {
  display: flex; flex-direction: column; gap: 4px; padding: 8px 8px 10px; text-align: left;
  border-radius: var(--r-md); border: 1.5px solid transparent; background: var(--card); color: var(--ink);
  box-shadow: var(--shadow-sm); transition: border-color .3s, transform .3s var(--lb-ease);
}
.lb-opt:hover { transform: translateY(-2px); }
.lb-opt[aria-pressed="true"] { border-color: var(--orange); }
.lb-opt:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.lb-opt:disabled { opacity: .45; cursor: not-allowed; }
.lb-opt-media { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r-sm); background: var(--soft); padding: 8px; overflow: hidden; }
.lb-opt-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--lb-ease); }
.lb-opt:hover .lb-opt-media img { transform: scale(1.06); }
.lb-none .lb-opt-media svg { width: 40%; height: 40%; color: var(--muted); }
.lb-opt-name { font-size: 12.5px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lb-opt-price { font-size: 12px; color: var(--muted); }

.lb-summary { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow); }
.lb-sum-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.lb-sum-head h3 { font-size: 20px; }
.lb-rows { list-style: none; margin: 0; padding: 0; }
.lb-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 40px; column-gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.lb-row-media { aspect-ratio: 1; padding: 6px; border: 0; border-radius: var(--r-sm); background: var(--soft); cursor: pointer; }
.lb-row-media img { width: 100%; height: 100%; object-fit: contain; }
.lb-remove { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--muted); transition: color .3s, border-color .3s; }
.lb-remove svg { width: 16px; height: 16px; }
.lb-remove:hover { color: var(--ink); border-color: var(--ink); }
.lb-sizes { grid-column: 1 / -1; margin-top: 10px; gap: 6px; }
.lb-sizes .tl-pill { min-height: 34px; min-width: 40px; padding: 0 11px; font-size: 12px; }
.lb-row.need .lb-sizes { animation: lb-shake .5s; }
.lb-row.need .tl-pill { border-color: var(--red); }
@keyframes lb-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.btn.lb-share { width: 100%; min-height: 46px; font-size: 14px; }

@media (max-width: 1100px) { .lb { grid-template-columns: minmax(0, 1fr) 400px; } }
@media (max-width: 900px) {
  .lb { grid-template-columns: 1fr; }
  .lb-stage-col { position: relative; top: 0; }
  .lb-stage { height: min(140vw, 640px); min-height: 0; padding: 18px 14px 14px; border-radius: var(--r-lg); }
  .lb-tabs { position: sticky; top: calc(var(--header-h) + 4px); z-index: 20; background: var(--bg); padding: 8px 2px; margin: 0 -2px; }
  .lb-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .lb-opt { flex: 0 0 34%; scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .lb-shuffle { top: 10px; right: 10px; min-height: 36px; padding: 0 12px; font-size: 12px; }
  .lb-opt { flex-basis: 40%; }
  .lb-summary { padding: 18px 16px; border-radius: var(--r-lg); }
}
@media (prefers-reduced-motion: reduce) {
  .lb *, .lb *::before, .lb *::after { animation: none !important; transition: none !important; }
}
.tl-head .tl-own { display: inline-flex; margin-top: 14px; }

/* Personnages garçon / fille (Créer mon look) */
.lb-char { position: absolute; inset: 0; pointer-events: none; }
.lb-char.lb-face { z-index: 6; }
.lb-fig.swap .lb-char { animation: lb-char-in .6s var(--lb-ease); }
@keyframes lb-char-in { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
.lb-who {
  position: absolute; top: 16px; left: 16px; z-index: 9; display: flex; padding: 4px; gap: 2px;
  border-radius: var(--pill); background: var(--card); border: 1.5px solid var(--line);
}
.lb-who button {
  min-height: 34px; padding: 0 14px; border: 0; border-radius: var(--pill); background: transparent;
  color: var(--muted); font-size: 13px; font-weight: 600; transition: background .3s, color .3s;
}
.lb-who button:hover { color: var(--ink); }
.lb-who button[aria-checked="true"] { background: var(--teal); color: var(--on-teal); }
.lb-who button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
@media (max-width: 640px) {
  .lb-who { top: 10px; left: 10px; }
  .lb-who button { min-height: 30px; padding: 0 11px; font-size: 12px; }
}

/* =====================================================================
   LOGO TARZZA + « طرزة » (remplace طرزة)
   TARZZA = couleur du texte (noir / clair en mode sombre) · طرزة = doré
   ===================================================================== */
.logo-tz { display: block; height: 50px; width: auto; overflow: visible; }
.logo-tz .tz-lat { fill: var(--logo-lat); }
.logo-tz .tz-ar { fill: #e8af7c; }
.footer .logo-tz .tz-lat { fill: #f4e7d0; }
.footer .logo-tz { height: 54px; }
.mm-top .logo-tz { height: 34px; }
.logo-mark.tz-intro .tz-lat { animation: tz-lat .8s cubic-bezier(.16, 1, .3, 1) both; }
.logo-mark.tz-intro .tz-ar { transform-box: fill-box; transform-origin: 100% 50%; animation: tz-ar 1.1s cubic-bezier(.16, 1, .3, 1) .45s both; }
@keyframes tz-lat { from { opacity: 0; transform: translateY(8px); } }
@keyframes tz-ar { from { opacity: 0; transform: translateX(40px) scaleX(.6); filter: blur(3px); } }
@media (max-width: 900px) { .logo-tz { height: 38px; } }
@media (prefers-reduced-motion: reduce) { .logo-mark.tz-intro .tz-lat, .logo-mark.tz-intro .tz-ar { animation: none; } }

/* Personnage photo (Fille) — Créer mon look */
.lb-photo { position: absolute; top: 3%; height: 95%; width: auto; max-width: none; left: 50%; transform: translateX(-50%); pointer-events: none; user-select: none; }
.lb-photo-head { clip-path: inset(0 0 83% 0); }
