/* ============================================================
   MARZIA FASHION HOUSE — Design System
   Palette derived from the logo: charcoal + warm gold on ivory.
   Layout language borrowed from the reference: floating pill nav,
   soft rounded cards, glassy surfaces, gentle shadows.
   ============================================================ */

:root {
  /* Brand */
  --gold: #C9A24A;
  --gold-2: #E3C46E;
  --gold-3: #A8842E;
  --gold-soft: #F4EBD3;
  --charcoal: #15171B;
  --charcoal-2: #23262C;
  --ink: #1B1D22;
  --ink-2: #4B4F58;
  --ink-3: #7B7F89;

  /* Surfaces */
  --ivory: #F6F4EF;
  --ivory-2: #EFECE4;
  --paper: #FFFFFF;
  --line: #E7E3DA;
  --line-2: #D9D4C8;

  /* Accent tints (badges, filters) */
  --sage: #DCEFE3;      --sage-ink: #2E7D57;
  --blush: #FBE3E6;     --blush-ink: #B4485C;
  --sky: #DDEBFA;       --sky-ink: #2F62A6;
  --lilac: #EAE2FA;     --lilac-ink: #6B46B8;
  --sand: #F4EBD3;      --sand-ink: #8A6A1F;

  /* Radii & shadows */
  --r-xs: 10px; --r-sm: 14px; --r-md: 20px; --r-lg: 28px; --r-xl: 36px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(20,18,12,.04), 0 6px 20px rgba(20,18,12,.06);
  --sh-2: 0 2px 6px rgba(20,18,12,.06), 0 18px 44px rgba(20,18,12,.10);
  --sh-3: 0 10px 40px rgba(20,18,12,.16);

  /* Type */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;

  --header-h: 84px;
  --wrap: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--ivory);
  font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  padding-top: calc(var(--header-h) + 16px);
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: .01em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(40px, 5.2vw, 72px); }
h2 { font-size: clamp(30px, 3.4vw, 44px); }
h3 { font-size: 24px; }
p { margin: 0; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-3); font-weight: 600; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-head .sub { color: var(--ink-2); margin-top: 8px; max-width: 520px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 14px; letter-spacing: .01em; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--charcoal); color: #fff; box-shadow: var(--sh-1); }
.btn-primary:hover { background: #000; box-shadow: var(--sh-2); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--charcoal); box-shadow: 0 8px 24px rgba(201,162,74,.28); }
.btn-gold:hover { filter: brightness(1.04); box-shadow: 0 12px 30px rgba(201,162,74,.36); }
.btn-ghost { background: var(--paper); border-color: var(--line); color: var(--ink); box-shadow: var(--sh-1); }
.btn-ghost:hover { border-color: var(--line-2); box-shadow: var(--sh-2); }
.btn-outline { background: transparent; border-color: var(--line-2); }
.btn-outline:hover { background: var(--paper); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 13px; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn .ico, .btn > svg { width: 18px; height: 18px; flex: none; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px;
  border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--ink-2); box-shadow: var(--sh-1); transition: all .2s;
}
.chip:hover { border-color: var(--line-2); color: var(--ink); }
.chip.active { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }

.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.sage { background: var(--sage); color: var(--sage-ink); }
.badge.blush { background: var(--blush); color: var(--blush-ink); }
.badge.sky { background: var(--sky); color: var(--sky-ink); }
.badge.lilac { background: var(--lilac); color: var(--lilac-ink); }
.badge.sand { background: var(--sand); color: var(--sand-ink); }
.badge.dark { background: var(--charcoal); color: var(--gold-2); }

/* ---------- Cards ---------- */
.card {
  background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--sh-1); border: 1px solid rgba(231,227,218,.7);
}
.card-pad { padding: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 12px 0 auto 0; z-index: 60; pointer-events: none;
}
.site-header .bar {
  pointer-events: auto;
  width: min(var(--wrap), calc(100% - 24px)); margin-inline: auto; height: var(--header-h);
  background: rgba(255,255,255,.78); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.9); border-radius: var(--r-xl);
  box-shadow: var(--sh-2); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 0 18px 0 22px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-name { font-family: var(--serif); font-size: 22px; letter-spacing: .22em; font-weight: 600; color: var(--charcoal); }
