*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  /* ─────── Noto Sans Thai (self-hosted, full weight set) ─────── */
  @font-face { font-family: 'Noto Sans Thai'; font-weight: 100; font-style: normal; font-display: swap; src: url('assets/fonts/NotoSansThai-Thin.ttf') format('truetype'); }
  @font-face { font-family: 'Noto Sans Thai'; font-weight: 200; font-style: normal; font-display: swap; src: url('assets/fonts/NotoSansThai-ExtraLight.ttf') format('truetype'); }
  @font-face { font-family: 'Noto Sans Thai'; font-weight: 300; font-style: normal; font-display: swap; src: url('assets/fonts/NotoSansThai-Light.ttf') format('truetype'); }
  @font-face { font-family: 'Noto Sans Thai'; font-weight: 400; font-style: normal; font-display: swap; src: url('assets/fonts/NotoSansThai-Regular.ttf') format('truetype'); }
  @font-face { font-family: 'Noto Sans Thai'; font-weight: 500; font-style: normal; font-display: swap; src: url('assets/fonts/NotoSansThai-Medium.ttf') format('truetype'); }
  @font-face { font-family: 'Noto Sans Thai'; font-weight: 600; font-style: normal; font-display: swap; src: url('assets/fonts/NotoSansThai-SemiBold.ttf') format('truetype'); }
  @font-face { font-family: 'Noto Sans Thai'; font-weight: 700; font-style: normal; font-display: swap; src: url('assets/fonts/NotoSansThai-Bold.ttf') format('truetype'); }
  @font-face { font-family: 'Noto Sans Thai'; font-weight: 800; font-style: normal; font-display: swap; src: url('assets/fonts/NotoSansThai-ExtraBold.ttf') format('truetype'); }
  @font-face { font-family: 'Noto Sans Thai'; font-weight: 900; font-style: normal; font-display: swap; src: url('assets/fonts/NotoSansThai-Black.ttf') format('truetype'); }

  :root {
    --sage-50:  #F5F6F0;
    --sage-100: #E6E9D8;
    --sage-200: #CDD3B2;
    --sage-300: #AEBA8A;
    --sage-400: #8A9B6E;
    --sage-500: #5C6845;
    --sage-600: #4A5537;
    --sage-700: #38412A;
    --sage-800: #252B1C;
    --sand:     #E0D698;
    --sand-soft:#EDE6BA;
    --cream:    #FAF7EE;
    --chalk:    #FFFDF8;
    --ink:      #2C2A24;
    --mist:     #7A7560;
    --mist-soft:#A8A28C;
    --border:   #E8E4D8;
    --border-soft:#F0EDE2;

    --shadow-sm: 0 1px 2px rgba(44,42,36,.04);
    --shadow-md: 0 6px 24px -8px rgba(44,42,36,.10), 0 2px 6px -2px rgba(44,42,36,.05);
    --shadow-lg: 0 24px 60px -20px rgba(44,42,36,.18), 0 8px 20px -8px rgba(44,42,36,.08);
  }

  html { scroll-behavior: smooth; }
  body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background: var(--cream);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-feature-settings: "ss01", "cv11";
    overflow-x: hidden;
  }
  h1,h2,h3,h4 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; }
  em.serif { font-style: italic; font-family: 'DM Serif Display', serif; }

  .mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

  /* tiny utility resets for buttons used inline */
  button { font-family: inherit; cursor: pointer; }

  /* selection */
  ::selection { background: var(--sage-100); color: var(--sage-700); }

  /* scrollbar */
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: var(--sage-200); border-radius: 8px; border: 2px solid var(--cream); }
  ::-webkit-scrollbar-thumb:hover { background: var(--sage-300); }

  /* ───────── Navbar ───────── */
  .nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 80;
    transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
    border-bottom: 1px solid transparent;
  }
  .nav.scrolled, .nav.menu-open {
    background: rgba(255,253,248,.97);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-color: var(--border);
  }
  .nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 28px;
    height: 68px; display: flex; align-items: center; justify-content: space-between;
  }
  .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
  .logo-mark {
    position: relative;
    width: 34px; height: 34px;
    background: var(--sage-500);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: inset 0 0 0 3px var(--sage-500), inset 0 0 0 4px var(--sand);
  }
  .logo-mark span {
    font-family: 'DM Serif Display', serif; font-style: italic;
    color: var(--sand); font-size: 16px; line-height: 1;
  }
  .logo-name {
    font-family: 'DM Serif Display', serif; color: var(--ink);
    font-size: 16px; letter-spacing: .02em;
  }
  .nav-links { display: flex; gap: 32px; }
  .nav-links a {
    font-size: 13.5px; font-weight: 500; color: var(--mist);
    text-decoration: none; transition: color .15s; position: relative;
    padding: 4px 0;
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-links a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
    background: var(--sage-500); transition: right .25s ease;
  }
  .nav-links a:hover::after { right: 0; }

  .nav-actions { display: flex; gap: 6px; align-items: center; }

  /* ── Hamburger button (hidden on desktop) ── */
  .nav-hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
  .ham-bar {
    display: block; width: 18px; height: 2px;
    background: var(--ink); border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease, width .2s ease;
    transform-origin: center;
  }
  .nav-hamburger.is-open .ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.is-open .ham-bar:nth-child(2) { opacity: 0; width: 0; }
  .nav-hamburger.is-open .ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── Mobile slide-down menu ── */
  .nav-mobile-menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: white;
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
    border-top: 1px solid var(--border);
    overflow: hidden;
    max-height: 0;
    transition: max-height .35s cubic-bezier(.4,0,.2,1);
    z-index: 999;
  }
  .nav-mobile-menu.open { max-height: 420px; }
  .nav-mobile-links {
    display: flex; flex-direction: column;
    padding: 12px 0;
  }
  .nav-mobile-link {
    padding: 14px 24px;
    font-size: 15px; font-weight: 500;
    color: var(--ink); text-decoration: none;
    border-left: 3px solid transparent;
    transition: background .15s, border-color .15s, color .15s;
  }
  .nav-mobile-link:hover  { background: var(--sage-50); color: var(--sage-600); }
  .nav-mobile-link.active { border-left-color: var(--sage-500); color: var(--sage-600); background: var(--sage-50); }
  .nav-mobile-foot {
    border-top: 1px solid var(--border);
    padding: 14px 24px;
  }
  .nav-mobile-account {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 500;
    color: var(--mist); text-decoration: none;
    transition: color .15s;
  }
  .nav-mobile-account:hover { color: var(--sage-600); }

  /* Backdrop */
  .nav-backdrop {
    display: none;
    position: fixed; inset: 0; z-index: 998;
    background: rgba(0,0,0,.25);
  }
  .icon-btn {
    background: none; border: none; cursor: pointer; color: var(--mist);
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .15s, color .15s;
    position: relative;
  }
  .icon-btn:hover { background: var(--sage-50); color: var(--ink); }
  .cart-count {
    position: absolute; top: 4px; right: 4px;
    min-width: 16px; height: 16px; padding: 0 4px;
    background: var(--sage-500); color: var(--sand);
    font-size: 10px; font-weight: 600; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    transform-origin: center;
    animation: pop .25s ease;
  }
  @keyframes pop { 0%{transform:scale(.4)} 60%{transform:scale(1.2)} 100%{transform:scale(1)} }

  /* ───────── Buttons ───────── */
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 22px; font-size: 13.5px; font-weight: 500;
    letter-spacing: .02em; border: none; cursor: pointer;
    transition: all .2s ease; text-decoration: none;
    border-radius: 999px;
    white-space: nowrap;
  }
  .btn-primary { background: var(--sage-500); color: var(--sand); }
  .btn-primary:hover { background: var(--sage-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }
  .btn-primary:active { transform: translateY(0); }
  .btn-outline {
    background: transparent; color: var(--sage-500);
    border: 1px solid var(--sage-500);
  }
  .btn-outline:hover { background: var(--sage-500); color: var(--sand); }
  .btn-ghost {
    background: transparent; color: var(--mist);
    padding: 10px 14px;
  }
  .btn-ghost:hover { color: var(--ink); }

  /* ───────── Hero ───────── */
  .hero {
    position: relative;
    min-height: 100vh;
    padding: 130px 28px 80px;
    overflow: hidden;
  }
  .hero-blob-1 {
    position: absolute; right: -200px; top: 20%; width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(224,214,152,.32) 0%, transparent 65%);
    pointer-events: none; filter: blur(8px);
  }
  .hero-blob-2 {
    position: absolute; left: -200px; bottom: -100px; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(92,104,69,.10) 0%, transparent 70%);
    pointer-events: none; filter: blur(8px);
  }
  .hero-grid {
    position: relative; max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px;
    align-items: center;
  }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 500; letter-spacing: .22em;
    text-transform: uppercase; color: var(--sage-500);
  }
  .eyebrow::before {
    content: ""; width: 18px; height: 1px; background: var(--sage-400);
  }
  .hero h1 {
    font-size: clamp(48px, 6.2vw, 80px);
    line-height: 1.02;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 18px 0 22px;
  }
  .hero h1 em { color: var(--sage-500); }
  .hero-sub {
    font-size: 17px; line-height: 1.55; color: var(--mist);
    max-width: 460px; margin-bottom: 28px;
  }
  .hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
  .hero-meta {
    margin-top: 28px;
    display: flex; flex-wrap: wrap; gap: 18px 28px;
    font-size: 12px; color: var(--mist);
  }
  .hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
  .hero-meta span svg { color: var(--sage-400); }

  /* ── Quiz card pinned in hero ── */
  .quiz-card {
    position: relative;
    background: var(--chalk);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
  }
  .quiz-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--sage-500), var(--sand) 60%, var(--sage-300));
  }
  .quiz-head {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 20px; gap: 16px;
  }
  .quiz-title {
    font-family: 'DM Serif Display', serif;
    font-size: 22px; line-height: 1.2; color: var(--ink);
  }
  .quiz-title em { color: var(--sage-500); }
  .quiz-step {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--mist);
    letter-spacing: .08em;
    white-space: nowrap;
  }
  .quiz-progress {
    display: flex; gap: 4px; margin-bottom: 22px;
  }
  .quiz-progress span {
    flex: 1; height: 3px; background: var(--border);
    border-radius: 2px; transition: background .3s;
  }
  .quiz-progress span.done { background: var(--sage-500); }
  .quiz-options { display: flex; flex-direction: column; gap: 8px; }
  .quiz-opt {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer; transition: all .18s ease;
    text-align: left; width: 100%;
    color: var(--ink); font-size: 14px;
  }
  .quiz-opt:hover {
    border-color: var(--sage-300);
    background: var(--sage-50);
    transform: translateX(2px);
  }
  .quiz-opt-icon {
    width: 36px; height: 36px; flex-shrink: 0;
    background: var(--sage-50); color: var(--sage-500);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .18s ease;
  }
  .quiz-opt:hover .quiz-opt-icon { background: var(--sage-500); color: var(--sand); }
  .quiz-opt-meta { flex: 1; }
  .quiz-opt-meta strong { display: block; font-weight: 500; color: var(--ink); }
  .quiz-opt-meta small { display: block; font-size: 11.5px; color: var(--mist); margin-top: 1px; }
  .quiz-opt-arrow { color: var(--mist-soft); transition: transform .2s, color .2s; }
  .quiz-opt:hover .quiz-opt-arrow { color: var(--sage-500); transform: translateX(3px); }

  .quiz-back {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px; font-size: 12.5px; color: var(--mist);
    background: none; border: none; padding: 4px 0;
  }
  .quiz-back:hover { color: var(--ink); }

  /* Quiz result panel */
  .quiz-result {
    display: flex; flex-direction: column; gap: 16px;
  }
  .quiz-result-pill {
    align-self: flex-start;
    padding: 6px 14px;
    background: var(--sage-50);
    color: var(--sage-600);
    font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
    border-radius: 999px; font-weight: 500;
  }
  .quiz-result h3 {
    font-size: 24px; line-height: 1.2; color: var(--ink);
  }
  .quiz-result p { font-size: 14px; line-height: 1.5; color: var(--mist); }
  .quiz-products {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px;
  }
  .quiz-product-mini {
    background: var(--cream); border: 1px solid var(--border);
    border-radius: 10px; padding: 12px; display: flex; gap: 10px; align-items: center;
    transition: all .18s ease; cursor: pointer; text-align: left;
  }
  .quiz-product-mini:hover { border-color: var(--sage-300); }
  .qpm-thumb {
    width: 44px; height: 44px; border-radius: 8px;
    background: var(--sage-100); flex-shrink: 0;
    background-size: cover; background-position: center;
  }
  .qpm-text { font-size: 12px; line-height: 1.3; min-width: 0; }
  .qpm-text strong { display: block; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .qpm-text small { display: block; color: var(--mist); margin-top: 2px; }

  /* Quiz result product cards (new layout) */
  .quiz-result-products { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
  .quiz-result-product {
    display: flex; align-items: center; gap: 12px;
    background: var(--cream); border: 1px solid var(--border);
    border-radius: 12px; padding: 12px 14px;
  }
  .qrp-thumb {
    width: 52px; height: 52px; border-radius: 10px; flex-shrink: 0;
    background: var(--sage-50); display: flex; align-items: center; justify-content: center;
    overflow: hidden;
  }
  .qrp-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .qrp-meta { flex: 1; min-width: 0; }
  .qrp-meta strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
  .qrp-meta small { display: block; font-size: 11.5px; color: var(--mist); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .qrp-price { display: block; font-size: 13px; font-weight: 700; color: var(--sage-700); margin-top: 3px; font-family: 'DM Sans'; }
  .qrp-actions { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }

  /* Quiz result note (compare text) */
  .quiz-result-note {
    font-size: 12.5px; color: var(--sage-700); background: var(--sage-50);
    border: 1px solid var(--sage-200); border-radius: 8px; padding: 10px 14px;
    font-family: 'JetBrains Mono', monospace; letter-spacing: .02em; line-height: 1.6;
  }

  /* Quiz result Line CTA */
  .quiz-result-line {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    flex-wrap: wrap;
    background: var(--chalk); border: 1px dashed var(--border);
    border-radius: 10px; padding: 14px 16px; margin-top: 4px;
  }
  .quiz-result-line span { font-size: 13px; color: var(--ink-soft); }

  /* ───────── Trust strip ───────── */
  .trust {
    background: var(--sage-500); color: var(--sand);
    padding: 36px 28px;
  }
  .trust-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .trust-item {
    padding: 6px 24px;
    border-left: 1px solid rgba(224,214,152,.22);
    display: flex; gap: 14px; align-items: flex-start;
  }
  .trust-item:first-child { border-left: none; padding-left: 0; }
  .trust-icon {
    width: 38px; height: 38px;
    background: var(--sage-600);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--sand);
    flex-shrink: 0;
  }
  .trust-item strong { display: block; font-size: 13px; font-weight: 500; color: var(--sand); }
  .trust-item small { display: block; font-size: 11.5px; color: rgba(224,214,152,.65); margin-top: 2px; line-height: 1.3; }

  /* ───────── Section header ───────── */
  .sect { padding: 96px 28px; }
  .sect-inner { max-width: 1200px; margin: 0 auto; }
  .sect-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 24px; margin-bottom: 40px;
    flex-wrap: wrap;
  }
  .sect-head h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    color: var(--ink);
    letter-spacing: -0.01em;
    max-width: 600px;
  }
  .sect-head h2 em { color: var(--sage-500); }
  .sect-head .lede {
    font-size: 14px; color: var(--mist); max-width: 320px; line-height: 1.55;
  }

  /* ───────── Concern bar ───────── */
  .concern {
    background: var(--chalk);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 56px 28px;
  }
  .pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
  .pill {
    padding: 9px 18px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--mist);
    font-size: 13px; font-weight: 500;
    border-radius: 999px;
    transition: all .18s ease;
  }
  .pill:hover { border-color: var(--sage-400); color: var(--sage-600); }
  .pill.active {
    background: var(--sage-500);
    color: var(--sand);
    border-color: var(--sage-500);
  }
  .chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
  .chip {
    padding: 7px 13px;
    background: var(--sage-50);
    border: 1px solid var(--sage-100);
    color: var(--sage-600);
    font-size: 12px; font-weight: 500;
    border-radius: 999px;
    transition: all .18s ease;
  }
  .chip:hover { background: var(--sage-100); }
  .chip.active { background: var(--sage-500); color: var(--sand); border-color: var(--sage-500); }

  /* ───────── Product grid ───────── */
  .grid-controls {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
  }
  .grid-count { font-size: 13px; color: var(--mist); }
  .grid-count strong { color: var(--ink); font-weight: 500; }
  .sort-select {
    background: var(--chalk); border: 1px solid var(--border);
    padding: 8px 32px 8px 14px; font-size: 13px; color: var(--ink);
    border-radius: 8px; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237A7560' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
    cursor: pointer;
    font-family: inherit;
  }
  .sort-select:focus { outline: none; border-color: var(--sage-400); }

  .pgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .pcard {
    position: relative;
    background: var(--chalk);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all .25s ease;
    display: flex; flex-direction: column;
  }
  .pcard:hover {
    transform: translateY(-3px);
    border-color: var(--sage-200);
    box-shadow: var(--shadow-md);
  }
  .pcard-img {
    position: relative; aspect-ratio: 1/1;
    background: var(--sage-50);
    overflow: hidden;
  }
  .pcard-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
    display: block;
  }
  .pcard:hover .pcard-img img { transform: scale(1.05); }
  .pcard-badge {
    position: absolute; top: 12px; left: 12px;
    padding: 5px 10px;
    background: var(--sage-500); color: var(--sand);
    font-size: 10px; font-weight: 500;
    letter-spacing: .12em; text-transform: uppercase;
    border-radius: 999px;
  }
  .pcard-badge.sand { background: var(--sand); color: var(--sage-700); }
  .pcard-fav {
    position: absolute; top: 12px; right: 12px;
    width: 32px; height: 32px;
    background: rgba(255,253,248,.92);
    backdrop-filter: blur(8px);
    border: none; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--mist);
    transition: all .15s;
    opacity: 0; transform: translateY(-4px);
  }
  .pcard:hover .pcard-fav { opacity: 1; transform: translateY(0); }
  .pcard-fav:hover { color: var(--sage-500); }
  .pcard-fav.active { color: var(--sage-500); opacity: 1; transform: translateY(0); }

  .pcard-quick {
    position: absolute; left: 12px; right: 12px; bottom: 12px;
    padding: 11px;
    background: var(--ink); color: var(--sand);
    border: none; border-radius: 10px;
    font-size: 12.5px; font-weight: 500; letter-spacing: .04em;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    opacity: 0; transform: translateY(8px);
    transition: all .25s ease;
  }
  .pcard:hover .pcard-quick { opacity: 1; transform: translateY(0); }
  .pcard-quick:hover { background: var(--sage-700); }

  .pcard-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .pcard-tag {
    font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
    color: var(--mist); font-weight: 500;
  }
  .pcard-name {
    font-family: 'DM Serif Display', serif;
    font-size: 19px; line-height: 1.15; color: var(--ink);
  }
  .pcard-tagline { font-size: 12.5px; color: var(--mist); margin-top: 2px; line-height: 1.4; }

  .pcard-active {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 10px 12px;
    background: var(--sage-50);
    border-left: 2px solid var(--sage-400);
    border-radius: 0 8px 8px 0;
  }
  .pcard-active-icon { color: var(--sage-500); margin-top: 1px; flex-shrink: 0; }
  .pcard-active-meta { min-width: 0; }
  .pcard-active-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px; letter-spacing: .14em;
    text-transform: uppercase; color: var(--sage-600);
    font-weight: 500; line-height: 1;
  }
  .pcard-active-name {
    font-size: 12px; color: var(--ink); font-weight: 500;
    margin-top: 4px; line-height: 1.3;
  }
  .pcard-benefit { font-size: 12px; color: var(--mist); line-height: 1.5; flex: 1; }

  .pcard-foot {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 12px; border-top: 1px solid var(--border-soft);
  }
  .pcard-price { font-size: 16px; font-weight: 600; color: var(--ink); }
  .pcard-rating {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11.5px; color: var(--mist);
  }
  .pcard-rating svg { color: var(--sage-500); }

  .empty {
    padding: 80px 24px; text-align: center;
    border: 1px dashed var(--border); border-radius: 16px;
  }
  .empty p { color: var(--mist); }

  /* ───────── Routine builder ───────── */
  .routine {
    background: var(--cream);
    padding: 96px 28px;
  }
  .routine-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.15fr;
    gap: 64px; align-items: center;
  }
  .routine-copy h2 {
    font-size: clamp(32px, 4vw, 48px); line-height: 1.1; color: var(--ink);
    margin: 16px 0 20px; letter-spacing: -0.01em;
  }
  .routine-copy p {
    font-size: 15px; line-height: 1.6; color: var(--mist);
    max-width: 440px; margin-bottom: 28px;
  }

  .builder {
    background: var(--chalk);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 26px;
    box-shadow: var(--shadow-md);
  }
  .builder-tabs {
    display: flex; gap: 4px; margin-bottom: 24px;
    background: var(--cream);
    padding: 4px; border-radius: 12px;
  }
  .builder-tab {
    flex: 1; padding: 10px 12px;
    background: transparent; border: none;
    font-size: 12.5px; font-weight: 500; color: var(--mist);
    border-radius: 8px;
    transition: all .2s ease;
    display: flex; align-items: center; justify-content: center; gap: 6px;
  }
  .builder-tab.active {
    background: var(--chalk);
    color: var(--ink);
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
  }
  .builder-tab .step-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: var(--mist-soft);
  }
  .builder-tab.active .step-num { color: var(--sage-500); }
  .builder-tab.done .step-num { color: var(--sage-500); }

  .builder-question {
    font-family: 'DM Serif Display', serif;
    font-size: 20px; line-height: 1.25; color: var(--ink);
    margin-bottom: 4px;
  }
  .builder-help { font-size: 13px; color: var(--mist); margin-bottom: 18px; }
  .builder-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
  .builder-option {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: left; width: 100%;
    transition: all .18s ease; color: var(--ink); font-size: 14px;
  }
  .builder-option:hover { border-color: var(--sage-300); background: var(--sage-50); }
  .builder-option.selected {
    border-color: var(--sage-500); background: var(--sage-50);
  }
  .builder-radio {
    width: 18px; height: 18px; border: 1.5px solid var(--mist-soft);
    border-radius: 50%; flex-shrink: 0; position: relative;
    transition: all .18s ease;
  }
  .builder-option.selected .builder-radio { border-color: var(--sage-500); }
  .builder-option.selected .builder-radio::after {
    content: ""; position: absolute; inset: 3px;
    background: var(--sage-500); border-radius: 50%;
  }
  .builder-option-text { flex: 1; }
  .builder-option-text strong { display: block; font-weight: 500; color: var(--ink); }
  .builder-option-text small { display: block; font-size: 11.5px; color: var(--mist); margin-top: 2px; }

  .builder-result {
    background: linear-gradient(180deg, var(--sage-50), var(--cream));
    border: 1px solid var(--sage-100);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 18px;
  }
  .builder-result-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--sage-600); margin-bottom: 12px;
  }
  .builder-result-list { display: flex; flex-direction: column; gap: 10px; }
  .builder-result-row {
    display: flex; gap: 12px; align-items: center;
    padding: 10px; background: var(--chalk);
    border: 1px solid var(--border);
    border-radius: 10px;
  }
  .br-step {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--sage-500); color: var(--sand);
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .br-text { flex: 1; min-width: 0; }
  .br-text strong { display: block; font-size: 13px; font-weight: 500; color: var(--ink); }
  .br-text small { display: block; font-size: 11.5px; color: var(--mist); margin-top: 1px; }
  .br-price { font-size: 13px; font-weight: 600; color: var(--ink); }

  .builder-foot {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding-top: 16px; border-top: 1px solid var(--border-soft);
  }
  .builder-total { font-size: 13px; color: var(--mist); }
  .builder-total strong {
    display: block; color: var(--ink); font-size: 18px; font-weight: 600; margin-top: 2px;
    font-family: 'DM Sans', sans-serif;
  }

  /* ───────── Cart drawer ───────── */
  .drawer-scrim {
    position: fixed; inset: 0; z-index: 90;
    background: rgba(44,42,36,.45);
    backdrop-filter: blur(4px);
    opacity: 0; pointer-events: none;
    transition: opacity .3s ease;
  }
  .drawer-scrim.open { opacity: 1; pointer-events: auto; }

  .drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 420px; max-width: 100vw; z-index: 95;
    background: var(--chalk);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-lg);
  }
  .drawer.open { transform: translateX(0); }
  .drawer-head {
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
  }
  .drawer-head h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 22px; color: var(--ink);
  }
  .drawer-close {
    width: 36px; height: 36px; border: none; background: var(--cream);
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--mist); transition: all .15s;
  }
  .drawer-close:hover { background: var(--sage-50); color: var(--ink); }
  .drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px; }

  .cart-row {
    display: flex; gap: 14px; padding: 14px 0;
    border-bottom: 1px solid var(--border-soft);
  }
  .cart-row:last-child { border-bottom: none; }
  .cart-thumb {
    width: 72px; height: 72px; border-radius: 10px; overflow: hidden;
    background: var(--sage-50); flex-shrink: 0;
  }
  .cart-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .cart-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
  .cart-name { font-family: 'DM Serif Display', serif; font-size: 15px; color: var(--ink); line-height: 1.2; }
  .cart-condition { font-size: 11px; color: var(--mist); letter-spacing: .04em; }
  .cart-row-foot {
    margin-top: auto; padding-top: 6px;
    display: flex; justify-content: space-between; align-items: center;
  }
  .qty {
    display: inline-flex; align-items: center;
    border: 1px solid var(--border); border-radius: 999px;
    overflow: hidden;
  }
  .qty button {
    width: 26px; height: 26px; border: none; background: transparent;
    color: var(--mist); display: inline-flex; align-items: center; justify-content: center;
    transition: all .15s;
  }
  .qty button:hover { background: var(--sage-50); color: var(--ink); }
  .qty span {
    min-width: 22px; text-align: center; font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--ink);
  }
  .cart-price { font-size: 13px; font-weight: 600; color: var(--ink); }

  .cart-empty {
    padding: 60px 24px; text-align: center;
  }
  .cart-empty-icon {
    width: 60px; height: 60px; margin: 0 auto 18px;
    border-radius: 50%; background: var(--sage-50);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--sage-500);
  }
  .cart-empty p { color: var(--mist); font-size: 14px; line-height: 1.5; max-width: 240px; margin: 0 auto; }

  .drawer-foot {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    background: var(--cream);
  }
  .cart-line {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; color: var(--mist); margin-bottom: 6px;
  }
  .cart-total {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 14px; color: var(--ink); margin: 14px 0 16px;
    padding-top: 14px; border-top: 1px solid var(--border);
  }
  .cart-total strong { font-size: 18px; font-weight: 600; }
  .cart-progress-track {
    height: 4px; background: var(--border); border-radius: 4px;
    overflow: hidden; margin: 8px 0 14px;
  }
  .cart-progress-fill {
    height: 100%; background: var(--sage-500);
    transition: width .4s ease;
  }
  .cart-checkout {
    width: 100%; padding: 14px;
    background: var(--sage-500); color: var(--sand);
    border: none; border-radius: 12px;
    font-size: 14px; font-weight: 500; letter-spacing: .03em;
    transition: all .2s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .cart-checkout:hover { background: var(--sage-600); }
  .cart-checkout:disabled { opacity: .5; cursor: not-allowed; }

  /* ───────── Spotlight (single product) ───────── */
  .spotlight {
    display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
    align-items: start;
  }
  .spot-gallery { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 96px; min-width: 0; }
  .spot-main {
    position: relative;
    background: var(--chalk);
    border-radius: 20px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
  }
  .spot-main img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 32px; }
  .spot-pill {
    position: absolute; top: 16px; left: 16px;
    padding: 6px 14px;
    background: rgba(255,253,248,.94);
    backdrop-filter: blur(6px);
    border-radius: 999px;
    font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--sage-600); font-weight: 500;
  }
  .spot-thumbs { display: flex; gap: 10px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .spot-thumbs::-webkit-scrollbar { height: 4px; }
  .spot-thumbs::-webkit-scrollbar-track { background: transparent; }
  .spot-thumbs::-webkit-scrollbar-thumb { background: var(--sage-200); border-radius: 99px; }
  .spot-thumb {
    width: 80px; height: 80px; flex-shrink: 0;
    background: var(--sage-50);
    border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden;
    padding: 0; cursor: pointer;
    transition: all .18s ease;
  }
  .spot-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 6px; }
  .spot-thumb:hover { border-color: var(--sage-300); }
  .spot-thumb.active { border-color: var(--sage-500); box-shadow: 0 0 0 2px var(--sage-100); }

  .spot-detail { display: flex; flex-direction: column; gap: 14px; }
  .spot-origin {
    font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--sage-500); font-weight: 500;
  }
  .spot-name {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(34px, 4vw, 48px); line-height: 1.05;
    color: var(--ink); letter-spacing: -0.01em;
  }
  .spot-sub { font-size: 14px; color: var(--mist); margin-top: -6px; }
  .spot-tagline {
    font-size: 17px; line-height: 1.45; color: var(--ink);
    border-left: 2px solid var(--sage-300);
    padding-left: 14px;
    margin: 4px 0 4px;
  }
  .spot-rating {
    display: inline-flex; gap: 10px; align-items: center;
    font-size: 13px; color: var(--mist);
  }
  .spot-rating .stars { color: var(--sage-500); display: inline-flex; gap: 1px; }

  .spot-claims {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    margin: 8px 0;
  }
  .spot-claim {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 12px 14px;
    background: var(--sage-50); border: 1px solid var(--sage-100);
    border-radius: 12px;
  }
  .spot-check {
    width: 22px; height: 22px;
    background: var(--sage-500); color: var(--sand);
    border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: 1px;
  }
  .spot-claim strong { display: block; font-size: 13px; font-weight: 500; color: var(--ink); }
  .spot-claim small { display: block; font-size: 11.5px; color: var(--mist); margin-top: 2px; line-height: 1.4; }

  .spot-section-label {
    font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--sage-600); font-weight: 500;
  }
  .spot-symptoms { margin: 8px 0; display: flex; flex-direction: column; gap: 10px; }
  .symptom-row { display: flex; flex-wrap: wrap; gap: 6px; }
  .symptom-pill {
    padding: 6px 12px;
    background: var(--cream);
    border: 1px solid var(--border);
    color: var(--ink);
    font-size: 12px; font-weight: 500;
    border-radius: 999px;
  }

  .spot-buy {
    margin-top: 8px;
    padding: 22px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex; flex-direction: column; gap: 16px;
  }
  .spot-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
  .spot-price .price { font-size: 32px; font-weight: 600; color: var(--ink); font-family: 'DM Sans'; letter-spacing: -0.01em; }
  .spot-price .price-was { font-size: 16px; color: var(--mist-soft); text-decoration: line-through; }
  .spot-price .price-meta { font-size: 12px; color: var(--mist); margin-left: auto; font-family: 'JetBrains Mono', monospace; letter-spacing: .04em; }
  .spot-actions { display: flex; gap: 10px; align-items: stretch; }
  .spot-actions .qty {
    border: 1px solid var(--border); background: var(--chalk);
    padding: 4px 6px;
  }
  .spot-actions .qty button { width: 32px; height: 32px; }
  .spot-actions .qty span { min-width: 28px; font-size: 13px; }
  .spot-add { flex: 1; padding: 14px 22px; justify-content: center; font-size: 14px; }
  .spot-shipnote {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; color: var(--mist);
  }
  .spot-shipnote svg { color: var(--sage-500); }

  /* ───────── Variant selector ───────── */
  .spot-variants { margin-top: 4px; }
  .variant-row { display: flex; gap: 10px; flex-wrap: wrap; }
  .variant-btn {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--chalk);
    cursor: pointer;
    transition: border-color .15s, background .15s, box-shadow .15s;
    min-width: 110px;
    text-align: left;
  }
  .variant-btn:hover { border-color: var(--sage-500); background: var(--sage-50); }
  .variant-btn.active {
    border-color: var(--sage-600);
    background: var(--sage-50);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage-600) 12%, transparent);
  }
  .variant-label { font-size: 13px; font-weight: 600; color: var(--ink); }
  .variant-price { font-size: 14px; font-weight: 700; color: var(--sage-700); font-family: 'DM Sans'; }
  .variant-was { font-size: 11px; color: var(--mist-soft); text-decoration: line-through; }

  /* ───────── Ingredients ───────── */
  .ingredients {
    background: var(--chalk);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 96px 28px;
  }
  .actives-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 40px;
  }
  .active-card {
    position: relative;
    padding: 24px 22px 22px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all .2s ease;
  }
  .active-card:hover { border-color: var(--sage-300); transform: translateY(-2px); }
  .active-num {
    position: absolute; top: 18px; right: 18px;
    font-size: 11px; color: var(--sage-400); letter-spacing: .12em;
  }
  .active-card h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 19px; line-height: 1.2; color: var(--ink);
    margin-bottom: 8px;
    padding-right: 30px;
  }
  .active-card p { font-size: 13px; color: var(--mist); line-height: 1.5; }

  .inci {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
  }
  .inci-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px;
  }
  .inci-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px; line-height: 1.7;
    color: var(--mist);
    max-height: 60px; overflow: hidden;
    transition: max-height .35s ease;
    position: relative;
  }
  .inci-text:not(.open)::after {
    content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 30px;
    background: linear-gradient(transparent, var(--cream));
    pointer-events: none;
  }
  .inci-text.open { max-height: 600px; }

  /* KPI tiles in routine copy */
  .kpi {
    background: var(--chalk);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    min-width: 120px;
  }
  .kpi strong {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 28px; line-height: 1; color: var(--sage-500);
    font-weight: 400;
  }
  .kpi small {
    display: block; font-size: 11.5px; color: var(--mist);
    margin-top: 4px; line-height: 1.3;
  }

  /* ───────── Certifications ───────── */
  .certs {
    background: var(--cream);
    padding: 64px 28px;
    border-top: 1px solid var(--border);
  }
  .cert-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .cert-card {
    padding: 22px 20px;
    background: var(--chalk);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex; flex-direction: column; gap: 8px;
    transition: all .18s ease;
  }
  .cert-card:hover { border-color: var(--sage-300); }
  .cert-code {
    font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--sage-500); font-weight: 500;
  }
  .cert-card strong {
    font-family: 'DM Serif Display', serif;
    font-size: 17px; color: var(--ink); font-weight: 400;
  }
  .cert-card small { font-size: 12px; color: var(--mist); line-height: 1.4; }

  /* ───────── Testimonials (home) ───────── */
  .testimonials {
    padding: 80px 0;
    background: var(--chalk);
    border-top: 1px solid var(--border);
  }

  /* Stats banner */
  .testi-stats-banner {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: var(--border);
    border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  }
  .testi-stat {
    background: var(--cream);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 28px 20px; gap: 4px; text-align: center;
  }
  .testi-stat-icon { font-size: 28px; margin-bottom: 4px; }
  .testi-stat-num {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px, 3.5vw, 40px); line-height: 1;
    color: var(--ink);
  }
  .testi-stat-label { font-size: 13px; color: var(--mist); margin-top: 2px; }

  /* Grid */
  .testi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .testi-card {
    background: var(--cream); border: 1px solid var(--border);
    border-radius: 14px; overflow: hidden;
    transition: box-shadow .2s, transform .2s;
  }
  .testi-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
  .testi-img { width: 100%; display: block; object-fit: cover; }
  .testi-footer {
    padding: 9px 12px;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    border-top: 1px solid var(--border);
  }
  .testi-footer .stars { display: flex; gap: 2px; color: #F59E0B; }
  .testi-verified { font-size: 10px; color: var(--sage-600); letter-spacing: .04em; }

  /* ───────── Product Reviews ───────── */
  .review-sect {
    padding: 80px 0;
    background: var(--chalk);
    border-top: 1px solid var(--border);
  }
  .review-layout {
    display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start;
  }
  .review-summary { position: sticky; top: 96px; }
  .review-big-score {
    background: var(--cream); border: 1px solid var(--border);
    border-radius: 14px; padding: 24px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    margin-bottom: 16px;
  }
  .review-score-num {
    font-family: 'DM Serif Display', serif; font-size: 56px; line-height: 1; color: var(--ink);
  }
  .review-big-score .stars { display: flex; gap: 3px; color: #F59E0B; }
  .review-big-score small { font-size: 11px; color: var(--mist); letter-spacing: .06em; }
  .review-dist { display: flex; flex-direction: column; gap: 7px; }
  .review-dist-row { display: flex; align-items: center; gap: 8px; }
  .review-dist-label { font-size: 11px; color: var(--mist); width: 22px; text-align: right; }
  .review-dist-bar {
    flex: 1; height: 6px; background: var(--border); border-radius: 99px; overflow: hidden;
  }
  .review-dist-fill { height: 100%; background: #F59E0B; border-radius: 99px; transition: width .4s; }
  .review-dist-count { font-size: 11px; color: var(--mist); width: 16px; }

  .review-list { display: flex; flex-direction: column; gap: 16px; }
  .review-card {
    background: var(--cream); border: 1px solid var(--border);
    border-radius: 14px; padding: 20px 22px;
    display: flex; flex-direction: column; gap: 10px;
  }
  .review-card-head { display: flex; align-items: center; gap: 10px; }
  .review-avatar {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    background: var(--sage-500); color: white;
    display: flex; align-items: center; justify-content: center;
    font-family: 'DM Serif Display', serif; font-size: 16px;
  }
  .review-card-head strong { font-size: 14px; color: var(--ink); display: block; }
  .review-card-head small { font-size: 11px; color: var(--mist); letter-spacing: .04em; }
  .review-stars { display: flex; gap: 2px; color: #F59E0B; }
  .review-tag {
    align-self: flex-start;
    font-size: 11px; font-family: 'JetBrains Mono', monospace; letter-spacing: .08em;
    background: var(--sage-50); color: var(--sage-700);
    border: 1px solid var(--sage-200); padding: 3px 10px; border-radius: 99px;
  }
  .review-card p { font-size: 14px; line-height: 1.65; color: var(--ink-soft); margin: 0; }
  .review-img { width: 100%; max-width: 200px; border-radius: 10px; border: 1px solid var(--border); }

  /* Empty state */
  .review-empty {
    text-align: center; padding: 64px 24px;
    background: var(--cream); border: 1px dashed var(--border);
    border-radius: 16px;
  }
  .review-empty-icon { font-size: 48px; margin-bottom: 16px; }
  .review-empty h3 { font-size: 22px; color: var(--ink); margin: 0 0 10px; }
  .review-empty p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; max-width: 380px; margin: 0 auto; }

  @media (max-width: 1024px) {
    .testi-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 860px) {
    .testi-grid { grid-template-columns: repeat(2, 1fr); }
    .testi-stats-banner { grid-template-columns: repeat(3, 1fr); }
    .review-layout { grid-template-columns: 1fr; }
    .review-summary { position: static; }
  }
  @media (max-width: 560px) {
    .testi-grid { grid-template-columns: repeat(2, 1fr); }
    .testi-stats-banner { grid-template-columns: 1fr; }
  }

  /* ───────── Healing Guide ───────── */

  /* ── Index hero ── */
  .guide-index-hero {
    padding: 140px 0 0;
    background: linear-gradient(145deg, #1c1e18 0%, #2a3020 50%, var(--sage-600) 100%);
    position: relative; overflow: hidden;
  }
  .guide-index-hero::before {
    content: '';
    position: absolute; top: -120px; right: -120px;
    width: 580px; height: 580px;
    background: radial-gradient(circle, rgba(92,104,69,.35) 0%, transparent 68%);
    pointer-events: none;
  }
  .guide-index-hero::after {
    content: '';
    position: absolute; bottom: 60px; left: -80px;
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(224,214,152,.18) 0%, transparent 68%);
    pointer-events: none;
  }
  .guide-index-hero .eyebrow { color: var(--sand); opacity: .9; }
  .guide-index-hero h1 { color: white; }
  .guide-index-hero h1 em { color: var(--sand); font-style: italic; }
  .guide-index-hero > .sect-inner > p { color: rgba(255,255,255,.6) !important; }

  /* ── Article cards ── */
  .guide-card-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    padding-bottom: 80px;
  }
  .guide-card {
    background: rgba(255,253,248,.97); border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px; overflow: hidden;
    text-decoration: none; color: inherit;
    transition: box-shadow .25s, transform .25s;
    display: flex; flex-direction: column;
    box-shadow: 0 2px 16px rgba(0,0,0,.18);
  }
  .guide-card:hover { box-shadow: 0 24px 64px rgba(0,0,0,.32); transform: translateY(-5px); }
  .guide-card--coming { opacity: .5; pointer-events: none; }
  .guide-card-img { position: relative; aspect-ratio: 16/9; background: var(--sage-50); overflow: hidden; }
  .guide-card-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
  .guide-card-img-ph {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--sage-100), var(--sand-soft));
  }
  .guide-card-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--sage-600); color: white;
    font-size: 10px; font-family: 'JetBrains Mono', monospace;
    letter-spacing: .1em; padding: 5px 12px; border-radius: 99px;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
  }
  .guide-card-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
  .guide-card-date { font-size: 11px; color: var(--mist); letter-spacing: .06em; }
  .guide-card-body h3 { font-size: 17px; line-height: 1.3; color: var(--ink); margin: 0; }
  .guide-card-body p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; flex: 1; }
  .guide-card-read { font-size: 12px; color: var(--sage-600); display: inline-flex; align-items: center; gap: 4px; margin-top: auto; font-weight: 500; }

  /* ── Article hero (photo BG set inline via style=) ── */
  .guide-hero {
    background-color: var(--ink);
    background-size: cover; background-position: center;
    color: white; padding: 80px 28px 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end;
    max-width: 100%; overflow: hidden; position: relative;
  }
  .guide-hero-inner { padding-bottom: 64px; position: relative; z-index: 1; }
  .guide-hero-inner .breadcrumb a { color: rgba(255,255,255,.45); }
  .guide-hero-inner .breadcrumb span { color: rgba(255,255,255,.7); }
  .guide-hero-inner .breadcrumb svg { color: rgba(255,255,255,.25); }
  .guide-hero-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
  .guide-cat-pill {
    background: var(--sage-500); color: white;
    font-size: 11px; font-family: 'JetBrains Mono', monospace;
    letter-spacing: .1em; padding: 5px 14px; border-radius: 99px;
    box-shadow: 0 2px 8px rgba(92,104,69,.4);
  }
  .guide-read-time { font-size: 12px; color: rgba(255,255,255,.45); }
  .guide-hero-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(38px, 4.8vw, 60px); line-height: 1.06;
    color: white; margin: 0 0 18px;
  }
  .guide-hero-title .serif { color: var(--sand); }
  .guide-hero-title em { color: var(--sand); font-style: italic; }
  .guide-hero-sub { font-size: 15px; color: rgba(255,255,255,.65); line-height: 1.65; max-width: 440px; margin: 0 0 30px; }
  .guide-author { display: flex; align-items: center; gap: 12px; }
  .guide-author-avatar {
    width: 42px; height: 42px; border-radius: 50%; overflow: hidden;
    border: 2px solid rgba(255,255,255,.25); flex-shrink: 0;
    background: var(--sage-600);
  }
  .guide-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .guide-author strong { display: block; font-size: 13.5px; color: white; }
  .guide-author small { display: block; font-size: 11px; color: rgba(255,255,255,.45); margin-top: 2px; }

  /* ── VS split cards ── */
  .guide-hero-visual { align-self: flex-end; position: relative; z-index: 1; }
  .guide-hero-split { display: flex; align-items: flex-end; gap: 0; }
  .guide-split-card {
    flex: 1; padding: 32px 22px; text-align: center;
    border-radius: 16px 16px 0 0; position: relative;
    backdrop-filter: blur(12px);
  }
  .guide-split-card.sebderm-card {
    background: linear-gradient(160deg, rgba(92,104,69,.45), rgba(92,104,69,.25));
    border: 1px solid rgba(92,104,69,.5); border-bottom: none;
  }
  .guide-split-card.eczema-card {
    background: linear-gradient(160deg, rgba(160,72,48,.4), rgba(122,64,48,.2));
    border: 1px solid rgba(200,100,70,.4); border-bottom: none;
  }
  .guide-split-label {
    display: inline-block; font-size: 10px; font-family: 'JetBrains Mono', monospace;
    letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55);
    margin-bottom: 14px; display: block;
  }
  .guide-split-icon { font-size: 58px; line-height: 1; margin-bottom: 12px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.3)); }
  .guide-split-card p { font-size: 12px; color: rgba(255,255,255,.7); line-height: 1.5; margin: 0; }
  .guide-split-divider {
    width: 44px; flex-shrink: 0; text-align: center;
    font-family: 'DM Serif Display', serif; font-size: 14px; font-weight: 400;
    color: rgba(255,255,255,.35); padding-bottom: 36px; align-self: flex-end;
    letter-spacing: .06em;
  }

  /* ── Article body ── */
  .guide-article { background: #faf9f6; }
  .guide-body { max-width: 780px; margin: 0 auto; padding: 72px 28px 100px; }

  .guide-section {
    margin-bottom: 64px; padding-bottom: 64px;
    border-bottom: 1px solid var(--border);
  }
  .guide-section:last-child { border-bottom: none; }
  .guide-section h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; margin: 0 0 16px; }

  /* Intro */
  .guide-intro p { font-size: 16px; line-height: 1.8; color: var(--ink-soft); margin-bottom: 16px; }
  .guide-intro p:last-child { margin-bottom: 0; }

  /* ── Condition sections ── */
  .sebderm-section {
    background: linear-gradient(135deg, rgba(92,104,69,.07) 0%, transparent 55%);
    border-radius: 20px;
    padding: 32px 28px;
    margin-left: -28px; margin-right: -28px;
    border-bottom: none !important;
    position: relative;
  }
  .sebderm-section::before {
    content: '';
    position: absolute; left: 0; top: 32px; bottom: 32px;
    width: 4px; background: var(--sage-400); border-radius: 0 4px 4px 0;
  }
  .eczema-section {
    background: linear-gradient(135deg, rgba(160,72,48,.07) 0%, transparent 55%);
    border-radius: 20px;
    padding: 32px 28px;
    margin-left: -28px; margin-right: -28px;
    border-bottom: none !important;
    position: relative;
  }
  .eczema-section::before {
    content: '';
    position: absolute; left: 0; top: 32px; bottom: 32px;
    width: 4px; background: #c06040; border-radius: 0 4px 4px 0;
  }
  /* Re-add bottom border via wrapper */
  .sebderm-section + .guide-section,
  .eczema-section + .guide-section { margin-top: 64px; }

  /* ── Condition headers ── */
  .guide-condition-header { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 22px; }
  .guide-condition-num {
    font-size: 12px; letter-spacing: .14em; padding: 7px 12px;
    border-radius: 10px; flex-shrink: 0; margin-top: 3px; font-weight: 700;
  }
  .sebderm-header .guide-condition-num {
    background: var(--sage-500); color: white;
    box-shadow: 0 4px 12px rgba(92,104,69,.35);
  }
  .eczema-header .guide-condition-num {
    background: #c06040; color: white;
    box-shadow: 0 4px 12px rgba(160,72,48,.35);
  }
  .guide-condition-header h2 { margin: 0 0 5px; }
  .guide-condition-sub { font-size: 12.5px; color: var(--mist); letter-spacing: .04em; font-style: italic; }

  /* ── Fact cards ── */
  .guide-fact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
  .guide-fact-card {
    background: white; border: 1px solid var(--border);
    border-radius: 14px; padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    position: relative; overflow: hidden;
  }
  .sebderm-section .guide-fact-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--sage-400), var(--sage-200));
  }
  .eczema-section .guide-fact-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #c06040, #e8a080);
  }
  .guide-fact-icon {
    font-size: 22px; display: inline-block; margin-bottom: 10px;
    background: var(--sage-50); border-radius: 10px; padding: 8px;
    line-height: 1;
  }
  .guide-fact-card strong { display: block; font-size: 13.5px; margin-bottom: 7px; color: var(--ink); font-weight: 600; }
  .guide-fact-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; margin: 0; }

  /* ── Trigger boxes ── */
  .guide-trigger-box { border-radius: 14px; padding: 22px 24px; margin-top: 18px; }
  .sebderm-trigger {
    background: linear-gradient(135deg, #edf0e6, #f4f6f0);
    border: 1px solid var(--sage-200);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
  }
  .eczema-trigger {
    background: linear-gradient(135deg, #f9ede8, #fdf5f2);
    border: 1px solid #e8c4b4;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
  }
  .guide-trigger-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
  .guide-trigger-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
  .guide-trigger-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--sage-500); flex-shrink: 0; margin-top: 7px;
  }
  .eczema-trigger .guide-trigger-dot { background: #c06040; }

  /* ── Tags ── */
  .guide-tag {
    display: inline-block; font-size: 11px; font-family: 'JetBrains Mono', monospace;
    letter-spacing: .1em; padding: 5px 13px; border-radius: 99px; font-weight: 500;
  }
  .guide-tag.sebderm { background: var(--sage-500); color: white; box-shadow: 0 2px 8px rgba(92,104,69,.3); }
  .guide-tag.eczema  { background: #c06040; color: white; box-shadow: 0 2px 8px rgba(160,72,48,.3); }

  /* ── Compare table ── */
  .guide-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--border); box-shadow: 0 2px 12px rgba(0,0,0,.06); }
  .guide-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
  .guide-table thead th {
    padding: 16px 18px; text-align: left;
    font-weight: 600; border-bottom: 1px solid var(--border);
  }
  .guide-table thead th:first-child { background: var(--chalk); width: 110px; }
  .guide-table thead th:nth-child(2) { background: linear-gradient(135deg, rgba(92,104,69,.12), rgba(92,104,69,.05)); color: var(--sage-700); }
  .guide-table thead th:nth-child(3) { background: linear-gradient(135deg, rgba(160,72,48,.1), rgba(160,72,48,.04)); color: #a04030; }
  .guide-table tbody tr:nth-child(even) td { background: rgba(250,247,238,.6); }
  .guide-table tbody tr:last-child td { font-weight: 600; background: var(--ink); color: white; }
  .guide-table tbody tr:last-child td:first-child { color: rgba(255,255,255,.5); }
  .guide-table td { padding: 13px 18px; color: var(--ink-soft); vertical-align: top; border-bottom: 1px solid var(--border); }
  .guide-table tbody tr:last-child td { border-bottom: none; }
  .guide-table-key { color: var(--mist); font-size: 11px; letter-spacing: .06em; white-space: nowrap; }

  /* ── Food triggers ── */
  .guide-qa-header { margin-bottom: 22px; }
  .guide-qa-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--sand), #d4c870);
    color: var(--ink); font-size: 10px; font-family: 'JetBrains Mono', monospace;
    letter-spacing: .12em; padding: 5px 14px; border-radius: 99px; margin-bottom: 12px;
    font-weight: 600; box-shadow: 0 2px 8px rgba(200,180,80,.3);
  }
  .guide-food-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
  .guide-food-card {
    background: white; border: 1px solid var(--border);
    border-radius: 14px; padding: 18px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    transition: transform .2s, box-shadow .2s;
  }
  .guide-food-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.1); }
  .guide-food-emoji {
    font-size: 28px; display: inline-block; margin-bottom: 10px;
    background: var(--sand-soft); border-radius: 10px; padding: 8px; line-height: 1;
  }
  .guide-food-card strong { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 6px; font-weight: 600; }
  .guide-food-card small { font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; }
  .guide-food-note {
    background: linear-gradient(135deg, #edf0e6, #f4f6f0);
    border: 1px solid var(--sage-200);
    border-radius: 12px; padding: 16px 18px;
    font-size: 14px; color: var(--sage-700); line-height: 1.65;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
  }

  /* ── The Fix section ── */
  .guide-fix-section { background: none; }
  .guide-fix-header { margin-bottom: 30px; }
  .guide-fix-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--ink), #3a3830);
    color: var(--sand); font-size: 10px; letter-spacing: .18em;
    padding: 6px 14px; border-radius: 99px; margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
  }
  .guide-fix-grid { display: flex; flex-direction: column; gap: 20px; }
  .guide-fix-block {
    border-radius: 16px; padding: 26px; border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
  }
  .sebderm-fix {
    background: linear-gradient(135deg, rgba(92,104,69,.1) 0%, white 60%);
    border-color: rgba(92,104,69,.2);
  }
  .eczema-fix {
    background: linear-gradient(135deg, rgba(160,72,48,.08) 0%, white 60%);
    border-color: rgba(160,72,48,.18);
  }
  .guide-fix-block-head { margin-bottom: 16px; }
  .guide-fix-reason {
    font-size: 14px; line-height: 1.7; color: var(--ink-soft);
    margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
  }
  .guide-fix-products { display: flex; flex-direction: column; gap: 10px; }

  /* ── Guide product card (inline) ── */
  .guide-product-card {
    display: flex; align-items: center; gap: 14px;
    background: white; border: 1px solid var(--border);
    border-radius: 14px; padding: 13px 16px; text-decoration: none; color: inherit;
    transition: box-shadow .2s, border-color .2s, transform .2s;
    box-shadow: 0 1px 6px rgba(0,0,0,.05);
  }
  .guide-product-card:hover { border-color: var(--sage-400); box-shadow: 0 6px 20px rgba(0,0,0,.1); transform: translateX(3px); }
  .gpc-thumb {
    width: 54px; height: 54px; border-radius: 10px; flex-shrink: 0;
    background: var(--sage-50); display: flex; align-items: center; justify-content: center;
    overflow: hidden;
  }
  .gpc-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
  .gpc-initial { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--sage-700); }
  .gpc-body { flex: 1; min-width: 0; }
  .gpc-label { display: block; font-size: 10px; letter-spacing: .1em; color: var(--sage-600); margin-bottom: 3px; font-weight: 500; }
  .gpc-body strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); }
  .gpc-body small { display: block; font-size: 12px; color: var(--mist); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .gpc-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex-shrink: 0; }
  .gpc-price { font-size: 14px; font-weight: 700; color: var(--sage-700); font-family: 'DM Sans'; }

  /* ── Closing CTA ── */
  .guide-closing-card {
    background: linear-gradient(135deg, var(--ink) 0%, #2c3820 100%);
    border-radius: 20px; padding: 40px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 12px 40px rgba(0,0,0,.2);
    position: relative; overflow: hidden;
  }
  .guide-closing-card::before {
    content: ''; position: absolute; top: -60px; right: -60px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(92,104,69,.3) 0%, transparent 70%);
    pointer-events: none;
  }
  .guide-closing-card h3 { font-size: 23px; color: white; margin: 0 0 10px; font-family: 'DM Serif Display', serif; position: relative; }
  .guide-closing-card p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.65; margin: 0; max-width: 400px; position: relative; }
  .guide-closing-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; position: relative; }
  .guide-closing-actions .btn-outline { border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.8); }
  .guide-closing-actions .btn-outline:hover { border-color: white; color: white; }

  /* ── Photo grid ── */
  .guide-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px; margin-top: 28px;
  }
  .guide-photo-item {
    border-radius: 10px; overflow: hidden;
    aspect-ratio: 1 / 1; background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    display: flex; align-items: center; justify-content: center;
  }
  .guide-photo-item:first-child {
    grid-column: span 2; grid-row: span 2; border-radius: 14px;
  }
  .guide-photo-item img {
    width: 100%; height: 100%;
    object-fit: contain; display: block; padding: 6px;
    transition: transform .5s ease;
  }
  .guide-photo-item:hover img { transform: scale(1.04); }

  /* ── Eczema 6-type list ── */
  .guide-eczema-types {
    display: flex; flex-direction: column;
    margin-top: 22px;
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
  }
  .guide-eczema-type {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 17px 22px;
    border-bottom: 1px solid var(--border);
    background: white;
    transition: background .15s;
  }
  .guide-eczema-type:last-child { border-bottom: none; }
  .guide-eczema-type:hover { background: rgba(160,72,48,.04); }
  .guide-eczema-num {
    min-width: 30px; height: 30px;
    background: linear-gradient(135deg, #c06040, #e08060);
    color: white;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; flex-shrink: 0; margin-top: 1px;
    box-shadow: 0 2px 6px rgba(160,72,48,.3);
  }
  .guide-eczema-type strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 4px; font-weight: 600; }
  .guide-eczema-type p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.58; margin: 0; }

  /* ── Responsive ── */
  @media (max-width: 860px) {
    .guide-hero { grid-template-columns: 1fr; padding: 60px 20px 0; }
    .guide-hero-split { display: none; }
    .guide-card-grid { grid-template-columns: 1fr; }
    .guide-fact-grid { grid-template-columns: 1fr; }
    .guide-food-grid { grid-template-columns: 1fr; }
    .guide-table thead th, .guide-table td { padding: 10px 12px; font-size: 12.5px; }
    .guide-closing-card { flex-direction: column; align-items: flex-start; padding: 28px; }
    .gpc-cta { flex-direction: row; align-items: center; }
    .guide-photo-grid { grid-template-columns: repeat(3, 1fr); }
    .guide-photo-item:first-child { grid-column: span 2; grid-row: span 1; }
    .sebderm-section, .eczema-section { padding: 24px 20px; margin-left: -20px; margin-right: -20px; }
  }
  @media (max-width: 560px) {
    .guide-photo-grid { grid-template-columns: repeat(2, 1fr); }
    .guide-photo-item:first-child { grid-column: span 2; }
  }

  /* ───────── Footer ───────── */
  .footer {
    background: var(--ink); color: rgba(255,255,255,.65);
    padding: 64px 28px 0;
  }
  .footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
  }
  .footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
  .footer-brand .logo-name { color: rgba(255,255,255,.92); }
  .footer-brand p { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.5); }
  .footer-col h5 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
    color: rgba(255,255,255,.4); margin-bottom: 18px;
    font-weight: 500;
  }
  .footer-col a {
    display: block; font-size: 13.5px;
    color: rgba(255,255,255,.6); text-decoration: none;
    margin-bottom: 12px;
    transition: color .15s;
  }
  .footer-col a:hover { color: rgba(255,255,255,.95); }

  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 22px 0;
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; color: rgba(255,255,255,.4);
  }

  /* Toast */
  .toast {
    position: fixed; bottom: 24px; left: 50%;
    transform: translate(-50%, 60px);
    background: var(--ink); color: var(--sand);
    padding: 12px 20px; border-radius: 999px;
    font-size: 13px; font-weight: 500;
    display: inline-flex; align-items: center; gap: 10px;
    box-shadow: var(--shadow-lg);
    opacity: 0; pointer-events: none;
    transition: all .3s ease;
    z-index: 100;
  }
  .toast.show { opacity: 1; transform: translate(-50%, 0); }

  /* Responsive */
  @media (max-width: 1080px) {
    .hero-grid { grid-template-columns: 1fr; gap: 56px; }
    .routine-grid { grid-template-columns: 1fr; gap: 48px; }
    .spotlight { grid-template-columns: 1fr; gap: 40px; }
    .spot-gallery { position: static; }
    .actives-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 760px) {
    .nav-links { display: none; }
    .nav-hamburger { display: inline-flex; }
    .nav-mobile-menu { display: block; }
    .nav-backdrop { display: block; }
    .nav-inner { padding: 0 20px; }
    .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
    .trust-item { padding-left: 18px; }
    .trust-item:nth-child(odd) { border-left: none; padding-left: 0; }
    .trust-item:nth-child(3) { border-left: none; padding-left: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: span 2; }
    .sect, .routine, .hero, .ingredients, .certs { padding-left: 20px; padding-right: 20px; }
    .sect, .ingredients { padding-top: 64px; padding-bottom: 64px; }
    .hero { padding-top: 110px; }
    .actives-grid { grid-template-columns: 1fr; }
    .spot-claims { grid-template-columns: 1fr; }
    .cert-grid { grid-template-columns: 1fr 1fr; }
    .spot-actions { flex-wrap: wrap; }
    .spot-add { flex: 1 1 100%; }
  }

  /* ──────── Home page additions ──────── */

  .nav-link-active { color: var(--ink) !important; }
  .nav-link-active::after { right: 0 !important; }

  /* User icon in navbar */
  .nav-user-btn { position: relative; text-decoration: none; color: inherit; }
  .nav-user-active { background: var(--sage-50) !important; color: var(--sage-600) !important; }

  .hero-home { min-height: auto; padding-top: 130px; padding-bottom: 80px; }
  .home-hero-grid {
    position: relative; max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1.5fr .9fr; gap: 56px;
    align-items: center;
  }

  /* Brand-story card — recreates the visual feel of the Help Me Heal intro */
  .story-card {
    position: relative;
    background: #6F4E2E;
    color: #F8E9CE;
    border-radius: 4px;
    padding: 38px 30px 32px;
    box-shadow: 0 22px 44px -22px rgba(60,40,20,.5), 0 8px 18px -8px rgba(60,40,20,.22);
    overflow: hidden;
    font-family: 'DM Serif Display', serif;
    align-self: start;
  }
  .story-card::before {
    content: ""; position: absolute; inset: 10px;
    border: 1px solid rgba(248,233,206,.28);
    border-radius: 2px;
    pointer-events: none;
  }
  .story-corner {
    position: absolute; width: 14px; height: 14px;
    border: 1px solid #F8E9CE;
    z-index: 1;
  }
  .story-corner--tl { top: 16px; left: 16px; border-right: none; border-bottom: none; }
  .story-corner--tr { top: 16px; right: 16px; border-left: none; border-bottom: none; }
  .story-corner--bl { bottom: 16px; left: 16px; border-right: none; border-top: none; }
  .story-corner--br { bottom: 16px; right: 16px; border-left: none; border-top: none; }
  .story-stars {
    text-align: center; color: #F8E9CE; opacity: .85;
    margin-bottom: 6px;
  }
  .story-stars svg { width: 13px; height: 13px; }
  .story-title {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    text-align: center;
    font-size: 26px;
    line-height: 1;
    letter-spacing: -0.005em;
    color: #F8E9CE;
  }
  .story-rule {
    width: 44px; height: 1px;
    background: #F8E9CE; opacity: .5;
    margin: 12px auto 16px;
  }
  .story-greeting {
    font-family: 'DM Sans', sans-serif;
    text-align: center;
    font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
    color: #F8E9CE; opacity: .7;
    font-weight: 500;
    margin-bottom: 16px;
  }
  .story-paragraph {
    font-family: var(--font-thai), 'DM Sans', sans-serif;
    font-style: normal;
    font-size: 12.5px; line-height: 1.7;
    color: #F8E9CE; opacity: .82;
    margin-bottom: 10px;
    text-align: center;
    max-width: 320px; margin-left: auto; margin-right: auto;
  }
  .story-paragraph:last-of-type { margin-bottom: 0; }
  .story-mark {
    text-align: center; margin-top: 22px;
    color: #F8E9CE; opacity: .7;
  }

  /* Pillars */
  .pillar-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  }
  .pillar-card {
    position: relative;
    padding: 36px 28px 32px;
    background: var(--chalk);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all .2s ease;
  }
  .pillar-card:hover {
    border-color: var(--sage-300);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  .pillar-num {
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--sage-500);
    font-weight: 500;
  }
  .pillar-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    line-height: 1.15;
    color: var(--ink);
    margin: 14px 0 10px;
  }
  .pillar-card p {
    font-size: 13.5px; line-height: 1.55; color: var(--mist);
  }

  /* Featured product card */
  .featured { padding-top: 64px; padding-bottom: 64px; }
  .feat-card {
    display: grid; grid-template-columns: 1.1fr 1fr;
    gap: 0;
    background: var(--chalk);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    transition: all .25s ease;
    box-shadow: var(--shadow-sm);
  }
  .feat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--sage-200);
  }
  .feat-img {
    background: var(--sage-500);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
  }
  .feat-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .5s ease;
  }
  .feat-card:hover .feat-img img { transform: scale(1.04); }
  .feat-body {
    padding: 48px 48px 44px;
    display: flex; flex-direction: column; gap: 14px;
    justify-content: center;
  }
  .feat-origin {
    font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--sage-500); font-weight: 500;
  }
  .feat-name {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(34px, 4vw, 46px);
    line-height: 1.05;
    color: var(--ink);
    letter-spacing: -0.01em;
  }
  .feat-sub { font-size: 14px; color: var(--mist); margin-top: -4px; }
  .feat-tag {
    font-size: 16px; line-height: 1.5;
    color: var(--ink);
    border-left: 2px solid var(--sage-300);
    padding-left: 14px;
    margin: 4px 0;
  }
  .feat-claim-row {
    display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px;
  }
  .feat-claim {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 12px;
    background: var(--sage-50);
    border: 1px solid var(--sage-100);
    color: var(--sage-600);
    font-size: 12px; font-weight: 500;
    border-radius: 999px;
  }
  .feat-claim svg { color: var(--sage-500); }
  .feat-foot {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border-soft);
  }
  .feat-price {
    font-size: 26px; font-weight: 600; color: var(--ink);
    font-family: 'DM Sans', sans-serif;
  }
  .feat-was {
    font-size: 14px; color: var(--mist-soft);
    text-decoration: line-through;
    margin-left: 10px;
  }
  .feat-cta {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--sage-500);
    font-size: 13.5px; font-weight: 500;
    transition: transform .2s ease;
  }
  .feat-card:hover .feat-cta { transform: translateX(3px); }

  /* Home quiz CTA */
  .quiz-cta-card {
    background: var(--sage-500);
    color: var(--sand);
    padding: 48px 56px;
    border-radius: 20px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    background-image:
      radial-gradient(circle at 100% 0%, rgba(224,214,152,.15), transparent 50%),
      radial-gradient(circle at 0% 100%, rgba(224,214,152,.10), transparent 50%);
  }
  .quiz-cta-card .eyebrow { color: var(--sand); opacity: .82; }
  .quiz-cta-card .eyebrow::before { background: var(--sand); opacity: .65; }
  .quiz-cta-card h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.15;
    color: var(--sand);
    max-width: 520px;
    letter-spacing: -0.01em;
  }
  .quiz-cta-card h2 em { color: var(--chalk); }
  .quiz-cta-card .btn-primary {
    background: var(--sand);
    color: var(--sage-700);
  }
  .quiz-cta-card .btn-primary:hover { background: #FFF; }

  /* ──────── Quiz page additions ──────── */
  .quiz-page {
    min-height: 100vh;
    padding: 130px 28px 80px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
  }
  .quiz-page-inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
  }
  .quiz-page h1 {
    font-size: clamp(40px, 5vw, 60px);
    line-height: 1.05;
    margin: 18px 0 18px;
    letter-spacing: -0.01em;
  }
  .quiz-page h1 em { color: var(--sage-500); }
  .quiz-page-sub {
    font-size: 16px; color: var(--mist);
    line-height: 1.5;
    max-width: 480px; margin: 0 auto 48px;
  }
  .quiz-page .quiz-card {
    text-align: left;
    max-width: 520px; margin: 0 auto;
  }

  /* ──────── Product page additions ──────── */
  .product-hero {
    padding-top: 110px;
    padding-bottom: 56px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--chalk) 100%);
  }
  .breadcrumb {
    max-width: 1200px; margin: 0 auto 26px; padding: 0 28px;
    font-size: 12px; color: var(--mist);
    display: flex; gap: 8px; align-items: center;
  }
  .breadcrumb a { color: var(--mist); text-decoration: none; }
  .breadcrumb a:hover { color: var(--ink); }
  .breadcrumb svg { color: var(--mist-soft); }

  .longdesc {
    background: var(--chalk);
    border-top: 1px solid var(--border);
    padding: 96px 28px;
  }
  .longdesc-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.4fr;
    gap: 64px; align-items: start;
  }
  .longdesc h2 {
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.1; color: var(--ink);
    letter-spacing: -0.01em;
  }
  .longdesc h2 em { color: var(--sage-500); }
  .longdesc-body p {
    font-size: 15.5px; line-height: 1.75; color: var(--ink);
    margin-bottom: 18px;
  }
  .longdesc-body p:last-child { margin-bottom: 0; color: var(--mist); }

  .authenticity {
    margin-top: 30px;
    padding: 20px 22px;
    background: var(--sage-50);
    border: 1px solid var(--sage-100);
    border-radius: 14px;
    display: flex; gap: 14px; align-items: flex-start;
  }
  .authenticity-icon {
    width: 36px; height: 36px;
    background: var(--sage-500); color: var(--sand);
    border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .authenticity strong {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--sage-600); margin-bottom: 6px;
  }
  .authenticity p {
    font-size: 13.5px; line-height: 1.6; color: var(--ink);
    margin: 0;
  }

  /* FAQ */
  .faq {
    background: var(--cream);
    padding: 96px 28px;
    border-top: 1px solid var(--border);
  }
  .faq-list {
    max-width: 800px; margin: 32px auto 0;
    display: flex; flex-direction: column;
    border-top: 1px solid var(--border);
  }
  .faq-item {
    border-bottom: 1px solid var(--border);
  }
  .faq-q {
    width: 100%; background: none; border: none;
    padding: 22px 4px;
    display: flex; justify-content: space-between; align-items: center;
    text-align: left;
    font-family: 'DM Serif Display', serif;
    font-size: 18px; color: var(--ink);
    cursor: pointer;
  }
  .faq-q:hover { color: var(--sage-600); }
  .faq-q-icon {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--sage-50);
    color: var(--sage-500);
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform .25s ease;
    flex-shrink: 0;
  }
  .faq-item.open .faq-q-icon { transform: rotate(45deg); }
  .faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding: 0 4px;
  }
  .faq-item.open .faq-a {
    max-height: 600px;
    padding: 0 4px 22px;
  }
  .faq-a p {
    font-size: 14.5px; line-height: 1.6; color: var(--mist);
  }
  .faq-bullets {
    margin: 12px 0 0 0; padding: 0;
    list-style: none; display: flex; flex-direction: column; gap: 8px;
  }
  .faq-bullets li {
    font-size: 14px; line-height: 1.6; color: var(--mist);
    display: flex; gap: 10px; align-items: flex-start;
    background: var(--sage-50); border-radius: 8px; padding: 10px 14px;
  }
  .faq-bullets li::before {
    content: "›"; color: var(--sage-500); font-size: 18px; line-height: 1.2;
    flex-shrink: 0; font-family: 'DM Serif Display', serif;
  }
  .faq-bullets li strong { color: var(--ink); }

  @media (max-width: 1080px) {
    .home-hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .pillar-grid { grid-template-columns: 1fr; gap: 12px; }
    .feat-card { grid-template-columns: 1fr; }
    .feat-body { padding: 36px 32px; }
    .quiz-cta-card { padding: 36px 32px; }
    .longdesc-grid { grid-template-columns: 1fr; gap: 32px; }
  }
  @media (max-width: 760px) {
    .quiz-page { padding-top: 110px; }
    .longdesc, .faq { padding-left: 20px; padding-right: 20px; }
    .longdesc, .faq { padding-top: 64px; padding-bottom: 64px; }
    .feat-body { padding: 28px 22px; }
    .quiz-cta-card { padding: 28px 24px; }
  }


  /* ──────── Thai font stack (tweakable via --font-thai) ──────── */
  :root { --font-thai: 'Noto Sans Thai', 'DM Sans', system-ui, sans-serif; }
  body { font-family: 'DM Sans', var(--font-thai); }
  h1, h2, h3, h4 { font-family: 'DM Serif Display', var(--font-thai), Georgia, serif; }
  [lang="th"], .th, :lang(th) {
    font-family: var(--font-thai) !important;
    font-feature-settings: "liga" on, "kern" on;
    letter-spacing: 0;
  }
  h1[lang="th"], h2[lang="th"], h3[lang="th"], h4[lang="th"], .th-display {
    font-family: var(--font-thai) !important;
    font-weight: 700;
  }

  /* ──────── Compact, refined brand-story card ──────── */
  .story-card {
    padding: 36px 32px 32px !important;
    border-radius: 6px !important;
  }
  .story-card::before { inset: 10px !important; }
  .story-corner { width: 16px !important; height: 16px !important; }
  .story-corner--tl { top: 18px; left: 18px; }
  .story-corner--tr { top: 18px; right: 18px; }
  .story-corner--bl { bottom: 18px; left: 18px; }
  .story-corner--br { bottom: 18px; right: 18px; }
  .story-stars { margin-bottom: 8px !important; }
  .story-stars svg { width: 16px !important; height: 16px !important; }
  .story-title {
    font-size: 30px !important;
    letter-spacing: 0 !important;
  }
  .story-rule { margin: 14px auto 18px !important; }
  .story-greeting {
    font-size: 11px !important;
    letter-spacing: .22em !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    opacity: .75 !important;
    margin-bottom: 18px !important;
  }
  .story-paragraph {
    font-family: var(--font-thai) !important;
    font-size: 13.5px !important;
    line-height: 1.7 !important;
    opacity: .92 !important;
    max-width: 360px !important;
    margin-bottom: 10px !important;
  }
  .story-paragraph:last-of-type { margin-bottom: 0 !important; }
  .story-signature {
    display: block;
    text-align: center;
    margin-top: 22px;
    font-size: 12px;
    font-style: italic;
    opacity: .65;
    font-family: 'DM Serif Display', serif;
  }
  .story-mark { display: none; }

  /* ──────── 5-card product grid (homepage) ──────── */
  .home-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 36px;
  }
  /* First card spans 2 cols × 2 rows = hero feature */
  .home-grid .home-card.hero {
    grid-column: span 2;
    grid-row: span 2;
  }
  .home-card {
    position: relative;
    background: var(--chalk);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex; flex-direction: column;
    transition: all .25s ease;
  }
  .home-card:hover {
    transform: translateY(-3px);
    border-color: var(--sage-200);
    box-shadow: var(--shadow-md);
  }
  .home-card .home-card-img {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--sage-50);
  }
  .home-card.hero .home-card-img {
    aspect-ratio: 1 / 1.02;
    background: var(--sage-500);
  }
  .home-card .home-card-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .5s ease;
  }
  .home-card:hover .home-card-img img { transform: scale(1.04); }
  .home-card-pill {
    position: absolute; top: 14px; left: 14px;
    padding: 5px 11px;
    background: rgba(255,253,248,.94);
    backdrop-filter: blur(6px);
    border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; letter-spacing: .12em;
    color: var(--sage-600); font-weight: 500;
    text-transform: uppercase;
  }
  .home-card-pill.coming {
    background: rgba(0,0,0,.55);
    color: rgba(255,255,255,.95);
    backdrop-filter: blur(6px);
  }
  .home-card-body {
    padding: 18px 20px 20px;
    display: flex; flex-direction: column; gap: 6px; flex: 1;
  }
  .home-card.hero .home-card-body {
    padding: 22px 24px 24px;
  }
  .home-card-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; letter-spacing: .14em;
    color: var(--mist); text-transform: uppercase;
  }
  .home-card-name {
    font-family: 'DM Serif Display', 'IBM Plex Sans Thai Looped', serif;
    font-size: 20px; line-height: 1.15; color: var(--ink);
  }
  .home-card.hero .home-card-name {
    font-size: 28px;
  }
  .home-card-name-th {
    font-family: var(--font-thai);
    font-size: 13px;
    color: var(--mist);
    margin-top: -2px;
  }
  .home-card-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-soft);
    display: flex; justify-content: space-between; align-items: center;
  }
  .home-card-price {
    font-size: 16px; font-weight: 600; color: var(--ink);
  }
  .home-card.hero .home-card-price {
    font-size: 22px;
  }
  .home-card-was {
    font-size: 12px;
    color: var(--mist-soft);
    text-decoration: line-through;
    margin-left: 8px;
  }
  .home-card-cta {
    font-size: 12.5px; color: var(--sage-500); font-weight: 500;
    display: inline-flex; align-items: center; gap: 4px;
  }
  .home-card.upcoming {
    border-style: dashed;
    background: var(--cream);
  }
  .home-card.upcoming .home-card-img {
    background: var(--cream);
    display: flex; align-items: center; justify-content: center;
    border-bottom: 1px dashed var(--border);
  }
  .home-card.upcoming .home-card-mark {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--chalk);
    border: 1px dashed var(--mist-soft);
    display: flex; align-items: center; justify-content: center;
    color: var(--mist);
  }
  .home-card.upcoming .home-card-name { color: var(--ink); }
  .home-card.upcoming .home-card-eta {
    font-size: 11px;
    color: var(--sage-500);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .home-card.upcoming .home-card-foot {
    border-top-style: dashed;
  }

  @media (max-width: 1080px) {
    .home-grid { grid-template-columns: repeat(2, 1fr); }
    .home-grid .home-card.hero { grid-column: span 2; grid-row: auto; }
  }
  @media (max-width: 600px) {
    /* 2 cards per row on phone — hero still full-width on top */
    .home-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .home-grid .home-card.hero { grid-column: span 2; grid-row: auto; }

    /* Compact card body for small screens */
    .home-card-body { padding: 12px 12px 14px; gap: 4px; }
    .home-card.hero .home-card-body { padding: 16px 16px 18px; }
    .home-card-name { font-size: 14px; }
    .home-card.hero .home-card-name { font-size: 20px; }
    .home-card-name-th { font-size: 11px; }
    .home-card-price { font-size: 13px; }
    .home-card.hero .home-card-price { font-size: 18px; }
    .home-card-cta { font-size: 11px; }
    .home-card-foot { padding-top: 10px; }
    .home-card-pill { font-size: 9px; padding: 4px 9px; top: 10px; left: 10px; }
  }


/* ============================================================
   GIMMICK / COOL ADDITIONS
   ============================================================ */

/* Marquee strip — runs above the trust bar */
.marquee {
  background: var(--ink);
  color: var(--sand);
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-track {
  display: flex; gap: 48px;
  padding: 14px 0;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 14px; }
.marquee-track .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sand); opacity: .5; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Hero "noise" canvas + parallax orbs */
.hero-orb {
  position: absolute; border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: multiply;
  filter: blur(40px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.hero-orb.a { width: 380px; height: 380px; background: rgba(174,186,138,.55); top: -80px; right: -60px; }
.hero-orb.b { width: 280px; height: 280px; background: rgba(224,214,152,.6);  bottom: -40px; left: 12%; }
.hero-orb.c { width: 200px; height: 200px; background: rgba(122,80,48,.25);   top: 38%;     left: -60px; }

/* Hero ticker badges */
.hero-ticker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 12px;
  background: var(--chalk);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 18px;
  font-size: 12px; color: var(--mist);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .04em;
}
.hero-ticker .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #5C6845;
  position: relative;
}
.hero-ticker .pulse::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 1px solid #5C6845; opacity: .6;
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  from { transform: scale(1); opacity: .6; }
  to   { transform: scale(2.2); opacity: 0; }
}
.hero-ticker .chip {
  background: var(--sage-50); color: var(--sage-600);
  padding: 5px 10px; border-radius: 999px;
  font-weight: 500;
}

