/* ==========================================================================
   Pak Fashion Point v2.0.0 — luxury lip-cosmetics storefront
   Palette: vivid pink / magenta / purple on soft blush. No external assets.
   Fonts: system stacks with elegant fallbacks (no Google Fonts).
   ========================================================================== */

* { box-sizing: border-box; }

:root {
  --bg: #fdf2f9;
  --bg-soft: #fae3f4;
  --surface: #ffffff;
  --surface-2: #fef6fc;
  --ink: #330829;
  --ink-soft: #6e4063;
  --muted: #a87ba0;
  --line: #f2d2ea;
  --wine: #ec008c;            /* primary vivid pink */
  --wine-deep: #4a0a3d;      /* deep magenta-purple */
  --wine-bright: #f63fae;
  --purple: #9d1fd4;         /* accent purple (replaces gold) */
  --purple-soft: #c26ae8;
  --rose: #f6c3e6;
  --stage: #fce9f7;
  --stage-2: #f7d4ef;
  --wa: #1da851;
  --wa-deep: #157a3c;
  --shadow: 0 18px 40px rgba(112, 8, 92, 0.13);
  --shadow-sm: 0 8px 22px rgba(112, 8, 92, 0.10);
  --header-bg: rgba(253, 242, 249, 0.92);
  --serif: "Palatino Linotype", "Book Antiqua", "Playfair Display", Georgia, "Times New Roman", serif;
  --script: "Brush Script MT", "Segoe Script", "Apple Chancery", cursive;
  --sans: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c0222;
    --bg-soft: #260430;
    --surface: #2e0a3c;
    --surface-2: #371047;
    --ink: #fceef9;
    --ink-soft: #e6bfe0;
    --muted: #bd92b4;
    --line: #522060;
    --wine: #f056b0;
    --wine-deep: #22042c;
    --wine-bright: #f77cc4;
    --purple: #c77dff;
    --purple-soft: #c26ae8;
    --rose: #5c184e;
    --stage: #3c0f4a;
    --stage-2: #4a1659;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.35);
    --header-bg: rgba(28, 2, 34, 0.92);
  }
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.serif { font-family: var(--serif); }
.script { font-family: var(--script); }

