/* ==========================================================================
   Charcho — ხელნაკეთი აქსესუარები და სამკაულები
   Vanilla CSS. No build step. Brand colours & type from "Charcho - Brandbook.pdf".
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (self-hosted, converted from Branding/Fonts to woff2)
   The Helvetica Neue Geo Caps files contain NO Cyrillic, so their unicode-range
   is limited to Latin + Georgian; Russian headings fall through to FiraGO.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "FiraGO";
  src: url("../fonts/firago-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "FiraGO";
  src: url("../fonts/firago-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Charcho Caps";
  src: url("../fonts/hneue-caps-roman.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-017F, U+10A0-10FF, U+1C90-1CBF, U+2000-206F, U+20AC, U+20BE, U+2122;
}
@font-face {
  font-family: "Charcho Caps";
  src: url("../fonts/hneue-caps-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-017F, U+10A0-10FF, U+1C90-1CBF, U+2000-206F, U+20AC, U+20BE, U+2122;
}

/* --------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette — brandbook pp.19–21 */
  --purple:        #3E1F44;
  --purple-2:      #5F286C;
  --ink:           #231F20;
  --cream:         #FFF9DA;
  --white:         #FFFFFF;

  /* Purple tints (brandbook p.20: 40 / 30 / 10 / 5 %) */
  --purple-40:     rgba(62, 31, 68, .40);
  --purple-30:     rgba(62, 31, 68, .30);
  --purple-10:     rgba(62, 31, 68, .10);
  --purple-05:     rgba(62, 31, 68, .05);
  --purple-03:     rgba(62, 31, 68, .03);

  /* Surfaces */
  --bg:            #FFFFFF;
  --bg-soft:       #FBF9FB;
  --bg-cream:      #FFFCF0;
  --line:          rgba(62, 31, 68, .13);
  --line-strong:   rgba(62, 31, 68, .26);

  /* Text */
  --text:          #231F20;
  --text-soft:     #5C5257;
  /* 5.4:1 on white — the old #8A8085 was 3.8:1 and failed WCAG AA for the
     12–13px text it is used on (product category, rating count, post meta). */
  --text-faint:    #6E646B;
  --on-dark:       #FFF9DA;
  --on-dark-soft:  rgba(255, 249, 218, .72);

  /* Accents */
  --sale:          #A3243B;
  --ok:            #2E6B4F;

  /* Type */
  --font-body:     "FiraGO", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display:  "Charcho Caps", "FiraGO", "Segoe UI", system-ui, sans-serif;

  /* Rhythm */
  --shell:         1320px;
  --gut:           clamp(16px, 4vw, 40px);
  --sec:           clamp(56px, 8vw, 112px);
  --r-sm:          4px;
  --r-md:          8px;
  --r-lg:          14px;

  --shadow-sm:     0 1px 2px rgba(35, 31, 32, .05), 0 4px 14px rgba(62, 31, 68, .05);
  --shadow-md:     0 2px 6px rgba(35, 31, 32, .06), 0 18px 44px rgba(62, 31, 68, .10);
  --shadow-lg:     0 6px 18px rgba(35, 31, 32, .08), 0 34px 70px rgba(62, 31, 68, .14);

  --ease:          cubic-bezier(.22, .61, .36, 1);
  --header-h:      74px;
}

/* --------------------------------------------------------------------------
   3. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* main.js hides inactive-language blocks with the `hidden` attribute; this
   must win over any display rule the element also carries. */
[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--purple-2); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: .012em;
  margin: 0;
  color: var(--purple);
  /* Georgian words are long and never hyphenate — let them break rather than
     push the layout sideways on narrow screens. */
  overflow-wrap: break-word;
  word-break: break-word;
}
p { margin: 0; overflow-wrap: break-word; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--purple-2);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--purple); color: var(--cream); }

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

/* --------------------------------------------------------------------------
   4. Layout helpers
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding-block: var(--sec); }
.section--soft  { background: var(--bg-soft); }
.section--cream { background: var(--bg-cream); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--purple-2);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--purple-40);
  flex: none;
}

.h-xl { font-size: clamp(28px, 5.6vw, 66px); }
.h-lg { font-size: clamp(23px, 3.6vw, 42px); }
.h-md { font-size: clamp(19px, 2.2vw, 26px); }

.lede {
  font-size: clamp(15px, 1.35vw, 18px);
  color: var(--text-soft);
  max-width: 60ch;
}

/* Symbol watermark behind dark panels (brandbook p.23 background element).
   Rendered as a real <img> layer rather than a CSS background: Chrome refuses
   to load CSS-referenced SVGs over file://, and the site must also work when
   index.html is opened directly from disk. */
