@charset "UTF-8";
/* ==========================================================================
   Usmanz Pure - single design system
   One stylesheet for the storefront and the admin dashboard.
   Order: fonts, tokens, base, layout, components, storefront, admin, motion.
   ========================================================================== */

/* 1. Fonts -------------------------------------------------------------
   The @font-face rules live in PHP (font_face_style in includes/functions.php)
   so the font URLs carry a modification stamp. A replaced font file is then
   picked up on the next page load instead of being served from the browser
   cache under the old, unversioned URL.
   ---------------------------------------------------------------------- */

/* 2. Tokens ------------------------------------------------------------- */
:root {
  color-scheme: light dark;

  /* Usman's Pure brand palette: warm cream base, dark chocolate ink, spice accents */
  --bg: #FAF7F2;
  --bg-alt: #F4EFE6;
  --surface: #FDFBF7;
  --surface-2: #F5F0E8;
  --ink: #1E1510;
  --ink-2: #3B291A;
  --muted: #6B5B4E;
  --line: rgba(30, 21, 16, 0.12);
  --line-strong: rgba(30, 21, 16, 0.24);

  --forest: #0A3317;
  --forest-deep: #062010;
  --forest-soft: #14532B;
  --on-forest: #F6F2E5;
  --on-forest-muted: #C3D2C5;

  --spice: #3B291A;
  --spice-soft: #5A4535;
  --spice-accent: #C06B1C;
  --spice-deep: #2A1F17;
  --on-spice: #FDFBF7;
  --on-spice-muted: #B8A99A;

  --accent: #D4A017;
  --accent-ink: #8B6914;
  --accent-soft: #F5E6B8;

  --ok: #2C6B4C;
  --ok-soft: #DCEBDD;
  --warn: #8A5A10;
  --warn-soft: #F6E7C6;
  --bad: #9C3527;
  --bad-soft: #F5DCD6;

  --btn-bg: #1C1613;
  --btn-ink: #FFFFFF;
  --btn-bg-hover: #2A1F17;
  --sidebar-bg: #2A1F17;
  --sidebar-ink: #FDFBF7;
  --sidebar-muted: #B8A99A;
  --sidebar-line: rgba(253, 251, 247, 0.16);

  --r-card: 20px;
  --r-input: 12px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(22, 38, 31, 0.06);
  --shadow-md: 0 26px 50px -34px rgba(22, 38, 31, 0.4);
  --shadow-lg: 0 40px 80px -48px rgba(22, 38, 31, 0.55);

  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 44px);
  --header-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);


@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1512;
    --bg-alt: #101d18;
    --surface: #122019;
    --surface-2: #17281f;
    --ink: #eeeade;
    --ink-2: #c4cec4;
    --muted: #94a498;
    --line: rgba(238, 234, 222, 0.14);
    --line-strong: rgba(238, 234, 222, 0.26);--forest: #1d4a37;
  --forest-deep: #08120e;
  --forest-soft: #2a6a4d;
    --on-forest: #f2eee2;
    --on-forest-muted: #b9cbbd;

    --spice-deep: #2a0802;

    --accent: #dc9c47;

    --accent-ink: #f0c489;
    --accent-soft: #332a18;

    --ok: #7cc39b;
    --ok-soft: #14291e;
    --warn: #e0b268;
    --warn-soft: #2a2317;
    --bad: #e08a7c;
    --bad-soft: #2c1a17;

    --btn-bg: #e7efe1;
    --btn-ink: #0b1512;
    --btn-bg-hover: #f6f2e5;
    --sidebar-bg: #0e1c16;
    --sidebar-ink: #e9e5d8;
    --sidebar-muted: #90a596;
    --sidebar-line: rgba(233, 229, 216, 0.14);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);

    --spice-deep: #2a0802;    --shadow-md: 0 26px 50px -30px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "ss01" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

ul,
ol,
dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

small {
  font-size: 0.8125rem;
}

strong {
  font-weight: 600;
}

code {
  font-family: ui-monospace, "SFMono-Regular", "Consolas", monospace;
  font-size: 0.9em;
  background: var(--surface-2);
  padding: 0.15em 0.4em;
  border-radius: 6px;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--bg);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  stroke-width: 1.6;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 4. Layout primitives -------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow {
  max-width: 860px;
}

.section {
  padding-block: clamp(56px, 8vw, 104px);
}

.section--tight {
  padding-block: clamp(36px, 5vw, 64px);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  max-width: 58ch;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center p {
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.kicker--light {
  color: var(--accent);
}

.lede {
  font-size: clamp(1.02rem, 1.35vw, 1.14rem);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 52ch;
}

.muted {
  color: var(--muted);
}

.eyebrowless-title {
  margin-bottom: 18px;
}

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stack {
  display: grid;
  gap: 16px;
}

.stack--lg {
  gap: 26px;
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.row--between {
  justify-content: space-between;
}

.row--wrap {
  flex-wrap: wrap;
}

/* 4b. Layout utilities (keeps markup free of inline styling) ----------- */
.section--flush {
  padding-top: 0;
}

.section--lead {
  padding-top: clamp(20px, 3vw, 36px);
}

.section-head--flush {
  max-width: none;
}

.u-mt-1 { margin-top: 6px; }
.u-mt-2 { margin-top: 14px; }
.u-mt-3 { margin-top: 18px; }
.u-mt-4 { margin-top: 20px; }
.u-mt-5 { margin-top: 22px; }
.u-mb-1 { margin-bottom: 6px; }
.u-mb-3 { margin-bottom: 18px; }
.u-mb-4 { margin-bottom: 22px; }
.u-pt-3 { padding-top: 22px; }
.u-my { margin-block: clamp(28px, 4vw, 48px); }
.u-divide-top {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.text-sm { font-size: 0.9rem; }
.text-xs { font-size: 0.8rem; }
.text-center { text-align: center; }
.title-sm { font-size: 1.1rem; }
.title-xs { font-size: 1.05rem; }
.hidden { display: none; }
.row--start { align-items: flex-start; }
.row--tight { gap: 8px; }
.row--gap { gap: 10px; }
.actions-flush {
  margin-top: 0;
  justify-content: flex-end;
}
.empty--compact { padding: 28px; }
.empty--spaced { margin-block: clamp(28px, 4vw, 48px); }
.list-bullets {
  margin-top: 6px;
  padding-left: 16px;
  list-style: disc;
}
.code-input { text-transform: uppercase; }
.spec--wide { grid-column: 1 / -1; }

/* 5. Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.14s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled,
.btn[aria-busy="true"] {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
}

.btn--primary {
  background: var(--btn-bg);
  color: var(--btn-ink);
}

.btn--primary:hover {
  background: var(--btn-bg-hover);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--surface-2);
  border-color: var(--ink-2);
}

.btn--accent {
  background: var(--accent);
  color: #1b1206;
}

.btn--accent:hover {
  background: var(--accent);
  filter: brightness(1.06);
}

.btn--small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.86rem;
}

.btn--icon {
  min-height: 44px;
  width: 44px;
  padding: 0;
  border-radius: 50%;
}

.btn--block {
  width: 100%;
}

/* Compact call / WhatsApp actions. */
.support-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.support-link:hover {
  background: var(--surface-2);
  border-color: var(--ink-2);
}

.support-link .icon {
  color: var(--forest-soft);
}

.support-link--wa {
  border-color: rgba(18, 140, 91, 0.34);
  background: rgba(18, 140, 91, 0.06);
  color: #116b45;
}

.support-link--wa .icon {
  color: #128c5b;
}

.support-link--wa:hover {
  border-color: rgba(18, 140, 91, 0.55);
  background: rgba(18, 140, 91, 0.12);
  color: #0d5637;
}

/* Floating support chat. Hidden from print. */
.wa-float {
  position: fixed;
  right: clamp(14px, 2.2vw, 24px);
  bottom: calc(clamp(14px, 2.2vw, 24px) + env(safe-area-inset-bottom, 0px));
  z-index: 75;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 56px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: #128c5b;
  color: #fff;
  box-shadow: 0 12px 30px rgba(8, 44, 30, 0.28);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.2s var(--ease), background 0.2s ease,
    box-shadow 0.2s ease;
}

.wa-float:hover {
  background: #0f7a4f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(8, 44, 30, 0.34);
}

.wa-float:active {
  transform: translateY(0);
}

.wa-float__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
}

.wa-float__label {
  white-space: nowrap;
}

body:has(.wa-float) .toast-stack {
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

.btn--danger {
  border-color: var(--line-strong);
  color: var(--bad);
}

.btn--danger:hover {
  background: var(--bad-soft);
  border-color: var(--bad);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease), gap 0.2s var(--ease);
}

.link-arrow:hover {
  border-color: currentColor;
  gap: 12px;
}

/* 6. Forms -------------------------------------------------------------- */
.form-grid {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field > span,
.field > label {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-2);
}

.field small {
  color: var(--muted);
  line-height: 1.45;
}

.field input,
.field select,
.field textarea,
.input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-input);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.55;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--ink-2);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest-soft);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--forest-soft) 20%, transparent);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--bad);
}