/* ---------- Announcement + header ---------- */
.announce {
  background: var(--wine-deep);
  color: #ffd9f1;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 14px;
}
.announce b { color: #ff9ed8; font-weight: 600; }
header.site {
  position: sticky; top: 0; z-index: 60;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 18px; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-name {
  font-family: var(--serif); font-weight: 700;
  font-size: 28px; line-height: 1.05; color: var(--wine); white-space: nowrap;
}
footer .brand-name { color: #f78fd0; }
.logo-img { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; display: block; flex: none; box-shadow: var(--shadow-sm); }
footer .logo-img { width: 58px; height: 58px; }
nav.main { margin-left: auto; display: flex; gap: 30px; }
nav.main a { font-size: 14.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
nav.main a:hover { color: var(--wine); border-bottom-color: var(--purple); }
nav.main li { list-style: none; }
.header-icons { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid transparent; background: transparent; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn:hover { border-color: var(--line); background: var(--surface); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: 1px; right: 0; min-width: 19px; height: 19px;
  border-radius: 999px; background: var(--wine); color: #fff;
  font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; padding: 0 5px;
}
.cart-count[hidden] { display: none; }
.burger { display: none; }
.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 10px 0 16px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 10px 4px; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.mobile-menu li { list-style: none; }
.menu-head { display: flex; align-items: center; justify-content: space-between; padding: 0 0 6px; }
.menu-head span { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; color: var(--purple); }
.menu-x { border: 1px solid var(--line); background: var(--surface); flex: none; }
.menu-x:hover { border-color: var(--wine); color: var(--wine); }
.search-row { display: none; border-top: 1px solid var(--line); padding: 12px 0; }
.search-row.open { display: block; }
.search-row form { display: flex; gap: 10px; align-items: center; }
.search-row input {
  flex: 1; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-family: inherit; font-size: 15px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 999px; border: 1px solid var(--wine);
  background: var(--wine); color: #fff;
  padding: 13px 26px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--wine-bright); border-color: var(--wine-bright); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn.purple { background: var(--purple); border-color: var(--purple); color: #fff; }
.btn.purple:hover { background: #7e17ac; border-color: #7e17ac; }
.btn.gold { background: var(--purple); border-color: var(--purple); color: #fff; } /* alias: templates use .gold for the purple Buy-Now button */
.btn.gold:hover { background: #7e17ac; border-color: #7e17ac; }
.btn.ghost { background: transparent; color: var(--wine); border-color: var(--wine); }
.btn.ghost:hover { background: var(--wine); color: #fff; }
.btn.wa { background: var(--wa); border-color: var(--wa); }
.btn.wa:hover { background: var(--wa-deep); border-color: var(--wa-deep); }
.btn.sm { padding: 10px 18px; font-size: 12.5px; }
.btn.block { width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 30px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--purple); font-weight: 600;
}
.kicker::before { content: ""; width: 38px; height: 1px; background: var(--purple); }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(46px, 6.2vw, 76px); line-height: 1.02; font-weight: 600; margin: 18px 0 8px;
}
.hero h1 em { font-style: italic; color: var(--wine); }
.hero .script-line { font-family: var(--script); font-size: clamp(32px, 3.6vw, 44px); color: var(--purple); margin-bottom: 14px; }
.hero p.lede { font-size: 17.5px; color: var(--ink-soft); max-width: 30em; font-weight: 300; }
.hero p.lede b { font-weight: 600; color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-soft); font-size: 13.5px; letter-spacing: 0.04em; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row svg { width: 16px; height: 16px; color: var(--purple); flex: none; }
.hero-media { position: relative; }
.hero-img-frame {
  border-radius: 300px 300px 20px 20px; overflow: hidden;
  border: 1px solid var(--purple-soft); outline: 1px solid var(--purple-soft); outline-offset: 7px;
  box-shadow: var(--shadow);
}
.hero-img-frame img { width: 100%; height: 560px; object-fit: cover; object-position: center 30%; }
.hero-float {
  position: absolute; left: -26px; bottom: 34px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 13px 18px; display: flex; align-items: center; gap: 13px;
}
.hero-float .sw { width: 34px; height: 34px; border-radius: 50%; background: #722f37; border: 2px solid var(--purple-soft); flex: none; }
.hero-float b { display: block; font-size: 14.5px; }
.hero-float span { font-size: 13px; color: var(--muted); }
.hero-float .price { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--wine); margin-left: 6px; }
.hero-badge {
  position: absolute; top: 26px; right: -8px; background: var(--wine); color: #ffe3f5;
  font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  padding: 9px 16px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.shade-strip {
  margin-top: 46px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px 26px 8px; display: flex; align-items: flex-end; gap: 10px; box-shadow: var(--shadow-sm);
}
.shade-strip .mini { text-align: center; flex: 1; }
.shade-strip .mini svg { height: 74px; margin: 0 auto; }
.shade-strip .mini span { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 4px 0 10px; }
.shade-strip .strip-note { align-self: center; max-width: 190px; padding-bottom: 12px; }
.shade-strip .strip-note b { font-family: var(--serif); font-size: 21px; display: block; line-height: 1.15; }
.shade-strip .strip-note span { font-size: 12.5px; color: var(--muted); }

/* ---------- Marquee ticker ---------- */
.ticker { background: linear-gradient(90deg, var(--wine) 0%, var(--purple) 100%); color: #ffe3f5; overflow: hidden; padding: 13px 0; margin-top: 44px; }
.ticker-track { display: flex; width: max-content; animation: tick 30s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.ticker-group span { font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.ticker-group svg { width: 11px; height: 11px; color: #ffe3f5; flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section.block { padding: 76px 0 8px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.sec-head h2 { font-family: var(--serif); font-size: clamp(34px, 4vw, 46px); font-weight: 600; line-height: 1.08; }
.sec-head h2 em { color: var(--wine); font-style: italic; }
.sec-head p { color: var(--ink-soft); max-width: 34em; margin-top: 8px; font-weight: 300; font-size: 16px; }
.sec-link { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--wine); display: inline-flex; gap: 8px; align-items: center; }
.sec-link svg { width: 16px; height: 16px; }

/* ---------- Category rail (auto-scroll) ---------- */
.rail-viewport { overflow: hidden; margin: 0 -20px; padding: 6px 20px 14px; }
.rail-track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.rail-group { display: flex; gap: 18px; padding-right: 18px; }
.rail-viewport:hover .rail-track { animation-play-state: paused; }
.rail-viewport:active .rail-track { animation-play-state: paused; }
.cat-card {
  width: 218px; flex: none; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 22px 18px 18px; text-align: center; box-shadow: var(--shadow-sm);
}
.cat-card .cat-stage {
  height: 128px; border-radius: 12px; background: var(--stage);
  display: flex; align-items: flex-end; justify-content: center; overflow: visible; margin-bottom: 14px;
}
.cat-card .cat-stage svg { height: 118px; transform: translateY(-8px); filter: drop-shadow(0 10px 12px rgba(112,8,92,0.25)); }
.cat-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 700; }
.cat-card p { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.cat-card .go { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--purple); display: inline-flex; align-items: center; gap: 6px; }
.cat-card .go svg { width: 14px; height: 14px; }

/* ---------- Shop / product cards ---------- */
.shop-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
  border-radius: 999px; padding: 9px 18px; font-size: 13px; font-weight: 500; letter-spacing: 0.06em;
}
.chip:hover { border-color: var(--purple); }
.chip.active { background: var(--wine); border-color: var(--wine); color: #fff; }
.sortbox { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.sortbox select {
  padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-family: inherit; font-size: 13.5px;
}
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 22px; margin-top: 44px; }

/* Product image pops above the card's top edge */
.pcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 0 18px 18px; margin-top: 40px; position: relative; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.pcard .stage {
  background: var(--stage); border-radius: 14px; height: 190px; margin: -36px 4px 0;
  display: flex; align-items: flex-end; justify-content: center; position: relative;
  overflow: visible; box-shadow: var(--shadow-sm);
}
.pcard .stage img {
  height: 218px; width: auto; max-width: 88%; object-fit: contain; object-position: bottom;
  transform: translateY(-10px); filter: drop-shadow(0 16px 14px rgba(112,8,92,0.28));
  transition: transform 0.35s ease;
}
.pcard:hover .stage img { transform: translateY(-16px); }
.pcard .stage a { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 100%; }
.sel-swatch {
  position: absolute; right: 10px; bottom: 10px; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--surface); outline: 1px solid var(--line); z-index: 2;
  transition: background 0.25s ease;
}
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--wine); color: #ffe3f5;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  padding: 5px 11px; border-radius: 999px;
}
.badge.new { background: var(--purple); color: #fff; }
.pcard .cat { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--purple); font-weight: 600; margin-top: 18px; }
.pcard h3 { font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1.15; margin-top: 3px; }
.pcard h3 a:hover { color: var(--wine); }
.stars { display: flex; align-items: center; gap: 3px; margin-top: 7px; }
.stars .star { width: 14px; height: 14px; color: var(--purple); }
.stars .star.off { color: var(--line); }
.shade-name { font-size: 13px; color: var(--ink-soft); margin-top: 12px; }
.shade-name b { color: var(--ink); font-weight: 600; }
.dots { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 7px; }
.dot {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--surface);
  outline: 1px solid var(--line); padding: 0; flex: none;
}
.dot.sel { outline: 2px solid var(--purple); outline-offset: 1px; }
.dots .more { font-size: 12px; color: var(--muted); align-self: center; }
.price-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.price-row .price { font-family: var(--serif); font-size: 27px; font-weight: 700; color: var(--wine); }
.price-row .free { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--wa-deep); background: rgba(29,168,81,0.12); padding: 4px 9px; border-radius: 999px; }
@media (prefers-color-scheme: dark) { .price-row .free { color: #5fd68d; } }
.card-actions { display: flex; gap: 8px; margin-top: 14px; }
.card-actions .btn { flex: 1; padding: 11px 8px; font-size: 12px; }
.card-actions .wa-btn {
  width: 44px; flex: none; border-radius: 999px; border: 1px solid var(--wa); background: var(--wa);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.card-actions .wa-btn:hover { background: var(--wa-deep); }
.card-actions .wa-btn svg { width: 19px; height: 19px; }
.empty-note { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 34px 0; font-size: 16px; }

/* Mobile product auto-scroll rail (like the demo) */
.prail-viewport, .prail-note { display: none; }

/* ---------- Spotlight ---------- */
.spotlight { margin-top: 84px; background: var(--wine-deep); color: #fbe9f7; border-radius: 26px; overflow: hidden; }
.spot-grid { display: grid; grid-template-columns: 1fr 1fr; }
.spot-media { min-height: 480px; }
.spot-media img { width: 100%; height: 100%; object-fit: cover; }
.spot-body { padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; }
.spot-body .kicker { color: var(--purple-soft); }
.spot-body .kicker::before { background: var(--purple-soft); }
.spot-body h2 { font-family: var(--serif); font-size: clamp(36px, 4vw, 50px); line-height: 1.05; font-weight: 600; margin: 14px 0 10px; }
.spot-body h2 em { color: var(--purple-soft); }
.spot-body p { color: #efc2e5; font-weight: 300; font-size: 16.5px; max-width: 32em; }
.spot-stage { display: flex; align-items: center; gap: 22px; margin: 26px 0 6px; }
.spot-stage .big-prod { width: 120px; flex: none; }
.spot-stage .big-prod img { width: 100%; height: 170px; object-fit: cover; border-radius: 12px; box-shadow: 0 18px 16px rgba(0,0,0,0.4); }
.spot-shade-name { font-size: 15px; }
.spot-shade-name b { font-family: var(--serif); font-size: 26px; display: block; }
.spot-shade-name span { color: #e3a6d8; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.spot-body .dots .dot { border-color: var(--wine-deep); }
.spot-price { display: flex; align-items: baseline; gap: 14px; margin-top: 20px; }
.spot-price .price { font-family: var(--serif); font-size: 38px; font-weight: 700; color: #fff; }
.spot-price span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple-soft); font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.qty button { width: 38px; height: 42px; border: none; background: transparent; color: var(--ink); font-size: 18px; }
.qty output { min-width: 30px; text-align: center; font-weight: 600; color: var(--ink); }
.spot-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; align-items: center; }
.spot-actions .qty { border-color: rgba(255,217,241,0.4); background: rgba(255,255,255,0.06); }
.spot-actions .qty button, .spot-actions .qty output { color: #fbe9f7; }
.perks { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 13.5px; color: #efc2e5; }
.perks span { display: inline-flex; gap: 8px; align-items: center; }
.perks svg { width: 16px; height: 16px; color: var(--purple-soft); flex: none; }

/* ---------- Shade finder ---------- */
.shade-finder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 14px; margin-top: 8px; }
.shade-tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 12px;
  text-align: center; box-shadow: var(--shadow-sm); transition: transform 0.2s ease, border-color 0.2s ease;
  font: inherit; color: inherit; width: 100%;
}
.shade-tile:hover { transform: translateY(-4px); border-color: var(--purple); }
.shade-tile .sw { width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 10px; border: 2px solid var(--surface); outline: 1px solid var(--line); }
.shade-tile b { display: block; font-size: 14px; }
.shade-tile span { font-size: 12px; color: var(--muted); }
.shade-tile .go-wa { display: block; margin-top: 8px; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--wa-deep); }

/* ---------- Story ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.story-media { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.story-media img { width: 100%; height: 430px; object-fit: cover; }
.story-body h2 { font-family: var(--serif); font-size: clamp(34px, 4vw, 46px); font-weight: 600; line-height: 1.1; margin: 14px 0 12px; }
.story-body h2 em { color: var(--wine); font-style: italic; }
.story-body p { color: var(--ink-soft); font-weight: 300; font-size: 16.5px; margin-bottom: 14px; max-width: 34em; }
.stats { display: flex; gap: 34px; margin-top: 24px; flex-wrap: wrap; }
.stats div b { font-family: var(--serif); font-size: 36px; color: var(--wine); display: block; line-height: 1; }
.stats div span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Founder ---------- */
.founder-grid { display: grid; grid-template-columns: 1fr; max-width: 780px; margin: 0 auto; }
.founder-body h2 { font-family: var(--serif); font-size: clamp(34px, 4vw, 46px); font-weight: 600; line-height: 1.1; margin: 14px 0 6px; }
.founder-body h2 em { color: var(--wine); font-style: italic; }
.founder-role { font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--purple); font-weight: 600; margin-bottom: 14px; }
.founder-body p { color: var(--ink-soft); font-weight: 300; font-size: 16.5px; margin-bottom: 14px; max-width: 36em; }
.founder-details { display: grid; gap: 11px; margin: 20px 0 4px; }
.founder-details li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); font-weight: 300; }
.founder-details svg { width: 18px; height: 18px; color: var(--purple); flex: none; margin-top: 3px; }
.founder-details b { color: var(--ink); font-weight: 600; }
.founder-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; align-items: center; }
.founder-socials { display: flex; gap: 9px; flex-wrap: wrap; }
.founder-socials a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); display: inline-flex; align-items: center; justify-content: center; color: var(--wine);
}
.founder-socials a:hover { border-color: var(--purple); }
.founder-socials svg { width: 17px; height: 17px; }
.founder-sign { font-family: var(--script); font-size: 46px; color: var(--wine); margin-top: 16px; line-height: 1; }

/* ---------- Blog slider ---------- */
.slider-viewport { overflow: hidden; margin: 0 -6px; }
.slider-track { display: flex; transition: transform 0.55s ease; }
.slide { flex: none; padding: 0 6px; }
.blog-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; }
.blog-card .bimg { height: 190px; overflow: hidden; position: relative; }
.blog-card .bimg img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .bcat {
  position: absolute; left: 14px; bottom: 14px; background: rgba(74, 10, 61, 0.85); color: #ffe3f5;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}
.blog-card .bbody { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card .bmeta { font-size: 12.5px; color: var(--muted); letter-spacing: 0.06em; }
.blog-card h3 { font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1.2; margin: 8px 0; }
.blog-card h3 a:hover { color: var(--wine); }
.blog-card p { font-size: 14.5px; color: var(--ink-soft); font-weight: 300; flex: 1; }
.blog-card .read { margin-top: 14px; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--wine); display: inline-flex; gap: 7px; align-items: center; }
.blog-card .read svg { width: 15px; height: 15px; }
.slider-nav { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.arrow-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center;
}
.arrow-btn:hover { border-color: var(--wine); color: var(--wine); }
.arrow-btn svg { width: 18px; height: 18px; }
.sdots { display: flex; gap: 7px; margin-left: 6px; }
.sdot { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--line); padding: 0; }
.sdot.active { background: var(--wine); width: 26px; border-radius: 999px; }

/* Blog index (home.php) */
.blog-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; margin-top: 30px; }
.pagenav { display: flex; gap: 8px; justify-content: center; margin: 40px 0 10px; flex-wrap: wrap; }
.pagenav .page-numbers { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 9px 16px; font-size: 14px; }
.pagenav .page-numbers.current { background: var(--wine); border-color: var(--wine); color: #fff; }

/* ---------- Reviews ---------- */
.reviews-band { margin-top: 84px; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0; }
.review-box { max-width: 760px; margin: 0 auto; text-align: center; position: relative; min-height: 218px; }
.review-item { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; pointer-events: none; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.review-item.active { opacity: 1; pointer-events: auto; }
.review-item .stars { justify-content: center; }
.review-item .stars .star { width: 18px; height: 18px; }
.review-item blockquote {
  font-family: var(--serif); font-size: clamp(24px, 3vw, 31px); font-style: italic;
  line-height: 1.3; margin: 16px 0 14px; color: var(--ink);
}
.review-item figcaption { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.review-item figcaption b { color: var(--wine); }
.review-dots { display: flex; gap: 7px; justify-content: center; margin-top: 20px; }

/* ---------- Social + newsletter ---------- */
.social-band { text-align: center; padding: 70px 0 10px; }
.social-band .script { font-size: 44px; color: var(--wine); }
.social-band h2 { font-family: var(--serif); font-size: 34px; font-weight: 600; margin-top: 4px; }
.social-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line);
  background: var(--surface); border-radius: 999px; padding: 11px 20px 11px 13px;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.04em; box-shadow: var(--shadow-sm);
}
.social-btn:hover { border-color: var(--purple); }
.social-btn .sic {
  width: 30px; height: 30px; border-radius: 50%; background: var(--wine); color: #ffe3f5;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.social-btn .sic svg { width: 16px; height: 16px; }
.news { max-width: 560px; margin: 44px auto 0; }
.news p { color: var(--ink-soft); font-weight: 300; margin-bottom: 16px; }
.news form { display: flex; gap: 10px; }
.news input {
  flex: 1; padding: 14px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-family: inherit; font-size: 15px; min-width: 0;
}

/* ---------- WhatsApp CTA banner ---------- */
.wa-banner { margin-top: 84px; background: linear-gradient(120deg, var(--wine) 0%, var(--purple) 100%); border-radius: 26px; color: #fff; overflow: hidden; }
.wa-banner-in { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 44px 48px; flex-wrap: wrap; }
.wa-banner h2 { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; line-height: 1.1; }
.wa-banner p { margin-top: 8px; color: #ffe3f5; font-weight: 300; max-width: 34em; }
.wa-banner .btn.wa { background: #fff; border-color: #fff; color: var(--wa-deep); font-size: 15px; padding: 15px 32px; }
.wa-banner .btn.wa:hover { background: #f2fdf6; }

/* ---------- Single product ---------- */
.prod-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 56px 0 30px; align-items: start; }
.prod-media { background: var(--stage); border-radius: 20px; display: flex; align-items: flex-end; justify-content: center; min-height: 520px; overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.prod-media img { width: 100%; height: 520px; object-fit: cover; }
.prod-media .badge { top: 16px; left: 16px; }
.prod-info .cat { font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--purple); font-weight: 600; }
.prod-info h1 { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 52px); font-weight: 700; line-height: 1.08; margin: 8px 0 6px; }
.prod-info .stars { margin-top: 10px; }
.prod-price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 4px; }
.prod-price .price { font-family: var(--serif); font-size: 42px; font-weight: 700; color: var(--wine); }
.prod-price .free { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--wa-deep); background: rgba(29,168,81,0.12); padding: 5px 11px; border-radius: 999px; }
.cod-line { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 14px; margin: 6px 0 20px; }
.cod-line svg { width: 17px; height: 17px; color: var(--wa-deep); flex: none; }
.shade-picker-label { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); margin-bottom: 10px; }
.shade-picker-label b { color: var(--wine); font-family: var(--serif); font-size: 20px; letter-spacing: 0; text-transform: none; }
.prod-info .dots { margin: 0 0 22px; }
.prod-info .dots .dot { width: 30px; height: 30px; }
.prod-desc { color: var(--ink-soft); font-weight: 300; font-size: 16px; margin-bottom: 24px; }
.prod-desc p { margin-bottom: 12px; }
.prod-buy { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.prod-buy .qty { border-color: var(--line); }
.perks-list { display: grid; gap: 9px; margin-top: 8px; font-size: 14px; color: var(--ink-soft); }
.perks-list span { display: inline-flex; gap: 9px; align-items: center; }
.perks-list svg { width: 16px; height: 16px; color: var(--purple); flex: none; }
.related-head { margin: 70px 0 0; }

/* ---------- Taxonomy / archive headers ---------- */
.term-head { padding: 52px 0 10px; text-align: center; }
.term-head .kicker { justify-content: center; }
.term-head h1 { font-family: var(--serif); font-size: clamp(38px, 4.6vw, 54px); font-weight: 600; margin: 12px 0 8px; }
.term-head p { color: var(--ink-soft); font-weight: 300; max-width: 40em; margin: 0 auto; }
.term-count { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 10px; display: block; }

/* ---------- Generic content pages ---------- */
.page-head { padding: 56px 0 8px; }
.page-head h1 { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 52px); font-weight: 700; }
.entry { padding: 10px 0 70px; max-width: 820px; }
.entry p { margin-bottom: 16px; color: var(--ink-soft); font-size: 16.5px; font-weight: 300; }
.entry h2, .entry h3 { font-family: var(--serif); margin: 26px 0 10px; }
.entry img { border-radius: 14px; }
.entry ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; color: var(--ink-soft); }
.single-post .entry { margin: 0 auto; }
.post-meta { font-size: 13px; color: var(--muted); letter-spacing: 0.06em; margin: 10px 0 22px; }
.post-featured { border-radius: 18px; overflow: hidden; margin: 0 0 26px; box-shadow: var(--shadow-sm); }
.post-featured img { width: 100%; max-height: 440px; object-fit: cover; }
.comments-area { max-width: 820px; margin: 0 auto 70px; }

/* ---------- Footer ---------- */
footer.site { margin-top: 80px; background: var(--wine-deep); color: #f4d7ee; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 44px; }
.foot-about { font-weight: 300; font-size: 14.5px; color: #dfaed6; margin-top: 14px; max-width: 26em; }
footer h4 { font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--purple-soft); margin-bottom: 16px; font-weight: 600; }
footer li { margin-bottom: 10px; }
footer li a { font-size: 14.5px; color: #f4d7ee; font-weight: 300; }
footer li a:hover { color: #fff; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 300; }
.foot-contact svg { width: 17px; height: 17px; color: var(--purple-soft); flex: none; margin-top: 3px; }
.foot-socials { display: flex; gap: 9px; margin-top: 18px; flex-wrap: wrap; }
.foot-socials a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,217,241,0.35);
  display: inline-flex; align-items: center; justify-content: center; color: #ffd9f1;
}
.foot-socials a:hover { background: var(--wine); border-color: var(--wine); }
.foot-socials svg { width: 17px; height: 17px; }
.foot-bar { border-top: 1px solid rgba(255,217,241,0.16); padding: 18px 0; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 13px; color: #c99cc2; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px rgba(21,122,60,0.4);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--wa); opacity: 0.35; animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(0.85); opacity: 0.5; } 70% { transform: scale(1.12); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Cart drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(32, 2, 40, 0.55); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; z-index: 80; }
.scrim.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(420px, 94vw); z-index: 90;
  background: var(--surface); box-shadow: var(--shadow);
  display: none; flex-direction: column;
}
.drawer.open { display: flex; animation: drawerIn 0.32s ease; }
@keyframes drawerIn { from { transform: translateX(48px); opacity: 0.3; } to { transform: translateX(0); opacity: 1; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--serif); font-size: 26px; font-weight: 700; }
.drawer-items { flex: 1; overflow-y: auto; padding: 16px 22px; }
.citem { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.citem .cthumb { width: 58px; height: 74px; border-radius: 10px; background: var(--stage); display: flex; align-items: flex-end; justify-content: center; flex: none; overflow: hidden; }
.citem .cthumb img { width: 100%; height: 100%; object-fit: cover; }
.citem .cinfo { flex: 1; min-width: 0; }
.citem .cinfo b { font-size: 15px; display: block; }
.citem .cinfo span { font-size: 12.5px; color: var(--muted); display: block; }
.citem .crow { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.citem .qty button { width: 30px; height: 32px; font-size: 15px; }
.citem .qty output { min-width: 24px; font-size: 14px; }
.citem .cprice { font-weight: 600; color: var(--wine); }
.citem .crm { background: none; border: none; color: var(--muted); font-size: 12px; text-decoration: underline; padding: 0; margin-top: 6px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; background: var(--surface-2); }
.sumrow { display: flex; justify-content: space-between; font-size: 14.5px; margin-bottom: 7px; color: var(--ink-soft); }
.sumrow.total { font-size: 17px; font-weight: 600; color: var(--ink); border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 10px; }
.sumrow .free-tag { color: var(--wa-deep); font-weight: 600; }
.cod-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 10px; }
.cart-empty { text-align: center; color: var(--muted); padding: 48px 10px; }
.cart-empty .script { font-size: 36px; color: var(--wine); display: block; margin-bottom: 6px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 80px); z-index: 120;
  background: var(--wine-deep); color: #ffe3f5; padding: 13px 24px; border-radius: 999px;
  font-size: 14px; box-shadow: var(--shadow); transition: transform 0.35s ease; max-width: 92vw; text-align: center;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 90px 0 100px; }
.nf .script { font-size: 64px; color: var(--wine); }
.nf h1 { font-family: var(--serif); font-size: 42px; margin: 10px 0; }
.nf p { color: var(--ink-soft); margin-bottom: 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  nav.main { display: none; }
  .burger { display: inline-flex; }
  .header-icons { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-img-frame img { height: 480px; }
  .hero-float { left: 10px; }
  .spot-grid { grid-template-columns: 1fr; }
  .spot-media { min-height: 300px; max-height: 340px; }
  .story-grid { grid-template-columns: 1fr; gap: 34px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .prod-hero { grid-template-columns: 1fr; gap: 34px; }
  .prod-media, .prod-media img { height: auto; min-height: 340px; }
}
@media (max-width: 860px) {
  .prail-note { display: block; font-size: 12.5px; color: var(--muted); margin-top: 20px; }
  .prail-viewport { display: block; overflow: hidden; margin: 8px -20px 4px; padding: 36px 20px 12px; }
  .prail-track { display: flex; width: max-content; animation: tick 42s linear infinite; }
  .prail-viewport:hover .prail-track, .prail-viewport:active .prail-track { animation-play-state: paused; }
  .prail-group { display: flex; gap: 14px; padding-right: 14px; }
  .mini-card {
    width: 158px; flex: none; text-align: left; cursor: pointer; font: inherit; color: inherit;
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
    padding: 0 12px 13px; margin-top: 26px; box-shadow: var(--shadow-sm);
  }
  .mini-card .mini-stage {
    height: 104px; border-radius: 10px; background: var(--stage);
    display: flex; align-items: flex-end; justify-content: center; overflow: visible; margin: -24px 0 10px;
  }
  .mini-card .mini-stage img { height: 122px; width: auto; max-width: 90%; object-fit: contain; transform: translateY(-4px); filter: drop-shadow(0 8px 10px rgba(112,8,92,0.22)); }
  .mini-card .mini-cat { display: block; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--purple); font-weight: 600; }
  .mini-card .mini-name { display: block; font-family: var(--serif); font-size: 17px; font-weight: 700; line-height: 1.15; margin-top: 2px; }
  .mini-card .mini-shade { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 6px; }
  .mini-card .mini-shade i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 1px solid var(--line); flex: none; }
  .mini-card .mini-price { display: block; font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--wine); margin-top: 4px; }
}
@media (max-width: 560px) {
  .announce { font-size: 11px; letter-spacing: 0.08em; }
  .brand { gap: 9px; }
  .brand-name { font-size: 20px; white-space: normal; max-width: 118px; line-height: 1.1; }
  footer .brand-name { max-width: none; white-space: nowrap; font-size: 22px; }
  .header-in { gap: 10px; }
  .logo-img { width: 46px; height: 46px; border-radius: 12px; }
  .cat-card { width: 168px; padding: 18px 12px 14px; }
  .cat-card .cat-stage { height: 100px; }
  .cat-card .cat-stage svg { height: 92px; }
  .cat-card h3 { font-size: 19px; }
  .hero { padding-top: 36px; }
  .hero-img-frame img { height: 400px; }
  .shade-strip { flex-wrap: wrap; padding: 16px 16px 6px; }
  .shade-strip .mini { flex: 1 1 28%; }
  .shade-strip .strip-note { max-width: none; flex: 1 1 100%; order: -1; padding-bottom: 4px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .pcard { padding: 0 12px 14px; margin-top: 34px; }
  .pcard .stage { height: 150px; margin: -30px 2px 0; }
  .pcard .stage img { height: 172px; }
  .pcard h3 { font-size: 20px; }
  .card-actions .btn { font-size: 11px; padding: 10px 4px; }
  .spot-body { padding: 36px 24px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .news form { flex-direction: column; }
  .review-box { min-height: 260px; }
  .wa-banner-in { padding: 34px 26px; }
  .prod-media img { height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .rail-track, .prail-track, .wa-float::after { animation: none; }
  .drawer.open { animation: none; }
  .slider-track { transition: none; }
  .pcard .stage img, .btn, .shade-tile { transition: none; }
}