/* Headline with rotating word */
.rotator-wrap {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  min-width: 4ch;
  text-align: left;
}
.rotator {
  display: inline-block;
  color: var(--sage-500);
  font-style: italic;
  font-family: 'DM Serif Display', 'Noto Sans Thai', serif;
  position: relative;
  white-space: nowrap;
}
.rotator-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  position: relative;
}
.rotator-word {
  display: inline-block;
  transition: transform .55s cubic-bezier(.7,0,.2,1), opacity .35s ease;
}
.rotator-word.exit { transform: translateY(-110%); opacity: 0; }
.rotator-word.enter { transform: translateY(110%); opacity: 0; }

/* Underline-stroke decoration */
.scribble {
  position: relative; display: inline-block; padding: 0 2px;
}
.scribble::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='8' viewBox='0 0 200 8'%3E%3Cpath d='M2 5 C 30 1, 60 7, 100 4 S 170 6, 198 3' stroke='%23E0D698' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
}

/* Featured product (single, big) */
.feature-shelf {
  background: var(--cream);
  padding: 64px 28px 96px;
}
.feature-card {
  position: relative;
  background: var(--chalk);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 460px;
}
.feature-card::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 28px;
  pointer-events: none;
  box-shadow: 0 60px 120px -60px rgba(44,42,36,.35);
}
.feature-img {
  position: relative;
  background: linear-gradient(135deg, #4A5537 0%, #5C6845 50%, #6E7A52 100%);
  overflow: hidden;
}
.feature-img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.feature-img .stamp {
  position: absolute; top: 22px; left: 22px;
  padding: 6px 14px; background: rgba(255,253,248,.92);
  border-radius: 999px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sage-700); font-weight: 500;
  backdrop-filter: blur(6px);
}
.feature-img .seal {
  position: absolute; bottom: 22px; right: 22px;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--sand);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 13px; color: var(--sage-700);
  text-align: center; line-height: 1.1;
  animation: spin 22s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.feature-body {
  padding: 56px 56px 48px;
  display: flex; flex-direction: column; gap: 14px;
  justify-content: center;
}
.feature-body .pcard-tag { font-size: 11px; letter-spacing: .16em; }
.feature-body h3 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1; letter-spacing: -0.015em;
  color: var(--ink);
}
.feature-body .feat-th { font-size: 16px; color: var(--mist); margin-top: 4px; }
.feature-body .feat-tag {
  font-size: 17px; line-height: 1.5;
  color: var(--ink);
  border-left: 2px solid var(--sage-300);
  padding-left: 14px;
  margin: 6px 0 10px;
}

