/* ============================================================
   Niuchaj — main theme stylesheet
   Single-product WooCommerce theme.
   Palettes, fonts, layouts switched via body classes from
   Customizer settings (see inc/customizer.php).
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body), system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ─── Palettes ────────────────────────────────────────────── */
body.palette-peach {
  --bg: #FBF1E6;
  --surface: #FFF8F1;
  --primary: #E07856;
  --primary-ink: #FFFFFF;
  --accent: #F7C9A7;
  --ink: #2A1A15;
  --muted: #7A6259;
  --line: #EADCCB;
}
body.palette-mint {
  --bg: #E8F0E4;
  --surface: #F4F8F0;
  --primary: #5B8B5A;
  --primary-ink: #FFFFFF;
  --accent: #C6DCB9;
  --ink: #1F2A22;
  --muted: #5A6B5A;
  --line: #D2DECB;
}
body.palette-buttercream {
  --bg: #FBF1D9;
  --surface: #FDF9EC;
  --primary: #C8804A;
  --primary-ink: #FFFFFF;
  --accent: #F2E0A0;
  --ink: #2A1F12;
  --muted: #7A6A4A;
  --line: #EEDFB8;
}

/* ─── Font pairs ──────────────────────────────────────────── */
body.font-bricolage {
  --font-display: "Bricolage Grotesque", "DM Sans", system-ui, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --tracking: -0.02em;
  --display-weight: 600;
}
body.font-newsreader {
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --tracking: -0.015em;
  --display-weight: 500;
}
body.font-outfit {
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --tracking: -0.025em;
  --display-weight: 600;
}

/* ─── Helpers ─────────────────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.display {
  font-family: var(--font-display);
  font-weight: var(--display-weight, 600);
  letter-spacing: var(--tracking);
  line-height: 1.04;
}
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--primary);
}
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px;
  font-size: 12.5px; font-weight: 500;
  background: var(--accent); color: var(--ink);
}
.pill--primary { background: var(--primary); color: var(--primary-ink); }
.pill--surface { background: var(--surface); }
.pill--soft { background: color-mix(in oklab, var(--primary) 18%, var(--bg)); color: var(--primary); }

.stars { display: inline-flex; align-items: center; gap: 1px; color: var(--primary); }
.stars svg { width: 14px; height: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--primary); color: var(--primary-ink); border: 0;
  padding: 16px 22px; border-radius: 999px; font-weight: 600;
  cursor: pointer; transition: transform .12s, box-shadow .2s, background .2s;
  box-shadow: 0 1px 0 rgba(0,0,0,.04),
              0 8px 22px -10px color-mix(in oklab, var(--primary) 60%, transparent);
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(0,0,0,.04),
              0 14px 28px -10px color-mix(in oklab, var(--primary) 70%, transparent); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { background: var(--surface); }
.btn--icon { padding: 10px 12px; }
.btn--invert { background: var(--bg); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--bg); }

.qty {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
}
.qty button {
  width: 36px; height: 36px; border-radius: 999px;
  border: 0; background: transparent; color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.qty button:hover { background: color-mix(in oklab, var(--accent) 60%, transparent); }
.qty input, .qty .qty-num {
  min-width: 28px; text-align: center;
  font-variant-numeric: tabular-nums; font-weight: 600;
  background: transparent; border: 0; color: inherit;
  font-family: inherit; font-size: 14px;
  -moz-appearance: textfield;
  padding: 0;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

section { padding: 84px 0; }
@media (max-width: 720px) {
  section { padding: 56px 0; }
  .container { padding: 0 20px; }
}

/* ─── Announcement strip ──────────────────────────────────── */
.announce {
  background: var(--ink); color: var(--bg);
  font-size: 13px; letter-spacing: .01em;
}
.announce__inner {
  display: flex; justify-content: center; align-items: center;
  gap: 22px; padding: 10px 28px; flex-wrap: wrap;
}
.announce__sep { opacity: .4; }