.pattern-bg { position: relative; overflow: hidden; }
.pattern-layer {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .035;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.pattern-bg > .shell { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   5. Icons
   Icons are <img class="ic" src="assets/svg/icon-*.svg"> — one file per icon,
   per colour. Colour variants: (default #231F20), -accent (#5F286C),
   -light (#FFF9DA), -gold (#C89A2B), -faint (#CFC4D1).
   -------------------------------------------------------------------------- */
.ic { width: 20px; height: 20px; flex: none; display: inline-block; }
.ic--sm { width: 16px; height: 16px; }
.ic--lg { width: 26px; height: 26px; }
.ic--xs { width: 13px; height: 13px; }

/* --------------------------------------------------------------------------
   6. Buttons
   NOTE (house rule): <button> is reserved for GA4-tracked actions only.
   These classes are also applied to <a>/<div> where no event is tracked.
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--purple);
  --btn-fg: var(--cream);
  --btn-bd: var(--purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .10em;
  text-transform: uppercase;
  line-height: 1;
  padding: 15px 28px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .18s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.btn:hover { background: var(--purple-2); border-color: var(--purple-2); color: var(--cream); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--purple); --btn-bd: var(--line-strong); }
.btn--ghost:hover { background: var(--purple); border-color: var(--purple); color: var(--cream); }

.btn--light { --btn-bg: var(--cream); --btn-fg: var(--purple); --btn-bd: var(--cream); }
.btn--light:hover { background: var(--white); border-color: var(--white); color: var(--purple); }

.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--cream); --btn-bd: rgba(255,249,218,.45); }
.btn--outline-light:hover { background: var(--cream); border-color: var(--cream); color: var(--purple); }

.btn--sm { padding: 11px 18px; font-size: 12px; }
.btn--block { width: 100%; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--purple);
  cursor: pointer;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: gap .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.link-arrow:hover { gap: 14px; color: var(--purple-2); border-color: var(--purple-2); }

/* --------------------------------------------------------------------------
   7. Header (shared across pages — excluded from CMS JSON mirrors)
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--purple);
  color: var(--on-dark);
  font-size: 12.5px;
  letter-spacing: .02em;
}
.topbar .shell {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 38px; padding-block: 7px;
}
.topbar-msg { display: flex; align-items: center; gap: 9px; min-width: 0; }
.topbar-links { display: flex; align-items: center; gap: 20px; }
.topbar a:hover, .topbar-links .lang-option:hover { color: var(--white); }
@media (max-width: 860px) {
  .topbar-links { display: none; }
  .topbar { font-size: 11.5px; }
  .topbar .shell { justify-content: center; }
  .topbar-msg { text-align: center; }
}

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .shell {
  display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px);
  min-height: var(--header-h);
}

.brand { flex: none; display: block; }
.brand img { height: 40px; width: auto; }
@media (max-width: 560px) { .brand img { height: 32px; } }

/* .site-nav is the <nav> landmark; .site-nav-list is the <ul> inside it. */
.site-nav { margin-inline-start: auto; }
.site-nav-list { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 30px); }
.site-nav-list > li { position: relative; }
.site-nav a, .nav-parent {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: .10em; text-transform: uppercase;
  color: var(--ink);
  padding-block: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.site-nav a:hover, .nav-parent:hover, .site-nav .is-current > a { color: var(--purple-2); }
.site-nav .is-current > a { border-bottom: 1px solid var(--purple-2); }

/* Mega dropdown for პროდუქცია / Products */
.nav-drop {
  position: absolute; top: calc(100% + 12px); inset-inline-start: -22px;
  min-width: 520px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 20px 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px 26px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-drop:hover .nav-drop, .has-drop.is-open .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop a {
  font-family: var(--font-body); font-size: 14.5px; letter-spacing: 0;
  text-transform: none; padding: 8px 10px; border-radius: var(--r-sm);
  color: var(--text-soft);
}
.nav-drop a:hover { background: var(--purple-05); color: var(--purple); }

.header-tools { display: flex; align-items: center; gap: 4px; flex: none; }
.tool {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  color: var(--ink); cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.tool:hover { background: var(--purple-05); }
.tool-cart { position: relative; }
.cart-count {
  position: absolute; top: 3px; inset-inline-end: 3px;
  min-width: 17px; height: 17px; padding-inline: 4px;
  border-radius: 9px;
  background: var(--purple); color: var(--cream);
  font-size: 10.5px; font-weight: 500; line-height: 17px; text-align: center;
}

/* Language switcher — DIV based on purpose: it must NOT fire GA4 events. */
.lang-switcher { display: flex; align-items: center; gap: 2px; }
.lang-option {
  padding: 4px 8px; border-radius: var(--r-sm);
  font-size: 12px; letter-spacing: .08em; cursor: pointer;
  color: inherit; opacity: .62;
  transition: opacity .2s var(--ease), background .2s var(--ease);
}
.lang-option:hover { opacity: 1; }
.lang-option.is-active { opacity: 1; font-weight: 500; }
.site-header .lang-switcher { margin-inline-start: 4px; }
.site-header .lang-option.is-active { background: var(--purple-05); color: var(--purple); }

.nav-toggle { display: none; }
.nav-lang { display: none; }

/* Header search drawer */
.search-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
  padding-block: 18px;
}
.search-drawer.is-open { display: block; }
.search-form { display: flex; gap: 10px; align-items: center; }
.search-form input {
  flex: 1; min-width: 0;
  font-family: var(--font-body); font-size: 16px; color: var(--text);
  padding: 13px 16px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--bg-soft);
}
.search-form input:focus { outline: none; border-color: var(--purple-2); background: var(--white); }

/* Mobile drawer */
@media (max-width: 1080px) {
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    display: none;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 10px var(--gut) 22px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    margin-inline-start: 0;
  }
  .site-nav.is-open { display: block; }
  .site-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a, .nav-parent { padding-block: 14px; font-size: 14px; }
  .site-nav-list > li + li { border-top: 1px solid var(--line); }
  .nav-drop {
    position: static; min-width: 0; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; padding: 0 0 10px 12px;
    display: none; grid-template-columns: 1fr;
  }
  .has-drop.is-open .nav-drop { display: grid; }
  .has-drop:hover .nav-drop { display: none; }
  .has-drop.is-open:hover .nav-drop { display: grid; }
  .nav-toggle { display: inline-flex; order: -1; }
  .brand { margin-inline-end: auto; }
  .header-tools { margin-inline-start: 0; }

  .nav-lang { display: block; padding-block: 12px; }
  .nav-lang .lang-switcher { gap: 8px; flex-wrap: wrap; }
  .nav-lang .lang-option {
    font-family: var(--font-display);
    font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
    padding: 9px 14px; border: 1px solid var(--line);
  }
  .nav-lang .lang-option.is-active { background: var(--purple); border-color: var(--purple); color: var(--cream); }
}
@media (max-width: 620px) {
  .tool-wish { display: none; }
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero { background: var(--bg-cream); border-bottom: 1px solid var(--line); }
.hero .shell {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(46px, 7vw, 92px);
}
.hero-copy { max-width: 620px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--purple-2); display: block; }
.hero .lede { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 16px 36px; }
.hero-fact {
  display: flex; align-items: center; gap: 11px;
  color: var(--text-soft); font-size: 13.5px;
  min-width: 0; max-width: 100%;
}

.hero-art { position: relative; }
.hero-art-main {
  aspect-ratio: 4 / 3; width: 100%; object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.hero-art-side {
  position: absolute; inset-block-end: -30px; inset-inline-start: -26px;
  width: 40%; max-width: 220px;
  aspect-ratio: 3 / 4; object-fit: cover;
  border: 7px solid var(--bg-cream);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.hero-badge {
  position: absolute; inset-block-start: 22px; inset-inline-end: -14px;
  background: var(--purple); color: var(--on-dark);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; line-height: 1.35;
  max-width: 230px;
}

@media (max-width: 900px) {
  .hero .shell { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art-side, .hero-badge { display: none; }
  .hero-art-main { aspect-ratio: 16 / 10; }
}

/* Trust strip */
.trust { border-bottom: 1px solid var(--line); background: var(--white); }
.trust .shell {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; padding-inline: 0;
}
.trust-item {
  display: flex; align-items: center; gap: 14px;
  padding: 26px clamp(16px, 2.4vw, 30px);
  border-inline-start: 1px solid var(--line);
}
.trust-item:first-child { border-inline-start: 0; }
.trust-item strong {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--purple);
}
.trust-item span { font-size: 13px; color: var(--text-faint); }
@media (max-width: 900px) { .trust .shell { grid-template-columns: repeat(2, 1fr); } .trust-item:nth-child(3) { border-inline-start: 0; } }
@media (max-width: 520px) { .trust .shell { grid-template-columns: 1fr; } .trust-item { border-inline-start: 0; border-top: 1px solid var(--line); } .trust-item:first-child { border-top: 0; } }

/* --------------------------------------------------------------------------
   9. Category grid
   -------------------------------------------------------------------------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px, 1.6vw, 22px);
}
.cat-card { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; }
.cat-card > img {
  aspect-ratio: 4 / 5; width: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.cat-card:hover > img { transform: scale(1.05); }
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(62,31,68,.72) 0%, rgba(62,31,68,.14) 46%, rgba(62,31,68,0) 72%);
}
.cat-name {
  position: absolute; inset-block-end: 0; inset-inline: 0;
  z-index: 2; padding: 16px 16px 18px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.cat-name .ic { opacity: 0; transform: translateX(-6px); transition: all .3s var(--ease); }
.cat-card:hover .cat-name .ic { opacity: 1; transform: translateX(0); }
@media (max-width: 1080px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 780px)  { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px)  { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   10. Product cards
   -------------------------------------------------------------------------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 30px) clamp(12px, 1.6vw, 24px);
}
@media (max-width: 1080px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .prod-grid { grid-template-columns: repeat(2, 1fr); } }

.prod-card { display: flex; flex-direction: column; }
/* Positioning context for the overlays. It must wrap ONLY the image — anchored
   to .prod-card, the quick-add bar landed on top of the price row instead. */
.prod-top { position: relative; margin-bottom: 14px; }
.prod-media {
  position: relative; display: block;
  border-radius: var(--r-md); overflow: hidden;
  background: var(--bg-soft);
}
.prod-media > img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.prod-card:hover .prod-media > img { transform: scale(1.045); }

.prod-flags { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.flag {
  font-family: var(--font-display);
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 3px;
  background: var(--purple); color: var(--cream);
}
.flag--sale { background: var(--sale); }
.flag--new  { background: var(--cream); color: var(--purple); }

.prod-wish {
  position: absolute; inset-block-start: 10px; inset-inline-end: 10px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.9); color: var(--ink);
  cursor: pointer; opacity: 0; transform: translateY(-4px);
  transition: all .25s var(--ease);
}
.prod-card:hover .prod-wish,
.prod-wish:focus-visible { opacity: 1; transform: translateY(0); }
.prod-wish:hover { background: var(--purple); }
.prod-wish[aria-pressed="true"] { background: var(--purple); opacity: 1; transform: none; }

.prod-quick {
  position: absolute; inset-inline: 10px; inset-block-end: 10px; z-index: 2;
  opacity: 0; transform: translateY(8px);
  transition: all .3s var(--ease);
}
.prod-card:hover .prod-quick,
.prod-quick:focus-within { opacity: 1; transform: translateY(0); }
/* Touch devices have no hover — show the controls permanently. */
@media (hover: none) { .prod-quick, .prod-wish { opacity: 1; transform: none; } }

.prod-cat { font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 5px; }
.prod-name { font-family: var(--font-body); font-weight: 500; font-size: 15.5px; color: var(--text); line-height: 1.4; margin-bottom: 8px; }
.prod-name:hover { color: var(--purple-2); }

.prod-rating { display: flex; align-items: center; gap: 5px; margin-bottom: 9px; font-size: 12.5px; color: var(--text-faint); }
.stars { display: inline-flex; gap: 2px; }
.stars .ic { width: 13px; height: 13px; }

.prod-price { display: flex; align-items: baseline; gap: 9px; margin-top: auto; }
.price { font-family: var(--font-display); font-size: 17px; color: var(--purple); letter-spacing: .02em; }
.price--old { font-family: var(--font-body); font-size: 14px; color: var(--text-faint); text-decoration: line-through; }
.price--sale { color: var(--sale); }

.prod-variants { display: flex; gap: 6px; margin-top: 10px; }
.swatch { width: 17px; height: 17px; border-radius: 50%; border: 1px solid var(--line-strong); }

/* --------------------------------------------------------------------------
   11. Sale / promo band
   -------------------------------------------------------------------------- */
.promo { background: var(--purple); color: var(--on-dark); }
.promo .shell {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 70px); align-items: center;
  padding-block: var(--sec);
}
.promo h2 { color: var(--cream); margin-bottom: 18px; }
.promo .eyebrow { color: var(--on-dark-soft); }
.promo .eyebrow::before { background: rgba(255,249,218,.4); }
.promo p { color: var(--on-dark-soft); margin-bottom: 30px; max-width: 52ch; }
.promo-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.promo-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.promo-media > img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; border-radius: var(--r-md); }
.promo-media > img:nth-child(2) { margin-block-start: 34px; }
@media (max-width: 900px) { .promo .shell { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   12. Services (personalised & corporate gifts)
   -------------------------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.2vw, 28px); }
@media (max-width: 820px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  min-height: 330px;
  display: flex; align-items: flex-end;
  color: var(--cream);
}
.svc-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc-card:hover > img { transform: scale(1.05); }
.svc-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(62,31,68,.90) 8%, rgba(62,31,68,.55) 55%, rgba(62,31,68,.28) 100%);
}
.svc-body { position: relative; z-index: 2; padding: clamp(24px, 3vw, 40px); }
.svc-body h3 { color: var(--cream); margin-bottom: 12px; }
.svc-body p { color: var(--on-dark-soft); margin-bottom: 22px; max-width: 42ch; font-size: 15px; }
.svc-body .link-arrow { color: var(--cream); border-color: rgba(255,249,218,.4); }
.svc-body .link-arrow:hover { color: var(--white); border-color: var(--cream); }

/* --------------------------------------------------------------------------
   13. About
   -------------------------------------------------------------------------- */
.about .shell {
  display: grid; grid-template-columns: .95fr 1.05fr;
  gap: clamp(28px, 5vw, 76px); align-items: center;
}
@media (max-width: 900px) { .about .shell { grid-template-columns: 1fr; } }
.about-media { position: relative; }
.about-media > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.about-mark {
  position: absolute; inset-block-end: -22px; inset-inline-end: -18px;
  background: var(--white); border-radius: var(--r-md);
  padding: 18px; box-shadow: var(--shadow-md);
}
.about-mark img { width: 62px; height: auto; aspect-ratio: auto; border-radius: 0; }
@media (max-width: 560px) { .about-mark { display: none; } }
.about h2 { margin-bottom: 18px; }
.about p + p { margin-top: 16px; }
.about-points { display: grid; gap: 14px; margin-top: 28px; }
.about-point { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-soft); }
.about-point .ic { margin-top: 3px; }