/* Catalog — gimmicky filter bar + grid */
.catalog {
  background: var(--cream);
  padding: 80px 28px 96px;
  border-top: 1px solid var(--border);
}
.catalog-controls {
  display: flex; flex-direction: column; gap: 18px;
  margin-bottom: 36px;
}
.filter-row {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.filter-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .16em;
  color: var(--mist); text-transform: uppercase;
  min-width: 88px;
}
.filter-pills {
  display: flex; gap: 6px; flex-wrap: wrap; flex: 1;
}
.fpill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: var(--chalk);
  border: 1px solid var(--border);
  color: var(--mist);
  font-size: 12.5px; font-weight: 500;
  border-radius: 999px;
  transition: all .18s ease;
  cursor: pointer;
}
.fpill .count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  background: var(--sage-50); color: var(--sage-600);
  padding: 1px 7px; border-radius: 999px;
  transition: all .18s ease;
}
.fpill:hover { border-color: var(--sage-300); color: var(--ink); transform: translateY(-1px); }
.fpill.active {
  background: var(--ink); color: var(--sand); border-color: var(--ink);
  box-shadow: 0 4px 10px -4px rgba(44,42,36,.4);
}
.fpill.active .count { background: rgba(224,214,152,.18); color: var(--sand); }
.fpill .country { font-size: 13px; }

