:root {
  --burgundy: #6b0f1a;
  --burgundy-deep: #4a0a12;
  --burgundy-soft: #8b2940;
  --gold: #d4af37;
  --gold-light: #e8d5a3;
  --champagne: #f5e6d3;
  --cream: #faf6f0;
  --cream-dark: #efe8dc;
  --text: #2c1810;
  --muted: #6b5344;
  --surface: #fffefb;
  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Cormorant Garamond", Georgia, serif;
  --font-script: "Great Vibes", cursive;
  --radius: 2px;
  --shadow: 0 24px 48px rgba(74, 10, 18, 0.12);
  --shadow-soft: 0 8px 24px rgba(74, 10, 18, 0.08);
  --container: 1160px;
  --border-gold: rgba(212, 175, 55, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  font-weight: 500;
}

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

a {
  color: var(--burgundy-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.narrow {
  max-width: 720px;
  margin-inline: auto;
}

.text-center {
  text-align: center;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.lead {
  font-size: 1.25rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s ease;
}

.btn-primary {
  background: linear-gradient(145deg, var(--gold) 0%, #c9a227 100%);
  color: var(--burgundy-deep);
  border-color: var(--gold-light);
  box-shadow: 0 2px 0 rgba(74, 10, 18, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(145deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--burgundy-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 10, 18, 0.18);
}

.btn-outline {
  background: transparent;
  color: var(--champagne);
  border-color: var(--border-gold);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
}

.main-pad .btn-outline {
  color: var(--burgundy);
  border-color: var(--burgundy-soft);
}

.main-pad .btn-outline:hover {
  background: var(--burgundy);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(245, 230, 211, 0.08);
  color: var(--champagne);
  border-color: var(--border-gold);
}

.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-icon {
  flex-shrink: 0;
  width: 1.15em;
  height: 1.15em;
}

.btn-primary .btn-icon {
  opacity: 0.92;
}

/* Header */
.top-delivery-bar {
  background: linear-gradient(90deg, #f1dfad, #e8cf86);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  position: sticky;
  top: 0;
  z-index: 60;
  opacity: 1;
  backdrop-filter: none;
  box-shadow: 0 1px 0 rgba(74, 10, 18, 0.08);
}

.top-delivery-inner {
  min-height: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.65rem;
  font-size: 0.8rem;
  color: var(--burgundy-deep);
  font-weight: 600;
}

.top-delivery-line {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.top-delivery-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--burgundy-soft);
  opacity: 0.92;
}

.top-delivery-svg {
  display: block;
  vertical-align: middle;
}

.top-delivery-sep {
  opacity: 0.55;
  user-select: none;
}

.top-delivery-marquee {
  position: relative;
  display: inline-flex;
  max-width: min(46vw, 420px);
  overflow: hidden;
  white-space: nowrap;
  vertical-align: middle;
}

.top-delivery-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  min-width: max-content;
  animation: delivery-marquee-loop 13s linear infinite;
}

.top-delivery-marquee-item {
  display: inline-block;
}

@keyframes delivery-marquee-loop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 0.8rem));
  }
}

.site-header {
  position: sticky;
  top: 2rem;
  z-index: 50;
  background: linear-gradient(180deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.30rem;
  min-height: 3.8rem;
  min-width: 0;
  max-width: 980px;
  margin-inline: auto;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
  gap: 0.5rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.header-icons-sep {
  width: 1px;
  height: 1.15rem;
  background: rgba(212, 175, 55, 0.45);
  margin-inline: 0.05rem;
}

.header-actions .nav-favorites,
.header-actions .nav-cart {
  flex-shrink: 0;
}

.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}

.logo-glow {
  position: absolute;
  inset: -10px -16px;
  background: radial-gradient(ellipse 75% 85% at 45% 50%, rgba(212, 175, 55, 0.12), transparent 72%);
  pointer-events: none;
  z-index: 0;
  border-radius: 14px;
}

.logo-img {
  position: relative;
  z-index: 1;
  height: clamp(4.2rem, 9.6vw, 5.8rem);
  width: auto;
  max-width: min(420px, 64vw);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.28));
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.logo:hover .logo-img {
  transform: scale(1.045);
  filter: drop-shadow(0 4px 18px rgba(212, 175, 55, 0.22));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 1;
  min-width: 0;
}

.nav-group {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-group-main {
  padding-right: 0.35rem;
  border-right: 1px solid rgba(212, 175, 55, 0.28);
}

.nav-group-actions {
  margin-left: auto;
  gap: 0.55rem;
}

.site-nav a,
.nav-dropdown-btn {
  color: var(--champagne);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  background: none;
  cursor: pointer;
}

.site-nav a:hover,
.nav-dropdown-btn:hover {
  color: var(--gold);
}

.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
}

.nav-whatsapp--indisponible {
  opacity: 0.7;
  cursor: help;
}

.nav-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0.34rem;
  background: transparent;
  color: var(--gold-light) !important;
  border: none;
  border-radius: var(--radius);
  text-decoration: none !important;
  position: relative;
  min-width: 1.85rem;
  min-height: 1.85rem;
}