/* --------------------------------------------------------------------------
   14. Delivery band
   -------------------------------------------------------------------------- */
.deliv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 24px); }
@media (max-width: 900px) { .deliv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .deliv-grid { grid-template-columns: 1fr; } }
.deliv-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 24px;
}
.deliv-card .ic { margin-bottom: 16px; }
.deliv-card h3 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 9px; }
.deliv-card p { font-size: 14px; color: var(--text-soft); }
.deliv-price { font-family: var(--font-display); color: var(--purple-2); }

/* --------------------------------------------------------------------------
   15. Blog teaser
   -------------------------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
@media (max-width: 860px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }
.post-card a > img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; border-radius: var(--r-md); margin-bottom: 16px; transition: transform .6s var(--ease); }
.post-card { overflow: hidden; }
.post-card a:hover > img { transform: scale(1.04); }
.post-meta { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 8px; }
.post-card h3 { font-size: 18px; line-height: 1.35; margin-bottom: 10px; }
.post-card p { font-size: 14.5px; color: var(--text-soft); }

/* --------------------------------------------------------------------------
   16. Newsletter
   -------------------------------------------------------------------------- */
.news { background: var(--purple); color: var(--on-dark); }
.news .shell { padding-block: var(--sec); text-align: center; }
.news h2 { color: var(--cream); margin-bottom: 14px; }
.news p { color: var(--on-dark-soft); margin: 0 auto 30px; max-width: 54ch; }
.news-form { display: flex; gap: 10px; max-width: 520px; margin-inline: auto; flex-wrap: wrap; }
.news-form input {
  flex: 1; min-width: 220px;
  font-family: var(--font-body); font-size: 15px;
  padding: 14px 18px; border-radius: var(--r-sm);
  border: 1px solid rgba(255,249,218,.30);
  background: rgba(255,249,218,.07); color: var(--cream);
}
.news-form input::placeholder { color: rgba(255,249,218,.5); }
.news-form input:focus { outline: none; border-color: var(--cream); background: rgba(255,249,218,.12); }
.news-note { font-size: 12.5px; color: rgba(255,249,218,.55); margin-top: 16px; }

