/* ==========================================================================
   STORE THEME — "Obsidian Glass"
   Dark, frosted-glass look for every page customers see.
   Loaded after tailwind.css (built locally), so it restyles the existing Tailwind classes
   without changing any page markup. Colours live in the :root variables below.
   ========================================================================== */
/* Inter is hosted on this site (assets/fonts/), not on Google Fonts: no extra network round trip, no render-blocking @import. */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    color-scheme: dark;
    --bg: #07080d;
    --bg-img:
        radial-gradient(52rem 34rem at 12% -6%,  rgba(99, 102, 241, .42), transparent 62%),
        radial-gradient(46rem 32rem at 100% 8%,  rgba(167, 139, 250, .26), transparent 62%),
        radial-gradient(50rem 34rem at 78% 108%, rgba(45, 212, 191, .20), transparent 62%);
    --grain: .5;
    --ink: #eceef6;
    --ink-2: #c9cde0;
    --ink-3: #99a0b8;
    --ink-4: #6c738c;
    --h1-grad: linear-gradient(180deg, #fff 30%, #b9bdf5 130%);
    --glass: linear-gradient(155deg, rgba(255,255,255,.085), rgba(255,255,255,.028));
    --glass-solid: rgba(16, 17, 27, .94);
    --header-bg: rgba(9, 10, 17, .62);
    --footer-bg: rgba(9, 10, 17, .55);
    --line: rgba(255, 255, 255, .095);
    --line-strong: rgba(255, 255, 255, .18);
    --shadow: 0 24px 60px -18px rgba(0, 0, 0, .65), 0 2px 0 rgba(255,255,255,.04) inset;
    --hover-shadow: 0 30px 70px -20px rgba(0,0,0,.75), 0 0 0 1px rgba(124,123,255,.18), 0 0 40px -10px rgba(124,123,255,.35);
    --input-bg: rgba(255,255,255,.055);
    --input-bg-focus: rgba(255,255,255,.085);
    --input-shadow: inset 0 1px 2px rgba(0,0,0,.35);
    --tint: rgba(255,255,255,.04);
    --tint-2: rgba(255,255,255,.06);
    --tint-3: rgba(255,255,255,.09);
    --link: #a9a8ff;
    --gold: #e8cf9b;
    --red-t: #ff9aa8;
    --green-t: #7ee6b5;
    --yellow-t: #f3dd9c;
    --pill-bg: #f4f4ff;
    --pill-ink: #1b1a3a;
    --autofill: #151626;
    --scroll: rgba(255,255,255,.14);
    --focus: rgba(124,123,255,.22);
    --accent: #7c7bff;
}
/* Light theme: chosen by the eye button (html[data-theme="light"]) or by the phone/computer setting when nothing is chosen */
html[data-theme="light"] {
    color-scheme: light;
    --bg: #eef0f9;
    --bg-img:
        radial-gradient(52rem 34rem at 10% -6%,  rgba(129, 140, 248, .50), transparent 62%),
        radial-gradient(46rem 32rem at 100% 6%,  rgba(244, 164, 214, .38), transparent 62%),
        radial-gradient(50rem 34rem at 78% 108%, rgba(94, 205, 235, .42), transparent 62%);
    --grain: .22;
    --ink: #14162b;
    --ink-2: #353a58;
    --ink-3: #5a6081;
    --ink-4: #8187a3;
    --h1-grad: linear-gradient(180deg, #14162b 40%, #4b49c9 140%);
    --glass: linear-gradient(155deg, rgba(255,255,255,.80), rgba(255,255,255,.48));
    --glass-solid: rgba(255, 255, 255, .97);
    --header-bg: rgba(246, 247, 253, .72);
    --footer-bg: rgba(246, 247, 253, .62);
    --line: rgba(20, 22, 43, .09);
    --line-strong: rgba(20, 22, 43, .18);
    --shadow: 0 24px 60px -26px rgba(60, 64, 140, .38), inset 0 1px 0 rgba(255,255,255,.95);
    --hover-shadow: 0 30px 70px -26px rgba(60,64,140,.5), 0 0 0 1px rgba(99,102,241,.22), 0 0 40px -12px rgba(99,102,241,.35);
    --input-bg: rgba(255,255,255,.7);
    --input-bg-focus: rgba(255,255,255,.95);
    --input-shadow: inset 0 1px 2px rgba(20,22,43,.08);
    --tint: rgba(20,22,43,.035);
    --tint-2: rgba(20,22,43,.05);
    --tint-3: rgba(20,22,43,.08);
    --link: #4338ca;
    --gold: #946a0f;
    --red-t: #be123c;
    --green-t: #047857;
    --yellow-t: #8a5a00;
    --pill-bg: #1b1a3a;
    --pill-ink: #ffffff;
    --autofill: #ffffff;
    --scroll: rgba(20,22,43,.22);
    --focus: rgba(99,102,241,.25);
    --accent: #5b5bf0;
}
@media (prefers-color-scheme: light) {
    html:not([data-theme]) {
    color-scheme: light;
    --bg: #eef0f9;
    --bg-img:
        radial-gradient(52rem 34rem at 10% -6%,  rgba(129, 140, 248, .50), transparent 62%),
        radial-gradient(46rem 32rem at 100% 6%,  rgba(244, 164, 214, .38), transparent 62%),
        radial-gradient(50rem 34rem at 78% 108%, rgba(94, 205, 235, .42), transparent 62%);
    --grain: .22;
    --ink: #14162b;
    --ink-2: #353a58;
    --ink-3: #5a6081;
    --ink-4: #8187a3;
    --h1-grad: linear-gradient(180deg, #14162b 40%, #4b49c9 140%);
    --glass: linear-gradient(155deg, rgba(255,255,255,.80), rgba(255,255,255,.48));
    --glass-solid: rgba(255, 255, 255, .97);
    --header-bg: rgba(246, 247, 253, .72);
    --footer-bg: rgba(246, 247, 253, .62);
    --line: rgba(20, 22, 43, .09);
    --line-strong: rgba(20, 22, 43, .18);
    --shadow: 0 24px 60px -26px rgba(60, 64, 140, .38), inset 0 1px 0 rgba(255,255,255,.95);
    --hover-shadow: 0 30px 70px -26px rgba(60,64,140,.5), 0 0 0 1px rgba(99,102,241,.22), 0 0 40px -12px rgba(99,102,241,.35);
    --input-bg: rgba(255,255,255,.7);
    --input-bg-focus: rgba(255,255,255,.95);
    --input-shadow: inset 0 1px 2px rgba(20,22,43,.08);
    --tint: rgba(20,22,43,.035);
    --tint-2: rgba(20,22,43,.05);
    --tint-3: rgba(20,22,43,.08);
    --link: #4338ca;
    --gold: #946a0f;
    --red-t: #be123c;
    --green-t: #047857;
    --yellow-t: #8a5a00;
    --pill-bg: #1b1a3a;
    --pill-ink: #ffffff;
    --autofill: #ffffff;
    --scroll: rgba(20,22,43,.22);
    --focus: rgba(99,102,241,.25);
    --accent: #5b5bf0;
    }
}

/* ---------- Canvas ---------- */
html { min-height: 100%; background: var(--bg); transition: background-color .3s ease; }
body {
    background-color: var(--bg) !important;
    background-image: var(--bg-img) !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    color: var(--ink);
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-feature-settings: "cv11", "ss01";
    letter-spacing: -0.006em;
    -webkit-font-smoothing: antialiased;
    position: relative;
}
/* fine film grain: gives the glass something to refract */
body::before {
    content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: var(--grain); mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
body > * { position: relative; z-index: 1; }

h1, h2, h3 { letter-spacing: -0.025em; }
h1 { background: var(--h1-grad); -webkit-background-clip: text; background-clip: text; color: transparent !important; }

/* ---------- Text colour map (pages use dark-on-light Tailwind greys) ---------- */
.text-gray-900, .text-gray-800 { color: var(--ink) !important; }
.text-gray-700 { color: var(--ink-2) !important; }
.text-gray-600 { color: var(--ink-3) !important; }
.text-gray-500 { color: var(--ink-3) !important; }
.text-gray-400 { color: var(--ink-4) !important; }
.text-blue-600, .text-blue-700, .hover\:text-blue-600:hover { color: var(--link) !important; }
.text-yellow-500, .text-yellow-600 { color: var(--gold) !important; }
.text-red-600, .text-red-700, .text-red-800, .hover\:text-red-800:hover { color: var(--red-t) !important; }
.text-green-600, .text-green-700, .text-green-800 { color: var(--green-t) !important; }
.text-yellow-800, .text-yellow-900 { color: var(--yellow-t) !important; }
a { text-decoration-color: var(--line-strong); }

/* ---------- Glass surfaces ---------- */
.bg-white {
    background: var(--glass) !important;
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    backdrop-filter: blur(22px) saturate(150%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    color: var(--ink);
}
.shadow-sm, .shadow-md, .shadow-lg, .shadow-xl { box-shadow: var(--shadow) !important; }
.rounded-xl { border-radius: 22px !important; }
.rounded-lg { border-radius: 14px !important; }
.bg-gray-50  { background: var(--tint) !important; }
.bg-gray-100 { background: var(--tint-2) !important; }
body.bg-gray-100 { background-color: var(--bg) !important; }
.bg-gray-200 { background: var(--tint-3) !important; border: 1px solid var(--line); color: var(--ink) !important; }
.bg-gray-300 { background: var(--tint-3) !important; }
.border-gray-100, .border-gray-200, .border-gray-300 { border-color: var(--line) !important; }
.divide-gray-100 > :not([hidden]) ~ :not([hidden]), .divide-gray-200 > :not([hidden]) ~ :not([hidden]) { border-color: var(--line) !important; }

/* header / footer bars */
header.bg-white { border-radius: 0 !important; border-width: 0 0 1px 0; background: var(--header-bg) !important; -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); box-shadow: none !important; }
footer.bg-white { border-radius: 0 !important; border-width: 1px 0 0 0; background: var(--footer-bg) !important; box-shadow: none !important; }
header .text-gray-800 { letter-spacing: -0.03em; }

/* card hover: edge light + lift */
.grid > .bg-white { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.grid > .bg-white:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--hover-shadow) !important;
}

/* small pills that must stay solid (cart count badge, etc.) */
.bg-white.rounded-full { background: var(--pill-bg) !important; color: var(--pill-ink) !important; border: 0; box-shadow: 0 0 0 3px rgba(124,123,255,.25) !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
.bg-white.rounded-full.text-blue-700 { color: var(--pill-ink) !important; }
/* dropdowns that float above inputs need to be opaque enough to read */
#suggest, .absolute.bg-white { background: var(--glass-solid) !important; }

/* ---------- Inputs ---------- */
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="tel"],
input[type="search"], input[type="url"], input[type="date"], input:not([type]), select, textarea {
    background: var(--input-bg) !important;
    border: 1px solid var(--line) !important;
    color: var(--ink) !important;
    box-shadow: var(--input-shadow);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
input::placeholder, textarea::placeholder { color: var(--ink-4); }
input:hover, select:hover, textarea:hover { border-color: var(--line-strong) !important; }
input:focus, select:focus, textarea:focus {
    outline: none !important;
    background: var(--input-bg-focus) !important;
    border-color: rgba(124,123,255,.75) !important;
    box-shadow: 0 0 0 4px var(--focus) !important;
}
select option { background: var(--glass-solid); color: var(--ink); }
input:-webkit-autofill { -webkit-text-fill-color: var(--ink); -webkit-box-shadow: 0 0 0 1000px var(--autofill) inset; caret-color: var(--ink); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); }
input[type="file"] { color: var(--ink-3); }
label { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.bg-blue-600, .from-blue-600.to-indigo-600 { color: #fff; }
button.bg-blue-600, a.bg-blue-600, input.bg-blue-600 {
    background-image: linear-gradient(180deg, #8b8aff 0%, #6a58f2 100%) !important;
    background-color: #6a58f2 !important;
    border: 1px solid rgba(255,255,255,.28);
    box-shadow: 0 10px 28px -8px rgba(106, 88, 242, .75), inset 0 1px 0 rgba(255,255,255,.35);
    text-shadow: 0 1px 0 rgba(0,0,0,.2);
}
.bg-green-600, .bg-green-500 { background-image: linear-gradient(180deg, #34d399, #059669) !important; background-color: #059669 !important; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 10px 28px -10px rgba(16,185,129,.7), inset 0 1px 0 rgba(255,255,255,.3); color: #fff; }
.bg-red-600 { background-image: linear-gradient(180deg, #fb7185, #e11d48) !important; background-color: #e11d48 !important; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 10px 28px -10px rgba(244,63,94,.65), inset 0 1px 0 rgba(255,255,255,.28); color: #fff; }
.bg-gray-800, .bg-gray-900 { background: var(--tint-3) !important; border: 1px solid var(--line-strong); color: var(--ink) !important; }
.hover\:bg-blue-700:hover, .hover\:bg-green-700:hover, .hover\:bg-green-600:hover, .hover\:bg-red-700:hover, .hover\:bg-gray-900:hover { filter: brightness(1.1); transform: translateY(-1px); }
button, a { transition: filter .15s ease, transform .15s ease, color .15s ease, border-color .15s ease; }
button:active { transform: translateY(0) scale(.99); }

/* promo banner (gradient bar on the home page) */
.from-blue-600.to-indigo-600 {
    background-image: linear-gradient(115deg, rgba(124,123,255,.55), rgba(167,139,250,.28) 55%, rgba(45,212,191,.22)) !important;
    border: 1px solid var(--line-strong);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}

/* banner text stays light in both themes */
.from-blue-600.to-indigo-600, .from-blue-600.to-indigo-600 * { color: #fff !important; }
html[data-theme="light"] .from-blue-600.to-indigo-600 { background-image: linear-gradient(115deg, #6d6cf7, #8b6cf6 60%, #3bb4c9) !important; }

/* ---------- Alerts / badges (kept semantic, made dark-glass) ---------- */
.bg-green-100, .bg-green-50  { background: rgba(16,185,129,.12) !important; border-color: rgba(16,185,129,.35) !important; }
.bg-red-100, .bg-red-50      { background: rgba(244,63,94,.12)  !important; border-color: rgba(244,63,94,.35)  !important; }
.bg-yellow-100, .bg-yellow-50{ background: rgba(232,207,155,.12) !important; border-color: rgba(232,207,155,.35) !important; }
.bg-blue-100, .bg-blue-50    { background: rgba(124,123,255,.14) !important; border-color: rgba(124,123,255,.35) !important; }
.border-green-300 { border-color: rgba(16,185,129,.35) !important; }
.border-red-300   { border-color: rgba(244,63,94,.35) !important; }
.border-yellow-200, .border-yellow-300 { border-color: rgba(232,207,155,.35) !important; }
.bg-black\/70, .bg-black\/80, .bg-black\/90, .bg-black\/50 { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.bg-black\/70 { background: rgba(7,8,13,.72) !important; border: 1px solid rgba(255,255,255,.12); color: #fff; }

/* ---------- Prices, ratings, product media ---------- */
.text-lg.font-bold.text-gray-900, .text-xl.font-bold.text-gray-900, .text-2xl.font-bold.text-gray-900 { color: var(--gold) !important; letter-spacing: -0.02em; }
img { border-radius: inherit; }
.aspect-video { overflow: hidden; }
.aspect-video img, .aspect-video video { transition: transform .5s ease; }
.grid > .bg-white:hover .aspect-video img, .grid > .bg-white:hover .aspect-video video { transform: scale(1.04); }

/* ---------- Tables ---------- */
table { border-collapse: separate; border-spacing: 0; }
thead { background: var(--tint) !important; }
tbody tr:hover { background: var(--tint); }

/* ---------- Modals / lightbox ---------- */
#modal > div { background: var(--glass-solid) !important; }

/* ---------- Chrome ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--scroll); border-radius: 10px; border: 2px solid transparent; background-clip: content-box; }
::selection { background: rgba(124,123,255,.45); color: #fff; }
hr { border-color: var(--line); }

/* ---------- Fallbacks ---------- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .bg-white { background: var(--glass-solid) !important; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
    .grid > .bg-white:hover { transform: none; }
}


/* ==========================================================================
   Theme switcher (eye button, bottom-right). Markup is injected by assets/theme.js
   ========================================================================== */
.tg { position: fixed; right: 18px; bottom: 90px; z-index: 90; font-family: inherit; }
.tg-btn {
    width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; cursor: pointer;
    color: var(--ink); background: var(--glass-solid); border: 1px solid var(--line-strong);
    -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
    box-shadow: var(--shadow), 0 0 0 4px var(--focus);
}
.tg-btn:hover { transform: translateY(-2px); }
.tg-btn svg { width: 22px; height: 22px; }
.tg-menu {
    position: absolute; right: 0; bottom: 60px; min-width: 214px; padding: 6px; border-radius: 18px;
    background: var(--glass-solid); border: 1px solid var(--line-strong); box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
    opacity: 0; transform: translateY(8px) scale(.98); pointer-events: none; transition: opacity .18s ease, transform .18s ease;
}
.tg.open .tg-menu { opacity: 1; transform: none; pointer-events: auto; }
.tg-menu button {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 12px; border: 0;
    background: transparent; color: var(--ink-2); font: 500 14px/1 inherit; cursor: pointer; text-align: left; white-space: nowrap;
}
.tg-menu button:hover { background: var(--tint-2); color: var(--ink); }
.tg-menu button svg { width: 18px; height: 18px; flex: none; }
.tg-menu button .tg-check { margin-left: auto; width: 16px; height: 16px; opacity: 0; color: var(--accent); }
.tg-menu button[aria-checked="true"] { color: var(--ink); background: var(--tint-2); }
.tg-menu button[aria-checked="true"] .tg-check { opacity: 1; }
.tg-hint { padding: 6px 12px 8px; font-size: 11px; color: var(--ink-4); }


/* ==========================================================================
   Bottom navigation for logged-in customers (markup: user_nav.php)
   ========================================================================== */
.unav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    display: flex; justify-content: space-around; align-items: flex-end;
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--glass-solid); border-top: 1px solid var(--line-strong);
    -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .35);
}
.unav-item {
    flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 4px 2px; text-decoration: none; color: var(--ink-3); font-size: 11px; font-weight: 600; line-height: 1.2;
}
.unav-item:hover { color: var(--ink); }
.unav-ico { display: grid; place-items: center; width: 26px; height: 26px; }
.unav-ico svg { width: 24px; height: 24px; }
.unav-label { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.unav-item.is-active { color: var(--link); }
.unav-item.is-active .unav-label { font-weight: 700; }

/* centre "Sell Gift Card" button */
.unav-sell { color: var(--ink-2); }
.unav-sell .unav-ico {
    width: 54px; height: 54px; margin-top: -30px; border-radius: 999px; color: #fff;
    background: linear-gradient(135deg, #6d6cf7, #3bb4c9);
    box-shadow: 0 10px 24px -8px rgba(99, 102, 241, .75), 0 0 0 4px var(--bg);
}
.unav-sell .unav-ico svg { width: 26px; height: 26px; }
.unav-sell.is-active { color: var(--link); }

/* phones (360px and up): 7 equal items. The centre gift button stays centred; labels stay on one line in small text. */
@media (max-width: 899px) {
    .unav { padding: 8px calc(2px + env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) calc(2px + env(safe-area-inset-left, 0px)); }
    .unav-item { flex: 1 1 0; width: 0; padding: 4px 0; font-size: 10px; letter-spacing: -.01em; }
    .unav-label { text-align: center; }
    .unav-sell .unav-ico { width: 50px; height: 50px; margin-top: -28px; }
    .unav-sell .unav-ico svg { width: 24px; height: 24px; }
}
@media (max-width: 380px) {
    .unav-item { font-size: 9px; letter-spacing: -.02em; }
    .unav-ico svg { width: 22px; height: 22px; }
    .unav-sell .unav-ico { width: 46px; height: 46px; margin-top: -26px; }
    .unav-sell .unav-ico svg { width: 22px; height: 22px; }
}

/* tablet: a narrow bar centred at the bottom */
@media (min-width: 640px) and (max-width: 899px) {
    .unav { left: 50%; right: auto; width: 100%; max-width: 560px; transform: translateX(-50%); border-radius: 20px 20px 0 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
}
/* laptop / desktop: a slim menu rail on the left, like a desktop app */
@media (min-width: 900px) {
    .unav {
        top: 0; bottom: 0; left: 0; right: auto; width: 96px; flex-direction: column; justify-content: center; align-items: stretch; gap: 6px;
        padding: 16px 8px; border-top: 0; border-right: 1px solid var(--line-strong); border-radius: 0; box-shadow: 10px 0 36px -22px rgba(0, 0, 0, .55);
    }
    .unav-item { flex: 0 0 auto; padding: 10px 4px; border-radius: 16px; font-size: 11px; }
    .unav-item:hover { background: rgba(124, 123, 255, .12); }
    .unav-item.is-active { background: rgba(124, 123, 255, .16); }
    .unav { overflow-y: auto; scrollbar-width: none; } /* short screens: the rail scrolls instead of cutting items off */
    .unav::-webkit-scrollbar { display: none; }
    .unav-sell { margin: 6px 0; }
    .unav-sell .unav-ico { width: 50px; height: 50px; margin-top: 0; box-shadow: 0 10px 22px -8px rgba(99, 102, 241, .75); }
}

/* nav badge (new chat replies) */
.unav-ico { position: relative; }
.unav-badge { position: absolute; top: -6px; left: calc(100% - 12px); right: auto; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; font-style: normal; font-size: 10.5px; font-weight: 800; line-height: 1; color: #fff; background: #f43f5e; box-shadow: 0 0 0 2px var(--bg); }
.unav-badge.hidden { display: none; }
.unav-badge.cart { background: #6d6cf7; }
.unav-sell .unav-badge { top: -2px; left: calc(100% - 22px); }

/* ==========================================================================
   "App feel" polish for the whole shop: native-style taps, rounder cards, smooth press effects.
   Only touches spacing, radius and motion. Colours still come from the theme above.
   ========================================================================== */
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overscroll-behavior-y: none; }
a, button, [role="button"], input[type="submit"] { touch-action: manipulation; }
button, a.rounded-lg, a.rounded-xl, .rounded-lg[type="submit"] { transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease, opacity .2s ease; }
button:active:not(:disabled), a.rounded-lg:active, a.rounded-xl:active { transform: scale(.97); }
.rounded-xl { border-radius: 22px !important; }
.rounded-lg { border-radius: 16px !important; }
input, select, textarea { font-size: 16px; }              /* stops phones zooming in when you tap a field */
input:not([type="checkbox"]):not([type="radio"]), select, textarea { border-radius: 14px; }
@media (min-width: 768px) { input, select, textarea { font-size: 14px; } }
::selection { background: rgba(124, 123, 255, .35); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* notifications on/off switch (Profile page) */
.notify-switch { position: relative; flex: 0 0 auto; width: 54px; height: 32px; padding: 0; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--glass-solid); transition: background .2s, border-color .2s; }
.notify-switch .knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 999px; background: var(--ink-3); transition: transform .22s cubic-bezier(.2, .9, .3, 1.2), background .2s; }
.notify-switch[data-state="on"] { background: linear-gradient(135deg, #6d6cf7, #3bb4c9); border-color: transparent; }
.notify-switch[data-state="on"] .knob { transform: translateX(22px); background: #fff; }
.notify-switch[data-state="blocked"], .notify-switch[data-state="unsupported"] { opacity: .45; }
.brand-name { font-size: 1rem; line-height: 1.5rem; }
@media (min-width: 640px) { .brand-name { font-size: 1.25rem; line-height: 1.75rem; } }