.field-error {
  color: var(--bad);
  font-size: 0.82rem;
}

select.input,
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%),
    linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.field-row {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-2);
  cursor: pointer;
}

.check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--forest-soft);
  flex: none;
}

.radio-cards {
  display: grid;
  gap: 12px;
}

.radio-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-input);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.radio-card:hover {
  border-color: var(--ink-2);
}

.radio-card:has(input:checked) {
  border-color: var(--forest-soft);
  background: var(--surface-2);
}

.radio-card input {
  margin-top: 3px;
  accent-color: var(--forest-soft);
}

.radio-card strong {
  display: block;
  font-weight: 600;
}

.radio-card small {
  color: var(--muted);
  line-height: 1.5;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
}

.search-field .icon {
  position: absolute;
  left: 14px;
  color: var(--muted);
  pointer-events: none;
}

.search-field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 16px 10px 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.92rem;
}

.search-field input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.search-field input:focus {
  outline: none;
  border-color: var(--forest-soft);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--forest-soft) 20%, transparent);
}

/* 7. Alerts, pills, toasts, empty states -------------------------------- */
.alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--r-input);
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 0.9rem;
  line-height: 1.5;
}

.alert--error {
  border-color: color-mix(in srgb, var(--bad) 40%, transparent);
  background: var(--bad-soft);
  color: var(--bad);
}

.alert--success {
  border-color: color-mix(in srgb, var(--ok) 40%, transparent);
  background: var(--ok-soft);
  color: var(--ok);
}

.alert--info {
  border-color: var(--line-strong);
  background: var(--surface);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}

.pill.is-ok {
  background: var(--ok-soft);
  color: var(--ok);
  border-color: transparent;
}

.pill.is-warn {
  background: var(--warn-soft);
  color: var(--warn);
  border-color: transparent;
}

.pill.is-bad {
  background: var(--bad-soft);
  color: var(--bad);
  border-color: transparent;
}

.pill.is-info {
  background: var(--surface-2);
  color: var(--ink-2);
  border-color: var(--line);
}

.pill--accent {
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-color: transparent;
}

.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: grid;
  gap: 10px;
  max-width: min(360px, calc(100vw - 40px));
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border-radius: var(--r-input);
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  animation: toast-in 0.35s var(--ease) both;
}

.toast .icon {
  color: var(--accent);
  margin-top: 1px;
}

.toast.is-leaving {
  animation: toast-out 0.25s ease forwards;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(6px);
  }
}

.empty {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(36px, 6vw, 64px) 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-card);
  background: var(--surface);
  text-align: center;
}

.empty .icon {
  width: 30px;
  height: 30px;
  color: var(--muted);
}

.empty h3 {
  font-size: 1.2rem;
}

.empty p {
  color: var(--muted);
  max-width: 40ch;
}

.skeleton {
  background: linear-gradient(
    100deg,
    var(--surface-2) 30%,
    var(--surface) 50%,
    var(--surface-2) 70%
  );
  background-size: 220% 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: var(--r-input);
}

@keyframes shimmer {
  to {
    background-position: -120% 0;
  }
}

/* 8. Site header + navigation ------------------------------------------ */
.announce {
  background: var(--spice);
  color: var(--on-spice);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.announce .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  text-align: center;
}

/* Top announcement bar with product link support */
.announce--product-link {
  background: var(--spice);
  color: var(--on-spice);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.announce--product-link .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  text-align: center;
}

.announce--product-link a {
  color: var(--on-spice);
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--forest);
  color: var(--on-forest);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand__logo {
  display: block;
  height: var(--logo-h, 40px);
  width: auto;
  max-width: min(calc(var(--logo-h, 40px) * 4.3), 360px);
  object-fit: contain;
}

.brand__text {
  display: grid;
  line-height: 1.1;
}

.brand__text strong {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.brand__text small {
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
}

.primary-nav a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 0.93rem;
  color: var(--ink-2);
  white-space: nowrap;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--ink);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Main navigation with oval badge and pill buttons */
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  padding: 8px 0;
}

.oval-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--spice);
  color: var(--on-spice);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.oval-badge img {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.main-nav .nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 0.93rem;
  color: var(--ink-2);
  white-space: nowrap;
  font-family: var(--font-display);
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.main-nav .nav-link:hover,
.main-nav .nav-link[aria-current="page"] {
  color: var(--ink);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Pill button style */
.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}

.pill-btn.is-ok {
  background: var(--spice);
  color: var(--on-spice);
  border-color: var(--spice);
}

.pill-btn.is-warn {
  background: rgba(235, 230, 214, 0.5);
  color: var(--ink-2);
  border-color: var(--line);
}

/* Action buttons */
.action-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-2);
  background: transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.action-btn:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.action-btn--log-in {
  background: var(--on-spice);
  color: var(--spice);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.86rem;
  font-weight: 500;
}

.action-btn--sign-up {
  background: var(--spice);
  color: var(--on-spice);
  border: 1px solid var(--spice);
  border-radius: var(--r-pill);
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.86rem;
  font-weight: 500;
}

/* Pure Categories Sub-bar */
.categories-sub-bar {
  text-align: center;
  padding: 10px 0;
  margin-top: -4px;
}

.categories-sub-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: calc(100% - 2 * var(--gutter));
  margin-inline: auto;
  gap: 8px;
  background: color-mix(in srgb, var(--spice) 80%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 6px 12px;
}

.categories-sub-bar .label {
  color: var(--on-spice);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.categories-sub-bar .pill {
  padding: 4px 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
}

.categories-sub-bar .pill.is-ok {
  background: var(--spice);
  color: var(--on-spice);
  border-color: var(--spice);
}

.categories-sub-bar .pill.is-warn {
  background: rgba(235, 230, 214, 0.5);
  color: var(--ink-2);
  border-color: var(--line);
}

.categories-sub-bar .pill:first-child {
  flex: 1;
}

/* Hero section liquid chocolate texture */
.hero--liquid {
  position: relative;
  padding-block: clamp(28px, 5vh, 56px) clamp(40px, 7vh, 76px);
}

.hero--liquid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(160deg, var(--spice-soft), var(--spice) 55%, var(--spice-deep));
  border-radius: 28px;
  z-index: 0;
  isolation: isolate;
}

.hero--liquid .hero-art {
  border-radius: 28px;
  background: none;
}

.hero--liquid .hero-art::after {
  display: none;
}