/* --------------------------------------------------------------------------
   17. Footer (shared — excluded from CMS JSON mirrors)
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,249,218,.68); font-size: 14.5px; }
.footer-main { padding-block: clamp(46px, 6vw, 76px); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: clamp(26px, 3.4vw, 52px);
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand > img { height: 70px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,249,218,.20); color: var(--cream);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.footer-social a:hover { background: var(--purple); border-color: var(--purple); color: var(--cream); }

.footer-col h4 {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream); margin-bottom: 18px;
}
.footer-col li + li { margin-top: 10px; }
.footer-col a:hover { color: var(--cream); }

.footer-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact li + li { margin-top: 14px; }
.footer-contact .ic { margin-top: 3px; }
.footer-contact a:hover { color: var(--cream); }
.hours-row { display: flex; justify-content: space-between; gap: 16px; max-width: 240px; }
.hours-row + .hours-row { margin-top: 6px; }
.hours-row span:last-child { color: rgba(255,249,218,.5); }

.footer-bottom {
  border-top: 1px solid rgba(255,249,218,.12);
  padding-block: 22px;
  font-size: 13px;
}
.footer-bottom .shell {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-pay { display: flex; align-items: center; gap: 12px; color: rgba(255,249,218,.5); font-size: 12.5px; }

/* --------------------------------------------------------------------------
   18. Motion
   -------------------------------------------------------------------------- */
