/* ============================================================
   style.css — Noblès
   Police : Cormorant Garamond (titres) + Jost (corps / nav)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Jost:wght@300;400;500&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:         #f0ebe2;        /* fond crème chaud */
  --bg-alt:     #e8e2d8;        /* fond secondaire légèrement plus sombre */
  --text:       #1e1a14;        /* brun très foncé */
  --text-mid:   #6b6256;        /* texte secondaire */
  --text-light: #a09688;        /* texte tertiaire / labels */
  --border:     #ddd6ca;        /* bordures */
  --btn-dark:   #1e1a14;        /* bouton Boutique */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', 'Helvetica Neue', Arial, sans-serif;
  --nav-h:      68px;
  --ease:       0.3s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font-sans); background: none; border: none; }
/* L'attribut hidden doit toujours gagner, même sur un élément dont la
   classe définit display: grid/flex (.cart-layout, .checkout-layout…) :
   sinon le JS qui fait `el.hidden = true` ne masque rien. */
[hidden] { display: none !important; }


/* ════════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR
   ════════════════════════════════════════════════════════════ */
.announcement-bar {
  background: var(--text);
  color: #fff;
  text-align: center;
  padding: 9px 20px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}


/* ════════════════════════════════════════════════════════════
   HEADER / NAVIGATION
   ════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: background var(--ease);
}

/* Logo */
.site-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
  min-width: 120px;
}

/* Navigation centrale */
.site-nav {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-link {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
  color: var(--text-mid);
  transition: color var(--ease);
}
.nav-link:hover,
.nav-link.active { color: var(--text); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--text);
  transition: width var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Dropdown "Collections" */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  z-index: 210;
}
.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  white-space: nowrap;
  transition: color var(--ease), background var(--ease);
}
.nav-dropdown a:hover {
  color: var(--text);
  background: var(--bg-alt);
}
.nav-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

/* Bouton Boutique */
/* Icônes droite */
.header-icons {
  display: flex;
  gap: 18px;
  align-items: center;
  min-width: 120px;
  justify-content: flex-end;
}
.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--text-mid);
  transition: color var(--ease);
}
.icon-btn:hover { color: var(--text); }
.icon-btn svg {
  width: 20px; height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
}
/* Bouton menu (☰) — injecté par nav.js, visible sur mobile seulement */
.nav-toggle { display: none; }
.nav-toggle .nav-toggle-close,
.site-header.nav-open .nav-toggle .nav-toggle-open { display: none; }
.site-header.nav-open .nav-toggle .nav-toggle-close { display: block; }
.cart-badge {
  position: absolute;
  top: -7px; right: -9px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--text);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}


/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: calc(100vh - var(--nav-h));
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(20,16,10,.32) 100%);
}
.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 7.5vw, 90px);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 28px;
}
.hero-title em { font-style: italic; }
.hero-cta {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.75);
  color: #fff;
  padding: 13px 36px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background var(--ease), border-color var(--ease);
}
.hero-cta:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}


/* ════════════════════════════════════════════════════════════
   SECTION UTILITAIRES
   ════════════════════════════════════════════════════════════ */
.section-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.18;
}
.section-title em { font-style: italic; }
.section-header {
  text-align: center;
  padding: 70px 40px 36px;
}


/* ════════════════════════════════════════════════════════════
   COLLECTIONS GRID (homepage)
   ════════════════════════════════════════════════════════════ */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 0 3px 3px;
}
.coll-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  display: block;
}
.coll-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.coll-card:hover img { transform: scale(1.04); }
.coll-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 26px 18px 16px;
  background: linear-gradient(to top, rgba(20,16,10,.55) 0%, transparent 100%);
  color: #fff;
}
.coll-card-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 6px;
}
.coll-card-link {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: .85;
  display: flex;
  align-items: center;
  gap: 10px;
}
.coll-card-link span { transition: transform var(--ease); }
.coll-card:hover .coll-card-link span { transform: translateX(4px); }


/* ════════════════════════════════════════════════════════════
   TRUST STRIP
   ════════════════════════════════════════════════════════════ */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 48px 0;
}
.trust-item {
  padding: 26px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 20px; margin-bottom: 8px; }