/* Bottom Left Feature Card - glassmorphism */
.feature-card {
  background: rgba(251, 249, 242, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  backdrop-filter: blur(10px);
  padding: 20px;
  overflow: hidden;
}

.feature-card .pill {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  margin-bottom: 8px;
}

.feature-card .pill.is-ok {
  background: var(--spice);
  color: var(--on-spice);
  border-color: var(--spice);
}

.feature-card .description {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.feature-card .size-selector {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.feature-card .size-selector .pill {
  padding: 6px 12px;
  font-size: 0.8rem;
}

.feature-card .icon-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.feature-card .icon-button:hover {
  background: var(--surface-2);
}

/* Bottom Center Actions */
.actions-bar {
  background: rgba(251, 249, 242, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 16px 24px;
  backdrop-filter: blur(10px);
  text-align: center;
  margin-top: 12px;
}

.actions-bar .price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}

.actions-bar .btn {
  margin: 0 4px;
}

.actions-bar .btn--primary {
  background: var(--spice);
  color: var(--on-spice);
}

.actions-bar .btn--ghost {
  background: transparent;
  color: var(--spice);
  border: 1px solid var(--spice);
}

/* Bottom Right Controls */
.controls-bar {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.controls-bar .nav-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.controls-bar .nav-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}

.controls-bar .nav-arrow:active {
  transform: translateY(1px);
}

.controls-bar .wa-float {
  right: auto;
  left: clamp(14px, 2.2vw, 24px);
  bottom: calc(clamp(14px, 2.2vw, 24px) + env(safe-area-inset-bottom, 0px));
}

.controls-bar .bag-float {
  right: clamp(14px, 2.2vw, 24px);
  bottom: calc(clamp(14px, 2.2vw, 24px) + env(safe-area-inset-bottom, 0px) + 56px);
}

.controls-bar .bag-float {
  background: var(--spice);
  color: var(--on-spice);
  border: 1px solid var(--spice);
}

.controls-bar .bag-float .icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 520px) {
  .controls-bar .wa-float {
    left: 14px;
    right: auto;
  }
  .controls-bar .bag-float {
    right: 14px;
    bottom: calc(clamp(14px, 2.2vw, 24px) + env(safe-area-inset-bottom, 0px) + 56px);
  }
}


.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--ink-2);
  background: transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.icon-btn:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  font-size: 0.87rem;
  font-weight: 500;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.cart-btn:hover {
  background: var(--surface-2);
  border-color: var(--ink-2);
}

.cart-count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #1b1206;
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

/* 9. Hero --------------------------------------------------------------- */
.hero {
  padding-block: clamp(28px, 5vh, 56px) clamp(40px, 7vh, 76px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.hero h1 {
  max-width: 15ch;
}

.hero .lede {
  margin-top: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  padding-bottom: 62px;
  min-height: clamp(320px, 46vh, 540px);
  border-radius: 28px;
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(160deg, var(--forest-soft), var(--forest) 55%, var(--forest-deep));
  overflow: hidden;
  isolation: isolate;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.035) 0 1px,
    transparent 1px 9px
  );
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: min(94%, 560px);
  height: auto;
  max-height: min(46vh, 470px);
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(8, 18, 14, 0.45));
}

.hero-art__caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(246, 242, 229, 0.22);
  background: rgba(13, 40, 29, 0.55);
  backdrop-filter: blur(10px);
  color: var(--on-forest);
  font-size: 0.82rem;
}

.hero-art__caption span {
  color: var(--on-forest-muted);
}

.hero-art__caption strong {
  font-weight: 500;
}

/* 9b. Hero slider ------------------------------------------------------- */
.hero-slider {
  position: relative;
  display: grid;
  overflow: hidden;
  isolation: isolate;
  background: var(--forest-deep);
  color: var(--on-forest);
}

.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 72vh, 700px);
  padding-block: clamp(64px, 8vw, 92px) clamp(96px, 9vw, 112px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.hero-slide__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(9, 28, 20, 0.96) 0%,
      rgba(9, 28, 20, 0.9) 30%,
      rgba(9, 28, 20, 0.7) 44%,
      rgba(9, 28, 20, 0.22) 64%,
      rgba(9, 28, 20, 0.06) 100%
    ),
    linear-gradient(0deg, rgba(9, 28, 20, 0.55), rgba(9, 28, 20, 0) 35%);
}

.hero-slide__body {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-slide__copy {
  max-width: 36rem;
}

.hero-slide .kicker {
  color: #e8cfa4;
}

.hero-slide h1,
.hero-slide h2 {
  max-width: 15ch;
  color: var(--on-forest);
  font-size: clamp(2.35rem, 4.6vw, 3.85rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
}

.hero-slide__lede {
  max-width: 44ch;
  margin-top: 20px;
  color: rgba(240, 236, 222, 0.87);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.65;
}

.hero-slide .hero-actions {
  margin-top: 30px;
}

.hero-slide .btn--primary {
  background: var(--on-forest);
  color: #14322a;
}

.hero-slide .btn--primary:hover {
  background: #fffdf4;
}

.hero-slide .btn--ghost {
  border-color: rgba(246, 242, 229, 0.42);
  color: var(--on-forest);
}

.hero-slide .btn--ghost:hover {
  border-color: rgba(246, 242, 229, 0.72);
  background: rgba(246, 242, 229, 0.14);
  color: var(--on-forest);
}

.hero-slide__copy > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.hero-slide.is-active .hero-slide__copy > * {
  opacity: 1;
  transform: none;
}

.hero-slide.is-active .hero-slide__copy > :nth-child(2) {
  transition-delay: 0.06s;
}

.hero-slide.is-active .hero-slide__copy > :nth-child(3) {
  transition-delay: 0.12s;
}

.hero-slide.is-active .hero-slide__copy > :nth-child(4) {
  transition-delay: 0.18s;
}

.hero-slider__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(16px, 2.4vw, 26px);
  z-index: 3;
}

.hero-slider__controls-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 32px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(246, 242, 229, 0.38);
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}

.hero-dot:hover {
  background: rgba(246, 242, 229, 0.55);
}

.hero-dot[aria-current="true"] {
  width: 50px;
  background: var(--on-forest);
}

.hero-nav {
  display: flex;
  gap: 8px;
}

.hero-nav button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(246, 242, 229, 0.32);
  background: rgba(9, 28, 20, 0.38);
  color: var(--on-forest);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.hero-nav button:hover {
  border-color: rgba(246, 242, 229, 0.6);
  background: rgba(9, 28, 20, 0.62);
}

.hero-nav button:active {
  transform: translateY(1px);
}

.hero-dot:focus-visible,
.hero-nav button:focus-visible {
  outline: 2px solid var(--on-forest);
  outline-offset: 3px;
}

.hero-nav__play {
  display: none;
}

.hero-nav [data-slide-pause][aria-pressed="true"] .hero-nav__pause {
  display: none;
}

.hero-nav [data-slide-pause][aria-pressed="true"] .hero-nav__play {
  display: inline-flex;
}

.hero-slider:not([data-ready]) .hero-slider__controls,
.hero-slider.is-single .hero-slider__controls {
  display: none;
}

@media (max-width: 860px) {
  .hero-slide {
    --slide-media: clamp(190px, 32vh, 280px);
    display: block;
    min-height: 0;
    padding: 0 0 92px;
  }

  .hero-slide__img {
    position: relative;
    display: block;
    height: var(--slide-media);
    object-position: 70% center;
  }

  .hero-slide__scrim {
    bottom: auto;
    height: var(--slide-media);
    background: linear-gradient(180deg, rgba(9, 28, 20, 0.06), rgba(9, 28, 20, 0.48));
  }

  .hero-slide__body {
    padding-top: clamp(24px, 5vw, 36px);
  }

  .hero-slide__copy {
    max-width: none;
  }

  .hero-slide h1,
  .hero-slide h2 {
    max-width: 20ch;
  }
}

@media (max-width: 520px) {
  .hero-slide {
    padding-bottom: 88px;
  }

  .hero-slide__lede {
    margin-top: 16px;
    font-size: 0.98rem;
  }

  .hero-slide .hero-actions {
    margin-top: 24px;
  }

  .hero-nav button {
    width: 38px;
    height: 38px;
  }

  .hero-dot {
    width: 26px;
  }

  .hero-dot[aria-current="true"] {
    width: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide__copy > * {
    transition: none;
  }
}

/* 10. Trust strip ------------------------------------------------------- */
.trust {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.trust ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px clamp(12px, 2vw, 26px);
  font-size: 0.88rem;
  color: var(--ink-2);
  border-left: 1px solid var(--line);
}

.trust li:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust .icon {
  color: var(--forest-soft);
}

.trust strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9rem;
}

/* 11. Product cards ----------------------------------------------------- */
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 34px);
}

.pcard {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pcard__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  padding: 1.5%;
  border-radius: var(--r-card);
  background: var(--surface-2);
  overflow: hidden;
}

.pcard__media img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}

.pcard:hover .pcard__media img {
  transform: scale(1.035) rotate(-0.6deg);
}

.pcard__body {
  display: grid;
  gap: 7px;
  flex: 1;
  padding: 16px 2px 0;
}

.pcard__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--muted);
}