/* Scroll reveal is scoped to .js (set by an inline script in <head>). Without
   it every .reveal block would start at opacity:0, so a single JS failure would
   leave the whole page below the fold invisible. */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js .reveal, .js .reveal.is-in { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   19. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .topbar, .news, .site-footer, .prod-quick, .prod-wish { display: none !important; }
  body { color: #000; }
}

/* ===== PHASE 2 COMPONENTS ===== */
/* --------------------------------------------------------------------------
   20. Page header + breadcrumbs
   -------------------------------------------------------------------------- */
.page-head { background: var(--bg-cream); border-bottom: 1px solid var(--line); }
.page-head .shell { padding-block: clamp(26px, 4vw, 46px); }
.page-head h1 { margin-bottom: 10px; }
.page-head .lede { margin-top: 8px; }

.crumbs { font-size: 13px; color: var(--text-faint); margin-bottom: 16px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; color: var(--purple-30); }
.crumbs a:hover { color: var(--purple-2); }
.crumbs [aria-current] { color: var(--text-soft); }

/* current-page marker also works on the dropdown parents */
.site-nav-list .is-current > .nav-parent { color: var(--purple-2); border-bottom: 1px solid var(--purple-2); }

/* --------------------------------------------------------------------------
   21. Catalog: sidebar filters + toolbar + pagination
   -------------------------------------------------------------------------- */
.catalog { display: grid; grid-template-columns: 264px 1fr; gap: clamp(22px, 3vw, 46px); align-items: start; }
@media (max-width: 900px) { .catalog { grid-template-columns: 1fr; } }

.filters { position: sticky; top: calc(var(--header-h) + 18px); }
@media (max-width: 900px) { .filters { position: static; } }
.filter-group { border-bottom: 1px solid var(--line); padding-block: 20px; }
.filter-group:first-child { padding-top: 0; }
.filter-group h3 {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px;
}
.filter-opt { display: flex; align-items: center; gap: 10px; padding-block: 6px; cursor: pointer; font-size: 14.5px; color: var(--text-soft); }
.filter-opt:hover { color: var(--purple); }
.filter-opt input { accent-color: var(--purple); width: 16px; height: 16px; flex: none; margin: 0; }
.filter-opt .count { margin-inline-start: auto; font-size: 12.5px; color: var(--text-faint); }

.price-row { display: flex; align-items: center; gap: 10px; }
.price-row input {
  width: 100%; min-width: 0; padding: 10px 12px; font: inherit; font-size: 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--white);
}
.price-row span { color: var(--text-faint); }
.filter-actions { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; }

