/* ==========================================================================
   VITALIS — ScaanMe store theme "vitalis-supplement-store"
   Clinical-clean wellness nutrition · clinical-mist #F4F8F9 / deep-teal-ink #11242A
   Single accent vital-teal #11B5A4 · sunshine #F4B73C (energy only)
   Hanken Grotesk (display) · Inter (body) · Tajawal (Arabic)
   Signature: "capsule-fill" dosage bars (scaleX reveal) + split-capsule hover
   Geometry: capsule/pill language, soft lab cards, left dosage rail
   Mobile-first · logical properties (RTL-safe) · prefers-reduced-motion aware
   ========================================================================== */

:root {
    --vt-bg: var(--tk-bg, #F4F8F9);          /* clinical mist */
    --vt-panel: #FFFFFF;
    --vt-panel-2: color-mix(in srgb, var(--tk-bg, #F4F8F9), #000 3%);     /* soft tint panel */
    --vt-txt: var(--tk-text, #11242A);         /* deep teal ink */
    --vt-muted: color-mix(in srgb, var(--tk-text, #11242A), var(--tk-bg, #F4F8F9) 65%);
    --vt-line: color-mix(in srgb, var(--tk-text, #11242A), var(--tk-bg, #F4F8F9) 92%);
    --vt-line-soft: color-mix(in srgb, var(--tk-text, #11242A), var(--tk-bg, #F4F8F9) 96%);
    --vt-accent: var(--tk-primary, #11B5A4);      /* vital teal — the single accent */
    --vt-accent-deep: color-mix(in srgb, var(--tk-primary, #11B5A4), #000 21%);
    --vt-accent-wash: color-mix(in srgb, var(--tk-primary, #11B5A4), var(--tk-bg, #F4F8F9) 92%);
    --vt-sun: var(--tk-secondary, #F4B73C);         /* sunshine — energy / vitamin pop ONLY */
    --vt-sun-wash: color-mix(in srgb, var(--tk-secondary, #F4B73C), #fff 80%);

    /* capsule geometry */
    --vt-r-cap: 999px;         /* full capsule */
    --vt-r-lg: 22px;           /* lab card */
    --vt-r-md: 16px;
    --vt-r-sm: 12px;

    --vt-font-d: var(--tk-font-header, 'Hanken Grotesk'), 'Tajawal', system-ui, sans-serif;
    --vt-font-b: var(--tk-font-content, 'Inter'), 'Tajawal', system-ui, sans-serif;
    --vt-font-num: var(--tk-font-header, 'Hanken Grotesk'), var(--tk-font-content, 'Inter'), system-ui, sans-serif;

    --vt-shadow-1: 0 1px 2px rgb(from var(--tk-text, #11242A) r g b / .04), 0 4px 14px rgb(from var(--tk-text, #11242A) r g b / .05);
    --vt-shadow-2: 0 10px 30px rgb(from var(--tk-text, #11242A) r g b / .10), 0 2px 6px rgb(from var(--tk-text, #11242A) r g b / .05);
    --vt-shadow-acc: 0 12px 30px rgb(from var(--tk-primary, #11B5A4) r g b / .22);

    --vt-ease: cubic-bezier(.22, .9, .3, 1);   /* clean clinical glide */
}

html { scroll-behavior: smooth; }

* { box-sizing: border-box; }

body {
    background:
        radial-gradient(120% 60% at 85% -10%, rgb(from var(--tk-primary, #11B5A4) r g b / .08), transparent 60%),
        radial-gradient(90% 50% at 0% 0%, rgb(from var(--tk-secondary, #F4B73C) r g b / .05), transparent 55%),
        var(--vt-bg) !important;
    background-attachment: fixed;
    color: var(--vt-txt);
    font-family: var(--vt-font-b);
    font-weight: 400;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    padding-block-end: 74px; /* mobile dock clearance */
}

/* GLOBAL CONTAINMENT BASELINE — no diagonal scroll wiggle at any width */
html, body { overflow-x: clip; max-width: 100%; }

body[dir="rtl"] { font-family: 'Tajawal', var(--vt-font-b); }
body[dir="rtl"] .vt-display,
body[dir="rtl"] .vt-hero-title,
body[dir="rtl"] .vt-card-name,
body[dir="rtl"] .vt-product-name { font-family: 'Tajawal', var(--vt-font-d); }

img { max-width: 100%; display: block; }
a { color: var(--vt-txt); text-decoration: none; }
a:hover { color: var(--vt-accent-deep); }

/* prices / discounts never reorder in RTL */
.vt-price, .vt-price-old, .vt-cart-total-num, .vt-dose-val, .vt-sub-save {
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
    font-family: var(--vt-font-num);
}

/* ---------- Shell / layout -------------------------------------------- */
.vt-page { min-height: 100vh; display: flex; flex-direction: column; }
.vt-main { flex: 1 0 auto; }
.vt-shell { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 18px; }
.vt-section { margin-block: 46px; }

/* ---------- Type ------------------------------------------------------- */
.vt-display {
    font-family: var(--vt-font-d);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.08;
    color: var(--vt-txt);
    margin: 0;
    font-size: clamp(1.5rem, 4.4vw, 2.2rem);
}

.vt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--vt-font-b);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--vt-accent-deep);
}
.vt-eyebrow::before {
    content: "";
    inline-size: 18px;
    block-size: 9px;
    border-radius: var(--vt-r-cap);
    background: var(--vt-accent);
    box-shadow: inset -9px 0 0 var(--vt-accent-deep);  /* tiny capsule glyph */
    flex: none;
}

.vt-sechead { margin-block-end: 18px; }
.vt-sechead-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-block-start: 8px;
}
.vt-sechead-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--vt-accent-deep);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap .2s var(--vt-ease);
}
.vt-sechead-link:hover { gap: 8px; }
.vt-count {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--vt-muted);
    white-space: nowrap;
}

/* ---------- Buttons ---------------------------------------------------- */
.vt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--vt-font-b);
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    padding: 13px 22px;
    border-radius: var(--vt-r-cap);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .18s var(--vt-ease), box-shadow .2s var(--vt-ease), background-color .2s var(--vt-ease), color .2s var(--vt-ease), border-color .2s var(--vt-ease);
    text-align: center;
}
.vt-btn i { font-size: 17px; }
.vt-btn-accent {
    background: var(--vt-accent);
    color: #fff;
    box-shadow: var(--vt-shadow-acc);
}
.vt-btn-accent:hover { background: var(--vt-accent-deep); color: #fff; transform: translateY(-2px); }
.vt-btn-ghost {
    background: var(--vt-panel);
    color: var(--vt-txt);
    border-color: var(--vt-line);
}
.vt-btn-ghost:hover { border-color: var(--vt-accent); color: var(--vt-accent-deep); }
.vt-btn-light {
    background: var(--vt-accent-wash);
    color: var(--vt-accent-deep);
}
.vt-btn-light:hover { background: var(--vt-accent); color: #fff; transform: translateY(-2px); }
.vt-btn-block { display: flex; inline-size: 100%; }

/* ---------- Topbar ----------------------------------------------------- */
.vt-topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgb(from var(--tk-bg, #F4F8F9) r g b / .82);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-block-end: 1px solid var(--vt-line);
}
.vt-topbar-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    block-size: 62px;
}
.vt-brand { display: inline-flex; align-items: center; gap: 11px; }
.vt-brand-logo {
    inline-size: 38px;
    block-size: 38px;
    border-radius: var(--vt-r-cap);
    object-fit: cover;
    border: 1.5px solid var(--vt-line);
    background: var(--vt-panel);
}
.vt-brand-name {
    font-family: var(--vt-font-d);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -.02em;
    color: var(--vt-txt);
}
.vt-topbar-actions { display: inline-flex; align-items: center; gap: 8px; }
.vt-cart-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 42px;
    block-size: 42px;
    border-radius: var(--vt-r-cap);
    background: var(--vt-panel);
    border: 1.5px solid var(--vt-line);
    color: var(--vt-txt);
    transition: border-color .2s var(--vt-ease), color .2s var(--vt-ease);
}
.vt-cart-trigger:hover { border-color: var(--vt-accent); color: var(--vt-accent-deep); }
.vt-cart-badge {
    position: absolute;
    inset-block-start: -5px;
    inset-inline-end: -5px;
    min-inline-size: 20px;
    block-size: 20px;
    padding-inline: 5px;
    border-radius: var(--vt-r-cap);
    background: var(--vt-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--vt-bg);
}

/* ---------- Hero ------------------------------------------------------- */
.vt-hero {
    position: relative;
    margin-block-start: 22px;
    display: grid;
    gap: 22px;
}
@media (min-width: 880px) {
    .vt-hero { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 34px; }
}
.vt-hero-copy { position: relative; z-index: 2; }
.vt-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: var(--vt-r-cap);
    background: var(--vt-panel);
    border: 1px solid var(--vt-line);
    font-size: 12px;
    font-weight: 700;
    color: var(--vt-accent-deep);
    box-shadow: var(--vt-shadow-1);
    margin-block-end: 16px;
}
.vt-hero-pill i { color: var(--vt-accent); }
.vt-hero-title {
    font-family: var(--vt-font-d);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.02;
    font-size: clamp(2.1rem, 8vw, 3.4rem);
    margin: 0 0 14px;
    color: var(--vt-txt);
}
.vt-hero-title .vt-hl { color: var(--vt-accent-deep); }
.vt-hero-sub {
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--vt-muted);
    max-inline-size: 46ch;
    margin: 0 0 20px;
}
.vt-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero capsule-fill panel (the signature) */
.vt-hero-media {
    position: relative;
    border-radius: var(--vt-r-lg);
    overflow: hidden;
    box-shadow: var(--vt-shadow-2);
    background: var(--vt-panel);
    aspect-ratio: 4 / 3;
    border: 1px solid var(--vt-line);
}
.vt-hero-media img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
}
.vt-hero-doseband {
    position: absolute;
    inset-inline: 14px;
    inset-block-end: 14px;
    padding: 13px 16px;
    border-radius: var(--vt-r-md);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: var(--vt-shadow-1);
}
.vt-hero-doseband-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 12px;
    font-weight: 700;
    color: var(--vt-txt);
    margin-block-end: 7px;
}
.vt-hero-doseband-top span:last-child { color: var(--vt-accent-deep); }

/* ---------- The capsule-fill bar (reusable signature) ------------------ */
.vt-fill {
    position: relative;
    block-size: 7px;
    border-radius: var(--vt-r-cap);
    background: var(--vt-accent-wash);
    overflow: hidden;
}
.vt-fill-bar {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    inline-size: 100%;
    border-radius: var(--vt-r-cap);
    background: linear-gradient(90deg, var(--vt-accent), var(--vt-accent-deep));
    transform: scaleX(0);
    transform-origin: left;       /* LTR default; flipped for RTL below */
    transition: transform .6s var(--vt-ease);
}
[dir="rtl"] .vt-fill-bar { transform-origin: right; }
.vt-fill.is-filled .vt-fill-bar { transform: scaleX(var(--fill, .8)); }
/* energy products fill in sunshine */
.vt-fill.is-energy .vt-fill-bar { background: linear-gradient(90deg, var(--vt-sun), var(--tk-accent2, #E09A1A)); }

/* ---------- Trust strip ------------------------------------------------ */
.vt-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    margin-block: 26px;
    padding: 16px;
    border-radius: var(--vt-r-lg);
    background: var(--vt-panel);
    border: 1px solid var(--vt-line);
    box-shadow: var(--vt-shadow-1);
}
.vt-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--vt-txt);
}
.vt-trust-item i { color: var(--vt-accent); font-size: 19px; }

/* ---------- Goal filter rail (horizontal scroller) -------------------- */
.vt-goalrail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-block: 6px 12px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.vt-goalrail::-webkit-scrollbar { display: none; }
.vt-goal {
    flex: none;
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 18px;
    border-radius: var(--vt-r-cap);
    background: var(--vt-panel);
    border: 1.5px solid var(--vt-line);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--vt-txt);
    transition: border-color .2s var(--vt-ease), background-color .2s var(--vt-ease), color .2s var(--vt-ease), transform .18s var(--vt-ease);
    white-space: nowrap;
}
.vt-goal i { font-size: 18px; color: var(--vt-accent); }
.vt-goal:hover { transform: translateY(-2px); border-color: var(--vt-accent); color: var(--vt-accent-deep); }
.vt-goal.is-active {
    background: var(--vt-accent);
    border-color: var(--vt-accent);
    color: #fff;
}
.vt-goal.is-active i { color: #fff; }

/* ---------- Product grid ---------------------------------------------- */
.vt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 600px) { .vt-grid { gap: 18px; } }
@media (min-width: 760px) { .vt-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px){ .vt-grid { grid-template-columns: repeat(4, 1fr); } }

.vt-prodrail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-block-end: 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.vt-prodrail::-webkit-scrollbar { display: none; }
.vt-prodrail .vt-card { flex: 0 0 min(74%, 270px); scroll-snap-align: start; }

/* lab card — capsule geometry, soft elevation */
.vt-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--vt-panel);
    border: 1px solid var(--vt-line);
    border-radius: var(--vt-r-lg);
    overflow: hidden;
    box-shadow: var(--vt-shadow-1);
    transition: transform .22s var(--vt-ease), box-shadow .22s var(--vt-ease), border-color .22s var(--vt-ease);
}
.vt-card:hover { transform: translateY(-4px); box-shadow: var(--vt-shadow-2); border-color: var(--vt-line); }
.vt-card-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: var(--vt-panel-2);
    overflow: hidden;
}
.vt-card-img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    transition: opacity .3s var(--vt-ease), transform .5s var(--vt-ease);
}
.vt-card-img-alt {
    position: absolute;
    inset: 0;
    opacity: 0;
}
.vt-card:hover .vt-card-img-alt { opacity: 1; }
.vt-card:hover .vt-card-img:not(.vt-card-img-alt) { transform: scale(1.04); }

.vt-flag {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-start: 10px;
    padding: 5px 11px;
    border-radius: var(--vt-r-cap);
    background: var(--vt-sun);
    color: #4a3408;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
    box-shadow: var(--vt-shadow-1);
    z-index: 2;
}
.vt-flag-out { background: var(--tk-danger-bg, #E3E9EA); color: var(--vt-muted); }

.vt-card-body {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}
.vt-card-link { display: block; color: inherit; }
.vt-card-link:hover { color: inherit; }
.vt-card-name {
    font-family: var(--vt-font-d);
    font-weight: 800;
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: -.01em;
    color: var(--vt-txt);
    margin: 0;
}
.vt-card-meta {
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--vt-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* dosage line + capsule-fill bar inside each card (signature) */
.vt-dose {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-block-start: 2px;
}
.vt-dose-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--vt-muted);
}
.vt-dose-val { color: var(--vt-accent-deep); }

/* clean-label chips */
.vt-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.vt-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: var(--vt-r-cap);
    background: var(--vt-accent-wash);
    color: var(--vt-accent-deep);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .01em;
}
.vt-label i { font-size: 12px; }
.vt-label-sun { background: var(--vt-sun-wash); color: #8a5e0a; }

.vt-card-foot {
    margin-block-start: auto;
    padding-block-start: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.vt-price-wrap { display: inline-flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.vt-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--vt-txt);
}
.vt-price-old {
    font-size: 12.5px;
    color: var(--vt-muted);
    text-decoration: line-through;
}
.vt-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 40px;
    block-size: 40px;
    border-radius: var(--vt-r-cap);
    background: var(--vt-accent);
    color: #fff;
    cursor: pointer;
    flex: none;
    box-shadow: 0 6px 14px rgb(from var(--tk-primary, #11B5A4) r g b / .28);
    transition: transform .18s var(--vt-ease), background-color .2s var(--vt-ease);
}
.vt-add:hover { background: var(--vt-accent-deep); color: #fff; transform: scale(1.08); }
.vt-add i { font-size: 19px; }

/* ---------- Categories / goal tiles ----------------------------------- */
.vt-tilerail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-block-end: 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}
.vt-tilerail::-webkit-scrollbar { display: none; }
.vt-tilegrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 760px) { .vt-tilegrid { grid-template-columns: repeat(3, 1fr); } }
.vt-tilerail .vt-tile { flex: 0 0 min(70%, 250px); scroll-snap-align: start; }
.vt-tile {
    position: relative;
    display: block;
    border-radius: var(--vt-r-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: var(--vt-shadow-1);
    border: 1px solid var(--vt-line);
    background: var(--vt-panel-2);
    transition: transform .22s var(--vt-ease), box-shadow .22s var(--vt-ease);
}
.vt-tile:hover { transform: translateY(-4px); box-shadow: var(--vt-shadow-2); }
.vt-tile-img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.vt-tile-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgb(from var(--tk-text, #11242A) r g b / .72) 100%);
}
.vt-tile-cap {
    position: absolute;
    inset-block-end: 0;
    inset-inline: 0;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: #fff;
}
.vt-tile-kicker {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .78);
}
.vt-tile-name {
    font-family: var(--vt-font-d);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -.01em;
}
.vt-tile-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    margin-block-start: 3px;
}
.vt-tile-cta i { transition: transform .2s var(--vt-ease); }
.vt-tile:hover .vt-tile-cta i { transform: translateX(4px); }
[dir="rtl"] .vt-tile:hover .vt-tile-cta i { transform: translateX(-4px); }

/* ---------- Category rail (in-page filter on category view) ------------ */
.vt-cathead { margin-block-start: 22px; }
.vt-cat-rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-block: 14px 4px;
    scrollbar-width: none;
}
.vt-cat-rail::-webkit-scrollbar { display: none; }
.vt-cat-link {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--vt-r-cap);
    background: var(--vt-panel);
    border: 1.5px solid var(--vt-line);
    font-size: 13px;
    font-weight: 700;
    color: var(--vt-txt);
    white-space: nowrap;
    transition: border-color .2s var(--vt-ease), color .2s var(--vt-ease);
}
.vt-cat-link img {
    inline-size: 26px;
    block-size: 26px;
    border-radius: var(--vt-r-cap);
    object-fit: cover;
}
.vt-cat-link.is-active, .vt-cat-link:hover { border-color: var(--vt-accent); color: var(--vt-accent-deep); }

/* ---------- Toolbar (search / price / sort) --------------------------- */
.vt-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-block: 16px 22px;
    align-items: center;
}
.vt-search, .vt-pricef { display: flex; gap: 8px; }
.vt-search { flex: 1 1 240px; }
.vt-input {
    flex: 1;
    min-inline-size: 0;
    padding: 11px 15px;
    border-radius: var(--vt-r-cap);
    border: 1.5px solid var(--vt-line);
    background: var(--vt-panel);
    color: var(--vt-txt);
    font-family: var(--vt-font-b);
    font-size: 14px;
    transition: border-color .2s var(--vt-ease);
}
.vt-input::placeholder { color: var(--vt-muted); }
.vt-input:focus { outline: none; border-color: var(--vt-accent); }
.vt-pricef .vt-input { inline-size: 92px; flex: none; }
.vt-select {
    padding: 11px 38px 11px 15px;
    border-radius: var(--vt-r-cap);
    border: 1.5px solid var(--vt-line);
    background: var(--vt-panel);
    color: var(--vt-txt);
    font-family: var(--vt-font-b);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235C7176' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
[dir="rtl"] .vt-select { background-position: left 14px center; padding: 11px 15px 11px 38px; }
.vt-select:focus { outline: none; border-color: var(--vt-accent); }

/* ---------- Ingredients transparency strip ---------------------------- */
.vt-trans {
    background: var(--vt-txt);
    border-radius: var(--vt-r-lg);
    padding: 26px 20px;
    color: #fff;
    overflow: hidden;
    position: relative;
}
.vt-trans-eyebrow { color: var(--vt-accent); }
.vt-trans-eyebrow::before { background: var(--vt-accent); box-shadow: inset -9px 0 0 #fff; }
.vt-trans-title {
    font-family: var(--vt-font-d);
    font-weight: 800;
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    letter-spacing: -.02em;
    margin: 8px 0 18px;
    color: #fff;
}
.vt-trans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 700px) { .vt-trans-grid { grid-template-columns: repeat(4, 1fr); } }
.vt-trans-item {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--vt-r-md);
    padding: 16px 14px;
}
.vt-trans-item i { font-size: 24px; color: var(--vt-accent); }
.vt-trans-item h4 {
    font-family: var(--vt-font-d);
    font-weight: 700;
    font-size: 14px;
    margin: 10px 0 4px;
    color: #fff;
}
.vt-trans-item p {
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .7);
    margin: 0;
}

/* ---------- Subscription auto-refill block ---------------------------- */
.vt-sub {
    display: grid;
    gap: 18px;
    align-items: center;
    background: linear-gradient(135deg, var(--vt-accent-wash), #FFFFFF);
    border: 1px solid var(--vt-line);
    border-radius: var(--vt-r-lg);
    padding: 24px 20px;
    box-shadow: var(--vt-shadow-1);
}
@media (min-width: 820px) { .vt-sub { grid-template-columns: 1.1fr .9fr; gap: 30px; } }
.vt-sub-title {
    font-family: var(--vt-font-d);
    font-weight: 800;
    font-size: clamp(1.3rem, 4vw, 1.9rem);
    letter-spacing: -.02em;
    margin: 8px 0 10px;
    color: var(--vt-txt);
}
.vt-sub-copy { font-size: 14.5px; line-height: 1.55; color: var(--vt-muted); margin: 0 0 16px; }
.vt-sub-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.vt-sub-opt {
    flex: 1 1 130px;
    background: var(--vt-panel);
    border: 1.5px solid var(--vt-line);
    border-radius: var(--vt-r-md);
    padding: 14px;
    text-align: center;
}
.vt-sub-opt .vt-sub-when { font-weight: 800; font-size: 15px; color: var(--vt-txt); }
.vt-sub-save {
    display: inline-block;
    margin-block-start: 6px;
    padding: 3px 10px;
    border-radius: var(--vt-r-cap);
    background: var(--vt-sun-wash);
    color: #8a5e0a;
    font-size: 11.5px;
    font-weight: 800;
}

/* ---------- Reviews scroll -------------------------------------------- */
.vt-reviews {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-block-end: 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}
.vt-reviews::-webkit-scrollbar { display: none; }
.vt-review {
    flex: 0 0 min(80%, 320px);
    scroll-snap-align: start;
    background: var(--vt-panel);
    border: 1px solid var(--vt-line);
    border-radius: var(--vt-r-lg);
    padding: 18px;
    box-shadow: var(--vt-shadow-1);
}
.vt-review-stars { color: var(--vt-sun); font-size: 14px; letter-spacing: 1px; margin-block-end: 8px; }
.vt-review-text { font-size: 13.5px; line-height: 1.55; color: var(--vt-txt); margin: 0 0 12px; }
.vt-review-who { font-size: 12.5px; font-weight: 700; color: var(--vt-muted); }

/* ---------- Empty / no-products states -------------------------------- */
.vt-empty {
    text-align: center;
    padding: 48px 20px;
    background: var(--vt-panel);
    border: 1px dashed var(--vt-line);
    border-radius: var(--vt-r-lg);
}
.vt-empty-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 64px;
    block-size: 64px;
    border-radius: var(--vt-r-cap);
    background: var(--vt-accent-wash);
    margin-block-end: 14px;
    position: relative;
}
.vt-empty-mark::before {
    content: "";
    inline-size: 30px;
    block-size: 13px;
    border-radius: var(--vt-r-cap);
    background: var(--vt-accent);
    box-shadow: inset -15px 0 0 var(--vt-accent-deep);
}
.vt-empty-title { font-family: var(--vt-font-d); font-weight: 800; font-size: 18px; margin: 0 0 6px; color: var(--vt-txt); }
.vt-empty-sub { font-size: 13.5px; color: var(--vt-muted); margin: 0 0 16px; }

/* ---------- Pagination ------------------------------------------------- */
.vt-pagination {
    display: flex;
    justify-content: center;
    margin-block-start: 28px;
}
.vt-pagination :is(.pagination) { display: flex; gap: 6px; list-style: none; padding: 0; flex-wrap: wrap; }
.vt-pagination :is(.page-link, a, span) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-inline-size: 40px;
    block-size: 40px;
    padding-inline: 12px;
    border-radius: var(--vt-r-cap);
    border: 1.5px solid var(--vt-line);
    background: var(--vt-panel);
    color: var(--vt-txt);
    font-weight: 700;
    font-size: 14px;
}
.vt-pagination :is(.active) :is(.page-link, a, span),
.vt-pagination .active {
    background: var(--vt-accent);
    border-color: var(--vt-accent);
    color: #fff;
}

/* ---------- Breadcrumb ------------------------------------------------- */
.vt-crumb { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-size: 12.5px; color: var(--vt-muted); margin-block: 18px 4px; }
.vt-crumb a { color: var(--vt-accent-deep); font-weight: 600; }
.vt-crumb-sep { color: var(--vt-line); }
.vt-crumb-cur { color: var(--vt-txt); font-weight: 600; }
.vt-policy { margin-block: 30px; }

/* ---------- Product detail -------------------------------------------- */
.vt-product { display: grid; gap: 26px; margin-block: 18px 10px; }
@media (min-width: 860px) { .vt-product { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; } }
.vt-gallery { display: flex; flex-direction: column; gap: 12px; }
.vt-gallery-main {
    display: block;
    border-radius: var(--vt-r-lg);
    overflow: hidden;
    background: var(--vt-panel-2);
    border: 1px solid var(--vt-line);
    aspect-ratio: 1 / 1;
    box-shadow: var(--vt-shadow-1);
}
.vt-gallery-main img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.vt-thumb-rail { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.vt-thumb-rail::-webkit-scrollbar { display: none; }
.vt-thumb {
    flex: 0 0 72px;
    block-size: 72px;
    border-radius: var(--vt-r-sm);
    overflow: hidden;
    border: 1.5px solid var(--vt-line);
    background: var(--vt-panel-2);
}
.vt-thumb img { inline-size: 100%; block-size: 100%; object-fit: cover; cursor: pointer; }

.vt-product-info { display: flex; flex-direction: column; gap: 14px; }
.vt-product-name {
    font-family: var(--vt-font-d);
    font-weight: 800;
    font-size: clamp(1.5rem, 5vw, 2.1rem);
    letter-spacing: -.02em;
    line-height: 1.1;
    margin: 0;
    color: var(--vt-txt);
}
.vt-product-sub { font-size: 15px; line-height: 1.55; color: var(--vt-muted); margin: 0; }
.vt-product-price { display: inline-flex; align-items: baseline; gap: 10px; }
.vt-product-price .vt-price { font-size: 26px; }

.vt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vt-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 13px;
    border-radius: var(--vt-r-cap);
    background: var(--vt-panel);
    border: 1.5px solid var(--vt-line);
    font-size: 12px;
    font-weight: 700;
    color: var(--vt-txt);
}
.vt-chip-accent { background: var(--vt-accent-wash); border-color: transparent; color: var(--vt-accent-deep); }

.vt-prose {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--vt-txt);
}
.vt-prose :is(h1,h2,h3,h4) { font-family: var(--vt-font-d); font-weight: 800; color: var(--vt-txt); }
.vt-prose img { border-radius: var(--vt-r-md); margin-block: 12px; }
.vt-prose a { color: var(--vt-accent-deep); text-decoration: underline; }

.vt-concierge-hint {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--vt-muted);
    background: var(--vt-accent-wash);
    border-radius: var(--vt-r-md);
    padding: 12px 14px;
    margin: 0;
}
.vt-concierge-hint i { color: var(--vt-accent-deep); font-size: 17px; flex: none; margin-block-start: 1px; }

/* ---------- Variant picker (restyled neutral sm-variant-* contract) ---- */
.vt-product-info .sm-variants { margin: 4px 0 2px; gap: 16px; }
.vt-product-info .sm-variant-label {
    font-family: var(--vt-font-b);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--vt-muted);
    opacity: 1;
}
.vt-product-info .sm-variant-opt {
    border: 1.5px solid var(--vt-line);
    border-radius: var(--vt-r-cap);
    padding: 9px 18px;
    font-family: var(--vt-font-b);
    font-size: 13px;
    font-weight: 700;
    background: var(--vt-panel);
    color: var(--vt-txt);
    opacity: 1;
    transition: border-color .18s var(--vt-ease), background-color .18s var(--vt-ease), color .18s var(--vt-ease), transform .18s var(--vt-ease);
}
.vt-product-info .sm-variant-opt:hover { border-color: var(--vt-accent); color: var(--vt-accent-deep); transform: translateY(-1px); }
.vt-product-info .sm-variant-opt.is-selected {
    background: var(--vt-accent);
    border-color: var(--vt-accent);
    color: #fff;
    box-shadow: 0 6px 14px rgb(from var(--tk-primary, #11B5A4) r g b / .26);
}
.vt-product-info .sm-variant-opt:focus-visible { outline: 2px solid var(--vt-accent-deep); outline-offset: 2px; }

/* ---------- Drawer (cart) --------------------------------------------- */
.vt-drawer {
    background: var(--vt-bg) !important;
    color: var(--vt-txt);
    border-inline-start: 1px solid var(--vt-line) !important;
    inline-size: min(420px, 92vw) !important;
}
.vt-drawer .offcanvas-header { border-block-end: 1px solid var(--vt-line); padding: 18px 20px; }
.vt-drawer-title { font-family: var(--vt-font-d); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.vt-drawer .offcanvas-body { padding: 14px 16px; }
.vt-drawer-foot { padding: 16px 18px; border-block-start: 1px solid var(--vt-line); background: var(--vt-panel); }

.vt-cart-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: var(--vt-r-md);
    background: var(--vt-panel);
    border: 1px solid var(--vt-line);
    margin-block-end: 10px;
}
.vt-cart-item-img {
    inline-size: 64px;
    block-size: 64px;
    border-radius: var(--vt-r-sm);
    object-fit: cover;
    flex: none;
    background: var(--vt-panel-2);
}
.vt-cart-item-info { flex: 1; min-inline-size: 0; display: flex; flex-direction: column; gap: 3px; }
.vt-cart-item-name { font-family: var(--vt-font-d); font-weight: 700; font-size: 14px; margin: 0; color: var(--vt-txt); }
.vt-cart-item-sub { font-size: 11.5px; color: var(--vt-muted); }
.sm-cart-variants { color: var(--vt-accent-deep); font-weight: 600; }
.vt-cart-item-price { font-family: var(--vt-font-num); font-weight: 800; font-size: 14.5px; color: var(--vt-txt); margin: 4px 0 0; unicode-bidi: isolate; }

.vt-cart-item-actions { display: flex; align-items: center; gap: 7px; margin-block-start: 8px; }
.vt-qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 30px;
    block-size: 30px;
    border-radius: var(--vt-r-cap);
    border: 1.5px solid var(--vt-line);
    background: var(--vt-panel);
    color: var(--vt-txt);
    cursor: pointer;
    transition: border-color .18s var(--vt-ease), color .18s var(--vt-ease);
}
.vt-qty-btn svg { inline-size: 16px; block-size: 16px; }
.vt-qty-btn:hover { border-color: var(--vt-accent); color: var(--vt-accent-deep); }
.vt-qty-remove:hover { border-color: var(--tk-danger, #d6584f); color: var(--tk-danger, #d6584f); }
.vt-qty-num { min-inline-size: 22px; text-align: center; font-weight: 800; font-size: 14px; }

.vt-cart-empty { text-align: center; padding: 40px 16px; }
.vt-cart-empty-text { font-size: 14px; color: var(--vt-muted); margin: 12px 0 18px; }
.vt-empty-mark-light { background: var(--vt-accent-wash); }

.vt-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 0 0 12px;
    font-family: var(--vt-font-d);
    font-weight: 700;
    font-size: 15px;
    color: var(--vt-txt);
}
.vt-cart-total-num { font-size: 20px; font-weight: 800; color: var(--vt-accent-deep); }
.vt-place-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    inline-size: 100%;
    padding: 14px;
    border-radius: var(--vt-r-cap);
    background: var(--vt-accent);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    box-shadow: var(--vt-shadow-acc);
    transition: background-color .2s var(--vt-ease), transform .18s var(--vt-ease);
}
.vt-place-order:hover { background: var(--vt-accent-deep); color: #fff; transform: translateY(-2px); }
.vt-place-order i { font-size: 20px; }

/* ---------- Modal ------------------------------------------------------ */
.vt-modal .modal-content {
    position: relative;
    border: none;
    border-radius: var(--vt-r-lg);
    overflow: hidden;
    background: var(--vt-panel);
    box-shadow: var(--vt-shadow-2);
}
.vt-modal .modal-header {
    border-block-end: 1px solid var(--vt-line);
    padding: 18px 20px;
    align-items: flex-start;
}
.vt-modal .modal-title { font-family: var(--vt-font-d); font-weight: 800; font-size: 18px; color: var(--vt-txt); }
.vt-modal-sub { display: block; font-size: 12.5px; color: var(--vt-muted); margin-block-start: 2px; }
.vt-modal .modal-body { padding: 20px; }
.vt-modal .modal-footer { border-block-start: 1px solid var(--vt-line); padding: 14px 20px; gap: 10px; }
.vt-modal .form-label { font-size: 13px; font-weight: 700; color: var(--vt-txt); margin-block-end: 6px; }
.vt-modal .form-control {
    padding: 11px 14px;
    border-radius: var(--vt-r-md);
    border: 1.5px solid var(--vt-line);
    background: var(--vt-panel);
    color: var(--vt-txt);
    font-size: 14px;
}
.vt-modal .form-control:focus { outline: none; border-color: var(--vt-accent); box-shadow: 0 0 0 3px var(--vt-accent-wash); }
.vt-modal .form-check-label { font-size: 14px; color: var(--vt-txt); }
.vt-modal .btn-close { padding: 4px; }

/* ---------- Footer ----------------------------------------------------- */
.vt-footer {
    margin-block-start: 40px;
    background: var(--vt-panel);
    border-block-start: 1px solid var(--vt-line);
    padding-block: 30px 22px;
}
.vt-footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: space-between;
    align-items: center;
    margin-block-end: 18px;
}
.vt-footer-brand { min-inline-size: 0; }
.vt-footer-wordmark { font-family: var(--vt-font-d); font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--vt-txt); }
.vt-footer-tag { font-size: 13px; color: var(--vt-muted); margin: 4px 0 0; }
.vt-social { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; }
.vt-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 38px;
    block-size: 38px;
    border-radius: var(--vt-r-cap);
    background: var(--vt-panel-2);
    color: var(--vt-txt);
    transition: background-color .2s var(--vt-ease), color .2s var(--vt-ease);
}
.vt-social a:hover { background: var(--vt-accent); color: #fff; }
.vt-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding-block: 16px;
    border-block: 1px solid var(--vt-line);
    margin-block-end: 16px;
}
.vt-footer-links a { font-size: 13px; color: var(--vt-muted); font-weight: 600; }
.vt-footer-links a:hover { color: var(--vt-accent-deep); }
.vt-footer-base {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--vt-muted);
}
.vt-footer-base a { color: var(--vt-accent-deep); font-weight: 600; }
.vt-footer-base i { color: var(--vt-accent); }

/* ---------- Mobile dock ----------------------------------------------- */
.vt-dock {
    position: fixed;
    inset-block-end: 0;
    inset-inline: 0;
    z-index: 55;
    display: flex;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-block-start: 1px solid var(--vt-line);
    padding-block: 7px;
    padding-block-end: max(7px, env(safe-area-inset-bottom));
}
.vt-dock a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--vt-muted);
}
.vt-dock a i { font-size: 21px; }
.vt-dock a.is-active { color: var(--vt-accent-deep); }
@media (min-width: 760px) { .vt-dock { display: none; } body { padding-block-end: 0; } }

/* ---------- Notes / preloader ----------------------------------------- */
.vt-note { padding: 13px 16px; border-radius: var(--vt-r-md); margin-block: 14px; font-size: 14px; font-weight: 600; }
.vt-note-success { background: var(--vt-accent-wash); color: var(--vt-accent-deep); }
.vt-note-danger { background: var(--tk-danger-wash, #FCE8E6); color: var(--tk-danger-text, #b3261e); }

.preloader-wrapper {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vt-bg);
}
.vt-loader {
    inline-size: 56px;
    block-size: 22px;
    border-radius: var(--vt-r-cap);
    background: var(--vt-accent-wash);
    position: relative;
    overflow: hidden;
}
.vt-loader::after {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    inline-size: 50%;
    border-radius: var(--vt-r-cap);
    background: linear-gradient(90deg, var(--vt-accent), var(--vt-accent-deep));
    animation: vtCapsule 1s var(--vt-ease) infinite alternate;
}
@keyframes vtCapsule { from { transform: translateX(0); } to { transform: translateX(100%); } }

/* ---------- Cart toast = COMPACT PILL (top-center, ~360px) ------------- */
.alert-float {
    position: fixed !important;
    inset-block-start: 18px !important;
    inset-inline: 0 !important;
    margin-inline: auto !important;
    inline-size: auto !important;
    max-inline-size: 360px !important;
    width: max-content !important;
    z-index: 2000 !important;
    border-radius: var(--vt-r-cap) !important;
    padding: 11px 20px !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: var(--vt-shadow-2) !important;
    border: none !important;
    display: none;
    opacity: 0;
    transition: opacity .25s var(--vt-ease), transform .25s var(--vt-ease);
    transform: translateY(-8px);
}
.alert-float.show { opacity: 1; transform: translateY(0); }
#successAlertContainer { background: var(--vt-accent) !important; color: #fff !important; }
#errorAlertContainer { background: var(--tk-danger-text, #b3261e) !important; color: #fff !important; }

/* ====================================================================== */
/*  REDUCED-MOTION KILL LAYER                                             */
/* ====================================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    /* capsule-fill shows already filled (no scaleX reveal) */
    .vt-fill-bar { transition: none !important; transform: scaleX(var(--fill, .8)) !important; }
    .vt-loader::after { animation: none; inline-size: 100%; }
    .vt-card:hover, .vt-tile:hover, .vt-btn:hover, .vt-add:hover, .vt-goal:hover { transform: none; }
}