.trust-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.trust-text {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.5;
}


/* ════════════════════════════════════════════════════════════
   BRAND / STORY SECTION
   ════════════════════════════════════════════════════════════ */
.brand-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  margin-bottom: 48px;
}
.brand-img-wrap { overflow: hidden; }
.brand-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.brand-text-wrap {
  display: flex;
  align-items: center;
  padding: 48px 56px;
  background: var(--bg-alt);
}
.brand-text-inner { max-width: 420px; }
.brand-text-wrap .section-label { text-align: left; }
.brand-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.22;
  margin: 10px 0 16px;
}
.brand-title em { font-style: italic; }
.brand-body {
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 22px;
  font-size: 13px;
}
.btn-outline {
  display: inline-block;
  border: 1px solid var(--text);
  padding: 13px 30px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background var(--ease), color var(--ease);
}
.btn-outline:hover {
  background: var(--text);
  color: #fff;
}


/* ════════════════════════════════════════════════════════════
   NEWSLETTER
   ════════════════════════════════════════════════════════════ */
.newsletter-section {
  background: var(--text);
  color: #fff;
  text-align: center;
  padding: 52px 40px;
}
.newsletter-section .section-label { color: rgba(255,255,255,.5); }
.newsletter-section .section-title { color: #fff; margin-bottom: 10px; }
.newsletter-sub {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-bottom: 36px;
}
.newsletter-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.35);
}
.newsletter-input {
  flex: 1;
  background: none;
  border: none;
  padding: 15px 22px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  outline: none;
}
.newsletter-input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-btn {
  border-left: 1px solid rgba(255,255,255,.35);
  padding: 15px 22px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background var(--ease);
}
.newsletter-btn:hover { background: rgba(255,255,255,.1); }


/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 70px 80px 44px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand { font-family: var(--font-serif); font-size: 22px; font-weight: 400; margin-bottom: 16px; }
.footer-tagline { font-size: 13px; color: var(--text-mid); line-height: 1.75; margin-bottom: 20px; max-width: 270px; }
.footer-social { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }
.footer-col-title { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col-links { display: flex; flex-direction: column; gap: 13px; }
.footer-col-links a { font-size: 13px; color: var(--text-mid); transition: color var(--ease); }
.footer-col-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-light);
}


/* ════════════════════════════════════════════════════════════
   COLLECTION PAGE HEADER
   ════════════════════════════════════════════════════════════ */
.page-header {
  padding: 64px 80px 44px;
  border-bottom: 1px solid var(--border);
}
.page-header .section-label { margin-bottom: 10px; }
.page-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 400;
}
.page-title em { font-style: italic; }
.page-count { font-size: 13px; color: var(--text-light); margin-top: 6px; }


/* ════════════════════════════════════════════════════════════
   FILTER BAR
   ════════════════════════════════════════════════════════════ */
.filter-bar {
  padding: 18px 80px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-right: 10px;
  color: var(--text-mid);
}
.filter-btn {
  border: 1px solid var(--border);
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.filter-btn:hover { border-color: var(--text); color: var(--text); }
.filter-btn.active { background: var(--text); color: #fff; border-color: var(--text); }
.color-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.14);
  flex-shrink: 0;
}
.filter-reset {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ════════════════════════════════════════════════════════════
   PRODUCT GRID
   ════════════════════════════════════════════════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  padding: 1px;
}
.product-card {
  background: var(--bg);
  cursor: pointer;
  display: block;
  transition: opacity .25s;
}
.product-card.hidden { display: none; }

.product-img-wrap {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 0.75rem;
  max-width: 360px;
  margin: 0 auto;
}
.product-img-wrap .img-primary {
  position: static;
  display: block;
  width: 100%;
  height: auto;
}
.product-img-wrap .img-hover {
  position: absolute;
  inset: 0.75rem;
  width: auto; height: auto;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity .45s ease;
}
.product-card:hover .img-primary { opacity: 0; }
.product-card:hover .img-hover   { opacity: 1; }