.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 22px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.result-count { font-size: 14px; color: var(--text-faint); }
.sort-wrap { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-soft); }
select.sort, select.field {
  font: inherit; font-size: 14px; color: var(--text);
  padding: 10px 34px 10px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--white) url("../svg/icon-chevron-down.svg") no-repeat right 10px center / 15px;
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
select.sort:focus, select.field:focus { outline: none; border-color: var(--purple-2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; padding: 6px 12px;
  border: 1px solid var(--line-strong); border-radius: 40px;
  background: var(--white); color: var(--text-soft); cursor: pointer;
}
.chip:hover { border-color: var(--purple-2); color: var(--purple); }
.chip .ic { width: 13px; height: 13px; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: clamp(32px, 4vw, 54px); }
.pagination a, .pagination .is-here {
  min-width: 40px; height: 40px; padding-inline: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: var(--font-display); font-size: 13px;
}
.pagination a:hover { border-color: var(--purple-2); color: var(--purple-2); }
.pagination .is-here { background: var(--purple); border-color: var(--purple); color: var(--cream); }

/* --------------------------------------------------------------------------
   22. Product detail
   -------------------------------------------------------------------------- */
.pdp { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(26px, 4vw, 60px); align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }

.gallery-main { border-radius: var(--r-lg); overflow: hidden; background: var(--bg-soft); }
.gallery-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); cursor: pointer; border: 2px solid transparent; }
.gallery-thumbs img.is-active, .gallery-thumbs img:hover { border-color: var(--purple); }
.video-wrap {
  margin-top: 14px; position: relative; aspect-ratio: 16 / 9;
  border-radius: var(--r-md); overflow: hidden; background: var(--ink); cursor: pointer;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-wrap > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: opacity .3s var(--ease); }
.video-wrap:hover > img { opacity: .62; }
.video-play {
  position: absolute; inset-block-start: 50%; inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(62, 31, 68, .82); border: 1px solid rgba(255, 249, 218, .5);
  transition: transform .25s var(--ease);
}
.video-wrap:hover .video-play { transform: translate(-50%, -50%) scale(1.07); }
.video-cap {
  position: absolute; inset-block-end: 14px; inset-inline-start: 16px;
  color: var(--cream); font-size: 13px; letter-spacing: .04em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}

.pdp-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--text-faint); margin-bottom: 12px; }
.pdp h1 { margin-bottom: 14px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.pdp-price .price { font-size: 30px; }
.pdp-desc { color: var(--text-soft); margin-bottom: 26px; }

.opt-group { margin-bottom: 22px; }
.opt-label { font-family: var(--font-display); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); margin-bottom: 10px; display: block; }
.opt-swatches { display: flex; gap: 10px; }
.opt-swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; }
.opt-swatch.is-active { border-color: var(--purple); box-shadow: 0 0 0 2px var(--white) inset; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-sm); }
.qty-btn { width: 42px; height: 46px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.qty-btn:hover { background: var(--purple-05); }
.qty input { width: 48px; height: 46px; text-align: center; border: 0; font: inherit; font-size: 15px; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pdp-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.pdp-actions .btn { flex: 1 1 200px; }
.icon-btn {
  width: 50px; height: 50px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); cursor: pointer;
}
.icon-btn:hover { border-color: var(--purple); background: var(--purple-05); }
.icon-btn[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); }

.pdp-assure { border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 12px; }
.pdp-assure li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--text-soft); }

/* tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tab {
  font-family: var(--font-display); font-size: 13px; letter-spacing: .10em; text-transform: uppercase;
  padding: 14px 18px; cursor: pointer; color: var(--text-soft);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab:hover { color: var(--purple); }
.tab.is-active { color: var(--purple); border-bottom-color: var(--purple); }
.tab-panel[hidden] { display: none; }

/* reviews */
.review { border-bottom: 1px solid var(--line); padding-block: 22px; }
.review:first-child { padding-top: 0; }
.review-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.review-who { font-weight: 500; }
.review-date { font-size: 13px; color: var(--text-faint); margin-inline-start: auto; }
.review p { color: var(--text-soft); font-size: 15px; }

