/* ==========================================================================
   Maison Zemmouri — feuille de style principale
   Les couleurs et polices sont centralisées dans :root ci-dessous :
   modifiez-les ici pour ajuster l'identité visuelle sur tout le site.
   ========================================================================== */

/* Polices hébergées sur le site (plus rapide que Google Fonts, aucune requête externe) */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/marcellus-latin-400-normal.woff2") format("woff2"); }

:root {
  /* Palette */
  --cream: #F6F1EA;      /* fond principal */
  --paper: #FFFDF9;      /* cartes, champs */
  --sand: #EDE4D8;       /* sections alternées */
  --line: #DDD1C1;       /* bordures */
  --ink: #1E1A16;        /* texte principal, fonds sombres */
  --ink-2: #3A332C;
  --muted: #6B6157;      /* texte secondaire (contraste AA sur --cream) */
  --bronze: #87522A;     /* accent texte (contraste AA sur --cream et --sand) */
  --ember: #D9772B;      /* accent flamme (sur fond sombre) */
  --wa: #15803D;         /* bouton WhatsApp (texte blanc, contraste AA) */
  --wa-hover: #116A32;
  --wa-float: #1DA851;
  --wa-text: #11692F;    /* vert pour du texte (« En stock ») */
  --danger: #A3341F;

  /* Typographie */
  --font-head: "Marcellus", Georgia, "Times New Roman", serif;          /* police des titres du site d'origine */
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; /* police du texte du site d'origine */

  /* Mise en page */
  --container: 1200px;
  --gutter: 24px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 12px 32px -14px rgba(30, 26, 22, .28);
  --shadow-sm: 0 4px 14px -6px rgba(30, 26, 22, .18);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
img.img-missing { opacity: 0; }
a { color: inherit; text-decoration-color: rgba(30, 26, 22, .35); text-underline-offset: 3px; }
a:hover { color: var(--bronze); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
main:focus { outline: none; }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: var(--cream);
  padding: 10px 16px; border-radius: var(--radius); text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--cream); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; justify-content: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }

.eyebrow {
  font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--bronze); margin: 0 0 .9rem;
}
.eyebrow--light { color: #F0B27A; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.6em; border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--font-body); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; line-height: 1.2; text-align: center; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.2em; height: 1.2em; }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--ink-2); color: var(--cream); }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-hover); color: #fff; box-shadow: 0 8px 20px -10px rgba(21, 128, 61, .7); }
.btn--sm { min-height: 42px; padding: .6em 1.15em; font-size: .78rem; }
.btn--lg { min-height: 58px; font-size: .95rem; letter-spacing: .1em; }
.btn--block { width: 100%; }
.btn--square { padding: 0; width: 42px; min-width: 42px; }
.btn--square .icon { width: 1.35em; height: 1.35em; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em; font-size: .82rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink); position: relative;
}
.icon-btn:hover { background: rgba(30, 26, 22, .06); }
.icon-btn .icon { width: 22px; height: 22px; }

/* ---------- Bandeau + en-tête ---------- */
.topbar { background: var(--ink); color: #EFE6DA; font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__msg, .topbar__wa { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.topbar__wa { color: #EFE6DA; text-decoration: none; }
.topbar__wa:hover { color: #fff; text-decoration: underline; }
.topbar .icon { width: 16px; height: 16px; color: var(--ember); }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 234, .96);
  backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo { gap: 10px; }
.logo__img { width: auto; height: 46px; flex: none; }
.logo__text {
  display: flex; flex-direction: column; font-family: var(--font-body); font-weight: 600;
  font-size: 1.02rem; line-height: 1.05; letter-spacing: .03em; text-transform: uppercase; color: #56555A;
}
.logo:hover .logo__text { color: #3E3D41; }
.logo--light .logo__text, .logo--light:hover .logo__text { color: #F6F1EA; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a:not(.btn) {
  display: block; padding: 10px 12px; text-decoration: none; font-size: .9rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink); position: relative;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--bronze);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--bronze); }
.main-nav__wa { display: none; }
.nav-toggle { display: none; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.cart-btn__count {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--bronze); color: #fff; font-size: .72rem; font-weight: 600; line-height: 20px; text-align: center;
}
.cart-btn__count[data-empty="true"] { display: none; }

/* ---------- Sections génériques ---------- */
.section { padding: clamp(64px, 6vw, 104px) 0; }
.section--tight { padding: clamp(40px, 4vw, 64px) 0; }
.section--sand { background: var(--sand); }
.section-head { max-width: 680px; margin: 0 auto clamp(32px, 4vw, 52px); text-align: center; }
.section-head p:last-child { color: var(--muted); margin-bottom: 0; }
.section-cta { text-align: center; margin-top: clamp(32px, 4vw, 48px); }