.nav-icon {
  flex-shrink: 0;
  opacity: 0.95;
}

.nav-icon--cart {
  position: relative;
  top: 0.5px;
  width: 1.6rem;
  height: 1.6rem;
}

.cart-badge {
  background: var(--gold);
  color: var(--burgundy-deep);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  margin-left: 0.15rem;
  font-family: var(--font-body);
  line-height: 1.2;
}

.nav-cart-badge {
  position: absolute;
  top: -0.4rem;
  right: -0.4rem;
  margin-left: 0;
  min-width: 1.1rem;
  text-align: center;
  padding: 0.05rem 0.3rem;
}

.nav-cart-label {
  display: none;
}

.nav-favorites-label {
  display: none;
}

.header-actions .nav-favorites--header {
  display: inline-flex;
}

.site-nav .nav-favorites--menu {
  display: none !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--gold-light);
}

.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  min-width: 220px;
  background: var(--burgundy-deep);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow);
  padding: 0.5rem;
  flex-direction: column;
  gap: 0.25rem;
  max-height: min(65vh, 420px);
  overflow-y: auto;
}

.nav-dropdown-wrap.is-open .nav-dropdown {
  display: flex;
}

.nav-dropdown a {
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius);
  text-transform: none;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  font-family: var(--font-body);
}

.nav-dropdown a:hover {
  background: rgba(212, 175, 55, 0.12);
}

@media (max-width: 900px) {
  .top-delivery-marquee {
    max-width: min(72vw, 320px);
  }

  .top-delivery-marquee-track {
    animation-duration: 11s;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--burgundy-deep);
    border-bottom: 1px solid var(--border-gold);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    display: none;
    gap: 0.8rem;
    margin-left: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .nav-group-main {
    border-right: 0;
    padding-right: 0;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  }

  .nav-group-actions {
    margin-left: 0;
    padding-top: 0.2rem;
  }

  .nav-dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    padding-left: 0;
    background: rgba(0, 0, 0, 0.15);
  }

  .nav-dropdown-wrap.is-open .nav-dropdown {
    display: flex;
  }

  .header-actions .nav-cart {
    min-width: 2.1rem;
    min-height: 2.1rem;
    padding: 0.45rem;
  }

  .nav-cart-badge {
    top: -0.35rem;
    right: -0.35rem;
  }

  .nav-fav-badge {
    top: -0.35rem;
    right: -0.35rem;
  }

  .nav-favorites-icon {
    font-size: 1.45rem;
  }

  .nav-icon--cart {
    width: 1.75rem;
    height: 1.75rem;
  }

  .header-actions .nav-favorites--header,
  .header-icons-sep {
    display: none;
  }

  .site-nav .nav-favorites--menu {
    display: inline-flex !important;
    align-self: flex-start;
    position: relative;
    justify-content: center;
    min-width: 2.1rem;
    min-height: 2.1rem;
    padding: 0.45rem;
  }

  .site-nav .nav-favorites--menu .nav-favorites-icon {
    font-size: 1.4rem;
    top: 0;
  }

  .site-nav .nav-favorites--menu .nav-fav-badge {
    top: -0.28rem;
    right: -0.28rem;
  }
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 88vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* Fond visible entre les fondus du carrousel : bordeaux chaud (plus de noir pur). */
  background: linear-gradient(
    160deg,
    #4a2832 0%,
    var(--burgundy-deep) 38%,
    #2d1418 72%,
    #3a1f24 100%
  );
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(74, 10, 18, 0.28) 0%,
    rgba(45, 20, 26, 0.2) 38%,
    rgba(36, 14, 18, 0.32) 100%
  );
  pointer-events: none;
  opacity: 1;
}