/* Badge */
.p-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 9px;
  z-index: 2;
}
.p-badge.badge-new       { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.p-badge.badge-bestseller{ background: var(--text); color: #fff; }

/* Card body */
.product-card-body { padding: 16px 18px 26px; }
.product-card-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 6px;
}
.product-card-name em { font-style: italic; }
.product-card-color {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
}
.product-card-price { font-size: 16px; font-weight: 300; }


/* ════════════════════════════════════════════════════════════
   PRODUCT PAGE (product.html)
   ════════════════════════════════════════════════════════════ */
.product-page {
  display: grid;
  grid-template-columns: 56% 1fr;
  min-height: calc(100vh - var(--nav-h));
}

/* ── Left: image ───────────────────────────────── */
.product-gallery {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
  overflow: hidden;
}
/* Galerie multi-photos : défilement latéral avec accroche (snap),
   flèches, points, et molette verticale convertie en défilement
   latéral. */
.pgallery {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.pgallery-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pgallery-track::-webkit-scrollbar { display: none; }
.pgallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  height: 100%;
}
.pgallery-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.pgallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--border);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ease);
  z-index: 5;
}
.pgallery-arrow:hover { background: #fff; }
.pgallery-prev { left: 16px; }
.pgallery-next { right: 16px; }
.pgallery-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.pgallery-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(30, 26, 20, .3);
  cursor: pointer;
  transition: background var(--ease);
  padding: 0;
}
.pgallery-dot.active { background: #fff; }

/* Vue 3D (model-viewer) : remplace la galerie photos quand on passe
   en "Vue 3D" ; même emplacement, même fond. */
.pview-toggle {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  padding: 3px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.pview-toggle button {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: background var(--ease), color var(--ease);
}
.pview-toggle button.active {
  background: var(--text);
  color: var(--bg);
}
.pmodel {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
}
.pmodel[hidden] { display: none; }
.pmodel model-viewer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  --poster-color: transparent;
  --progress-bar-color: var(--text);
}
.pmodel-ar-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pmodel-ar-btn svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linejoin: round;
}
/* Vue 3D 25 % plus haute que la galerie photos. En page complète la
   colonne n'est alors plus collée sous le header (elle dépasse l'écran). */
.product-gallery.is-3d {
  position: relative;
  top: 0;
  height: calc((100vh - var(--nav-h)) * 1.25);
}
/* Sans AR (ordinateur, navigateur mobile non compatible) : panneau
   explicatif, avec QR code vers la fiche sur ordinateur. */
.pmodel-ar-panel {
  position: absolute;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  z-index: 7;
  width: min(300px, calc(100% - 32px));
  padding: 24px 22px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(30, 26, 20, .12);
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-mid);
}
.pmodel-ar-panel[hidden] { display: none; }
.pmodel-ar-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text);
  margin-bottom: 12px;
}
.pmodel-ar-qr {
  width: 150px;
  margin: 0 auto 14px;
}
.pmodel-ar-qr svg { display: block; width: 100%; height: auto; }
.pmodel-ar-url { font-size: 11px; word-break: break-all; }
.pmodel-ar-close {
  position: absolute;
  top: 6px; right: 10px;
  font-size: 20px;
  line-height: 1;
  color: var(--text-mid);
}
.pmodel-msg {
  font-size: 13px;
  color: var(--text-mid);
  padding: 0 24px;
  text-align: center;
}

/* Croix de fermeture — toujours en haut à droite de la fiche
   produit dans son ensemble (pas seulement au-dessus de la photo).
   En page complète elle reste fixée à l'écran sous le header ; dans
   le pop-in, .product-modal-panel a un transform qui en fait le
   référentiel du "fixed", donc le bouton reste ancré au coin du
   panneau même si celui-ci défile dans l'overlay. */
.product-close-btn {
  position: fixed;
  top: calc(var(--nav-h) + 16px);
  right: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--border);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 600;
  transition: background var(--ease);
}
.product-close-btn:hover { background: #fff; }

/* Retour au produit précédemment consulté (pile locale à la fiche
   produit) — grisé quand il n'y a pas de produit précédent. */
.product-back-btn {
  position: fixed;
  top: calc(var(--nav-h) + 16px);
  left: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--border);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 600;
  transition: background var(--ease), opacity var(--ease);
}
.product-back-btn:hover:not(:disabled) { background: #fff; }
.product-back-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

/* Thumbnail strip */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--bg-alt);
  height: 110px;
  flex-shrink: 0;
}
.gallery-thumb {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .7;
  transition: opacity var(--ease), transform var(--ease);
}
.gallery-thumb.active img,
.gallery-thumb:hover img { opacity: 1; transform: scale(1.04); }
.gallery-thumb-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(30,26,20,.55);
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 5px 4px;
}


