/*!
 * Xohan Commerce — WordPress / WooCommerce theme styles
 * Version: 1.0.0 | Built for Bangladeshi eCommerce
 * Author: Talukdar Galib <https://talukdargalib.pro.bd> | Copyright: Xohan Digital | License: GPL-2.0-or-later
 * Architecture: CSS Cascade Layers + Custom Properties + OKLCH color system
 * Change brand color: set data-theme on <html> (see THEME PRESETS) or edit --hue/--chroma.
 */

@layer vendor, reset, tokens, base, layout, components, pages, utilities, settings;
/* Font Awesome Free 7 (self-hosted) placed in the lowest-priority layer so theme styles always win */
@import url("../vendor/fontawesome/css/all.min.css") layer(vendor);

/* ========================================================================
   RESET
   ======================================================================== */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { min-height: 100dvh; line-height: 1.6; -webkit-font-smoothing: antialiased; }
  img, picture, svg, video, canvas { display: block; max-width: 100%; height: auto; }
  input, button, textarea, select { font: inherit; color: inherit; }
  button { cursor: pointer; background: none; border: 0; }
  a { color: inherit; text-decoration: none; }
  ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
  p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
  h1, h2, h3, h4 { text-wrap: balance; line-height: 1.2; }
  p { text-wrap: pretty; }
  table { border-collapse: collapse; width: 100%; }
  [hidden] { display: none !important; }
}

/* ========================================================================
   DESIGN TOKENS + THEME PRESETS
   ======================================================================== */