.hero-bg::before {
  content: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 88vh;
  min-height: 480px;
  padding-inline: max(0.75rem, env(safe-area-inset-left)) max(0.75rem, env(safe-area-inset-right));
  padding-bottom: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Un seul CTA en bas du héro, discret sur le carrousel */
.hero-cta-foot {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: var(--container);
  padding: 0 0 max(1.1rem, env(safe-area-inset-bottom));
  pointer-events: auto; /* réactive les clics sur le bouton */
}

.hero-boutique-btn {
  opacity: 1;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.72rem 1.7rem;
  border-radius: 999px;
  color: #fffdf8 !important;
  background: #3f121b !important;
  border: 2px solid #f0d18b !important;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    opacity 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.hero-boutique-btn:hover {
  opacity: 1;
  color: #fffefb !important;
  background: #551926 !important;
  border-color: #ffe3aa !important;
  transform: translateY(-1px) scale(1.01);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero-boutique-btn:focus-visible {
  opacity: 1;
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.hero-showcase {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Carrousel « pagination » : piste horizontale, une image plein cadre à la fois */
.hero-showcase-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.hero-showcase-slide {
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.hero-showcase-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border: 0;
  outline: none;
}

.hero-showcase--slides-1 .hero-showcase-track {
  width: 100%;
}

.hero-showcase--slides-2 .hero-showcase-track {
  width: 200%;
  animation: hero-pager-2 10s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.hero-showcase--slides-2 .hero-showcase-slide {
  flex: 0 0 50%;
}

.hero-showcase--slides-3 .hero-showcase-track {
  width: 300%;
  animation: hero-pager-3 12s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.hero-showcase--slides-3 .hero-showcase-slide {
  flex: 0 0 33.333333333%;
}

@keyframes hero-pager-2 {
  0%,
  44% {
    transform: translateX(0);
  }
  50%,
  94% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes hero-pager-3 {
  0%,
  28% {
    transform: translateX(0);
  }
  33.333%,
  61.333% {
    transform: translateX(-33.333333333%);
  }
  66.666%,
  95% {
    transform: translateX(-66.666666666%);
  }
  100% {
    transform: translateX(0);
  }
}

.hero-showcase-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 0.38rem;
  z-index: 3;
}

.hero-dot {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35);
}

.hero-showcase--slides-2 .hero-dot:nth-child(1) {
  animation: hero-dot-page-2a 10s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.hero-showcase--slides-2 .hero-dot:nth-child(2) {
  animation: hero-dot-page-2b 10s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.hero-showcase--slides-3 .hero-dot:nth-child(1) {
  animation: hero-dot-page-3a 12s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.hero-showcase--slides-3 .hero-dot:nth-child(2) {
  animation: hero-dot-page-3b 12s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.hero-showcase--slides-3 .hero-dot:nth-child(3) {
  animation: hero-dot-page-3c 12s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

@keyframes hero-dot-page-2a {
  0%,
  46% {
    background: var(--gold-light);
    transform: scale(1.32);
  }
  48%,
  100% {
    background: rgba(255, 255, 255, 0.42);
    transform: scale(1);
  }
}

@keyframes hero-dot-page-2b {
  0%,
  46% {
    background: rgba(255, 255, 255, 0.42);
    transform: scale(1);
  }
  50%,
  94% {
    background: var(--gold-light);
    transform: scale(1.32);
  }
  96%,
  100% {
    background: rgba(255, 255, 255, 0.42);
    transform: scale(1);
  }
}

@keyframes hero-dot-page-3a {
  0%,
  30% {
    background: var(--gold-light);
    transform: scale(1.32);
  }
  32%,
  100% {
    background: rgba(255, 255, 255, 0.42);
    transform: scale(1);
  }
}

@keyframes hero-dot-page-3b {
  0%,
  31% {
    background: rgba(255, 255, 255, 0.42);
    transform: scale(1);
  }
  33%,
  62% {
    background: var(--gold-light);
    transform: scale(1.32);
  }
  64%,
  100% {
    background: rgba(255, 255, 255, 0.42);
    transform: scale(1);
  }
}

@keyframes hero-dot-page-3c {
  0%,
  63% {
    background: rgba(255, 255, 255, 0.42);
    transform: scale(1);
  }
  66%,
  95% {
    background: var(--gold-light);
    transform: scale(1.32);
  }
  97%,
  100% {
    background: rgba(255, 255, 255, 0.42);
    transform: scale(1);
  }
}

.trust-strip {
  background: var(--cream-dark);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding-block: 2rem;
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--burgundy-deep);
  margin-bottom: 0.35rem;
}

.trust-item span {
  font-size: 1.02rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .trust-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 75vh;
    min-height: 340px;
  }

  .hero-layout {
    height: 75vh;
    min-height: 340px;
  }

  .hero-showcase {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
  }
}

.section {
  padding-block: 4rem;
}

.section-title {
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: var(--burgundy-deep);
}

.section-sub {
  color: var(--muted);
  margin: 0 0 2rem;
  font-size: 1.2rem;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 0 rgba(74, 10, 18, 0.04);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(74, 10, 18, 0.16), 0 0 0 1px rgba(212, 175, 55, 0.2);
}

.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card-img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--cream-dark), #e8dfd0);
  overflow: hidden;
}

.product-card-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  cursor: zoom-in;
  transform: scale(1);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-card-img-wrap img {
  transform: scale(1.08);
}

.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--burgundy);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.55rem;
  z-index: 1;
  border: 1px solid var(--border-gold);
}

.product-card h3 {
  font-size: 1.12rem;
  margin: 1rem 1.1rem 0.3rem;
  color: var(--burgundy-deep);
}

.price {
  font-weight: 700;
  margin: 0 1.1rem 1.1rem;
  color: var(--burgundy);
  font-size: 1.15rem;
}

.price-old {
  font-weight: 400;
  color: var(--muted);
  margin-left: 0.5rem;
  font-size: 0.9em;
}

.product-rating {
  margin: -0.15rem 1.1rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.product-rating-stars {
  color: var(--gold);
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.product-rating-value {
  font-weight: 700;
  color: var(--burgundy-soft);
}

.product-rating-detail {
  margin: 0.25rem 0 0.75rem;
  font-size: 0.92rem;
}

a.product-rating-detail {
  text-decoration: none;
}

a.product-rating-detail:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.product-cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: var(--font-display);
  color: var(--gold);
  margin: 1.1rem 1.1rem 0;
}

.main-pad {
  padding-block: 2.5rem 4rem;
}

.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 2.25rem;
  margin: 0 0 0.5rem;
  color: var(--burgundy-deep);
}

.page-lead {
  color: var(--muted);
  margin: 0;
  font-size: 1.15rem;
}

.page-lead p {
  margin: 0 0 0.65em;
  font-size: inherit;
  color: inherit;
}

.page-lead p:last-child {
  margin-bottom: 0;
}

.about-commander-text p {
  margin: 0 0 0.85em;
}

.about-commander-text p:last-child {
  margin-bottom: 0;
}

.about-wa-cta {
  margin-top: 0.25rem;
}

.checkout-success-msg p {
  margin: 0.65rem 0 0;
  font-size: 0.98rem;
  color: var(--muted);
}

.checkout-success-msg p:first-child {
  margin-top: 0;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
}

@media (max-width: 800px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  /* Filtre collections repliable */
  .catalog-filters-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    background: rgba(212, 175, 55, 0.06);
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--burgundy-deep);
  }

  .catalog-filters-summary::-webkit-details-marker {
    display: none;
  }

  .catalog-filters-summary::after {
    content: "";
    flex-shrink: 0;
    width: 0.45rem;
    height: 0.45rem;
    margin-left: 0.5rem;
    border-right: 2px solid var(--burgundy);
    border-bottom: 2px solid var(--burgundy);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  .catalog-filters-details[open] .catalog-filters-summary::after {
    transform: rotate(-135deg);
    margin-top: 0.2rem;
  }

  .catalog-filters-summary-inner {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 0.15rem;
  }

  .catalog-filters-summary-text {
    flex-shrink: 0;
  }

  .catalog-filters-summary-current {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: none;
    color: var(--burgundy);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }

  .catalog-filters-links {
    margin-top: 0.45rem;
    padding: 0.35rem 0 0.15rem;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
  }
}

.catalog-filters {
  min-width: 0;
}

.catalog-filters-details {
  margin: 0;
}

.catalog-filters-summary {
  list-style: none;
}

.catalog-filters-summary::-webkit-details-marker {
  display: none;
}

.catalog-filters-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

@media (min-width: 801px) {
  .catalog-filters-summary {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    margin: 0 0 0.5rem;
    padding: 0;
    border: none;
    background: none;
    cursor: default;
    pointer-events: none;
    font-size: 1rem;
    letter-spacing: normal;
    text-transform: none;
    color: var(--burgundy-deep);
  }

  .catalog-filters-summary::after {
    display: none;
  }

  .catalog-filters-summary-inner {
    display: inline;
  }

  .catalog-filters-summary-current {
    display: none;
  }

  .catalog-filters-links {
    margin-top: 0;
    padding: 0;
    border: none;
  }
}

.filter-title {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--burgundy-deep);
}

.filter-link {
  text-decoration: none;
  color: var(--text);
  padding: 0.35rem 0;
  font-weight: 500;
}

.filter-link.is-active {
  color: var(--burgundy);
  font-weight: 700;
}

.catalog-sort-form {
  margin-top: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.catalog-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.catalog-search-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.55rem;
}

.catalog-sort-form--top {
  margin-top: 0;
  margin-left: auto;
}

.catalog-sort-form label {
  font-size: 0.88rem;
  color: var(--muted);
}

.catalog-search-form {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
}

.catalog-search-form input[type='search'] {
  min-width: 240px;
  flex: 1;
  max-width: 460px;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font: inherit;
}

.catalog-sort-form select {
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: #fff;
  font: inherit;
  font-size: 0.9rem;
  color: var(--text);
}

.empty-state {
  padding: 3rem;
  text-align: center;
  color: var(--muted);
}

.catalog-pagination {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  justify-content: space-between;
}

.catalog-pagination--top {
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .catalog-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-sort-form--top {
    margin-left: 0;
  }

  .catalog-search-row {
    justify-content: flex-start;
  }

  .catalog-search-form {
    justify-content: flex-start;
  }
}

.catalog-pagination-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.catalog-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.65rem;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  background: #fff;
}

.catalog-page-link:hover {
  border-color: var(--burgundy-soft);
  color: var(--burgundy);
}

.catalog-page-link.is-active {
  background: var(--burgundy-deep);
  border-color: var(--burgundy-deep);
  color: var(--gold-light);
}

.catalog-load-more {
  white-space: nowrap;
}

.breadcrumb {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--muted);
}