.pcard__badge {
  color: var(--accent-ink);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.pcard__body h3 {
  font-size: clamp(1.1rem, 1.3vw, 1.24rem);
  letter-spacing: -0.015em;
}

.pcard__body h3 a {
  transition: color 0.18s ease;
}

.pcard__body h3 a:hover {
  color: var(--forest-soft);
}

.pcard__tagline {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.price {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.price--lg {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

.price s {
  color: var(--muted);
  font-size: 0.86rem;
  margin-left: 8px;
  font-weight: 400;
}

.add-mini {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.15s var(--ease);
}

.add-mini:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--on-forest);
}

.add-mini:active {
  transform: scale(0.94);
}

.add-mini[aria-busy="true"] {
  opacity: 0.6;
}

.sold-out .pcard__media {
  opacity: 0.6;
}

/* 12. Feature / bento -------------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  height: clamp(460px, 40vw, 540px);
}

.bento__cell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.bento__cell h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.bento__cell p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 34ch;
}

.bento__cell--feature {
  grid-row: span 2;
  justify-content: space-between;
  background: linear-gradient(165deg, var(--forest-soft), var(--forest) 60%, var(--forest-deep));
  border-color: transparent;
  color: var(--on-forest);
  min-height: 0;
}

.bento__cell--feature p {
  color: var(--on-forest-muted);
}

.bento__cell--feature img {
  align-self: center;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 300px;
  object-fit: contain;
  margin-top: 14px;
  filter: drop-shadow(0 24px 30px rgba(8, 18, 14, 0.4));
}

.bento__cell--tint {
  background: var(--accent-soft);
  border-color: transparent;
}

.bento__cell--tint p {
  color: var(--accent-ink);
}

.bento__stat {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.bento__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  margin-bottom: auto;
}

/* 13. Spotlight band --------------------------------------------------- */
.band {
  background: var(--forest-deep);
  color: var(--on-forest);
  overflow: hidden;
}

.band-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.band h2 {
  color: var(--on-forest);
}

.band p {
  color: var(--on-forest-muted);
}

.band .lede {
  color: var(--on-forest-muted);
}

.band-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
}

.band-art::before {
  content: "";
  position: absolute;
  width: min(78%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 118, 28, 0.3), transparent 68%);
  filter: blur(6px);
}

.band-art img {
  position: relative;
  width: min(64%, 320px);
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
}

.band .btn--primary {
  background: var(--on-forest);
  color: var(--forest-deep);
}

.band .btn--primary:hover {
  background: #ffffff;
}

.band .btn--ghost {
  border-color: rgba(246, 242, 229, 0.34);
  color: var(--on-forest);
}

.band .btn--ghost:hover {
  background: rgba(246, 242, 229, 0.1);
  border-color: rgba(246, 242, 229, 0.6);
}

/* 14. Process list ----------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.process li {
  padding: clamp(22px, 3vw, 34px) clamp(16px, 2.4vw, 30px) 0 0;
  border-right: 1px solid var(--line);
}

.process li:last-child {
  border-right: 0;
}

.process li + li {
  padding-left: clamp(16px, 2.4vw, 30px);
}

.process__index {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--accent-ink);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.process h3 {
  margin-top: 10px;
  font-size: 1.3rem;
}

.process p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 32ch;
}

/* 15. Quotes ----------------------------------------------------------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}

.quote {
  display: grid;
  gap: 18px;
  align-content: start;
}

.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: pretty;
}

.quote__who {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--muted);
}

.quote__who strong {
  color: var(--ink);
  font-weight: 600;
}

.quote__avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink-2);
  font-family: var(--font-display);
  font-size: 0.9rem;
  flex: none;
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--accent);
}

.stars .icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke: none;
}

/* 16. Accordion / FAQ -------------------------------------------------- */
.accordion {
  display: grid;
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary .icon {
  color: var(--muted);
  transition: transform 0.25s var(--ease);
}

.accordion details[open] summary .icon {
  transform: rotate(45deg);
}

.accordion details > div {
  padding-bottom: 22px;
  color: var(--muted);
  max-width: 68ch;
  line-height: 1.65;
}

/* 17. CTA + newsletter ------------------------------------------------- */
.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4.4vw, 56px);
  border-radius: 28px;
  background: var(--forest);
  color: var(--on-forest);
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 118, 28, 0.35), transparent 65%);
  pointer-events: none;
}

.cta h2 {
  color: var(--on-forest);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.cta p {
  color: var(--on-forest-muted);
  margin-top: 12px;
  max-width: 44ch;
}

.cta .btn--primary {
  background: var(--on-forest);
  color: var(--forest-deep);
}

.cta .btn--primary:hover {
  background: #ffffff;
}

.cta .btn--ghost {
  border-color: rgba(246, 242, 229, 0.34);
  color: var(--on-forest);
}

.cta .btn--ghost:hover {
  background: rgba(246, 242, 229, 0.1);
  border-color: rgba(246, 242, 229, 0.6);
}

.newsletter {
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.newsletter__row {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: var(--r-pill);
  background: rgba(246, 242, 229, 0.1);
  border: 1px solid rgba(246, 242, 229, 0.24);
}

.newsletter input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--on-forest);
  font-size: 0.92rem;
}

.newsletter input::placeholder {
  color: rgba(246, 242, 229, 0.6);
}

.newsletter input:focus {
  outline: none;
}

.newsletter__row:focus-within {
  border-color: rgba(246, 242, 229, 0.55);
}

.newsletter .btn {
  background: var(--on-forest);
  color: var(--forest-deep);
}

.newsletter small {
  color: var(--on-forest-muted);
}

/* 18. Footer ----------------------------------------------------------- */
.site-footer {
  margin-top: clamp(40px, 6vw, 80px);
  background: var(--forest-deep);
  color: var(--on-forest);
  padding-block: clamp(44px, 6vw, 72px) 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr;
  gap: clamp(24px, 4vw, 48px);
}

.site-footer .brand__mark {
  background: var(--on-forest);
  color: var(--forest-deep);
}

.site-footer .brand__text small {
  color: var(--on-forest-muted);
}

.footer-blurb {
  margin-top: 16px;
  color: var(--on-forest-muted);
  font-size: 0.9rem;
  max-width: 34ch;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-forest-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
  font-size: 0.91rem;
}

.footer-col a {
  color: var(--on-forest);
  opacity: 0.86;
  transition: opacity 0.18s ease;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-contact {
  display: grid;
  gap: 10px;
  font-size: 0.91rem;
  color: var(--on-forest-muted);
}

.footer-contact a {
  color: var(--on-forest);
}

.footer-support {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.footer-support a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(246, 242, 229, 0.26);
  border-radius: var(--r-pill);
  color: var(--on-forest);
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 1;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.footer-support a:hover {
  background: rgba(246, 242, 229, 0.1);
  border-color: rgba(246, 242, 229, 0.45);
  text-decoration: none;
}

.footer-support .icon {
  color: var(--on-forest);
}

.footer-track {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 9px 14px;
  border: 1px solid rgba(246, 242, 229, 0.32);
  border-radius: var(--r-pill);
  color: var(--on-forest);
  font-size: 0.82rem;
  font-weight: 500;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.footer-track:hover {
  background: rgba(246, 242, 229, 0.1);
  border-color: rgba(246, 242, 229, 0.5);
  text-decoration: none;
}

.footer-track .icon {
  color: var(--on-forest);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid rgba(246, 242, 229, 0.20);
  font-size: 0.82rem;
  color: var(--on-forest-muted);
}

.footer-bottom nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

body:has(.wa-float) .footer-bottom {
  padding-right: 190px;
}

/* 19. Page header (shop, about, contact) ------------------------------- */
.page-head {
  padding-block: clamp(32px, 5vw, 60px) clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  max-width: 22ch;
}

.page-head .lede {
  margin-top: 16px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.crumbs a:hover {
  color: var(--ink);
}

.crumbs .sep {
  opacity: 0.5;
}

.crumbs span[aria-current] {
  color: var(--ink-2);
}

/* 20. Shop toolbar ----------------------------------------------------- */
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(22px, 3vw, 34px);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  font-size: 0.86rem;
  color: var(--ink-2);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.chip:hover {
  border-color: var(--ink-2);
  color: var(--ink);
}

.chip[aria-current="true"] {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--on-forest);
}

.toolbar-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.toolbar-tools .search-field input,
.toolbar-tools select {
  min-height: 40px;
  height: 40px;
  font-size: 0.88rem;
  padding-block: 6px;
}

.toolbar-tools .search-field input {
  width: min(240px, 46vw);
  padding-left: 42px;
}

.toolbar-tools select {
  width: auto;
  padding-right: 40px;
  background-position: calc(100% - 18px) 18px, calc(100% - 12px) 18px;
}

.result-count {
  font-size: 0.85rem;
  color: var(--muted);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(32px, 5vw, 52px);
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-2);
}

.pagination a:hover {
  border-color: var(--ink-2);
  color: var(--ink);
}

.pagination [aria-current="page"] {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--on-forest);
}

/* 21. Product detail --------------------------------------------------- */
.product {
  display: grid;
  /* minmax(0, ...) keeps a large product photo from widening its track. */
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(26px, 4.5vw, 72px);
  padding-block: clamp(28px, 4vw, 52px);
  align-items: start;
}

.product > * {
  min-width: 0;
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.gallery__main {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: 3%;
  overflow: hidden;
  border-radius: 26px;
  background: var(--surface-2);
}

/* A tall portrait photo must not stretch the square frame: without the
   min-size override the grid item keeps its intrinsic height and pushes the
   whole two-column layout down. */
.gallery__main img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}

.gallery__thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery__thumbs button {
  width: 76px;
  height: 76px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.18s ease;
}

.gallery__thumbs button:hover,
.gallery__thumbs button[aria-pressed="true"] {
  border-color: var(--forest-soft);
}

.gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info {
  min-width: 0;
}

.product-info h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.product-info .tagline {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 1.02rem;
  max-width: 44ch;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 22px;
}

.product-price s {
  color: var(--muted);
  font-size: 1rem;
}

.product-price .save {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}

.product-form {
  margin-top: 26px;
  display: grid;
  gap: 18px;
}

.buy-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.buy-row .btn {
  flex: 1;
  min-width: 180px;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  height: 48px;
  padding: 3px;
  background: var(--surface);
}

.qty__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease;
}