.ticks { display: grid; gap: 10px; margin: 0 0 1.4em; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--bronze); margin-top: .2em; width: 1.1em; height: 1.1em; }
.ticks--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }

/* ---------- Accueil : héros ---------- */
.hero { padding: clamp(40px, 5vw, 80px) 0 clamp(56px, 6vw, 96px); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: var(--ink-2); }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof .icon { color: var(--wa-text); width: 1.05em; height: 1.05em; }
.hero__media { position: relative; }
.hero__media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--bronze); z-index: 0;
}
.hero__media img {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 768 / 681; object-fit: cover;
  background: var(--sand); box-shadow: var(--shadow);
}

/* ---------- Accueil : blocs « style » ---------- */
.features__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.feature__media { overflow: hidden; margin-bottom: 22px; background: var(--sand); }
.feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.04); }
.feature__title { font-size: 1.5rem; }
.feature p { color: var(--muted); }

/* ---------- Grille produits + carte ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.grid-products--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card[hidden] { display: none; }
.card__media { position: relative; display: block; background: var(--sand); overflow: hidden; }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__badge {
  position: absolute; left: 12px; top: 12px; background: rgba(30, 26, 22, .85); color: var(--cream);
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 2px;
}
.card__badge--oos { left: auto; right: 12px; background: var(--danger); }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; flex: 1; }
.card__family { margin: 0; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); }
.card__title { font-size: 1.12rem; line-height: 1.35; margin: 0; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; }
.card__price { margin: 2px 0 14px; font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.card__actions { margin-top: auto; display: flex; gap: 8px; }
.card__actions .btn:first-child { flex: 1; white-space: nowrap; letter-spacing: .08em; }

/* ---------- Accueil : choisir ---------- */
.choose__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); }
.choose-card { background: var(--paper); border: 1px solid var(--line); padding: clamp(28px, 3vw, 44px); border-radius: var(--radius); }
.choose-card__icon { width: 42px; height: 42px; color: var(--bronze); margin-bottom: 16px; }
.choose-card p { color: var(--muted); }
.choose-card--dark { background: var(--ink); color: #E9E0D4; border-color: var(--ink); }
.choose-card--dark h3 { color: var(--cream); }
.choose-card--dark p { color: #CFC4B6; }
.choose-card--dark .choose-card__icon, .choose-card--dark .ticks .icon { color: var(--ember); }

/* ---------- Accueil : expérience / à propos ---------- */
.experience__inner, .about-teaser__inner, .split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); align-items: center;
}
.experience__media img { width: 100%; box-shadow: var(--shadow); background: var(--sand); }
.experience__text p { color: var(--ink-2); }

.about-teaser__media, .collage { position: relative; padding: 0 12% 14% 0; }
.about-teaser__img1, .collage__a { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; background: var(--cream); }
.about-teaser__img2, .collage__b {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover;
  border: 8px solid var(--sand); background: var(--cream);
}
.collage__b { border-color: var(--cream); }
.about-teaser__text p, .split__text p { color: var(--ink-2); }
.about-teaser__cta { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 28px; }