.product-page .product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .product-page .product-detail {
    grid-template-columns: 1fr;
  }
}

.product-gallery {
  min-width: 0;
  width: 100%;
}

.product-main-img {
  width: 100%;
  aspect-ratio: 1;
  background: var(--cream-dark);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
  box-sizing: border-box;
  cursor: zoom-in;
  position: relative;
  touch-action: none; /* laisse le zoom au doigt sans défilement parasite */
}

.product-main-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.2s ease-out;
}

.product-main-img.is-zooming img {
  transform: scale(1.75);
}

@media (max-width: 520px) {
  .product-main-img.is-zooming img {
    transform: scale(1.55);
  }
}

.product-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.thumb {
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: var(--cream-dark);
  border-radius: 4px;
  overflow: hidden;
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.thumb:hover,
.thumb:focus-visible {
  border-color: var(--border-gold);
}

.thumb:focus {
  outline: none;
}

.product-info h1 {
  font-size: 2rem;
  margin: 0.35rem 0 1rem;
  color: var(--burgundy-deep);
}

.product-price {
  font-size: 1.35rem;
  margin: 0 0 1rem;
  color: var(--burgundy);
}

.product-desc {
  color: var(--muted);
  margin-bottom: 1rem;
}

.stock-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.35rem 0 0.75rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}