/* ── Right: info ───────────────────────────────── */
.product-info {
  padding: 52px 60px 60px;
  overflow-y: auto;
}
.product-info-name {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 14px;
}
.product-info-name em { font-style: italic; }
.product-info-price {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 32px;
  color: var(--text-mid);
}

/* Tabs */
.product-tabs {
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 28px;
  margin-bottom: 28px;
}
.tab-btn {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  padding-bottom: 14px;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color var(--ease), border-color var(--ease);
}
.tab-btn.active,
.tab-btn:hover { color: var(--text); border-bottom-color: var(--text); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-panel p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 18px;
}
.tab-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.tab-spec-row {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--text-mid);
}
.tab-spec-row strong {
  color: var(--text);
  font-weight: 400;
  min-width: 120px;
  flex-shrink: 0;
}

/* Coloris */
.product-coloris {
  margin: 32px 0 28px;
}
.coloris-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--text-mid);
}
.coloris-label span {
  color: var(--text);
  font-weight: 400;
}
.coloris-swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.swatch {
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  outline: 2px solid transparent;
  outline-offset: 3px;
  transition: outline-color var(--ease);
  position: relative;
}
.swatch.active { outline-color: var(--text); }
.swatch.out-of-stock::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 4px,
    rgba(255,255,255,.55) 4px, rgba(255,255,255,.55) 6px
  );
}

/* Panier : ajouter / quantité / retirer */
.cart-control { margin-bottom: 16px; }
.cart-control.in-cart {
  border: 1px solid var(--border);
  padding: 14px 16px;
}
.cart-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cart-control-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.cart-control > .qty-stepper { margin-bottom: 12px; }

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  width: fit-content;
}
.qty-stepper button {
  width: 32px; height: 32px;
  font-size: 16px;
  color: var(--text);
  transition: background var(--ease);
}
.qty-stepper button:hover { background: var(--bg-alt); }
.qty-stepper span {
  min-width: 30px;
  text-align: center;
  font-size: 13px;
}

.btn-remove-cart {
  width: 100%;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 0;
  transition: color var(--ease);
}
.btn-remove-cart:hover { color: var(--text); }

/* Add to cart */
.btn-add-to-cart {
  display: block;
  width: 100%;
  border: 1px solid var(--text);
  padding: 17px 20px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  margin-bottom: 16px;
  transition: background var(--ease), color var(--ease);
}
.btn-add-to-cart:hover {
  background: var(--text);
  color: #fff;
}

.btn-outline {
  display: inline-block;
  border: 1px solid var(--text);
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  transition: background var(--ease), color var(--ease);
}
.btn-outline:hover {
  background: var(--text);
  color: #fff;
}
.btn-custom {
  width: 100%;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 8px 0;
  display: block;
}

/* Reassurances */
.product-reassurances {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reassurance-item {
  font-size: 13px;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.reassurance-item::before {
  content: '—';
  flex-shrink: 0;
  color: var(--text-light);
}

/* Animation d'entrée de la fiche produit (page ou pop-in). N'anime
   que l'opacité : le pop-in gère lui-même sa translation à
   l'ouverture/fermeture (voir .product-modal-panel), les deux ne
   doivent pas se disputer la propriété transform. */
@keyframes pv-enter {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.pv-enter { animation: pv-enter .3s ease both; }

/* "Vous aimeriez aussi" */
.related-section {
  padding: 56px 60px 64px;
  border-top: 1px solid var(--border);
}
.related-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 24px;
}


/* ════════════════════════════════════════════════════════════
   POP-IN PRODUIT (ouvert depuis une page de collection)
   ════════════════════════════════════════════════════════════ */
body.modal-open { overflow: hidden; }

.product-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(30, 26, 20, .6);
  display: flex;
  justify-content: center;
  padding: 48px 24px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease), visibility var(--ease);
}
.product-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.product-modal-panel {
  background: var(--bg);
  width: 100%;
  max-width: 1180px;
  height: fit-content;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--ease);
}
.product-modal-overlay.open .product-modal-panel {
  transform: translateY(0);
}

