/* ============================================
   DARKNEY — Ce que les contes ne racontent pas
   ============================================ */

:root {
  --bg: #0d0b10;
  --bg-dark: #08070a;
  --panel: #17141c;
  --line: #2a2530;
  --line-soft: #1c1822;
  --line-hover: #3a3340;
  --txt: #f2eee8;
  --txt-soft: #cdc4d6;
  --lav: #c9c0d2;
  --muted: #9c93a8;
  --faint: #7c7488;
  --dim: #5a5266;
  --red: #8b1e2b;
  --red-hover: #a02635;
  --violet: #6b4fa0;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--txt);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--red); color: var(--txt); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--line-hover); }

@keyframes drkGlow { 0%,100%{opacity:.4} 50%{opacity:.85} }
@keyframes drkDrift { 0%{transform:translate(0,0) scale(1)} 50%{transform:translate(-3%,2%) scale(1.06)} 100%{transform:translate(0,0) scale(1)} }
@keyframes drkRise { from{opacity:0;transform:translateY(34px)} to{opacity:1;transform:translateY(0)} }
@keyframes drkMarquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9998;
  opacity: .05; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; top: 22px; right: 22px; z-index: 10001;
  display: flex; align-items: center; gap: 12px;
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--red);
  color: var(--txt); padding: 14px 18px 14px 16px; border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0,0,0,.6), 0 0 22px rgba(139,30,43,.25);
  font-size: 13.5px; letter-spacing: .01em; max-width: 340px;
  animation: drkRise .4s ease both;
}
.toast-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 10px var(--red); flex: 0 0 auto;
}

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--bg-dark); border-bottom: 1px solid var(--line-soft);
  overflow: hidden; position: relative; z-index: 50;
}
.announce-track { display: flex; width: max-content; animation: drkMarquee 28s linear infinite; }
.announce-group {
  display: flex; align-items: center; gap: 42px; padding: 9px 21px;
  color: var(--muted); font-size: 11.5px; letter-spacing: .18em;
  text-transform: uppercase; white-space: nowrap;
}
.announce-group .star { color: var(--red); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(13,11,16,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  height: 74px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.main-nav { display: flex; align-items: center; gap: 30px; flex: 1; }
.nav-link {
  color: var(--lav); text-decoration: none; font-size: 12.5px;
  letter-spacing: .13em; text-transform: uppercase; font-weight: 500;
  transition: color .25s, text-shadow .25s;
}
.nav-link:hover { color: var(--txt); text-shadow: 0 0 12px rgba(139,30,43,.7); }
.nav-link.active { color: var(--txt); font-weight: 600; text-shadow: 0 0 12px rgba(139,30,43,.5); }

.logo { text-decoration: none; display: flex; align-items: baseline; gap: 2px; flex: 0 0 auto; }
.logo-word {
  font-family: 'Pirata One', serif; font-size: 32px; line-height: 1;
  color: var(--txt); letter-spacing: .02em; text-shadow: 0 0 18px rgba(139,30,43,.35);
}
.logo-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 9px var(--red); align-self: flex-end; margin-bottom: 5px;
}

.header-actions { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: flex-end; }
.icon-btn {
  position: relative; width: 40px; height: 40px; display: grid; place-items: center;
  background: transparent; border: none; color: var(--lav); cursor: pointer;
  border-radius: 6px; transition: color .25s, background .25s;
}
.icon-btn:hover { color: var(--txt); background: var(--panel); }
.cart-badge {
  position: absolute; top: 2px; right: 1px; min-width: 17px; height: 17px;
  padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff;
  font-size: 10.5px; font-weight: 700; display: grid; place-items: center;
  box-shadow: 0 0 8px rgba(139,30,43,.6);
}
.cart-badge.hidden { display: none; }

.burger { display: none; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  justify-content: center; overflow: hidden; border-bottom: 1px solid var(--line-soft);
}
.hero-bg1 { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 8%, #1a1422 0%, #0d0b10 55%), radial-gradient(80% 60% at 50% 120%, rgba(139,30,43,.35) 0%, rgba(139,30,43,0) 60%); }
.hero-bg2 { position: absolute; inset: -10%; background: radial-gradient(45% 40% at 30% 30%, rgba(107,79,160,.22) 0%, rgba(107,79,160,0) 70%); animation: drkDrift 22s ease-in-out infinite; }
.hero-bg3 { position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.012) 0px, rgba(255,255,255,.012) 1px, transparent 1px, transparent 9px); }
.hero-vignette { position: absolute; inset: 0; box-shadow: inset 0 0 220px 60px rgba(0,0,0,.85), inset 0 -90px 120px rgba(0,0,0,.6); pointer-events: none; }
.hero-glow { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 520px; height: 300px; background: radial-gradient(50% 100% at 50% 100%, rgba(139,30,43,.45) 0%, rgba(139,30,43,0) 70%); animation: drkGlow 7s ease-in-out infinite; pointer-events: none; }