/* Catalog grid (4-up) */
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.cat-card {
  position: relative;
  background: var(--chalk);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: all .25s cubic-bezier(.4,0,.2,1);
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--sage-300);
  box-shadow: 0 20px 40px -16px rgba(44,42,36,.18);
}
.cat-card-img {
  position: relative; aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--sage-50) 0%, var(--sand-soft) 100%);
  overflow: hidden;
}
.cat-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s ease;
}
.cat-card:hover .cat-card-img img { transform: scale(1.06); }

/* Generated visual placeholder when no image */
.cat-ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  color: var(--sage-700);
}
.cat-ph::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      45deg, transparent 0 16px,
      rgba(255,253,248,.32) 16px 17px),
    radial-gradient(circle at 30% 30%, rgba(255,253,248,.5), transparent 60%);
}
.cat-ph .ph-bottle {
  position: relative; z-index: 1;
  width: 64px; height: 92px;
  background: var(--chalk);
  border: 1.5px solid var(--sage-700);
  border-radius: 8px 8px 16px 16px;
  display: flex; align-items: center; justify-content: center;
}
.cat-ph .ph-bottle::before {
  content: ""; position: absolute; top: -10px;
  width: 32px; height: 12px;
  background: var(--chalk);
  border: 1.5px solid var(--sage-700);
  border-radius: 4px 4px 0 0;
}
.cat-ph .ph-bottle::after {
  content: ""; position: absolute; bottom: 8px; left: 8px; right: 8px; height: 26px;
  background: var(--sage-700); opacity: .12; border-radius: 4px;
}
.cat-ph .ph-bottle.tall { height: 108px; }
.cat-ph .ph-bottle.tube { width: 50px; height: 100px; border-radius: 6px 6px 18px 18px; }
.cat-ph .ph-bottle.duo { width: 78px; }
.cat-ph .ph-name {
  position: relative; z-index: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sage-700); opacity: .7;
}
.cat-ph .ph-kind {
  position: relative; z-index: 1;
  font-family: 'DM Serif Display', serif; font-style: italic;
  font-size: 14px; color: var(--sage-700);
}