.qty__btn:hover {
  background: var(--surface-2);
}

.qty__input {
  width: 42px;
  height: 40px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}

.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stock-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--muted);
}

.stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  flex: none;
}

.stock-dot.is-low {
  background: var(--warn);
}

.stock-dot.is-out {
  background: var(--bad);
}

.product-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: var(--surface-2);
}

.product-support__copy {
  display: grid;
  gap: 3px;
}

.product-support__copy strong {
  font-size: 0.9rem;
  font-weight: 500;
}

.product-support__copy small {
  color: var(--muted);
  font-size: 0.78rem;
}

.product-support__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-notes {
  margin-top: 26px;
  display: grid;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

.product-notes li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.product-notes .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--forest-soft);
}

.prose {
  display: grid;
  gap: 14px;
  color: var(--ink-2);
  line-height: 1.7;
}

.prose p {
  max-width: 68ch;
}

.product-details {
  padding-block: clamp(18px, 3vw, 28px) clamp(36px, 5vw, 60px);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.spec {
  padding: 18px 20px;
  border-radius: var(--r-card);
  background: var(--surface);
  border: 1px solid var(--line);
}

.spec dt {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.spec dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* 22. Cart + checkout -------------------------------------------------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding-block: clamp(26px, 4vw, 48px);
}

.cart-lines {
  display: grid;
}

.cart-line {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  align-items: center;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-line:first-child {
  border-top: 1px solid var(--line);
}

.cart-line__media {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  padding: 8px;
  border-radius: 14px;
  background: var(--surface-2);
}

.cart-line__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-line__info {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.cart-line__info h3 {
  font-size: 1.02rem;
}

.cart-line__info h3 a:hover {
  color: var(--forest-soft);
}

.cart-line__meta {
  font-size: 0.82rem;
  color: var(--muted);
}

.cart-line__controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.link-danger {
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-danger:hover {
  color: var(--bad);
}

.cart-line__price {
  text-align: right;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 1.02rem;
}

.summary {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 16px;
  padding: clamp(20px, 2.6vw, 28px);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
}

.summary h2,
.summary h3 {
  font-size: 1.2rem;
}

.summary__rows {
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}

.summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-2);
}

.summary__row span:last-child {
  font-variant-numeric: tabular-nums;
}

.summary__row--discount {
  color: var(--ok);
}

.summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.summary__total strong {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.coupon-form {
  display: flex;
  gap: 8px;
}

.coupon-form input {
  min-height: 42px;
  flex: 1;
  min-width: 0;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--bg);
  font-size: 0.88rem;
  text-transform: uppercase;
}

.ship-note {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  font-size: 0.82rem;
  color: var(--ink-2);
}

.ship-meter {
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}

.ship-meter span {
  display: block;
  height: 100%;
  background: var(--forest-soft);
  border-radius: 4px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  padding-block: clamp(26px, 4vw, 48px);
}

.checkout-block {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
}

.checkout-block + .checkout-block {
  margin-top: 18px;
}

.checkout-block h2 {
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-block h2 .step-dot {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--on-forest);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
}

.checkout-summary {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: clamp(20px, 2.6vw, 28px);
  border-radius: var(--r-card);
  background: var(--forest);
  color: var(--on-forest);
  display: grid;
  gap: 14px;
}

.checkout-summary h2 {
  font-size: 1.1rem;
  color: var(--on-forest);
}

.checkout-summary .summary__row {
  color: var(--on-forest-muted);
  font-size: 0.88rem;
}

.checkout-summary .summary__row span:last-child,
.checkout-summary .summary__total {
  color: var(--on-forest);
}

.checkout-summary .summary__total {
  border-top-color: rgba(246, 242, 229, 0.22);
}

.checkout-lines {
  display: grid;
  gap: 12px;
  max-height: 280px;
  overflow: auto;
  padding-right: 4px;
}

.checkout-line {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.86rem;
}

.checkout-line__media {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(246, 242, 229, 0.12);
  flex: none;
  padding: 4px;
}

.checkout-line__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.checkout-line__qty {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #1b1206;
  font-size: 0.66rem;
  font-weight: 700;
}

.checkout-line__body {
  flex: 1;
  min-width: 0;
}

.checkout-line__body strong {
  display: block;
  font-weight: 500;
  color: var(--on-forest);
}

.checkout-line__body span {
  color: var(--on-forest-muted);
  font-size: 0.78rem;
}

.checkout-party {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--ink-2);
  display: grid;
  gap: 6px;
}

/* 23. Confirmation ----------------------------------------------------- */
.confirm {
  max-width: 780px;
  margin-inline: auto;
  padding-block: clamp(36px, 6vw, 72px);
  text-align: center;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.confirm__mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
}

.confirm__mark .icon {
  width: 30px;
  height: 30px;
}

.confirm h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.confirm .order-no {
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  border: 1px dashed var(--line-strong);
  letter-spacing: 0.04em;
}

.confirm-card {
  width: 100%;
  margin-top: 10px;
  text-align: left;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  gap: 14px;
}

.confirm-card .summary__row {
  font-size: 0.9rem;
}

.confirm-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* 24. About + contact -------------------------------------------------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
}

.story--offset {
  padding-top: clamp(0px, 3vw, 32px);
}

.story h2 {
  max-width: 18ch;
}

.story .prose {
  margin-top: 18px;
}

.story-art {
  display: grid;
  place-items: center;
  min-height: 360px;
  border-radius: 26px;
  background:
    radial-gradient(100% 90% at 80% 0%, rgba(192, 118, 28, 0.22), transparent 60%),
    var(--forest);
  padding: clamp(20px, 3vw, 40px);
}

.story-art img {
  width: min(78%, 360px);
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.4));
}