@layer tokens {
  :root {
    /* Brand — set --brand-base / --accent-base to ANY colour (hex, rgb, oklch). Everything else is derived.
       WordPress: output these two from Customizer theme_mods (xc_brand_color, xc_accent_color). */
    --brand-base: var(--xc-brand, #059669);
    --accent-base: var(--xc-accent, #f59e0b);
    --brand-on: var(--xc-brand-on, #ffffff);              /* text colour on brand backgrounds (JS picks #fff or #111 for custom colours) */

    --brand: var(--brand-base);
    --brand-hover: color-mix(in oklch, var(--brand), black 14%);
    --brand-deep: color-mix(in oklch, var(--brand), black 40%);
    --brand-soft: color-mix(in oklch, var(--brand) 11%, var(--bg));
    --brand-contrast: var(--brand-on);
    --brand-text: var(--brand-ink, var(--brand)); /* brand colour used for TEXT on light backgrounds (auto-darkened for light brands) */
    --accent: var(--accent-base);
    --accent-hover: color-mix(in oklch, var(--accent), black 12%);
    --accent-strong: color-mix(in oklch, var(--accent), black 30%);
    --accent-soft: color-mix(in oklch, var(--accent) 14%, var(--bg));

    /* Neutrals */
    --bg: #ffffff;
    --bg-alt: color-mix(in oklch, var(--brand) 3%, #f8f9fb);
    --surface: #ffffff;
    --surface-2: color-mix(in oklch, var(--brand) 4%, #f3f4f6);
    --text: #1a1d24;
    --text-muted: #646b78;
    --border: #e5e7eb;
    --border-strong: #d1d5db;
    --footer-bg: color-mix(in oklch, var(--brand) 14%, #0e1116);
    --footer-text: #c3c8d1;

    /* Status */
    --success: oklch(0.58 0.15 150);
    --danger: oklch(0.58 0.2 25);
    --warning: oklch(0.75 0.15 75);
    --info: oklch(0.6 0.13 240);

    /* Typography */
    --font-sans: var(--xc-font, "Inter"), ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-bn: var(--xc-font-bn, "Hind Siliguri"), "Noto Sans Bengali", var(--font-sans);
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
    --fs-2xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    --fs-3xl: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
    --fs-4xl: clamp(2.25rem, 1.6rem + 3vw, 3.5rem);

    /* Spacing / shape */
    --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
    --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4.5rem;
    --r: 1; /* corner roundness multiplier (Customizer) */
    --radius-sm: calc(6px * var(--r)); --radius: calc(10px * var(--r)); --radius-lg: calc(16px * var(--r)); --radius-xl: calc(24px * var(--r)); --radius-full: 999px;
    --shadow-sm: 0 1px 2px rgb(16 24 40 / 0.06);
    --shadow: 0 4px 16px -4px rgb(16 24 40 / 0.1), 0 2px 4px -2px rgb(16 24 40 / 0.06);
    --shadow-lg: 0 20px 40px -12px rgb(16 24 40 / 0.18);
    --container: 1320px;
    --logo-h: 40px;
    --header-h: 76px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --dur: 220ms;
    color-scheme: light;
  }

  /* ---------- THEME PRESETS (data-theme on <html>) ---------- */
  [data-theme="emerald"] { --brand-base: #059669; --accent-base: #f59e0b; }
  [data-theme="ocean"] { --brand-base: #2563eb; --accent-base: #f97316; }
  [data-theme="royal"] { --brand-base: #7c3aed; --accent-base: #facc15; }
  [data-theme="crimson"] { --brand-base: #dc2626; --accent-base: #fbbf24; }
  [data-theme="rose"] { --brand-base: #e11d48; --accent-base: #f59e0b; }
  [data-theme="sunset"] { --brand-base: #ea580c; --accent-base: #0ea5e9; }
  [data-theme="teal"] { --brand-base: #0891b2; --accent-base: #f97316; }
  [data-theme="slate"] { --brand-base: #334155; --accent-base: #f59e0b; }
  [data-theme="forest"] { --brand-base: #15803d; --accent-base: #eab308; }
  [data-theme="indigo"] { --brand-base: #4f46e5; --accent-base: #ec4899; }
  [data-theme="gold"] { --brand-base: #a16207; --accent-base: #0f766e; }
  [data-theme="magenta"] { --brand-base: #c026d3; --accent-base: #22d3ee; }
  [data-theme="calm"] { --brand-base: #2f7f9e; --accent-base: #f2a65a; }
  [data-theme="lavender"] { --brand-base: #7c6cc4; --accent-base: #f6b26b; }

  /* ---------- DARK MODE ---------- */
  [data-mode="dark"] {
    --brand: color-mix(in oklch, var(--brand-base), white 14%);
    --brand-hover: color-mix(in oklch, var(--brand), white 12%);
    --brand-soft: color-mix(in oklch, var(--brand) 18%, var(--bg));
    --accent-soft: color-mix(in oklch, var(--accent) 18%, var(--bg));
    --footer-bg: #0b0d11;
    --brand-text: var(--brand);
    --bg: oklch(0.17 0.01 260);
    --bg-alt: oklch(0.2 0.01 260);
    --surface: oklch(0.22 0.012 260);
    --surface-2: oklch(0.26 0.012 260);
    --text: oklch(0.94 0.005 260);
    --text-muted: oklch(0.72 0.01 260);
    --border: oklch(0.32 0.012 260);
    --border-strong: oklch(0.4 0.012 260);
    --shadow: 0 4px 16px -4px rgb(0 0 0 / 0.5);
    --shadow-lg: 0 20px 40px -12px rgb(0 0 0 / 0.6);
    color-scheme: dark;
  }
}

/* ========================================================================
   BASE
   ======================================================================== */
@layer base {
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--sticky-offset, 0px) + 1rem); }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  }
  body { overflow-x: clip; font-family: var(--font-sans); font-size: var(--fs-base); color: var(--text); background: var(--bg); }
  [lang="bn"], .bn { font-family: var(--font-bn); line-height: 1.8; }
  h1 { font-size: var(--fs-3xl); font-weight: 800; letter-spacing: -0.02em; }
  h2 { font-size: var(--fs-2xl); font-weight: 750; letter-spacing: -0.015em; }
  h3 { font-size: var(--fs-xl); font-weight: 700; }
  h4 { font-size: var(--fs-lg); font-weight: 650; }
  a:hover { color: var(--brand-text); }
  ::selection { background: var(--brand); color: var(--brand-contrast); }
  :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
  hr { border: 0; border-top: 1px solid var(--border); margin: var(--space-5) 0; }
  .skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--brand); color: var(--brand-contrast); padding: .6rem 1rem; border-radius: var(--radius); }
  .skip-link:focus { top: 1rem; }
  .sr-only, .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}

/* ========================================================================
   LAYOUT
   ======================================================================== */
@layer layout {
  .container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
  .section { padding-block: var(--space-8); }
  .section-sm { padding-block: var(--space-7); }
  .section-alt { background: var(--bg-alt); }
  .grid { display: grid; gap: var(--space-5); }
  .grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
  .grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
  .grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
  .products-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); }
  .with-sidebar { display: grid; gap: var(--space-6); grid-template-columns: 280px 1fr; align-items: start; }
  .with-sidebar.right { grid-template-columns: 1fr 320px; }
  @media (max-width: 992px) { .with-sidebar, .with-sidebar.right { grid-template-columns: 1fr; } }
  .with-sidebar > *, .product-layout > *, .gallery > *, .grid > *, .about-hero > * { min-width: 0; }
  fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
  .stack > * + * { margin-top: var(--space-4); }
  .flex { display: flex; gap: var(--space-3); align-items: center; }
  .flex-between { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
}

/* ========================================================================
   COMPONENTS
   ======================================================================== */
@layer components {

  /* ---------- Buttons ---------- */
  .btn {
    --_bg: var(--brand); --_fg: var(--brand-contrast); --_bd: var(--brand);
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .75rem 1.35rem; border-radius: var(--radius); border: 1.5px solid var(--_bd);
    background: var(--_bg); color: var(--_fg); font-weight: 600; font-size: var(--fs-sm);
    line-height: 1.2; white-space: nowrap; transition: background var(--dur) var(--ease), color var(--dur), border-color var(--dur), transform var(--dur);
  }
  .btn:hover { --_bg: var(--brand-hover); --_bd: var(--brand-hover); color: var(--_fg); }
  .btn:active { transform: translateY(1px); }
  .btn-outline { --_bg: transparent; --_fg: var(--text); --_bd: var(--border-strong); }
  .btn-outline:hover { --_bg: var(--brand); --_fg: var(--brand-contrast); --_bd: var(--brand); }
  .btn-light { --_bg: #fff; --_fg: oklch(0.22 0.015 260); --_bd: #fff; }
  .btn-light:hover { --_bg: var(--accent); --_bd: var(--accent); --_fg: #111; }
  .btn-accent { --_bg: var(--accent); --_fg: #111; --_bd: var(--accent); }
  .btn-accent:hover { --_bg: var(--accent-hover); --_bd: var(--accent-hover); }
  .btn-ghost { --_bg: transparent; --_fg: var(--text); --_bd: transparent; }
  .btn-ghost:hover { --_bg: var(--surface-2); --_bd: transparent; --_fg: var(--text); }
  .btn-sm { padding: .5rem .9rem; font-size: var(--fs-xs); }
  .btn-lg { padding: 1rem 1.75rem; font-size: var(--fs-base); }
  .btn-block { width: 100%; }
  .btn-icon { width: 42px; height: 42px; padding: 0; border-radius: var(--radius-full); }
  .btn[disabled] { opacity: .5; pointer-events: none; }

  /* ---------- Badges / chips ---------- */
  .badge { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .55rem; border-radius: var(--radius-full); font-size: .7rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; background: var(--brand); color: var(--brand-contrast); }
  .badge-sale { background: var(--danger); color: #fff; }
  .badge-new { background: var(--info); color: #fff; }
  .badge-hot { background: var(--accent); color: #111; }
  .badge-soft { background: var(--brand-soft); color: var(--brand-text); }
  .chip { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border: 1px solid var(--border); border-radius: var(--radius-full); font-size: var(--fs-sm); background: var(--surface); }
  .chip:hover, .chip.is-active { border-color: var(--brand); color: var(--brand-text); background: var(--brand-soft); }

  /* ---------- Forms ---------- */
  .form-group { display: grid; gap: .4rem; align-content: start; }
  .form-row { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
  label { font-size: var(--fs-sm); font-weight: 600; }
  .req { color: var(--danger); }
  .input, select.input, textarea.input {
    width: 100%; padding: .75rem .95rem; border: 1.5px solid var(--border); border-radius: var(--radius);
    background: var(--surface); color: var(--text); transition: border-color var(--dur), box-shadow var(--dur);
  }
  textarea.input { min-height: 130px; resize: vertical; }
  .input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in oklch, var(--brand) 18%, transparent); }
  .input:user-invalid { border-color: var(--danger); }
  .input-hint { font-size: var(--fs-xs); color: var(--text-muted); }
  .input-group { display: flex; }
  .input-group .input { border-radius: var(--radius) 0 0 var(--radius); }
  .input-group .btn { border-radius: 0 var(--radius) var(--radius) 0; }
  .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; cursor: pointer; }
  .check input { accent-color: var(--brand); width: 1.1rem; height: 1.1rem; margin-top: .2rem; flex-shrink: 0; }
  .hp-field { position: absolute !important; left: -9999px !important; } /* honeypot anti-spam */

  /* ---------- Cards ---------- */
  .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); }
  .card-title { font-size: var(--fs-lg); margin-bottom: var(--space-4); display: flex; align-items: center; gap: .5rem; }

  /* ---------- Top bar ---------- */
  .topbar { background: var(--brand); color: var(--brand-contrast); font-size: var(--fs-xs); }
  [data-mode="dark"] .topbar { background: var(--surface-2); color: var(--text); }
  .topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 1rem; }
  .topbar a:hover { color: inherit; opacity: .8; }
  .topbar-links { display: flex; gap: 1.25rem; align-items: center; }
  .topbar-links i { margin-right: .35rem; }
  @media (max-width: 768px) { .topbar .hide-sm { display: none; } .topbar .container { justify-content: center; } }

  /* ---------- Header ---------- */
  .site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in oklch, var(--bg) 88%, transparent); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--border); transition: box-shadow var(--dur); }
  .site-header.is-scrolled { box-shadow: var(--shadow); }
  .header-main { display: flex; align-items: center; gap: var(--space-5); min-height: var(--header-h); }
  .logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--text); flex-shrink: 0; }
  .logo:hover { color: var(--text); }
  .logo-mark { width: var(--logo-h); height: var(--logo-h); flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; font-size: 1.15rem; }
  .logo span b { color: var(--brand-text); font-weight: 800; }
  .header-search { flex: 1; max-width: 640px; display: flex; border: 1.5px solid var(--border); border-radius: var(--radius-full); overflow: hidden; background: var(--surface); transition: border-color var(--dur); }
  .header-search:focus-within { border-color: var(--brand); }
  .header-search select { border: 0; background: var(--surface-2); padding: 0 1rem; font-size: var(--fs-sm); max-width: 160px; border-right: 1px solid var(--border); }
  .header-search input { flex: 1; min-width: 0; width: 100%; border: 0; padding: .75rem 1rem; background: transparent; min-width: 0; }
  .header-search input:focus { outline: none; }
  .header-search button { padding: 0 1.25rem; background: var(--brand); color: var(--brand-contrast); }
  .header-actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
  .h-action { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: .4rem .7rem; border-radius: var(--radius); font-size: .7rem; color: var(--text-muted); }
  .h-action i { font-size: 1.2rem; color: var(--text); }
  .h-action:hover { background: var(--surface-2); color: var(--text); }
  .h-count { position: absolute; top: 0; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand); color: var(--brand-contrast); font-size: .65rem; font-weight: 700; display: grid; place-items: center; }
  .menu-toggle { display: none; }
  @media (max-width: 992px) {
    .header-search { display: none; }
    .menu-toggle { display: inline-flex; }
    .h-action .h-label, .h-action.hide-md { display: none; }
  }
  .mobile-search { display: none; padding-bottom: .9rem; }
  @media (max-width: 992px) { .mobile-search { display: block; } .mobile-search .header-search { display: flex; max-width: none; } .mobile-search select { display: none; } }

  /* ---------- Primary nav ---------- */
  .primary-nav { border-top: 1px solid var(--border); }
  .primary-nav .container { display: flex; align-items: center; gap: var(--space-4); }
  .cat-btn { display: inline-flex; align-items: center; gap: .6rem; background: var(--brand); color: var(--brand-contrast); padding: .8rem 1.2rem; font-weight: 600; font-size: var(--fs-sm); border-radius: var(--radius) var(--radius) 0 0; margin-top: 6px; }
  .nav-list { display: flex; gap: .25rem; list-style: none; padding: 0; }
  .nav-list > li { position: relative; }
  .nav-list > li > a { display: inline-flex; align-items: center; gap: .35rem; padding: .95rem .85rem; font-weight: 550; font-size: var(--fs-sm); }
  .nav-list > li > a[aria-current="page"] { color: var(--brand-text); }
  .nav-list .fa-chevron-down { font-size: .6rem; opacity: .6; }
  .dropdown { position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .5rem; list-style: none; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--dur) var(--ease); z-index: 50; }
  .nav-list > li:hover > .dropdown, .nav-list > li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
  .dropdown a { display: block; padding: .55rem .8rem; border-radius: var(--radius-sm); font-size: var(--fs-sm); }
  .dropdown a:hover { background: var(--brand-soft); }
  .mega { width: min(760px, 90vw); display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 1rem; padding: 1.25rem; }
  .mega h5 { font-size: var(--fs-sm); margin: 0 0 .5rem .8rem; }
  .mega ul { list-style: none; padding: 0; }
  .mega-promo { border-radius: var(--radius); padding: 1.25rem; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem; }
  .nav-hotline { margin-left: auto; display: flex; align-items: center; gap: .6rem; font-size: var(--fs-sm); }
  .nav-hotline i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); }
  .nav-hotline small { display: block; color: var(--text-muted); font-size: .7rem; }
  @media (max-width: 992px) { .primary-nav { display: none; } }

  /* ---------- Mobile drawer ---------- */
  .drawer { position: fixed; inset: 0; z-index: 300; visibility: hidden; overflow: hidden; }
  .drawer.is-open { visibility: visible; }
  .drawer-backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / .5); opacity: 0; transition: opacity var(--dur); }
  .drawer.is-open .drawer-backdrop { opacity: 1; }
  .drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(360px, 88vw); background: var(--surface); transform: translateX(-100%); transition: transform 300ms var(--ease); display: flex; flex-direction: column; overflow-y: auto; }
  .drawer.right .drawer-panel { left: auto; right: 0; transform: translateX(100%); }
  .drawer.is-open .drawer-panel { transform: none; }
  .drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
  .drawer-body { padding: 1rem 1.25rem; flex: 1; }
  .drawer-foot { padding: 1rem 1.25rem; border-top: 1px solid var(--border); display: grid; gap: .6rem; }
  .m-nav { list-style: none; padding: 0; }
  .m-nav a { display: flex; justify-content: space-between; padding: .8rem 0; border-bottom: 1px solid var(--border); font-weight: 550; }
  .m-nav i { width: 1.4rem; color: var(--brand-text); }

  /* Mini cart */
  .mini-item { display: grid; grid-template-columns: 64px 1fr auto; gap: .75rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--border); }
  .mini-item img { border-radius: var(--radius-sm); background: var(--surface-2); }
  .mini-item h6 { font-size: var(--fs-sm); font-weight: 600; }
  .mini-item small { color: var(--text-muted); }

  /* ---------- Mobile bottom nav ---------- */
  .bottom-nav { display: none; }
  @media (max-width: 768px) {
    .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: var(--surface); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 16px rgb(0 0 0 / .06); }
    .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .55rem 0; font-size: .68rem; color: var(--text-muted); position: relative; }
    .bottom-nav a i { font-size: 1.1rem; }
    .bottom-nav a[aria-current="page"] { color: var(--brand-text); }
    .bottom-nav .h-count { right: 22%; }
    body { padding-bottom: 64px; }
  }

  /* ---------- Section head ---------- */
  .section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: var(--space-6); flex-wrap: wrap; }
  .section-head .eyebrow { display: inline-block; color: var(--brand-text); font-weight: 700; font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; margin-bottom: .4rem; }
  .section-head p { color: var(--text-muted); max-width: 56ch; margin-top: .35rem; }
  .section-head.center { flex-direction: column; align-items: center; text-align: center; }
  .link-arrow { font-weight: 600; font-size: var(--fs-sm); color: var(--brand-text); display: inline-flex; gap: .4rem; align-items: center; }
  .link-arrow:hover i { transform: translateX(3px); }
  .link-arrow i { transition: transform var(--dur); }

  /* ---------- Hero slider ---------- */
  .hero { padding-block: var(--space-5); }
  .hero-grid { display: grid; grid-template-columns: 1fr 340px; gap: var(--space-4); }
  @media (max-width: 1100px) { .hero-grid { grid-template-columns: 1fr; } }
  .slider { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 460px; background: var(--brand-soft); }
  .slides { display: flex; height: 100%; transition: transform 600ms var(--ease); }
  .slide { flex: 0 0 100%; min-height: 460px; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; padding: var(--space-7); gap: var(--space-5); position: relative; }
  .slide-1 { background: linear-gradient(120deg, var(--brand-soft), color-mix(in oklch, var(--brand) 22%, var(--bg))); }
  .slide-2 { background: linear-gradient(120deg, var(--accent-soft), color-mix(in oklch, var(--accent) 30%, var(--bg))); }
  .slide-3 { background: linear-gradient(120deg, oklch(0.95 0.03 250), oklch(0.85 0.07 250)); }
  [data-mode="dark"] .slide-3 { background: linear-gradient(120deg, oklch(0.28 0.04 250), oklch(0.35 0.08 250)); }
  .slide-content .badge { margin-bottom: 1rem; }
  .slide :is(h1, h2) { font-size: var(--fs-4xl); line-height: 1.05; margin-bottom: 1rem; }
  .slide :is(h1, h2) em { font-style: normal; color: var(--brand-text); }
  .slide p { color: var(--text-muted); font-size: var(--fs-lg); margin-bottom: 1.75rem; max-width: 42ch; }
  .slide-media { justify-self: center; filter: drop-shadow(0 24px 30px rgb(0 0 0 / .15)); }
  .slide-media img { width: min(380px, 100%); }
  .slider-dots { position: absolute; bottom: 1.25rem; left: var(--space-7); display: flex; gap: .45rem; }
  .slider-dots button { width: 10px; height: 10px; border-radius: 5px; background: color-mix(in oklch, var(--text) 25%, transparent); transition: all var(--dur); }
  .slider-dots button[aria-current="true"] { width: 28px; background: var(--brand); }
  .slider-arrows { position: absolute; bottom: 1rem; right: 1.25rem; display: flex; gap: .5rem; }
  .slider-arrows button { width: 42px; height: 42px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); }
  @media (max-width: 768px) {
    .slide { grid-template-columns: 1fr; padding: var(--space-6) var(--space-5) var(--space-7); text-align: center; min-height: 520px; }
    .slide p { margin-inline: auto; }
    .slide-media { order: -1; } .slide-media img { width: 200px; }
    .slider-dots { left: 50%; transform: translateX(-50%); }
    .slider-arrows { display: none; }
  }
  .hero-side { display: grid; gap: var(--space-4); grid-template-rows: 1fr 1fr; }
  @media (max-width: 1100px) { .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; } }
  @media (max-width: 560px) { .hero-side { grid-template-columns: 1fr; } }

  /* Promo banner */
  .promo { position: relative; border-radius: var(--radius-lg); padding: var(--space-5); overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: .4rem; min-height: 200px; isolation: isolate; }
  .promo img { position: absolute; right: -10px; bottom: -10px; width: 52%; z-index: -1; transition: transform 500ms var(--ease); }
  .promo:hover img { transform: scale(1.06) rotate(-2deg); }
  .promo small { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; color: var(--brand-text); }
  .promo h3 { max-width: 14ch; }
  .promo-a { background: var(--accent-soft); }
  .promo-b { background: var(--brand-soft); }
  .promo-c { background: oklch(0.95 0.03 250); }
  .promo-dark { background: linear-gradient(135deg, color-mix(in oklch, var(--brand) 25%, #10141b), color-mix(in oklch, var(--brand) 45%, #10141b)); color: #fff; }
  .promo-dark small { color: var(--accent); }
  [data-mode="dark"] .promo-c { background: oklch(0.3 0.04 250); }

  /* ---------- Feature strip ---------- */
  .features { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
  @media (max-width: 992px) { .features { grid-template-columns: repeat(2, 1fr); } }
  .feature { display: flex; gap: .9rem; align-items: center; padding: var(--space-4) var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
  .feature i { font-size: 1.5rem; color: var(--brand-text); width: 48px; height: 48px; display: grid; place-items: center; background: var(--brand-soft); border-radius: 12px; flex-shrink: 0; }
  .feature h4 { font-size: var(--fs-sm); }
  .feature p { font-size: var(--fs-xs); color: var(--text-muted); }
  @media (max-width: 560px) { .feature { flex-direction: column; text-align: center; padding: var(--space-4); } }

  /* ---------- Category tiles ---------- */
  .cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-4); }
  @media (max-width: 992px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
  @media (max-width: 600px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-2); } .cat-tile { padding: var(--space-4) var(--space-2); } .cat-icon { width: 56px; height: 56px; font-size: 1.35rem; } }
  .cat-tile { display: flex; flex-direction: column; align-items: center; gap: .7rem; padding: var(--space-5) var(--space-3); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); text-align: center; transition: all var(--dur) var(--ease); }
  .cat-tile:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
  .cat-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 1.75rem; background: var(--brand-soft); color: var(--brand-text); transition: all var(--dur); }
  .cat-tile:hover .cat-icon { background: var(--brand); color: var(--brand-contrast); }
  .cat-tile h3 { font-size: var(--fs-sm); font-weight: 650; }
  .cat-tile small { color: var(--text-muted); font-size: var(--fs-xs); }
  .cat-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: all var(--dur); }
  .cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
  .cat-card-media { aspect-ratio: 4/3; display: grid; place-items: center; font-size: 3.5rem; color: var(--brand-text); background: linear-gradient(135deg, var(--brand-soft), var(--surface-2)); }
  .cat-card-body { padding: var(--space-4) var(--space-5); display: flex; justify-content: space-between; align-items: center; }
  .cat-card-body ul { list-style: none; padding: 0; font-size: var(--fs-sm); color: var(--text-muted); }

  /* ---------- Product card ---------- */
  .product-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow var(--dur) var(--ease), border-color var(--dur), transform var(--dur); container-type: inline-size; }
  .product-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-3px); }
  .pc-media { position: relative; aspect-ratio: 1; background: var(--surface-2); overflow: hidden; }
  .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
  .product-card:hover .pc-media img { transform: scale(1.06); }
  .pc-badges { position: absolute; top: .75rem; left: .75rem; display: flex; flex-direction: column; gap: .35rem; z-index: 2; }
  .pc-actions { position: absolute; top: .75rem; right: .75rem; display: flex; flex-direction: column; gap: .4rem; z-index: 2; }
  .pc-actions button, .pc-actions a { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); display: grid; place-items: center; font-size: .85rem; opacity: 0; transform: translateX(10px); transition: all var(--dur) var(--ease); }
  .pc-actions > :nth-child(2) { transition-delay: 40ms; } .pc-actions > :nth-child(3) { transition-delay: 80ms; }
  .product-card:hover .pc-actions > *, .product-card:focus-within .pc-actions > * { opacity: 1; transform: none; }
  .pc-actions button:hover, .pc-actions a:hover, .pc-actions .is-active { background: var(--brand); color: var(--brand-contrast); }
  @media (hover: none) { .pc-actions > * { opacity: 1 !important; transform: none !important; } }
  .pc-body { padding: var(--space-4); display: flex; flex-direction: column; gap: .35rem; flex: 1; }
  .pc-cat { font-size: var(--fs-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
  .pc-title { font-size: var(--fs-sm); font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
  .rating { display: inline-flex; align-items: center; gap: .15rem; color: var(--warning); font-size: .72rem; }
  .rating span { color: var(--text-muted); margin-left: .3rem; }
  .price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; margin-top: auto; padding-top: .35rem; }
  .price ins { text-decoration: none; font-weight: 800; font-size: var(--fs-lg); color: var(--brand-text); }
  .price del { color: var(--text-muted); font-size: var(--fs-sm); }
  .pc-foot { padding: 0 var(--space-4) var(--space-4); }
  .stock-bar { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; margin-top: .5rem; }
  .stock-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--danger)); border-radius: 3px; }
  .stock-text { font-size: var(--fs-xs); color: var(--text-muted); margin-top: .3rem; display: flex; justify-content: space-between; }
  @container (max-width: 200px) { .pc-body { padding: .75rem; } .pc-foot { padding: 0 .75rem .75rem; } .pc-foot .btn span { display: none; } .price ins { font-size: var(--fs-base); } }
  /* List view */
  .products-grid.is-list { grid-template-columns: 1fr; }
  .products-grid.is-list .product-card { flex-direction: row; }
  .products-grid.is-list .pc-media { width: 240px; flex-shrink: 0; }
  .products-grid.is-list .pc-body { justify-content: center; }
  .products-grid.is-list .pc-foot { align-self: center; padding: var(--space-4); }
  .pc-excerpt { display: none; color: var(--text-muted); font-size: var(--fs-sm); }
  .products-grid.is-list .pc-excerpt { display: block; }
  @media (max-width: 600px) { .products-grid.is-list .product-card { flex-direction: column; } .products-grid.is-list .pc-media { width: 100%; } }

  /* ---------- Flash sale / countdown ---------- */
  .flash-head { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
  .countdown { display: flex; gap: .4rem; align-items: center; }
  .countdown span { min-width: 46px; padding: .4rem .5rem; text-align: center; background: var(--danger); color: #fff; border-radius: var(--radius-sm); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
  .countdown span small { display: block; font-size: .58rem; font-weight: 500; opacity: .85; text-transform: uppercase; }

  /* ---------- Tabs ---------- */
  .tabs [role="tablist"] { display: flex; gap: .5rem; flex-wrap: wrap; }
  .tab-btn { padding: .55rem 1.1rem; border-radius: var(--radius-full); border: 1px solid var(--border); font-weight: 600; font-size: var(--fs-sm); background: var(--surface); }
  .tab-btn[aria-selected="true"] { background: var(--brand); color: var(--brand-contrast); border-color: var(--brand); }
  .tabs-line [role="tablist"] { border-bottom: 1px solid var(--border); gap: 0; }
  .tabs-line .tab-btn { border: 0; border-radius: 0; background: none; padding: 1rem 1.25rem; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--text-muted); }
  .tabs-line .tab-btn[aria-selected="true"] { color: var(--brand-text); border-color: var(--brand); background: none; }
  [role="tabpanel"] { padding-top: var(--space-5); }

  /* ---------- Testimonials ---------- */
  .testimonial { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); display: flex; flex-direction: column; gap: 1rem; }
  .testimonial blockquote { color: var(--text-muted); }
  .t-author { display: flex; gap: .75rem; align-items: center; margin-top: auto; }
  .avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--brand-soft); color: var(--brand-text); flex-shrink: 0; }
  .t-author small { color: var(--text-muted); display: block; font-size: var(--fs-xs); }
  .quote-icon { font-size: 1.75rem; color: var(--brand-text); opacity: .3; }

  /* ---------- Brands ---------- */
  .brand-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-4); }
  .brand-logo { display: grid; place-items: center; height: 86px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-weight: 800; font-size: 1.15rem; color: var(--text-muted); letter-spacing: -.02em; filter: grayscale(1); opacity: .75; transition: all var(--dur); gap: .25rem; }
  .brand-logo:hover { filter: none; opacity: 1; color: var(--brand-text); border-color: var(--brand); }

  /* ---------- Newsletter ---------- */
  .newsletter { border-radius: var(--radius-xl); padding: var(--space-7); background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-6); align-items: center; position: relative; overflow: hidden; }
  .newsletter::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -120px; top: -160px; background: rgb(255 255 255 / .08); }
  .newsletter p { opacity: .85; margin-top: .5rem; }
  .newsletter form { display: flex; gap: .5rem; background: #fff; padding: .4rem; border-radius: var(--radius-full); position: relative; z-index: 1; }
  .newsletter input { flex: 1; border: 0; padding: .6rem 1rem; color: #111; background: transparent; min-width: 0; }
  .newsletter input:focus { outline: none; }
  .newsletter .btn { border-radius: var(--radius-full); }
  @media (max-width: 768px) { .newsletter { grid-template-columns: 1fr; padding: var(--space-6) var(--space-5); } }

  /* ---------- Footer ---------- */
  .site-footer { background: var(--footer-bg); color: var(--footer-text); margin-top: var(--space-8); }
  [data-mode="dark"] .site-footer { background: oklch(0.14 0.01 260); }
  .site-footer a:hover { color: #fff; }
  .footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) 1.3fr; gap: var(--space-6); padding-block: var(--space-8) var(--space-7); }
  @media (max-width: 1100px) { .footer-top { grid-template-columns: repeat(3, 1fr); } .footer-about { grid-column: 1 / -1; } }
  @media (max-width: 600px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-app { grid-column: 1 / -1; } }
  .site-footer .logo { color: #fff; }
  .site-footer .logo span b { color: var(--accent); }
  .footer-about p { margin: 1rem 0; font-size: var(--fs-sm); max-width: 40ch; }
  .site-footer h4 { color: #fff; font-size: var(--fs-base); margin-bottom: 1rem; }
  .footer-links { list-style: none; padding: 0; display: grid; gap: .55rem; font-size: var(--fs-sm); }
  .contact-list { list-style: none; padding: 0; display: grid; gap: .6rem; font-size: var(--fs-sm); }
  .contact-list i { width: 1.2rem; color: var(--accent); }
  .socials { display: flex; gap: .5rem; margin-top: 1rem; }
  .legal-info { font-size: var(--fs-xs); display: grid; gap: .25rem; margin-top: 1rem; padding: .75rem; border: 1px dashed rgb(255 255 255 / .2); border-radius: var(--radius); }
  .legal-info strong { color: #fff; }
  .footer-pay { border-top: 1px solid rgb(255 255 255 / .1); padding-block: var(--space-5); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
  .pay-list { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
  .pay-chip { display: inline-flex; align-items: center; gap: .35rem; height: 34px; padding: 0 .75rem; border-radius: 6px; background: #fff; color: #222; font-weight: 800; font-size: .75rem; letter-spacing: -.01em; }
  .pay-chip i { font-size: 1.1rem; }
  .pay-bkash { color: #e2136e; } .pay-nagad { color: #ec1c24; } .pay-rocket { color: #8c3494; } .pay-upay { color: #0a3d91; } .pay-ssl { color: #0067b1; }
  .footer-bottom { border-top: 1px solid rgb(255 255 255 / .1); padding-block: var(--space-4); font-size: var(--fs-xs); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
  .footer-bottom nav { display: flex; gap: 1rem; flex-wrap: wrap; }
  .app-badges { display: grid; gap: .5rem; }
  .app-badge { display: flex; gap: .6rem; align-items: center; padding: .5rem .9rem; border: 1px solid rgb(255 255 255 / .2); border-radius: var(--radius); font-size: .7rem; }
  .app-badge i { font-size: 1.5rem; }
  .app-badge strong { display: block; font-size: .9rem; color: #fff; }

  /* ---------- Breadcrumb / page hero ---------- */
  .page-hero { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding-block: var(--space-6); }
  .page-hero h1 { font-size: var(--fs-2xl); }
  .page-hero p { color: var(--text-muted); margin-top: .35rem; }
  .breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: .5rem; }
  .breadcrumb li + li::before { content: "\f054"; font-family: "Font Awesome 7 Free"; font-weight: 900; font-size: .55rem; margin-right: .4rem; opacity: .6; }
  .breadcrumb [aria-current] { color: var(--text); font-weight: 550; }

  /* ---------- Sidebar widgets / filters ---------- */
  .sidebar > * { min-width: 0; }
  .sidebar { display: grid; gap: var(--space-4); position: sticky; top: calc(var(--sticky-offset, 0px) + 1rem); }
  @media (max-width: 992px) { .sidebar { position: static; } .shop-sidebar { display: none; } .shop-sidebar.is-open { display: grid; } }
  .widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); }
  .widget-title { font-size: var(--fs-base); margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
  .filter-list { list-style: none; padding: 0; display: grid; gap: .55rem; font-size: var(--fs-sm); }
  .filter-list label { display: flex; justify-content: space-between; align-items: center; font-weight: 500; cursor: pointer; gap: .5rem; }
  .filter-list label span:first-child { display: flex; gap: .55rem; align-items: center; }
  .filter-list input { accent-color: var(--brand); width: 1rem; height: 1rem; }
  .filter-list .count { font-size: var(--fs-xs); color: var(--text-muted); background: var(--surface-2); padding: 0 .45rem; border-radius: var(--radius-full); }
  .price-range { display: grid; gap: .75rem; }
  .price-range input[type="range"] { accent-color: var(--brand); width: 100%; }
  .price-inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: .5rem; align-items: center; }
  .price-inputs .input { padding: .5rem .6rem; font-size: var(--fs-sm); }
  .swatches { display: flex; gap: .5rem; flex-wrap: wrap; }
  .swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--border); cursor: pointer; }
  .swatch.is-active, .swatch:hover { box-shadow: 0 0 0 2px var(--brand); }
  .size-opts { display: flex; gap: .5rem; flex-wrap: wrap; }
  .size-opts button, .size-opts label { min-width: 44px; padding: .45rem .7rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: var(--fs-sm); font-weight: 600; text-align: center; cursor: pointer; }
  .size-opts .is-active, .size-opts button:hover, .size-opts input:checked + span { border-color: var(--brand); color: var(--brand-text); background: var(--brand-soft); }
  .tag-cloud { display: flex; flex-wrap: wrap; gap: .4rem; }
  .tag-cloud a { font-size: var(--fs-xs); padding: .3rem .7rem; border: 1px solid var(--border); border-radius: var(--radius-full); }
  .tag-cloud a:hover { border-color: var(--brand); }

  /* Shop toolbar */
  .shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: var(--space-5); background: var(--surface); }
  .shop-toolbar p { font-size: var(--fs-sm); color: var(--text-muted); }
  .shop-toolbar .controls { display: flex; gap: .5rem; align-items: center; }
  .shop-toolbar select { padding: .5rem .75rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-size: var(--fs-sm); }
  .view-btn { width: 38px; height: 38px; border-radius: var(--radius); border: 1px solid var(--border); }
  .view-btn[aria-pressed="true"] { background: var(--brand); color: var(--brand-contrast); border-color: var(--brand); }
  .filter-toggle { display: none; }
  @media (max-width: 992px) { .filter-toggle { display: inline-flex; } }
  .active-filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: var(--space-4); }

  /* ---------- Single product ---------- */
  .product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: start; }
  @media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; gap: var(--space-5); } }
  .gallery { position: sticky; top: calc(var(--sticky-offset, 0px) + 1rem); display: grid; grid-template-columns: 84px 1fr; gap: var(--space-3); }
  @media (max-width: 900px) { .gallery { position: static; grid-template-columns: 1fr; } .gallery-thumbs { order: 2; flex-direction: row !important; overflow-x: auto; } }
  .gallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); aspect-ratio: 1; cursor: zoom-in; border: 1px solid var(--border); }
  .gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 200ms; transform-origin: var(--zx, 50%) var(--zy, 50%); }
  .gallery-main.is-zoom img { transform: scale(2); }
  .gallery-thumbs { display: flex; flex-direction: column; gap: var(--space-3); }
  .gallery-thumbs button { border-radius: var(--radius); overflow: hidden; border: 2px solid transparent; background: var(--surface-2); flex: 0 0 84px; }
  .gallery-thumbs button[aria-current="true"] { border-color: var(--brand); }
  .summary h1 { font-size: var(--fs-2xl); margin: .5rem 0; }
  .summary-meta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; font-size: var(--fs-sm); color: var(--text-muted); padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
  .in-stock { color: var(--success); font-weight: 600; }
  .summary .price { margin: 1.25rem 0; } .summary .price ins { font-size: var(--fs-3xl); }
  .save-tag { background: var(--danger); color: #fff; padding: .2rem .55rem; border-radius: var(--radius-sm); font-size: var(--fs-xs); font-weight: 700; }
  .summary-short { color: var(--text-muted); }
  .summary-short ul { padding-left: 1.2rem; margin-top: .5rem; }
  .variation { margin-top: 1.25rem; }
  .variation > label { display: block; margin-bottom: .55rem; }
  .buy-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
  .buy-row .btn { flex: 1; min-width: 160px; }
  .qty { display: inline-flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; height: 48px; }
  .qty button { width: 42px; height: 100%; font-size: .85rem; }
  .qty button:hover { background: var(--surface-2); }
  .qty input { width: 48px; text-align: center; border: 0; background: transparent; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
  .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
  .qty-sm { height: 38px; } .qty-sm button { width: 32px; } .qty-sm input { width: 36px; }
  .order-call { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .75rem; }
  .order-call .btn { flex: 1; }
  .btn-whatsapp { --_bg: #25d366; --_bd: #25d366; --_fg: #fff; }
  .btn-whatsapp:hover { --_bg: #1da851; --_bd: #1da851; }
  .delivery-box { margin-top: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
  .delivery-box > div { display: flex; gap: .9rem; padding: .9rem 1.1rem; align-items: center; font-size: var(--fs-sm); }
  .delivery-box > div + div { border-top: 1px solid var(--border); }
  .delivery-box i { color: var(--brand-text); font-size: 1.15rem; width: 1.5rem; text-align: center; }
  .delivery-box small { display: block; color: var(--text-muted); }
  .product-meta { margin-top: 1.25rem; font-size: var(--fs-sm); display: grid; gap: .35rem; color: var(--text-muted); }
  .product-meta strong { color: var(--text); }
  .share { display: flex; gap: .4rem; align-items: center; margin-top: 1rem; font-size: var(--fs-sm); }
  .share a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border); }
  .share a:hover { background: var(--brand); color: var(--brand-contrast); border-color: var(--brand); }
  .spec-table th, .spec-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--border); text-align: left; font-size: var(--fs-sm); }
  .spec-table th { width: 32%; background: var(--bg-alt); font-weight: 600; }
  .review-summary { display: grid; grid-template-columns: 220px 1fr; gap: var(--space-6); align-items: center; }
  @media (max-width: 600px) { .review-summary { grid-template-columns: 1fr; } }
  .big-rating { text-align: center; }
  .big-rating strong { font-size: 3.5rem; font-weight: 800; line-height: 1; }
  .bar-row { display: grid; grid-template-columns: 52px 1fr 36px; gap: .75rem; align-items: center; font-size: var(--fs-sm); }
  .bar { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
  .bar span { display: block; height: 100%; background: var(--warning); }
  .review { padding-block: var(--space-5); border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 46px 1fr; gap: 1rem; }
  .review small { color: var(--text-muted); }
  .verified { color: var(--success); font-size: var(--fs-xs); font-weight: 600; }
  .sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: var(--surface); border-top: 1px solid var(--border); padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); display: none; gap: .5rem; box-shadow: 0 -8px 20px rgb(0 0 0 / .08); }
  @media (max-width: 768px) { .sticky-buy { display: flex; } .sticky-buy .btn { flex: 1; } body.has-sticky-buy .bottom-nav { display: none; } body.has-sticky-buy .fab-stack { bottom: 80px; } }

  /* ---------- Cart / tables ---------- */
  .cart-table { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; border-collapse: separate; border-spacing: 0; background: var(--surface); }
  .cart-table th { background: var(--bg-alt); text-align: left; padding: 1rem; font-size: var(--fs-sm); font-weight: 650; }
  .cart-table td { padding: 1rem; border-top: 1px solid var(--border); vertical-align: middle; font-size: var(--fs-sm); }
  .cart-prod { display: flex; gap: 1rem; align-items: center; }
  .cart-prod img { width: 76px; height: 76px; border-radius: var(--radius); background: var(--surface-2); object-fit: cover; }
  .cart-prod small { color: var(--text-muted); display: block; }
  .remove-btn { width: 34px; height: 34px; border-radius: 50%; color: var(--text-muted); }
  .remove-btn:hover { background: color-mix(in oklch, var(--danger) 12%, transparent); color: var(--danger); }
  @media (max-width: 768px) {
    .cart-table thead { display: none; }
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
    .cart-table tr { position: relative; padding: 1rem; border-top: 1px solid var(--border); }
    .cart-table tr:first-child { border-top: 0; }
    .cart-table td { border: 0; padding: .3rem 0; display: flex; justify-content: space-between; align-items: center; }
    .cart-table td[data-label]::before { content: attr(data-label); font-weight: 600; color: var(--text-muted); }
    .cart-table td:first-child { position: absolute; top: .75rem; right: .75rem; width: auto; }
  }
  .summary-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); position: sticky; top: calc(var(--sticky-offset, 0px) + 1rem); }
  .summary-box h3 { font-size: var(--fs-lg); margin-bottom: 1rem; }
  .sum-row { display: flex; justify-content: space-between; padding: .6rem 0; font-size: var(--fs-sm); gap: 1rem; }
  .sum-row + .sum-row { border-top: 1px dashed var(--border); }
  .sum-total { font-size: var(--fs-lg); font-weight: 800; border-top: 2px solid var(--border) !important; padding-top: 1rem; margin-top: .25rem; }
  .sum-total span:last-child { color: var(--brand-text); }
  .free-ship { padding: .9rem 1rem; border-radius: var(--radius); background: var(--brand-soft); font-size: var(--fs-sm); margin-bottom: var(--space-5); }
  .free-ship .bar { margin-top: .5rem; background: var(--surface); } .free-ship .bar span { background: var(--brand); }

  /* ---------- Checkout ---------- */
  .checkout-steps { display: flex; justify-content: center; gap: 0; margin-bottom: var(--space-6); list-style: none; padding: 0; counter-reset: step; }
  .checkout-steps li { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); counter-increment: step; }
  .checkout-steps li::before { content: counter(step); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--border-strong); font-size: var(--fs-xs); }
  .checkout-steps li + li::after { order: -1; content: ""; width: clamp(20px, 6vw, 70px); height: 2px; background: var(--border-strong); margin-inline: .5rem; }
  .checkout-steps .is-done, .checkout-steps .is-current { color: var(--brand-text); }
  .checkout-steps .is-done::before { content: "\f00c"; font-family: "Font Awesome 7 Free"; font-weight: 900; background: var(--brand); border-color: var(--brand); color: var(--brand-contrast); }
  .checkout-steps .is-current::before { border-color: var(--brand); }
  .checkout-steps .is-done + li::after, .checkout-steps .is-current::after { background: var(--brand); }
  .pay-options { display: grid; gap: .75rem; }
  .pay-option { border: 1.5px solid var(--border); border-radius: var(--radius); padding: .9rem 1rem; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; transition: border-color var(--dur), background var(--dur); }
  .pay-option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
  .pay-option input { accent-color: var(--brand); width: 1.1rem; height: 1.1rem; }
  .pay-option strong { display: block; font-size: var(--fs-sm); }
  .pay-option small { color: var(--text-muted); font-weight: 400; }
  .pay-option .pay-chip { border: 1px solid var(--border); }
  .pay-detail { display: none; grid-column: 1 / -1; font-size: var(--fs-sm); font-weight: 400; color: var(--text-muted); padding-top: .5rem; border-top: 1px dashed var(--border); }
  .pay-option:has(input:checked) .pay-detail { display: block; }
  .ship-options { display: grid; gap: .6rem; }
  .order-items { display: grid; gap: .75rem; max-height: 300px; overflow-y: auto; margin-bottom: 1rem; }
  .order-item { display: grid; grid-template-columns: 56px 1fr auto; gap: .75rem; align-items: center; font-size: var(--fs-sm); }
  .order-item img { border-radius: var(--radius-sm); background: var(--surface-2); }
  .order-item .thumb { position: relative; }
  .order-item .thumb span { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--text-muted); color: var(--bg); font-size: .65rem; display: grid; place-items: center; font-weight: 700; }
  .secure-note { display: flex; gap: .5rem; align-items: center; font-size: var(--fs-xs); color: var(--text-muted); justify-content: center; margin-top: .75rem; }

  /* ---------- Accordion (native details) ---------- */
  .accordion { display: grid; gap: .75rem; }
  .accordion details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
  .accordion details[open] { border-color: var(--brand); box-shadow: var(--shadow-sm); }
  .accordion summary { padding: 1rem 1.25rem; font-weight: 650; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
  .accordion summary::-webkit-details-marker { display: none; }
  .accordion summary::after { content: "\2b"; font-family: "Font Awesome 7 Free"; font-weight: 900; color: var(--brand-text); transition: transform var(--dur); flex-shrink: 0; }
  .accordion details[open] summary::after { transform: rotate(45deg); }
  .accordion .acc-body { padding: 0 1.25rem 1.1rem; color: var(--text-muted); }

  /* ---------- Prose (policy pages / blog) ---------- */
  .prose { max-width: 820px; }
  .prose > * + * { margin-top: 1rem; }
  .prose h2 { font-size: var(--fs-xl); margin-top: 2.25rem; padding-top: .5rem; scroll-margin-top: calc(var(--sticky-offset, 0px) + 1rem); }
  .prose h3 { font-size: var(--fs-lg); margin-top: 1.5rem; }
  .prose ul, .prose ol { padding-left: 1.4rem; display: grid; gap: .4rem; }
  .prose li::marker { color: var(--brand-text); }
  .prose a { color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; }
  .prose blockquote { border-left: 4px solid var(--brand); background: var(--brand-soft); padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; }
  .prose table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
  .prose th, .prose td { padding: .7rem 1rem; border-bottom: 1px solid var(--border); text-align: left; }
  .prose th { background: var(--bg-alt); }
  .notice { display: flex; gap: .9rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid color-mix(in oklch, var(--accent) 40%, transparent); font-size: var(--fs-sm); }
  .notice i { color: var(--accent-strong); font-size: 1.2rem; margin-top: .2rem; }
  .notice.info { background: var(--brand-soft); border-color: color-mix(in oklch, var(--brand) 30%, transparent); } .notice.info i { color: var(--brand-text); }
  .toc { position: sticky; top: calc(var(--sticky-offset, 0px) + 1rem); }
  .toc ol { list-style: none; padding-left: 0; display: grid; gap: .5rem; font-size: var(--fs-sm); }
  .prose[lang="bn"] ol { list-style-type: bengali; }
  .toc a:hover { color: var(--brand-text); }
  .updated { font-size: var(--fs-sm); color: var(--text-muted); }

  /* ---------- Blog ---------- */
  .post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow var(--dur), transform var(--dur); }
  .post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
  .post-card .media { aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
  .post-card .media img { width: 100%; height: 100%; object-fit: cover; }
  .post-card .body { padding: var(--space-5); display: flex; flex-direction: column; gap: .5rem; flex: 1; }
  .post-meta { display: flex; gap: 1rem; font-size: var(--fs-xs); color: var(--text-muted); flex-wrap: wrap; }
  .post-meta i { margin-right: .3rem; color: var(--brand-text); }
  .post-card h3 { font-size: var(--fs-lg); }
  .post-card p { font-size: var(--fs-sm); color: var(--text-muted); }
  .post-hero { aspect-ratio: 21/9; border-radius: var(--radius-xl); overflow: hidden; margin-bottom: var(--space-6); background: var(--surface-2); }
  .post-hero img { width: 100%; height: 100%; object-fit: cover; }
  .author-box { display: flex; gap: 1rem; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--bg-alt); margin-top: var(--space-6); }
  .mini-post { display: grid; grid-template-columns: 72px 1fr; gap: .75rem; align-items: center; }
  .mini-post img { border-radius: var(--radius-sm); aspect-ratio: 1; object-fit: cover; }
  .mini-post h5 { font-size: var(--fs-sm); line-height: 1.35; }
  .mini-post small { color: var(--text-muted); font-size: var(--fs-xs); }

  /* ---------- Account ---------- */
  .account-nav { list-style: none; padding: .5rem; }
  .account-nav a { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-radius: var(--radius); font-weight: 550; font-size: var(--fs-sm); }
  .account-nav a i { width: 1.1rem; color: var(--text-muted); }
  .account-nav a:hover, .account-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-text); }
  .account-nav a[aria-current="page"] i { color: var(--brand-text); }
  .stat-card { padding: var(--space-5); border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); display: flex; gap: 1rem; align-items: center; }
  .stat-card i { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: var(--brand-soft); color: var(--brand-text); }
  .stat-card strong { font-size: var(--fs-2xl); display: block; line-height: 1.1; }
  .stat-card small { color: var(--text-muted); }
  .status { display: inline-flex; padding: .2rem .65rem; border-radius: var(--radius-full); font-size: var(--fs-xs); font-weight: 650; }
  .status-delivered { background: color-mix(in oklch, var(--success) 15%, transparent); color: var(--success); }
  .status-processing { background: color-mix(in oklch, var(--info) 15%, transparent); color: var(--info); }
  .status-shipped { background: var(--accent-soft); color: var(--accent-strong); }
  .status-cancelled { background: color-mix(in oklch, var(--danger) 15%, transparent); color: var(--danger); }
  .data-table { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
  .data-table th, .data-table td { padding: .85rem 1rem; text-align: left; font-size: var(--fs-sm); border-bottom: 1px solid var(--border); white-space: nowrap; }
  .data-table th { background: var(--bg-alt); font-weight: 650; }
  .table-wrap { overflow-x: auto; border-radius: var(--radius-lg); position: relative; }
  th, td { position: relative; }
  .address-card { border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); position: relative; font-size: var(--fs-sm); }
  .address-card.is-default { border-color: var(--brand); }
  .address-card address { font-style: normal; color: var(--text-muted); margin: .5rem 0 1rem; }

  /* ---------- Auth ---------- */
  .auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); background: var(--surface); max-width: 1040px; margin-inline: auto; }
  .auth-side { background: linear-gradient(150deg, var(--brand), var(--brand-deep)); color: #fff; padding: var(--space-7); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
  .auth-side ul { list-style: none; padding: 0; display: grid; gap: 1rem; }
  .auth-side li { display: flex; gap: .75rem; align-items: center; }
  .auth-side li i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgb(255 255 255 / .15); }
  .auth-form { padding: var(--space-7); display: flex; flex-direction: column; justify-content: center; gap: var(--space-4); }
  .divider { display: flex; align-items: center; gap: 1rem; color: var(--text-muted); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; }
  .divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
  .social-login { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
  .otp-inputs { display: flex; gap: .5rem; }
  .otp-inputs input { width: 100%; aspect-ratio: 1; max-width: 52px; text-align: center; font-size: 1.25rem; font-weight: 700; }
  .pw-wrap { position: relative; }
  .pw-wrap button { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; color: var(--text-muted); }
  .seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: var(--surface-2); border-radius: var(--radius); }
  .seg button { padding: .55rem; border-radius: calc(var(--radius) - 3px); font-weight: 600; font-size: var(--fs-sm); color: var(--text-muted); }
  .seg button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
  @media (max-width: 860px) { .auth-wrap { grid-template-columns: 1fr; } .auth-side { display: none; } .auth-form { padding: var(--space-6) var(--space-5); } }

  /* ---------- Tracking ---------- */
  .timeline { list-style: none; padding: 0; position: relative; }
  .timeline li { position: relative; padding: 0 0 1.75rem 3rem; }
  .timeline li::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--border); }
  .timeline li:last-child::before { display: none; }
  .timeline .dot { position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--text-muted); font-size: .8rem; border: 2px solid var(--border); }
  .timeline .is-done .dot { background: var(--brand); color: var(--brand-contrast); border-color: var(--brand); }
  .timeline .is-done::before { background: var(--brand); }
  .timeline .is-current .dot { border-color: var(--brand); color: var(--brand-text); box-shadow: 0 0 0 5px var(--brand-soft); }
  .timeline h4 { font-size: var(--fs-base); }
  .timeline small { color: var(--text-muted); }

  /* ---------- Compare ---------- */
  .compare-table { min-width: 760px; }
  .compare-table th, .compare-table td { padding: 1rem; border: 1px solid var(--border); text-align: center; font-size: var(--fs-sm); vertical-align: middle; }
  .compare-table th:first-child { text-align: left; background: var(--bg-alt); width: 180px; }
  .compare-table img { width: 140px; margin: 0 auto .75rem; border-radius: var(--radius); }

  /* ---------- Contact ---------- */
  .contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-4); }
  .contact-card { text-align: center; padding: var(--space-6) var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); transition: all var(--dur); }
  .contact-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
  .contact-card i { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem; font-size: 1.4rem; background: var(--brand-soft); color: var(--brand-text); }
  .contact-card p { color: var(--text-muted); font-size: var(--fs-sm); }
  .contact-card a { font-weight: 600; }
  .map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16/10; background: var(--surface-2); }
  .map-embed iframe { width: 100%; height: 100%; border: 0; }

  /* ---------- About ---------- */
  .about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: center; }
  @media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } }
  .about-media { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 5/4; background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft)); display: grid; place-items: center; }
  .exp-badge { position: absolute; left: 1.5rem; bottom: 1.5rem; background: var(--surface); padding: 1rem 1.25rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: flex; gap: .75rem; align-items: center; }
  .exp-badge strong { font-size: var(--fs-3xl); color: var(--brand-text); line-height: 1; }
  .stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
  @media (max-width: 768px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
  .stat { text-align: center; padding: var(--space-5); }
  .stat strong { display: block; font-size: var(--fs-3xl); font-weight: 800; color: var(--brand-text); }
  .stat span { color: var(--text-muted); font-size: var(--fs-sm); }
  .value-card { padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
  .value-card i { font-size: 1.6rem; color: var(--brand-text); margin-bottom: 1rem; }
  .value-card p { color: var(--text-muted); font-size: var(--fs-sm); margin-top: .5rem; }
  .team-card { text-align: center; }
  .team-card .avatar { width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--radius-lg); font-size: 2.5rem; margin-bottom: 1rem; }
  .team-card small { color: var(--text-muted); }

  /* ---------- 404 / coming soon ---------- */
  .error-wrap { text-align: center; padding-block: var(--space-8); max-width: 640px; margin-inline: auto; }
  .error-code { font-size: clamp(6rem, 20vw, 11rem); font-weight: 900; line-height: 1; letter-spacing: -.05em; background: linear-gradient(135deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .error-wrap p { color: var(--text-muted); margin: 1rem 0 2rem; }
  .error-wrap form { max-width: 460px; margin: 0 auto 2rem; }
  .standalone { min-height: 100dvh; display: grid; place-items: center; padding: 2rem 1rem; background: radial-gradient(circle at 20% 20%, var(--brand-soft), transparent 50%), radial-gradient(circle at 80% 80%, var(--accent-soft), transparent 50%), var(--bg); }
  .cs-box { text-align: center; max-width: 640px; }
  .cs-box .countdown span { min-width: 76px; padding: .9rem; font-size: 1.75rem; background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow); }
  .cs-box .countdown span small { color: var(--text-muted); }

  /* ---------- Sitemap ---------- */
  .sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-5); }
  .sitemap-grid ul { list-style: none; padding: 0; display: grid; gap: .5rem; font-size: var(--fs-sm); }
  .sitemap-grid a { display: flex; gap: .5rem; align-items: center; }
  .sitemap-grid a i { color: var(--brand-text); font-size: .7rem; }

  /* ---------- Store locator ---------- */
  .store-card { padding: var(--space-5); border: 1.5px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); display: grid; gap: .5rem; font-size: var(--fs-sm); }
  .store-card:hover { border-color: var(--brand); }
  .store-card p { color: var(--text-muted); display: flex; gap: .6rem; }
  .store-card p i { color: var(--brand-text); margin-top: .3rem; width: 1rem; }

  /* ---------- Thank you ---------- */
  .success-icon { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; font-size: 2.5rem; margin: 0 auto 1.5rem; background: color-mix(in oklch, var(--success) 15%, transparent); color: var(--success); animation: pop 600ms var(--ease); }
  @keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.1); } 100% { transform: scale(1); } }
  .order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); overflow: hidden; }
  .order-overview > div { padding: 1rem 1.25rem; }
  .order-overview > div + div { border-left: 1px dashed var(--border-strong); }
  .order-overview small { display: block; color: var(--text-muted); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .05em; }
  @media (max-width: 600px) { .order-overview > div + div { border-left: 0; border-top: 1px dashed var(--border-strong); } }

  /* ---------- Modal (native dialog) ---------- */
  dialog.modal { border: 0; border-radius: var(--radius-xl); padding: 0; width: min(920px, 94vw); max-height: 90dvh; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
  dialog.modal::backdrop { background: rgb(0 0 0 / .55); backdrop-filter: blur(3px); }
  dialog.modal[open] { animation: modal-in 260ms var(--ease); }
  @keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.98); } }
  .modal-close { position: absolute; top: .75rem; right: .75rem; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); }
  .qv-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .qv-grid > div:last-child { padding: var(--space-6); }
  .qv-grid img { width: 100%; height: 100%; object-fit: cover; background: var(--surface-2); }
  @media (max-width: 700px) { .qv-grid { grid-template-columns: 1fr; } .qv-grid img { max-height: 300px; } }

  /* ---------- Toasts ---------- */
  .toast-region { position: fixed; z-index: 400; bottom: 1.25rem; left: 50%; transform: translateX(-50%); display: grid; gap: .5rem; width: min(420px, 92vw); pointer-events: none; }
  .toast { display: flex; gap: .75rem; align-items: center; padding: .9rem 1.1rem; border-radius: var(--radius); background: oklch(0.22 0.015 260); color: #fff; box-shadow: var(--shadow-lg); font-size: var(--fs-sm); animation: toast-in 300ms var(--ease); pointer-events: auto; }
  .toast i { color: var(--accent); }
  .toast.is-leaving { animation: toast-out 250ms forwards; }
  @keyframes toast-in { from { opacity: 0; transform: translateY(16px); } }
  @keyframes toast-out { to { opacity: 0; transform: translateY(16px); } }
  @media (max-width: 768px) { .toast-region { bottom: 80px; } }

  /* ---------- Floating actions ---------- */
  .fab-stack { position: fixed; right: 1.1rem; bottom: 1.25rem; z-index: 80; display: grid; gap: .6rem; }
  @media (max-width: 768px) { .fab-stack { bottom: 78px; } }
  .float-btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; box-shadow: var(--shadow-lg); color: #fff; transition: transform var(--dur); }
  .float-btn:hover { transform: scale(1.08); color: #fff; }
  .fab-wa { background: #25d366; } .fab-msg { background: #0084ff; }
  .fab-top { background: var(--surface); color: var(--text); border: 1px solid var(--border); opacity: 0; visibility: hidden; font-size: 1rem; }
  .fab-top.is-visible { opacity: 1; visibility: visible; }
  .fab-top:hover { color: var(--brand-text); }

  /* ---------- Cookie bar ---------- */
  .cookie-bar { position: fixed; left: 1rem; bottom: 1rem; z-index: 200; max-width: 420px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.1rem 1.25rem; box-shadow: var(--shadow-lg); font-size: var(--fs-sm); display: grid; gap: .75rem; }
  @media (max-width: 768px) { .cookie-bar { left: .5rem; right: .5rem; bottom: 72px; max-width: none; } }

  /* ---------- Empty state ---------- */
  .empty { text-align: center; padding: var(--space-8) var(--space-5); border: 2px dashed var(--border); border-radius: var(--radius-xl); }
  .empty i { font-size: 3rem; color: var(--brand-text); opacity: .5; margin-bottom: 1rem; }
  .empty p { color: var(--text-muted); margin: .5rem 0 1.5rem; }

  /* ---------- Deal banner ---------- */
  .deal-banner { display: grid; grid-template-columns: 1fr auto; gap: var(--space-5); align-items: center; padding: var(--space-7); border-radius: var(--radius-xl); background: linear-gradient(110deg, color-mix(in oklch, var(--brand) 20%, #0e1218), color-mix(in oklch, var(--brand) 50%, #0e1218)); color: #fff; position: relative; overflow: hidden; }
  .deal-banner h2 { font-size: var(--fs-3xl); }
  .deal-banner h2 em { font-style: normal; color: var(--accent); }
  .deal-banner p { opacity: .8; margin: .5rem 0 1.5rem; }
  @media (max-width: 768px) { .deal-banner { grid-template-columns: 1fr; padding: var(--space-6) var(--space-5); } }
  .campaign-card { border-radius: var(--radius-lg); padding: var(--space-6); color: #fff; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem; position: relative; overflow: hidden; }
  .campaign-card i.bg-icon { position: absolute; right: -10px; top: -10px; font-size: 8rem; opacity: .15; }
  .coupon { display: inline-flex; gap: .5rem; align-items: center; border: 2px dashed currentColor; padding: .35rem .8rem; border-radius: var(--radius-sm); font-weight: 800; letter-spacing: .08em; font-size: var(--fs-sm); width: fit-content; }
}

/* ========================================================================
   UTILITIES
   ======================================================================== */
@layer utilities {
  .text-center { text-align: center; }
  .text-muted { color: var(--text-muted); }
  .text-brand { color: var(--brand-text); }
  .text-sm { font-size: var(--fs-sm); }
  .text-xs { font-size: var(--fs-xs); }
  .fw-bold { font-weight: 700; }
  .mt-1 { margin-top: var(--space-2); } .mt-2 { margin-top: var(--space-4); } .mt-3 { margin-top: var(--space-5); } .mt-4 { margin-top: var(--space-6); } .mt-5 { margin-top: var(--space-7); }
  .mb-2 { margin-bottom: var(--space-4); } .mb-3 { margin-bottom: var(--space-5); } .mb-4 { margin-bottom: var(--space-6); }
  .w-100 { width: 100%; }
  .gap-2 { gap: var(--space-2); }
  .hide-mobile { } @media (max-width: 768px) { .hide-mobile { display: none !important; } }
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
  .reveal.is-visible { opacity: 1; transform: none; }
  @supports (animation-timeline: view()) {
    .reveal { opacity: 1; transform: none; animation: reveal-in linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
    @keyframes reveal-in { from { opacity: 0; transform: translateY(24px); } }
  }
}

/* View Transitions between pages (Chrome/Edge/Safari 18+) */
@view-transition { navigation: auto; }

/* ========================================================================
   v2 — COMPONENTS: WordPress/WooCommerce markup, carousel, sections, heroes
   ======================================================================== */
@layer components {
  /* ---------- Global scrollbars (thin, brand-tinted, never black) ---------- */
  html { scrollbar-width: thin; scrollbar-color: color-mix(in oklch, var(--brand) 40%, var(--border-strong)) transparent; }
  ::-webkit-scrollbar { width: 10px; height: 8px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: color-mix(in oklch, var(--brand) 35%, var(--border-strong)); border-radius: 99px; border: 2px solid var(--bg); }
  ::-webkit-scrollbar-thumb:hover { background: var(--brand); }
  .table-wrap, .order-items, .gallery-thumbs { scrollbar-width: thin; }

  .flex.wrap { flex-wrap: wrap; } .flex.center { justify-content: center; }
  .section-xs { padding-block: var(--space-4); }
  .btn-ghost-light { --_bg: rgb(255 255 255 / .08); --_fg: #fff; --_bd: rgb(255 255 255 / .35); }
  .btn-ghost-light:hover { --_bg: #fff; --_fg: #111; --_bd: #fff; }
  .check-list { list-style: none; padding: 0; display: grid; gap: .45rem; font-size: var(--fs-sm); }
  .check-list li::before { content: "\f00c"; font-family: "Font Awesome 7 Free"; font-weight: 900; color: var(--brand-text); margin-right: .6rem; }
  .eyebrow { display: inline-block; color: var(--brand-text); font-weight: 700; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; margin-bottom: .5rem; }

  /* ---------- Logo (custom-logo-link) ---------- */
  .custom-logo { height: var(--logo-h); width: auto; max-width: 220px; object-fit: contain; }
  .site-title { white-space: nowrap; }
  .site-branding { display: flex; align-items: center; flex-shrink: 1; min-width: 0; }
  .site-branding .logo { min-width: 0; }
  .site-branding .site-title { overflow: hidden; text-overflow: ellipsis; }
  @media (max-width: 600px) { .header-main { gap: var(--space-2); } .site-branding .logo { font-size: 1.15rem; } .header-actions .h-action { padding: .4rem .5rem; } }

  /* ---------- Header left cluster ---------- */
  .header-left { display: flex; align-items: center; gap: .25rem; }
  .search-toggle, .hotline-mini { display: none; }
  .search-toggle { background: none; border: 0; cursor: pointer; }
  .hotline-mini .h-label { white-space: nowrap; }

  /* ---------- Search category (toggleable) ---------- */
  .search-cat { display: flex; position: relative; border-right: 1px solid var(--border); background: var(--surface-2); flex-shrink: 0; }
  .search-cat::after { content: "\f078"; font-family: "Font Awesome 7 Free"; font-weight: 900; font-size: .6rem; position: absolute; right: .85rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--text-muted); }
  .header-search .search-cat select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 0 2.1rem 0 1.1rem; font-size: var(--fs-sm); font-weight: 500; width: 168px; max-width: none; cursor: pointer; color: var(--text); text-overflow: ellipsis; }
  .header-search .search-cat select:focus { outline: none; }

  /* ---------- WordPress menus ---------- */
  .nav-list .current-menu-item > a { color: var(--brand-text); }
  .cat-menu { position: relative; }
  .cat-menu:hover > .dropdown, .cat-menu:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
  .cat-dropdown { min-width: 260px; }
  .nav-list > .menu-item > .sub-menu.dropdown:not(.mega) { max-height: 70vh; overflow-y: auto; }

  /* ---------- Social buttons (unified) ---------- */
  .social-btn { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: .9rem; line-height: 1; flex-shrink: 0; transition: background var(--dur), color var(--dur), border-color var(--dur), transform var(--dur); }
  .social-btn:hover { background: var(--brand); color: var(--brand-contrast); border-color: var(--brand); transform: translateY(-2px); }
  .socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
  .socials.center { justify-content: center; }
  .site-footer .social-btn { background: rgb(255 255 255 / .07); border-color: rgb(255 255 255 / .12); color: #fff; }
  .site-footer .social-btn:hover { background: var(--brand); border-color: var(--brand); }
  .share { flex-wrap: wrap; }

  /* ---------- Payment logos ---------- */
  .pay-list { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
  .pay-logo { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 4px 8px; box-sizing: border-box; overflow: hidden; }
  .pay-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
  .pay-sm { width: 62px; height: 36px; } .pay-md { width: 74px; height: 44px; } .pay-lg { width: 96px; height: 56px; padding: 6px 10px; }
  .footer-pay .pay-list { gap: .55rem; justify-content: flex-end; }
  @media (max-width: 900px) { .footer-pay { flex-direction: column; align-items: flex-start; } .footer-pay .pay-list { justify-content: flex-start; } }
  @media (max-width: 480px) { .footer-pay .pay-list { display: grid; grid-template-columns: repeat(5, 1fr); width: 100%; } .footer-pay .pay-md { width: 100%; height: 40px; padding: 4px; } }
  .footer-pay-title { font-weight: 700; color: #fff; font-size: var(--fs-sm); display: inline-flex; gap: .5rem; align-items: center; }
  .footer-pay-title i { color: var(--accent); }
  .pay-option .pay-logo { border-color: var(--border); }
  .pay-steps ol { padding-left: 1.2rem; display: grid; gap: .3rem; }

  /* ---------- WooCommerce loop & price ---------- */
  ul.products { list-style: none; margin: 0; padding: 0; }
  .price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; margin-top: auto; padding-top: .35rem; }
  .price ins { order: -1; text-decoration: none; }
  .price ins .amount, .price > .amount { font-weight: 800; font-size: var(--fs-lg); color: var(--brand-text); }
  .price del, .price del .amount { color: var(--text-muted); font-size: var(--fs-sm); font-weight: 400; }
  .woocommerce-Price-currencySymbol { margin-right: 1px; }

  /* ---------- Pagination (WordPress paginate_links) ---------- */
  .navigation.pagination { margin-top: var(--space-7); }
  .nav-links { display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; }
  .page-numbers { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 .8rem; border: 1px solid var(--border); border-radius: var(--radius); font-weight: 600; font-size: var(--fs-sm); background: var(--surface); }
  a.page-numbers:hover { border-color: var(--brand); color: var(--brand-text); }
  .page-numbers.current { background: var(--brand); color: var(--brand-contrast); border-color: var(--brand); }
  .page-numbers.dots { border: 0; background: none; }
  .page-numbers.prev, .page-numbers.next { display: inline-flex; gap: .4rem; }

  /* ---------- Carousel (replaces native scrollbars) ---------- */
  .carousel { position: relative; }
  .carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * var(--space-4)) / 5); gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 6px; margin: -4px -2px 0; overscroll-behavior-x: contain; }
  .carousel-track::-webkit-scrollbar { display: none; }
  .carousel-track > * { scroll-snap-align: start; }
  @media (max-width: 1200px) { .carousel-track { grid-auto-columns: calc((100% - 3 * var(--space-4)) / 4); } }
  @media (max-width: 900px) { .carousel-track { grid-auto-columns: calc((100% - 2 * var(--space-4)) / 3); } }
  @media (max-width: 600px) { .carousel-track { grid-auto-columns: 46%; gap: var(--space-3); } }
  .carousel-btn { position: absolute; top: 38%; z-index: 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow); transition: opacity var(--dur), background var(--dur), color var(--dur), transform var(--dur); }
  .carousel-btn:hover { background: var(--brand); color: var(--brand-contrast); border-color: var(--brand); }
  .carousel-btn.prev { left: -20px; } .carousel-btn.next { right: -20px; }
  .carousel-btn[disabled] { opacity: 0; pointer-events: none; transform: scale(.8); }
  @media (max-width: 1400px) { .carousel-btn.prev { left: 6px; } .carousel-btn.next { right: 6px; } }
  @media (hover: none) { .carousel-btn { display: none; } }
  .carousel-progress { height: 4px; border-radius: 4px; background: var(--surface-2); margin-top: var(--space-4); overflow: hidden; }
  .carousel-progress span { display: block; height: 100%; width: 20%; background: var(--brand); border-radius: 4px; transition: transform 200ms linear, width 200ms; }

  /* ---------- Feature bar variant ---------- */
  .features-bar { gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
  .features-bar .feature { border: 0; border-radius: 0; background: none; }
  .features-bar .feature + .feature { border-left: 1px solid var(--border); }
  @media (max-width: 992px) { .features-bar .feature:nth-child(3) { border-left: 0; } .features-bar .feature:nth-child(n+3) { border-top: 1px solid var(--border); } }
  .feature h3 { font-size: var(--fs-sm); }
  .features-wrap { padding-top: var(--space-4); }

  /* ---------- Category variants ---------- */
  .cat-circles { display: grid; grid-template-columns: repeat(8, 1fr); gap: var(--space-4); }
  @media (max-width: 1000px) { .cat-circles { grid-template-columns: repeat(4, 1fr); } }
  .cat-circle { text-align: center; display: grid; gap: .6rem; justify-items: center; }
  .cat-circle span { width: 100%; max-width: 140px; aspect-ratio: 1; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur); }
  .cat-circle img { width: 78%; transition: transform 500ms var(--ease); }
  .cat-circle:hover span { box-shadow: 0 0 0 3px var(--brand); }
  .cat-circle:hover img { transform: scale(1.08) rotate(-3deg); }
  .cat-circle h3 { font-size: var(--fs-sm); font-weight: 650; }
  .cat-chips { display: grid; grid-template-columns: repeat(10, 1fr); gap: var(--space-3); }
  @media (max-width: 1100px) { .cat-chips { grid-template-columns: repeat(5, 1fr); } }
  @media (max-width: 560px) { .cat-chips { grid-template-columns: repeat(3, 1fr); } }
  .cat-chip { display: grid; justify-items: center; gap: .5rem; padding: var(--space-4) var(--space-2); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); font-size: var(--fs-sm); font-weight: 600; text-align: center; transition: all var(--dur); }
  .cat-chip i { font-size: 1.5rem; color: var(--brand-text); width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); }
  .cat-chip:hover { border-color: var(--brand); transform: translateY(-3px); color: var(--text); }

  /* ---------- Heroes ---------- */
  .hero-fashion { padding-block: var(--space-6) var(--space-7); background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
  .hf-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--space-7); align-items: center; }
  .hf-copy h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.75rem); line-height: 1; letter-spacing: -.035em; margin-bottom: 1.25rem; }
  .hf-copy h1 em, .hero-grocery h1 em, .hero-beauty h1 em, .hero-cover h1 em, .hero-campaign h1 em, .hero-launch h1 em { font-style: normal; color: var(--brand-text); }
  .hf-copy p { color: var(--text-muted); font-size: var(--fs-lg); max-width: 46ch; margin-bottom: 1.75rem; }
  .hf-stats { display: flex; gap: var(--space-6); margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--border); list-style: none; padding-left: 0; }
  .hf-stats strong { display: block; font-size: var(--fs-xl); }
  .hf-stats span { font-size: var(--fs-xs); color: var(--text-muted); }
  .hf-media { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: var(--space-4); min-height: 520px; }
  .hf-media figure { margin: 0; border-radius: var(--radius-xl); background: var(--brand-soft); display: grid; place-items: center; overflow: hidden; position: relative; }
  .hf-tall { grid-row: 1 / 3; } .hf-small.a { background: var(--accent-soft) !important; } .hf-small.b { background: var(--surface-2) !important; }
  .hf-media img { width: 85%; }
  .hf-tall figcaption { position: absolute; left: 1rem; bottom: 1rem; background: var(--surface); padding: .5rem .9rem; border-radius: var(--radius-full); font-size: var(--fs-sm); box-shadow: var(--shadow); }
  .hf-tall figcaption b { color: var(--brand-text); margin-left: .35rem; }
  .hf-badge { position: absolute; top: 46%; left: 54%; width: 92px; height: 92px; border-radius: 50%; background: var(--brand); color: var(--brand-contrast); display: grid; place-content: center; text-align: center; font-weight: 800; font-size: 1.4rem; line-height: 1; box-shadow: var(--shadow-lg); transform: translate(-50%, -50%) rotate(-12deg); }
  .hf-badge small { font-size: .6rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
  @media (max-width: 900px) { .hf-grid { grid-template-columns: 1fr; } .hf-media { min-height: 380px; } }

  .hero-cats { display: grid; grid-template-columns: 260px 1fr 300px; gap: var(--space-4); }
  .hero-cats .slider, .hero-cats .slide { min-height: 420px; }
  .vcat { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
  .vcat-title { font-size: var(--fs-sm); padding: .9rem 1.1rem; background: var(--brand); color: var(--brand-contrast); display: flex; gap: .6rem; align-items: center; }
  .vcat ul { list-style: none; padding: .4rem; margin: 0; }
  .vcat a { display: grid; grid-template-columns: 1.4rem 1fr auto; gap: .6rem; align-items: center; padding: .55rem .7rem; border-radius: var(--radius-sm); font-size: var(--fs-sm); font-weight: 500; }
  .vcat a i:first-child { color: var(--brand-text); }
  .vcat a .fa-angle-right { font-size: .7rem; opacity: .4; }
  .vcat a:hover { background: var(--brand-soft); }
  @media (max-width: 1200px) { .hero-cats { grid-template-columns: 240px 1fr; } .hero-cats .hero-side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: none; } }
  @media (max-width: 900px) { .hero-cats { grid-template-columns: 1fr; } .vcat { display: none; } }

  .hero-grocery { padding-block: var(--space-6); }
  .hg-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: var(--space-6); border-radius: var(--radius-xl); background: linear-gradient(120deg, var(--brand-soft), var(--accent-soft)); padding: var(--space-7); overflow: hidden; }
  .hg-copy h1 { font-size: var(--fs-4xl); line-height: 1.05; margin: 1rem 0; }
  .hg-copy p { color: var(--text-muted); font-size: var(--fs-lg); }
  .hg-search { display: flex; align-items: center; gap: .6rem; background: var(--surface); border-radius: var(--radius-full); padding: .4rem .4rem .4rem 1.1rem; margin: 1.5rem 0 1rem; box-shadow: var(--shadow); max-width: 520px; }
  .hg-search i { color: var(--brand-text); } .hg-search input { flex: 1; border: 0; background: transparent; min-width: 0; padding: .6rem 0; }
  .hg-search input:focus { outline: none; } .hg-search .btn { border-radius: var(--radius-full); }
  .hg-badges { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: var(--fs-sm); font-weight: 600; }
  .hg-badges i { color: var(--brand-text); margin-right: .35rem; }
  .hg-media { position: relative; display: grid; place-items: center; min-height: 380px; }
  .hg-circle { position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; background: var(--surface); opacity: .7; }
  .hg-media img { position: relative; width: 78%; }
  .hg-float { position: absolute; background: var(--surface); padding: .6rem 1rem; border-radius: var(--radius-full); box-shadow: var(--shadow-lg); font-size: var(--fs-sm); font-weight: 650; display: flex; gap: .5rem; align-items: center; }
  .hg-float i { color: var(--brand-text); } .hg-float.a { top: 12%; left: 0; } .hg-float.b { bottom: 12%; right: 0; } .hg-float.b i { color: var(--warning); }
  @media (max-width: 900px) { .hg-grid { grid-template-columns: 1fr; padding: var(--space-6) var(--space-5); } .hg-media { min-height: 280px; } }

  .hero-minimal { padding-block: var(--space-8) var(--space-6); text-align: center; }
  .hero-minimal h1 { font-size: clamp(2.75rem, 1.5rem + 5vw, 5.5rem); letter-spacing: -.045em; line-height: 1; font-weight: 800; }
  .hero-minimal p { color: var(--text-muted); font-size: var(--fs-lg); max-width: 52ch; margin: 1.25rem auto 2rem; }
  .hm-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); margin-top: var(--space-7); }
  .hm-item { display: grid; gap: .6rem; font-size: var(--fs-sm); color: var(--text-muted); }
  .hm-item img { width: 100%; aspect-ratio: 1; border-radius: var(--radius-lg); background: var(--surface-2); padding: 12%; transition: transform var(--dur) var(--ease); }
  .hm-item:hover img { transform: translateY(-6px); }
  .hm-item:nth-child(even) { margin-top: var(--space-6); }
  @media (max-width: 768px) { .hm-row { grid-template-columns: repeat(3, 1fr); } .hm-item:nth-child(n+4) { display: none; } }

  .bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 250px 250px; gap: var(--space-4); }
  .bento-tile { position: relative; border-radius: var(--radius-xl); padding: var(--space-5); overflow: hidden; display: flex; flex-direction: column; gap: .3rem; background: var(--surface-2); isolation: isolate; transition: transform var(--dur) var(--ease); }
  .bento-tile:hover { transform: translateY(-4px); color: inherit; }
  .bento-tile img { position: absolute; right: -6%; bottom: -8%; width: 62%; z-index: -1; transition: transform 500ms var(--ease); }
  .bento-tile:hover img { transform: scale(1.06) rotate(-3deg); }
  .bento-tile p { color: var(--text-muted); font-size: var(--fs-sm); }
  .b-main { grid-column: span 2; grid-row: span 2; background: linear-gradient(150deg, var(--brand), var(--brand-deep)); color: #fff; justify-content: flex-start; padding: var(--space-7); }
  .b-main h1 { font-size: var(--fs-4xl); margin: .75rem 0 .5rem; } .b-main p { color: rgb(255 255 255 / .8); font-size: var(--fs-lg); max-width: 26ch; margin-bottom: 1.25rem; }
  .b-main .btn { width: fit-content; } .b-main img { width: 58%; right: -4%; bottom: -6%; }
  .b-a { background: var(--accent-soft); } .b-c { grid-column: span 2; background: var(--brand-soft); } .b-b { background: var(--surface-2); }
  .b-d { background: color-mix(in oklch, var(--info) 12%, var(--bg)); } .b-e { background: color-mix(in oklch, var(--danger) 9%, var(--bg)); }
  .bento { grid-template-areas: "m m a b" "m m c c"; } .b-main { grid-area: m; } .b-a { grid-area: a; } .b-b { grid-area: b; } .b-c { grid-area: c; } .b-d, .b-e { display: none; }
  @media (max-width: 1000px) { .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; grid-template-areas: "m m" "a b" "c c"; } .b-main { min-height: 380px; } .bento-tile { min-height: 200px; } }

  .hero-beauty { padding-block: var(--space-6) var(--space-7); background: radial-gradient(ellipse at 80% 40%, var(--brand-soft), transparent 60%); }
  .hb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: center; }
  .hb-copy h1 { font-size: var(--fs-4xl); line-height: 1.05; margin-bottom: 1rem; font-weight: 750; }
  .hb-copy p { color: var(--text-muted); font-size: var(--fs-lg); max-width: 44ch; margin-bottom: 1.75rem; }
  .hb-trust { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.75rem; font-size: var(--fs-sm); font-weight: 600; }
  .hb-trust i { color: var(--brand-text); margin-right: .35rem; }
  .hb-media { position: relative; display: grid; place-items: center; }
  .hb-arch { width: min(420px, 100%); aspect-ratio: 4/5; border-radius: 999px 999px var(--radius-xl) var(--radius-xl); background: linear-gradient(180deg, var(--brand-soft), var(--accent-soft)); display: grid; place-items: center; overflow: hidden; }
  .hb-arch img { width: 80%; }
  .hb-chip { position: absolute; bottom: 10%; left: 4%; background: var(--surface); padding: .7rem 1.1rem; border-radius: var(--radius-full); box-shadow: var(--shadow-lg); font-weight: 650; font-size: var(--fs-sm); }
  .hb-chip i { color: var(--warning); }
  @media (max-width: 900px) { .hb-grid { grid-template-columns: 1fr; } .hb-media { order: -1; } .hb-arch { width: 70%; } }

  .hero-cover { position: relative; min-height: 600px; display: grid; align-items: center; background: linear-gradient(110deg, color-mix(in oklch, var(--brand) 22%, #12100e) 30%, color-mix(in oklch, var(--brand) 40%, #2a2017)); color: #fff; overflow: hidden; }
  .hc-bg { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: min(620px, 55%); opacity: .95; }
  .hc-bg::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgb(255 210 120 / .35), transparent 65%); }
  .hc-bg img { position: relative; width: 100%; }
  .hc-inner { position: relative; z-index: 1; padding-block: var(--space-8); }
  .hc-inner h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.75rem); line-height: 1; max-width: 12ch; margin-bottom: 1.25rem; letter-spacing: -.03em; }
  .hc-inner h1 em { color: var(--accent) !important; }
  .hc-inner p { max-width: 44ch; opacity: .8; font-size: var(--fs-lg); margin-bottom: 2rem; }
  .hc-inner .eyebrow { color: var(--accent); }
  @media (max-width: 900px) { .hc-bg { opacity: .25; width: 90%; right: -20%; } .hero-cover { min-height: 520px; } }

  .hero-campaign { background: radial-gradient(circle at 75% 50%, color-mix(in oklch, var(--brand) 55%, #1a0a0a), color-mix(in oklch, var(--brand) 25%, #0b0b0f) 65%); color: #fff; padding-block: var(--space-8); overflow: hidden; }
  .hcp-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-6); align-items: center; }
  .hero-campaign h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); line-height: 1.02; margin: 1rem 0; letter-spacing: -.03em; }
  .hero-campaign h1 em { color: var(--accent) !important; }
  .hero-campaign p { opacity: .8; font-size: var(--fs-lg); margin-bottom: 1.5rem; }
  .countdown.lg span { min-width: 72px; padding: .75rem .5rem; font-size: 1.75rem; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .2); backdrop-filter: blur(6px); }
  .hcp-art { position: relative; display: grid; place-items: center; min-height: 380px; }
  .hcp-ring { position: absolute; width: 360px; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgb(255 255 255 / .25); animation: spin 40s linear infinite; }
  .hcp-art img { position: relative; width: 280px; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .45)); }
  .hcp-art .hcp-2 { position: absolute; width: 170px; left: 0; bottom: 4%; } .hcp-art .hcp-3 { position: absolute; width: 150px; right: 4%; top: 0; }
  @keyframes spin { to { transform: rotate(360deg); } }
  @media (max-width: 900px) { .hcp-grid { grid-template-columns: 1fr; } .hcp-art { min-height: 300px; } .hcp-ring { width: 280px; } }

  .hero-launch { text-align: center; padding-block: var(--space-8) var(--space-6); background: radial-gradient(ellipse at 50% 85%, var(--brand-soft), transparent 60%); overflow: hidden; }
  .hero-launch h1 { font-size: clamp(3rem, 1.5rem + 6vw, 6rem); letter-spacing: -.05em; line-height: .95; }
  .hero-launch p { color: var(--text-muted); font-size: var(--fs-xl); margin: 1rem 0 2rem; }
  .hl-stage { position: relative; width: min(560px, 100%); margin: var(--space-6) auto 0; }
  .hl-stage img { width: 100%; filter: drop-shadow(0 40px 50px rgb(0 0 0 / .18)); }
  .hl-chip { position: absolute; background: var(--surface); padding: .55rem 1rem; border-radius: var(--radius-full); box-shadow: var(--shadow-lg); font-size: var(--fs-sm); font-weight: 650; white-space: nowrap; }
  .hl-chip i { color: var(--brand-text); margin-right: .3rem; }
  .hl-chip.c1 { left: -8%; top: 22%; } .hl-chip.c2 { right: -6%; top: 14%; } .hl-chip.c3 { left: -2%; bottom: 22%; } .hl-chip.c4 { right: -4%; bottom: 28%; }
  @media (max-width: 700px) { .hl-chip.c1, .hl-chip.c3 { left: 0; } .hl-chip.c2, .hl-chip.c4 { right: 0; } .hl-chip { font-size: .7rem; } }

  /* ---------- Sections ---------- */
  .trust-strip { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.5rem; border-radius: var(--radius-lg); background: var(--surface-2); font-size: var(--fs-sm); font-weight: 600; }
  .trust-strip i { color: var(--brand-text); margin-right: .45rem; }
  @media (max-width: 768px) { .trust-strip { justify-content: center; } }

  .promo-lg { min-height: 280px; padding: var(--space-6); gap: .6rem; }
  .promo-lg h3 { font-size: var(--fs-2xl); max-width: 14ch; } .promo-lg p { max-width: 26ch; opacity: .8; } .promo-lg .btn { width: fit-content; margin-top: .5rem; }
  .promo-lg img { width: 46%; }
  .promo-dark h3, .promo-dark p, .promo-dark .link-arrow { color: #fff; }

  .spotlight { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-7); align-items: center; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-6); background: var(--surface); }
  .sp-media { position: relative; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft)); aspect-ratio: 1; display: grid; place-items: center; }
  .sp-media img { width: 78%; } .sp-media .badge { position: absolute; top: 1rem; left: 1rem; font-size: .85rem; padding: .35rem .75rem; }
  .sp-body h2 { margin-bottom: .5rem; } .sp-price { margin: 1rem 0; } .sp-price .price ins .amount { font-size: var(--fs-3xl); }
  .sp-body .check-list { margin-bottom: 1.25rem; } .sp-body .countdown { margin-top: 1rem; }
  @media (max-width: 900px) { .spotlight { grid-template-columns: 1fr; padding: var(--space-5); gap: var(--space-5); } }

  .product_list_widget { list-style: none; padding: 0; display: grid; gap: .9rem; }
  .mini-prod { display: grid; grid-template-columns: 80px 1fr; gap: .9rem; align-items: center; }
  .mini-prod img { border-radius: var(--radius); background: var(--surface-2); }
  .mini-prod h3 { font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; margin-bottom: .2rem; }
  .mini-prod .price { padding-top: .15rem; } .mini-prod .price ins .amount, .mini-prod .price > .amount { font-size: var(--fs-base); }
  .widget_products { background: var(--surface); }

  .quote-hero { max-width: 860px; margin: 0 auto; text-align: center; display: grid; gap: 1.25rem; justify-items: center; }
  .quote-hero blockquote { font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem); font-weight: 600; line-height: 1.4; letter-spacing: -.01em; text-wrap: balance; }
  .quote-hero figcaption { display: flex; gap: .75rem; align-items: center; text-align: left; }
  .quote-hero small { display: block; color: var(--text-muted); }

  .insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-3); }
  @media (max-width: 768px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }
  .insta { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
  .insta img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
  .insta i { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.75rem; color: #fff; background: color-mix(in oklch, var(--brand) 55%, transparent); opacity: 0; transition: opacity var(--dur); }
  .insta:hover i { opacity: 1; } .insta:hover img { transform: scale(1.08); }

  .app-banner { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: var(--space-6); border-radius: var(--radius-xl); padding: var(--space-7); background: linear-gradient(120deg, var(--brand-soft), var(--accent-soft)); overflow: hidden; }
  .app-banner p { color: var(--text-muted); margin: .5rem 0 1.5rem; }
  .app-phone { justify-self: center; width: 230px; aspect-ratio: 9/16; border-radius: 34px; background: #111827; padding: 10px; box-shadow: var(--shadow-lg); display: grid; place-items: center; transform: rotate(6deg); }
  .app-phone img { width: 100%; border-radius: 24px; background: var(--brand-soft); aspect-ratio: 9/16; object-fit: contain; }
  .app-badge.dark { background: #111827; color: #fff; border-color: #111827; }
  .app-badge.dark strong { color: #fff; }
  @media (max-width: 768px) { .app-banner { grid-template-columns: 1fr; padding: var(--space-6) var(--space-5); } .app-phone { width: 170px; } }

  .lookbook { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-7); align-items: center; }
  .lb-media { position: relative; overflow: clip; overflow-clip-margin: 0; border-radius: var(--radius-xl); background: linear-gradient(160deg, var(--brand-soft), var(--surface-2)); aspect-ratio: 5/4; display: grid; place-items: center; }
  .lb-media > img { width: 62%; }
  .hotspot { position: absolute; z-index: 2; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgb(255 255 255 / .45); transform: translate(-50%, -50%); }
  .hotspot::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--brand); }
  .hotspot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #fff; animation: ping 1.8s ease-out infinite; }
  @keyframes ping { to { transform: scale(1.8); opacity: 0; } }
  .hs-card { position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translateX(-50%) translateY(6px); display: flex; gap: .6rem; align-items: center; background: var(--surface); color: var(--text); padding: .5rem .75rem .5rem .5rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); white-space: nowrap; font-size: var(--fs-xs); text-align: left; opacity: 0; visibility: hidden; transition: all var(--dur); }
  .hs-card b { display: block; font-size: var(--fs-sm); max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
  .hs-card img { border-radius: 6px; background: var(--surface-2); }
  @media (max-width: 600px) { .hs-card { left: auto; right: -10px; transform: translateY(6px); } .hotspot:hover .hs-card, .hotspot:focus .hs-card { transform: none !important; } .hs-card b { max-width: 120px; } }
  .hotspot:hover .hs-card, .hotspot:focus .hs-card { opacity: 1; visibility: visible; transform: translateX(-50%); }
  .lb-copy p { color: var(--text-muted); margin: .75rem 0 1.5rem; }
  @media (max-width: 900px) { .lookbook { grid-template-columns: 1fr; } }

  .steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); counter-reset: s; }
  @media (max-width: 900px) { .steps-row { grid-template-columns: 1fr 1fr; } }
  .step-card { position: relative; padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
  .step-no { position: absolute; top: 1rem; right: 1.25rem; font-size: 2.5rem; font-weight: 800; color: var(--brand-soft); line-height: 1; -webkit-text-stroke: 1px color-mix(in oklch, var(--brand) 30%, transparent); }
  .step-card i { font-size: 1.4rem; color: var(--brand-text); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); margin-bottom: 1rem; }
  .step-card p { color: var(--text-muted); font-size: var(--fs-sm); margin-top: .35rem; }

  .concerns { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
  .concern { display: inline-flex; gap: .6rem; align-items: center; padding: .85rem 1.4rem; border-radius: var(--radius-full); border: 1.5px solid var(--border); background: var(--surface); font-weight: 600; transition: all var(--dur); }
  .concern i { color: var(--brand-text); }
  .concern:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--text); }

  .rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
  @media (max-width: 900px) { .rooms { grid-template-columns: 1fr 1fr; } }
  .room-card { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 3/4; background: linear-gradient(180deg, var(--surface-2), var(--accent-soft)); display: flex; flex-direction: column; justify-content: flex-end; }
  .room-card img { position: absolute; top: 8%; left: 10%; width: 80%; transition: transform 500ms var(--ease); }
  .room-card:hover img { transform: scale(1.06) translateY(-4px); }
  .room-card > div { position: relative; margin: .75rem; padding: 1rem; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
  .room-card > div i { color: var(--brand-text); margin-bottom: .3rem; }
  .room-card h3 { font-size: var(--fs-lg); }

  .campaign-card { border-radius: var(--radius-lg); padding: var(--space-6); color: #fff; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--c1), var(--c2)); }
  .campaign-card i.bg-icon { position: absolute; right: -10px; top: -10px; font-size: 8rem; opacity: .15; }
  .campaign-card small { opacity: .85; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .7rem; }
  .campaign-card p { opacity: .85; font-size: var(--fs-sm); }
  .coupon { display: inline-flex; gap: .5rem; align-items: center; border: 2px dashed currentColor; padding: .35rem .8rem; border-radius: var(--radius-sm); font-weight: 800; letter-spacing: .08em; font-size: var(--fs-sm); width: fit-content; color: inherit; margin-top: .5rem; }

  .story { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: center; }
  .story-media { border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--surface-2), var(--brand-soft)); aspect-ratio: 1; display: grid; place-items: center; }
  .story-media img { width: 72%; }
  .story-copy p { color: var(--text-muted); margin: 1rem 0 1.25rem; font-size: var(--fs-lg); }
  .story-copy .check-list { margin-bottom: 1.5rem; }
  @media (max-width: 900px) { .story { grid-template-columns: 1fr; } }

  .buy-box { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-7); align-items: center; padding: var(--space-6); border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
  .buy-box > img { width: 100%; border-radius: var(--radius-lg); background: var(--brand-soft); }
  .buy-box .sp-price { margin: .75rem 0; }
  @media (max-width: 900px) { .buy-box { grid-template-columns: 1fr; } }

  /* ---------- Blog ---------- */
  .layout-switch { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: var(--space-5); padding: .4rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
  .layout-switch a { padding: .45rem .85rem; border-radius: var(--radius); font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); }
  .layout-switch a:hover { color: var(--text); background: var(--surface-2); }
  .layout-switch a[aria-current] { background: var(--brand); color: var(--brand-contrast); }
  .post-card .entry-title a:hover { color: var(--brand-text); }
  .post-list { display: grid; gap: var(--space-4); }
  .post-card.is-row { flex-direction: row; }
  .post-card.is-row .media { width: 40%; flex-shrink: 0; aspect-ratio: auto; }
  @media (max-width: 700px) { .post-card.is-row { flex-direction: column; } .post-card.is-row .media { width: 100%; aspect-ratio: 16/10; } }
  .blog-3 { grid-template-columns: repeat(3, 1fr); } @media (max-width: 900px) { .blog-3 { grid-template-columns: 1fr 1fr; } } @media (max-width: 600px) { .blog-3 { grid-template-columns: 1fr; } }
  .masonry { columns: 3 300px; column-gap: var(--space-5); }
  .masonry > .post-card { break-inside: avoid; margin-bottom: var(--space-5); display: inline-flex; width: 100%; }
  .masonry .m-1 .media { aspect-ratio: 4/5; } .masonry .m-2 .media { aspect-ratio: 1; } .masonry .m-2 .entry-summary { display: none; }
  .mag-top { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--space-5); margin-bottom: var(--space-7); }
  .mag-feature { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 460px; }
  .mag-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .mag-overlay { position: absolute; inset: auto 0 0 0; padding: var(--space-6); background: linear-gradient(transparent, rgb(0 0 0 / .78)); color: #fff; }
  .mag-overlay h2 { margin: .75rem 0; font-size: var(--fs-2xl); } .mag-overlay a:hover { color: #fff; text-decoration: underline; }
  .mag-overlay .post-meta { color: rgb(255 255 255 / .85); } .mag-overlay .post-meta i { color: var(--accent); }
  .mag-list { display: grid; gap: var(--space-4); align-content: start; }
  .mag-side { display: grid; grid-template-columns: 140px 1fr; gap: var(--space-4); align-items: center; padding-bottom: var(--space-4); border-bottom: 1px solid var(--border); }
  .mag-side:last-child { border-bottom: 0; }
  .mag-side img { border-radius: var(--radius); aspect-ratio: 16/11; object-fit: cover; }
  .mag-side .cat-links { font-size: var(--fs-xs); color: var(--brand-text); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
  .mag-side h3 { font-size: var(--fs-base); line-height: 1.35; margin: .2rem 0; } .mag-side small { color: var(--text-muted); }
  @media (max-width: 900px) { .mag-top { grid-template-columns: 1fr; } .mag-feature { min-height: 340px; } }
  .trending { list-style: none; padding: 0; display: grid; gap: .9rem; }
  .trending li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .5rem; font-weight: 600; font-size: var(--fs-sm); line-height: 1.35; }
  .tr-no { font-size: 1.3rem; font-weight: 800; color: var(--brand-text); opacity: .5; }
  .classic-wrap { max-width: 860px; margin-inline: auto; display: grid; gap: var(--space-7); }
  .classic-post .post-thumbnail { display: block; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 2/1; margin-bottom: var(--space-5); }
  .classic-post .post-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
  .classic-post:hover .post-thumbnail img { transform: scale(1.03); }
  .classic-post .entry-title { font-size: var(--fs-2xl); margin: .5rem 0 1rem; }
  .classic-post .entry-summary { color: var(--text-muted); font-size: var(--fs-lg); margin-bottom: 1.25rem; }
  .minimal-list { max-width: 860px; margin-inline: auto; }
  .ml-month { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .12em; color: var(--brand-text); margin: var(--space-6) 0 var(--space-3); }
  .minimal-list ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border); }
  .minimal-list li { display: grid; grid-template-columns: 80px 1fr auto; gap: var(--space-5); padding: var(--space-5) 0; border-bottom: 1px solid var(--border); align-items: start; }
  .minimal-list time { font-weight: 700; color: var(--text-muted); font-size: var(--fs-sm); padding-top: .2rem; }
  .minimal-list h3 { font-size: var(--fs-lg); } .minimal-list h3 a:hover { color: var(--brand-text); }
  .minimal-list p { color: var(--text-muted); font-size: var(--fs-sm); margin-top: .25rem; }
  @media (max-width: 640px) { .minimal-list li { grid-template-columns: 1fr; gap: .4rem; } }

  /* Single post */
  .single-post .entry-header { margin-bottom: var(--space-5); }
  .single-post .entry-header .entry-title { font-size: var(--fs-3xl); margin-top: .75rem; }
  .single-post .entry-content { max-width: none; }
  .entry-content > p:first-child { font-size: var(--fs-lg); }
  .lead { font-size: var(--fs-xl) !important; color: var(--text-muted); line-height: 1.6; }
  .wp-block-image { margin: 1.75rem 0; } .wp-block-image img { border-radius: var(--radius-lg); }
  .wp-block-image figcaption { font-size: var(--fs-sm); color: var(--text-muted); text-align: center; margin-top: .5rem; }
  .entry-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--border); }
  .tagcloud { display: flex; flex-wrap: wrap; gap: .4rem; }
  .tagcloud a { font-size: var(--fs-xs) !important; padding: .3rem .75rem; border: 1px solid var(--border); border-radius: var(--radius-full); }
  .tagcloud a:hover { border-color: var(--brand); color: var(--brand-text); }
  .post-navigation { margin-top: var(--space-6); }
  .post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
  .post-navigation a { display: grid; gap: .3rem; padding: var(--space-4) var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-lg); font-weight: 650; line-height: 1.35; }
  .post-navigation a:hover { border-color: var(--brand); }
  .post-navigation small { color: var(--brand-text); font-weight: 600; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; }
  .post-navigation .nav-next { text-align: right; }
  @media (max-width: 600px) { .post-navigation .nav-links { grid-template-columns: 1fr; } .post-navigation .nav-next { text-align: left; } }
  .comments-area { margin-top: var(--space-7); }
  .comments-title { font-size: var(--fs-xl); margin-bottom: var(--space-4); }
  .comment-list { list-style: none; padding: 0; display: grid; gap: var(--space-4); margin-bottom: var(--space-5); }
  .comment-body { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; padding: var(--space-4); border-radius: var(--radius-lg); background: var(--bg-alt); }
  .comment-meta { display: flex; gap: .75rem; align-items: baseline; } .comment-meta small { color: var(--text-muted); }
  .comment-body p { margin: .3rem 0; font-size: var(--fs-sm); }
  .comment-reply-link { font-size: var(--fs-xs); font-weight: 700; color: var(--brand-text); }
  .comment-reply-title { font-size: var(--fs-lg); }
  .cover-hero { position: relative; min-height: 520px; display: grid; align-items: end; color: #fff; overflow: hidden; }
  .cover-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .cover-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .1), rgb(0 0 0 / .72)); }
  .cover-inner { position: relative; z-index: 1; padding-block: var(--space-8) var(--space-7); max-width: 900px; }
  .cover-inner h1 { font-size: var(--fs-4xl); margin: 1rem 0; line-height: 1.08; }
  .cover-inner .breadcrumb ol, .cover-inner .breadcrumb [aria-current], .cover-inner .post-meta { color: rgb(255 255 255 / .9); }
  .cover-inner .post-meta i { color: var(--accent); }
  .single-narrow { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: var(--space-7); justify-content: center; }
  .toc-float { position: sticky; top: calc(var(--sticky-offset, 0px) + 1rem); align-self: start; }
  .toc-float ol { padding-left: 1.1rem; display: grid; gap: .5rem; font-size: var(--fs-sm); }
  .toc-float ol li::marker { color: var(--brand-text); font-weight: 700; }
  @media (max-width: 1000px) { .single-narrow { grid-template-columns: 1fr; } .toc-float { position: static; } }

  /* WordPress core widgets */
  .widget-title { font-size: var(--fs-base); margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
  .widget ul { list-style: none; padding: 0; margin: 0; }
  .widget_categories li, .widget_archive li { display: flex; justify-content: space-between; padding: .45rem 0; font-size: var(--fs-sm); border-bottom: 1px dashed var(--border); }
  .widget_categories li:last-child, .widget_archive li:last-child { border-bottom: 0; }
  .widget_categories .count { font-size: var(--fs-xs); color: var(--text-muted); background: var(--surface-2); padding: 0 .5rem; border-radius: var(--radius-full); }
  .widget_recent_entries ul { display: grid; gap: .9rem; }
  .mini-post { display: grid; grid-template-columns: 72px 1fr; gap: .75rem; align-items: center; }
  .mini-post img { border-radius: var(--radius-sm); aspect-ratio: 1; object-fit: cover; }
  .mp-title { display: block; font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; }
  .mini-post small { color: var(--text-muted); font-size: var(--fs-xs); }
  .widget .socials { margin-top: 0; }
  .widget .header-search { display: flex; }

  /* WooCommerce notices & form aliases (so WC templates inherit the design) */
  .woocommerce-message, .woocommerce-info, .woocommerce-error { display: flex; gap: .9rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--brand-soft); border: 1px solid color-mix(in oklch, var(--brand) 30%, transparent); font-size: var(--fs-sm); list-style: none; }
  .woocommerce-error { background: color-mix(in oklch, var(--danger) 10%, var(--bg)); border-color: color-mix(in oklch, var(--danger) 35%, transparent); }
  .input-text, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .select2-container .select2-selection { width: 100%; padding: .75rem .95rem; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); }
  .woocommerce form .form-row { display: grid; gap: .4rem; margin-bottom: 1rem; }
  .button:not(.btn), .woocommerce a.button, .woocommerce button.button { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.35rem; border-radius: var(--radius); background: var(--brand); color: var(--brand-contrast); font-weight: 600; border: 0; }

  /* ---------- Demos page ---------- */
  .demo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--space-5); }
  .demo-card { display: grid; gap: .75rem; }
  .demo-shot { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); aspect-ratio: 4/5; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur); }
  .demo-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: object-position 3s ease; }
  .demo-card:hover .demo-shot { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .demo-card:hover .demo-shot img { object-position: bottom; }
  .demo-info strong { display: block; } .demo-info small { color: var(--text-muted); }

  /* ---------- Theme settings panel ---------- */
  .customizer-toggle { position: fixed; left: 0; top: 42%; z-index: 150; display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: .8rem .55rem; background: var(--brand); color: var(--brand-contrast); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); font-size: 1rem; }
  .customizer-toggle span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .customizer-toggle:hover { padding-left: .8rem; }
  @media (max-width: 992px) { .customizer-toggle { top: auto; bottom: 150px; padding: .6rem .45rem; } .customizer-toggle span { display: none; } }
  .customizer { position: fixed; left: 0; top: 0; bottom: 0; width: min(360px, 92vw); z-index: 310; background: var(--surface); border-right: 1px solid var(--border); box-shadow: var(--shadow-lg); transform: translateX(-105%); transition: transform 320ms var(--ease); display: flex; flex-direction: column; }
  .customizer.is-open { transform: none; }
  .cz-head { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--border); }
  .cz-head h3 { font-size: 1.1rem; } .cz-head p { font-size: var(--fs-xs); color: var(--text-muted); margin-top: .2rem; }
  .cz-body { flex: 1; overflow-y: auto; padding: .5rem 0; }
  .cz-group { border-bottom: 1px solid var(--border); }
  .cz-group summary { list-style: none; cursor: pointer; padding: .95rem 1.25rem; font-weight: 650; font-size: var(--fs-sm); display: flex; align-items: center; gap: .65rem; }
  .cz-group summary::-webkit-details-marker { display: none; }
  .cz-group summary i { width: 1.1rem; color: var(--brand-text); }
  .cz-group summary::after { content: "\f078"; font-family: "Font Awesome 7 Free"; font-weight: 900; font-size: .65rem; margin-left: auto; color: var(--text-muted); transition: transform var(--dur); }
  .cz-group[open] summary::after { transform: rotate(180deg); }
  .cz-inner { padding: .25rem 1.25rem 1.25rem; display: grid; gap: 1rem; }
  .cz-field { display: grid; gap: .4rem; }
  .cz-field label, .cz-label { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); display: flex; justify-content: space-between; }
  .cz-field label output { color: var(--brand-text); text-transform: none; letter-spacing: 0; margin-left: auto; }
  .cz-field .input { padding: .6rem .8rem; font-size: var(--fs-sm); }
  .cz-field label.btn { text-transform: none; letter-spacing: 0; font-size: var(--fs-xs); display: inline-flex; color: var(--_fg); justify-content: center; }
  .cz-hint { font-size: var(--fs-xs); color: var(--text-muted); }
  .cz-range { width: 100%; accent-color: var(--brand); }
  .theme-swatches { display: grid; grid-template-columns: repeat(7, 1fr); gap: .45rem; }
  .theme-swatches button { aspect-ratio: 1; border-radius: var(--radius); background: var(--sw); position: relative; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--border); transition: transform var(--dur); }
  .theme-swatches button:hover { transform: scale(1.08); }
  .theme-swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--text); }
  .theme-swatches button[aria-pressed="true"]::after { content: "\f00c"; font-family: "Font Awesome 7 Free"; font-weight: 900; color: #fff; position: absolute; inset: 0; display: grid; place-items: center; font-size: .75rem; }
  .color-field { display: grid; grid-template-columns: 46px 1fr; gap: .5rem; }
  .color-field input[type="color"] { width: 46px; height: 42px; padding: 3px; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--surface); cursor: pointer; }
  .color-field input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; } .color-field input[type="color"]::-webkit-color-swatch { border: 0; border-radius: calc(var(--radius) - 4px); }
  .color-field .input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
  .color-field .input:invalid { border-color: var(--danger); }
  .mode-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .mode-switch button { padding: .6rem .3rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: var(--fs-xs); font-weight: 600; display: grid; gap: .3rem; justify-items: center; }
  .mode-switch button[aria-pressed="true"] { border-color: var(--brand); color: var(--brand-text); background: var(--brand-soft); }
  .switch { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; font-size: var(--fs-sm); font-weight: 500; }
  .switch strong { font-weight: 600; display: block; } .switch small { display: block; font-size: var(--fs-xs); color: var(--text-muted); font-weight: 400; }
  .switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .switch i { position: relative; width: 42px; height: 24px; flex-shrink: 0; border-radius: 12px; background: var(--border-strong); transition: background var(--dur); }
  .switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease); }
  .switch input:checked + i { background: var(--brand); }
  .switch input:checked + i::after { transform: translateX(18px); }
  .switch input:focus-visible + i { outline: 2px solid var(--brand); outline-offset: 2px; }
  .logo-drop { min-height: 76px; border: 2px dashed var(--border-strong); border-radius: var(--radius); display: grid; place-items: center; padding: .75rem; text-align: center; font-size: var(--fs-xs); color: var(--text-muted); background: var(--bg-alt); }
  .logo-drop img { max-height: 60px; width: auto; }
  .logo-drop.is-over { border-color: var(--brand); background: var(--brand-soft); }
  .demo-links { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
  .demo-links.one { grid-template-columns: 1fr; }
  .demo-links a { padding: .55rem .7rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: var(--fs-xs); font-weight: 600; display: flex; gap: .45rem; align-items: center; }
  .demo-links a span { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); font-size: .7rem; font-weight: 800; flex-shrink: 0; }
  .demo-links a:hover { border-color: var(--brand); }
  .cz-foot { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .9rem 1.25rem; border-top: 1px solid var(--border); background: var(--surface); }
  .cz-foot [data-settings-save] { grid-column: 1; } .cz-reset { grid-column: 1 / -1; font-size: var(--fs-xs); color: var(--text-muted); }
  .cz-status { grid-column: 1 / -1; display: flex; gap: .45rem; align-items: center; font-size: var(--fs-xs); font-weight: 600; color: var(--success); }
  .customizer.is-dirty .cz-status { color: oklch(0.6 0.16 60); }
  .customizer.is-dirty [data-settings-save] { box-shadow: 0 0 0 4px color-mix(in oklch, var(--brand) 22%, transparent); animation: pulse-save 1.6s ease-in-out infinite; }
  @keyframes pulse-save { 50% { box-shadow: 0 0 0 7px color-mix(in oklch, var(--brand) 8%, transparent); } }
  .cz-tag { font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .15rem .45rem; border-radius: 99px; background: var(--accent-soft); color: var(--accent-strong); margin-left: .25rem; }
  .cz-field .flex .input { flex: 1; min-width: 0; }

  @media (max-width: 900px) { .brand-row { grid-template-columns: repeat(3, 1fr); } }
  .site-footer .widget { background: none; border: 0; padding: 0; border-radius: 0; }
  .site-footer .widget-title { color: #fff; border: 0; padding: 0; margin-bottom: 1rem; font-size: var(--fs-base); }
  .lb-media > img { width: 72%; }
  /* ---------- v4 fixes ---------- */
  /* Policy sidebar: one sticky column that never slides under the header or over content */
  .toc { position: static; }
  .sidebar.toc { position: sticky; top: calc(var(--sticky-offset, 0px) + 1rem); max-height: calc(100vh - var(--sticky-offset, 0px) - 2rem); overflow-y: auto; scrollbar-width: thin; }
  @media (max-width: 992px) { .sidebar, .sidebar.toc { position: static; max-height: none; overflow: visible; } }

  /* Newsletter: never wider than the screen */
  .newsletter > * { min-width: 0; }
  .newsletter form { min-width: 0; width: 100%; }
  @media (max-width: 560px) {
    .newsletter form { flex-direction: column; background: transparent; padding: 0; gap: .6rem; }
    .newsletter input { background: #fff; border-radius: var(--radius-full); padding: .9rem 1.2rem; width: 100%; }
    .newsletter .btn { width: 100%; padding-block: .85rem; }
    .newsletter h2 { font-size: var(--fs-xl); }
  }
  /* Grid children may shrink (prevents min-content blowouts on small phones) */
  .grid > *, .hg-grid > *, .hf-grid > *, .hb-grid > *, .hcp-grid > *, .story > *, .spotlight > *, .lookbook > *, .app-banner > *, .buy-box > *, .about-hero > * { min-width: 0; }
  .hg-search { width: 100%; } .hg-search input { width: 100%; }
  @media (max-width: 480px) { .hg-grid { padding: var(--space-5) var(--space-4); } .hg-copy h1 { font-size: var(--fs-3xl); } .hg-search .btn { padding-inline: .9rem; } }
  @media (max-width: 480px) { .checkout-steps li { font-size: .72rem; gap: .35rem; } .checkout-steps li + li::after { width: 14px; margin-inline: .3rem; } .checkout-steps li::before { width: 26px; height: 26px; } }

  /* Icons inside buttons always follow the button's text colour (white on hover for brand buttons) */
  .btn i, .social-btn i, .pc-actions i, .carousel-btn i, .page-numbers i, .slider-arrows i, .modal-close i, .float-btn i, .view-btn i { transition: color var(--dur); }
  :is(.btn, .social-btn, .pc-actions > *, .carousel-btn, .page-numbers, .slider-arrows button, .modal-close, .float-btn, .view-btn, .cat-btn, .app-badge):is(:hover, :focus-visible) :is(i, svg) { color: inherit !important; }
  .btn-outline:hover, .btn-outline:focus-visible { --_fg: var(--brand-contrast); }
  .slider-arrows button, .modal-close, .qty button, .remove-btn { transition: background var(--dur), color var(--dur); }
  .slider-arrows button:hover, .modal-close:hover, .qty button:hover { background: var(--brand); color: var(--brand-contrast); }
  .remove-btn:hover { background: var(--danger); color: #fff; }
  a.page-numbers:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-contrast); }
  .fab-top:hover { background: var(--brand); color: var(--brand-contrast); border-color: var(--brand); }
  .share .social-btn:hover, .socials .social-btn:hover { color: #fff; }
  .chip:hover i, .concern:hover i { color: inherit; }

  /* Footer socials: fixed size, wrap cleanly, never overlap */
  .site-footer .socials { display: flex; flex-wrap: wrap; gap: .55rem; }
  .site-footer .socials .social-btn { width: 40px; height: 40px; flex: 0 0 40px; }

  /* Team & values grids */
  .team-grid { grid-template-columns: repeat(5, 1fr); } .values-grid { grid-template-columns: repeat(3, 1fr); }
  @media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(3, 1fr); } .values-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .team-grid { grid-template-columns: repeat(2, 1fr); } .values-grid { grid-template-columns: 1fr; } }

  /* Breadcrumb safety inside any content area */
  .breadcrumb ol { display: flex !important; padding: 0 !important; list-style: none !important; gap: .4rem; }
  .breadcrumb li::marker { content: none; }
}