.cat-card-flag {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: rgba(255,253,248,.95);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: 11px; color: var(--ink);
  font-weight: 500;
}
.cat-card-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 10px;
  background: var(--ink); color: var(--sand);
  border-radius: 999px;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 500;
}
.cat-card-body {
  padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.cat-card-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sage-500);
}
.cat-card-name {
  font-family: 'DM Serif Display', serif;
  font-size: 21px; line-height: 1.1; color: var(--ink);
  letter-spacing: -0.01em;
}
.cat-card-th {
  font-size: 12.5px; color: var(--mist); line-height: 1.3;
}
.cat-card-conds {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-top: 4px;
}
.cat-card-cond {
  padding: 3px 8px;
  background: var(--sage-50);
  border: 1px solid var(--sage-100);
  color: var(--sage-600);
  font-size: 10.5px;
  border-radius: 999px;
}
.cat-card-foot {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--border-soft);
  margin-top: auto;
}
.cat-card-price { font-size: 17px; font-weight: 600; color: var(--ink); }
.cat-card-was { font-size: 12px; color: var(--mist-soft); text-decoration: line-through; margin-left: 6px; }
.cat-card-cta {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--sage-500); font-weight: 500;
  transition: transform .2s ease;
}
.cat-card:hover .cat-card-cta { transform: translateX(3px); }