.banner {
  position: relative; isolation: isolate; color: var(--cream); padding: clamp(80px, 10vw, 150px) 0; text-align: center;
  background-color: var(--ink); background-position: center; background-size: cover; background-repeat: no-repeat;
}
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(20, 16, 12, .62), rgba(20, 16, 12, .74)); }
.banner__inner { max-width: 760px; }
.banner h2 { color: var(--cream); }
.banner p { color: #E6DCCF; font-size: 1.1rem; margin-bottom: 28px; }

.reviews__inner { max-width: 760px; text-align: center; }
.reviews__inner p { color: var(--muted); }

/* ---------- Services ---------- */
.services { background: var(--ink); color: #DDD3C6; padding: 44px 0; }
.services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.service { display: flex; gap: 14px; align-items: flex-start; }
.service__icon { width: 34px; height: 34px; color: var(--ember); flex: none; }
.service h3 { color: var(--cream); font-size: 1.05rem; margin-bottom: .3em; }
.service p { margin: 0; font-size: .92rem; color: #C9BEB0; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--font-head); font-size: 1.15rem; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item summary:hover { color: var(--bronze); }
.faq-item__body { padding: 0 0 20px; color: var(--ink-2); }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group__title { font-size: 1.5rem; margin-bottom: .4em; }

/* ---------- En-tête de page + fil d'Ariane ---------- */
.page-hero { background: var(--sand); padding: clamp(28px, 4vw, 48px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: .35em; }
.page-hero__lead { max-width: 720px; color: var(--ink-2); font-size: 1.08rem; margin: 0; }
.breadcrumb { font-size: .85rem; color: var(--muted); padding: 18px 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--bronze); text-decoration: underline; }
.page-hero .breadcrumb { padding-top: 0; }

/* ---------- Boutique : barre d'outils ---------- */
.category-intro { max-width: 860px; margin-bottom: 36px; color: var(--ink-2); }
.toolbar {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "search sort" "chips price";
  gap: 14px 20px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
}
.toolbar__search { position: relative; grid-area: search; }
.toolbar .chips { grid-area: chips; }
.toolbar__price { grid-area: price; justify-self: end; }
.toolbar__sort { grid-area: sort; }
.toolbar__search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.toolbar input, .toolbar select, .field input, .field select, .field textarea, .qty input {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.toolbar input:focus, .toolbar select:focus, .field input:focus, .field select:focus, .field textarea:focus, .qty input:focus {
  outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(156, 95, 46, .18);
}
.toolbar__search input { padding-left: 44px; }
.toolbar__price { display: flex; align-items: center; gap: 8px; }
.toolbar__price input { width: 96px; }
.toolbar__sort { display: flex; align-items: center; gap: 10px; }
.toolbar__label { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: .85rem; font-weight: 500; transition: all .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.result-count { margin: 18px 0 20px; color: var(--muted); font-size: .92rem; }
.empty-state { text-align: center; padding: 48px 16px; border: 1px dashed var(--line); border-radius: var(--radius); }
.help-band__inner, .cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; }
.help-band__inner h2, .cta-band h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.help-band__inner p, .cta-band p { margin: 0; color: var(--ink-2); max-width: 620px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* ---------- Fiche produit ---------- */
.product { padding: 8px 0 clamp(40px, 5vw, 72px); }
.product__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__main { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery__zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
@media (min-width: 961px) { .gallery__main img { max-height: calc(100vh - var(--header-h) - 150px); } }
.gallery__main img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; transition: opacity .25s; }
.gallery__main img.is-loading { opacity: .4; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.thumb {
  flex: none; width: 76px; padding: 0; border: 2px solid transparent; border-radius: var(--radius);
  background: #fff; overflow: hidden; opacity: .75; transition: opacity .2s, border-color .2s;
  outline: 1px solid var(--line); outline-offset: -1px;
}
.thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.thumb:hover { opacity: 1; }
.thumb.is-active { border-color: var(--ink); opacity: 1; }

.product__summary .eyebrow { margin-bottom: .6rem; }
.product__title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin-bottom: .4em; }
.product__price { font-size: 1.6rem; font-weight: 600; margin: 0 0 4px; color: var(--ink); }
.product__ref { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.product__intro { color: var(--ink-2); }
.product__dims { display: flex; align-items: center; gap: 10px; font-weight: 500; margin: 8px 0 12px; }
.product__dims .icon { color: var(--bronze); }

.buy { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 8px; }
.sizes { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.sizes__legend { font-weight: 600; margin-bottom: 12px; padding: 0; }
.sizes__legend span { font-weight: 400; color: var(--muted); }
.sizes.is-invalid .sizes__legend span { color: var(--danger); font-weight: 600; }
.sizes__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.size {
  position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s;
}
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size__label { font-size: .9rem; font-weight: 500; }
.size__price { font-size: .85rem; color: var(--muted); }
.size:hover { border-color: var(--ink); }
.size:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #FBF7F1; }
.size.is-checked { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #FBF7F1; }
.size:has(input:focus-visible) { outline: 2px solid var(--bronze); outline-offset: 2px; }
.size.is-oos { cursor: not-allowed; opacity: .6; background: var(--cream); }
.size.is-oos .size__label { text-decoration: line-through; }
.size__oos { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--danger); }

.stock { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); margin: 0 0 16px; min-height: 1.6em; }
.stock--in { color: var(--wa-text); font-weight: 500; }
.stock--out { color: var(--danger); font-weight: 500; }
.stock .icon { width: 1.1em; height: 1.1em; }

.buy__row { display: flex; gap: 12px; align-items: flex-end; margin-bottom: 12px; }
.qty__label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.qty__ctrl { display: flex; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.qty__ctrl input { width: 56px; min-height: 48px; border: 0; text-align: center; padding: 0; -moz-appearance: textfield; }
.qty__ctrl input::-webkit-outer-spin-button, .qty__ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__btn { width: 44px; border: 0; background: transparent; display: grid; place-items: center; }
.qty__btn:hover { background: var(--cream); }
.qty__btn .icon { width: 16px; height: 16px; }
.buy__cart { flex: 1; }
.buy__hint { font-size: .88rem; color: var(--muted); margin: 10px 0 0; }
.buy__error { color: var(--danger); font-weight: 500; margin: 10px 0 0; }

.reassurance { margin-top: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 10px; }
.reassurance li { display: flex; gap: 12px; align-items: center; font-size: .94rem; }
.reassurance .icon { color: var(--wa); width: 20px; height: 20px; }

.tabs__list { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; }
.tabs__list [role="tab"] {
  flex: none; padding: 14px 18px; border: 0; background: none; border-bottom: 2px solid transparent; margin-bottom: -1px;
  font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.tabs__list [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tabs__list [role="tab"]:hover { color: var(--ink); }
.tabs__panel { max-width: 920px; }
.tabs__panel + .tabs__panel { margin-top: 40px; }
.tabs.is-ready .tabs__panel + .tabs__panel { margin-top: 0; }
.tabs.is-ready .tabs__title { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tabs__panel h3 { font-size: 1.2rem; margin-top: 1.2em; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .94rem; white-space: nowrap; }
.table thead th { background: var(--sand); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table tbody th { font-weight: 500; white-space: normal; }
.table tr.is-current { background: #FBF4EA; }

.sticky-buy { display: none; }

/* ---------- À propos ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.why { background: var(--paper); border: 1px solid var(--line); padding: 28px 24px; border-radius: var(--radius); }
.why__icon { width: 36px; height: 36px; color: var(--bronze); margin-bottom: 14px; }
.why p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Galerie ---------- */
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry__item { break-inside: avoid; margin-bottom: 16px; }
.masonry__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; overflow: hidden; border-radius: var(--radius); }
.masonry__btn img { width: 100%; height: auto; transition: transform .5s var(--ease), opacity .3s; }
.masonry__btn:hover img { transform: scale(1.03); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.contact-card {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 16px; align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
}
.contact-card > * { grid-column: 2; }
.contact-card > .contact-card__icon { grid-column: 1; grid-row: 1 / span 4; margin: 2px 0 0; }
.contact-card .btn { justify-self: start; }
.contact-card h2 { font-size: 1.15rem; margin-bottom: .4em; }
.contact-card p { margin-bottom: .8em; word-break: break-word; }
.contact-card__icon { width: 30px; height: 30px; color: var(--bronze); }
.contact-card .footer-hours { color: var(--ink-2); }
.contact-form-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 40px); }
.contact-form { display: grid; gap: 16px; margin-top: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.form-error { color: var(--danger); font-weight: 500; margin: 0; }
.contact-form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.25) sepia(.1); }

/* ---------- Pied de page ---------- */
.site-footer { background: #15120F; color: #CDC3B6; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; padding: 64px var(--gutter) 48px; }
.footer-brand p { margin: 18px 0 20px; max-width: 34ch; color: #B9AE9F; }
.footer-title { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); margin-bottom: 18px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a, .footer-contact a { color: #CDC3B6; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; word-break: break-word; }
.footer-contact .icon { color: var(--ember); margin-top: .2em; width: 18px; height: 18px; }
.footer-hours { display: grid; gap: 6px; margin-bottom: 18px; }
.footer-hours li { display: flex; justify-content: space-between; gap: 12px; }
.social { display: flex; gap: 10px; }
.social a {
  display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #3A332C; border-radius: 50%;
  color: #E6DCCF; transition: all .2s;
}
.social a:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.social .icon { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid #2A241E; }
.footer-bottom__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px var(--gutter); font-size: .82rem; color: #9C9184; }
.footer-bottom p { margin: 0; }

/* ---------- Bouton WhatsApp flottant ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa-float); color: #fff; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .45);
  transition: transform .2s var(--ease), background .2s;
}
.wa-float:hover { transform: scale(1.06); background: var(--wa); color: #fff; }
.wa-float .icon { width: 32px; height: 32px; }

/* ---------- Recherche ---------- */
.search-dialog { position: fixed; inset: 0; z-index: 90; background: rgba(20, 16, 12, .45); }
.search-dialog[hidden] { display: none; }
.search-dialog__panel { background: var(--cream); padding: 22px 0; box-shadow: var(--shadow); animation: slideDown .25s var(--ease); }
.search-form { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 10px; }
.search-form > .icon { width: 24px; height: 24px; color: var(--muted); }
.search-form input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 1.25rem; padding: 8px 0; }
.search-form input:focus { outline: none; }
.search-suggest { margin-top: 12px; display: grid; gap: 4px; }
.search-suggest a { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: var(--radius); text-decoration: none; }
.search-suggest a:hover, .search-suggest a:focus-visible { background: var(--sand); }
.search-suggest img { width: 64px; aspect-ratio: 3 / 2; object-fit: cover; background: var(--sand); border-radius: 2px; }
.search-suggest small { display: block; color: var(--muted); }
@keyframes slideDown { from { transform: translateY(-16px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Panier (tiroir) ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(20, 16, 12, .5); animation: fadeIn .2s; }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--cream);
  display: flex; flex-direction: column; box-shadow: var(--shadow); animation: slideIn .28s var(--ease);
}
.drawer__panel:focus { outline: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.4rem; margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; background: var(--paper); }
.drawer__foot[hidden] { display: none; }
.drawer__total { display: flex; justify-content: space-between; font-size: 1.15rem; margin-bottom: 6px; }
.drawer__note { font-size: .84rem; color: var(--muted); }
.drawer__form { display: grid; gap: 10px; }
.drawer__form .field label { font-size: .78rem; margin-bottom: 4px; }
.drawer__form .field input { min-height: 42px; }
.cart-empty { text-align: center; padding: 48px 0; color: var(--muted); }
.cart-empty .btn { margin-top: 12px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-item img { width: 76px; aspect-ratio: 1; object-fit: cover; background: var(--sand); border-radius: 2px; }
.cart-item__name { font-weight: 500; line-height: 1.35; margin: 0 0 2px; font-size: .95rem; }
.cart-item__name a { text-decoration: none; }
.cart-item__meta { font-size: .82rem; color: var(--muted); margin: 0 0 8px; }
.cart-item__qty { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cart-item__qty button { width: 32px; height: 32px; border: 0; background: none; display: grid; place-items: center; }
.cart-item__qty button .icon { width: 14px; height: 14px; }
.cart-item__qty span { min-width: 28px; display: grid; place-items: center; font-size: .9rem; }
.cart-item__price { font-weight: 600; white-space: nowrap; font-size: .95rem; }
.cart-item__remove { margin-top: 6px; border: 0; background: none; color: var(--muted); font-size: .8rem; display: inline-flex; gap: 4px; align-items: center; padding: 4px 0; }
.cart-item__remove:hover { color: var(--danger); }
.cart-item__remove .icon { width: 14px; height: 14px; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Visionneuse ---------- */
.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(12, 10, 8, .94); display: grid; place-items: center; padding: 60px 72px; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; margin: 0 auto; object-fit: contain; }
.lightbox__figure figcaption { color: #CFC4B6; font-size: .9rem; margin-top: 12px; }
.lightbox .icon-btn { color: #fff; position: absolute; background: rgba(255, 255, 255, .08); }
.lightbox .icon-btn:hover { background: rgba(255, 255, 255, .18); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox__nav[hidden] { display: none; }

/* ---------- Notification ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: var(--radius); font-size: .92rem;
  display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); transition: all .25s var(--ease); max-width: calc(100% - 32px);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { border: 0; background: none; color: #F0B27A; font-weight: 600; text-decoration: underline; padding: 4px 0; }

/* ---------- 404 ---------- */
.notfound { min-height: 50vh; display: grid; align-items: center; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Confiance (livraison, paiement, garantie) ---------- */
.product__trust {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 18px;
}
.product__trust li {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px;
  background: #EEF6F0; color: var(--wa-text); border-radius: 999px; font-size: .84rem; font-weight: 500;
}
.product__trust .icon { width: 17px; height: 17px; }
.reassurance__more a { font-size: .9rem; color: var(--bronze); font-weight: 500; }
.footer-title--spaced { margin-top: 28px; }
.category-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 18px; }

/* ---------- Pages d'information (livraison, confidentialité) ---------- */
.info-page h2 { font-size: 1.5rem; margin-top: 1.6em; }
.info-page .info-cards { margin-bottom: 8px; }
.info-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.info-card h2 { font-size: 1.15rem; margin: 10px 0 8px; }
.info-card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.info-card__icon { width: 32px; height: 32px; color: var(--wa-text); }
.steps { list-style: decimal; padding-left: 1.3em; display: grid; gap: 10px; margin-bottom: 1.4em; }
.steps li { padding-left: 4px; }
.steps a, .info-page p a { color: var(--bronze); }
.cta-inline { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.table--compare td, .table--compare th { white-space: normal; vertical-align: top; }
.table--compare a { color: var(--ink); }
.footer-bottom a { color: #9C9184; }
.footer-bottom a:hover { color: #fff; }