.values {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.value {
  display: grid;
  grid-template-columns: 0.5fr 1fr 1.1fr;
  gap: clamp(16px, 3vw, 40px);
  padding-block: clamp(20px, 3vw, 30px);
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.value h3 {
  font-size: 1.15rem;
}

.value p {
  color: var(--muted);
  font-size: 0.93rem;
  max-width: 52ch;
}

.value__index {
  font-family: var(--font-display);
  color: var(--accent-ink);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(28px, 4vw, 52px);
}

.contact-card {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.contact-list .icon {
  color: var(--forest-soft);
  margin-top: 2px;
}

.contact-list strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
}

/* 25. Order tracking ---------------------------------------------------- */
.track-wrap {
  max-width: 860px;
  padding-block: clamp(28px, 4vw, 52px) clamp(40px, 6vw, 72px);
}

.track-lookup {
  gap: 20px;
}

.track-lookup__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.track-lookup__mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.track-lookup__head h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
}

.track-lookup__head p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.track-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.track-form .field {
  margin: 0;
}

.track-form .btn {
  min-height: 48px;
}

.track-example {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.track-example strong {
  color: var(--ink-2);
  font-weight: 500;
}

.track-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.track-help p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.track-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.track-help--lookup {
  padding-top: 20px;
}

.track-result {
  gap: 24px;
}

.track-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.track-head .kicker {
  margin-bottom: 8px;
}

.track-number {
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.01em;
}

.track-head .muted {
  margin-top: 6px;
  font-size: 0.88rem;
}

.track-timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.track-step {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 22px;
}

.track-step:last-child {
  padding-bottom: 0;
}

.track-step::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.track-step:last-child::before {
  display: none;
}

.track-step__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--on-forest);
}

.track-step.is-done .track-step__dot {
  background: var(--forest);
  border-color: var(--forest);
}

.track-step.is-done::before {
  background: var(--forest);
}

.track-step.is-current .track-step__dot {
  border-color: var(--forest);
  background: var(--accent-soft);
  box-shadow: 0 0 0 5px rgba(192, 118, 28, 0.12);
}

.track-step__copy {
  display: grid;
  gap: 3px;
  padding-top: 3px;
}

.track-step__copy strong {
  font-size: 0.95rem;
  font-weight: 500;
}

.track-step__copy span {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.track-step:not(.is-done):not(.is-current) .track-step__copy {
  opacity: 0.62;
}

.track-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.track-facts div {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: var(--surface-2);
}

.track-facts span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.track-facts strong {
  font-size: 0.95rem;
  font-weight: 500;
}

.track-items-block {
  display: grid;
  gap: 12px;
}

.track-items-block h3 {
  font-size: 1rem;
}

.track-items {
  display: grid;
  gap: 10px;
}

.track-items li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.track-items li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.track-items small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.track-privacy {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.track-again {
  display: flex;
}

.track-again .btn {
  gap: 6px;
}

/* 26. Admin shell ------------------------------------------------------ */
.admin-body {
  background: var(--bg);
}

.admin-shell {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  min-height: 100dvh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px 16px;
  background: var(--sidebar-bg);
  color: var(--sidebar-ink);
  overflow-y: auto;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 8px 18px;
  border-bottom: 1px solid var(--sidebar-line);
}

.admin-brand .brand__mark {
  background: var(--sidebar-ink);
  color: var(--sidebar-bg);
}

.admin-brand--logo {
  justify-content: center;
  text-align: center;
}

.admin-brand .brand__logo {
  height: var(--logo-h, 40px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.logo-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: var(--surface-2);
}

.logo-preview img {
  height: var(--logo-h, 44px);
  width: auto;
  max-width: min(100%, calc(var(--logo-h, 44px) * 4.3));
  object-fit: contain;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--surface);
}

.logo-preview .check {
  margin: 0;
}

.logo-size-control {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-size-control input[type="range"] {
  flex: 1;
  min-width: 0;
  accent-color: var(--forest);
}

.logo-size-control output {
  min-width: 48px;
  color: var(--muted);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.favicon-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
  font-size: 0.85rem;
  color: var(--muted);
}

.favicon-preview {
  width: 48px;
  height: 48px;
  flex: none;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  object-fit: contain;
}

.admin-brand strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
}

.admin-brand small {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sidebar-muted);
}

.admin-nav {
  display: grid;
  gap: 3px;
}

.admin-nav__label {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sidebar-muted);
  padding: 14px 14px 6px;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--sidebar-ink);
  opacity: 0.82;
  transition: background 0.16s ease, opacity 0.16s ease;
}

.admin-nav a .icon {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}

.admin-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

.admin-nav a[aria-current="page"] {
  background: var(--sidebar-ink);
  color: var(--sidebar-bg);
  opacity: 1;
  font-weight: 500;
}

.admin-nav .count {
  margin-left: auto;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.16);
}

.admin-nav a[aria-current="page"] .count {
  background: rgba(0, 0, 0, 0.14);
}

.admin-sidebar__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--sidebar-line);
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--sidebar-muted);
}

.admin-sidebar__foot a {
  color: var(--sidebar-ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
}

.admin-sidebar__foot a:hover {
  opacity: 1;
}

.admin-scrim {
  display: none;
}

.admin-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(18px, 3vw, 34px);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.admin-topbar h1 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.admin-topbar small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
  font-family: var(--font-body);
  letter-spacing: 0;
}

.admin-content {
  padding: clamp(18px, 3vw, 34px);
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
  align-content: start;
  min-width: 0;
}

.admin-content > *,
.dash-grid > *,
.form-split > * {
  min-width: 0;
}

.admin-menu-toggle {
  display: none;
}

/* 27. Admin cards, stats, tables -------------------------------------- */
.panel {
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  min-width: 0;
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.panel__head h2 {
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.panel__head p {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 3px;
}

.panel__body {
  padding: clamp(16px, 2.4vw, 22px);
}

.panel__foot {
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
}

.stat {
  padding: 18px 20px;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  gap: 8px;
}

.stat__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.78rem;
}

.stat__label .icon {
  width: 17px;
  height: 17px;
  color: var(--ink-2);
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat__foot {
  font-size: 0.78rem;
  color: var(--muted);
}

.stat--accent {
  background: var(--forest);
  border-color: transparent;
  color: var(--on-forest);
}

.stat--accent .stat__label,
.stat--accent .stat__foot {
  color: var(--on-forest-muted);
}

.stat--accent .stat__label .icon {
  color: var(--on-forest);
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(16px, 2.4vw, 24px);
  align-items: start;
}

/* Dashboard: period switch, KPI tiles and data visuals. */
.dash-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
}

.range-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
}

.range-switch__label {
  padding: 0 10px 0 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.range-switch a {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 30px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  transition: background 0.16s ease, color 0.16s ease;
}

.range-switch a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.range-switch a[aria-current="true"] {
  background: var(--ink);
  color: var(--bg);
}

.dash-toolbar__note {
  max-width: 64ch;
  font-size: 0.78rem;
  color: var(--muted);
}

.stat-grid--dash .stat {
  animation: dash-rise 0.55s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 55ms);
}

@keyframes dash-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.stat__figure {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.stat__figure .stat__value {
  min-width: 0;
  white-space: nowrap;
}

.stat__spark {
  width: 100%;
  height: 30px;
  color: var(--accent);
  opacity: 0.9;
  overflow: visible;
}

.stat--accent .stat__spark {
  color: var(--on-forest);
  opacity: 0.7;
}

.stat__foot {
  display: flex;
  align-items: center;
  gap: 6px 8px;
  flex-wrap: wrap;
}

.stat__note {
  color: var(--muted);
  font-size: 0.72rem;
}

.stat--accent .stat__note {
  color: var(--on-forest-muted);
}

.trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-2);
}

.trend .icon {
  width: 13px;
  height: 13px;
}

.trend--up {
  color: var(--ok);
}

.trend--down {
  color: var(--bad);
}

.trend--down .icon {
  transform: rotate(90deg);
}

.trend--flat {
  font-weight: 500;
  color: var(--muted);
}

.trend__context {
  font-size: 0.73rem;
  color: var(--muted);
}

.stat--accent .trend {
  color: #b9e3c6;
}

.stat--accent .trend--down {
  color: #f2c3b7;
}

.stat--accent .trend--flat,
.stat--accent .trend__context {
  color: var(--on-forest-muted);
}

.dash-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(292px, 0.85fr);
  gap: clamp(16px, 2.4vw, 24px);
  align-items: stretch;
}

.dash-grid--orders {
  grid-template-columns: minmax(0, 2.1fr) minmax(280px, 0.9fr);
}

.order-cards {
  display: none;
}

.chart-panel .panel__body {
  display: grid;
  gap: 16px;
}

.chart-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
}

.chart-summary strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.chart-summary__caption {
  display: block;
  margin-top: 4px;
  font-size: 0.77rem;
  color: var(--muted);
}

.chart-summary__delta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.78rem;
}

.chart-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.72rem;
  color: var(--muted);
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-line {
  display: inline-block;
  width: 18px;
  height: 0;
  border-top: 2px solid var(--accent);
}