@media (max-width: 1080px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } .feature-card { grid-template-columns: 1fr; } .feature-body { padding: 36px 32px; } }
@media (max-width: 560px)  { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ─── Letter-by-letter reveal for hero h1 ─── */
.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  animation: charIn .6s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes charIn { to { opacity: 1; transform: translateY(0); } }

/* ─── Quiz "find my fix" floating tag ─── */
.qfix-fab {
  position: fixed; bottom: 24px; left: 24px;
  z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px;
  background: var(--ink); color: var(--sand);
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px; font-weight: 500;
  box-shadow: 0 16px 30px -12px rgba(0,0,0,.5);
  transition: transform .25s ease, background .25s ease;
}
.qfix-fab:hover { transform: translateY(-3px); background: var(--sage-700); }
.qfix-fab .qfix-dot {
  width: 8px; height: 8px; background: var(--sage-300); border-radius: 50%;
  animation: pulse 1.8s ease-out infinite;
}

/* ─── Empty state ─── */
.cat-empty {
  grid-column: 1 / -1;
  padding: 64px 32px; text-align: center;
  border: 1px dashed var(--border); border-radius: 16px;
  color: var(--mist); font-size: 14px;
}
.cat-empty strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; font-family: 'DM Serif Display', serif; }


/* ============== Info page (info.html) ============== */
.info-nav-strip {
  background: var(--cream-100, #F4ECD8);
  border-block: 1px solid var(--border);
  padding: 28px 0;
}
.info-nav-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.info-nav-card {
  position: relative;
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px 26px 24px;
  background: var(--chalk);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  isolation: isolate;
}
.info-nav-card:hover {
  transform: translateY(-3px);
  border-color: var(--sage-600);
  box-shadow: 0 18px 32px -18px rgba(60,80,40,.25);
}
.info-nav-num {
  position: absolute; top: 14px; right: 18px;
  font-size: 11px; letter-spacing: .14em;
  color: var(--sage-600);
  opacity: .7;
}
.info-nav-card strong {
  font-family: 'DM Serif Display', serif;
  font-size: 22px; line-height: 1.15;
  font-weight: 400;
}
.info-nav-card small {
  font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.info-nav-arrow {
  margin-top: 10px; align-self: flex-start;
  display: inline-flex; padding: 6px 10px;
  border: 1px solid var(--border); border-radius: 999px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.info-nav-card:hover .info-nav-arrow {
  background: var(--ink); color: var(--sand); border-color: var(--ink);
}

/* Two-column shipping/returns */
.info-twocol {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.info-block {
  background: var(--chalk);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 36px 32px;
  position: relative;
  overflow: hidden;
}
.info-block:nth-child(1) {
  background: linear-gradient(180deg, var(--chalk) 0%, var(--sage-50) 100%);
}
.info-block-head {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.info-block-icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sage-700); color: var(--sand);
  border-radius: 12px;
  flex-shrink: 0;
}
.info-block-head h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px; line-height: 1.15;
  font-weight: 400; margin-top: 4px;
}
.info-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 16px;
}
.info-list li {
  display: grid; grid-template-columns: 200px 1fr; gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border);
}
.info-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.info-list strong {
  font-size: 14px; color: var(--sage-700);
  font-weight: 600;
}
.info-list span {
  font-size: 13.5px; line-height: 1.6;
  color: var(--ink-soft);
}
.info-list strong + span { color: var(--ink); }
.info-cta {
  margin-top: 26px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: var(--ink); color: var(--sand);
  border-radius: 12px;
  font-size: 13.5px;
}
.info-cta .btn-primary {
  background: var(--sand); color: var(--ink);
  font-size: 13px; padding: 10px 14px;
}

/* Contact section */
.contact-sect {
  background: var(--ink); color: var(--sand);
  padding: 96px 0;
}
.contact-sect .eyebrow,
.contact-sect .sect-head h2,
.contact-sect .lede { color: var(--sand); }
.contact-sect .lede { opacity: .7; }
.contact-sect h2 em { color: var(--sage-300); }
.contact-card {
  display: grid; grid-template-columns: 1.3fr .9fr; gap: 32px;
  background: rgba(248,233,206,.04);
  border: 1px solid rgba(248,233,206,.18);
  border-radius: 24px;
  padding: 48px 48px 44px;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(248,233,206,.10);
  border-radius: 14px;
  pointer-events: none;
}
.contact-card-left {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 16px;
}
.contact-mark {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .25em;
  background: #06C755; color: #fff;
  padding: 6px 12px; border-radius: 4px;
  align-self: flex-start;
}
.contact-id {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1; font-weight: 400;
  color: var(--sand);
}
.contact-card-left p {
  font-size: 14px; line-height: 1.7;
  color: var(--sand); opacity: .82;
  max-width: 420px;
}
.contact-meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 8px;
  font-size: 12.5px; color: var(--sand); opacity: .7;
}
.contact-meta span {
  display: inline-flex; align-items: center; gap: 8px;
}
.dot-live {
  width: 8px; height: 8px; background: #06C755; border-radius: 50%;
  display: inline-block;
  animation: pulse 1.8s ease-out infinite;
}
.contact-card-right {
  display: flex; flex-direction: column; gap: 16px;
  align-items: stretch;
  position: relative; z-index: 1;
}
.qr-frame {
  background: var(--ink);
  border-radius: 16px;
  padding: 22px 22px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.qr-caption { color: rgba(245,239,228,.45) !important; }
.qr-pattern {
  position: relative;
  width: 100%; aspect-ratio: 1;
  display: grid; grid-template-columns: repeat(16, 1fr); gap: 1.5px;
  background: var(--sand);
}
.qr-pattern span {
  background: transparent;
}
.qr-pattern span.on {
  background: var(--ink);
  border-radius: 1px;
}
.qr-eye {
  position: absolute; width: 22%; height: 22%;
  background: var(--sand);
  border: 4px solid var(--ink);
  border-radius: 4px;
}
.qr-eye-tl { top: 0; left: 0; }
.qr-eye-tr { top: 0; right: 0; }
.qr-eye-bl { bottom: 0; left: 0; }
.qr-eye::after {
  content: ""; position: absolute; inset: 22%;
  background: var(--ink); border-radius: 1px;
}
.qr-real { line-height: 0; width: 180px; height: 180px; }
.qr-real img, .qr-real canvas { display: block; width: 180px !important; height: 180px !important; }
.qr-caption {
  font-size: 10px; letter-spacing: .25em;
  color: var(--ink); opacity: .55;
}

/* FAQ template specific */
.faq-status {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px;
  padding: 8px 14px;
  background: var(--cream-100, #F4ECD8);
  border: 1px solid var(--border); border-radius: 999px;
  font-size: 12px; color: var(--ink-soft);
}
.faq-cat { margin-top: 56px; }
.faq-cat-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.faq-cat-num {
  font-size: 11px; letter-spacing: .18em;
  color: var(--sage-600);
}
.faq-cat-head h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px; line-height: 1.1;
  font-weight: 400;
}
.faq-q-num {
  font-size: 11px; letter-spacing: .12em;
  color: var(--sage-600);
  margin-right: 10px;
}
.faq-item--tpl .faq-q span:first-child {
  color: var(--ink-soft);
  font-style: italic;
}
.faq-item--tpl.open .faq-q span:first-child { color: var(--ink); }
.faq-foot {
  margin-top: 56px;
  padding: 28px 32px;
  background: var(--cream-100, #F4ECD8);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  font-size: 14.5px;
  color: var(--ink);
}

/* Responsive */
@media (max-width: 1080px) {
  .info-nav-grid { grid-template-columns: 1fr; }
  .info-twocol { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; padding: 36px 28px; }
  .info-list li { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 640px) {
  .contact-card { padding: 28px 20px; }
  .info-block { padding: 28px 22px; }
  .faq-foot { padding: 22px 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   CHECKOUT PAGE
══════════════════════════════════════════════════════════════════ */
.ck-main {
  min-height: 100vh;
  padding-top: 90px;
  padding-bottom: 80px;
  background: var(--cream);
}
.ck-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.ck-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.ck-title {
  font-size: 26px;
  font-family: 'DM Serif Display', serif;
}
.ck-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--mist);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.ck-back:hover { background: var(--sage-50); color: var(--ink); }

/* Steps */
.ck-steps {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  gap: 0;
}
.ck-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--mist-soft);
}
.ck-step.active { color: var(--sage-600); }
.ck-step.done   { color: var(--sage-500); }
.ck-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--border);
  color: var(--mist);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
  flex-shrink: 0;
  transition: all .2s;
}
.ck-step.active .ck-step-num {
  background: var(--sage-500);
  color: white;
  box-shadow: 0 2px 10px rgba(92,104,69,.35);
}
.ck-step.done .ck-step-num {
  background: var(--sage-400);
  color: white;
}
.ck-step-line {
  flex: 1;
  height: 1px;
  background: var(--border);
  min-width: 24px;
  max-width: 60px;
  margin: 0 4px;
}
.ck-step-line.done { background: var(--sage-300); }

/* Layout */
.ck-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

/* Card */
.ck-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.ck-card-title {
  font-size: 20px;
  font-family: 'DM Serif Display', serif;
  margin-bottom: 20px;
}
.ck-subtitle {
  font-size: 13.5px;
  color: var(--mist);
  margin-bottom: 24px;
  line-height: 1.6;
}
.ck-info-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--sage-600);
  background: var(--sage-50);
  border: 1px solid var(--sage-100);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 20px;
}
.ck-req { color: #e53e3e; }

/* Form */
.ck-form { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.ck-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ck-field { display: flex; flex-direction: column; gap: 6px; }
.ck-field label { font-size: 12.5px; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.ck-field input,
.ck-field select,
.ck-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: var(--chalk);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.ck-field input:focus,
.ck-field select:focus,
.ck-field textarea:focus {
  border-color: var(--sage-400);
  box-shadow: 0 0 0 3px rgba(92,104,69,.12);
}
.ck-field textarea { resize: vertical; }

/* Buttons */
.ck-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  background: var(--sage-500);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, transform .1s;
  text-decoration: none;
}
.ck-btn-primary:hover:not(:disabled) { background: var(--sage-600); }
.ck-btn-primary:active:not(:disabled) { transform: scale(.98); }
.ck-btn-primary:disabled { opacity: .55; cursor: not-allowed; }
.ck-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 24px;
  background: transparent;
  color: var(--mist);
  border: none;
  font-size: 13.5px;
  cursor: pointer;
  margin-top: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ck-btn-ghost:hover { color: var(--ink); }

/* Bank transfer card */
.ck-bank-card {
  display: flex;
  gap: 16px;
  background: linear-gradient(135deg, #fff9e6, #fff3cc);
  border: 1.5px solid #f0dc82;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}
.ck-bank-logo {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #1a6b34, #2a8b44);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 13px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
}
.ck-bank-info { flex: 1; }
.ck-bank-name { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.ck-bank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.ck-bank-label {
  font-size: 12px;
  color: var(--mist);
  min-width: 60px;
}
.ck-bank-value {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.ck-bank-total-row { margin-top: 4px; padding-top: 10px; border-top: 1px solid rgba(0,0,0,.07); }
.ck-bank-total {
  font-size: 20px;
  font-weight: 700;
  color: #1a6b34;
}
.ck-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 11.5px;
  color: var(--mist);
  background: white;
  cursor: pointer;
  transition: all .15s;
}
.ck-copy-btn:hover { border-color: var(--sage-300); color: var(--sage-600); background: var(--sage-50); }
.ck-copy-btn.copied { border-color: var(--sage-400); color: var(--sage-600); background: var(--sage-50); }
.ck-order-ref {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--mist);
  margin-bottom: 14px;
}
.ck-order-ref .mono { color: var(--ink); font-size: 12.5px; }
.ck-bank-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: #92400e;
  margin-bottom: 24px;
  line-height: 1.55;
}

/* Slip upload */
.ck-drop-zone {
  border: 2px dashed var(--border);
  border-radius: 16px;
  background: var(--chalk);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  overflow: hidden;
  margin-bottom: 12px;
}
.ck-drop-zone:hover { border-color: var(--sage-300); background: var(--sage-50); }
.ck-drop-zone.has-file { border-color: var(--sage-400); border-style: solid; }
.ck-drop-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  color: var(--mist);
}
.ck-drop-icon {
  width: 52px; height: 52px;
  background: var(--sage-100);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-500);
  margin-bottom: 8px;
}
.ck-drop-inner p { font-size: 14px; font-weight: 500; color: var(--ink); }
.ck-drop-inner small { font-size: 12px; color: var(--mist-soft); }
.ck-slip-preview {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 12px;
}
.ck-file-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--sage-600);
  background: var(--sage-50);
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.ck-file-remove {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--mist);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.ck-error {
  color: #e53e3e;
  font-size: 13px;
  margin-bottom: 12px;
}