/* ─── Top nav ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px;
}
.site-nav {
  display: flex; gap: 28px; font-size: 14px; color: var(--muted);
}
.site-nav a:hover { color: var(--ink); }
.cart-btn {
  position: relative; background: transparent; border: 0; cursor: pointer;
  color: var(--ink); padding: 8px; border-radius: 999px;
}
.cart-btn__count {
  position: absolute; top: 0; right: 0;
  background: var(--primary); color: var(--primary-ink);
  font-size: 11px; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 999px;
  padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
}
.cart-btn__count[data-empty="1"] { display: none; }

.logo {
  display: inline-flex; align-items: baseline; gap: 0;
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  letter-spacing: var(--tracking); line-height: 1;
}
.logo--lg { font-size: 26px; }
.logo__dot { color: var(--primary); margin-left: 1px; }

/* ─── Hero ────────────────────────────────────────────────── */
.hero-img {
  position: relative; border-radius: 28px; overflow: hidden;
  background: var(--surface); aspect-ratio: 5/6;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img__badge-tl { position: absolute; top: 18px; left: 18px; display: flex; gap: 8px; }
.hero-img__badge-br { position: absolute; bottom: 18px; right: 18px; }
.hero-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    color-mix(in oklab, var(--surface) 95%, var(--ink) 5%) 0px,
    color-mix(in oklab, var(--surface) 95%, var(--ink) 5%) 12px,
    color-mix(in oklab, var(--surface) 90%, var(--ink) 10%) 12px,
    color-mix(in oklab, var(--surface) 90%, var(--ink) 10%) 24px
  );
  color: color-mix(in oklab, var(--ink) 55%, transparent);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px; letter-spacing: .04em;
}

.hero-title {
  font-size: clamp(40px, 5.6vw, 72px);
  margin: 0; color: var(--ink);
}
.hero-title em {
  color: var(--primary); font-style: italic; font-weight: inherit;
}
.hero-sub {
  font-size: 18px; line-height: 1.55; color: var(--muted);
  margin: 0; max-width: 480px;
}
.hero-reviews {
  display: flex; align-items: center; gap: 10px; font-size: 14px;
}
.hero-reviews__meta { color: var(--muted); }

.price-row {
  display: flex; align-items: baseline; gap: 12px;
}
.price-row__now { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 36px; letter-spacing: var(--tracking); }
.price-row__was { color: var(--muted); text-decoration: line-through; font-size: 18px; }

.buy-row {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.buy-row .btn { flex: 1; min-width: 200px; }

.buy-meta {
  display: flex; gap: 20px; font-size: 13px;
  color: var(--muted); flex-wrap: wrap;
}

.hero {
  padding-top: 72px;
}
.hero__grid {
  display: grid; gap: 64px; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
}

.hero-buy { display: flex; flex-direction: column; gap: 16px; }
.hero-info { display: flex; flex-direction: column; gap: 22px; }

/* Split layout */
.hero--split {
  position: relative; overflow: hidden; padding: 56px 0 0;
}
.hero--split .hero__grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 0; align-items: stretch;
}
.hero--split .hero-info {
  position: relative; z-index: 2;
  padding: 40px 56px 80px 0;
}
.hero--split .hero-img-wrap {
  position: relative; margin-right: -56px; transform: translateY(-32px);
}
.hero--split .hero-img { aspect-ratio: 4/5; }
.hero--split .hero-blob {
  position: absolute; top: 120px; left: -120px;
  width: 260px; height: 260px; border-radius: 50%;
  background: var(--accent); opacity: .55; z-index: 0;
}
.hero-stat {
  position: absolute; left: -50px; bottom: 40px;
  background: var(--surface); padding: 14px 18px; border-radius: 18px;
  box-shadow: 0 24px 60px -28px rgba(0,0,0,.18);
  border: 1px solid var(--line);
  display: flex; gap: 12px; align-items: center; max-width: 260px;
}
.hero-stat__icon {
  width: 38px; height: 38px; border-radius: 999px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.hero-stat__body { font-size: 13px; line-height: 1.4; }
.hero-stat__body span { color: var(--muted); }
@media (max-width: 920px) {
  .hero--split .hero__grid { grid-template-columns: 1fr; }
  .hero--split .hero-info { padding: 0 0 24px; }
  .hero--split .hero-img-wrap { margin-right: 0; transform: none; }
  .hero-stat { position: static; max-width: none; margin-top: 18px; }
  .hero--split .hero-blob { display: none; }
}

/* Full-bleed hero */
.hero--full {
  position: relative; padding: 0; overflow: hidden;
  min-height: min(86vh, 820px);
}
.hero--full .hero-img-bleed { position: absolute; inset: 0; }
.hero--full .hero-img-bleed img,
.hero--full .hero-img-bleed .hero-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero--full .hero-img-bleed::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--bg) 15%, transparent) 0%,
    color-mix(in oklab, var(--bg) 35%, transparent) 40%,
    color-mix(in oklab, var(--bg) 92%, transparent) 100%);
}
.hero--full .container {
  position: relative; padding-top: 80px; padding-bottom: 64px;
  display: flex; flex-direction: column; gap: 28px;
  max-width: 720px; margin: 0 auto;
  min-height: min(86vh, 820px); justify-content: flex-end;
}