.hero-content { position: relative; z-index: 4; text-align: center; padding: 0 24px; max-width: 920px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 30px;
  color: var(--muted); font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
}
.hero-kicker::before, .hero-kicker::after { content: ''; width: 34px; height: 1px; background: var(--red); }
.hero-title {
  font-family: 'Pirata One', serif; font-weight: 400;
  font-size: clamp(72px, 13vw, 184px); line-height: .86; margin: 0;
  color: var(--txt); letter-spacing: .01em;
  text-shadow: 0 0 60px rgba(139,30,43,.55), 0 6px 40px rgba(0,0,0,.6);
}
.hero-sub {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500;
  font-size: clamp(20px, 2.6vw, 30px); color: var(--txt-soft);
  margin: 22px 0 0; letter-spacing: .01em;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; align-items: center; margin-top: 40px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  background: var(--red); color: #f7eee9; text-decoration: none;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  padding: 16px 30px; border-radius: 5px; border: none; cursor: pointer;
  font-family: inherit;
  transition: box-shadow .3s, transform .3s, background .3s;
}
.btn-primary:hover { box-shadow: 0 0 34px rgba(139,30,43,.7); transform: translateY(-2px); background: var(--red-hover); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px; color: var(--txt-soft);
  text-decoration: none; font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 500; padding: 16px 8px;
  border-bottom: 1px solid transparent; transition: color .25s, border-color .25s;
}
.btn-ghost:hover { color: var(--txt); border-color: var(--violet); }

.hero-band {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  border-top: 1px solid var(--line-soft); background: rgba(8,7,10,.55);
  backdrop-filter: blur(6px);
}
.hero-band-inner {
  padding: 14px 32px; display: flex; justify-content: center; gap: 48px;
  flex-wrap: wrap; color: var(--muted); font-size: 12px; letter-spacing: .06em;
}
.hero-band-inner span { display: inline-flex; align-items: center; gap: 9px; }

/* ---------- Sections ---------- */
.section { padding: 104px 32px 40px; max-width: 1320px; margin: 0 auto; }
.section.tight { padding-top: 64px; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 38px; flex-wrap: wrap;
}
.kicker { color: var(--red); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 12px; }
.section-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 600;
  font-size: clamp(34px, 4.4vw, 52px); margin: 0; line-height: 1; color: var(--txt);
}
.see-all {
  color: var(--muted); text-decoration: none; font-size: 12.5px;
  letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 1px solid var(--line); padding-bottom: 4px;
  transition: color .25s, border-color .25s;
}
.see-all:hover { color: var(--txt); border-color: var(--red); }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.cat-card {
  position: relative; display: block; text-decoration: none;
  border: 1px solid var(--line); border-radius: 7px; overflow: hidden;
  aspect-ratio: 3/4; background: var(--panel);
  transition: border-color .35s, box-shadow .35s, transform .35s;
}
.cat-card:hover { border-color: var(--red); box-shadow: 0 0 30px rgba(139,30,43,.28); transform: translateY(-4px); }
.cat-card .ph { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, #16131c 0px, #16131c 11px, #1b1722 11px, #1b1722 22px); }
.cat-card .veil { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 30%, rgba(107,79,160,.16), transparent 70%), linear-gradient(180deg, transparent 40%, rgba(8,7,10,.92) 100%); }
.ph-label {
  position: absolute; top: 14px; left: 14px;
  font-family: 'Inter', monospace; font-size: 9px; letter-spacing: .12em;
  color: var(--dim); text-transform: uppercase;
}
.cat-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 20px; }
.cat-name { font-family: 'Cormorant Garamond', serif; font-size: 27px; font-weight: 600; color: var(--txt); line-height: 1.05; }
.cat-count { color: var(--muted); font-size: 11.5px; letter-spacing: .06em; margin-top: 5px; display: flex; align-items: center; gap: 7px; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 20px; }
.product-grid.shop { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); }