/* bundle */
.bundle { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.bundle-item { width: 150px; }
.bundle-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); margin-bottom: 8px; }
.bundle-item span { font-size: 13.5px; color: var(--text-soft); }
.bundle-plus { font-size: 24px; color: var(--purple-30); }
.bundle-sum { margin-inline-start: auto; text-align: end; }
.bundle-sum .price { font-size: 24px; display: block; margin-bottom: 4px; }
@media (max-width: 620px) { .bundle-sum { margin-inline-start: 0; text-align: start; width: 100%; } }

/* --------------------------------------------------------------------------
   23. Forms
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.field-label { display: block; font-size: 13px; color: var(--text-soft); margin-bottom: 7px; }
.field-label .req { color: var(--sale); }
input.field, textarea.field {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  padding: 13px 15px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--white);
}
textarea.field { min-height: 130px; resize: vertical; }
input.field:focus, textarea.field:focus { outline: none; border-color: var(--purple-2); box-shadow: 0 0 0 3px var(--purple-05); }
.field-note { font-size: 12.5px; color: var(--text-faint); margin-top: 6px; }

.check { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--text-soft); cursor: pointer; }
.check input { accent-color: var(--purple); width: 17px; height: 17px; margin: 2px 0 0; flex: none; }

.card-panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px);
}
.card-panel + .card-panel { margin-top: 20px; }
.card-panel h2, .card-panel h3 { margin-bottom: 18px; }

.auth { max-width: 470px; margin-inline: auto; }
.auth .card-panel { box-shadow: var(--shadow-sm); }
.auth-alt { text-align: center; margin-top: 22px; font-size: 14px; color: var(--text-soft); }
.auth-alt a { color: var(--purple-2); border-bottom: 1px solid var(--purple-30); }

/* segmented switch (individual / legal entity) */
.segment { display: flex; gap: 6px; background: var(--purple-05); padding: 5px; border-radius: var(--r-sm); margin-bottom: 24px; }
.seg-opt {
  flex: 1; text-align: center; cursor: pointer;
  font-family: var(--font-display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 11px 10px; border-radius: 3px; color: var(--text-soft);
}
.seg-opt.is-active { background: var(--white); color: var(--purple); box-shadow: var(--shadow-sm); }

/* --------------------------------------------------------------------------
   24. Cart / checkout
   -------------------------------------------------------------------------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(24px, 3vw, 44px); align-items: start; }
@media (max-width: 980px) { .cart-layout { grid-template-columns: 1fr; } }

.cart-row { display: grid; grid-template-columns: 96px 1fr auto auto; gap: 18px; align-items: center; padding-block: 20px; border-bottom: 1px solid var(--line); }
.cart-row:first-child { padding-top: 0; }
.cart-row > img { width: 96px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); }
.cart-name { font-weight: 500; display: block; margin-bottom: 5px; }
.cart-attrs { font-size: 13px; color: var(--text-faint); }
.cart-line-total { font-family: var(--font-display); font-size: 16px; color: var(--purple); min-width: 84px; text-align: end; }
.cart-remove { cursor: pointer; opacity: .55; }
.cart-remove:hover { opacity: 1; }
@media (max-width: 620px) {
  .cart-row { grid-template-columns: 76px 1fr auto; grid-template-areas: "img info remove" "img qty total"; }
  .cart-row > img { grid-area: img; width: 76px; }
  .cart-row > div:nth-of-type(1) { grid-area: info; }
  .cart-row .qty { grid-area: qty; }
  .cart-line-total { grid-area: total; }
  .cart-remove { grid-area: remove; }
}

.summary { position: sticky; top: calc(var(--header-h) + 18px); }
@media (max-width: 980px) { .summary { position: static; } }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; font-size: 15px; color: var(--text-soft); }
.sum-row.total {
  border-top: 1px solid var(--line); margin-top: 12px; padding-top: 16px;
  font-family: var(--font-display); font-size: 19px; color: var(--purple);
}
.sum-free { color: var(--ok); }
.promo-row { display: flex; gap: 8px; margin-block: 18px; }
.promo-row input.field { padding-block: 11px; }

.pay-opt {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 16px 18px;
}
.pay-opt + .pay-opt { margin-top: 10px; }
.pay-opt:hover { border-color: var(--purple-2); }
.pay-opt input { accent-color: var(--purple); margin: 3px 0 0; flex: none; width: 17px; height: 17px; }
.pay-opt strong { display: block; font-weight: 500; }
.pay-opt span { font-size: 13.5px; color: var(--text-faint); }
.pay-logo { margin-inline-start: auto; font-family: var(--font-display); color: var(--purple-2); font-size: 13px; letter-spacing: .1em; }

.steps-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.step { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-faint); }
.step b { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--purple-05); color: var(--purple); font-weight: 500; font-size: 12px; }
.step.is-here { color: var(--purple); }
.step.is-here b { background: var(--purple); color: var(--cream); }
.step + .step::before { content: ""; width: 22px; height: 1px; background: var(--line-strong); }

/* --------------------------------------------------------------------------
   25. Account
   -------------------------------------------------------------------------- */
.account { display: grid; grid-template-columns: 250px 1fr; gap: clamp(22px, 3vw, 44px); align-items: start; }
@media (max-width: 860px) { .account { grid-template-columns: 1fr; } }
.acct-nav li + li { margin-top: 2px; }
.acct-nav a {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 14px; border-radius: var(--r-sm); font-size: 14.5px; color: var(--text-soft);
}
.acct-nav a:hover { background: var(--purple-05); color: var(--purple); }
.acct-nav .is-here a { background: var(--purple); color: var(--cream); }
.acct-nav .is-here a:hover { background: var(--purple); color: var(--cream); }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
@media (max-width: 700px) { .stat-grid { grid-template-columns: 1fr; } }
.stat { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; }
.stat b { display: block; font-family: var(--font-display); font-size: 26px; color: var(--purple); line-height: 1.1; margin-bottom: 4px; }
.stat span { font-size: 13px; color: var(--text-faint); }

.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; min-width: 560px; }
table.data th, table.data td { text-align: start; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
table.data th {
  font-family: var(--font-display); font-weight: 400; font-size: 12px;
  letter-spacing: .10em; text-transform: uppercase; color: var(--purple);
  background: var(--bg-soft);
}
table.data td { color: var(--text-soft); }
.badge {
  display: inline-block; font-size: 12px; padding: 4px 10px; border-radius: 40px;
  background: var(--purple-05); color: var(--purple);
}
.badge--ok { background: rgba(46,107,79,.12); color: var(--ok); }
.badge--wait { background: rgba(200,154,43,.16); color: #8A6A16; }

/* --------------------------------------------------------------------------
   26. Prose (legal pages, blog article) + accordion
   -------------------------------------------------------------------------- */
.prose { max-width: 76ch; }
.prose h2 { font-size: clamp(20px, 2.2vw, 26px); margin-top: 40px; margin-bottom: 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; margin-top: 26px; margin-bottom: 10px; }
.prose p, .prose li { color: var(--text-soft); font-size: 15.5px; }
.prose p + p { margin-top: 14px; }
.prose ul { margin-top: 12px; display: grid; gap: 9px; }
.prose ul li { position: relative; padding-inline-start: 20px; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 3px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--purple-40); }
.prose a { color: var(--purple-2); border-bottom: 1px solid var(--purple-30); }
.prose .updated { font-size: 13px; color: var(--text-faint); margin-bottom: 30px; }

.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; cursor: pointer;
  font-family: var(--font-display); font-size: 15px; color: var(--purple);
}
.acc-head .ic { transition: transform .25s var(--ease); }
.acc-item.is-open .acc-head .ic { transform: rotate(180deg); }
.acc-body { padding-bottom: 22px; color: var(--text-soft); font-size: 15px; max-width: 74ch; }
.acc-item:not(.is-open) .acc-body { display: none; }