/* ─── Trust strip ─────────────────────────────────────────── */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--surface) 80%, transparent);
}
.trust__inner {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 22px 28px; flex-wrap: wrap;
}
.trust__item {
  font-size: 13.5px; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.trust__item::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--primary); display: inline-block;
}

/* ─── Benefits ────────────────────────────────────────────── */
.benefits { background: var(--surface); }
.benefits__head { max-width: 720px; margin-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.benefits__title { font-size: clamp(32px, 4vw, 52px); margin: 0; }
.benefits__title em { font-style: italic; color: var(--primary); }
.benefits__lead { font-size: 17px; color: var(--muted); line-height: 1.6; margin: 0; }
.benefits__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px;
}
.benefit-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 22px;
  padding: 26px 24px 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.benefit-card__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.benefit-card h3 { font-size: 22px; margin: 0; }
.benefit-card p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14.5px; }

/* ─── How it works ────────────────────────────────────────── */
.how__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; margin-bottom: 48px; flex-wrap: wrap;
}
.how__title { font-size: clamp(32px, 4vw, 52px); margin: 0; }
.how__lead { color: var(--muted); font-size: 15px; max-width: 320px; margin: 0; line-height: 1.55; }
.how__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 18px; padding-top: 24px; border-top: 1px solid var(--line); }
.step__n {
  color: var(--primary); font-size: 14px; font-weight: 700; letter-spacing: .06em;
  font-family: var(--font-display);
}
.step__t { font-size: 26px; margin: 0; }
.step__b { margin: 0; color: var(--muted); line-height: 1.6; font-size: 15px; }

/* ─── Carousel ────────────────────────────────────────────── */
.gallery { background: var(--surface); overflow: hidden; }
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.gallery__title { font-size: clamp(32px, 4vw, 52px); margin: 0; }
.gallery__nav { display: flex; gap: 8px; }
.gallery__track {
  display: flex; gap: 18px; overflow-x: auto;
  padding: 0 28px 28px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide {
  flex: 0 0 min(420px, 78vw);
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 12px;
}
.gallery__media { border-radius: 22px; overflow: hidden; background: var(--bg); aspect-ratio: 4/5; }
.gallery__media img { width: 100%; height: 100%; object-fit: cover; }
.gallery__caption {
  display: flex; gap: 10px; align-items: center; padding: 0 4px;
  font-size: 13px; color: var(--muted);
}
.gallery__dots { display: flex; gap: 6px; justify-content: center; }
.gallery__dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--line); border: 0; cursor: pointer; padding: 0;
  transition: width .25s, background .25s;
}
.gallery__dot[data-active="1"] { width: 26px; background: var(--primary); }