/* La galerie n'a pas besoin de s'accrocher au header dans le pop-in */
.product-modal-panel .product-page {
  min-height: 0;
}
.product-modal-panel .product-gallery {
  position: relative;
  top: 0;
  height: min(560px, 60vh);
}
.product-modal-panel .product-gallery.is-3d {
  height: min(700px, 75vh);
}
.product-modal-panel .pmodel { flex: 1; height: auto; max-height: none; }
.product-modal-panel .product-info {
  overflow: visible;
}
.product-modal-panel .related-section {
  padding: 40px 40px 48px;
}
/* Ancre la croix et le retour aux coins du panneau plutôt que sous
   le header du site */
.product-modal-panel .product-close-btn {
  top: 16px;
  right: 16px;
}
.product-modal-panel .product-back-btn {
  top: 16px;
  left: 16px;
}

@media (max-width: 640px) {
  .product-modal-overlay { padding: 0; }
  .product-modal-panel .product-gallery { height: 70vw; max-height: 420px; }
  .product-modal-panel .product-gallery.is-3d { height: 87.5vw; max-height: 525px; }
}


/* ════════════════════════════════════════════════════════════
   RECHERCHE (icône loupe du header)
   ════════════════════════════════════════════════════════════ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 550;
  background: rgba(30, 26, 20, .6);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 90px 24px 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease), visibility var(--ease);
}
.search-overlay.open {
  opacity: 1;
  visibility: visible;
}
.search-panel {
  background: var(--bg);
  width: 100%;
  max-width: 720px;
  transform: translateY(-12px);
  transition: transform var(--ease);
}
.search-overlay.open .search-panel {
  transform: translateY(0);
}

.search-input-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
}
.search-input-row svg {
  width: 20px; height: 20px;
  stroke: var(--text-mid);
  fill: none;
  stroke-width: 1.4;
  flex-shrink: 0;
}
.search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--text);
}
.search-input:focus { outline: none; }
.search-input::placeholder { color: var(--text-light); }
.search-close {
  width: 32px; height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: var(--text-mid);
  transition: color var(--ease);
}
.search-close:hover { color: var(--text); }

.search-color-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}

.search-results {
  padding: 20px 24px 28px;
  max-height: 60vh;
  overflow-y: auto;
}
.search-results .product-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  background: none;
  padding: 0;
  gap: 24px;
}
.search-count {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}
.search-hint,
.search-empty {
  padding: 30px 4px;
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
}

/* Mobile : panneau quasi plein écran, calé en haut. Hauteur fixe
   (dvh = hauteur réellement visible, barre d'adresse comprise) : seul
   le bloc résultats défile, le panneau ne bouge plus au défilement. */
@media (max-width: 640px) {
  .search-overlay {
    padding: 6px;
    overflow: hidden;
  }
  .search-panel {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 12px);
    height: calc(100dvh - 12px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  }
  .search-input-row { padding: 12px 12px 12px 18px; gap: 12px; }
  .search-input { font-size: 17px; min-width: 0; }
  .search-close { width: 40px; height: 40px; font-size: 24px; }

  /* Couleurs sur une seule ligne, défilement horizontal */
  .search-color-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 12px 18px;
    scrollbar-width: none;
    flex-shrink: 0;
  }
  .search-color-filters::-webkit-scrollbar { display: none; }
  .search-color-filters .filter-btn { flex-shrink: 0; white-space: nowrap; }

  .search-results {
    flex: 1;
    max-height: none;
    padding: 16px 18px 24px;
    overscroll-behavior: contain;
  }
  .search-results .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
  }
  .search-results .product-card-body { padding: 10px 2px 4px; }
  .search-results .product-card-name { font-size: 18px; margin-bottom: 2px; }
  .search-results .product-card-color { font-size: 12px; margin-bottom: 4px; }
  .search-results .product-card-price { font-size: 14px; }
}