/* Done step */
.ck-done-card {
  text-align: center;
  padding: 48px 32px;
}
.ck-done-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--sage-400), var(--sage-500));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  margin: 0 auto 20px;
  box-shadow: 0 4px 18px rgba(92,104,69,.35);
}
.ck-done-card h3 {
  font-size: 26px;
  font-family: 'DM Serif Display', serif;
  margin-bottom: 8px;
}
.ck-done-sub { font-size: 14px; color: var(--mist); margin-bottom: 12px; }
.ck-done-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .05em;
  margin-bottom: 24px;
}
.ck-done-note {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 13.5px;
  color: #92400e;
  line-height: 1.6;
  margin-bottom: 28px;
  text-align: left;
}
.ck-done-note.success {
  background: var(--sage-50);
  border-color: var(--sage-200);
  color: var(--sage-700);
}
.ck-done-note a {
  display: block;
  margin: 8px 0;
  color: var(--sage-600);
  font-weight: 600;
}
.ck-done-actions { display: flex; flex-direction: column; gap: 10px; }

/* Order summary sidebar */
.ck-summary {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 88px;
}
.ck-summary h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.ck-sum-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.ck-sum-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ck-sum-thumb {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--chalk);
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.ck-sum-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.ck-sum-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: var(--sage-400);
  background: linear-gradient(135deg, var(--sage-50), var(--sand-soft));
}
.ck-sum-qty {
  position: absolute;
  top: -5px; right: -5px;
  background: var(--ink);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.ck-sum-info { flex: 1; }
.ck-sum-info p { font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.4; }
.ck-sum-info small { font-size: 11.5px; color: var(--mist-soft); }
.ck-sum-price { font-size: 13.5px; font-weight: 600; color: var(--ink); flex-shrink: 0; }
.ck-sum-totals {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ck-sum-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--mist);
}
.ck-sum-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--ink);
}
.ck-sum-total strong { font-size: 18px; }

/* Saved address picker */
.ck-saved-addresses {
  background: var(--sage-50);
  border: 1.5px solid var(--sage-100);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 20px;
}
.ck-saved-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--sage-600);
  margin-bottom: 10px;
}
.ck-saved-list { display: flex; flex-direction: column; gap: 6px; }
.ck-saved-addr-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 10px 14px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, box-shadow .15s;
  position: relative;
}
.ck-saved-addr-btn:hover { border-color: var(--sage-400); box-shadow: 0 2px 8px rgba(92,104,69,.1); }
.ck-saved-addr-name   { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ck-saved-addr-detail { font-size: 12.5px; color: var(--mist); line-height: 1.4; }
.ck-saved-default {
  position: absolute;
  top: 8px; right: 10px;
  font-size: 10.5px;
  background: var(--sage-500);
  color: white;
  padding: 2px 7px;
  border-radius: 5px;
}

/* Save address checkbox */
.ck-save-addr-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--sage-50);
  border: 1px solid var(--sage-100);
  border-radius: 10px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--sage-700);
}
.ck-save-addr-toggle input[type=checkbox] { width: 16px; height: 16px; cursor: pointer; flex-shrink: 0; }

/* Login nudge for guests */
.ck-login-nudge {
  text-align: center;
  font-size: 13px;
  color: var(--mist);
  margin-top: 12px;
}
.ck-login-nudge a { color: var(--sage-600); font-weight: 500; }

/* Checkout responsive */
@media (max-width: 860px) {
  .ck-layout { grid-template-columns: 1fr; }
  .ck-right { order: -1; }
  .ck-summary { position: static; }
  .ck-steps .ck-step span { display: none; }
}
@media (max-width: 560px) {
  .ck-card { padding: 22px 18px; }
  .ck-field-row { grid-template-columns: 1fr; }
}

/* cart-checkout as link */
a.cart-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════
   ACCOUNT PAGE
══════════════════════════════════════════════════════════════════ */
.acc-main {
  min-height: 100vh;
  padding-top: 90px;
  padding-bottom: 80px;
  background: var(--cream);
}
.acc-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}
.acc-page-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.acc-page-header h2 {
  font-size: 26px;
  font-family: 'DM Serif Display', serif;
}

/* Auth panel */
.acc-auth-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 16px;
}
.acc-auth-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 420px;
}
.acc-auth-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.acc-auth-logo img { width: 40px; height: 40px; border-radius: 50%; }
.acc-auth-logo h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
}
.acc-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 22px;
}
.acc-tab {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--mist);
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1.5px;
  cursor: pointer;
  transition: all .15s;
}
.acc-tab.active { color: var(--sage-600); border-bottom-color: var(--sage-500); }

/* Alerts */
.acc-alert {
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 16px;
  line-height: 1.5;
}
.acc-alert.error   { background: #fff0f0; border: 1px solid #fca5a5; color: #b91c1c; }
.acc-alert.success { background: var(--sage-50); border: 1px solid var(--sage-200); color: var(--sage-700); }

/* Forms */
.acc-form { display: flex; flex-direction: column; gap: 14px; }
.acc-field { display: flex; flex-direction: column; gap: 5px; }
.acc-field label { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.acc-field input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: var(--chalk);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.acc-field input:focus {
  border-color: var(--sage-400);
  box-shadow: 0 0 0 3px rgba(92,104,69,.12);
}
.acc-btn-primary {
  width: 100%;
  padding: 13px 20px;
  background: var(--sage-500);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
  transition: background .15s;
}
.acc-btn-primary:hover:not(:disabled) { background: var(--sage-600); }
.acc-btn-primary:disabled { opacity: .55; cursor: not-allowed; }
.acc-btn-link {
  background: none;
  border: none;
  color: var(--mist);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  width: 100%;
  text-align: center;
  margin-top: 8px;
}
.acc-btn-link:hover { color: var(--sage-600); }
.acc-btn-sm {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--sage-500);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s;
}
.acc-btn-sm:hover { background: var(--sage-600); }

/* Dashboard */
.acc-dashboard { width: 100%; }
.acc-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.acc-welcome { font-size: 14.5px; color: var(--ink); }
.acc-email { font-size: 12px; color: var(--mist-soft); margin-top: 3px; }
.acc-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  font-size: 13px;
  color: var(--mist);
  cursor: pointer;
  transition: all .15s;
}
.acc-logout-btn:hover { border-color: #fca5a5; color: #b91c1c; background: #fff0f0; }

/* Tab nav */
.acc-tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 24px;
}
.acc-tab-nav-btn {
  padding: 10px 18px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--mist);
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1.5px;
  cursor: pointer;
  transition: all .15s;
}
.acc-tab-nav-btn.active { color: var(--sage-600); border-bottom-color: var(--sage-500); }

/* Section */
.acc-section h4 {
  font-size: 17px;
  font-family: 'DM Serif Display', serif;
  margin-bottom: 16px;
}
.acc-loading { text-align: center; padding: 48px; color: var(--mist); }
.acc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px;
  color: var(--mist);
  text-align: center;
}

/* Status badge */
.acc-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Order card */
.acc-order-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
}
.acc-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  transition: background .15s;
  flex-wrap: wrap;
  gap: 10px;
}
.acc-order-head:hover { background: var(--sage-50); }
.acc-order-meta { display: flex; flex-direction: column; gap: 3px; }
.acc-order-num { font-size: 13.5px; color: var(--ink); }
.acc-order-date { font-size: 12px; color: var(--mist-soft); }
.acc-order-right { display: flex; align-items: center; gap: 12px; }
.acc-order-total { font-size: 15px; color: var(--ink); }
.acc-order-chevron { font-size: 10px; color: var(--mist-soft); }
.acc-order-body {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.acc-order-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.acc-order-thumb {
  width: 44px; height: 44px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--chalk);
  border: 1px solid var(--border);
}
.acc-order-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.acc-order-thumb-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  font-family: 'DM Serif Display', serif;
  color: var(--sage-400);
}
.acc-order-item-info { flex: 1; }
.acc-order-item-info p { font-size: 13.5px; color: var(--ink); }
.acc-order-item-info small { font-size: 12px; color: var(--mist); }
.acc-order-addr {
  font-size: 12.5px;
  color: var(--mist);
  line-height: 1.6;
  border-top: 1px solid var(--border-soft);
  padding-top: 10px;
}
.acc-order-addr strong { color: var(--ink); margin-right: 6px; }
.acc-order-tracking {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--sage-600);
  background: var(--sage-50);
  padding: 8px 12px;
  border-radius: 8px;
}
.acc-order-action {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Profile form */
.acc-profile-email {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--mist);
  margin-bottom: 18px;
}
.acc-profile-form { max-width: 480px; }

/* ═══════════════════════════════════════════════════════════════
   ADMIN PANEL
══════════════════════════════════════════════════════════════════ */
.adm-layout {
  display: flex;
  min-height: 100vh;
  background: #f4f5f7;
}
.adm-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-size: 15px;
  color: var(--mist);
  background: #f4f5f7;
}