/* ─── Specs ───────────────────────────────────────────────── */
.specs__grid {
  display: grid; gap: 64px; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.specs__img { background: var(--surface); border-radius: 26px; overflow: hidden; aspect-ratio: 1/1; }
.specs__img img, .specs__img .hero-placeholder { width: 100%; height: 100%; object-fit: cover; }
.specs__info { display: flex; flex-direction: column; gap: 18px; }
.specs__title { font-size: clamp(32px, 3.6vw, 48px); margin: 0; }
.specs__dl {
  margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}
.specs__row { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.specs__k { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.specs__v { font-size: 16px; font-weight: 500; }
@media (max-width: 820px) {
  .specs__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq { background: var(--surface); }
.faq__grid {
  display: grid; gap: 56px; align-items: flex-start;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
}
.faq__side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; }
.faq__title { font-size: clamp(32px, 3.6vw, 48px); margin: 0; }
.faq__email { border-bottom: 1px solid var(--primary); color: var(--primary); }
.faq__item { border-top: 1px solid var(--line); padding: 22px 0; }
.faq__items > .faq__item:last-of-type { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; background: transparent; border: 0; padding: 0; cursor: pointer;
  text-align: left; color: var(--ink); font-size: 20px;
  font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--tracking);
}
.faq__chev { transition: transform .25s; flex-shrink: 0; }
.faq__item[data-open="1"] .faq__chev { transform: rotate(180deg); }
.faq__a {
  overflow: hidden; max-height: 0; opacity: 0;
  transition: max-height .35s ease, opacity .35s;
}
.faq__item[data-open="1"] .faq__a { max-height: 320px; opacity: 1; }
.faq__a p { margin: 14px 0 0; color: var(--muted); line-height: 1.65; max-width: 600px; }
@media (max-width: 820px) {
  .faq__grid { grid-template-columns: 1fr; gap: 24px; }
  .faq__side { position: static; }
}

/* ─── Final CTA ───────────────────────────────────────────── */
.final-cta__inner {
  position: relative; overflow: hidden; border-radius: 32px;
  padding: 72px 56px;
  background: var(--ink); color: var(--bg);
  display: flex; flex-direction: column; gap: 24px; align-items: flex-start;
}
.final-cta__title { font-size: clamp(36px, 5vw, 64px); margin: 0; max-width: 760px; position: relative; }
.final-cta__blob1 {
  position: absolute; top: -40px; right: -40px;
  width: 240px; height: 240px; border-radius: 50%;
  background: color-mix(in oklab, var(--primary) 80%, transparent);
  opacity: .9;
}
.final-cta__blob2 {
  position: absolute; bottom: -60px; right: 120px;
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--accent); opacity: .8;
}
.final-cta__meta { font-size: 13px; opacity: .7; position: relative; }
.final-cta .eyebrow { color: var(--accent); }
@media (max-width: 720px) {
  .final-cta__inner { padding: 56px 28px; border-radius: 24px; }
}

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--bg); border-top: 1px solid var(--line);
  padding: 56px 0 40px;
}
.site-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.site-footer__brand p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col__h { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); font-weight: 600; }
.foot-col a { color: var(--muted); font-size: 14px; }
.foot-col a:hover { color: var(--ink); }
.site-footer__legal {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--muted); font-size: 13px;
}
@media (max-width: 820px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ─── Sticky buy bar ──────────────────────────────────────── */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  transform: translateY(110%);
  transition: transform .35s cubic-bezier(.3,.7,.2,1);
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -16px rgba(0,0,0,.18);
}
.sticky-bar[data-visible="1"] { transform: translateY(0); }
.sticky-bar__inner {
  display: flex; align-items: center; gap: 16px; padding: 14px 28px;
}
.sticky-bar__thumb {
  width: 52px; height: 52px; border-radius: 14px; overflow: hidden;
  background: var(--surface); flex-shrink: 0;
}
.sticky-bar__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sticky-bar__info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.sticky-bar__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 16px; line-height: 1.1; letter-spacing: var(--tracking); }
.sticky-bar__price { font-size: 13px; color: var(--muted); }
.sticky-bar__price strong { color: var(--ink); }
.sticky-bar__price s { text-decoration: line-through; }
@media (max-width: 720px) {
  .sticky-bar__inner { gap: 10px; padding: 10px 16px; }
  .sticky-bar__thumb { width: 44px; height: 44px; }
  .sticky-bar__info { display: none; }
}