.legend-line--prev {
  border-top-color: var(--line-strong);
  border-top-style: dashed;
}

.chart-scroll-hint {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--muted);
}

.chart-scroll-hint .icon {
  width: 14px;
  height: 14px;
}

.chart-frame {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}

.chart-svg {
  width: 100%;
  min-width: 620px;
  height: auto;
  overflow: visible;
}

.chart-grid line {
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}

.chart-grid text,
.chart-axis text {
  fill: var(--muted);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}

.chart-axis text {
  font-size: 10px;
}

.chart-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-line--now {
  stroke: var(--accent);
  stroke-width: 2.4;
}

.chart-line--prev {
  stroke: var(--line-strong);
  stroke-width: 1.5;
  stroke-dasharray: 5 6;
  opacity: 0.9;
}

.chart-point__dot {
  fill: var(--accent);
  stroke: var(--surface);
  stroke-width: 2;
  opacity: 0;
  transition: opacity 0.16s ease;
}

.chart-point:hover .chart-point__dot,
.chart-point:last-child .chart-point__dot {
  opacity: 1;
}

.chart-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.8rem;
}

.chart-note .icon {
  flex: none;
  width: 17px;
  height: 17px;
}

.pipeline-panel {
  --pipe-pending: #b46d18;
  --pipe-confirmed: #2f6c4e;
  --pipe-packed: #5f9375;
  --pipe-shipped: #9aa89e;
}

@media (prefers-color-scheme: dark) {
  .pipeline-panel {
    --pipe-pending: #dc9c47;
    --pipe-confirmed: #4f9271;
    --pipe-packed: #7fc39b;
    --pipe-shipped: #a9b9ae;
  }
}

.pipeline-panel .panel__body {
  display: grid;
  gap: 14px;
}

.chart-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.chart-insights > div {
  padding: 0 16px;
  border-left: 1px solid var(--line);
  min-width: 0;
}

.chart-insights > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.chart-insights > div:last-child {
  padding-right: 0;
}