.stock-note::before {
  content: '';
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04);
}

.stock-note.is-in {
  color: #065f46;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.stock-note.is-low {
  color: #92400e;
  background: #fffbeb;
  border-color: #fde68a;
}

.stock-note.is-out {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fecaca;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qty-row input {
  width: 5rem;
  padding: 0.5rem;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  font: inherit;
  background: var(--surface);
}

.cod-box {
  background: var(--cream-dark);
  border: 1px solid var(--border-gold);
  padding: 1.25rem;
  border-radius: 4px;
}

.cod-box strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  color: var(--burgundy-deep);
}

.cod-box-body {
  font-size: 0.95rem;
  line-height: 1.5;
}

.cod-box-body p {
  margin: 0.35rem 0 0;
}

.cod-box-body p:first-child {
  margin-top: 0;
}

.related-block {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-gold);
}

.site-footer {
  background: linear-gradient(180deg, var(--burgundy-deep) 0%, #32060c 100%);
  color: var(--champagne);
  padding: 3rem 0 0;
  margin-top: 2rem;
  border-top: 1px solid var(--border-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand-block .footer-logo {
  width: auto;
  max-width: min(350px, 94%);
  max-height: 6.2rem;
  height: auto;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.35));
  transition: transform 0.45s ease, filter 0.45s ease;
}

.footer-brand-block:hover .footer-logo {
  transform: scale(1.03);
  filter: drop-shadow(0 8px 28px rgba(212, 175, 55, 0.2));
}

.footer-tagline {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(245, 230, 211, 0.78);
  max-width: 28ch;
}

.footer-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.footer-grid a {
  display: block;
  color: rgba(245, 230, 211, 0.88);
  text-decoration: none;
  margin-bottom: 0.35rem;
}

.footer-grid a:hover {
  color: var(--gold-light);
}

.footer-cod {
  font-size: 0.95rem;
  color: rgba(245, 230, 211, 0.65);
}

.footer-shipping-wrap {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  margin-bottom: 0.5rem;
}

.shipping-company-card {
  max-width: 42rem;
  padding: 1.25rem 1.35rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: rgba(245, 230, 211, 0.92);
}

.shipping-company-card--compact {
  max-width: none;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--border-gold);
  color: var(--burgundy-deep);
}

.shipping-company-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.shipping-company-card--compact .shipping-company-title {
  color: var(--burgundy-deep);
}

.shipping-company-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff8ee;
}

.shipping-company-card--compact .shipping-company-name {
  color: var(--burgundy-deep);
}

.shipping-company-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.shipping-company-link:hover {
  color: var(--gold-light);
}

.shipping-company-card--compact .shipping-company-link:hover {
  color: var(--burgundy);
}

.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.footer-wa-icon {
  flex-shrink: 0;
  opacity: 0.92;
}

.footer-phone {
  font-size: 0.95rem;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  padding: 1.25rem 0;
  font-size: 0.92rem;
  color: rgba(245, 230, 211, 0.5);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 3rem;
  align-items: start;
}

.checkout-main {
  min-width: 0;
}

@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

.checkout-form .form-row {
  margin-bottom: 1.25rem;
}

.checkout-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  font-family: var(--font-display);
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  font: inherit;
  background: var(--surface);
}

.form-error {
  color: #b91c1c;
  font-weight: 600;
}

.checkout-success {
  background: var(--surface);
  border: 1px solid var(--border-gold);
  padding: 2rem;
  border-radius: 4px;
}

.checkout-success .btn-outline,
.checkout-continue-btn {
  color: var(--burgundy);
  border-color: var(--burgundy-soft);
  margin-right: 0.75rem;
  margin-top: 1rem;
}

.checkout-continue-btn:hover {
  background: var(--burgundy);
  color: var(--gold-light);
  border-color: var(--burgundy);
  transform: translateY(-2px);
}

.cart-summary {
  position: sticky;
  top: 5rem;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  padding: 1.5rem;
  border-radius: 4px;
}

.cart-summary h2 {
  margin-top: 0;
  font-size: 1.15rem;
  font-family: var(--font-display);
  color: var(--burgundy-deep);
}

.cart-summary-list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cart-line {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.98rem;
}