/* ========================================================================
   SETTINGS — driven by <html data-*> (Customizer / theme_mods)
   ======================================================================== */
@layer settings {
  :root { font-size: var(--fs-root, 100%); }
  .container { width: min(100% - 2rem, var(--container)); }
  [data-search-cat="off"] .search-cat { display: none; }
  [data-topbar="off"] .topbar { display: none; }
  [data-sticky="off"] .site-header { position: relative; }
  [data-fab="off"] .fab-wa, [data-fab="off"] .fab-msg { display: none; }
  [data-totop="off"] .fab-top { display: none; }
  [data-anim="off"] .reveal { animation: none !important; opacity: 1 !important; transform: none !important; }
  [data-hover-actions="off"] .pc-actions { display: none; }
  [data-customizer="off"] .customizer-toggle { display: none; }
  [data-show-title="off"] .site-title { display: none; }
  [data-show-icon="off"] .logo-mark, .has-logo .logo-mark { display: none; }
  .has-logo .custom-logo { display: block; }

  /* Product card styles */
  [data-card="shadow"] .product-card { border-color: transparent; box-shadow: 0 2px 14px -4px rgb(16 24 40 / .12); }
  [data-card="minimal"] .product-card { border: 0; background: transparent; border-radius: 0; }
  [data-card="minimal"] .product-card:hover { box-shadow: none; transform: none; }
  [data-card="minimal"] .pc-media { border-radius: var(--radius-lg); }
  [data-card="minimal"] .pc-body { padding: .9rem .25rem .4rem; }
  [data-card="minimal"] .pc-foot { padding: 0 .25rem; }
  [data-cart-btn="solid"] .add_to_cart_button { --_bg: var(--brand); --_fg: var(--brand-contrast); --_bd: var(--brand); }
  [data-cart-btn="solid"] .add_to_cart_button:hover { --_bg: var(--brand-hover); --_bd: var(--brand-hover); }

  /* Header styles */
  /* Centered: logo in the middle, search opens as a full-width bar under it */
  [data-header="centered"] .header-main { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "left logo actions" "search search search"; column-gap: var(--space-4); }
  [data-header="centered"] .header-left { grid-area: left; }
  [data-header="centered"] .site-branding { grid-area: logo; justify-content: center; }
  [data-header="centered"] .header-actions { grid-area: actions; justify-self: end; margin-left: 0; }
  [data-header="centered"] .header-main > .header-search { grid-area: search; display: none; width: 100%; max-width: 760px; justify-self: center; margin-bottom: 1rem; }
  [data-header="centered"] .site-header.is-search-open .header-main > .header-search { display: flex; animation: search-in 220ms var(--ease); }
  [data-header="centered"] .search-toggle, [data-header="centered"] .hotline-mini { display: inline-flex; }
  [data-header="centered"] .search-toggle[aria-expanded="true"] { color: var(--brand-text); background: var(--brand-soft); }
  [data-header="centered"] .primary-nav .container { justify-content: center; }
  [data-header="centered"] .cat-menu, [data-header="centered"] .nav-hotline { display: none; }
  @keyframes search-in { from { opacity: 0; transform: translateY(-6px); } }
  @media (max-width: 1100px) { [data-header="centered"] .hotline-mini { display: none; } }
  @media (max-width: 992px) {
    [data-header="centered"] .header-main { grid-template-columns: auto 1fr auto; grid-template-areas: "left logo actions"; column-gap: var(--space-3); }
    [data-header="centered"] .search-toggle { display: none; }
    [data-header="centered"] .site-branding { justify-content: center; }
    [data-header="centered"] .site-header.is-search-open .header-main > .header-search { display: none; }
  }
  [data-header="brandbar"] .primary-nav { background: var(--brand); border-top: 0; }
  [data-header="brandbar"] .primary-nav .nav-list > .menu-item > a, [data-header="brandbar"] .nav-hotline { color: var(--brand-contrast); }
  [data-header="brandbar"] .primary-nav .nav-list > .current-menu-item > a { color: var(--brand-contrast); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
  [data-header="brandbar"] .nav-hotline i { background: rgb(255 255 255 / .15); color: var(--brand-contrast); }
  [data-header="brandbar"] .nav-hotline small { color: color-mix(in oklch, var(--brand-contrast) 75%, transparent); }
  [data-header="brandbar"] .cat-btn { background: var(--brand-deep); margin-top: 0; border-radius: 0; padding-block: .95rem; }
  [data-header="brandbar"] .topbar { background: var(--brand-deep); }
}

/* ========================================================================
   HEADER STYLES (10) — one markup, CSS-only layouts. <html data-header="…">
   classic · centered · brandbar · minimal · split · compact · dark · brandtop · gradient · floating
   Sticky behaviour: <html data-sticky="on | smart | off">
   ======================================================================== */
@layer settings {
  /* Search bar centred between logo and actions (classic family, desktop) */
  @media (min-width: 993px) {
    :is([data-header="classic"], [data-header="brandbar"], [data-header="dark"], [data-header="brandtop"], [data-header="gradient"], [data-header="floating"], [data-header="compact"]) .header-main {
      display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 680px) minmax(0, 1fr); align-items: center; gap: var(--space-5);
    }
    :is([data-header="classic"], [data-header="brandbar"], [data-header="dark"], [data-header="brandtop"], [data-header="gradient"], [data-header="floating"]) .header-left { display: none; }
    :is([data-header="classic"], [data-header="brandbar"], [data-header="dark"], [data-header="brandtop"], [data-header="gradient"], [data-header="floating"], [data-header="compact"]) .header-search { max-width: none; width: 100%; justify-self: center; }
    :is([data-header="classic"], [data-header="brandbar"], [data-header="dark"], [data-header="brandtop"], [data-header="gradient"], [data-header="floating"], [data-header="compact"]) .header-actions { justify-self: end; margin-left: 0; }
  }

  /* 2 · Centered — fixed vertical rhythm (logo padding) */
  [data-header="centered"] .header-main { grid-template-rows: minmax(var(--header-h), auto) auto; align-items: center; row-gap: 0; padding-block: .25rem; }
  [data-header="minimal"] .site-header, [data-header="split"] .site-header { row-gap: 0; }
  [data-header="centered"] .site-branding .logo { padding-block: .4rem; }

  /* 4 · Minimal — one row: logo · menu · search icon + actions */
  @media (min-width: 993px) {
    [data-header="minimal"] .site-header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "logo nav stog actions" "search search search search"; align-items: center; column-gap: var(--space-4); padding-inline: max(1rem, (100% - var(--container)) / 2); }
    [data-header="minimal"] :is(.site-header > .container, .header-main, .header-left, .primary-nav, .primary-nav > .container) { display: contents; }
    [data-header="minimal"] .site-branding { grid-area: logo; min-height: var(--header-h); }
    [data-header="minimal"] #primary-menu { grid-area: nav; justify-content: center; }
    [data-header="minimal"] .search-toggle { grid-area: stog; display: inline-flex; }
    [data-header="minimal"] .header-actions { grid-area: actions; margin-left: 0; }
    [data-header="minimal"] :is(.menu-toggle, .hotline-mini, .cat-menu, .nav-hotline, .search-cat) { display: none !important; }
    [data-header="minimal"] .header-main > .header-search { grid-area: search; display: none; width: 100%; max-width: 760px; justify-self: center; margin-bottom: 1rem; }
    [data-header="minimal"] .site-header.is-search-open .header-main > .header-search { display: flex; animation: search-in 220ms var(--ease); }
    [data-header="minimal"] .h-action .h-label { display: none; }
  }

  /* 5 · Split — logo · menu · actions, search centred on its own row */
  @media (min-width: 993px) {
    [data-header="split"] .site-header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo nav actions" "search search search"; align-items: center; column-gap: var(--space-5); padding-inline: max(1rem, (100% - var(--container)) / 2); }
    [data-header="split"] :is(.site-header > .container, .header-main, .primary-nav, .primary-nav > .container) { display: contents; }
    [data-header="split"] .header-left, [data-header="split"] :is(.cat-menu, .nav-hotline) { display: none !important; }
    [data-header="split"] .site-branding { grid-area: logo; min-height: var(--header-h); }
    [data-header="split"] #primary-menu { grid-area: nav; justify-content: center; }
    [data-header="split"] .header-actions { grid-area: actions; margin-left: 0; }
    [data-header="split"] .header-main > .header-search { grid-area: search; width: 100%; max-width: 820px; justify-self: center; margin-bottom: 1rem; }
  }

  /* 6 · Compact — single row, wide centred search, menu in the drawer */
  [data-header="compact"] .primary-nav { display: none; }
  @media (min-width: 993px) {
    [data-header="compact"] .header-main { grid-template-columns: auto auto minmax(0, 1fr) auto; }
    [data-header="compact"] .header-left { display: flex; }
    [data-header="compact"] .menu-toggle { display: inline-flex; }
    [data-header="compact"] .header-search { max-width: 760px !important; }
    [data-header="compact"] .site-header { border-bottom: 1px solid var(--border); }
  }

  /* 7 · Dark */
  [data-header="dark"] .site-header { background: color-mix(in oklch, var(--brand) 10%, #0d1015); border-bottom-color: rgb(255 255 255 / .08); color: #e8eaee; }
  [data-header="dark"] .topbar { background: #07080b; color: #c9ced6; }
  [data-header="dark"] :is(.logo, .h-action, .h-action i, .nav-list > .menu-item > a, .nav-hotline, .menu-toggle, .search-toggle i) { color: #f1f3f6; }
  [data-header="dark"] .site-title b { color: color-mix(in oklch, var(--brand), white 30%); }
  [data-header="dark"] .h-action:hover { background: rgb(255 255 255 / .08); color: #fff; }
  [data-header="dark"] .primary-nav { border-top-color: rgb(255 255 255 / .08); }
  [data-header="dark"] .nav-list > .current-menu-item > a { color: color-mix(in oklch, var(--brand), white 35%); }
  [data-header="dark"] .header-search { background: rgb(255 255 255 / .07); border-color: rgb(255 255 255 / .14); }
  [data-header="dark"] .header-search input { color: #fff; } [data-header="dark"] .header-search input::placeholder { color: rgb(255 255 255 / .55); }
  [data-header="dark"] .search-cat { background: rgb(255 255 255 / .05); border-color: rgb(255 255 255 / .12); } [data-header="dark"] .search-cat select { color: #fff; } [data-header="dark"] .search-cat select option { color: #111; }
  [data-header="dark"] .nav-hotline small { color: rgb(255 255 255 / .6); } [data-header="dark"] .nav-hotline i { background: rgb(255 255 255 / .08); color: #fff; }

  /* 8 · Brand top — brand-coloured main row, white menu row (marketplace style) */
  [data-header="brandtop"] .site-header { background: var(--surface); }
  [data-header="brandtop"] .site-header > .container { background: var(--brand); box-shadow: 0 0 0 100vmax var(--brand); clip-path: inset(0 -100vmax); }
  [data-header="brandtop"] :is(.logo, .header-actions .h-action, .header-actions .h-action i, .menu-toggle, .menu-toggle i) { color: var(--brand-contrast); }
  [data-header="brandtop"] .site-title b { color: var(--accent); }
  [data-header="brandtop"] .logo-mark { background: rgb(255 255 255 / .16); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .25); }
  [data-header="brandtop"] .header-actions .h-count { background: var(--accent); color: #111; }
  [data-header="brandtop"] .h-action:hover { background: rgb(255 255 255 / .12); }
  [data-header="brandtop"] .header-search { border-color: transparent; box-shadow: 0 6px 18px -8px rgb(0 0 0 / .35); }
  [data-header="brandtop"] .header-search button { background: var(--accent); color: #111; }
  [data-header="brandtop"] .topbar { background: var(--brand-deep); }
  @media (max-width: 992px) { [data-header="brandtop"] .mobile-search .header-search { border: 0; } }

  /* 9 · Gradient */
  [data-header="gradient"] .site-header { background: linear-gradient(100deg, var(--brand-deep), var(--brand) 55%, color-mix(in oklch, var(--brand), var(--accent) 35%)); border-bottom: 0; }
  [data-header="gradient"] :is(.logo, .h-action, .h-action i, .nav-list > .menu-item > a, .nav-hotline, .menu-toggle, .menu-toggle i) { color: #fff; }
  [data-header="gradient"] .site-title b { color: var(--accent); }
  [data-header="gradient"] .logo-mark { background: rgb(255 255 255 / .18); }
  [data-header="gradient"] .h-action:hover { background: rgb(255 255 255 / .14); }
  [data-header="gradient"] .h-count { background: var(--accent); color: #111; }
  [data-header="gradient"] .primary-nav { border-top-color: rgb(255 255 255 / .18); }
  [data-header="gradient"] .nav-list > .current-menu-item > a { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
  [data-header="gradient"] .header-search { border-color: transparent; }
  [data-header="gradient"] .header-search button { background: var(--brand-deep); }
  [data-header="gradient"] .cat-btn { background: rgb(255 255 255 / .16); }
  [data-header="gradient"] .nav-hotline small { color: rgb(255 255 255 / .75); } [data-header="gradient"] .nav-hotline i { background: rgb(255 255 255 / .16); color: #fff; }
  [data-header="gradient"] .topbar { background: var(--brand-deep); }

  /* 10 · Floating — header sits in a rounded card */
  @media (min-width: 993px) {
    [data-header="floating"] .site-header { background: transparent; border-bottom: 0; backdrop-filter: none; padding-top: .75rem; }
    [data-header="floating"] .site-header > .container { background: color-mix(in oklch, var(--surface) 92%, transparent); backdrop-filter: saturate(180%) blur(14px); border: 1px solid var(--border); border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding-inline: 1.5rem; box-shadow: var(--shadow); }
    [data-header="floating"] .primary-nav { border-top: 0; }
    [data-header="floating"] .primary-nav > .container { background: var(--surface); border: 1px solid var(--border); border-top: 0; border-radius: 0 0 var(--radius-xl) var(--radius-xl); padding-inline: 1.5rem; box-shadow: var(--shadow); }
    [data-header="floating"] .site-header.is-scrolled { box-shadow: none; }
  }

  /* 3 · Brand bar — search button matches */
  [data-header="brandbar"] .primary-nav { --nav-text: var(--brand-contrast); }

  /* ---------- Sticky modes ---------- */
  [data-sticky="off"] .site-header { position: relative; }
  [data-sticky="smart"] .site-header { transition: transform 300ms var(--ease), box-shadow var(--dur); }
  [data-sticky="smart"] .site-header.is-hidden { transform: translateY(-100%); box-shadow: none; }
}

/* ---------- Live search (FAQ, Store locator) ---------- */
@layer components {
  .live-search { margin-bottom: var(--space-5); }
  .ls-box { position: relative; display: flex; align-items: center; gap: .75rem; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-full); padding: 0 .6rem 0 1.25rem; box-shadow: var(--shadow-sm); transition: border-color var(--dur), box-shadow var(--dur); }
  .ls-box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in oklch, var(--brand) 16%, transparent); }
  .ls-box > i { color: var(--brand-text); }
  .ls-box input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 1rem 0; font-size: var(--fs-base); }
  .ls-box input:focus { outline: none; } .ls-box input::-webkit-search-cancel-button { display: none; }
  .ls-clear { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--text-muted); }
  .ls-clear:hover { background: var(--brand); color: var(--brand-contrast); }
  .ls-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); border-top-color: var(--brand); opacity: 0; animation: spin .7s linear infinite; }
  .is-loading .ls-spinner { opacity: 1; }
  .ls-meta { font-size: var(--fs-sm); color: var(--text-muted); margin: .6rem 0 0 1.25rem; min-height: 1.2em; }
  mark { background: color-mix(in oklch, var(--accent) 35%, transparent); color: inherit; border-radius: 3px; padding: 0 .1em; }
  .ls-empty { margin-top: var(--space-4); }
  .store-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
  .store-filters { display: grid; grid-template-columns: 1fr 190px; gap: .75rem; }
  .store-filters select { border-radius: var(--radius-full); }
  .store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: var(--space-4); }
  .store-map { position: sticky; top: calc(var(--sticky-offset, 0px) + 1rem); aspect-ratio: 4/5; }
  @media (max-width: 900px) { .store-layout { grid-template-columns: 1fr; } .store-map { position: static; aspect-ratio: 16/10; } .store-filters { grid-template-columns: 1fr; } }
}

/* ========================================================================
   CUSTOMER DASHBOARD (WooCommerce My Account)
   ======================================================================== */
@layer components {
  .d-block { display: block; }
  .account-user { display: flex; gap: .75rem; align-items: center; padding: .5rem .5rem 1rem; border-bottom: 1px solid var(--border); margin-bottom: .5rem; }
  .account-user small { display: block; color: var(--text-muted); font-size: var(--fs-xs); }
  .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  @media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .welcome-card { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; flex-wrap: wrap; background: linear-gradient(120deg, var(--brand-soft), var(--surface)); }
  .tier { min-width: 220px; } .tier .bar { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; } .tier .bar span { display: block; height: 100%; background: var(--brand); }
  .order-thumbs { display: inline-flex; vertical-align: middle; } .order-thumbs img { width: 32px; height: 32px; border-radius: 8px; border: 2px solid var(--surface); background: var(--surface-2); margin-left: -8px; } .order-thumbs img:first-child { margin-left: 0; }
  .status-pending { background: color-mix(in oklch, var(--warning) 18%, transparent); color: oklch(0.5 0.13 70); }
  .status-confirmed { background: color-mix(in oklch, var(--info) 14%, transparent); color: var(--info); }
  .status-returned { background: color-mix(in oklch, #8b5cf6 15%, transparent); color: #7c3aed; }
  .status i { margin-right: .3rem; font-size: .8em; }
  .order-progress { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
  .order-progress li { position: relative; display: grid; justify-items: center; gap: .45rem; text-align: center; font-size: var(--fs-xs); font-weight: 600; color: var(--text-muted); }
  .order-progress li::before { content: ""; position: absolute; top: 19px; right: 50%; width: 100%; height: 3px; background: var(--border); z-index: 0; }
  .order-progress li:first-child::before { display: none; }
  .order-progress li.is-done::before, .order-progress li.is-current::before { background: var(--brand); }
  .order-progress span { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 2px solid var(--border); }
  .order-progress .is-done span { background: var(--brand); border-color: var(--brand); color: var(--brand-contrast); }
  .order-progress .is-current span { border-color: var(--brand); color: var(--brand-text); box-shadow: 0 0 0 5px var(--brand-soft); }
  .order-progress .is-done, .order-progress .is-current { color: var(--text); }
  @media (max-width: 560px) { .order-progress span { width: 32px; height: 32px; font-size: .75rem; } .order-progress li::before { top: 15px; } .order-progress li { font-size: .62rem; } }
  .quick-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
  .quick-link { display: grid; justify-items: center; gap: .4rem; padding: 1rem .5rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: var(--fs-xs); font-weight: 600; text-align: center; transition: all var(--dur); }
  .quick-link i { font-size: 1.15rem; color: var(--brand-text); }
  .quick-link:hover { border-color: var(--brand); background: var(--brand); color: var(--brand-contrast); } .quick-link:hover i { color: inherit; }
  .coupon-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 1rem; border: 1.5px dashed var(--border-strong); border-radius: var(--radius); }
  .order-tabs .chip { cursor: pointer; } .order-tabs .count { font-size: .7rem; background: var(--surface-2); border-radius: 99px; padding: 0 .45rem; }
  .order-tabs .chip.is-active .count { background: var(--brand); color: var(--brand-contrast); }
  .ls-box.sm { padding-left: 1rem; min-width: min(100%, 260px); } .ls-box.sm input { padding: .6rem 0; font-size: var(--fs-sm); }
  .order-head { display: grid; gap: .5rem; }
  .order-actions .btn { flex: 0 0 auto; }
  .order-detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-5); align-items: start; }
  @media (max-width: 1100px) { .order-detail-grid { grid-template-columns: 1fr; } }
  .danger-zone { border-color: color-mix(in oklch, var(--danger) 35%, var(--border)); }
  /* Responsive tables become cards on phones */
  @media (max-width: 700px) {
    .responsive-table thead { display: none; }
    .responsive-table, .responsive-table tbody, .responsive-table tr, .responsive-table td { display: block; width: 100%; }
    .responsive-table tr { padding: .9rem 1rem; border-bottom: 1px solid var(--border); }
    .responsive-table td { border: 0; padding: .25rem 0; display: flex; justify-content: space-between; gap: 1rem; white-space: normal; text-align: right; }
    .responsive-table td[data-label]::before { content: attr(data-label); font-weight: 600; color: var(--text-muted); text-align: left; }
    .responsive-table td:last-child { justify-content: flex-end; padding-top: .5rem; }
  }
}

/* ========================================================================
   ADMIN DASHBOARD
   ======================================================================== */
@layer components {
  .admin-body { background: var(--bg-alt); padding-bottom: 0 !important; }
  .admin-shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100dvh; }
  .admin-shell.nav-collapsed { grid-template-columns: 76px minmax(0, 1fr); }
  .admin-sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; background: var(--surface); border-right: 1px solid var(--border); padding: 1rem .9rem; overflow-y: auto; z-index: 50; }
  .as-brand { padding: .25rem .5rem 1.25rem; border-bottom: 1px solid var(--border); margin-bottom: .75rem; }
  .as-brand .logo { font-size: 1.15rem; }
  .as-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; }
  .as-nav a { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: var(--radius); font-weight: 550; font-size: var(--fs-sm); color: var(--text-muted); }
  .as-nav a i { width: 1.2rem; text-align: center; font-size: 1rem; }
  .as-nav a:hover { background: var(--surface-2); color: var(--text); }
  .as-nav a[aria-current] { background: var(--brand); color: var(--brand-contrast); }
  .nav-badge { margin-left: auto; font-size: .68rem; background: var(--danger); color: #fff; border-radius: 99px; padding: .05rem .45rem; }
  .as-foot { margin-top: auto; display: grid; gap: .75rem; padding-top: 1rem; }
  .as-help { display: flex; gap: .7rem; align-items: center; padding: .75rem; border-radius: var(--radius); background: var(--brand-soft); font-size: var(--fs-xs); }
  .as-help i { color: var(--brand-text); font-size: 1.2rem; } .as-help small { display: block; color: var(--text-muted); }
  .nav-collapsed .as-nav a span, .nav-collapsed .nav-badge, .nav-collapsed .as-foot, .nav-collapsed .site-title { display: none; }
  .nav-collapsed .as-nav a { justify-content: center; }
  .admin-topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 1rem; padding: .75rem 1.5rem; background: color-mix(in oklch, var(--surface) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
  .admin-search { flex: 1; max-width: 520px; display: flex; align-items: center; gap: .6rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-full); padding: 0 .9rem; }
  .admin-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .65rem 0; font-size: var(--fs-sm); } .admin-search input:focus { outline: none; }
  .admin-search i { color: var(--text-muted); } .admin-search kbd { font-size: .7rem; border: 1px solid var(--border-strong); border-radius: 5px; padding: 0 .4rem; color: var(--text-muted); }
  .at-actions { margin-left: auto; display: flex; align-items: center; gap: .4rem; }
  .at-bell { position: relative; } .at-bell .h-count { top: 2px; right: 2px; background: var(--danger); color: #fff; }
  .at-user { display: flex; align-items: center; gap: .6rem; padding-left: .6rem; border-left: 1px solid var(--border); font-size: var(--fs-sm); }
  .at-user small { display: block; color: var(--text-muted); font-size: var(--fs-xs); }
  .admin-content { padding: 1.5rem; display: grid; gap: 1.25rem; align-content: start; min-width: 0; }
  .admin-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
  .admin-head h1 { font-size: var(--fs-2xl); }
  .admin-toolbar { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
  .seg-tabs { display: inline-flex; padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
  .seg-tabs button { padding: .45rem .85rem; border-radius: calc(var(--radius) - 3px); font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted); }
  .seg-tabs button[aria-selected="true"] { background: var(--brand); color: var(--brand-contrast); }
  .kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .kpi-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  @media (max-width: 1200px) { .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 560px) { .kpi-grid, .kpi-grid.three { grid-template-columns: 1fr; } }
  .kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.1rem 1.2rem; display: grid; gap: .25rem; }
  .kpi-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .4rem; }
  .kpi-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); }
  .kpi small { color: var(--text-muted); font-size: var(--fs-sm); } .kpi strong { font-size: var(--fs-2xl); font-weight: 800; letter-spacing: -.02em; }
  .kpi-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: var(--fs-xs); color: var(--text-muted); }
  .delta { display: inline-flex; gap: .25rem; align-items: center; font-size: var(--fs-xs); font-weight: 700; padding: .15rem .5rem; border-radius: 99px; }
  .delta.up { color: var(--success); background: color-mix(in oklch, var(--success) 12%, transparent); }
  .delta.down { color: var(--danger); background: color-mix(in oklch, var(--danger) 12%, transparent); }
  .spark { width: 110px; height: 34px; } .spark polyline { fill: none; stroke: var(--brand-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .admin-grid { display: grid; gap: 1.25rem; align-items: start; }
  .admin-grid.g-2-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } .admin-grid.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  @media (max-width: 1200px) { .admin-grid.g-2-1, .admin-grid.g-3 { grid-template-columns: 1fr; } }
  .panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; min-width: 0; }
  .panel-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 1rem; }
  .panel-head h2 { font-size: var(--fs-lg); display: flex; gap: .5rem; align-items: center; }
  /* Charts: single series, recessive grid, text in text tokens */
  .chart-wrap { color: var(--brand-text); }
  .line-chart { width: 100%; height: auto; display: block; overflow: visible; }
  .line-chart .cg { stroke: var(--border); stroke-width: 1; }
  .line-chart .ct { fill: var(--text-muted); font-size: 11px; font-family: var(--font-sans); }
  .line-chart .cl { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
  .line-chart .cx { stroke: var(--border-strong); stroke-width: 1; stroke-dasharray: 3 3; }
  .line-chart .cd { fill: currentColor; stroke: var(--surface); stroke-width: 2; }
  .line-chart .chit { cursor: crosshair; }
  .table-view { margin-top: .75rem; font-size: var(--fs-sm); } .table-view summary { cursor: pointer; color: var(--text-muted); font-weight: 600; }
  .table-view .table-wrap { max-height: 260px; overflow-y: auto; margin-top: .5rem; }
  .hbars { display: grid; gap: .55rem; }
  .hbar { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 4rem; gap: .75rem; align-items: center; font-size: var(--fs-sm); padding: .15rem .25rem; border-radius: 6px; outline-offset: 2px; }
  .hbar:hover, .hbar:focus-visible { background: var(--surface-2); }
  .hb-label { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hb-track { height: 10px; border-radius: 0 4px 4px 0; background: transparent; }
  .hb-fill { display: block; height: 100%; min-width: 3px; border-radius: 0 4px 4px 0; background: var(--brand-text); transition: filter var(--dur); }
  .hbar:hover .hb-fill { filter: brightness(1.15); }
  .hb-val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); }
  .chart-tip { position: fixed; z-index: 500; pointer-events: none; display: grid; gap: .1rem; padding: .5rem .7rem; border-radius: 8px; background: var(--text); color: var(--bg); font-size: var(--fs-xs); box-shadow: var(--shadow-lg); }
  .chart-tip strong { font-size: var(--fs-sm); }
  .admin-table td, .admin-table th { white-space: nowrap; }
  .admin-table .cb { width: 36px; } .admin-table input[type=checkbox] { accent-color: var(--brand); width: 1rem; height: 1rem; }
  .admin-table tr.is-selected td { background: var(--brand-soft); }
  .ta-r { text-align: right !important; }
  .admin-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; align-items: center; }
  .admin-filters .input { width: auto; padding: .55rem .8rem; font-size: var(--fs-sm); }
  .admin-filters .ls-box { flex: 1; }
  .bulk-bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .6rem .9rem; margin-bottom: .75rem; border-radius: var(--radius); background: var(--brand-soft); font-size: var(--fs-sm); }
  .bulk-bar > span { margin-right: auto; }
  .risk { font-weight: 700; font-size: var(--fs-xs); padding: .15rem .55rem; border-radius: 99px; }
  .risk-good { color: var(--success); background: color-mix(in oklch, var(--success) 12%, transparent); }
  .risk-warn { color: oklch(0.5 0.13 70); background: color-mix(in oklch, var(--warning) 18%, transparent); }
  .risk-bad { color: var(--danger); background: color-mix(in oklch, var(--danger) 12%, transparent); }
  .risk-score { display: grid; justify-items: center; padding: 1rem; border-radius: var(--radius); margin-bottom: .75rem; }
  .risk-score strong { font-size: 2.5rem; line-height: 1; } .risk-score span { font-size: var(--fs-xs); color: var(--text-muted); }
  .risk-score.bad { background: color-mix(in oklch, var(--danger) 10%, transparent); color: var(--danger); }
  .risk-panel .check-list li::before { content: "\f071"; color: var(--warning); }
  .notes { list-style: none; padding: 0; display: grid; gap: .6rem; }
  .note { padding: .75rem 1rem; border-radius: var(--radius); background: var(--surface-2); font-size: var(--fs-sm); }
  .note small { color: var(--text-muted); font-size: var(--fs-xs); } .note-agent { background: var(--brand-soft); }
  .sum-box { margin-top: 1rem; margin-left: auto; max-width: 340px; }
  .admin-backdrop { display: none; }
  @media (max-width: 1100px) {
    .admin-shell, .admin-shell.nav-collapsed { grid-template-columns: minmax(0, 1fr); }
    .admin-sidebar { position: fixed; left: 0; top: 0; width: 280px; transform: translateX(-105%); transition: transform 300ms var(--ease); box-shadow: var(--shadow-lg); }
    .nav-open .admin-sidebar { transform: none; }
    .nav-open .admin-backdrop { display: block; position: fixed; inset: 0; background: rgb(0 0 0 / .45); z-index: 45; }
    .nav-collapsed .as-nav a span, .nav-collapsed .as-foot, .nav-collapsed .site-title { display: revert; }
    .at-user div { display: none; } .admin-search kbd { display: none; } .admin-content { padding: 1rem; }
  }
  .admin-body .customizer-toggle, .admin-body .bottom-nav { display: none; }
}
@layer components {
  .panel .mini-prod { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .panel .mini-prod img { width: 48px; height: 48px; }
  .header-demo-grid { display: grid; gap: var(--space-4); }
  .header-demo { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--space-4); align-items: center; padding: .75rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); transition: box-shadow var(--dur), border-color var(--dur); }
  .header-demo:hover { border-color: var(--brand); box-shadow: var(--shadow); }
  .header-demo img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); }
  .header-demo strong { display: block; } .header-demo small { color: var(--text-muted); }
  @media (max-width: 700px) { .header-demo { grid-template-columns: 1fr; } }
}
@layer components {
  @media (max-width: 1100px) { .order-detail-grid { grid-template-columns: minmax(0, 1fr); } }
  .admin-search { min-width: 0; } .admin-search input { width: 100%; }
  @media (max-width: 600px) {
    .admin-topbar { gap: .4rem; padding: .6rem .75rem; }
    .at-actions { gap: 0; } .at-user { padding-left: .4rem; } .at-actions [data-mode-toggle] { display: none; }
    .admin-search { padding: 0 .7rem; } .admin-search input::placeholder { font-size: .8rem; }
  }
}
@layer components {
  .admin-content { grid-template-columns: minmax(0, 1fr); }
  @media (max-width: 1200px) { .admin-grid.g-2-1, .admin-grid.g-3 { grid-template-columns: minmax(0, 1fr); } }
}
@layer settings {
  .drawer-settings { display: none; }
  @media (max-width: 992px) {
    .customizer-toggle { display: none !important; }
    .drawer-settings { display: inline-flex; }
    [data-customizer="off"] .drawer-settings { display: none; }
  }
  .fab-wa, .fab-msg { transition: opacity var(--dur), transform var(--dur), visibility var(--dur); }
  .footer-in-view .fab-wa, .footer-in-view .fab-msg { opacity: 0; visibility: hidden; transform: scale(.8); }
}
@layer settings { @media (max-width: 768px) { .fab-top { width: 42px; height: 42px; font-size: .9rem; } } }