.chart-insights dt {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.chart-insights dd {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chart-insights small {
  display: block;
  margin-top: 1px;
  font-size: 0.7rem;
  color: var(--muted);
}

.donut {
  position: relative;
  width: min(204px, 72%);
  margin: 2px auto 4px;
  aspect-ratio: 1;
}

.donut svg {
  width: 100%;
  height: 100%;
}

.donut__track {
  stroke: var(--surface-2);
}

.donut__segment {
  transition: opacity 0.16s ease;
}

.donut__segment:hover {
  opacity: 0.78;
}

.donut__center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.donut__center strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.donut__center span {
  margin-top: 5px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pipeline__legend {
  display: grid;
}

.pipeline__legend li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto 38px;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

.pipeline__legend li:last-child {
  border-bottom: 0;
}

.pipeline__legend a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pipeline__legend b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.pipeline__legend li > span:last-child {
  text-align: right;
  font-size: 0.73rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot, var(--muted));
}

.pipeline__foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 0.73rem;
  color: var(--muted);
}

.empty--dash {
  gap: 10px;
  padding: 22px 16px;
  border-style: dashed;
  background: transparent;
}

.empty--dash .icon {
  width: 26px;
  height: 26px;
}

.empty--dash h3 {
  font-size: 1.1rem;
}

.empty--dash p {
  font-size: 0.83rem;
}

.seller-list {
  display: grid;
}

.seller {
  display: grid;
  grid-template-columns: 20px 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.seller:first-child {
  padding-top: 0;
}

.seller:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.seller__rank {
  font-size: 0.7rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.seller__thumb {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--surface-2);
  padding: 5px;
}

.seller__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.seller__main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.seller__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.seller__name {
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller__name:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seller__revenue {
  flex: none;
  font-size: 0.8rem;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.seller__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.seller__bar {
  display: block;
  height: 5px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  overflow: hidden;
}

.seller__bar span {
  display: block;
  width: var(--bar, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--forest-soft), var(--ok));
}

.seller__qty {
  font-size: 0.71rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.attention {
  display: grid;
}

.attention li + li {
  border-top: 1px solid var(--line);
}

.attention__item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto 16px;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.attention li:first-child .attention__item {
  padding-top: 0;
}

.attention li:last-child .attention__item {
  padding-bottom: 0;
}

.attention__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--ink-2);
  transition: background 0.16s ease, color 0.16s ease;
}

.attention__icon .icon {
  width: 17px;
  height: 17px;
}

.attention__item:hover .attention__icon {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.attention__label {
  font-size: 0.85rem;
  color: var(--ink-2);
}

.attention__count {
  display: grid;
  place-items: center;
  min-width: 27px;
  height: 23px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  background: var(--warn-soft);
  color: var(--warn);
  font-size: 0.72rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.attention__count.is-clear {
  background: var(--surface-2);
  color: var(--muted);
}

.attention__item > .icon:last-child {
  width: 15px;
  height: 15px;
  color: var(--muted);
}

.attention__foot {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
}

.inventory {
  display: grid;
}

.inventory li + li {
  border-top: 1px solid var(--line);
}

.inventory__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
}

.inventory li:first-child .inventory__item {
  padding-top: 0;
}

.inventory li:last-child .inventory__item {
  padding-bottom: 0;
}

.inventory__thumb {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: var(--surface-2);
  padding: 4px;
}

.inventory__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.inventory__main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.inventory__name {
  overflow: hidden;
  font-size: 0.85rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inventory__meta {
  font-size: 0.7rem;
  color: var(--muted);
}

.inventory__bar {
  display: block;
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  overflow: hidden;
}

.inventory__bar span {
  display: block;
  width: var(--stock, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--bad), var(--warn));
}

.inventory__foot {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .stat-grid--dash .stat {
    animation: none;
  }
}

.table-wrap {
  overflow-x: auto;
}

table.data {
  width: 100%;
  min-width: 620px;
  font-size: 0.88rem;
}

table.data th {
  text-align: left;
  padding: 10px 16px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

table.data td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

table.data tbody tr:last-child td {
  border-bottom: 0;
}

table.data tbody tr:hover {
  background: color-mix(in srgb, var(--surface-2) 55%, transparent);
}

table.data .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

table.data .cell-product {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}

table.data .reviewer {
  min-width: 150px;
}

table.data .reviewer strong {
  white-space: nowrap;
}

.dash-grid--orders table.data {
  min-width: 690px;
}

.dash-grid--orders table.data th,
.dash-grid--orders table.data td {
  padding-inline: 12px;
}

.dash-grid--orders table.data td:first-child,
.dash-grid--orders table.data td:nth-child(3),
.dash-grid--orders table.data small {
  white-space: nowrap;
}

.thumb {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--surface-2);
  padding: 4px;
  flex: none;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumb--wide {
  width: 84px;
  height: 56px;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
}

.thumb--wide img {
  object-fit: cover;
  object-position: 82% center;
}

.cell-product strong {
  display: block;
  font-weight: 500;
}

.cell-product small {
  color: var(--muted);
  font-size: 0.76rem;
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}

.row-actions form {
  display: inline;
}

.icon-action[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}

.icon-action {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.icon-action:hover {
  background: var(--surface-2);
  border-color: var(--ink-2);
  color: var(--ink);
}

.icon-action.is-danger:hover {
  background: var(--bad-soft);
  color: var(--bad);
  border-color: transparent;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-toolbar .filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-toolbar .filters a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--ink-2);
}

.admin-toolbar .filters a:hover {
  border-color: var(--ink-2);
}

.admin-toolbar .filters a[aria-current="true"] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.admin-search {
  display: flex;
  gap: 8px;
}

.admin-search input {
  height: 38px;
  min-height: 38px;
  font-size: 0.86rem;
}

.admin-form {
  display: grid;
  gap: 18px;
}

.form-narrow {
  max-width: 760px;
}

.form-split {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: clamp(18px, 2.6vw, 28px);
  align-items: start;
}

.form-card {
  padding: clamp(18px, 2.6vw, 26px);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  gap: 18px;
}

.form-card h2 {
  font-size: 1rem;
}

.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.image-field {
  display: grid;
  gap: 14px;
}

.image-preview {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-input);
  background: var(--surface-2);
  border: 1px dashed var(--line-strong);
  overflow: hidden;
  padding: 10px;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-preview--wide {
  aspect-ratio: 16 / 9;
  padding: 0;
}

.image-preview--wide img {
  object-fit: cover;
}

.payment-rows {
  display: grid;
  gap: 12px;
}

.payment-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: var(--surface-2);
}

.payment-row__main {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.payment-row .field-row {
  margin: 0;
}

.payment-row .row {
  gap: 16px;
}

.admin-hint {
  margin-top: 14px;
  font-size: 0.84rem;
}

.file-input {
  font-size: 0.85rem;
}

.detail-list {
  display: grid;
  gap: 0;
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.detail-list div:last-child {
  border-bottom: 0;
}

.detail-list dt {
  color: var(--muted);
}

.detail-list dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.message-body {
  white-space: pre-line;
  line-height: 1.7;
  color: var(--ink-2);
  font-size: 0.93rem;
}

.unread-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* 28. Admin login + installer ----------------------------------------- */
.auth-page,
.setup-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(80% 60% at 80% 0%, rgba(192, 118, 28, 0.22), transparent 60%),
    linear-gradient(160deg, var(--forest), var(--forest-deep));
}

.auth-card,
.setup-card {
  width: min(460px, 100%);
  padding: clamp(26px, 4vw, 40px);
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 18px;
}

.auth-card h1,
.setup-card h1 {
  font-size: 1.8rem;
}

.auth-mark,
.setup-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--forest);
  color: var(--on-forest);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.auth-logo {
  height: var(--logo-h, 48px);
  width: auto;
  max-width: min(100%, calc(var(--logo-h, 48px) * 4.3));
  object-fit: contain;
}

.auth-lede,
.setup-lede {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.setup-card {
  width: min(560px, 100%);
}

.setup-list {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  list-style: decimal;
  color: var(--ink-2);
  font-size: 0.9rem;
}

.setup-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.setup-foot {
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.auth-foot {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* 29. Motion + reduced motion ----------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .pcard:hover .pcard__media img {
    transform: none;
  }
}

/* 30. Responsive ------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

  .footer-grid .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dash-grid,
  .dash-grid--orders,
  .dash-overview,
  .form-split {
    grid-template-columns: 1fr;
  }

  .pipeline-panel .panel__body {
    grid-template-columns: 204px minmax(0, 1fr);
    align-items: center;
  }

  .pipeline__foot {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .band-grid,
  .product,
  .story,
  .contact-grid,
  .cart-layout,
  .checkout-layout,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 320px;
    order: -1;
  }

  .hero h1 {
    max-width: 20ch;
  }

  .gallery {
    position: static;
  }

  .product-info {
    margin-top: 4px;
  }

  .summary,
  .checkout-summary {
    position: static;
  }

  .band-art {
    order: -1;
    min-height: 260px;
  }

  .process {
    grid-template-columns: 1fr;
    border-top: 1px solid var(--line);
  }

  .process li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px 0 !important;
  }

  .process li:last-child {
    border-bottom: 0;
  }

  .quotes {
    grid-template-columns: 1fr;
  }

  .quote + .quote {
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }

  .value {
    grid-template-columns: 1fr 2fr;
  }

  .value p {
    grid-column: 2;
  }
}

@media (max-width: 860px) {
  .pgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 24px);
  }

  .brand__logo {
    max-width: min(48vw, 200px);
  }

  .wa-float {
    width: 56px;
    padding: 0;
    justify-content: center;
  }

  .wa-float__label {
    display: none;
  }

  body:has(.wa-float) .footer-bottom {
    padding-right: 0;
    padding-bottom: 64px;
  }

  .track-form {
    grid-template-columns: 1fr;
  }

  .track-form .btn {
    width: 100%;
  }

  .track-facts {
    grid-template-columns: 1fr;
  }

  .track-help {
    align-items: flex-start;
  }

  .product-support__links {
    width: 100%;
  }

  .product-support__links .support-link {
    flex: 1;
    justify-content: center;
  }

  .menu-toggle {
    display: grid;
  }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: 10px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }

  body.nav-open .primary-nav {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .primary-nav a {
    display: block;
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .primary-nav a::after {
    display: none;
  }

  .header-actions .cart-btn span.cart-label {
    display: none;
  }

  .cart-btn {
    padding: 0 12px;
  }

  .trust ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust li:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .trust li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }

  .bento__cell {
    min-height: 220px;
  }

  .bento__cell--feature {
    grid-row: auto;
    min-height: 400px;
  }

  .bento__cell--feature img {
    flex: none;
    height: 240px;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: fixed;
    z-index: 60;
    inset: 0 auto 0 0;
    width: min(280px, 84vw);
    transform: translateX(-102%);
    transition: transform 0.28s var(--ease);
    box-shadow: var(--shadow-lg);
  }

  body.admin-nav-open .admin-sidebar {
    transform: none;
  }

  .admin-menu-toggle {
    display: grid;
  }

  .admin-scrim {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(6, 14, 11, 0.5);
    backdrop-filter: blur(2px);
  }

  body.admin-nav-open .admin-scrim {
    display: block;
  }
}

@media (max-width: 720px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid .footer-col:first-child {
    grid-column: 1 / -1;
  }

  .footer-grid .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .cart-line {
    grid-template-columns: 76px 1fr;
    row-gap: 10px;
  }

  .cart-line__media {
    width: 76px;
    height: 76px;
  }

  .cart-line__price {
    grid-column: 2;
    justify-self: end;
    margin-top: -34px;
  }

  .newsletter__row {
    flex-direction: column;
    border-radius: var(--r-card);
    padding: 10px;
  }

  .newsletter .btn {
    width: 100%;
  }

  .shop-toolbar {
    align-items: stretch;
  }

  .toolbar-tools {
    width: 100%;
  }

  .toolbar-tools .search-field {
    flex: 1;
  }

  .toolbar-tools .search-field input {
    width: 100%;
  }

  .value {
    grid-template-columns: 1fr;
  }

  .value p {
    grid-column: 1;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-panel .panel__body {
    grid-template-columns: 1fr;
  }

  .pipeline__foot {
    grid-column: auto;
  }

  .chart-summary__delta {
    justify-content: flex-start;
  }

  .chart-scroll-hint {
    display: flex;
  }

  .recent-orders-table {
    display: none;
  }

  .order-cards {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .order-card {
    display: grid;
    gap: 7px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
  }

  .order-card:last-child {
    border-bottom: 0;
  }

  .order-card__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
  }

  .order-card__row a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .order-card__total {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }

  .order-card__customer {
    display: flex;
    align-items: baseline;
    gap: 7px;
    overflow: hidden;
    color: var(--ink-2);
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .order-card__customer small {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.73rem;
    text-overflow: ellipsis;
  }

  .order-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .order-card__date {
    color: var(--muted);
    font-size: 0.73rem;
  }

  .confirm-actions .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .hero-art__caption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    font-size: 0.76rem;
    padding: 10px 12px;
  }

  .btn {
    padding: 0 18px;
  }

  .hero-actions .btn,
  .buy-row .btn {
    flex: 1;
  }

  .hero-actions {
    gap: 8px;
  }

  .brand__text small {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
  }

  .pcard__body h3 {
    font-size: 0.97rem;
  }

  .pcard__tagline {
    display: none;
  }

  .add-mini {
    width: 38px;
    height: 38px;
  }

  .price-row {
    align-items: center;
    gap: 8px;
  }

  .price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.98rem;
    line-height: 1.35;
  }

  .price s {
    margin-left: 0;
    font-size: 0.78rem;
  }

  .dash-toolbar {
    align-items: flex-start;
  }

  .range-switch {
    width: 100%;
    justify-content: space-between;
  }

  .range-switch a {
    flex: 1;
  }

  .chart-insights {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .chart-insights > div {
    padding: 0;
    border-left: 0;
  }

  .seller {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
  }

  .seller__rank {
    display: none;
  }

  .seller__thumb {
    width: 44px;
    height: 44px;
  }

  .attention__item {
    grid-template-columns: 32px minmax(0, 1fr) auto 14px;
    gap: 8px;
  }

  .attention__icon {
    width: 32px;
    height: 32px;
  }
}

/* 31. Print ------------------------------------------------------------ */
@media print {
  .site-header,
  .announce,
  .site-footer,
  .admin-sidebar,
  .admin-topbar,
  .btn,
  .wa-float,
  .toast-stack {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }
}