.cart-line-product-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

a.cart-line-product-link:hover .cart-line-name,
a.cart-line-product-link:focus-visible .cart-line-name {
  text-decoration: underline;
  color: var(--burgundy-deep);
}

a.cart-line-product-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.cart-line-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border-gold);
  flex-shrink: 0;
  background: var(--cream-dark);
}

.cart-line-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cart-line-name {
  font-weight: 600;
  color: var(--burgundy-deep);
  line-height: 1.3;
}

.cart-line-qty {
  font-size: 0.88rem;
  color: var(--muted);
}

.cart-line-price {
  font-weight: 600;
  color: var(--burgundy);
  flex-shrink: 0;
  white-space: nowrap;
}

.cart-line-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}

.cart-line-remove {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cart-line-remove:hover {
  color: var(--burgundy);
}

.cart-summary-actions {
  margin-top: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--cream-dark);
}

/* Bouton lisible sur fond clair (évite btn-ghost type header) */
.checkout-summary .cart-clear-btn {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.72rem 1rem;
  background: #fffefb;
  color: var(--burgundy-deep);
  border: 2px solid var(--burgundy-soft);
  box-shadow: 0 2px 0 rgba(74, 10, 18, 0.07);
}

.checkout-summary .cart-clear-btn:hover {
  background: var(--burgundy-deep);
  color: var(--gold-light);
  border-color: var(--burgundy-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(74, 10, 18, 0.18);
}

.checkout-summary .cart-clear-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.cart-empty-hint {
  margin-top: 1rem;
  padding: 1.15rem 1rem 1.05rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.14) 0%, rgba(245, 230, 211, 0.45) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.cart-empty-hint-text {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--burgundy-deep);
  line-height: 1.35;
}

.cart-empty-shop-btn {
  margin: 0;
  background: linear-gradient(145deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.6);
  box-shadow: 0 2px 0 rgba(74, 10, 18, 0.22);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

.cart-empty-shop-btn:hover {
  background: linear-gradient(145deg, #7c1320 0%, var(--burgundy) 100%);
  color: #fff7df;
  border-color: rgba(232, 213, 163, 0.9);
}

.cart-empty-shop-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--cream-dark);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--burgundy-deep);
}

.cart-summary-total strong {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--burgundy);
}

.checkout-summary .shipping-company-card--compact {
  text-align: left;
  margin-top: 0.75rem;
  padding: 0.85rem 0.95rem;
  background: #fffdf8 !important;
  border: 1px solid rgba(212, 175, 55, 0.42) !important;
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
  color: #4a0a12 !important;
}

.checkout-summary .shipping-company-card--compact .shipping-company-title {
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  margin-bottom: 0.42rem;
  color: #5a1725 !important;
}

.checkout-summary .shipping-company-card--compact .shipping-company-name {
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.35;
  color: #4a0a12 !important;
}

.checkout-summary .shipping-company-card--compact .shipping-company-link {
  color: #6b0f1a !important;
  text-decoration-thickness: 2px;
}
.checkout-summary .shipping-company-card--compact .shipping-company-link {
  font-weight: 700;
}

.checkout-delivery-row {
  margin-top: 0.8rem;
  padding: 0.8rem 0.95rem;
  background: #fff;
  border: 1px solid #e4c980;
  border-radius: 6px;
}

.checkout-delivery-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5b1a28;
  font-weight: 700;
}

.checkout-delivery-name {
  margin: 0;
  color: #3d0c14;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.35;
}

.checkout-delivery-link {
  color: #5f1421;
  text-decoration-thickness: 2px;
}

.checkout-delivery-link:hover {
  color: #7a1d2d;
}

.hint {
  color: var(--muted);
  margin-top: 1rem;
}

/* Modale confirmation (ex. vider le panier) */
body.kaya-dialog-open {
  overflow: hidden;
}

.kaya-dialog[hidden] {
  display: none !important;
}

.kaya-dialog:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  box-sizing: border-box;
}

.kaya-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 10, 14, 0.58);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

.kaya-dialog-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
  margin: auto;
  background: linear-gradient(180deg, #fffefb 0%, var(--surface) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow:
    0 4px 0 rgba(212, 175, 55, 0.35),
    0 28px 64px rgba(74, 10, 18, 0.38);
}

.kaya-dialog-panel::before {
  content: '';
  display: block;
  height: 3px;
  margin: -1.5rem -1.5rem 1.15rem;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(90deg, var(--burgundy-deep), var(--gold), var(--burgundy-deep));
  opacity: 0.92;
}

.kaya-dialog-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--burgundy-deep);
}

.kaya-dialog-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
}

.kaya-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 1.45rem;
}

.kaya-dialog-panel .btn-outline {
  color: var(--burgundy-deep);
  border-color: var(--burgundy-soft);
  border-width: 2px;
}

.kaya-dialog-panel .btn-outline:hover {
  background: var(--burgundy-deep);
  color: var(--gold-light);
  border-color: var(--burgundy-deep);
}

.kaya-dialog-panel .btn-primary {
  min-width: 8.5rem;
}