/* --------------------------------------------------------------------------
   27. Misc blocks
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 66px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split img.media { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }

.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 26px); counter-reset: s; }
@media (max-width: 900px) { .step-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .step-grid { grid-template-columns: 1fr; } }
.step-card { border-top: 2px solid var(--purple); padding-top: 18px; }
.step-card::before {
  counter-increment: s; content: "0" counter(s);
  font-family: var(--font-display); font-size: 13px; letter-spacing: .1em; color: var(--purple-2);
  display: block; margin-bottom: 10px;
}
.step-card h3 { font-size: 16px; margin-bottom: 8px; }
.step-card p { font-size: 14.5px; color: var(--text-soft); }

.stores { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 26px); }
@media (max-width: 760px) { .stores { grid-template-columns: 1fr; } }
.store-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.6vw, 30px); }
.store-card h3 { font-size: 17px; margin-bottom: 14px; }
.store-card li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--text-soft); }
.store-card li + li { margin-top: 11px; }
.map-embed { margin-top: 18px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-soft); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.notice {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--purple-05); border-inline-start: 3px solid var(--purple);
  border-radius: var(--r-sm); padding: 16px 18px; font-size: 14.5px; color: var(--text-soft);
}
.notice + .notice { margin-top: 12px; }

.empty-state { text-align: center; padding-block: clamp(40px, 6vw, 80px); }
.empty-state img { width: 76px; margin: 0 auto 22px; opacity: .5; }
.empty-state h2 { margin-bottom: 12px; }
.empty-state p { color: var(--text-soft); margin: 0 auto 26px; max-width: 46ch; }

.err-code {
  font-family: var(--font-display); font-size: clamp(76px, 16vw, 170px);
  line-height: 1; color: var(--purple); letter-spacing: .02em; margin-bottom: 10px;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tag {
  font-family: var(--font-display); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 9px 15px; border: 1px solid var(--line-strong); border-radius: 40px; color: var(--text-soft);
}
.tag:hover, .tag.is-active { background: var(--purple); border-color: var(--purple); color: var(--cream); }

.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 30px; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--text-faint); margin-bottom: 16px; }
.share-row { display: flex; align-items: center; gap: 10px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.share-row a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; }
.share-row a:hover { border-color: var(--purple); background: var(--purple-05); }