/* ════════════════════════════════════════════════════════════
   PANIER (cart.html)
   ════════════════════════════════════════════════════════════ */
.cart-page {
  padding: 0 60px 80px;
}
.cart-empty {
  text-align: center;
  padding: 100px 20px;
}
.cart-empty p {
  font-size: 16px;
  color: var(--text-mid);
  margin-bottom: 24px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.cart-lines {
  display: flex;
  flex-direction: column;
}
.cart-line {
  display: grid;
  grid-template-columns: 96px 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.cart-line-img {
  display: block;
  width: 96px; height: 120px;
  overflow: hidden;
  background: var(--bg-alt);
}
.cart-line-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cart-line-name {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}
.cart-line-color {
  font-size: 13px;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}
.cart-line-unit {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.cart-line-remove {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--ease);
}
.cart-line-remove:hover { color: var(--text); }
.cart-line-subtotal {
  font-size: 15px;
  font-weight: 400;
  min-width: 90px;
  text-align: right;
}

.cart-summary {
  border: 1px solid var(--border);
  padding: 28px 26px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.cart-summary-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 20px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 14px;
}
.cart-summary-total {
  font-size: 16px;
  color: var(--text);
  font-weight: 400;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-bottom: 20px;
}
.cart-shipping-select { margin-bottom: 14px; }
.cart-shipping-select label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.cart-shipping-select select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: inherit;
  font-size: 13px;
  color: var(--text);
}
.cart-shipping-delay {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 8px;
}
.cart-free-shipping-notice {
  font-size: 12px;
  color: var(--text-mid);
  background: var(--bg-alt);
  padding: 10px 12px;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .cart-page { padding: 0 28px 60px; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}

@media (max-width: 640px) {
  .cart-page { padding: 0 20px 50px; }
  .cart-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
  }
  .cart-line-img { width: 72px; height: 90px; }
  .cart-line-info { flex: 1 1 160px; }
  .cart-line-subtotal { width: 100%; text-align: left; order: 3; }
}


/* ════════════════════════════════════════════════════════════
   COMMANDE (checkout.html)
   ════════════════════════════════════════════════════════════ */
.checkout-page {
  padding: 0 60px 80px;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
.checkout-fields {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.checkout-section-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.checkout-demo-notice {
  font-size: 12px;
  color: var(--text-mid);
  background: var(--bg-alt);
  padding: 10px 12px;
  margin-bottom: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.form-grid .form-col-2 { grid-column: span 2; }
.form-grid input,
.form-grid select {
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: inherit;
  font-size: 14px;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text);
}
.form-grid input:focus,
.form-grid select:focus {
  outline: none;
  border-color: var(--text);
}

.checkout-lines {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checkout-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-mid);
}

.checkout-confirmation {
  max-width: 560px;
  margin: 0 auto;
  padding: 60px 20px 100px;
  text-align: center;
}
.checkout-confirmation-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  margin: 10px 0 20px;
}
.checkout-confirmation-order {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 12px;
}
.checkout-confirmation-text {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 32px;
}
.checkout-error {
  font-size: 12px;
  color: #a13a2f;
  background: rgba(161, 58, 47, .08);
  border: 1px solid rgba(161, 58, 47, .25);
  padding: 10px 12px;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .checkout-page { padding: 0 28px 60px; }
  .checkout-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .checkout-page { padding: 0 20px 50px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .form-col-2 { grid-column: span 1; }
}


/* ════════════════════════════════════════════════════════════
   PAIEMENT PAR CARTE — SIX PAYMENT SERVICES (mise en page)
   ════════════════════════════════════════════════════════════ */

/* Aperçu dans checkout.html, avant la redirection */
.six-payment-notice {
  border: 1px solid var(--border);
  padding: 20px 22px;
  margin-bottom: 18px;
}
.six-payment-notice-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 8px;
}
.six-lock-icon { font-size: 14px; }
.six-payment-notice-text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 14px;
}
.six-card-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.six-card-icon {
  border: 1px solid var(--border);
  padding: 5px 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
}