@media (max-width: 420px) {
  .kaya-dialog-actions {
    flex-direction: column-reverse;
  }

  .kaya-dialog-actions .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .kaya-dialog:not([hidden]) .kaya-dialog-panel {
    animation: kaya-dialog-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  @keyframes kaya-dialog-in {
    from {
      opacity: 0;
      transform: scale(0.96) translateY(10px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-reassurance {
  background: linear-gradient(180deg, var(--cream-dark) 0%, var(--surface) 50%, var(--cream) 100%);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 1.75rem 0;
}

.footer-reassurance-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 1.5rem;
}

@media (max-width: 900px) {
  .footer-reassurance-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-reassurance-inner {
    grid-template-columns: 1fr;
  }
}

.footer-reassurance-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.98rem;
  line-height: 1.5;
}

/* Texte descriptif (sous le titre) : lisible sur fond clair */
.footer-reassurance-item > span:not(.footer-reassurance-icon) {
  font-weight: 500;
  color: var(--muted);
  max-width: 32ch;
}

.footer-reassurance-item strong {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy-deep);
}

.footer-reassurance-icon {
  font-size: 1.15rem;
  line-height: 1;
  color: var(--burgundy-soft);
  margin-bottom: 0.1rem;
}

.footer-reassurance-item a {
  color: var(--burgundy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.footer-reassurance-item a:hover {
  color: var(--burgundy-deep);
}

.footer-newsletter {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-newsletter-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

.footer-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.footer-newsletter-form input[type='email'] {
  flex: 1;
  min-width: 10rem;
  padding: 0.45rem 0.65rem;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(0, 0, 0, 0.2);
  color: var(--champagne);
  font: inherit;
}

.footer-newsletter-form .btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
}

.footer-newsletter-msg {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
}

.footer-newsletter-msg.is-success {
  color: #86efac;
}

.footer-newsletter-msg.is-error {
  color: #fecaca;
}

.nav-favorites {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: var(--champagne);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  border: none;
  border-radius: var(--radius);
  position: relative;
  min-width: 1.95rem;
  min-height: 1.95rem;
  padding: 0.35rem;
}

.nav-favorites:hover {
  color: #fff;
}

.nav-favorites-icon {
  font-size: 1.38rem;
  line-height: 1;
  position: relative;
  top: -1px;
}

.nav-fav-badge {
  background: var(--gold);
  color: var(--burgundy-deep);
  position: absolute;
  top: -0.38rem;
  right: -0.38rem;
  margin-left: 0;
  min-width: 1.1rem;
  text-align: center;
  padding: 0.05rem 0.3rem;
}

.wa-float-btn {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: #25d366;
  color: #fff;
  text-decoration: none;
  padding: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.wa-float-btn:hover {
  filter: brightness(1.05);
}

.wa-float-btn-icon {
  flex-shrink: 0;
}

.back-to-top-btn {
  position: fixed;
  right: 1rem;
  bottom: 4.85rem;
  z-index: 79;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: rgba(74, 10, 18, 0.92);
  color: var(--gold-light);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.back-to-top-btn:hover {
  transform: translateY(-1px);
}

.product-card {
  position: relative;
}

.product-card-wish {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: rgba(255, 254, 251, 0.92);
  color: var(--burgundy-soft);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.product-card-wish:hover,
.product-card-wish.is-active {
  background: var(--burgundy-deep);
  color: var(--gold-light);
  transform: scale(1.06);
}

.wishlist-detail-btn.is-active {
  border-color: var(--burgundy-soft);
  background: rgba(107, 15, 26, 0.08);
}

.product-lifestyle {
  margin: 1rem 0 0;
  padding: 0;
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  overflow: hidden;
  background: var(--cream-dark);
}

.product-lifestyle-img {
  width: 100%;
  display: block;
  max-height: 420px;
  object-fit: cover;
}

.product-lifestyle-cap {
  margin: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--surface);
}

.product-delivery-note {
  font-size: 0.95rem;
  color: var(--burgundy-soft);
  margin: 0.5rem 0 0;
}

.reviews-block {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-gold);
}

.review-list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.9rem;
}

.review-item {
  padding: 0.95rem;
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(74, 10, 18, 0.06);
}

.review-meta {
  margin: 0 0 0.35rem;
}

.review-body {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.review-stars {
  letter-spacing: 0.05em;
  color: var(--gold);
  font-size: 0.9rem;
}

.reviews-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin: 0 0 1rem;
}

.review-form {
  max-width: 32rem;
  margin-top: 1rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
}

.review-form-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.review-form-hint {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.rating-stars {
  margin: 0;
  padding: 0;
  border: 0;
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.2rem;
}

.rating-stars input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating-stars label {
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  color: #d1d5db;
  transition: transform 0.12s ease, color 0.12s ease;
}

.rating-stars label:hover,
.rating-stars label:hover ~ label {
  color: #fbbf24;
}

.rating-stars input:checked ~ label {
  color: var(--gold);
}

.rating-stars label:active {
  transform: scale(0.95);
}

.form-success {
  color: #065f46;
  font-size: 0.95rem;
  margin: 0.5rem 0;
}

.home-collection-section {
  padding-top: 0.5rem;
}

.journal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.journal-card {
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  background: var(--surface);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.journal-card:hover {
  box-shadow: 0 12px 32px rgba(74, 10, 18, 0.1);
  transform: translateY(-2px);
}

.journal-card-link {
  display: block;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: inherit;
}

.journal-card-link h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--burgundy-deep);
}

.journal-excerpt {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.journal-read {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--burgundy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.journal-article .journal-breadcrumb {
  margin-bottom: 1rem;
}

.journal-lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.journal-body p {
  line-height: 1.65;
}

.journal-back {
  margin-top: 2rem;
}

.faq-page .faq-block {
  margin-bottom: 2rem;
}

.faq-list dt {
  font-weight: 600;
  color: var(--burgundy-deep);
  margin-top: 1rem;
}

.faq-list dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.faq-footer-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-gold);
}

.suivi-form {
  max-width: 28rem;
}

.suivi-error {
  margin-bottom: 1rem;
}

.suivi-result {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
}

.suivi-ref {
  font-size: 1.05rem;
}

.checkout-free-ship-banner {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(107, 15, 26, 0.08) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
  color: var(--burgundy-deep);
}

.cart-promo-block {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--cream-dark);
}

.cart-promo-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--burgundy-deep);
  margin-bottom: 0.35rem;
}

.cart-promo-row {
  display: flex;
  gap: 0.5rem;
}

.cart-promo-input {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  font: inherit;
}

.cart-promo-btn {
  flex-shrink: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
}

.promo-feedback {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
}

.promo-feedback.is-ok {
  color: #065f46;
}

.promo-feedback.is-err {
  color: #991b1b;
}

.cart-summary-lines {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--cream-dark);
  font-size: 1rem;
  color: var(--burgundy-deep);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.35rem 0;
  font-weight: 500;
}