/* Sidebar */
.adm-sidebar {
  width: 220px;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 10;
}
.adm-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.adm-sidebar-logo img { width: 32px; height: 32px; border-radius: 50%; }
.adm-sidebar-logo span {
  font-family: 'DM Serif Display', serif;
  color: rgba(255,255,255,.9);
  font-size: 15px;
}
.adm-sidebar-nav { flex: 1; padding: 12px 8px; }
.adm-sidebar-foot { padding: 8px 8px 16px; border-top: 1px solid rgba(255,255,255,.08); }
.adm-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: none;
  color: rgba(255,255,255,.6);
  font-size: 13.5px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s;
  margin-bottom: 2px;
}
.adm-nav-item:hover { background: rgba(255,255,255,.08); color: rgba(255,255,255,.9); }
.adm-nav-item.active { background: rgba(255,255,255,.12); color: white; }
.adm-logout { color: rgba(255,100,100,.75); }
.adm-logout:hover { color: #f87171 !important; background: rgba(255,100,100,.1) !important; }
.adm-view-site { color: rgba(255,255,255,.5); font-size: 12.5px; }

/* Main area */
.adm-main {
  margin-left: 220px;
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.adm-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 5;
}
.adm-topbar h2 { font-size: 20px; font-family: 'DM Serif Display', serif; }
.adm-topbar-right { display: flex; align-items: center; gap: 14px; }
.adm-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  font-size: 13px;
  color: #6b7280;
  cursor: pointer;
  transition: all .15s;
}
.adm-refresh-btn:hover:not(:disabled) { border-color: var(--sage-300); color: var(--sage-600); }
.adm-admin-email { font-size: 11.5px; color: #9ca3af; }

/* Stats */
.adm-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding: 20px 28px;
}
.adm-stat {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.adm-stat span { font-size: 11px; color: #6b7280; }
.adm-stat strong { font-size: 22px; font-weight: 700; color: #111827; }
.adm-stat.warn strong { color: #d97706; }
.adm-stat.info strong { color: #2563eb; }
.adm-stat.ok   strong { color: #059669; }
.adm-stat.ship strong { color: #7c3aed; }
.adm-stat.rev  strong { color: var(--sage-600); }

/* Content area (table + detail) */
.adm-content {
  display: flex;
  flex: 1;
  padding: 0 28px 28px;
  gap: 16px;
  align-items: flex-start;
}
.adm-table-col { flex: 1; min-width: 0; }
.adm-detail-col { width: 380px; flex-shrink: 0; }

/* Filters */
.adm-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.adm-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 12px;
  flex: 1;
  min-width: 200px;
  color: #6b7280;
}
.adm-search {
  border: none;
  outline: none;
  background: none;
  font-size: 13.5px;
  color: #111827;
  width: 100%;
  font-family: inherit;
}
.adm-filter-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.adm-filter-tab {
  padding: 6px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  font-size: 12.5px;
  color: #6b7280;
  cursor: pointer;
  transition: all .15s;
}
.adm-filter-tab:hover { border-color: var(--sage-300); color: var(--sage-600); }
.adm-filter-tab.active { background: var(--sage-500); color: white; border-color: var(--sage-500); }

/* Table */
.adm-table-wrap {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
}
.adm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.adm-table thead th {
  text-align: left;
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #6b7280;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}
.adm-row {
  cursor: pointer;
  transition: background .12s;
}
.adm-row:hover { background: #f9fafb; }
.adm-row td {
  padding: 12px 14px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}
.adm-row:last-child td { border-bottom: none; }
.adm-td-num { color: var(--ink); font-size: 12.5px; }
.adm-td-date { color: #6b7280; white-space: nowrap; }
.adm-td-customer { display: flex; flex-direction: column; gap: 2px; }
.adm-td-customer small { font-size: 11.5px; color: #9ca3af; }
.adm-td-total { font-weight: 600; color: var(--ink); }
.adm-td-slip small { font-size: 11.5px; color: #9ca3af; }
.adm-td-action { color: #9ca3af; }
.adm-has-slip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--sage-600);
  background: var(--sage-50);
  padding: 3px 8px;
  border-radius: 5px;
}
.adm-no-slip-dot { color: #d1d5db; }
.adm-no-results { text-align: center; padding: 32px; color: #9ca3af; }

/* Badge */
.adm-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* Order detail panel */
.adm-detail-col { min-width: 0; }
.adm-detail {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 22px;
  position: sticky;
  top: 68px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
}
.adm-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f3f4f6;
}
.adm-detail-num { font-size: 14px; color: var(--ink); }
.adm-detail-date { display: block; font-size: 11.5px; color: #9ca3af; margin-top: 3px; }
.adm-close-btn {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all .15s;
}
.adm-close-btn:hover { background: #f3f4f6; color: #374151; }
.adm-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.adm-detail-section {
  background: #f9fafb;
  border-radius: 10px;
  padding: 12px 14px;
}
.adm-detail-section h5 {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #6b7280;
  margin-bottom: 8px;
}
.adm-detail-section p {
  font-size: 13px;
  color: #111827;
  line-height: 1.55;
}
.adm-order-note { color: #6b7280 !important; font-style: italic; margin-top: 6px; }

/* Items in detail */
.adm-detail-items {
  background: #f9fafb;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.adm-detail-items h5 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #6b7280;
  margin-bottom: 10px;
}
.adm-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 13px;
}
.adm-item-row:last-of-type { border-bottom: none; }
.adm-item-img {
  width: 36px; height: 36px;
  border-radius: 6px;
  object-fit: contain;
  border: 1px solid #e5e7eb;
  background: white;
}
.adm-item-img-ph {
  width: 36px; height: 36px;
  border-radius: 6px;
  background: var(--sage-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--sage-400);
  flex-shrink: 0;
}
.adm-item-name { flex: 1; color: #111827; }
.adm-items-total {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #111827;
  border-top: 1px solid #e5e7eb;
  margin-top: 6px;
}

/* Slip section */
.adm-slip-section {
  margin-bottom: 14px;
}
.adm-slip-section h5 {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #6b7280;
  margin-bottom: 10px;
}
.adm-slip-thumb-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  transition: border-color .15s;
}
.adm-slip-thumb-btn:hover { border-color: var(--sage-300); }
.adm-slip-thumb {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  border-radius: 6px;
}
.adm-slip-thumb-btn span { font-size: 11.5px; color: #6b7280; }
.adm-no-slip { font-size: 13px; color: #9ca3af; font-style: italic; }

/* Controls */
.adm-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f9fafb;
  border-radius: 10px;
  padding: 14px;
}
.adm-control-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.adm-notes-row { align-items: flex-start; }
.adm-control-row label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  min-width: 80px;
}
.adm-select,
.adm-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  background: white;
  color: #111827;
  outline: none;
  transition: border-color .15s;
}
.adm-input[rows] { resize: vertical; }
.adm-select:focus, .adm-input:focus { border-color: var(--sage-400); }
.adm-save-btn {
  padding: 10px 18px;
  background: var(--sage-500);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  align-self: flex-end;
}
.adm-save-btn:hover:not(:disabled) { background: var(--sage-600); }
.adm-save-btn:disabled { opacity: .55; cursor: not-allowed; }

/* Slip modal */
.adm-modal-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.adm-modal {
  background: white;
  border-radius: 16px;
  padding: 20px;
  max-width: 600px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.adm-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  background: #f3f4f6;
  border: none;
  border-radius: 8px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #374151;
}
.adm-slip-img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 10px;
  object-fit: contain;
}
.adm-modal-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--sage-600);
  text-decoration: none;
}

/* Admin login */
.adm-login-wrap {
  min-height: 100vh;
  background: #f4f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.adm-login-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 40px 36px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,.08);
}
.adm-login-logo {
  width: 52px; height: 52px;
  border-radius: 50%;
  margin-bottom: 14px;
}
.adm-login-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  margin-bottom: 4px;
}
.adm-login-card > p { font-size: 13px; color: #6b7280; margin-bottom: 24px; }
.adm-login-card .acc-form { text-align: left; }

/* Admin responsive */
@media (max-width: 1100px) {
  .adm-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .adm-sidebar { width: 60px; }
  .adm-sidebar-logo span,
  .adm-nav-item span,
  .adm-sidebar-logo span { display: none; }
  .adm-nav-item { justify-content: center; padding: 12px; }
  .adm-main { margin-left: 60px; }
  .adm-stats { grid-template-columns: repeat(2, 1fr); }
  .adm-content { padding: 0 16px 16px; }
  .adm-topbar { padding: 14px 16px; }
}
@media (max-width: 640px) {
  .adm-detail-grid { grid-template-columns: 1fr; }
  .adm-stats { grid-template-columns: repeat(2, 1fr); padding: 12px 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   ACCOUNT — DASHBOARD (sidebar + content)
══════════════════════════════════════════════════════════════════ */

/* ── Welcome banner (above dashboard grid) ── */
.acc-welcome-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  gap: 16px;
  flex-wrap: wrap;
}
.acc-welcome-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.acc-welcome-avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-400), var(--sage-600));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(92,104,69,.3);
}
.acc-welcome-greeting {
  font-size: 12px;
  color: var(--mist);
  margin-bottom: 3px;
}
.acc-welcome-name {
  font-size: 20px;
  font-family: 'DM Serif Display', serif;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 3px;
}
.acc-welcome-email {
  font-size: 12.5px;
  color: var(--mist-soft);
  font-family: 'JetBrains Mono', monospace;
}
.acc-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  font-size: 13px;
  color: var(--mist);
  cursor: pointer;
  transition: all .15s;
  flex-shrink: 0;
}
.acc-logout-btn:hover { border-color: #fca5a5; color: #b91c1c; background: #fff0f0; }

/* Override old full-width container for dashboard */
.acc-dashboard {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}
.acc-content {
  min-width: 0;
}

/* ── Sidebar ── */
.acc-sidebar {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  position: sticky;
  top: 88px;
  box-shadow: var(--shadow-sm);
}
.acc-sidebar-avatar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 18px;
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(135deg, var(--sage-50), var(--cream));
}
.acc-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-400), var(--sage-600));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
  flex-shrink: 0;
}
.acc-avatar-info strong { display: block; font-size: 13.5px; color: var(--ink); line-height: 1.3; }
.acc-avatar-info small  { font-size: 11.5px; color: var(--mist-soft); }

.acc-sidebar-nav { padding: 8px; }
.acc-sidebar-foot { padding: 8px; border-top: 1px solid var(--border-soft); }

.acc-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: none;
  color: var(--mist);
  font-size: 13.5px;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: all .15s;
  margin-bottom: 2px;
  position: relative;
}
.acc-nav-item:hover { background: var(--sage-50); color: var(--ink); }
.acc-nav-item.active { background: var(--sage-100); color: var(--sage-700); font-weight: 600; }
.acc-logout { color: #b91c1c; }
.acc-logout:hover { background: #fff0f0 !important; color: #991b1b !important; }
.acc-nav-badge {
  margin-left: auto;
  background: #e53e3e;
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* ── Section wrapper ── */
.acc-section {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.acc-section h4 {
  font-size: 18px;
  font-family: 'DM Serif Display', serif;
  margin-bottom: 20px;
}
.acc-sub-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.acc-section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.acc-section-row h4 { margin-bottom: 0; }
.acc-divider {
  height: 1px;
  background: var(--border-soft);
  margin: 28px 0;
}
.acc-inline-link {
  background: none;
  border: none;
  color: var(--sage-500);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
}
.acc-inline-link:hover { color: var(--sage-700); }

/* ── Form grid ── */
.acc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.acc-form-grid .span-full { grid-column: 1 / -1; }
.acc-form-grid .acc-field label { font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 5px; display: block; }
.acc-form-grid .acc-field input,
.acc-form-grid .acc-field select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: var(--chalk);
  color: var(--ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.acc-form-grid .acc-field input:focus,
.acc-form-grid .acc-field select:focus {
  border-color: var(--sage-400);
  box-shadow: 0 0 0 3px rgba(92,104,69,.12);
}
.acc-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.acc-btn-ghost-sm {
  background: none;
  border: none;
  color: var(--mist);
  font-size: 13.5px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.acc-label-chips { display: flex; gap: 6px; margin-top: 6px; }
.acc-default-toggle { align-items: flex-start; }
.acc-checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.acc-checkbox-label input[type=checkbox] { width: 16px; height: 16px; cursor: pointer; }

/* Search + filter chips */
.acc-orders-filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.acc-search {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 13.5px;
  font-family: inherit;
  background: var(--chalk);
  outline: none;
  transition: border-color .15s;
}
.acc-search:focus { border-color: var(--sage-300); }
.acc-filter-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.acc-chip {
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12.5px;
  color: var(--mist);
  background: white;
  cursor: pointer;
  transition: all .15s;
}
.acc-chip:hover  { border-color: var(--sage-300); color: var(--sage-600); }
.acc-chip.active { background: var(--sage-500); color: white; border-color: var(--sage-500); }

/* ── Order cards ── */
.acc-order-card {
  background: var(--chalk);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow .15s;
}
.acc-order-card:hover { box-shadow: var(--shadow-md); }
.acc-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
  flex-wrap: wrap;
  gap: 10px;
}
.acc-order-head-left { display: flex; flex-direction: column; gap: 3px; }
.acc-order-num  { font-size: 13.5px; color: var(--ink); }
.acc-order-date { font-size: 12px; color: var(--mist-soft); }
.acc-order-head-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.acc-order-total { font-size: 15px; }
.acc-chevron { font-size: 10px; color: var(--mist-soft); }
.acc-order-body {
  padding: 16px 18px;
  border-top: 1px solid var(--border);
  background: white;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.acc-order-items { display: flex; flex-direction: column; gap: 8px; }
.acc-order-item { display: flex; align-items: center; gap: 10px; }
.acc-order-thumb {
  width: 44px; height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--chalk);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.acc-order-thumb img { width:100%; height:100%; object-fit:contain; padding:3px; }
.acc-thumb-ph {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  font-size:16px; font-family:'DM Serif Display',serif; color:var(--sage-400);
}
.acc-order-item-info { flex:1; }
.acc-order-item-info p  { font-size:13.5px; color:var(--ink); }
.acc-order-item-info small { font-size:12px; color:var(--mist); }
.acc-item-subtotal { font-size:13.5px; font-weight:600; white-space:nowrap; }
.acc-order-totals {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--mist);
  border-top: 1px solid var(--border-soft);
  padding-top: 10px;
}
.acc-order-totals strong { color: var(--ink); }
.acc-order-addr {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12.5px;
  color: var(--mist);
  line-height: 1.55;
}
.acc-tracking-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--sage-50);
  border: 1px solid var(--sage-100);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--sage-700);
  flex-wrap: wrap;
}
.acc-tracking-num { font-size: 13px; }
.acc-track-link { color: var(--sage-600); font-weight: 600; text-decoration: none; margin-left: auto; }
.acc-track-link:hover { text-decoration: underline; }
.acc-order-actions { display: flex; gap: 10px; padding-top: 4px; }

/* ── Address cards ── */
.acc-addr-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: var(--chalk);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.acc-addr-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.acc-addr-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--sage-600);
  background: var(--sage-50);
  padding: 2px 8px;
  border-radius: 5px;
}
.acc-addr-default-badge {
  font-size: 11px;
  background: var(--sage-500);
  color: white;
  padding: 2px 8px;
  border-radius: 5px;
}
.acc-addr-name { font-size: 13.5px; color: var(--ink); margin-bottom: 3px; }
.acc-addr-text { font-size: 13px; color: var(--mist); line-height: 1.55; }
.acc-addr-actions { display: flex; gap: 6px; align-items: flex-start; flex-wrap: wrap; }
.acc-addr-action-btn {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  font-size: 12.5px;
  color: var(--mist);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.acc-addr-action-btn:hover { border-color: var(--sage-300); color: var(--sage-600); }
.acc-addr-action-btn.danger:hover { border-color: #fca5a5; color: #b91c1c; background: #fff0f0; }
.acc-addr-form-card {
  background: var(--sage-50);
  border: 1.5px dashed var(--sage-200);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 10px;
}
.acc-addr-form-card h5 { font-size: 14px; font-weight: 600; margin-bottom: 16px; color: var(--sage-700); }

/* ── Account tab ── */
.acc-profile-email {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--mist);
  margin-bottom: 16px;
  padding: 8px 12px;
  background: var(--sage-50);
  border-radius: 8px;
}

/* ── OVERVIEW TAB ── */
.acc-reward-card {
  background: linear-gradient(135deg, var(--sage-50) 0%, #f0f4e8 100%);
  border: 1.5px solid var(--sage-100);
  border-radius: 18px;
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}
.acc-reward-ring-wrap { flex-shrink: 0; }
.acc-reward-info { }
.acc-reward-label { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--sage-600); margin-bottom: 4px; }
.acc-reward-title { font-size: 24px; font-family: 'DM Serif Display', serif; color: var(--ink); margin-bottom: 6px; }
.acc-reward-title span { font-size: 15px; color: var(--mist); font-family: 'DM Sans', sans-serif; }
.acc-reward-sub { font-size: 13.5px; color: var(--mist); }
.acc-reward-sub.success { color: #16a34a; font-weight: 600; }
.acc-reward-warn {
  margin-top: 8px;
  font-size: 12.5px;
  color: #92400e;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 6px 10px;
  border-radius: 8px;
  display: inline-block;
}
.acc-reward-progress-bar {
  height: 6px;
  background: var(--sage-100);
  border-radius: 3px;
  margin-top: 12px;
  overflow: hidden;
}
.acc-reward-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sage-400), var(--sage-600));
  border-radius: 3px;
  transition: width .6s ease;
}
.acc-reward-link {
  background: none;
  border: none;
  color: var(--sage-600);
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 500;
}

.acc-voucher-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
  border: 1.5px solid #fbbf24;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 20px;
}
.acc-voucher-banner-icon { font-size: 28px; }
.acc-voucher-banner strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 3px; }
.acc-voucher-banner p { font-size: 12.5px; color: var(--mist); }

.acc-overview-orders { margin-top: 4px; }
.acc-mini-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  flex-wrap: wrap;
  gap: 10px;
}
.acc-mini-order:last-child { border-bottom: none; }
.acc-mini-order-info { display: flex; align-items: center; gap: 10px; }
.acc-mini-order-right { display: flex; align-items: center; gap: 10px; }
.acc-mini-price { font-size: 14px; font-weight: 600; color: var(--ink); }
.acc-empty-sm { font-size: 13.5px; color: var(--mist); padding: 16px 0; }

/* ── REWARDS TAB ── */
.acc-rewards-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  background: linear-gradient(135deg, var(--sage-50), #f0f4e8);
  border: 1.5px solid var(--sage-100);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 24px;
  align-items: center;
}
.acc-rewards-ring-wrap { text-align: center; }
.acc-rewards-ring-label { font-size: 13px; font-weight: 600; color: var(--sage-600); margin-top: 8px; }
.acc-rewards-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.acc-rule-item { text-align: center; }
.acc-rule-num {
  display: block;
  font-size: 36px;
  font-family: 'DM Serif Display', serif;
  color: var(--sage-600);
  line-height: 1;
}
.acc-rule-free { color: #16a34a; }
.acc-rule-item span { font-size: 13px; color: var(--mist); }
.acc-rule-arrow { font-size: 20px; color: var(--mist-soft); }
.acc-rewards-faq { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.acc-rewards-faq li { font-size: 13px; color: var(--mist); line-height: 1.5; }
.acc-rewards-faq strong { color: var(--ink); }

.acc-vouchers-section { margin-bottom: 20px; }
.acc-vouchers-section h5 { font-size: 13px; font-weight: 600; color: var(--mist); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.acc-voucher-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid;
  margin-bottom: 8px;
}
.acc-voucher-card.active { background: linear-gradient(135deg, #f0fdf4, #dcfce7); border-color: #86efac; }
.acc-voucher-card.used   { background: var(--chalk); border-color: var(--border); opacity: .7; }
.acc-voucher-icon { font-size: 22px; }
.acc-voucher-info { flex: 1; }
.acc-voucher-code { font-size: 16px; font-weight: 700; color: var(--ink); display: block; margin-bottom: 3px; letter-spacing: .05em; }
.acc-voucher-info small { font-size: 12px; color: var(--mist); }
.acc-copy-code-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border: 1px solid #86efac;
  border-radius: 8px;
  background: white;
  font-size: 12.5px;
  color: #16a34a;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.acc-copy-code-btn:hover { background: #f0fdf4; }
.acc-voucher-used-badge {
  font-size: 11.5px;
  color: var(--mist);
  background: var(--border);
  padding: 3px 10px;
  border-radius: 6px;
}

.acc-points-timeline { margin-bottom: 20px; }
.acc-points-timeline h5 { font-size: 13px; font-weight: 600; color: var(--mist); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.acc-timeline-group {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
}
.acc-timeline-month {
  font-size: 12px;
  font-weight: 600;
  color: var(--mist);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.acc-expire-warn {
  font-size: 11.5px;
  color: #92400e;
  background: #fff7ed;
  padding: 2px 8px;
  border-radius: 5px;
}
.acc-timeline-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 13.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--border-soft);
}
.acc-timeline-item:last-child { border-bottom: none; }
.acc-timeline-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage-400);
  flex-shrink: 0;
}
.acc-timeline-count {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--sage-600);
  background: var(--sage-50);
  padding: 2px 8px;
  border-radius: 6px;
}

/* ── Auth perks note ── */
.acc-auth-perks {
  text-align: center;
  font-size: 12.5px;
  color: var(--sage-600);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}
.acc-auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.acc-auth-brand img { width: 40px; height: 40px; border-radius: 50%; }
.acc-auth-brand h3 { font-family: 'DM Serif Display', serif; font-size: 18px; margin-bottom: 2px; }
.acc-auth-brand p  { font-size: 12px; color: var(--mist); }

/* ── Empty states ── */
.acc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 24px;
  color: var(--mist);
  text-align: center;
}
.acc-empty p { font-size: 14px; }

/* ── Account responsive ── */
@media (max-width: 900px) {
  .acc-dashboard { grid-template-columns: 1fr; }
  .acc-sidebar { position: static; }
  .acc-sidebar-nav { display: flex; flex-wrap: wrap; gap: 4px; padding: 10px; }
  .acc-sidebar-foot { padding: 10px; }
  .acc-nav-item { width: auto; flex: 0 0 auto; }
  .acc-sidebar-avatar { padding: 16px; }
  .acc-reward-card { grid-template-columns: 1fr; text-align: center; }
  .acc-reward-ring-wrap { margin: 0 auto; }
  .acc-rewards-hero { grid-template-columns: 1fr; text-align: center; }
  .acc-rewards-rule { justify-content: center; }
}
@media (max-width: 600px) {
  .acc-section { padding: 20px 16px; }
  .acc-form-grid { grid-template-columns: 1fr; }
  .acc-order-head { flex-direction: column; align-items: flex-start; }
  .acc-addr-card { flex-direction: column; }
  .acc-reward-card { padding: 16px; }
}
