/* ============================================================
   COUMAO — Feuille de style
   ============================================================ */

/* Rend l'attribut hidden fiable, même sur les éléments qui ont
   un display explicite (boutons, champs de formulaire, etc.). */
[hidden] { display: none !important; }

:root {
  --bg:        #f7f3ec;   /* fond crème */
  --bg-soft:   #efe9dd;
  --ink:       #23281f;   /* texte principal (vert très foncé) */
  --ink-soft:  #5f5d54;   /* texte secondaire */
  --accent:    #34432e;   /* vert forêt profond */
  --accent-dk: #26301f;
  --gold:      #b3833f;   /* doré (sur-titres) */
  --line:      #e4ddcf;
  --white:     #ffffff;
  --shadow:    0 8px 30px rgba(50, 55, 40, 0.10);
  --radius:    16px;
  --maxw:      1180px;
  --font-title: "Georgia", "Times New Roman", serif;
  --font-body:  "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

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

/* ---------------- En-tête ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 241, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  height: 68px;
}
.brand { margin-right: auto; }        /* pousse la nav + le panier à droite (ordinateur) */
/* Bouton menu (burger) — caché sur ordinateur, visible sur mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1.7rem;
  letter-spacing: 0.3px;
  font-weight: 500;
  color: var(--ink);
}
.brand-icon { width: 26px; height: 26px; color: var(--accent); flex: none; }
.brand-logo {
  height: 54px;
  width: auto;
  display: block;
  /* le logo est noir sur fond blanc : multiply fait disparaître le blanc
     pour qu'il se fonde dans l'en-tête crème */
  mix-blend-mode: multiply;
}
.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  margin-left: 30px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: color .2s;
}
.nav a:hover,
.nav a.active { color: var(--ink); }
.nav-simple {
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s;
}
.nav-simple:hover { color: var(--ink); }