/* ─── Cart drawer ─────────────────────────────────────────── */
.drawer-scrim {
  position: fixed; inset: 0; background: rgba(20,15,12,.4); z-index: 50;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.drawer-scrim[data-open="1"] { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; bottom: 0; right: 0;
  width: min(420px, 96vw); z-index: 51;
  background: var(--bg); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.3,.7,.2,1);
  display: flex; flex-direction: column;
}
.cart-drawer[data-open="1"] { transform: translateX(0); }
.cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.cart-drawer__head h3 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 22px; margin: 0; letter-spacing: var(--tracking); }
.cart-drawer__close { background: transparent; border: 0; cursor: pointer; color: var(--ink); padding: 4px; }
.cart-drawer__body {
  flex: 1; overflow-y: auto; padding: 20px 22px;
  display: flex; flex-direction: column; gap: 16px;
}
.cart-drawer__empty {
  padding: 40px 0; text-align: center; color: var(--muted);
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.cart-drawer__empty-icon {
  width: 64px; height: 64px; border-radius: 999px; background: var(--surface);
  display: flex; align-items: center; justify-content: center;
}
.cart-drawer__line {
  display: flex; gap: 14px; align-items: flex-start;
}
.cart-drawer__thumb {
  width: 72px; height: 84px; border-radius: 14px;
  overflow: hidden; background: var(--surface); flex-shrink: 0;
}
.cart-drawer__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-drawer__meta { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.cart-drawer__title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cart-drawer__name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 16px; letter-spacing: var(--tracking); }
.cart-drawer__variant { font-size: 12px; color: var(--muted); }
.cart-drawer__line-total { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 16px; letter-spacing: var(--tracking); }
.cart-drawer__hint {
  margin-top: 6px; padding: 14px; border-radius: 14px;
  background: var(--surface); font-size: 13px; color: var(--muted);
}
.cart-drawer__foot {
  padding: 18px 22px 22px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
.cart-drawer__totals { display: flex; justify-content: space-between; font-size: 15px; }
.cart-drawer__totals span:first-child { color: var(--muted); }
.cart-drawer__total {
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: 22px; letter-spacing: var(--tracking);
}
.cart-drawer__pay { font-size: 12px; color: var(--muted); text-align: center; }

/* ─── Toast ───────────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; top: 86px;
  transform: translateX(-50%) translateY(-12px);
  opacity: 0; transition: opacity .25s, transform .25s;
  pointer-events: none; z-index: 60;
  background: var(--ink); color: var(--bg);
  padding: 12px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.4);
  display: inline-flex; gap: 8px; align-items: center;
}
.toast[data-visible="1"] { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ─── Flying product ──────────────────────────────────────── */
.fly-ghost {
  position: fixed; border-radius: 18px; overflow: hidden;
  pointer-events: none; z-index: 70;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.35);
  background: var(--surface);
}
.fly-ghost img { width: 100%; height: 100%; object-fit: cover; }

/* ─── WooCommerce generic overrides ───────────────────────── */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  background: var(--surface); border-left: 4px solid var(--primary);
  padding: 14px 18px; border-radius: 12px; margin: 16px 0;
}
.woocommerce .button, .wp-element-button {
  background: var(--primary); color: var(--primary-ink);
  border-radius: 999px; padding: 14px 22px; font-weight: 600;
  border: 0; cursor: pointer;
}
.woocommerce .button:hover { background: color-mix(in oklab, var(--primary) 88%, black); }
.wc-content {
  padding: 56px 0 96px;
}
.wc-content h1, .wc-content h2 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--tracking); }
.wc-content table { width: 100%; border-collapse: collapse; }
.wc-content th, .wc-content td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; }
.wc-content .form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.wc-content input[type="text"], .wc-content input[type="email"], .wc-content input[type="tel"],
.wc-content input[type="password"], .wc-content input[type="number"], .wc-content textarea, .wc-content select {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font: inherit; color: inherit; width: 100%;
}