.brand .brand-sub { font-size: 9.5px; letter-spacing: .32em; color: var(--gold-3); font-weight: 600; margin-top: 4px; }

.nav-pills { display: flex; justify-content: center; gap: 6px; }
.nav-pills a {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px; border-radius: var(--r-pill);
  font-weight: 500; font-size: 14.5px; color: var(--ink-2); border: 1px solid transparent; transition: all .2s;
}
.nav-pills a svg { width: 18px; height: 18px; opacity: .8; }
.nav-pills a:hover { background: rgba(255,255,255,.9); color: var(--ink); border-color: var(--line); box-shadow: var(--sh-1); }
.nav-pills a.active { background: var(--paper); color: var(--ink); border-color: var(--line); box-shadow: var(--sh-1); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  position: relative; width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: all .2s; color: var(--ink);
}
.icon-btn:hover { border-color: var(--line-2); box-shadow: var(--sh-2); transform: translateY(-1px); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-pill);
  background: var(--gold); color: var(--charcoal); font-size: 11px; font-weight: 700; display: grid; place-items: center;
  border: 2px solid #fff;
}
.icon-btn .count:empty, .icon-btn .count[data-zero="1"] { display: none; }
.search-pill {
  display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 8px 0 18px; border-radius: var(--r-pill);
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-1); width: 240px;
}
.search-pill input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; font-size: 14px; }
.search-pill svg { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.menu-btn { display: none; }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 70; background: rgba(21,23,27,.35); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .25s;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav .panel {
  position: absolute; top: 12px; right: 12px; left: 12px; background: var(--paper); border-radius: var(--r-xl); padding: 22px; box-shadow: var(--sh-3);
  transform: translateY(-12px); transition: transform .25s;
}
.mobile-nav.open .panel { transform: none; }
.mobile-nav .panel a { display: flex; align-items: center; gap: 12px; padding: 14px 12px; border-radius: var(--r-sm); font-weight: 500; font-size: 16px; }
.mobile-nav .panel a:hover { background: var(--ivory); }
.mobile-nav .panel svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero { padding-top: 12px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.hero-main {
  position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; padding: 40px;
  background: var(--charcoal); color: #fff; box-shadow: var(--sh-2);
}
.hero-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 20%; }
.hero-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,23,27,.05) 0%, rgba(21,23,27,.35) 45%, rgba(21,23,27,.86) 100%), linear-gradient(90deg, rgba(21,23,27,.45) 0%, rgba(21,23,27,0) 60%); }
.hero-main > * { position: relative; z-index: 1; }
.hero-copy { max-width: 560px; }
.hero-copy h1 { color: #fff; margin: 14px 0 14px; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-copy h1 em { font-style: italic; color: var(--gold-2); }
.hero-copy p { color: rgba(255,255,255,.9); text-shadow: 0 1px 12px rgba(0,0,0,.35); font-size: 16px; max-width: 460px; }
.hero-cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-cta .btn-ghost { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; backdrop-filter: blur(8px); }
.hero-cta .btn-ghost:hover { background: rgba(255,255,255,.22); }
.hero-tag { position: absolute; top: 24px; left: 24px; z-index: 2; }
.hero-tag .glass, .glass {
  background: rgba(255,255,255,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.8); border-radius: var(--r-pill); padding: 8px 14px 8px 8px; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 13px; font-weight: 600; box-shadow: var(--sh-1);
}
.avatars { display: flex; }
.avatars img, .avatars span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; margin-left: -8px; background: var(--ivory-2); display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.avatars > :first-child { margin-left: 0; }

.hero-side { display: grid; grid-template-rows: 1fr auto; gap: 20px; }
.hero-side .feature {
  position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 300px; box-shadow: var(--sh-1); background: var(--ivory-2);
}
.hero-side .feature img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .6s ease; }
.hero-side .feature:hover img { transform: scale(1.04); }
.hero-side .feature .label { position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; justify-content: space-between; align-items: center; }
.hero-side .feature .label .glass { padding: 10px 16px; }
.hero-side .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { background: var(--paper); border-radius: var(--r-md); padding: 18px 18px 16px; box-shadow: var(--sh-1); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--charcoal); }
.stat span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ink-2); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; margin-top: 44px; background: rgba(255,255,255,.5); }
.marquee .track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 48px; font-family: var(--serif); font-size: 18px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.marquee i { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-tile {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/4; background: var(--ivory-2); box-shadow: var(--sh-1); display: block;
}
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile .glass { position: absolute; left: 12px; right: 12px; bottom: 12px; justify-content: space-between; padding: 8px 8px 8px 14px; border-radius: var(--r-pill); }
.cat-tile .glass .arrow { width: 30px; height: 30px; border-radius: 50%; background: var(--charcoal); color: #fff; display: grid; place-items: center; }
.cat-tile .glass .arrow svg { width: 14px; height: 14px; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard { background: var(--paper); border-radius: var(--r-lg); padding: 10px; box-shadow: var(--sh-1); border: 1px solid rgba(231,227,218,.7); transition: transform .25s ease, box-shadow .25s ease; position: relative; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.pcard .media { position: relative; border-radius: calc(var(--r-lg) - 6px); overflow: hidden; aspect-ratio: 4/5; background: var(--ivory-2); display: block; }
.pcard .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.pcard:hover .media img { transform: scale(1.04); }
.pcard .media .badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.pcard .wish { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); display: grid; place-items: center; color: var(--ink); box-shadow: var(--sh-1); transition: all .2s; }
.pcard .wish:hover { transform: scale(1.06); }
.pcard .wish svg { width: 18px; height: 18px; }
.pcard .wish.on { color: var(--blush-ink); }
.pcard .wish.on svg { fill: currentColor; }
.pcard .quick { position: absolute; left: 12px; right: 12px; bottom: 12px; transform: translateY(12px); opacity: 0; transition: all .25s ease; }
.pcard:hover .quick { transform: none; opacity: 1; }
.pcard .quick .btn { width: 100%; height: 44px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); color: var(--ink); border-color: rgba(255,255,255,.9); }
.pcard .quick .btn:hover { background: var(--charcoal); color: #fff; }
.pcard .info { padding: 14px 8px 8px; }
.pcard .cat { font-size: 12px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.pcard .name { font-family: var(--serif); font-size: 20px; margin-top: 4px; display: block; color: var(--ink); }
.pcard .row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.price { font-weight: 600; font-size: 15px; }
.price s { color: var(--ink-3); font-weight: 400; margin-left: 6px; font-size: 13px; }
.swatches { display: flex; gap: 5px; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-2); display: inline-block; }
.stars { color: var(--gold); font-size: 12px; letter-spacing: 1px; }
.stars small { color: var(--ink-3); margin-left: 6px; letter-spacing: 0; }

/* ---------- Editorial split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.editorial { border-radius: var(--r-xl); overflow: hidden; position: relative; min-height: 460px; box-shadow: var(--sh-1); display: flex; align-items: flex-end; padding: 32px; }
.editorial img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.editorial .inner { position: relative; z-index: 1; background: rgba(255,255,255,.82); backdrop-filter: blur(14px); border-radius: var(--r-lg); padding: 22px 24px; max-width: 420px; border: 1px solid rgba(255,255,255,.9); }
.editorial .inner h3 { font-size: 30px; margin: 6px 0 8px; }
.editorial.dark .inner { background: rgba(21,23,27,.72); color: #fff; border-color: rgba(255,255,255,.12); }
.editorial.dark .inner .muted { color: rgba(255,255,255,.72); }

/* ---------- Perks ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.perk { display: flex; gap: 16px; align-items: flex-start; padding: 22px; }
.perk .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.perk .ico svg { width: 22px; height: 22px; }
.perk b { display: block; font-size: 15px; margin-bottom: 4px; }
.perk span { color: var(--ink-2); font-size: 13.5px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.quote p { font-family: var(--serif); font-size: 20px; line-height: 1.35; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote .who img, .quote .who .av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--gold-soft); color: var(--gold-3); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.quote .who b { display: block; font-size: 14px; }
.quote .who span { font-size: 12.5px; color: var(--ink-3); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--charcoal); color: #fff; border-radius: var(--r-xl); padding: 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.newsletter::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,74,.35), transparent 65%); }
.newsletter h2 { color: #fff; margin: 10px 0 12px; }
.newsletter p { color: rgba(255,255,255,.72); max-width: 480px; }
.newsletter form { display: flex; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-pill); padding: 6px 6px 6px 20px; position: relative; }
.newsletter input { flex: 1; background: transparent; border: 0; outline: 0; color: #fff; font-size: 15px; min-width: 0; }
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter .note { font-size: 12.5px; color: rgba(255,255,255,.5); margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 64px; padding: 56px 0 28px; border-top: 1px solid var(--line); background: rgba(255,255,255,.55); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h4 { font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer li a { color: var(--ink-2); font-size: 14px; }
.site-footer li a:hover { color: var(--ink); }
.footer-brand img { height: 84px; width: auto; }
.footer-brand p { color: var(--ink-2); margin-top: 14px; max-width: 320px; font-size: 14px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: var(--paper); }
.socials a:hover { border-color: var(--gold); color: var(--gold-3); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
.pay-icons { display: flex; gap: 6px; }
.pay-icons span { height: 26px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--paper); font-size: 11px; font-weight: 700; display: grid; place-items: center; color: var(--ink-2); }

/* ---------- Page header ---------- */
.page-head { padding: 24px 0 8px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--ink-3); margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.crumbs span::before { content: "/"; margin-right: 8px; color: var(--line-2); }

/* ---------- Shop ---------- */
.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 14px; }
.filter-group { padding: 20px 22px; }
.filter-group h4 { font-family: var(--sans); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; font-weight: 600; display: flex; justify-content: space-between; }
.filter-group label { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.filter-group label:hover { color: var(--ink); }
.check { width: 20px; height: 20px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; background: var(--paper); transition: all .15s; flex: none; }
.check svg { width: 12px; height: 12px; opacity: 0; color: #fff; }
input[type="checkbox"]:checked + .check { background: var(--charcoal); border-color: var(--charcoal); }
input[type="checkbox"]:checked + .check svg { opacity: 1; }
.filter-group input[type="checkbox"], .filter-group input[type="radio"], .color-dots input, .size-pills input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.color-dots { display: flex; flex-wrap: wrap; gap: 8px; }
.color-dots label { padding: 0; position: relative; display: inline-flex; }
.color-dots .dot { display: block; }
.color-dots .dot { width: 28px; height: 28px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; transition: all .15s; }
.color-dots input:checked + .dot { box-shadow: 0 0 0 2px var(--charcoal); }
.size-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.size-pills label { padding: 0; position: relative; display: inline-flex; }
.size-pills .sz { min-width: 44px; height: 38px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; font-size: 13px; font-weight: 600; background: var(--paper); cursor: pointer; }
.size-pills input:checked + .sz { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.range { display: flex; align-items: center; gap: 10px; }
.range input { width: 100%; accent-color: var(--charcoal); }
.range output { font-weight: 600; font-size: 13px; white-space: nowrap; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar .left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.select-pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 18px; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-1); font-size: 14px; }
.select-pill select { border: 0; outline: 0; background: transparent; font-weight: 600; appearance: none; padding-right: 18px; cursor: pointer; }
.select-pill svg { width: 16px; height: 16px; margin-left: -22px; pointer-events: none; color: var(--ink-3); }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.active-filters .chip { height: 32px; padding: 0 10px 0 12px; font-size: 12.5px; }
.active-filters .chip button { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ivory-2); }
.active-filters .chip button svg { width: 10px; height: 10px; }
.empty { text-align: center; padding: 80px 20px; color: var(--ink-2); }
.empty h3 { margin-bottom: 8px; }
.filters-toggle { display: none; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.pdp > *, .shop-layout > *, .cart-layout > *, .checkout-layout > *, .contact-layout > *, .about-hero > * { min-width: 0; }
.buy-row .btn-primary { min-width: 0; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; position: sticky; top: calc(var(--header-h) + 28px); }
.gallery .thumbs { display: grid; gap: 10px; align-content: start; }
.gallery .thumbs button { border-radius: 16px; overflow: hidden; aspect-ratio: 4/5; border: 2px solid transparent; background: var(--ivory-2); transition: border-color .2s; }
.gallery .thumbs button.active { border-color: var(--charcoal); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery .main { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5; background: var(--ivory-2); position: relative; box-shadow: var(--sh-1); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .main .badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; }
.pdp-info { display: grid; gap: 22px; }
.pdp-info h1 { font-size: clamp(34px, 3.4vw, 48px); margin: 6px 0 10px; }
.pdp-info .price { font-size: 26px; font-family: var(--serif); font-weight: 600; }
.pdp-info .price s { font-size: 18px; }
.opt-label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.opt-label span { color: var(--ink-3); font-weight: 500; }
.opt-label a { color: var(--gold-3); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.qty { display: inline-flex; align-items: center; height: 56px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--paper); box-shadow: var(--sh-1); }
.qty button { width: 48px; height: 100%; font-size: 20px; color: var(--ink-2); }
.qty button:hover { color: var(--ink); }
.qty input { width: 44px; text-align: center; border: 0; outline: 0; background: transparent; font-weight: 700; font-size: 15px; }
.buy-row { display: flex; gap: 12px; }
.buy-row .btn-primary { flex: 1; }
.buy-row .icon-btn { width: 56px; height: 56px; }
.buy-row .icon-btn.on { color: var(--blush-ink); }
.buy-row .icon-btn.on svg { fill: currentColor; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 600; font-size: 15px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary svg { width: 18px; height: 18px; transition: transform .25s; color: var(--ink-3); }
.accordion details[open] summary svg { transform: rotate(45deg); }
.accordion .body { padding: 0 0 18px; color: var(--ink-2); font-size: 14.5px; }
.accordion .body ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.trust div { padding: 14px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.trust svg { width: 18px; height: 18px; color: var(--gold-3); flex: none; }

/* ---------- Cart page ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 400px; gap: 24px; align-items: start; }
.cart-lines { display: grid; gap: 14px; }
.line { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; padding: 16px; align-items: center; }
.line .thumb { border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; background: var(--ivory-2); }
.line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.line .name { font-family: var(--serif); font-size: 21px; display: block; }
.line .meta { color: var(--ink-3); font-size: 13px; margin-top: 4px; display: flex; gap: 10px; flex-wrap: wrap; }
.line .meta i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; vertical-align: -1px; margin-right: 4px; box-shadow: 0 0 0 1px var(--line-2); }
.line .controls { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.line .qty { height: 42px; }
.line .qty button { width: 38px; font-size: 18px; }
.line .remove { color: var(--ink-3); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.line .remove:hover { color: var(--blush-ink); }
.line .remove svg { width: 14px; height: 14px; }
.line .total { font-weight: 700; font-size: 17px; text-align: right; }
.summary { position: sticky; top: calc(var(--header-h) + 28px); }
.summary .rows { display: grid; gap: 12px; margin: 18px 0; }
.summary .rows div { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--ink-2); }
.summary .rows .grand { border-top: 1px solid var(--line); padding-top: 14px; font-size: 18px; font-weight: 700; color: var(--ink); }
.promo { display: flex; gap: 8px; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px 5px 5px 16px; background: var(--paper); }
.promo input { flex: 1; border: 0; outline: 0; background: transparent; min-width: 0; text-transform: uppercase; }
.promo-ok { color: var(--sage-ink); font-size: 13px; margin-top: 8px; display: none; }
.promo-ok.show { display: block; }
.free-ship { margin-top: 14px; }
.free-ship .bar { height: 6px; background: var(--ivory-2); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.free-ship .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--gold)); border-radius: 99px; transition: width .4s; }
.free-ship span { font-size: 13px; color: var(--ink-2); }

/* ---------- Drawer (mini cart) ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(21,23,27,.35); backdrop-filter: blur(4px); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 12px; right: 12px; bottom: 12px; width: min(440px, calc(100% - 24px)); background: var(--paper); border-radius: var(--r-xl); z-index: 90; box-shadow: var(--sh-3); transform: translateX(calc(100% + 24px)); transition: transform .3s cubic-bezier(.2,.8,.2,1); display: grid; grid-template-rows: auto 1fr auto; }
.drawer.open { transform: none; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 16px; border-bottom: 1px solid var(--line); }
.drawer header h3 { font-size: 26px; }
.drawer .items { overflow: auto; padding: 16px 24px; display: grid; gap: 14px; align-content: start; }
.drawer .item { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; align-items: center; }
.drawer .item img { width: 74px; height: 92px; object-fit: cover; border-radius: 14px; background: var(--ivory-2); }
.drawer .item .name { font-family: var(--serif); font-size: 18px; display: block; }
.drawer .item .meta { font-size: 12.5px; color: var(--ink-3); }
.drawer .item .qty { height: 36px; margin-top: 8px; }
.drawer .item .qty button { width: 32px; font-size: 16px; }
.drawer .item .qty input { width: 34px; font-size: 13px; }
.drawer .item .right { text-align: right; display: grid; gap: 6px; justify-items: end; }
.drawer .item .right b { font-size: 15px; }
.drawer .item .right button { color: var(--ink-3); font-size: 12px; }
.drawer footer { padding: 18px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer footer .row { display: flex; justify-content: space-between; font-size: 15px; }
.drawer .empty { padding: 60px 20px; }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 420px; gap: 24px; align-items: start; }
.steps { display: flex; gap: 8px; margin-bottom: 20px; }
.steps div { flex: 1; height: 4px; border-radius: 99px; background: var(--ivory-2); }
.steps div.done { background: var(--gold); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { height: 50px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); padding: 0 16px; outline: 0; transition: border-color .2s, box-shadow .2s; width: 100%; }
.field textarea { height: auto; padding: 14px 16px; min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,74,.15); }
.field input:invalid:not(:placeholder-shown) { border-color: var(--blush-ink); }
.field .err { color: var(--blush-ink); font-size: 12px; display: none; }
.field.invalid .err { display: block; }
.field.invalid input { border-color: var(--blush-ink); }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--paper); cursor: pointer; transition: all .2s; }
.radio-card:hover { border-color: var(--line-2); }
.radio-card input { position: absolute; opacity: 0; }
.radio-card .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; flex: none; }
.radio-card .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--charcoal); transform: scale(0); transition: transform .15s; }
.radio-card.checked { border-color: var(--charcoal); box-shadow: 0 0 0 1px var(--charcoal); }
.radio-card.checked .dot { border-color: var(--charcoal); }
.radio-card.checked .dot::after { transform: scale(1); }
.radio-card b { display: block; font-size: 14.5px; }
.radio-card span { font-size: 12.5px; color: var(--ink-3); }
.radio-card .tag { margin-left: auto; font-weight: 700; font-size: 14px; }
.pay-fields { display: none; padding: 14px 0 4px; }
.pay-fields.show { display: block; }
.co-items { display: grid; gap: 12px; max-height: 320px; overflow: auto; padding-right: 4px; }
.co-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.co-item img { width: 56px; height: 68px; object-fit: cover; border-radius: 12px; background: var(--ivory-2); }
.co-item .n { font-weight: 600; display: block; }
.co-item .m { font-size: 12.5px; color: var(--ink-3); }
.success { text-align: center; max-width: 620px; margin: 40px auto; padding: 56px 40px; }
.success .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--sage); color: var(--sage-ink); display: grid; place-items: center; margin: 0 auto 20px; }
.success .tick svg { width: 38px; height: 38px; }
.success h2 { margin-bottom: 10px; }
.success .order-id { display: inline-block; margin: 18px 0; padding: 10px 18px; border-radius: var(--r-pill); background: var(--ivory); font-weight: 700; letter-spacing: .06em; }

/* ---------- About / Contact ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.about-hero .img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--sh-1); }
.about-hero .img img { width: 100%; height: 100%; object-fit: cover; }
.about-hero p { font-size: 16px; color: var(--ink-2); margin-top: 16px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.values .card { padding: 28px; }
.values .num { font-family: var(--serif); font-size: 44px; color: var(--gold); line-height: 1; }
.values h3 { margin: 12px 0 8px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; }
.contact-info { display: grid; gap: 12px; }
.contact-info .card { padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.contact-info .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--gold-soft); color: var(--gold-3); display: grid; place-items: center; flex: none; }
.contact-info .ico svg { width: 20px; height: 20px; }
.contact-info b { display: block; margin-bottom: 4px; }
.contact-info span { color: var(--ink-2); font-size: 14px; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: var(--r-pill); background: var(--charcoal); color: #fff; box-shadow: var(--sh-3); font-size: 14px; font-weight: 500; animation: toastIn .3s ease; pointer-events: auto; }
.toast img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.toast .ok { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--charcoal); display: grid; place-items: center; }
.toast .ok svg { width: 16px; height: 16px; }
.toast a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
.toast.out { animation: toastOut .3s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(14px); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Skeleton / image fallback ---------- */
.img-fallback { background: linear-gradient(135deg, var(--ivory-2), var(--gold-soft)); display: grid; place-items: center; color: var(--gold-3); font-family: var(--serif); font-size: 22px; letter-spacing: .2em; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .search-pill { width: 190px; }
}
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .nav-pills, .search-pill { display: none; }
  .menu-btn { display: inline-grid; }
  .site-header .bar { grid-template-columns: auto 1fr auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main { min-height: 480px; padding: 28px; }
  .hero-side { grid-template-rows: auto; }
  .hero-side .feature { min-height: 240px; }
  .split, .about-hero, .contact-layout { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; padding: 40px 28px; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 75; background: var(--paper); padding: 20px; overflow: auto; transform: translateX(-100%); transition: transform .3s; display: block; }
  .filters.open { transform: none; }
  .filters .filter-group { box-shadow: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .filters-toggle { display: inline-flex; }
  .filters-close { display: flex !important; justify-content: space-between; align-items: center; padding: 6px 4px 18px; }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .gallery .thumbs { grid-template-columns: repeat(5, 1fr); order: 2; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .wrap { width: calc(100% - 28px); }
  .brand .brand-text { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcard .name { font-size: 17px; }
  .pcard .quick { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: 1fr; }
  .hero-side .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 14px; } .stat b { font-size: 24px; }
  .section { padding: 40px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .line { grid-template-columns: 90px 1fr; }
  .line .total { grid-column: 1 / -1; text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter form { flex-direction: column; border-radius: var(--r-lg); padding: 14px; }
  .newsletter input { height: 44px; }
  .trust { grid-template-columns: 1fr; }
  .success { padding: 40px 22px; }
  .buy-row { flex-wrap: wrap; }
  .buy-row .qty { flex: 1; }
  .buy-row .btn-primary { order: 3; flex: 1 1 100%; }
  .pdp-info h1 { font-size: 32px; }
  .pdp-info .price { font-size: 22px; }
}
.filters-close { display: none; }
