/* ==========================================================================
   DIAMOND LUXURY — Feuille de style de la boutique (index.html)
   Feuille unique, alignée sur le HTML et sur les classes générées par app.js.
   ========================================================================== */

:root {
  --cream: #fbf7f0;
  --cream-2: #f3ecdf;
  --paper: #ffffff;
  --ink: #1a1815;
  --ink-2: #2a2620;
  --muted: #7a7268;
  --muted-2: #a8a095;
  --gold: #c9a227;
  --gold-deep: #8a6a1f;
  --gold-soft: #e8cd82;
  --line: #e8e0d2;
  --line-2: #f0e9dc;
  --red: #b33a3a;
  --green: #2f6b4a;
  --shadow: 0 1px 2px rgba(26,24,21,.04), 0 8px 24px rgba(26,24,21,.06);
  --shadow-lg: 0 2px 4px rgba(26,24,21,.05), 0 20px 50px rgba(26,24,21,.10);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 2px;
  --sans: 'Jost', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --max: 1280px;
}

/* ------------------------------ Base ------------------------------ */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; }
p { margin: 0 0 12px; }
ul { margin: 0; }
em { font-style: italic; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; width: 100%; }
.center { text-align: center; }
.full { grid-column: 1 / -1; }
.gold { color: var(--gold); }
.gold-text { color: var(--gold-deep); font-style: italic; }
.handle { color: var(--gold-deep); font-family: var(--serif); font-size: 22px; }
.signature { font-family: var(--serif); font-size: 26px; font-style: italic; color: var(--gold-deep); margin: 18px 0 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.sr-only:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: var(--ink); color: var(--cream); padding: 10px 14px; z-index: 400; }

/* ------------------------------ Icônes ------------------------------ */
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon.sm { width: 16px; height: 16px; }
.icon.lg { width: 26px; height: 26px; }

/* ------------------------------ Annonce + Header ------------------------------ */
.announce { background: var(--gold); color: #000; overflow: hidden; position: relative; z-index: 51; padding: 9px 0; }
.announce-track { display: flex; width: max-content; animation: announce-marquee 32s linear infinite; will-change: transform; }
.announce:hover .announce-track { animation-play-state: paused; }
.announce-group { display: block; flex: 0 0 auto; padding-right: 56px; white-space: nowrap; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #000; }
@media (max-width: 768px) { .announce-group { font-size: 9px; } }
@keyframes announce-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announce-track { animation: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: #0a0a0a; border-bottom: 1px solid rgba(201,162,39,.45); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; height: 62px; }

.site-header .main-nav { grid-column: 1; grid-row: 1; justify-self: start; display: flex; gap: 26px; }
.site-header .nav-link { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #fff; position: relative; padding: 4px 0; transition: color .3s var(--ease); }
.site-header .nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.site-header .nav-link:hover { color: var(--gold); }
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.site-header .nav-link.active { color: var(--gold); }

.site-header .brand { grid-column: 2; grid-row: 1; justify-self: center; display: flex; align-items: center; justify-content: center; }
.site-header .brand img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 1px 8px rgba(201,162,39,.18)); }

.site-header .header-actions { grid-column: 3; grid-row: 1; justify-self: end; display: flex; gap: 14px; align-items: center; }
.site-header .icon-btn { position: relative; width: auto; height: auto; padding: 5px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: #fff; cursor: pointer; transition: color .18s, transform .18s; }
.site-header .icon-btn:hover { color: var(--gold); background: transparent; transform: translateY(-1px); }
.site-header .burger { grid-column: 1; grid-row: 1; justify-self: start; display: none; }
.badge-count { position: absolute; top: -2px; right: -4px; background: var(--gold); color: #000; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 4px; line-height: 1; }
.badge-count.gold { background: var(--gold); color: #000; }

.icon-btn { position: relative; width: 38px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; transition: all .18s; }
.icon-btn:hover { background: var(--cream-2); color: var(--gold-deep); border-color: var(--gold); }

/* ------------------------------ Boutons ------------------------------ */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; overflow: hidden; padding: 12px 22px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; border: 1px solid transparent; border-radius: 2px; cursor: pointer; transition: color .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease); font-weight: 500; font-family: inherit; background: none; color: inherit; }
.btn::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(110deg, transparent 18%, rgba(255,255,255,.34) 46%, rgba(232,205,130,.3) 54%, transparent 82%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after, .btn:focus-visible::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(138,106,31,.18); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-2); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-deep); background: rgba(201,162,39,.06); }
.btn-danger { background: transparent; color: var(--red); border-color: var(--red); }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 10px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ------------------------------ Vues ------------------------------ */
.view { display: block; }

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

.shop-enter { animation: shop-fade-up .5s cubic-bezier(.22,.61,.36,1) both; }
.shop-card-enter { animation: shop-fade-up .55s cubic-bezier(.22,.61,.36,1) both; }

/* ------------------------------ Hero ------------------------------ */
.hero { position: relative; padding: 80px 0 60px; overflow: hidden; }
.hero-inner { display: block; width: 100%; margin: 0; text-align: left; }
.hero-kicker { display: flex; align-items: center; justify-content: flex-start; gap: 12px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; }
.hero-kicker .dash { display: inline-block; width: 36px; height: 1px; background: var(--gold); }
.hero-title { font-family: var(--serif); font-size: 68px; line-height: 1.05; margin-bottom: 24px; }
.hero-text { font-size: 16px; color: var(--muted); max-width: 560px; margin: 0 0 32px; }
.hero-actions { display: flex; justify-content: flex-start; gap: 14px; flex-wrap: wrap; }
.hero-proof { display: flex; justify-content: flex-start; gap: 40px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.proof-item { display: flex; flex-direction: column; gap: 4px; }
.proof-item strong { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--gold-deep); line-height: 1; }
.proof-item span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.hero-enter .hero-copy > * { animation: hero-rise .85s var(--ease) both; }
.hero-enter .hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-enter .hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero-enter .hero-copy > :nth-child(3) { animation-delay: .25s; }
.hero-enter .hero-copy > :nth-child(4) { animation-delay: .35s; }
.hero-enter .hero-copy > :nth-child(5) { animation-delay: .45s; }
/* ------------------------------ Valeurs ------------------------------ */
.values { padding: 50px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-item { display: flex; gap: 14px; align-items: flex-start; }
.value-item .icon { color: var(--gold-deep); margin-top: 2px; }
.value-item strong { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.value-item span { display: block; font-size: 12px; color: var(--muted); }
.values-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.value-card { padding: 32px; background: var(--cream); border: 1px solid var(--line); }
.value-card .icon { color: var(--gold-deep); margin-bottom: 16px; }
.value-card h3 { font-size: 22px; margin-bottom: 10px; }
.value-card p { font-size: 13px; color: var(--muted); margin: 0; }

/* ------------------------------ Sections ------------------------------ */
.section { padding: 70px 0; }
.section.cream { background: var(--cream-2); }
.section.tight { padding: 50px 0; }
.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: 40px; line-height: 1.1; }
.section-head p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.section-head.center { text-align: center; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; }
.section-head-row .section-head { margin-bottom: 0; }
.eyebrow { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
.eyebrow.center { text-align: center; }
.link-more { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); white-space: nowrap; transition: color .3s var(--ease); }
.link-more::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.link-more:hover { color: var(--ink); }
.link-more:hover::after { transform: scaleX(1); }
.page-head { padding: 40px 0 10px; }
.page-head h1 { font-size: 46px; line-height: 1.1; margin-bottom: 8px; }
.page-head p { color: var(--muted); }

.breadcrumb { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb span { margin: 0 8px; }

/* ------------------------------ Catégories ------------------------------ */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; background: var(--cream-2); border: 1px solid transparent; transition: transform .5s cubic-bezier(.22,.61,.36,1), border-color .35s ease, box-shadow .35s ease; }
.cat-card::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(201,162,39,0); pointer-events: none; transition: border-color .4s ease; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,.61,.36,1); }
.cat-card:hover { border-color: rgba(201,162,39,.6); box-shadow: 0 20px 44px rgba(26,24,21,.18); transform: translateY(-3px); }
.cat-card:hover::after { border-color: rgba(201,162,39,.45); }
.cat-card:hover img { transform: scale(1.07); }
.cat-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,24,21,.6), transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: #fff; }
.cat-name { font-family: var(--serif); font-size: 26px; }
.cat-count { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }

/* ------------------------------ Produits (cartes) ------------------------------ */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-grid.three { grid-template-columns: repeat(3, 1fr); }
.product-card { position: relative; background: var(--paper); border: 1px solid var(--line); transition: box-shadow .2s; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow); }
.product-media { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--cream-2); }
.product-media > a { display: block; width: 100%; height: 100%; }
.product-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .4s; }
.product-img.alt { opacity: 0; }
.product-card:hover .product-img.alt { opacity: 1; }
.product-card:hover .product-img { transform: scale(1.03); }
.product-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; max-width: calc(100% - 64px); }
.badge { display: inline-block; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); line-height: 1.3; }
.badge.new { background: var(--gold); color: #fff; border-color: var(--gold); }
.badge.promo { background: var(--red); color: #fff; border-color: var(--red); }
.badge.featured { background: var(--ink); color: var(--gold-soft); border-color: var(--ink); }
.badge.out { background: var(--muted); color: #fff; border-color: var(--muted); }
.wish-btn { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 50%; color: var(--ink); cursor: pointer; transition: all .18s; padding: 0; }
.wish-btn:hover { color: var(--gold-deep); border-color: var(--gold); }
.wish-btn.active, .icon-action.active { color: var(--red); }
.wish-btn.active .icon, .icon-action.active .icon { fill: currentColor; }
.product-body { padding: 14px 14px 18px; }
.product-cat { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.product-name { font-family: var(--serif); font-size: 19px; margin-bottom: 6px; line-height: 1.2; }
.product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 500; }
.price-promo { color: var(--red); }
.price-old { text-decoration: line-through; color: var(--muted); font-size: 12px; font-weight: 400; }
.stock-inline { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.stock-inline.low { color: var(--gold-deep); }
.stock-inline.out { color: var(--red); }

/* ------------------------------ Éditorial ------------------------------ */
.editorial { display: block; max-width: 760px; margin: 0 auto; text-align: center; }
.editorial-copy h2 { font-size: 40px; line-height: 1.1; margin-bottom: 16px; }
.editorial-copy p { color: var(--muted); }
.editorial-list { list-style: none; padding: 0; margin: 20px 0; }
.editorial-list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.editorial-list .icon { color: var(--gold-deep); }

/* ------------------------------ Instagram ------------------------------ */
.section.tight .section-head.center { max-width: 760px; margin: 0 auto; }
.insta-cta { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 0 auto; padding-top: 26px; text-align: center; }

/* ------------------------------ Newsletter ------------------------------ */
.newsletter { padding: 60px 0; background: var(--ink); color: var(--cream); }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.newsletter h2 { font-size: 34px; line-height: 1.15; margin-bottom: 10px; }
.newsletter p { color: var(--muted-2); margin: 0; }
.newsletter .eyebrow { color: var(--gold-soft); }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { flex: 1; min-width: 0; padding: 13px 14px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: var(--cream); font-family: inherit; font-size: 13px; }
.newsletter-form input::placeholder { color: var(--muted-2); }
.newsletter-form input:focus { outline: none; border-color: var(--gold); }
.newsletter-form button { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; background: var(--gold); color: #fff; border: 1px solid var(--gold); font-family: inherit; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.newsletter-form button:hover { background: var(--gold-deep); border-color: var(--gold-deep); }

/* ------------------------------ Boutique ------------------------------ */
.shop-section { padding: 30px 0 60px; }
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.shop-count { font-size: 12px; color: var(--muted); }
.toolbar-right { display: flex; gap: 10px; align-items: center; }
.sort-select { padding: 9px 12px; border: 1px solid var(--line); background: var(--paper); font-family: inherit; font-size: 12px; color: var(--ink); }
.filter-toggle { display: none; }
.filters { display: block; }
.filter-block { padding: 18px 0; border-bottom: 1px solid var(--line); }
.filter-block:first-child { padding-top: 0; }
.filter-title { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-link { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: 13px; color: var(--ink-2); }
.filter-link:hover, .filter-link.active { color: var(--gold-deep); }
.filter-link.active { font-weight: 500; }
.checkline { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 4px 0; cursor: pointer; }
.checkline input { accent-color: var(--gold); }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs input { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid var(--line); background: var(--paper); font-family: inherit; font-size: 13px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer; padding: 0; }
.swatch.active { outline: 2px solid var(--gold); outline-offset: 2px; }
.size-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 6px 12px; border: 1px solid var(--line); background: var(--paper); font-family: inherit; font-size: 12px; cursor: pointer; transition: all .18s; }
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.filter-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 18px; }

/* ------------------------------ Fiche produit ------------------------------ */
.product-section { padding: 40px 0 60px; }
.product-page { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.gallery { display: flex; gap: 12px; }
.gallery-thumbs { display: flex; flex-direction: column; gap: 8px; }
.gallery-thumb { width: 64px; height: 80px; padding: 0; border: 1px solid var(--line); background: var(--cream-2); overflow: hidden; cursor: pointer; opacity: .6; transition: opacity .2s; }
.gallery-thumb.active { opacity: 1; border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main { position: relative; flex: 1; aspect-ratio: 3/4; background: var(--cream-2); overflow: hidden; }
.gallery-main > img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: flex; justify-content: space-between; padding: 0 10px; pointer-events: none; }
.gallery-nav button { pointer-events: auto; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.9); border: 1px solid var(--line); cursor: pointer; color: var(--ink); }
.gallery-nav button:hover { color: var(--gold-deep); border-color: var(--gold); }
.product-info .product-cat { font-size: 11px; margin-bottom: 8px; }
.product-title { font-size: 40px; line-height: 1.1; margin-bottom: 12px; }
.product-price-lg { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 8px 0 10px; }
.product-price-lg .price { font-size: 24px; font-weight: 500; }
.availability { font-size: 12px; margin-bottom: 6px; color: var(--green); }
.availability.low { color: var(--gold-deep); }
.availability.out { color: var(--red); }
.product-desc { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 20px 0; }
.option-row { margin: 20px 0; }
.option-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.option-label span { color: var(--ink); }
.color-options, .size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.color-option, .size-option { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; font-family: inherit; font-size: 12px; transition: all .18s; }
.color-option:hover, .size-option:hover { border-color: var(--gold); }
.color-option .dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--line); }
.color-option.active, .size-option.active { border-color: var(--gold); background: var(--cream); box-shadow: inset 0 0 0 1px var(--gold); }
.color-option.disabled, .size-option.disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.stock-note { font-size: 12px; color: var(--muted); min-height: 18px; }
.stock-note.low { color: var(--gold-deep); }
.stock-note.out { color: var(--red); }
.add-row { display: flex; gap: 12px; align-items: stretch; margin-top: 20px; }
.add-row .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--paper); }
.qty-btn { width: 38px; height: 38px; padding: 0; background: var(--paper); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.qty-btn:hover { color: var(--gold-deep); }
.qty-num { min-width: 36px; text-align: center; font-size: 13px; }
.qty.sm .qty-btn { width: 30px; height: 30px; }

/* ------------------------ Animation « Ajouter au panier » ------------------------ */
.add-cart { position: relative; overflow: hidden; transition: background .3s ease, border-color .3s ease, color .3s ease, width .4s cubic-bezier(.22,.61,.36,1), flex-basis .4s cubic-bezier(.22,.61,.36,1), padding .4s cubic-bezier(.22,.61,.36,1), border-radius .4s ease, box-shadow .3s ease; }
.add-cart .ac-label { display: inline-block; white-space: nowrap; transition: opacity .28s ease, transform .28s ease; }
.add-cart .ac-cart,
.add-cart .ac-check { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; }
.add-cart .ac-cart .icon { width: 24px; height: 24px; }
.add-cart .ac-dot { position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--gold-soft); box-shadow: 0 0 8px rgba(232,205,130,.8); opacity: 0; }
.add-cart .ac-check { width: 24px; height: 24px; margin: -12px 0 0 -12px; color: #fff; }
.add-cart .ac-check svg { width: 22px; height: 22px; }
.add-cart .ac-check svg path { stroke-dasharray: 26; stroke-dashoffset: 26; }

.add-cart.is-adding { background: rgba(26,24,21,.94); border-color: var(--gold); color: var(--gold-soft); }
.add-cart.is-adding .ac-label { opacity: 0; transform: translateY(-8px); }
.add-cart.is-adding .ac-cart { opacity: 1; animation: ac-cart 1.2s cubic-bezier(.22,.61,.36,1) both; }
.add-cart.is-adding .ac-dot { animation: ac-dot .95s cubic-bezier(.3,.7,.4,1) both; }

.add-row .add-cart.is-success { flex: 0 0 46px; width: 46px; min-width: 46px; max-width: 46px; height: 46px; align-self: center; margin-left: auto; margin-right: auto; padding: 0; border-radius: 50%; background: var(--gold); border-color: var(--gold); color: #fff; box-shadow: 0 10px 26px rgba(201,162,39,.38); }
.add-cart.is-success .ac-label,
.add-cart.is-success .ac-cart { opacity: 0; }
.add-cart.is-success .ac-check { opacity: 1; }
.add-cart.is-success .ac-check svg path { animation: ac-check .5s .08s cubic-bezier(.65,0,.35,1) forwards; }

@keyframes ac-cart {
  0% { opacity: 0; transform: translateX(-46px) scale(.85); }
  20% { opacity: 1; transform: translateX(0) scale(1); }
  34% { transform: translateX(0) translateY(3px) scale(1.06); }
  47% { transform: translateX(0) translateY(0) scale(1); }
  62% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(54px) scale(.9); }
}

@keyframes ac-dot {
  0%, 22% { opacity: 0; transform: translateY(-13px) scale(.5); }
  34% { opacity: 1; transform: translateY(-2px) scale(1); }
  50% { opacity: 1; transform: translateY(9px) scale(.9); }
  62% { opacity: 0; transform: translateY(13px) scale(.3); }
  100% { opacity: 0; transform: translateY(13px) scale(.2); }
}

@keyframes ac-check {
  to { stroke-dashoffset: 0; }
}
.product-actions { display: flex; gap: 10px; margin-top: 12px; }
.product-actions .btn { flex: 1; }
.icon-action { width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--paper); border: 1px solid var(--line); cursor: pointer; color: var(--ink); transition: all .18s; }
.icon-action:hover { border-color: var(--gold); color: var(--gold-deep); }
.perks { display: flex; flex-direction: column; gap: 10px; margin: 24px 0; padding: 20px; background: var(--cream); border: 1px solid var(--line); }
.perk { display: flex; gap: 10px; align-items: center; font-size: 12px; }
.perk .icon { color: var(--gold-deep); }
.accordion { width: 100%; border-top: 1px solid var(--line); margin-top: 24px; }
.accordion-item { width: 100%; border-bottom: 1px solid var(--line); }
.accordion-head { width: 100%; padding: 18px 0; border: 0; background: transparent; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); text-align: left; transition: color .2s ease; }
.accordion-head:hover { color: var(--gold-deep); }
.accordion-head .icon { width: 14px; height: 14px; color: var(--gold-deep); transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.accordion-item.open .accordion-head { color: var(--gold-deep); }
.accordion-item.open .accordion-head .icon { transform: rotate(180deg); }
.accordion-body { display: grid; grid-template-rows: 0fr; opacity: 0; padding: 0; transition: grid-template-rows .38s cubic-bezier(.22,.61,.36,1), opacity .3s ease, padding .38s cubic-bezier(.22,.61,.36,1); }
.accordion-body > * { overflow: hidden; min-height: 0; }
.accordion-item.open .accordion-body { grid-template-rows: 1fr; opacity: 1; padding: 0 0 20px; }
.accordion-body ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.accordion-body li { position: relative; padding-left: 18px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.accordion-body li::before { content: ''; position: absolute; left: 0; top: .72em; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* ------------------------------ Panier ------------------------------ */
.cart-drawer { position: fixed; top: 0; right: 0; width: 420px; max-width: 100%; height: 100vh; height: 100dvh; background: var(--paper); z-index: 160; transform: translateX(102%); transition: transform .6s var(--ease), visibility .6s; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; visibility: hidden; }
.cart-drawer.open { transform: translateX(0); visibility: visible; }
.cart-head { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.cart-head h2 { font-size: 22px; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-foot { padding: 20px 24px; border-top: 1px solid var(--line); }
.cart-empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.cart-empty .icon { width: 36px; height: 36px; color: var(--gold-deep); margin: 0 auto 14px; }
.cart-empty h3 { font-size: 22px; color: var(--ink); margin-bottom: 8px; }
.cart-item { display: grid; grid-template-columns: 70px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.cart-thumb img { width: 70px; height: 90px; object-fit: cover; background: var(--cream-2); }
.cart-item h3 { font-family: var(--sans); font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.cart-item .variant { font-size: 11px; color: var(--muted); }
.cart-item .price { font-size: 13px; font-weight: 500; margin-top: 6px; }
.cart-item-top { display: flex; justify-content: space-between; gap: 10px; }
.cart-item-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.line-total { font-size: 14px; font-weight: 500; }
.cart-remove { background: none; border: none; cursor: pointer; color: var(--muted); padding: 4px; align-self: flex-start; }
.cart-remove:hover { color: var(--red); }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 6px 0; }
.summary-row.total { font-size: 16px; font-weight: 500; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.free-ship-note { font-size: 11px; color: var(--gold-deep); text-align: center; margin-bottom: 10px; }

/* ------------------------------ Menu latéral ------------------------------ */
.drawer-overlay { position: fixed; inset: 0; background: rgba(26,24,21,.42); z-index: 149; opacity: 0; pointer-events: none; -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); transition: opacity .55s var(--ease), -webkit-backdrop-filter .55s var(--ease), backdrop-filter .55s var(--ease); }
.drawer-overlay.open { opacity: 1; pointer-events: auto; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.side-drawer { position: fixed; top: 0; left: 0; width: 320px; max-width: 85vw; height: 100vh; height: 100dvh; background: var(--paper); z-index: 160; transform: translateX(-102%); transition: transform .6s var(--ease), visibility .6s; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; visibility: hidden; overflow-y: auto; }
.side-drawer.open { transform: translateX(0); visibility: visible; }

@keyframes drawer-item-in {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: none; }
}
@keyframes cart-item-in {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: none; }
}
.side-drawer.open .drawer-nav a { animation: drawer-item-in .55s var(--ease) both; }
.side-drawer.open .drawer-nav a:nth-child(1) { animation-delay: .1s; }
.side-drawer.open .drawer-nav a:nth-child(2) { animation-delay: .15s; }
.side-drawer.open .drawer-nav a:nth-child(3) { animation-delay: .2s; }
.side-drawer.open .drawer-nav a:nth-child(4) { animation-delay: .25s; }
.side-drawer.open .drawer-nav a:nth-child(n+5) { animation-delay: .3s; }
.side-drawer.open .drawer-foot { animation: drawer-item-in .55s var(--ease) .32s both; }
.cart-drawer.open .cart-item { animation: cart-item-in .55s var(--ease) both; }
.cart-drawer.open .cart-item:nth-child(1) { animation-delay: .08s; }
.cart-drawer.open .cart-item:nth-child(2) { animation-delay: .14s; }
.cart-drawer.open .cart-item:nth-child(3) { animation-delay: .2s; }
.cart-drawer.open .cart-item:nth-child(n+4) { animation-delay: .26s; }
.drawer-top { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer-top img { height: 40px; width: 40px; object-fit: contain; }
.drawer-nav { display: flex; flex-direction: column; gap: 0; padding: 12px 20px; flex: 1; }
.drawer-nav > div { display: flex; flex-direction: column; }
.drawer-nav a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--line-2); }
.drawer-nav a:hover { color: var(--gold-deep); }
.drawer-nav a small { margin-left: auto; font-size: 10px; color: var(--muted); letter-spacing: 0; }
.drawer-nav a span { color: var(--gold-deep); }
.drawer-foot { padding: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.admin-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted-2); font-size: 11px; }
.admin-link:hover { color: var(--gold-deep); }

/* ------------------------------ Recherche ------------------------------ */
.search-overlay { position: fixed; inset: 0; background: var(--cream); z-index: 180; display: none; flex-direction: column; overflow-y: auto; }
.search-overlay.open { display: flex; }
.search-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 20px 24px 8px; max-width: var(--max); width: 100%; margin: 0 auto; }
.search-input { flex: 1; min-width: 0; padding: 14px 16px; border: 1px solid var(--line); background: var(--paper); font-family: inherit; font-size: 16px; color: var(--ink); }
.search-input:focus { outline: none; border-color: var(--gold); }
.search-close { flex-shrink: 0; }
.search-hint { flex-basis: 100%; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 4px 0 8px; }
.search-results { max-width: var(--max); width: 100%; margin: 0 auto; padding: 8px 24px 40px; }
.search-results .search-hint { padding: 8px 0 16px; }
.search-empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* ------------------------------ Modale ------------------------------ */
.modal-overlay { position: fixed; inset: 0; background: rgba(26,24,21,.5); z-index: 200; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s; padding: 20px; }
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal { background: var(--paper); max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 32px; box-shadow: var(--shadow-lg); position: relative; }
.modal h2 { font-size: 28px; margin-bottom: 6px; }
.modal-sub { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.modal-close { position: absolute; top: 14px; right: 14px; background: none; border: none; cursor: pointer; color: var(--muted); padding: 4px; }
.modal-close:hover { color: var(--ink); }

/* ------------------------------ Aperçu rapide (Quick View) ------------------------------ */
.quick-overlay { position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(18,16,14,.58); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.quick-overlay.open { opacity: 1; pointer-events: auto; }
.quick-modal { position: relative; width: 100%; max-width: 1080px; max-height: min(90vh, 900px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; background: var(--paper); padding: 36px; box-shadow: 0 30px 90px rgba(0,0,0,.38); opacity: 0; transform: scale(.95); transition: opacity .25s ease-out, transform .25s ease-out; }
.quick-overlay.open .quick-modal { opacity: 1; transform: scale(1); }
.quick-close { position: sticky; top: 0; z-index: 2; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; margin-left: auto; margin-bottom: 6px; border: 0; background: rgba(255,255,255,.94); color: var(--ink); cursor: pointer; transition: color .18s, background .18s; }
.quick-close:hover { color: var(--gold-deep); background: var(--cream); }
.qv-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 44px; align-items: start; }
.qv-gallery { position: relative; }
.qv-main { position: relative; aspect-ratio: 3/4; background: var(--cream-2); overflow: hidden; }
.qv-main > img { width: 100%; height: 100%; object-fit: cover; }
.qv-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.qv-thumb { flex: 0 0 auto; width: 58px; height: 74px; padding: 0; border: 1px solid var(--line); background: var(--cream-2); overflow: hidden; cursor: pointer; opacity: .55; transition: opacity .2s ease, border-color .2s ease; }
.qv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.qv-thumb.active { opacity: 1; border-color: var(--gold); }
.qv-info .product-cat { font-size: 11px; margin-bottom: 8px; }
.qv-title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; margin-bottom: 10px; }
.qv-info .product-desc { margin: 16px 0; }
.qv-info .option-row { margin: 16px 0; }
.qv-perks { margin: 20px 0; padding: 16px; gap: 8px; }
.qv-perks .perk { font-size: 11.5px; }
.qv-info .accordion { margin-top: 4px; }

/* ------------------------------ Formulaires / checkout ------------------------------ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { padding: 11px 12px; border: 1px solid var(--line); background: var(--paper); font-size: 13px; color: var(--ink); font-family: inherit; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field-hint { display: block; font-size: 10.5px; color: var(--muted); margin-top: 4px; }
.field-hint.error { color: var(--red); }
input.invalid { border-color: var(--red) !important; background: #fef2f2; }
.delivery-modes { display: flex; flex-direction: column; gap: 12px; }
.delivery-card { border: 1px solid var(--line); background: var(--paper); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.delivery-card.active { border-color: var(--gold); background: var(--cream); box-shadow: inset 0 0 0 1px rgba(201,162,39,.2); }
.delivery-mode { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 0; background: transparent; color: var(--ink); font-family: inherit; text-align: left; cursor: pointer; transition: color .18s ease; }
.delivery-mode:hover .mode-text strong { color: var(--gold-deep); }
.mode-icon { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--cream-2); color: var(--gold-deep); transition: background .2s ease; }
.delivery-card.active .mode-icon { background: rgba(201,162,39,.16); }
.mode-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mode-text strong { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; transition: color .18s ease; }
.mode-text small { font-size: 11px; color: var(--muted); letter-spacing: 0; text-transform: none; line-height: 1.35; }
.mode-price { flex: 0 0 auto; font-size: 13px; font-weight: 600; color: var(--gold-deep); white-space: nowrap; }
.mode-radio { width: 16px; height: 16px; flex: 0 0 16px; border-radius: 50%; border: 1.5px solid var(--muted-2); display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s ease; }
.mode-radio::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); transform: scale(0); transition: transform .22s cubic-bezier(.22,.61,.36,1); }
.delivery-mode.active .mode-radio,
.stopdesk-card.active .mode-radio { border-color: var(--gold); }
.delivery-mode.active .mode-radio::after,
.stopdesk-card.active .mode-radio::after { transform: scale(1); }

.stopdesk-panel { padding: 0 14px 14px; background: var(--cream); }
.stopdesk-list { display: flex; flex-direction: column; gap: 8px; max-height: 264px; overflow-y: auto; padding: 2px 4px 2px 2px; scroll-behavior: smooth; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.stopdesk-card { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); background: var(--paper); font-family: inherit; text-align: left; cursor: pointer; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.stopdesk-card:hover { border-color: rgba(201,162,39,.55); }
.stopdesk-card.active { border-color: var(--gold); background: #fffdf6; box-shadow: inset 0 0 0 1px rgba(201,162,39,.25); }
.carrier-logo { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.carrier-logo img { width: 100%; height: 100%; object-fit: contain; padding: 5px; background: #fff; }
.stopdesk-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.stopdesk-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; font-size: 12px; color: var(--ink); }
.stopdesk-title strong { font-weight: 600; }
.stopdesk-price { font-weight: 600; color: var(--gold-deep); white-space: nowrap; }
.stopdesk-address { font-size: 11px; color: var(--muted); line-height: 1.45; }
.stopdesk-state { padding: 16px 12px; border: 1px dashed var(--line); background: var(--paper); font-size: 12px; color: var(--muted); text-align: center; }
.stopdesk-panel .field-hint { display: block; margin-top: 10px; }
.checkout-summary { margin: 20px 0; padding: 16px; background: var(--cream); border: 1px solid var(--line); }
.shipping-source { font-size: 10.5px; color: var(--muted); text-align: center; margin-top: 8px; min-height: 14px; }
.form-error { color: var(--red); font-size: 12px; margin-top: 12px; display: none; }
.form-error.show { display: block; }
.wa-note { font-size: 10.5px; color: var(--muted); text-align: center; margin-top: 12px; }
.success-panel { text-align: center; padding: 20px 0; }
.success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: var(--gold-deep); }
.order-ref { font-family: var(--serif); font-size: 24px; letter-spacing: .08em; margin: 12px 0; }
.order-ref-row { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 10px 0 18px; }

/* ------------------------------ Reçu Maison de Luxe ------------------------------ */
.modal-overlay.wide { background: rgba(20,18,15,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal-overlay.wide .modal { max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 0; background: var(--paper); border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.38); }
.modal-overlay.wide .modal-close { top: 12px; right: 12px; z-index: 4; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,253,248,.94); border: 1px solid rgba(201,162,39,.35); }
.receipt-paper { position: relative; padding: 38px 32px 30px; background: radial-gradient(120% 90% at 50% 0%, #fffdf8 0%, #fbf7f0 58%, #f4ebdc 100%); box-shadow: 0 24px 70px rgba(26,24,21,.18); border-radius: 14px; overflow: hidden; }
.receipt-paper:not(.receipt-skeleton) { animation: receipt-reveal .45s var(--ease) both; }
@keyframes receipt-reveal { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.receipt-paper::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(201,162,39,.55); pointer-events: none; }
.receipt-paper::after { content: ''; position: absolute; inset: 15px; border: 1px solid rgba(201,162,39,.2); pointer-events: none; }
.receipt-paper > * { position: relative; z-index: 1; }
.receipt-head { text-align: center; }
.receipt-logo { width: 88px; height: 88px; margin: 0 auto 14px; padding: 7px; border: 1px solid rgba(201,162,39,.6); border-radius: 50%; background: #fffdf8; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px rgba(201,162,39,.06); }
.receipt-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.receipt-kicker { font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 6px; }
.receipt-date { font-size: 11px; letter-spacing: .04em; color: var(--muted); }
.receipt-date strong { color: var(--ink-2); font-weight: 500; }
.receipt-seal { width: 60px; height: 60px; margin: 20px auto 2px; }
.receipt-seal svg { width: 100%; height: 100%; overflow: visible; }
.receipt-seal-ring { fill: rgba(201,162,39,.08); stroke: rgba(201,162,39,.5); stroke-width: 1.4; }
.receipt-seal-check { fill: none; stroke: var(--gold-deep); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 46; stroke-dashoffset: 46; animation: receipt-check .9s .3s var(--ease) forwards; }
@keyframes receipt-check { to { stroke-dashoffset: 0; } }
.receipt-title { font-family: var(--serif); font-size: 33px; line-height: 1.15; margin: 6px 0 10px; color: var(--ink); }
.receipt-title em { font-style: italic; color: var(--gold-deep); }
.receipt-lead { font-size: 12.5px; line-height: 1.75; color: var(--muted); max-width: 470px; margin: 0 auto; }
.receipt-tracker { display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px 0 20px; padding: 0; list-style: none; }
.receipt-tracker li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.receipt-tracker li::after { content: ''; position: absolute; top: 12px; left: calc(50% + 17px); right: calc(-50% + 17px); height: 1px; background: var(--line); }
.receipt-tracker li:last-child::after { display: none; }
.receipt-step-dot { position: relative; z-index: 1; width: 25px; height: 25px; border-radius: 50%; border: 1px solid var(--line); background: #fffdf8; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; color: var(--muted); }
.receipt-tracker li.is-done .receipt-step-dot { background: var(--gold); border-color: var(--gold); color: #fff; box-shadow: 0 0 0 3px rgba(201,162,39,.12); }
.receipt-step-label { display: inline-flex; align-items: center; gap: 3px; font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); text-align: center; }
.receipt-tracker li.is-active .receipt-step-label { color: var(--gold-deep); }
.receipt-step-check { width: 10px; height: 10px; stroke-width: 2.6; }
.receipt-refbox { margin: 0 0 22px; padding: 16px 16px 14px; border: 1px solid rgba(201,162,39,.42); background: rgba(201,162,39,.07); text-align: center; }
.receipt-ref-label { display: block; font-size: 8.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.receipt-ref { display: block; font-family: var(--serif); font-size: 29px; letter-spacing: .14em; color: var(--ink); margin-bottom: 12px; line-height: 1.1; }
.receipt-copy { transition: color .2s, border-color .2s, background-color .2s; }
.receipt-copy.is-copied { color: var(--green); border-color: var(--green); background: rgba(47,107,74,.08); }
.receipt-block { margin-top: 20px; text-align: left; }
.receipt-block h3 { font-family: var(--sans); font-size: 8.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; padding-bottom: 7px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.receipt-items { list-style: none; margin: 0; padding: 0; }
.receipt-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed var(--line-2); }
.receipt-item:last-child { border-bottom: 0; }
.receipt-item-main { min-width: 0; }
.receipt-item-name { display: block; font-size: 13px; color: var(--ink); line-height: 1.35; }
.receipt-item-variant { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.receipt-item-qty { font-size: 11px; color: var(--muted); white-space: nowrap; }
.receipt-item-price { font-size: 12.5px; color: var(--ink); white-space: nowrap; }
.receipt-lines { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.receipt-line { display: flex; justify-content: space-between; gap: 18px; font-size: 12px; color: var(--muted); }
.receipt-line > span:last-child { color: var(--ink); text-align: right; }
.receipt-line strong { color: var(--ink); font-weight: 600; }
.receipt-promo { margin-top: 20px; }
.receipt-totals { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.receipt-totals .receipt-line { font-size: 12.5px; }
.receipt-net { position: relative; margin-top: 12px; padding: 18px 16px 16px; text-align: center; background: linear-gradient(135deg, #1a1815, #2b2721); color: var(--cream); }
.receipt-net::before { content: ''; position: absolute; inset: 5px; border: 1px solid rgba(201,162,39,.45); pointer-events: none; }
.receipt-net-label { font-size: 8.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-soft); }
.receipt-net-value { font-family: var(--serif); font-size: 31px; line-height: 1.1; color: #fff; margin: 4px 0 3px; }
.receipt-net-note { font-size: 8.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.receipt-actions { display: flex; flex-direction: column; gap: 9px; margin-top: 22px; }
.receipt-actions .btn { width: 100%; }
.receipt-continue { background: transparent; border-color: transparent; color: var(--muted); font-size: 10px; }
.receipt-continue:hover { color: var(--gold-deep); box-shadow: none; background: transparent; }
.receipt-foot { text-align: center; font-size: 9.5px; letter-spacing: .08em; color: var(--muted-2); margin-top: 14px; }

/* Squelette de chargement — reçu en cours d'enregistrement */
.receipt-skeleton { opacity: 1; transition: opacity .24s ease; }
.receipt-skeleton.is-leaving { opacity: 0; }
.sk-shimmer { position: relative; overflow: hidden; background: linear-gradient(90deg, #f0e8d8 0%, #f7f1e6 50%, #f0e8d8 100%); }
.sk-shimmer::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(232,205,130,.55), transparent); animation: sk-shimmer 1.5s linear infinite; }
@keyframes sk-shimmer { to { transform: translateX(100%); } }
.sk-logo { width: 78px; height: 78px; margin: 0 auto 20px; border-radius: 50%; border: 1px solid rgba(201,162,39,.38); }
.sk-line { height: 9px; border-radius: 4px; margin: 0 auto 10px; }
.sk-kicker { width: 46%; height: 7px; margin-bottom: 8px; }
.sk-date { width: 58%; height: 7px; margin-bottom: 12px; }
.sk-seal { width: 46px; height: 46px; border-radius: 50%; margin: 8px auto 20px; }
.sk-title { width: 54%; height: 19px; margin-bottom: 18px; }
.sk-lead { width: 88%; height: 7px; }
.sk-lead-short { width: 64%; margin-bottom: 20px; }
.sk-tracker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 22px; }
.sk-step { height: 7px; }
.sk-refbox { padding: 18px 16px; border: 1px solid rgba(201,162,39,.28); background: rgba(201,162,39,.05); margin-bottom: 22px; }
.sk-ref { width: 58%; height: 18px; margin: 0 auto 12px; }
.sk-refbtn { width: 42%; height: 12px; }
.sk-section { margin: 0 0 20px; padding-top: 12px; border-top: 1px solid var(--line); }
.sk-heading { width: 34%; height: 7px; margin: 0 0 14px; }
.sk-item { width: 100%; height: 10px; margin-bottom: 12px; }
.sk-item-short { width: 62%; }
.sk-total { height: 66px; border-radius: 6px; margin-top: 8px; }
.sk-caption { text-align: center; font-size: 10px; letter-spacing: .08em; color: var(--muted); margin: 18px 0 0; }

@media (max-width: 640px) {
  .modal-overlay.wide { padding: 12px; align-items: center; }
  .modal-overlay.wide .modal { max-width: 520px; max-height: 90vh; border-radius: 12px; }
  .receipt-paper { padding: 34px 20px 26px; }
  .receipt-paper::before { inset: 7px; }
  .receipt-paper::after { inset: 11px; }
  .receipt-title { font-size: 28px; }
  .receipt-ref { font-size: 24px; letter-spacing: .1em; }
  .receipt-net-value { font-size: 27px; }
  .receipt-logo { width: 78px; height: 78px; }
  .receipt-step-label { font-size: 7.5px; letter-spacing: .1em; }
  .modal-overlay.wide .modal-close { top: 10px; right: 10px; }
}

/* ------------------------------ À propos / Contact ------------------------------ */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-media { position: relative; aspect-ratio: 4/5; background: var(--cream-2); overflow: hidden; }
.story-media img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.frame { position: absolute; inset: 14px; border: 1px solid var(--gold-soft); z-index: 1; pointer-events: none; }
.story h2 { font-size: 40px; line-height: 1.1; margin-bottom: 16px; }
.story p { color: var(--muted); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info { font-size: 14px; color: var(--muted); }
.contact-info h2 { font-size: 40px; line-height: 1.1; margin-bottom: 14px; }
.contact-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.contact-item { display: flex; gap: 14px; align-items: center; }
.contact-item > .icon { width: 34px; height: 34px; flex: 0 0 34px; padding: 8px; border-radius: 50%; border: 1px solid rgba(201,162,39,.4); background: rgba(201,162,39,.09); color: var(--gold-deep); margin-top: 0; }
.contact-item small { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-item a, .contact-item span { font-size: 14px; color: var(--ink); }
.contact-card { background: var(--paper); border: 1px solid var(--line); padding: 32px; }
.contact-card h3 { font-size: 24px; margin-bottom: 8px; }
.contact-card p { font-size: 13px; color: var(--muted); }

/* ------------------------------ Page Diamond Luxury ------------------------------ */
.about-copy { max-width: 800px; margin: 0 auto; text-align: center; }
.about-copy .eyebrow { letter-spacing: .32em; }
.about-lead { font-family: var(--serif); font-size: 46px; line-height: 1.15; margin-bottom: 28px; }
.about-intro { font-family: var(--serif); font-size: 22px; line-height: 1.55; color: var(--ink); max-width: 660px; margin: 0 auto 22px; }
.about-copy > p:not(.about-intro) { color: var(--muted); font-size: 15px; line-height: 1.9; max-width: 640px; margin: 0 auto 18px; }
.about-cta { margin-top: 36px; }

/* ------------------------------ Code promo ------------------------------ */
.promo-field .promo-input { display: flex; gap: 8px; align-items: stretch; }
.promo-field .promo-input input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .08em; }
.promo-field .promo-input .btn { flex: none; white-space: nowrap; }
.promo-summary span:last-child { color: var(--gold-deep); font-weight: 500; }
.promo-summary small { color: var(--muted); font-size: 11px; }
.contact-success h3 { font-family: var(--serif); font-size: 28px; margin-bottom: 8px; }
.contact-success p { color: var(--muted); font-size: 13.5px; line-height: 1.65; margin-bottom: 20px; }

/* ------------------------------ Footer ------------------------------ */
.site-footer { background: var(--ink); color: var(--cream); padding: 60px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 64px; width: 64px; object-fit: contain; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: var(--muted-2); max-width: 320px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--cream); transition: all .18s; }
.socials a:hover { border-color: var(--gold); color: var(--gold-soft); }
.footer-col h3 { font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); font-weight: 500; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; font-size: 13px; color: var(--muted-2); display: flex; align-items: center; gap: 8px; }
.footer-col a { position: relative; color: var(--muted-2); transition: color .3s var(--ease); }
.footer-col a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.footer-col a:hover { color: var(--gold-soft); }
.footer-col a:hover::after { transform: scaleX(1); }
.footer-col .icon { width: 16px; height: 16px; color: var(--gold-soft); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 11px; color: var(--muted-2); }
.legal { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 11px; color: var(--muted-2); }
.legal a:hover { color: var(--gold-soft); }
.admin-dot { display: inline-flex; align-items: center; opacity: .5; }
.admin-dot:hover { opacity: 1; }
.admin-dot .icon { width: 14px; height: 14px; }

/* ------------------------------ États vides / toasts / reveal ------------------------------ */
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state .icon { width: 32px; height: 32px; color: var(--gold-deep); margin: 0 auto 12px; }
.empty-state h3 { font-size: 24px; color: var(--ink); margin-bottom: 8px; }
.empty-state .btn { margin-top: 10px; }

.toast-stack { position: fixed; bottom: 24px; right: 24px; z-index: 300; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--cream); padding: 12px 18px; font-size: 12px; box-shadow: var(--shadow-lg); border-left: 3px solid var(--gold); transition: opacity .3s, transform .3s; }
.toast.error { background: var(--red); border-left-color: #fff; }
.toast.out { opacity: 0; transform: translateX(20px); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .09s; }
.d2 { transition-delay: .18s; }
@keyframes reveal-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.product-card.reveal.in { animation: reveal-rise .7s var(--ease) both; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid.three { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .site-header .main-nav { display: none; }
  .site-header .burger { display: inline-flex; }
  .header-inner { height: 58px; }
  .site-header .brand img { width: 46px; height: 46px; }
  .about-lead { font-size: 36px; }
  .about-intro { font-size: 20px; }
  .hero { padding: 40px 0; }
  .story, .contact-layout, .newsletter-inner, .product-page { grid-template-columns: 1fr; gap: 36px; }
  .editorial-list li { justify-content: center; text-align: left; }
  .hero-title { font-size: 46px; }
  .section { padding: 50px 0; }
  .section-head h2, .editorial-copy h2, .story h2, .contact-info h2 { font-size: 32px; }
  .product-title { font-size: 32px; }
  .page-head h1 { font-size: 36px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-overlay { padding: 14px; }
  .cat-name { font-size: 20px; }
  .cat-count { font-size: 9px; }
  .product-grid, .product-grid.three { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .values-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .filters { position: fixed; top: 0; left: 0; bottom: 0; width: 320px; max-width: 88vw; background: var(--paper); z-index: 160; padding: 24px 20px; overflow-y: auto; transform: translateX(-100%); visibility: hidden; transition: transform .3s; box-shadow: var(--shadow-lg); }
  .filters.open { transform: translateX(0); visibility: visible; }
  .quick-overlay { padding: 12px; }
  .quick-modal { max-height: 92vh; max-height: 92dvh; padding: 28px 20px; }
  .qv-grid { grid-template-columns: 1fr; gap: 26px; }
  .qv-main { aspect-ratio: 1/1; max-height: 46vh; max-height: 46dvh; }
  .qv-main > img { object-fit: cover; }
  .qv-thumbs { margin-top: 8px; }
  .qv-thumb { width: 52px; height: 66px; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .header-inner { height: 54px; }
  .site-header .brand img { width: 42px; height: 42px; }
  .site-header .header-actions { gap: 12px; }
  .hero-title { font-size: 38px; }
  .about-lead { font-size: 30px; }
  .about-intro { font-size: 18px; }
  .about-copy > p:not(.about-intro) { font-size: 14px; }
  .promo-field .promo-input { flex-direction: column; }
  .promo-field .promo-input .btn { width: 100%; }
  .hero-proof { gap: 24px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-overlay { padding: 10px; }
  .cat-card::after { inset: 6px; }
  .cat-name { font-size: 16px; line-height: 1.15; }
  .cat-count { font-size: 8px; letter-spacing: .08em; }
  .values-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .product-grid, .product-grid.three { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { padding: 13px 22px; justify-content: center; }
  .gallery { flex-direction: column-reverse; }
  .gallery-thumbs { flex-direction: row; }
  .modal { padding: 24px 18px; }
  .search-head, .search-results { padding-left: 16px; padding-right: 16px; }
  .toast-stack { left: 16px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-enter, .shop-card-enter, .hero-enter .hero-copy > *,
  .side-drawer.open .drawer-nav a, .side-drawer.open .drawer-foot,
  .cart-drawer.open .cart-item, .product-card.reveal.in { animation: none; }
  .cat-card, .cat-card::after, .cat-card img, .btn, .btn::after,
  .site-header .nav-link::after, .link-more::after, .footer-col a::after,
  .drawer-overlay, .side-drawer, .cart-drawer,
  .quick-overlay, .quick-modal, .accordion-body, .accordion-head .icon,
  .product-img, .add-cart, .add-cart .ac-label { transition: none; }
  .add-cart .ac-cart, .add-cart .ac-dot, .add-cart .ac-check svg path { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .drawer-overlay.open { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .receipt-seal-check { animation: none; stroke-dashoffset: 0; }
  .receipt-paper:not(.receipt-skeleton) { animation: none; }
  .sk-shimmer::after { animation: none; transform: none; }
}