/* ---------------- Héro ---------------- */
.hero { padding: 66px 0 84px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.hero h1 {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  margin: 0 0 24px;
  line-height: 1.06;
  letter-spacing: -0.5px;
  text-wrap: balance;
}
.hero p.lead {
  max-width: 480px;
  margin: 0 0 34px;
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.75;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  border-radius: 6px;
  padding: 15px 26px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: #f4f1e8;
  border: 1px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-dk); border-color: var(--accent-dk); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #f4f1e8; }

.hero-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(50, 55, 40, 0.22);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------- Section vidéo ---------------- */
.showcase {
  padding: 30px 0 20px;
  text-align: center;
}
.showcase-eyebrow {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.showcase h2 {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0 0 10px;
}
.showcase-sub {
  color: var(--ink-soft);
  margin: 0 auto 26px;
  max-width: 560px;
}
.showcase-video {
  max-width: 820px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(60, 40, 20, 0.18);
  background: #000;
}
.showcase-video video {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------------- Grille produits ---------------- */
.collection { padding: 40px 0 90px; }
.collection-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 26px;
  flex-wrap: wrap;
  gap: 8px;
}
.collection-head h2 {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 1.7rem;
  margin: 0;
}
.collection-head .count { color: var(--ink-soft); font-size: 0.9rem; }

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

/* ---------------- Carte produit ---------------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(70, 50, 35, 0.16);
}

.gallery {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-soft);
  overflow: hidden;
}
.gallery .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .45s ease;
}
.gallery .slide.active { opacity: 1; }

/* Flèches */
.gallery .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .2s, background .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.gallery:hover .arrow { opacity: 1; }
.gallery .arrow:hover { background: var(--white); }
.gallery .arrow.prev { left: 10px; }
.gallery .arrow.next { right: 10px; }

/* Points indicateurs */
.dots {
  position: absolute;
  bottom: 12px;
  left: 0; right: 0;
  display: flex;
  gap: 7px;
  justify-content: center;
}
.dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.dots button.active {
  background: var(--white);
  transform: scale(1.35);
}

/* Étiquette "3 photos" */
.photo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(46,42,38,0.72);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: .5px;
  padding: 4px 9px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-body { padding: 16px 18px 20px; }
.card-body h3 {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 1.15rem;
  margin: 0 0 4px;
}
.card-body .desc {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0 0 12px;
  min-height: 1.2em;
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price { font-weight: 600; color: var(--accent-dk); }
.price:empty::before { content: ""; }
.price-old {
  text-decoration: line-through;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.85em;
  margin-right: 8px;
}
.price-sale { color: #b5794f; font-weight: 700; }
.view-btn {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.view-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Bouton "Commander" (carte produit) */
.buy-btn {
  display: block;
  margin-top: 12px;
  text-align: center;
  border-radius: 8px;
  padding: 12px 16px;
}

/* Accessoires en option (cases à cocher sous les sacs) */
.addons {
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.addons-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .4px;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.addon {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  cursor: pointer;
}
.addon input { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.lb-buy { margin-top: 18px; }
.lb-buy .btn { border-radius: 8px; }

/* ---------------- Lightbox (plein écran) ---------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(30, 24, 18, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lb-inner {
  max-width: 900px;
  width: 100%;
  text-align: center;
}
.lb-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 74vh;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.lb-stage img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .35s;
}
.lb-stage img.active { opacity: 1; }
.lb-title {
  color: #fff;
  font-family: var(--font-title);
  font-size: 1.4rem;
  margin: 18px 0 4px;
}
.lb-sub { color: #d9cdbf; font-size: 0.9rem; }
.lb-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}
.lb-thumbs img {
  width: 62px; height: 62px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: .55;
  border: 2px solid transparent;
  transition: opacity .2s, border-color .2s;
}
.lb-thumbs img.active { opacity: 1; border-color: #fff; }
.lb-close {
  position: absolute;
  top: 18px; right: 22px;
  background: none; border: none;
  color: #fff; font-size: 2rem;
  cursor: pointer; line-height: 1;
}
.lb-arrow {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff; font-size: 1.4rem;
  cursor: pointer;
}
.lb-arrow:hover { background: rgba(255,255,255,0.3); }
.lb-arrow.prev { left: -6px; }
.lb-arrow.next { right: -6px; }

/* ---------------- Bandeau "commandes fermées" ---------------- */
.shop-banner {
  background: #9a3b32;
  color: #fdecea;
  text-align: center;
  padding: 12px 18px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.shop-banner strong { color: #fff; }
/* Boutons d'achat désactivés quand la boutique est fermée */
.buy-btn:disabled,
.btn:disabled,
.cart-pay:disabled {
  background: #b7b2a6 !important;
  border-color: #b7b2a6 !important;
  color: #f4f1e8 !important;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------------- En-tête : groupe de droite + panier ---------------- */
.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #f4f1e8;
  border: none;
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
  transition: background .2s;
}
.cart-btn:hover { background: var(--accent-dk); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------------- Onglets de la boutique ---------------- */
/* Onglets intégrés dans le menu du haut (à côté de « Accueil ») */
.nav .tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 0;
}
.nav .tab {
  border: none;
  background: none;
  border-radius: 0;
  padding: 0;
  margin-left: 30px;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color .2s;
}
.nav .tab:hover { color: var(--ink); border-color: transparent; background: none; }
.nav .tab.active {
  color: var(--ink);
  background: none;
  border-color: transparent;
  font-weight: 600;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}
.tab {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.tab:hover { color: var(--ink); border-color: var(--accent); }
.tab.active {
  background: var(--accent);
  color: #f4f1e8;
  border-color: var(--accent);
}
.tab-sub {
  color: var(--ink-soft);
  margin: 0 0 26px;
  font-size: 0.95rem;
}

/* ---------------- Blocs de collection ---------------- */
.collection-block { margin-bottom: 64px; }
.collection-block:last-child { margin-bottom: 0; }
.collection-sub {
  color: var(--ink-soft);
  margin: -14px 0 26px;
  max-width: 640px;
}
.collection-empty {
  color: var(--ink-soft);
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
}

/* ---------------- Panier (tiroir latéral) ---------------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 24, 18, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
  z-index: 90;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: 400px;
  max-width: 92vw;
  background: var(--bg);
  box-shadow: -12px 0 40px rgba(50, 55, 40, 0.18);
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 95;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.cart-head h2 {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0;
}
.cart-close {
  background: none; border: none;
  font-size: 1.8rem; line-height: 1;
  color: var(--ink-soft); cursor: pointer;
}
.cart-list { flex: 1; overflow-y: auto; padding: 12px 22px; }
.cart-empty { color: var(--ink-soft); text-align: center; margin-top: 50px; line-height: 1.8; }

.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-thumb {
  width: 56px; height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--bg-soft);
}
.cart-info { min-width: 0; }
.cart-name { font-size: 0.9rem; font-weight: 600; line-height: 1.25; }
.cart-price { font-size: 0.85rem; color: var(--accent-dk); margin-top: 2px; }
.cart-price em { color: var(--ink-soft); font-style: italic; }
.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-qty .qty {
  width: 26px; height: 26px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: var(--ink);
}
.cart-qty .qty:hover { border-color: var(--accent); color: var(--accent); }
.cart-qty span { min-width: 16px; text-align: center; font-variant-numeric: tabular-nums; }
.cart-remove {
  background: none; border: none;
  font-size: 1.2rem; color: var(--ink-soft);
  cursor: pointer; padding: 0 2px;
}
.cart-remove:hover { color: #b5443a; }

.cart-foot { padding: 18px 22px; border-top: 1px solid var(--line); }
.cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cart-total strong { font-size: 1.25rem; font-family: var(--font-title); }
.cart-partial { font-size: 0.72rem; color: var(--ink-soft); font-weight: 400; }
.cart-pay { width: 100%; border: none; }
.cart-clear {
  width: 100%;
  margin-top: 8px;
  background: none;
  border: none;
  color: var(--ink-soft);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 6px;
}
.cart-clear:hover { color: #b5443a; text-decoration: underline; }

/* ---------------- Page de personnalisation (sur mesure) ---------------- */
.cz-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(30, 24, 18, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}
.cz-overlay.open { display: flex; }
.cz-modal {
  position: relative;
  background: var(--bg);
  border-radius: 18px;
  overflow: hidden;
  width: 100%;
  max-width: 860px;
  display: grid;
  grid-template-columns: 42% 58%;
  box-shadow: 0 30px 70px rgba(50, 55, 40, 0.3);
  max-height: 92vh;
}
.cz-close {
  position: absolute;
  top: 12px; right: 14px;
  background: rgba(255,255,255,0.85);
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1.5rem; line-height: 1;
  cursor: pointer;
  color: var(--ink);
  z-index: 2;
}
.cz-media { background: var(--bg-soft); }
.cz-media img { width: 100%; height: 100%; object-fit: cover; }
.cz-panel { padding: 26px 26px 22px; overflow-y: auto; }
.cz-title {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0 0 6px;
}
.cz-sub { color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 18px; }
.cz-form { display: flex; flex-direction: column; gap: 14px; }
.cz-field { display: flex; flex-direction: column; gap: 6px; }
.cz-label { font-size: 0.88rem; font-weight: 600; }
.cz-req { color: var(--gold); font-style: normal; }
.cz-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-size: 0.92rem;
  background: var(--white);
  color: var(--ink);
}
.cz-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
textarea.cz-input { resize: vertical; }
.cz-actions { margin-top: 20px; }
.cz-submit { width: 100%; border: none; }
.cz-note { text-align: center; color: var(--ink-soft); font-size: 0.8rem; margin: 10px 0 0; }

@media (max-width: 680px) {
  .cz-modal { grid-template-columns: 1fr; }
  .cz-media { height: 190px; }
}

/* ---------------- Bandeau "à propos" ---------------- */
.about {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 66px 0;
  text-align: center;
}
.about h2 {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 1.8rem;
  margin: 0 0 14px;
}
.about p {
  max-width: 620px; margin: 0 auto 14px;
  color: var(--ink-soft);
}
.about p:last-child { margin-bottom: 0; }

/* ---------------- Pied de page ---------------- */
.site-footer {
  padding: 40px 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.site-footer .brand { font-size: 1.2rem; margin-bottom: 8px; }
.social {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 14px 0 6px;
}
.social a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s ease, transform 0.15s ease;
}
.social a:hover { color: var(--accent); transform: translateY(-1px); }
.social svg { width: 22px; height: 22px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .hero-media {
    order: -1;
    max-width: 460px;
    margin: 0 auto;
    aspect-ratio: 3 / 3.4;
    width: 100%;
  }
  .hero { padding: 42px 0 60px; }
}
/* En-tête sur mobile : menu ☰ à gauche, GROS logo au centre, panier à droite ;
   la navigation s'ouvre en menu déroulant plein largeur. */
@media (max-width: 700px) {
  .site-header .wrap {
    flex-wrap: wrap;
    height: auto;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    row-gap: 0;
  }
  .nav-toggle { display: flex; order: 1; }
  .brand {
    order: 2;
    flex: 1;                 /* prend la place au centre */
    justify-content: center; /* logo centré */
    margin: 0;
  }
  .brand-logo { height: 78px; }   /* logo en grand */
  #cart-btn { order: 3; flex: none; }
  .nav {
    order: 4;
    flex-basis: 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height .3s ease, opacity .2s ease, margin-top .3s ease;
  }
  .site-header.nav-open .nav {
    max-height: 80vh;
    opacity: 1;
    margin-top: 6px;
    overflow-y: auto;
  }
  .tabs { display: flex; flex-direction: column; width: 100%; }
  .nav a,
  .nav .tab {
    display: block;
    width: 100%;
    text-align: left;
    margin: 0;
    padding: 13px 6px;
    font-size: 1.02rem;
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .btn { flex: 1 1 auto; text-align: center; }
  .brand-logo { height: 70px; }
}

/* ---------------- Panier : choix Livraison / Retrait ---------------- */
.cart-mode {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0 12px;
}
.cart-mode-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: border-color .2s, background .2s;
}
.cart-mode-opt:hover { border-color: var(--accent); }
.cart-mode-opt input { accent-color: var(--accent); }

/* ---------------- Fenêtre de réservation (retrait sur place) ---------------- */
.resa-overlay {
  position: fixed;
  inset: 0;
  background: rgba(40, 28, 18, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  z-index: 60;
}
.resa-overlay.open { opacity: 1; pointer-events: auto; }
.resa-modal {
  position: fixed;
  z-index: 61;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: min(440px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 18px;
  padding: 26px 24px 24px;
  box-shadow: 0 24px 70px rgba(60, 40, 20, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.resa-modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.resa-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: none;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-soft);
}
.resa-modal h2 { font-family: var(--font-title); font-weight: 500; margin: 0 0 6px; }
.resa-sub { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 16px; }
.resa-field { display: block; margin-bottom: 12px; }
.resa-field > span { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.resa-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: var(--bg);
}
.resa-hint { font-size: 0.78rem; color: var(--ink-soft); margin: 2px 0 14px; }
.resa-send { width: 100%; }
.resa-ok {
  text-align: center;
  padding: 18px 8px;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
}

/* ---------------- Bandeau de confirmation de commande ---------------- */
.order-banner {
  position: relative;
  background: #2f6b3a;
  color: #f4f1e8;
  text-align: center;
  padding: 14px 44px;
  font-size: 0.98rem;
  line-height: 1.5;
}
.order-banner-x {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: #f4f1e8;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------------- Onglet Personnalisation : formulaire ---------------- */
.perso-wrap { max-width: 560px; margin: 0 auto; }
.perso-info {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 22px;
  color: var(--ink);
  line-height: 1.6;
}
.perso-form { display: flex; flex-direction: column; gap: 12px; }
.perso-row { display: flex; gap: 12px; }
.perso-row label { flex: 1; }
.perso-form label { display: block; }
.perso-form label > span { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.perso-in {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: var(--white);
}
.perso-send { margin-top: 6px; }
.perso-ok {
  text-align: center;
  padding: 22px 10px;
  font-size: 1.05rem;
  line-height: 1.5;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
@media (max-width: 560px) { .perso-row { flex-direction: column; } }

/* ---------------- Personnalisation : galerie de modèles ---------------- */
.perso-h {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 1.2rem;
  margin: 4px 0 4px;
  text-align: center;
}
.perso-galsub { text-align: center; color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 16px; }
.perso-models {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.perso-model {
  border: 2px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
.perso-model:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.perso-model img { width: 100%; height: 150px; object-fit: contain; }
.perso-model span { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.perso-model.selected { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(52,67,46,.15); }
@media (max-width: 460px) { .perso-model img { height: 120px; } }