.cart-summary-line > span:first-child {
  color: var(--burgundy-deep);
  font-weight: 600;
}

.cart-summary-line > span:last-child {
  font-weight: 600;
  color: var(--burgundy);
  white-space: nowrap;
}

.cart-summary-line[hidden] {
  display: none;
}

.cart-summary-line--discount {
  color: #065f46;
}

.cart-summary-line--discount > span:first-child,
.cart-summary-line--discount > span:last-child {
  color: #065f46;
}

.checkout-wa-cart {
  margin-top: 0.75rem;
}

.checkout-discount-line {
  font-size: 0.95rem;
  color: #065f46;
  margin-top: 0.5rem;
}

.wishlist-remove-btn {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.35rem;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}

.error-page {
  text-align: center;
  padding: 2rem 0 3rem;
}

.error-page-code {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 5rem);
  font-weight: 600;
  color: rgba(212, 175, 55, 0.45);
  margin: 0 0 0.5rem;
  line-height: 1;
}

.error-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.error-page-hint {
  color: var(--muted);
  max-width: 36ch;
  margin: 0 auto;
  line-height: 1.5;
}

.error-page-hint a {
  color: var(--burgundy);
  font-weight: 600;
}

.prose h2 {
  margin-top: 2rem;
  color: var(--burgundy-deep);
}

/* Animations & léger 3D (respecte prefers-reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
  .hero-bg {
    animation: kaya-hero-drift 22s ease-in-out infinite alternate;
  }

  @keyframes kaya-hero-drift {
    0% {
      transform: scale(1.02) translate(0, 0);
    }
    100% {
      transform: scale(1.07) translate(-1.2%, -0.8%);
    }
  }

  .hero-content {
    animation: kaya-hero-enter 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  @keyframes kaya-hero-enter {
    from {
      opacity: 0;
      transform: perspective(880px) translateY(32px) rotateX(7deg);
    }
    to {
      opacity: 1;
      transform: perspective(880px) translateY(0) rotateX(0);
    }
  }

  .hero-cta .btn {
    animation: kaya-hero-enter 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .trust-item {
    animation: kaya-fade-up 0.75s ease both;
  }

  .trust-item:nth-child(2) {
    animation-delay: 0.1s;
  }

  .trust-item:nth-child(3) {
    animation-delay: 0.2s;
  }

  @keyframes kaya-fade-up {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .product-page .product-gallery:hover .product-main-img {
    box-shadow: 0 20px 40px rgba(74, 10, 18, 0.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    animation: none;
  }

  .hero-content,
  .hero-cta .btn,
  .trust-item {
    animation: none;
  }

  .hero-showcase-track {
    animation: none !important;
    transform: translateX(0) !important;
  }

  .hero-dot {
    animation: none !important;
    background: rgba(255, 255, 255, 0.45);
    transform: none;
  }

  .hero-showcase--slides-2 .hero-dot:nth-child(1),
  .hero-showcase--slides-3 .hero-dot:nth-child(1) {
    background: var(--gold-light);
    transform: scale(1.15);
  }
}