/* Page de paiement (payment-six.html) — volontairement sans le
   header/nav du site, pour donner l'impression d'une redirection
   vers une page hébergée dédiée. */
.six-payment-body { background: var(--bg-alt); }
.six-payment-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 40px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.six-payment-merchant {
  font-family: var(--font-serif);
  font-size: 18px;
}
.six-demo-badge {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-light);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 6px 12px;
  text-align: right;
}
.six-payment-main {
  display: flex;
  justify-content: center;
  padding: 60px 20px 90px;
}
.six-payment-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 36px 32px;
}
.six-payment-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.six-payment-provider {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}
.six-payment-amount {
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--text);
}
.six-payment-order-ref {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
}
.six-payment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.six-payment-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.six-payment-form input {
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: inherit;
  font-size: 14px;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text);
}
.six-payment-form input:focus {
  outline: none;
  border-color: var(--text);
}
.six-payment-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.six-payment-cancel {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.six-payment-cancel:hover { color: var(--text); }
.six-payment-error {
  font-size: 12px;
  color: #a13a2f;
  background: rgba(161, 58, 47, .08);
  border: 1px solid rgba(161, 58, 47, .25);
  padding: 10px 12px;
}

.six-payment-processing { text-align: center; padding: 40px 0; }
.six-spinner {
  width: 32px; height: 32px;
  margin: 0 auto 18px;
  border: 2px solid var(--border);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: six-spin .8s linear infinite;
}
@keyframes six-spin { to { transform: rotate(360deg); } }
.six-payment-processing p {
  font-size: 13px;
  color: var(--text-mid);
}

.six-payment-success { text-align: center; padding: 8px 0; }
.six-payment-success-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  margin: 8px 0 16px;
}
.six-payment-success-order {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 10px;
}
.six-payment-success-text {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 26px;
}

.six-payment-footer {
  text-align: center;
  font-size: 11px;
  color: var(--text-light);
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
  .six-payment-topbar { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 20px; }
  .six-payment-main { padding: 40px 16px 60px; }
  .six-payment-card { padding: 28px 22px; }
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .site-header { padding: 0 28px; }
  .product-info { padding: 40px 40px 50px; }
  .product-info-name { font-size: 36px; }
  .site-footer { grid-template-columns: 1fr 1fr; padding: 50px 40px 36px; }
  .footer-bottom { padding: 20px 40px; }
  .page-header  { padding: 50px 40px 36px; }
  .filter-bar   { padding: 16px 40px; }
}

@media (max-width: 900px) {
  .collections-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip      { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: none; }
  .brand-section    { grid-template-columns: 1fr; }
  .brand-img-wrap   { min-height: 320px; }
  .brand-text-wrap  { padding: 44px 28px; }

  .product-page { grid-template-columns: 1fr; }
  .product-gallery { position: relative; top: 0; height: auto; }
  .gallery-main { height: 70vw; max-height: 520px; }
  .product-gallery.is-3d { height: auto; }
  .pmodel { flex: none; height: 125vw; max-height: 700px; } /* photos : 100vw */

  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .site-header { padding: 0 18px; }

  /* Navigation en panneau sous le header, ouvert par le bouton ☰ */
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .site-header.nav-open .site-nav { display: flex; }
  .site-nav .nav-link { padding: 14px 18px; font-size: 12px; }
  .site-nav .nav-link::after { display: none; }
  .nav-item-dropdown { flex-direction: column; align-items: stretch; }
  /* Sous-menu Collections toujours déplié (pas de survol au doigt) */
  .nav-dropdown {
    position: static;
    min-width: 0;
    padding: 0 0 6px;
    background: none;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-dropdown a { padding: 10px 18px 10px 34px; }
  /* "Toutes les collections" ferait doublon avec le lien Collections */
  .nav-dropdown a:first-child,
  .nav-dropdown-divider { display: none; }
  .page-header { padding: 36px 20px 28px; }
  .filter-bar  { padding: 14px 20px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-info { padding: 32px 20px 40px; }
  .site-footer { grid-template-columns: 1fr; padding: 40px 20px; }
  .footer-bottom { padding: 20px; flex-direction: column; gap: 8px; text-align: center; }
  .gallery-strip { height: 80px; }
}