/* ---------- v5 fixes ---------- */
@layer settings {
  /* Status badges: icon vertically centred and readable everywhere */
  .status { display: inline-flex; align-items: center; gap: .4rem; line-height: 1.2; white-space: nowrap; padding: .3rem .7rem; }
  .status i { margin: 0 !important; font-size: .82em; line-height: 1; width: auto; height: auto; display: inline-block; vertical-align: middle; }
  /* Footer socials: clear gap below the legal box, no lift on hover */
  .site-footer .legal-info { margin-bottom: 1.25rem; }
  .site-footer .socials { margin-top: 0; }
  .site-footer .social-btn:hover { transform: none; }
}

/* ========================================================================
   HOME 11 — Autism & special-needs store (calm, low-stimulation design)
   ======================================================================== */
@layer components {
  .hero-sn { padding-block: var(--space-7); background: radial-gradient(ellipse at 85% 30%, color-mix(in oklch, var(--accent) 14%, transparent), transparent 55%), radial-gradient(ellipse at 10% 90%, var(--brand-soft), transparent 60%); }
  .sn-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-7); align-items: center; }
  .sn-copy h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem); line-height: 1.12; margin: 1rem 0; letter-spacing: -.02em; }
  .sn-copy h1 em { font-style: normal; color: var(--brand-text); }
  .sn-copy p { font-size: var(--fs-lg); color: var(--text-muted); max-width: 50ch; margin-bottom: 1.75rem; line-height: 1.7; }
  .sn-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; padding: 0; margin: 1.5rem 0 1.25rem; font-size: var(--fs-sm); font-weight: 600; }
  .sn-trust i { color: var(--brand-text); margin-right: .35rem; }
  .calm-toggle { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: var(--radius-full); border: 1.5px dashed var(--border-strong); font-size: var(--fs-sm); font-weight: 600; background: var(--surface); }
  .calm-toggle small { color: var(--text-muted); font-weight: 400; }
  .calm-toggle[aria-pressed="true"] { border-style: solid; border-color: var(--brand); background: var(--brand-soft); color: var(--brand-text); }
  .sn-media { position: relative; min-height: 440px; }
  .sn-blob { position: absolute; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow); }
  .sn-blob img { width: 78%; }
  .sn-blob.b1 { inset: 4% 18% 22% 8%; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; background: color-mix(in oklch, var(--brand) 12%, var(--bg)); }
  .sn-blob.b2 { width: 38%; aspect-ratio: 1; right: 0; top: 0; border-radius: 50%; background: color-mix(in oklch, var(--accent) 16%, var(--bg)); }
  .sn-blob.b3 { width: 40%; aspect-ratio: 1; right: 6%; bottom: 0; border-radius: 40% 60% 55% 45%; background: var(--surface-2); }
  .sn-chip { position: absolute; background: var(--surface); padding: .55rem 1rem; border-radius: var(--radius-full); box-shadow: var(--shadow); font-size: var(--fs-sm); font-weight: 600; }
  .sn-chip i { color: var(--brand-text); margin-right: .3rem; } .sn-chip.c1 { left: 0; bottom: 8%; } .sn-chip.c2 { left: 30%; top: -2%; }
  @media (max-width: 900px) { .sn-grid { grid-template-columns: 1fr; } .sn-media { min-height: 320px; order: -1; } .sn-chip.c2 { display: none; } }
  .needs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
  @media (max-width: 1000px) { .needs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .need-card { display: grid; gap: .45rem; align-content: start; padding: var(--space-5); border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); transition: border-color var(--dur), box-shadow var(--dur); }
  .need-card:hover { border-color: var(--nc); box-shadow: var(--shadow); color: inherit; }
  .need-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.35rem; color: var(--nc, var(--brand-text)); background: color-mix(in oklch, var(--nc, var(--brand)) 13%, var(--bg)); margin-bottom: .3rem; }
  .need-card h3 { font-size: var(--fs-base); } .need-card p { font-size: var(--fs-sm); color: var(--text-muted); }
  .need-card .link-arrow { color: var(--text); font-size: var(--fs-xs); margin-top: .25rem; }
  .age-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
  @media (max-width: 700px) { .age-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .age-card { display: grid; justify-items: center; gap: .3rem; padding: var(--space-5) var(--space-3); border-radius: var(--radius-xl); background: var(--brand-soft); text-align: center; transition: background var(--dur), color var(--dur); }
  .age-card i { font-size: 1.6rem; color: var(--brand-text); } .age-card strong { font-size: var(--fs-2xl); } .age-card span { font-size: var(--fs-sm); color: var(--text-muted); }
  .age-card:hover { background: var(--brand); color: var(--brand-contrast); } .age-card:hover i, .age-card:hover span { color: inherit; }
  .consult { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-7); align-items: center; padding: var(--space-7); border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--brand-soft), color-mix(in oklch, var(--accent) 10%, var(--bg))); }
  .consult p { color: var(--text-muted); margin: .75rem 0 1.25rem; }
  .consult-form { background: var(--surface); padding: var(--space-6); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
  @media (max-width: 900px) { .consult { grid-template-columns: 1fr; padding: var(--space-5); } .consult-form { padding: var(--space-5); } }
  .guide-card { display: grid; gap: .6rem; align-content: start; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
  .guide-card p { color: var(--text-muted); font-size: var(--fs-sm); }
  .guide-thumbs { display: flex; gap: .5rem; } .guide-thumbs img { width: 64px; height: 64px; border-radius: var(--radius); }
  .kit-card { display: grid; gap: .5rem; padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
  .kit-media { display: flex; justify-content: center; gap: .25rem; padding: 1rem; border-radius: var(--radius); background: var(--surface-2); margin-bottom: .5rem; }
  .kit-media img { width: 22%; } .kit-card h3 { font-size: var(--fs-lg); }
  .kit-card .price { padding-top: 0; }
  .community { display: flex; align-items: center; gap: var(--space-5); padding: var(--space-6) var(--space-7); border-radius: var(--radius-xl); background: linear-gradient(120deg, var(--brand), var(--brand-deep)); color: var(--brand-contrast); flex-wrap: wrap; }
  .community > i { font-size: 2.5rem; opacity: .9; } .community > div { flex: 1; min-width: 240px; } .community p { opacity: .85; margin-top: .3rem; }
  /* Calm mode: visitor-controlled low-stimulation view */
  html.calm-mode { filter: saturate(.75); }
  html.calm-mode .reveal, html.calm-mode * { animation: none !important; transition: none !important; }
  html.calm-mode .reveal { opacity: 1 !important; transform: none !important; }
}
@layer settings { .customizer-toggle { transition: opacity var(--dur), visibility var(--dur); } .footer-in-view .customizer-toggle { opacity: 0; visibility: hidden; } }