.product-card {
  position: relative; border: 1px solid var(--line); border-radius: 7px;
  background: var(--panel); overflow: hidden;
  transition: border-color .35s, box-shadow .35s, transform .35s;
}
.product-card:hover {
  border-color: var(--red);
  box-shadow: 0 14px 40px rgba(0,0,0,.5), 0 0 26px rgba(139,30,43,.22);
  transform: translateY(-4px);
}
.product-visual { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.product-visual .ph-front {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, #16131c 0px, #16131c 11px, #1b1722 11px, #1b1722 22px);
}
.product-visual .ph-back {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, #1a1622 0px, #1a1622 11px, #211c2a 11px, #211c2a 22px);
  opacity: 0; transition: opacity .55s ease;
}
.product-card:hover .ph-back { opacity: 1; }
.ph-tag {
  font-family: 'Inter', monospace; font-size: 9.5px; letter-spacing: .14em;
  color: var(--dim); text-transform: uppercase;
}
.ph-back .ph-tag { color: #6a6276; }

.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(13,11,16,.85); border: 1px solid var(--red); color: var(--txt);
  font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; font-weight: 600;
  padding: 5px 9px; border-radius: 4px; backdrop-filter: blur(4px);
}
.quick-add {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  background: rgba(13,11,16,.86); color: var(--txt); border: 1px solid var(--line-hover);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  padding: 11px; border-radius: 5px; cursor: pointer; backdrop-filter: blur(4px);
  font-family: inherit;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.quick-add:hover { background: var(--red); color: #f7eee9; border-color: var(--red); box-shadow: 0 0 22px rgba(139,30,43,.6); }

.product-info { padding: 16px 16px 18px; }
.product-cat { color: var(--faint); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 7px; }
.product-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.product-name { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 600; color: var(--txt); line-height: 1.1; }
.product-price { font-size: 15px; font-weight: 600; color: var(--txt); white-space: nowrap; }

/* ---------- Story ---------- */
.story {
  position: relative; margin-top: 64px;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.story-bg { position: absolute; inset: 0; background: radial-gradient(70% 90% at 82% 50%, rgba(139,30,43,.18), transparent 60%), radial-gradient(60% 80% at 12% 30%, rgba(107,79,160,.14), transparent 65%); }
.story-inner {
  position: relative; max-width: 1320px; margin: 0 auto; padding: 96px 32px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
}
.story-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 600; font-style: italic;
  font-size: clamp(32px, 4.2vw, 50px); line-height: 1.08; margin: 0 0 24px; color: var(--txt);
}
.story-p1 { color: #bcb2c6; font-size: 15.5px; line-height: 1.85; margin: 0 0 18px; max-width: 540px; }
.story-p2 { color: var(--muted); font-size: 14.5px; line-height: 1.85; margin: 0 0 30px; max-width: 540px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 11px; color: var(--txt);
  text-decoration: none; font-size: 13px; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--line); padding: 14px 24px; border-radius: 5px;
  transition: border-color .3s, box-shadow .3s;
}
.btn-outline:hover { border-color: var(--violet); box-shadow: 0 0 24px rgba(107,79,160,.35); }

.story-visual {
  position: relative; aspect-ratio: 4/5; border: 1px solid var(--line);
  border-radius: 8px; overflow: hidden; background: var(--panel);
}
.story-visual .ph { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, #16131c 0px, #16131c 13px, #1b1722 13px, #1b1722 26px); }
.story-visual .veil { position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 35%, rgba(139,30,43,.22), transparent 70%), linear-gradient(180deg, transparent 50%, rgba(8,7,10,.9)); }
.story-quote {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 24px;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 22px; color: #e6ddec;
}

/* ---------- Reviews ---------- */
.reviews-head { text-align: center; margin-bottom: 48px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review-card {
  margin: 0; border: 1px solid var(--line); border-radius: 8px;
  background: var(--panel); padding: 26px 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .35s, box-shadow .35s;
}
.review-card:hover { border-color: var(--line-hover); box-shadow: 0 0 24px rgba(0,0,0,.4); }
.review-stars { display: flex; gap: 2px; color: var(--red); font-size: 15px; letter-spacing: 2px; }
.review-stars .empty { color: var(--line-hover); }
.review-text {
  margin: 0; font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 18.5px; line-height: 1.5; color: #ddd4e4;
}
.review-author { display: flex; align-items: center; gap: 11px; margin-top: auto; padding-top: 8px; }
.review-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a2230, #15121a);
  border: 1px solid var(--line);
}
.review-name { font-size: 13px; font-weight: 600; color: var(--txt); display: block; }
.review-meta { font-size: 11px; color: var(--faint); letter-spacing: .06em; }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; overflow: hidden; border-top: 1px solid var(--line-soft); }
.newsletter-bg { position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(139,30,43,.22), transparent 60%); }
.newsletter-inner { position: relative; max-width: 760px; margin: 0 auto; padding: 96px 32px; text-align: center; }
.newsletter-star { font-family: 'Pirata One', serif; font-size: 40px; color: var(--red); line-height: 1; margin-bottom: 8px; text-shadow: 0 0 24px rgba(139,30,43,.5); }
.newsletter-title { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(30px, 4vw, 46px); margin: 0 0 14px; color: var(--txt); }
.newsletter-sub { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0 auto 30px; max-width: 480px; }
.newsletter-sub strong { color: var(--txt-soft); font-weight: 400; }
.newsletter-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter-form input {
  flex: 1; min-width: 220px; background: var(--bg); border: 1px solid var(--line);
  color: var(--txt); font-size: 14px; padding: 15px 17px; border-radius: 5px;
  outline: none; font-family: inherit; transition: border-color .25s, box-shadow .25s;
}
.newsletter-form input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(139,30,43,.18); }
.newsletter-form button {
  background: var(--red); color: #f7eee9; border: none; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  padding: 15px 28px; border-radius: 5px; cursor: pointer; font-family: inherit;
  transition: box-shadow .3s, background .3s;
}
.newsletter-form button:hover { background: var(--red-hover); box-shadow: 0 0 28px rgba(139,30,43,.6); }
.newsletter-note { color: var(--dim); font-size: 11px; margin-top: 16px; letter-spacing: .04em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); background: var(--bg-dark); }
.footer-grid {
  max-width: 1320px; margin: 0 auto; padding: 64px 32px 30px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand-logo { display: flex; align-items: baseline; gap: 2px; margin-bottom: 16px; }
.footer-brand-logo .logo-word { font-size: 30px; }
.footer-brand-logo .logo-dot { width: 6px; height: 6px; }
.footer-desc { color: var(--muted); font-size: 13.5px; line-height: 1.7; max-width: 300px; margin: 0 0 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 6px;
  display: grid; place-items: center; color: var(--muted); text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  transition: color .25s, border-color .25s, box-shadow .25s;
}
.footer-socials a:hover { color: var(--txt); border-color: var(--red); box-shadow: 0 0 16px rgba(139,30,43,.3); }
.footer-col-title {
  color: var(--txt); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 600; margin-bottom: 18px;
}
.footer-col a {
  display: block; color: var(--muted); text-decoration: none;
  font-size: 13.5px; padding: 7px 0; transition: color .25s, padding-left .25s;
}
.footer-col a:hover { color: var(--txt); padding-left: 6px; }

.footer-bottom {
  max-width: 1320px; margin: 0 auto; padding: 22px 32px;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-legal { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-legal span { color: var(--dim); font-size: 11.5px; }
.footer-legal a { color: var(--faint); font-size: 11.5px; text-decoration: none; }
.footer-legal a:hover { color: var(--txt-soft); }
.footer-payments { display: flex; align-items: center; gap: 8px; }
.footer-payments span {
  height: 26px; padding: 0 9px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 4px; color: var(--muted);
  font-size: 10px; font-weight: 600; letter-spacing: .04em; background: var(--bg);
}

/* ---------- Cart drawer ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 9999; background: rgba(6,5,8,.6);
  backdrop-filter: blur(3px); transition: opacity .4s ease;
  opacity: 0; pointer-events: none;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 10000;
  width: min(420px, 100vw); background: var(--bg);
  border-left: 1px solid var(--line); box-shadow: -30px 0 80px rgba(0,0,0,.6);
  display: flex; flex-direction: column;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  transform: translateX(105%);
}
.cart-drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--line);
}
.drawer-title { display: flex; align-items: center; gap: 10px; }
.drawer-title strong { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: var(--txt); }
.drawer-title span { color: var(--muted); font-size: 13px; }
.drawer-close {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); border-radius: 6px;
  color: var(--lav); cursor: pointer; transition: color .25s, border-color .25s;
}
.drawer-close:hover { color: var(--txt); border-color: var(--red); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }

.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 70px 16px; gap: 16px; }
.cart-empty .star { font-family: 'Pirata One', serif; font-size: 42px; color: var(--line); }
.cart-empty .t1 { color: var(--txt-soft); font-size: 16px; font-family: 'Cormorant Garamond', serif; font-style: italic; }
.cart-empty .t2 { color: var(--faint); font-size: 13px; line-height: 1.6; max-width: 240px; }
.cart-empty .btn-primary { margin-top: 8px; padding: 13px 24px; font-size: 12.5px; }

.cart-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.cart-item-ph {
  width: 74px; height: 92px; flex: 0 0 auto; border-radius: 5px;
  border: 1px solid var(--line);
  background: repeating-linear-gradient(135deg, #16131c 0px, #16131c 8px, #1b1722 8px, #1b1722 16px);
}
.cart-item-main { flex: 1; display: flex; flex-direction: column; }
.cart-item-top { display: flex; justify-content: space-between; gap: 10px; }
.cart-item-name { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600; color: var(--txt); line-height: 1.15; }
.cart-item-remove { background: transparent; border: none; color: var(--faint); cursor: pointer; padding: 0; height: 18px; transition: color .25s; }
.cart-item-remove:hover { color: var(--red); }
.cart-item-variant { color: var(--faint); font-size: 11.5px; letter-spacing: .04em; margin-top: 3px; }
.cart-item-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.qty-ctrl { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.qty-ctrl button {
  width: 30px; height: 30px; background: var(--bg); border: none; color: var(--lav);
  cursor: pointer; font-size: 16px; line-height: 1; transition: background .2s, color .2s;
}
.qty-ctrl button:hover { background: var(--panel); color: var(--txt); }
.qty-ctrl span { min-width: 30px; text-align: center; font-size: 13px; color: var(--txt); }
.cart-item-price { font-size: 14px; font-weight: 600; color: var(--txt); }

.drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px 24px; background: var(--bg); }
.drawer-foot.hidden { display: none; }
.foot-line { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.foot-line:nth-of-type(2) { margin-bottom: 16px; }
.foot-line b { color: var(--txt); font-weight: 400; }
.promo-row { display: flex; gap: 8px; margin-bottom: 16px; }
.promo-row input {
  flex: 1; background: var(--bg); border: 1px solid var(--line); color: var(--txt);
  font-size: 12.5px; padding: 11px 13px; border-radius: 5px; outline: none; font-family: inherit;
}
.promo-row input:focus { border-color: var(--violet); }
.promo-row button {
  background: var(--panel); border: 1px solid var(--line); color: var(--txt-soft);
  font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  padding: 0 16px; border-radius: 5px; cursor: pointer; font-family: inherit;
  transition: border-color .25s, color .25s;
}
.promo-row button:hover { border-color: var(--red); color: var(--txt); }
.checkout-btn { width: 100%; padding: 16px; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 13px; color: var(--faint); font-size: 11px; }

/* ---------- Quick add modal ---------- */
.quick-overlay {
  position: fixed; inset: 0; z-index: 10010; background: rgba(6,5,8,.78);
  backdrop-filter: blur(5px); display: grid; place-items: center;
  padding: 24px; animation: drkRise .25s ease both;
}
.quick-overlay.hidden { display: none; }
.quick-modal {
  width: 100%; max-width: 560px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 9px; overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.7), 0 0 40px rgba(139,30,43,.18);
  display: grid; grid-template-columns: 200px 1fr;
}
.quick-visual { position: relative; background: repeating-linear-gradient(135deg, #16131c 0px, #16131c 11px, #1b1722 11px, #1b1722 22px); }
.quick-visual .veil { position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 35%, rgba(139,30,43,.2), transparent 70%); }
.quick-body { padding: 24px; }
.quick-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.quick-cat { color: var(--faint); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 6px; }
.quick-name { font-family: 'Cormorant Garamond', serif; font-size: 25px; font-weight: 600; color: var(--txt); line-height: 1.05; }
.quick-price { font-size: 16px; font-weight: 600; color: var(--txt); margin-top: 8px; }
.quick-close {
  width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); border-radius: 6px;
  color: var(--lav); cursor: pointer; transition: color .25s, border-color .25s;
}
.quick-close:hover { color: var(--txt); border-color: var(--red); }

.quick-section { margin-top: 22px; }
.quick-label-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.quick-label { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.size-guide { font-size: 11px; color: var(--violet); text-decoration: none; }
.size-guide:hover { color: #8d6fc2; }

.size-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.size-opt {
  min-width: 46px; height: 42px; padding: 0 12px; border-radius: 5px;
  font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit;
  background: var(--bg); border: 1px solid var(--line); color: var(--txt-soft);
  transition: all .2s;
}
.size-opt.active { background: var(--red); border-color: var(--red); color: #f7eee9; box-shadow: 0 0 18px rgba(139,30,43,.45); }

.color-opts { display: flex; gap: 10px; flex-wrap: wrap; }
.color-opt {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 14px 9px 11px; border-radius: 5px; font-size: 12.5px;
  cursor: pointer; font-family: inherit;
  background: var(--bg); border: 1px solid var(--line); color: var(--txt-soft);
  transition: all .2s;
}
.color-opt.active { background: #1d1826; border-color: var(--violet); color: var(--txt); box-shadow: 0 0 16px rgba(107,79,160,.3); }
.color-dot {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid #4a4452; box-shadow: inset 0 0 0 2px rgba(0,0,0,.4);
}
.quick-confirm { margin-top: 26px; width: 100%; padding: 16px; border-radius: 6px; }

/* ---------- Boutique page ---------- */
.page-head { position: relative; border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.page-head-bg { position: absolute; inset: 0; background: radial-gradient(80% 120% at 50% -10%, rgba(139,30,43,.2), transparent 55%), radial-gradient(50% 80% at 85% 50%, rgba(107,79,160,.12), transparent 60%); }
.page-head-inner { position: relative; max-width: 1320px; margin: 0 auto; padding: 54px 32px 40px; }
.breadcrumb { color: var(--faint); font-size: 11.5px; letter-spacing: .08em; margin-bottom: 16px; }
.breadcrumb a { color: var(--faint); text-decoration: none; }
.breadcrumb a:hover { color: var(--txt-soft); }
.breadcrumb .sep { color: var(--line-hover); }
.breadcrumb .current { color: var(--muted); }
.page-title { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(40px, 6vw, 68px); margin: 0; line-height: .98; color: var(--txt); }
.page-sub { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(17px, 2.2vw, 22px); color: #bcb2c6; margin: 14px 0 0; max-width: 560px; }

.shop-layout {
  max-width: 1320px; margin: 0 auto; padding: 36px 32px 80px;
  display: grid; grid-template-columns: 248px 1fr; gap: 42px; align-items: start;
}

.filters { position: sticky; top: 96px; align-self: start; }
.filters-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.filters-head strong { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--txt); font-weight: 600; }
.filters-reset {
  background: transparent; border: none; color: var(--faint); font-size: 11.5px;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
  font-family: inherit; transition: color .25s;
}
.filters-reset:hover { color: var(--red); }

.filter-group { margin-bottom: 26px; }
.filter-title { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 13px; }

.check-row {
  display: flex; align-items: center; gap: 11px; padding: 7px 0;
  cursor: pointer; font-size: 13.5px; color: var(--txt-soft);
}
.check-row:hover { color: var(--txt); }
.check-row .count { color: var(--dim); font-size: 12px; margin-left: auto; }
.checkbox {
  width: 18px; height: 18px; flex: 0 0 auto; border-radius: 4px;
  display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line-hover);
  transition: all .2s;
}
.checkbox.on { background: var(--red); border-color: var(--red); box-shadow: 0 0 10px rgba(139,30,43,.4); }
.checkbox svg { display: none; }
.checkbox.on svg { display: block; }

.size-filter {
  min-width: 40px; height: 36px; padding: 0 9px; border-radius: 5px;
  font-size: 12.5px; font-weight: 600; cursor: pointer; font-family: inherit;
  background: var(--bg); border: 1px solid var(--line); color: var(--txt-soft);
  transition: all .2s;
}
.size-filter.on { background: var(--red); border-color: var(--red); color: #f7eee9; }
.size-filter-row { display: flex; flex-wrap: wrap; gap: 7px; }

.color-filter-row { display: flex; flex-wrap: wrap; gap: 10px; }
.color-filter {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  cursor: pointer; border: 2px solid var(--line); background: transparent;
  transition: all .2s; padding: 0;
}
.color-filter.on { border-color: var(--red); box-shadow: 0 0 12px rgba(139,30,43,.5); }
.color-filter .color-dot { width: 20px; height: 20px; }

.price-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.price-val { font-size: 12.5px; color: var(--txt); }
.price-bounds { display: flex; justify-content: space-between; margin-top: 8px; color: var(--dim); font-size: 11px; }

input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%;
  height: 3px; background: var(--line); border-radius: 3px; outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--red); cursor: pointer;
  box-shadow: 0 0 10px rgba(139,30,43,.6); border: 2px solid var(--bg);
}
input[type=range]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--red); cursor: pointer; border: 2px solid var(--bg);
}

.results-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; margin-bottom: 24px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.results-count { color: var(--muted); font-size: 13px; }
.results-count b { color: var(--txt); font-weight: 600; }
.sort-label { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12.5px; }
.sort-label select {
  background: var(--panel); border: 1px solid var(--line); color: var(--txt);
  font-size: 12.5px; padding: 9px 13px; border-radius: 5px; outline: none;
  font-family: inherit; cursor: pointer;
}
.sort-label select:focus { border-color: var(--violet); }

.no-results { text-align: center; padding: 70px 16px; color: var(--muted); }
.no-results .star { font-family: 'Pirata One', serif; font-size: 42px; color: var(--line); margin-bottom: 14px; }
.no-results .t1 { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 20px; color: var(--txt-soft); margin-bottom: 6px; }
.no-results .t2 { font-size: 13px; }
.no-results.hidden { display: none; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 48px; }
.page-btn {
  width: 38px; height: 38px; border: 1px solid var(--line); background: transparent;
  color: var(--txt-soft); border-radius: 6px; font-size: 13px; cursor: pointer;
  font-family: inherit; transition: border-color .25s, color .25s;
}
.page-btn:hover { border-color: var(--red); color: var(--txt); }
.page-btn.current {
  border-color: var(--red); background: var(--red); color: #f7eee9;
  font-weight: 600; box-shadow: 0 0 16px rgba(139,30,43,.4);
}
.page-btn.next { width: auto; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .06em; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .story-inner { grid-template-columns: 1fr; padding: 64px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
}

@media (max-width: 760px) {
  .main-nav {
    display: none;
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg-dark); border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .main-nav.open { display: flex; }
  .main-nav .nav-link { display: block; width: 100%; padding: 14px 32px; }
  .burger {
    display: grid; place-items: center; width: 40px; height: 40px;
    background: transparent; border: none; color: var(--lav); cursor: pointer;
    border-radius: 6px;
  }
  .burger:hover { color: var(--txt); background: var(--panel); }
  .header-inner { justify-content: flex-start; }
  .header-actions { flex: 1; }
  .quick-modal { grid-template-columns: 1fr; }
  .quick-visual { min-height: 120px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding-left: 20px; padding-right: 20px; }
  .container { padding: 0 20px; }
}
