/* Bazar (template 28) base = template 23 style.css + template 24 pocket.css, copied 2026-11-21. The grocery design layer is bazar.css. */
/* ==========================================================================
   Template 23 — "Maison": classic editorial type, modern app-like mobile UI.
   Plain CSS (no Tailwind rebuild needed). Everything is scoped under .t23 /
   .t23-* so nothing leaks into other templates.
   Tokens: --t23-accent (= vendor's website colour) and --t23-on-accent
   (white or ink, picked by luminance in layouts.blade.php).
   ========================================================================== */

:root {
    --t23-paper: #fbf9f5;
    --t23-surface: #ffffff;
    --t23-soft: #f3efe8;
    --t23-line: #ebe5db;
    --t23-ink: #1c1814;
    --t23-ink-2: #3b352e;
    --t23-muted: #7b7369;
    --t23-sale: #b4432f;
    --t23-ok: #2f7a4f;
    --t23-radius: 18px;
    --t23-radius-sm: 12px;
    --t23-ease: cubic-bezier(.2, .8, .2, 1);
    /* Headings: Manrope (2026-10-20, was the serif Fraunces); the variable keeps its old name so no rule changes */
    --t23-serif: 'Manrope', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --t23-sans: 'Inter', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --t23-tabs-h: 64px;
    --t23-bar-h: 58px;
}

/* ---------- Base ---------- */
body.t23 {
    font-family: var(--t23-sans);
    background: var(--t23-paper);
    color: var(--t23-ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: transparent;
}
.t23 main { min-height: 50vh; }
.t23-serif { font-family: var(--t23-serif); font-optical-sizing: auto; letter-spacing: -.012em; }
.t23-kicker { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--t23-muted); }
.t23 ::selection { background: var(--t23-accent); color: var(--t23-on-accent); }
.t23-noscroll::-webkit-scrollbar { display: none; }
.t23-noscroll { scrollbar-width: none; -ms-overflow-style: none; }
.t23-press { transition: transform .16s var(--t23-ease), opacity .16s; }
.t23-press:active { transform: scale(.96); }

/* Buttons */
.t23-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 0; cursor: pointer; transition: transform .16s var(--t23-ease), background .2s, box-shadow .2s; white-space: nowrap; }
.t23-btn:active { transform: scale(.97); }
.t23-btn--accent { background: var(--t23-accent); color: var(--t23-on-accent); box-shadow: 0 10px 22px -14px var(--t23-accent); }
.t23-btn--ghost { background: transparent; color: var(--t23-ink); box-shadow: inset 0 0 0 1.5px var(--t23-ink); }
.t23-btn--ghost:hover { background: var(--t23-ink); color: #fff; }
.t23-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--t23-ink); text-decoration: none; white-space: nowrap; }
.t23-link svg { width: 16px; height: 16px; transition: transform .2s var(--t23-ease); }
.t23-link:hover svg { transform: translateX(3px); }

/* Icon button */
.t23-ico { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; border: 0; background: transparent; color: var(--t23-ink); cursor: pointer; transition: background .2s, transform .16s var(--t23-ease); flex-shrink: 0; }
.t23-ico:hover { background: var(--t23-soft); }
.t23-ico:active { transform: scale(.92); }
.t23-ico svg { width: 22px; height: 22px; }
.t23-badge { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--t23-accent); color: var(--t23-on-accent); font-size: 10px; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--t23-paper); }
.t23-badge:empty, .t23-badge[data-zero="1"] { display: none; }

/* ---------- Top strip (desktop) ---------- */
/* Notice bar (announcement): the shop's accent colour, text scrolling right to left, paused on hover */
.t23-notice { position: relative; overflow: hidden; background: var(--t23-accent); color: var(--t23-on-accent, #fff); font-size: 13px; font-weight: 600; line-height: 1; padding: 9px 0; }
.t23-notice__track { display: flex; width: max-content; animation: t23-notice var(--t23-notice-speed, 24s) linear infinite; }
.t23-notice__track span { padding-right: 64px; white-space: nowrap; }
.t23-notice:hover .t23-notice__track { animation-play-state: paused; }
@keyframes t23-notice { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (min-width: 1024px) { .t23-notice { font-size: 13.5px; padding: 10px 0; } }
@media (prefers-reduced-motion: reduce) {
    .t23-notice__track { animation: none; width: auto; justify-content: center; padding: 0 16px; }
    .t23-notice__track span { overflow: hidden; text-overflow: ellipsis; padding: 0; }
    .t23-notice__track span[aria-hidden] { display: none; }
}
.t23-strip { display: none; background: var(--t23-ink); color: rgba(255,255,255,.82); font-size: 12px; letter-spacing: .02em; }
.t23-strip a { color: inherit; text-decoration: none; }
.t23-strip a:hover { color: #fff; }
.t23-strip__in { max-width: 1320px; margin: 0 auto; padding: 8px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
@media (min-width: 1024px) { .t23-strip { display: block; } }

/* ---------- App bar ---------- */
.t23-bar { position: sticky; top: 0; z-index: 60; background: rgba(251,249,245,.86); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.t23-bar.is-scrolled { border-bottom-color: var(--t23-line); box-shadow: 0 8px 24px -22px rgba(28,24,20,.5); }
.t23-bar__row { height: var(--t23-bar-h); display: flex; align-items: center; gap: 4px; padding: 0 6px 0 4px; max-width: 1320px; margin: 0 auto; }
.t23-bar__brand { display: flex; align-items: center; min-width: 0; flex: 1; text-decoration: none; color: var(--t23-ink); padding-left: 2px; }
.t23-bar__brand img { height: 34px; width: auto; max-width: 150px; object-fit: contain; }
.t23-bar__brand span { font-family: var(--t23-serif); font-size: 21px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t23-bar__actions { display: flex; align-items: center; gap: 2px; }
.t23-bar__desk { display: none; }
.t23-search-pill { display: flex; align-items: center; gap: 10px; height: 46px; margin: 2px 12px 12px; padding: 0 16px; border-radius: 999px; background: var(--t23-surface); box-shadow: inset 0 0 0 1px var(--t23-line); color: var(--t23-muted); font-size: 14.5px; cursor: text; width: calc(100% - 24px); border: 0; text-align: left; }
.t23-search-pill svg { width: 19px; height: 19px; flex-shrink: 0; color: var(--t23-ink-2); }
@media (min-width: 1024px) {
    .t23-bar__row { height: 76px; padding: 0 24px; gap: 24px; }
    .t23-bar__menu, .t23-search-pill, .t23-bar__m-only { display: none !important; }
    .t23-bar__brand { flex: 0 0 auto; }
    .t23-bar__brand img { height: 46px; max-width: 220px; }
    .t23-bar__brand span { font-size: 28px; }
    .t23-bar__desk { display: flex; flex: 1; justify-content: center; }
    .t23-bar__desk form { width: 100%; max-width: 520px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 18px; border-radius: 999px; background: var(--t23-surface); box-shadow: inset 0 0 0 1px var(--t23-line); transition: box-shadow .2s; }
    .t23-bar__desk form:focus-within { box-shadow: inset 0 0 0 1.5px var(--t23-ink); }
    .t23-bar__desk input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14.5px; color: var(--t23-ink); box-shadow: none !important; padding: 0; }
    .t23-bar__desk button { width: 34px; height: 34px; border-radius: 999px; border: 0; background: var(--t23-accent); color: var(--t23-on-accent); display: flex; align-items: center; justify-content: center; }
    .t23-bar__desk button svg { width: 17px; height: 17px; }
}
/* Desktop nav row */
.t23-nav { display: none; border-top: 1px solid var(--t23-line); }
.t23-nav__in { max-width: 1320px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 48px; overflow: hidden; } /* spans the hero's width, edge to edge */
.t23-nav a, .t23-nav button { position: relative; font-size: 13.5px; font-weight: 500; color: var(--t23-ink-2); text-decoration: none; white-space: nowrap; background: none; border: 0; cursor: pointer; padding: 14px 0; display: inline-flex; align-items: center; gap: 6px; }
.t23-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1.5px; background: var(--t23-ink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--t23-ease); }
.t23-nav a:hover::after, .t23-nav a.is-on::after { transform: scaleX(1); }
.t23-nav a.is-on, .t23-nav a:hover { color: var(--t23-ink); }
.t23-nav svg { width: 16px; height: 16px; }
@media (min-width: 1024px) { .t23-nav { display: block; } }
/* 8 categories on wide screens; the last two step aside below 1280px so the row never wraps or clips */
@media (max-width: 1279px) { .t23-nav__in > a:nth-last-child(-n+2) { display: none; } }

/* ---------- Search sheet ---------- */
.t23-search { position: fixed; inset: 0; z-index: 1200; display: none; background: var(--t23-paper); }
.t23-search.is-open { display: block; animation: t23Fade .18s ease-out; }
.t23-search__top { display: flex; align-items: center; gap: 6px; padding: 10px 10px 10px 6px; border-bottom: 1px solid var(--t23-line); }
.t23-search__top form { flex: 1; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 999px; background: var(--t23-surface); box-shadow: inset 0 0 0 1.5px var(--t23-ink); }
.t23-search__top input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--t23-ink); box-shadow: none !important; padding: 0; }
.t23-search__top svg { width: 19px; height: 19px; }
.t23-search__body { padding: 18px 16px 40px; max-width: 760px; margin: 0 auto; }
.t23-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.t23-chip { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--t23-surface); box-shadow: inset 0 0 0 1px var(--t23-line); font-size: 13.5px; color: var(--t23-ink-2); text-decoration: none; }
.t23-chip:active { transform: scale(.96); }
@media (min-width: 1024px) { .t23-search { background: rgba(28,24,20,.4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); } .t23-search__panel { background: var(--t23-paper); max-width: 760px; margin: 80px auto 0; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.45); } }

/* ---------- Drawer (menu / categories) ---------- */
.t23-drawer { position: fixed; inset: 0; z-index: 1150; display: none; }
.t23-drawer.is-open { display: block; }
.t23-drawer__scrim { position: absolute; inset: 0; background: rgba(28,24,20,.42); opacity: 0; transition: opacity .28s; }
.t23-drawer.is-in .t23-drawer__scrim { opacity: 1; }
.t23-drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 380px); background: var(--t23-paper); display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .32s var(--t23-ease); box-shadow: 20px 0 50px -30px rgba(0,0,0,.5); border-radius: 0 24px 24px 0; }
.t23-drawer.is-in .t23-drawer__panel { transform: none; }
.t23-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 12px 12px 20px; }
.t23-drawer__head h3 { font-family: var(--t23-serif); font-size: 24px; font-weight: 600; margin: 0; }
.t23-drawer__body { flex: 1; overflow-y: auto; padding: 0 12px 24px; }
.t23-drawer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 18px; }
.t23-drawer__links a { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 16px; background: var(--t23-surface); box-shadow: inset 0 0 0 1px var(--t23-line); font-size: 14px; font-weight: 600; color: var(--t23-ink); text-decoration: none; }
.t23-drawer__links svg { width: 19px; height: 19px; color: var(--t23-ink-2); }
.t23-drawer .t23-kicker { display: block; padding: 4px 8px 10px; }
.t23-cat { border-radius: 14px; }
.t23-cat__row { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 14px; color: var(--t23-ink); text-decoration: none; font-size: 15px; font-weight: 500; width: 100%; background: none; border: 0; text-align: left; cursor: pointer; }
.t23-cat__row:active { background: var(--t23-soft); }
.t23-cat__img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; background: var(--t23-soft); flex-shrink: 0; }
.t23-cat__img--l { display: flex; align-items: center; justify-content: center; font-family: var(--t23-serif); font-size: 17px; font-weight: 600; color: var(--t23-ink-2); }
.t23-cat__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t23-cat__chev { width: 18px; height: 18px; color: var(--t23-muted); transition: transform .25s var(--t23-ease); flex-shrink: 0; }
.t23-cat.is-open > .t23-cat__row .t23-cat__chev { transform: rotate(90deg); }
.t23-cat__sub { display: none; padding: 2px 0 8px 60px; }
.t23-cat.is-open > .t23-cat__sub { display: block; }
.t23-cat__sub a { display: block; padding: 9px 8px; font-size: 14px; color: var(--t23-ink-2); text-decoration: none; border-radius: 10px; }
.t23-cat__sub a:active { background: var(--t23-soft); }
.t23-cat__sub .t23-cat__sub { padding-left: 14px; }
.t23-cat__sub .t23-cat__row { font-size: 14px; padding: 9px 8px; color: var(--t23-ink-2); }
.t23-drawer__foot { padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--t23-line); }
.t23-drawer__foot .t23-btn { width: 100%; }

/* ---------- Bottom tab bar (phones/tablets) ---------- */
.t23-tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: calc(var(--t23-tabs-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border-top: 1px solid var(--t23-line); display: flex; }
.t23-tabs a, .t23-tabs button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; color: var(--t23-muted); text-decoration: none; font-size: 10.5px; font-weight: 600; letter-spacing: .01em; cursor: pointer; position: relative; }
.t23-tabs__ico { position: relative; width: 56px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center; transition: background .25s var(--t23-ease); }
.t23-tabs__ico svg { width: 22px; height: 22px; transition: transform .2s var(--t23-ease); }
.t23-tabs .is-on { color: var(--t23-ink); }
.t23-tabs .is-on .t23-tabs__ico { background: var(--t23-soft); }
.t23-tabs a:active .t23-tabs__ico svg, .t23-tabs button:active .t23-tabs__ico svg { transform: scale(.88); }
.t23-tabs .t23-badge { top: -2px; right: 6px; box-shadow: 0 0 0 2px #fff; }
.t23 .t23-tabs-space { height: calc(var(--t23-tabs-h) + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .t23-tabs, .t23 .t23-tabs-space { display: none; } }
/* Chat bubble / scroll-to-top sit above the tab bar */
@media (max-width: 1023px) { .t23 .fix-chat-pos { bottom: calc(var(--t23-tabs-h) + 16px + env(safe-area-inset-bottom)) !important; } }

/* ---------- Sections ---------- */
.t23-wrap { max-width: 1320px; margin: 0 auto; }
.t23-sec { padding: 22px 0 6px; }
.t23-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 16px 14px; }
.t23-sec__title { font-family: var(--t23-serif); font-optical-sizing: auto; font-size: 23px; line-height: 1.12; font-weight: 600; letter-spacing: -.015em; margin: 0; color: var(--t23-ink); }
.t23-sec__title small { display: block; font-family: var(--t23-sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--t23-muted); margin-bottom: 6px; }
@media (min-width: 768px) {
    .t23-sec { padding: 48px 0 12px; }
    .t23-sec__head { padding: 0 24px 22px; }
    .t23-sec__title { font-size: 34px; }
}

/* Swipe rows on phones, grid on desktop */
.t23-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 2px 12px 8px; scroll-padding-left: 12px; scrollbar-width: none; }
.t23-row::-webkit-scrollbar { display: none; }
.t23-row > * { flex: 0 0 calc(45% - 5px); scroll-snap-align: start; min-width: 0; }
@media (min-width: 640px) { .t23-row > * { flex-basis: calc(31% - 7px); } }
@media (min-width: 1024px) {
    .t23-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; overflow: visible; padding: 0 24px; }
    .t23-row > *:nth-child(n+6) { display: none; }
}
.t23-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; padding: 0 8px; }
@media (min-width: 640px) { .t23-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .t23-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 20px; padding: 0 24px; } }

/* ---------- Product card ---------- */
.t23-card { position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; }
.t23-card__mw { position: relative; }
.t23-card__media { position: relative; display: block; overflow: hidden; border-radius: var(--t23-radius); background: var(--t23-soft); isolation: isolate; }
.t23-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--t23-ease); }
@media (hover: hover) { .t23-card:hover .t23-card__media img { transform: scale(1.045); } }
.t23-card__tag { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 9px; border-radius: 999px; background: var(--t23-surface); color: var(--t23-sale); font-size: 11px; font-weight: 700; letter-spacing: .02em; box-shadow: 0 4px 12px -6px rgba(0,0,0,.25); }
.t23-card__ship { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: rgba(28,24,20,.72); color: #fff; font-size: 10px; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.t23-card__ship svg { width: 12px; height: 12px; }
.t23-card__add { position: absolute; right: 8px; bottom: 8px; z-index: 3; width: 38px; height: 38px; border-radius: 999px; border: 0; display: flex; align-items: center; justify-content: center; background: var(--t23-surface); color: var(--t23-ink); box-shadow: 0 8px 18px -10px rgba(0,0,0,.45); cursor: pointer; transition: transform .16s var(--t23-ease), background .2s, color .2s; }
.t23-card__add svg { width: 19px; height: 19px; }
.t23-card__add:active { transform: scale(.88); }
.t23-card__add:hover { background: var(--t23-accent); color: var(--t23-on-accent); }
.t23-card__add[disabled] { opacity: .45; cursor: not-allowed; }
.t23-card__body { padding: 10px 4px 2px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.t23-card__cat { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--t23-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t23-card__name { font-size: 13.5px; line-height: 1.35; font-weight: 500; color: var(--t23-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.t23-card__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 2px; }
.t23-card__now { font-size: 15.5px; font-weight: 700; color: var(--t23-ink); letter-spacing: -.01em; }
.t23-card__was { font-size: 12px; color: var(--t23-muted); text-decoration: line-through; }
.t23-card--out .t23-card__media img { opacity: .55; filter: grayscale(.3); }
.t23-card__out { position: absolute; inset: auto 10px 10px auto; z-index: 2; padding: 4px 9px; border-radius: 999px; background: rgba(28,24,20,.78); color: #fff; font-size: 10.5px; font-weight: 600; }
@media (min-width: 1024px) { .t23-card__name { font-size: 14.5px; } .t23-card__now { font-size: 17px; } .t23-card__body { padding-top: 14px; } }

/* ---------- Hero ---------- */
.t23-hero { position: relative; }
.t23-hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.t23-hero__track::-webkit-scrollbar { display: none; }
.t23-hero__slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1900 / 620; background: var(--t23-soft); }
.t23-hero__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t23-hero__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.t23-hero__dots span { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.55); transition: width .3s var(--t23-ease), background .3s; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.t23-hero__dots span.is-on { width: 20px; background: #fff; }
.t23-hero__nav { display: none; }
@media (min-width: 1024px) {
    .t23-hero { max-width: 1320px; margin: 20px auto 0; padding: 0 24px; }
    .t23-hero__track { border-radius: 28px; }
    .t23-hero__nav { display: flex; position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 999px; border: 0; background: rgba(255,255,255,.9); color: var(--t23-ink); align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 24px -12px rgba(0,0,0,.4); opacity: 0; transition: opacity .25s; }
    .t23-hero:hover .t23-hero__nav { opacity: 1; }
    .t23-hero__nav--prev { left: 44px; } .t23-hero__nav--next { right: 44px; }
    .t23-hero__nav svg { width: 20px; height: 20px; }
    .t23-hero__dots { bottom: 18px; }
}

/* ---------- Category circles ---------- */
.t23-cats { display: flex; gap: 14px; overflow-x: auto; padding: 18px 16px 4px; scroll-padding: 0 16px; scrollbar-width: none; scroll-snap-type: x proximity; }
.t23-cats::-webkit-scrollbar { display: none; }
.t23-cats a { flex: 0 0 auto; width: 70px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--t23-ink-2); scroll-snap-align: start; }
.t23-cats__img { width: 66px; height: 66px; border-radius: 999px; padding: 3px; background: var(--t23-surface); box-shadow: inset 0 0 0 1.5px var(--t23-line); transition: box-shadow .2s, transform .16s var(--t23-ease); }
.t23-cats__img img { width: 100%; height: 100%; border-radius: 999px; object-fit: cover; background: var(--t23-soft); }
.t23-cats a:active .t23-cats__img { transform: scale(.94); }
.t23-cats a:hover .t23-cats__img { box-shadow: inset 0 0 0 1.5px var(--t23-ink); }
.t23-cats span { font-size: 11.5px; font-weight: 500; line-height: 1.25; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 1024px) {
    .t23-cats { max-width: 1320px; margin: 0 auto; padding: 36px 24px 8px; gap: 28px; justify-content: safe center; }
    .t23-cats a { width: 104px; }
    .t23-cats__img { width: 100px; height: 100px; }
    .t23-cats span { font-size: 13.5px; }
}

/* ---------- Banners (three small ones per row, under the hero; never cropped) ---------- */
.t23-banners { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 8px; padding: 10px 10px 2px; align-items: start; }
.t23-banners a { display: block; border-radius: 12px; overflow: hidden; background: var(--t23-soft); box-shadow: 0 6px 16px -12px rgba(28,24,20,.45); transition: transform .16s var(--t23-ease); -webkit-tap-highlight-color: transparent; }
.t23-banners a:active { transform: scale(.97); }
.t23-banners img { display: block; width: 100%; height: auto; object-fit: contain; }
@media (min-width: 768px) {
    .t23-banners { max-width: 1320px; margin: 0 auto; padding: 20px 24px 4px; gap: 20px; }
    .t23-banners a { border-radius: 18px; }
    .t23-banners a:hover img { transform: scale(1.02); }
    .t23-banners img { transition: transform .6s var(--t23-ease); }
}

/* ---------- Flash sale ---------- */
.t23-flash { margin: 18px 0 0; padding: 18px 0 8px; background: var(--t23-ink); color: #fff; }
.t23-flash .t23-sec__head { padding-bottom: 14px; }
.t23-flash .t23-sec__title { color: #fff; }
.t23-flash .t23-sec__title small { color: rgba(255,255,255,.6); }
.t23-flash .t23-link { color: #fff; }
.t23-flash .t23-card__name, .t23-flash .t23-card__now { color: #fff; }
.t23-flash .t23-card__cat, .t23-flash .t23-card__was { color: rgba(255,255,255,.55); }
.t23-flash .t23-card__media { background: rgba(255,255,255,.08); }
.t23-timer { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-variant-numeric: tabular-nums; }
.t23-timer b { min-width: 30px; height: 28px; padding: 0 6px; border-radius: 8px; background: rgba(255,255,255,.12); display: inline-flex; align-items: center; justify-content: center; font-size: 13.5px; font-weight: 700; }
.t23-timer i { font-style: normal; opacity: .5; }
@media (min-width: 768px) { .t23-flash { margin: 48px 24px 0; border-radius: 28px; padding: 36px 0 20px; } .t23-flash-wrap { max-width: 1320px; margin: 0 auto; } }

/* ---------- Footer ---------- */
/* Promise strip (light, just above the dark footer) */
.t23-promise { margin-top: 36px; border-top: 1px solid var(--t23-line); background: var(--t23-paper); }
.t23-promise__in { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; }
.t23-promise__in > div { display: flex; align-items: center; gap: 10px; padding: 16px 16px; font-size: 13px; font-weight: 600; color: var(--t23-ink); line-height: 1.25; border-bottom: 1px solid var(--t23-line); }
.t23-promise__in > div:nth-child(odd) { border-right: 1px solid var(--t23-line); }
.t23-promise__in svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--t23-ink-2); stroke-width: 1.6; }
@media (min-width: 1024px) {
    .t23-promise { margin-top: 80px; }
    .t23-promise__in { grid-template-columns: repeat(4, 1fr); padding: 0 24px; }
    .t23-promise__in > div { justify-content: center; padding: 26px 16px; font-size: 14px; border-bottom: 0; border-right: 1px solid var(--t23-line); }
    .t23-promise__in > div:last-child { border-right: 0; }
    .t23-promise__in svg { width: 26px; height: 26px; }
}

/* The footer itself: dark ink, serif brand, editorial wordmark */
.t23-ft { position: relative; overflow: hidden; background: var(--t23-ink); color: rgba(255,255,255,.72); }
.t23-ft a { color: inherit; text-decoration: none; }
.t23-ft__in { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; padding: 36px 20px 18px; }
.t23-ft__kicker { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 12px; }
.t23-ft__brand { display: inline-flex; align-items: center; gap: 12px; }
.t23-ft__logo { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 6px 12px; border-radius: 14px; background: #fff; }
.t23-ft__logo img { height: 36px; width: auto; max-width: 140px; object-fit: contain; }
.t23-ft__name { font-family: var(--t23-serif); font-optical-sizing: auto; font-size: 26px; font-weight: 600; line-height: 1.1; letter-spacing: -.015em; color: #fff; }
.t23-ft__about { margin: 14px 0 0; font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,.62); max-width: 440px; }
.t23-ft__help { margin-top: 24px; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.t23-ft__help-row { display: flex; flex-wrap: wrap; gap: 10px; }
.t23-ft__pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); transition: background .2s, transform .16s var(--t23-ease); }
.t23-ft__pill:active { transform: scale(.97); }
.t23-ft__pill:hover { background: rgba(255,255,255,.08); }
.t23-ft__pill svg { width: 17px; height: 17px; }
.t23-ft__pill--solid { background: #fff; color: var(--t23-ink) !important; box-shadow: none; }
.t23-ft__pill--solid:hover { background: #f1ece3; }

.t23-ft__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 16px; margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.t23-ft__col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.t23-ft__col h4 { margin: 0 0 10px; font-family: var(--t23-serif); font-size: 17px; font-weight: 600; color: #fff; letter-spacing: -.005em; }
.t23-ft__col a { padding: 6px 0; font-size: 14px; color: rgba(255,255,255,.66); transition: color .2s; }
.t23-ft__col a:hover { color: #fff; }
.t23-ft__col:last-child { grid-column: 1 / -1; }

.t23-ft__meta { display: flex; flex-direction: column; gap: 22px; margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); }
.t23-ft__social > div { display: flex; flex-wrap: wrap; gap: 8px; }
.t23-ft__social a { width: 42px; height: 42px; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transition: background .2s, color .2s; }
.t23-ft__social a:hover { background: #fff; color: var(--t23-ink); }
.t23-ft__social svg { width: 17px; height: 17px; }
.t23-ft__pay-img { display: inline-block; padding: 8px 12px; border-radius: 14px; background: #fff; }
.t23-ft__pay-img img { display: block; width: 100%; max-width: 360px; height: auto; }

.t23-ft__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; color: rgba(255,255,255,.5); }
.t23-ft__top { flex-shrink: 0; width: 40px; height: 40px; border-radius: 999px; border: 0; background: rgba(255,255,255,.08); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.t23-ft__top:hover { background: rgba(255,255,255,.16); }
.t23-ft__top svg { width: 18px; height: 18px; }

.t23-ft__mark { position: relative; z-index: 0; padding: 0 12px; margin-top: -4px; overflow: hidden; line-height: .8; pointer-events: none; user-select: none; }
.t23-ft__mark span { display: block; font-family: var(--t23-serif); font-optical-sizing: auto; font-weight: 600; font-size: min(240px, calc(172vw / var(--len, 10))); letter-spacing: -.04em; white-space: nowrap; text-align: center; overflow: hidden; text-overflow: clip; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); transform: translateY(18%); }

@media (min-width: 1024px) {
    .t23-ft__in { padding: 72px 24px 24px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.6fr); column-gap: 80px; }
    .t23-ft__name { font-size: 36px; }
    .t23-ft__cols { grid-template-columns: repeat(3, 1fr); margin-top: 0; padding-top: 0; border-top: 0; gap: 32px; align-content: start; }
    .t23-ft__col:last-child { grid-column: auto; }
    .t23-ft__col h4 { font-size: 19px; margin-bottom: 16px; }
    .t23-ft__meta { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: flex-end; margin-top: 48px; }
    .t23-ft__bottom { grid-column: 1 / -1; }
}

/* ---------- Misc ---------- */
.t23-more { display: flex; justify-content: center; padding: 20px 16px 8px; }
.t23-more .t23-btn { min-width: 220px; }
.t23-empty { padding: 40px 16px; text-align: center; color: var(--t23-muted); font-size: 14px; }
@keyframes t23Fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes t23Up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .t23 *, .t23 *::before, .t23 *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ---------- Pages inherited from the shared markup (product, shop, cart, checkout) ---------- */
.t23 .t6pd-ov__back { display: none !important; } /* the app bar already has Back */
.t23 .t6pd-title { font-family: var(--t23-serif); font-optical-sizing: auto; font-weight: 600 !important; letter-spacing: -.015em; }
.t23 .t6pd-actions #order-now, .t23 .t6pd-actions #add_to_cart, .t23 .t6pd-actions #easy-checkout-btn { border-radius: 999px !important; white-space: nowrap; min-width: 0; padding-left: 16px !important; padding-right: 16px !important; font-size: 15px !important; gap: 8px !important; }
.t23 .t6pd-actions svg { width: 20px !important; height: 20px !important; flex-shrink: 0; }
.t23 .t6pd-actions #order-now > span, .t23 .t6pd-actions #add_to_cart > span, .t23 .t6pd-actions #easy-checkout-btn > span { white-space: nowrap; }
.t23 .whatsapp-shine-btn, .t23 .fb-shine-btn { border-radius: 999px !important; }
.t23 .t6pd-bar button { border-radius: 999px !important; }
.t23 .t6pd .size-box, .t23 .t6pd .color-option > div:first-of-type { transition: box-shadow .2s, background .2s; }

/* Text on the vendor colour is always the computed contrast colour (a pale brand colour gets ink, not white). */
.t23 .t6pd-bar__buy { color: var(--t23-on-accent) !important; }
.t23 .t6pd-bar__cart { color: var(--t23-ink) !important; background: var(--t23-surface) !important; box-shadow: inset 0 0 0 1.5px var(--t23-ink) !important; }
.t23 .bg-primary.text-white, .t23 .bg-primary .text-white,
.t23 .bg-\[var\(--primary-color\)\].text-white, .t23 .bg-\[var\(--primary-color\)\] .text-white,
.t23 .bg-\[var\(--primary-color\)\] > svg { color: var(--t23-on-accent) !important; }

/* ---------- Cart drawer ---------- */
.t23 .cart-sidebar.t23-cd { width: 100%; max-width: 420px; right: 0; transform: translateX(105%); transition: transform .34s var(--t23-ease); background: var(--t23-paper); box-shadow: -24px 0 60px -30px rgba(28,24,20,.45); border-radius: 24px 0 0 24px; overflow: hidden; }
.t23 .cart-sidebar.t23-cd.active { right: 0; transform: none; }
@media (max-width: 640px) { .t23 .cart-sidebar.t23-cd { max-width: 100%; border-radius: 0; } }
.t23-cd__scrim { position: fixed; inset: 0; z-index: 1000; background: rgba(28,24,20,.4); opacity: 0; pointer-events: none; transition: opacity .3s; }
.t23-cd__scrim.active { opacity: 1; pointer-events: auto; }
.t23-cd__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 12px 14px 20px; border-bottom: 1px solid var(--t23-line); }
.t23-cd__title { margin: 0; font-family: var(--t23-serif); font-size: 26px; font-weight: 600; letter-spacing: -.015em; color: var(--t23-ink); }
.t23-cd__sub { margin: 2px 0 0; font-size: 12.5px; color: var(--t23-muted); }
.t23-cd__body { flex: 1; overflow-y: auto; padding: 8px 16px; overscroll-behavior: contain; }
.t23-ci { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--t23-line); animation: t23Fade .2s ease-out; }
.t23-ci:last-child { border-bottom: 0; }
.t23-ci__img { flex-shrink: 0; width: 84px; height: 84px; border-radius: 16px; overflow: hidden; background: var(--t23-surface); box-shadow: inset 0 0 0 1px var(--t23-line); }
.t23-ci__img img { width: 100%; height: 100%; object-fit: cover; }
.t23-ci__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.t23-ci__top { display: flex; align-items: flex-start; gap: 8px; }
.t23-ci__name { flex: 1; min-width: 0; margin: 0; font-size: 14px; line-height: 1.35; font-weight: 600; color: var(--t23-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t23-ci__rm { flex-shrink: 0; width: 32px; height: 32px; margin: -4px -6px 0 0; border: 0; border-radius: 999px; background: transparent; color: var(--t23-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, color .2s; }
.t23-ci__rm:hover { background: #fbeae6; color: var(--t23-sale); }
.t23-ci__rm svg { width: 17px; height: 17px; }
.t23-ci__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.t23-ci__opts span { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--t23-soft); font-size: 11.5px; font-weight: 600; color: var(--t23-ink-2); }
.t23-ci__opts i { width: 11px; height: 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.t23-ci__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.t23-ci__price { font-size: 16px; font-weight: 700; color: var(--t23-ink); white-space: nowrap; letter-spacing: -.01em; }
.t23-qty { display: inline-flex; align-items: center; height: 36px; padding: 3px; border-radius: 999px; background: var(--t23-surface); box-shadow: inset 0 0 0 1px var(--t23-line); }
.t23-qty button { width: 30px; height: 30px; border: 0; border-radius: 999px; background: transparent; color: var(--t23-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, transform .12s; }
.t23-qty button:hover { background: var(--t23-soft); }
.t23-qty button:active { transform: scale(.88); }
.t23-qty button svg { width: 15px; height: 15px; }
.t23-qty span { min-width: 26px; text-align: center; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.t23-cd__empty { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.t23-cd__empty > span { width: 84px; height: 84px; border-radius: 999px; background: var(--t23-soft); display: flex; align-items: center; justify-content: center; color: var(--t23-ink-2); margin-bottom: 18px; }
.t23-cd__empty > span svg { width: 36px; height: 36px; }
.t23-cd__empty h4 { margin: 0 0 6px; font-family: var(--t23-serif); font-size: 22px; font-weight: 600; color: var(--t23-ink); }
.t23-cd__empty p { margin: 0 0 20px; font-size: 14px; color: var(--t23-muted); max-width: 260px; }
.t23-cd__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--t23-line); background: var(--t23-surface); }
.t23-cd__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.t23-cd__total span { font-size: 14px; font-weight: 600; color: var(--t23-ink-2); }
.t23-cd__total strong { font-size: 22px; font-weight: 700; color: var(--t23-ink); letter-spacing: -.01em; }
.t23-cd__note { margin: 4px 0 14px; font-size: 12px; color: var(--t23-muted); }
.t23-cd__actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; }
.t23-cd__actions .t23-btn { width: 100%; padding: 0 14px; }
.t23-cd--empty .t23-cd__foot { display: none; }

/* ---------- Card order row ---------- */
.t23-card__cta { display: flex; gap: 6px; padding: 8px 2px 0; }
.t23-card__buy { flex: 1; min-width: 0; height: 40px; padding: 0 10px; border: 0; border-radius: 999px; background: var(--t23-accent); color: var(--t23-on-accent); font-size: 13.5px; font-weight: 700; letter-spacing: .01em; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; transition: transform .14s var(--t23-ease), opacity .2s, box-shadow .2s; }
.t23-card__buy:active { transform: scale(.96); }
.t23-card__buy[disabled] { background: var(--t23-soft); color: var(--t23-muted); cursor: not-allowed; }
.t23-card__bag { flex: 0 0 40px; height: 40px; border: 0; border-radius: 999px; background: var(--t23-surface); color: var(--t23-ink); box-shadow: inset 0 0 0 1.5px var(--t23-line); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .14s var(--t23-ease), box-shadow .2s, background .2s; }
.t23-card__bag svg { width: 18px; height: 18px; }
.t23-card__bag:active { transform: scale(.9); }
.t23-card__bag:hover { box-shadow: inset 0 0 0 1.5px var(--t23-ink); }
.t23-card__bag.is-done { background: var(--t23-ok); color: #fff; box-shadow: none; }
.t23-card__buy.is-busy, .t23-card__bag.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.t23-card__buy.is-busy::after, .t23-card__bag.is-busy::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 999px; border: 2px solid currentColor; border-color: var(--t23-on-accent) transparent var(--t23-on-accent) transparent; animation: t23Spin .7s linear infinite; }
.t23-card__bag.is-busy::after { border-color: var(--t23-ink) transparent var(--t23-ink) transparent; }
.t23-card__bag.is-busy svg { opacity: 0; }
@keyframes t23Spin { to { transform: rotate(360deg); } }
@media (min-width: 1024px) { .t23-card__cta { padding-top: 12px; gap: 8px; } .t23-card__buy { height: 44px; font-size: 14px; } .t23-card__bag { flex-basis: 44px; height: 44px; } }
.t23-flash .t23-card__bag { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }

/* Quick-buy sheet: common/quick_buy.blade.php (shared, reads the --t23-* tokens). */

/* ---------- 1-click order button (product page) ---------- */
.t23 #easy-checkout-btn.t23-oneclick { flex: 1; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 8px 16px 8px 8px !important; border: 0; border-radius: 999px !important; background: var(--t23-ink); color: #fff; text-align: left; cursor: pointer; box-shadow: 0 14px 28px -18px rgba(28,24,20,.7) !important; transition: transform .14s var(--t23-ease), box-shadow .2s; }
.t23 #easy-checkout-btn.t23-oneclick:active { transform: scale(.98); }
.t23 #easy-checkout-btn.t23-oneclick:hover { box-shadow: 0 18px 34px -18px rgba(28,24,20,.85) !important; }
.t23-oneclick__ico { flex-shrink: 0; width: 42px; height: 42px; border-radius: 999px; background: var(--t23-accent); color: var(--t23-on-accent); display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 2px rgba(255,255,255,.14); }
.t23-oneclick__ico svg { width: 20px !important; height: 20px !important; }
.t23-oneclick__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.t23-oneclick__txt b { font-size: 16px; font-weight: 700; letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t23-oneclick__txt small { margin-top: 2px; font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t23 .t23-oneclick__go { flex-shrink: 0; width: 20px !important; height: 20px !important; color: rgba(255,255,255,.7); transition: transform .2s var(--t23-ease); }
.t23 #easy-checkout-btn.t23-oneclick:hover .t23-oneclick__go { transform: translateX(3px); }

/* 1-click order sheet: styled for every template in common/easy_checkout.blade.php (uses the --t23-* tokens here). */

/* ==========================================================================
   Pocket (template 24) — "the shop as a seller's app profile".
   Storefront traffic is ~93% phones and ~81% inside the TikTok / Facebook in-app browsers (nothing can be
   installed there), so the first page itself has to feel like a shopping app: shop profile with one-tap
   actions, sticky category pills, peeking hero cards, glass price chips on photos, a raised cart button in
   the tab bar, bottom sheets. System fonts (+ Hind Siliguri for Bangla), no libraries.
   pk-* = Pocket components; body.pocket also re-tunes the template-23 base still used by the product page,
   cart, checkout and account pages.
   ========================================================================== */

body.pocket {
    --pk-bg: #f3f4f6;
    --pk-card: #ffffff;
    --pk-ink: #0b1220;
    --pk-ink-2: #334155;
    --pk-muted: #64748b;
    --pk-line: #e5e7eb;
    --pk-soft: #eef1f5;
    --pk-sale: #e11d48;
    --pk-ok: #059669;
    --pk-acc: var(--t23-accent);
    --pk-on: var(--t23-on-accent);
    --pk-acc-soft: color-mix(in srgb, var(--t23-accent) 12%, #ffffff);
    --pk-acc-deep: color-mix(in srgb, var(--t23-accent) 78%, #000000);
    --pk-r: 18px;
    --pk-shadow: 0 1px 2px rgba(11, 18, 32, .05), 0 6px 18px -10px rgba(11, 18, 32, .18);
    --pk-shadow-lg: 0 20px 44px -18px rgba(11, 18, 32, .40);
    --pk-ease: cubic-bezier(.2, .8, .2, 1);
    --pk-font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Hind Siliguri', 'Helvetica Neue', Arial, sans-serif;

    /* template-23 base, re-tuned (product page, cart, checkout, account) */
    --t23-paper: var(--pk-bg);
    --t23-surface: #ffffff;
    --t23-soft: var(--pk-soft);
    --t23-line: var(--pk-line);
    --t23-ink: var(--pk-ink);
    --t23-ink-2: var(--pk-ink-2);
    --t23-muted: var(--pk-muted);
    --t23-sale: var(--pk-sale);
    --t23-ok: var(--pk-ok);
    --t23-radius: 16px;
    --t23-serif: var(--pk-font);
    --t23-sans: var(--pk-font);

    background: var(--pk-bg);
    color: var(--pk-ink);
    font-family: var(--pk-font);
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
}
body.pocket a { -webkit-tap-highlight-color: transparent; }
body.pocket .p-press { transition: transform .15s var(--pk-ease); }
body.pocket .p-press:active { transform: scale(.96); }

/* Page transitions (Chrome/Edge 126+, Safari 18.2+; others just navigate) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
    ::view-transition-old(root) { animation: pk-out .16s ease both; }
    ::view-transition-new(root) { animation: pk-in .24s cubic-bezier(.2, .8, .2, 1) both; }
}
@keyframes pk-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes pk-in { from { opacity: 0; transform: translateY(12px); } }

.pk-d-only { display: none !important; }
@media (min-width: 1024px) { .pk-d-only { display: inline-flex !important; } .pk-m-only { display: none !important; } }

/* ---------- App bar ---------- */
.pk-bar {
    position: sticky; top: 0; z-index: 60; padding-top: env(safe-area-inset-top);
    background: rgba(255, 255, 255, .9); border-bottom: 1px solid transparent;
    -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
    transition: border-color .2s, box-shadow .2s;
}
.pk-bar.is-scrolled { border-bottom-color: var(--pk-line); box-shadow: 0 6px 18px -16px rgba(11, 18, 32, .5); }
.pk-bar__row { display: flex; align-items: center; gap: 4px; height: 56px; padding: 0 6px; max-width: 1240px; margin: 0 auto; }
.pk-bar__brand { flex: 1; min-width: 0; display: flex; align-items: center; color: var(--pk-ink); text-decoration: none; }
.pk-bar__brand img { height: 32px; width: auto; max-width: 150px; object-fit: contain; }
.pk-bar__brand span { font-size: 18px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-bar__actions { display: flex; align-items: center; gap: 2px; }
.pk-ico {
    position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
    border: 0; border-radius: 14px; background: transparent; color: var(--pk-ink); cursor: pointer; text-decoration: none;
}
.pk-ico:active { background: var(--pk-soft); transform: scale(.94); }
.pk-ico svg { width: 23px; height: 23px; }
.pk-badge {
    position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    background: var(--pk-sale); color: #fff; font-size: 10.5px; font-weight: 800; line-height: 18px; text-align: center;
    box-shadow: 0 0 0 2px #fff;
}
.pk-badge[data-zero="1"] { display: none; }
.pk-bar__search { display: none; }
.pk-bar__cats, .pk-catsw { display: none; }
@media (min-width: 1024px) {
    .pk-bar__row { height: 68px; gap: 16px; padding: 0 20px; }
    .pk-bar__brand { flex: 0 0 auto; }
    .pk-bar__search {
        display: flex; flex: 1; align-items: center; gap: 10px; height: 46px; max-width: 560px; margin: 0 auto;
        padding: 0 16px; border-radius: 14px; background: var(--pk-soft); color: var(--pk-muted);
    }
    .pk-bar__search svg { width: 18px; height: 18px; }
    .pk-bar__search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--pk-ink); }
    /* category row: scrolls sideways, buttons + fades only when it overflows (navbar pkCatsInit) */
    .pk-catsw { display: flex !important; align-items: center; gap: 10px; max-width: 1240px; margin: 0 auto; padding: 0 20px 10px; }
    .pk-catsw__track { position: relative; flex: 1 1 auto; min-width: 0; }
    .pk-bar__cats {
        display: flex !important; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; overscroll-behavior-x: contain;
    }
    .pk-bar__cats::-webkit-scrollbar { display: none; }
    .pk-catsw__track::before, .pk-catsw__track::after {
        content: ""; position: absolute; top: 0; bottom: 0; width: 64px; pointer-events: none; opacity: 0; transition: opacity .15s; z-index: 1;
    }
    .pk-catsw__track::before { left: 0; background: linear-gradient(90deg, #fff 30%, rgba(255, 255, 255, 0)); }
    .pk-catsw__track::after { right: 0; background: linear-gradient(270deg, #fff 30%, rgba(255, 255, 255, 0)); }
    .pk-catsw__track.is-fade-l::before, .pk-catsw__track.is-fade-r::after { opacity: 1; }
    .pk-catsw__btn {
        position: absolute; top: 2px; z-index: 2; display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
        border: 1px solid var(--pk-line, #e5e7eb); border-radius: 999px; background: #fff; color: var(--pk-ink);
        box-shadow: 0 4px 12px -6px rgba(11, 18, 32, .35); cursor: pointer;
    }
    .pk-catsw__btn[hidden] { display: none; }
    .pk-catsw__btn:hover { background: var(--pk-soft); }
    .pk-catsw__btn svg { width: 18px; height: 18px; }
    .pk-catsw__btn--prev { left: -6px; }
    .pk-catsw__btn--next { right: -6px; }
    /* Preorder: outside the scrolling track, always at the right end (2026-10-24) */
    .pk-catsw__pre {
        flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
        background: color-mix(in srgb, var(--pk-acc) 12%, transparent); color: var(--pk-acc);
        font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
    }
    .pk-catsw__pre svg { width: 16px; height: 16px; }
    .pk-catsw__pre:hover, .pk-catsw__pre.is-on { background: var(--pk-acc); color: var(--pk-on); }
    .pk-bar__cats a { padding: 7px 14px; border-radius: 999px; color: var(--pk-ink-2); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
    .pk-bar__cats a:hover { background: var(--pk-soft); }
    .pk-bar__cats a.is-on { background: var(--pk-ink); color: #fff; }
}

/* ---------- Shop profile ---------- */
.pk-profile { position: relative; padding: 70px 12px 0; }
.pk-profile__cover {
    position: absolute; inset: 0 0 auto 0; height: 118px;
    background:
        radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--pk-acc) 55%, #ffffff) 0%, transparent 55%),
        linear-gradient(135deg, var(--pk-acc) 0%, var(--pk-acc-deep) 100%);
}
.pk-profile__card {
    position: relative; padding: 14px 14px 12px; background: var(--pk-card);
    border-radius: 22px; box-shadow: var(--pk-shadow);
}
.pk-profile__top { display: flex; align-items: flex-start; gap: 12px; }
.pk-profile__logo {
    flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 68px; height: 68px; margin-top: -40px;
    border-radius: 22px; background: #fff; box-shadow: 0 0 0 4px #fff, var(--pk-shadow); overflow: hidden;
}
.pk-profile__logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.pk-profile__logo b { font-size: 30px; font-weight: 800; color: var(--pk-acc); }
.pk-profile__id { min-width: 0; }
.pk-profile__id h1 { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-profile__id p { margin: 3px 0 0; font-size: 13px; line-height: 1.4; color: var(--pk-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pk-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.pk-action {
    display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border: 0; border-radius: 14px;
    background: var(--pk-soft); color: var(--pk-ink-2); font: inherit; font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer;
}
.pk-action span { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 12px; background: var(--pk-acc); color: var(--pk-on); }
.pk-action span.is-wa { background: #25d366; color: #fff; }
.pk-action svg { width: 18px; height: 18px; }
@media (min-width: 1024px) {
    .pk-profile { max-width: 1240px; margin: 0 auto; padding: 72px 20px 0; }
    .pk-profile__cover { height: 120px; border-radius: 0 0 28px 28px; }
    .pk-profile__card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 22px; }
    .pk-actions { margin-top: 0; display: flex; }
    .pk-action { flex-direction: row; padding: 8px 14px 8px 8px; font-size: 13.5px; }
}

/* ---------- Search + category pills ---------- */
.pk-search {
    display: flex; align-items: center; gap: 10px; width: calc(100% - 24px); height: 48px; margin: 12px 12px 0; padding: 0 16px;
    border: 0; border-radius: 16px; background: var(--pk-card); box-shadow: var(--pk-shadow); color: var(--pk-muted);
    font: inherit; font-size: 15px; text-align: left; cursor: pointer;
}
.pk-search svg { width: 20px; height: 20px; color: var(--pk-ink-2); }
.pk-chips {
    position: sticky; top: calc(56px + env(safe-area-inset-top)); z-index: 40; display: flex; gap: 8px; margin-top: 10px;
    padding: 8px 12px; overflow-x: auto; scrollbar-width: none; background: var(--pk-bg);
}
.pk-chips::-webkit-scrollbar { display: none; }
.pk-chips a {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px;
    background: var(--pk-card); box-shadow: 0 0 0 1px var(--pk-line); color: var(--pk-ink-2);
    font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.pk-chips a img { width: 24px; height: 24px; margin-left: -8px; border-radius: 999px; object-fit: cover; }
.pk-chips a.is-on { background: var(--pk-ink); box-shadow: none; color: #fff; }
@media (min-width: 1024px) { .pk-chips, .pk-search { display: none; } }

/* ---------- Hero (peeking cards) ---------- */
.pk-hero { position: relative; margin-top: 8px; }
.pk-hero__track {
    display: flex; gap: 10px; padding: 0 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding: 0 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.pk-hero__track::-webkit-scrollbar { display: none; }
.pk-hero__slide { flex: 0 0 88%; scroll-snap-align: start; border-radius: 20px; overflow: hidden; background: var(--pk-soft); box-shadow: var(--pk-shadow); }
.pk-hero.is-single .pk-hero__slide { flex-basis: 100%; }
.pk-hero__slide img { display: block; width: 100%; height: auto; aspect-ratio: 1900 / 620; object-fit: cover; }
.pk-hero__dots { display: flex; justify-content: center; gap: 5px; margin-top: 8px; }
.pk-hero__dots span { width: 6px; height: 6px; border-radius: 999px; background: #cbd5e1; transition: width .25s, background .25s; }
.pk-hero__dots span.is-on { width: 18px; background: var(--pk-acc); }
@media (min-width: 1024px) { .pk-hero { max-width: 1240px; margin: 18px auto 0; } .pk-hero__slide { flex-basis: 70%; } }

/* ---------- Banners ---------- */
.pk-banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px 12px 0; }
.pk-banners.is-one { grid-template-columns: 1fr; }
.pk-banners a { display: block; border-radius: 16px; overflow: hidden; background: var(--pk-soft); box-shadow: var(--pk-shadow); }
.pk-banners img { display: block; width: 100%; height: auto; }
@media (min-width: 1024px) { .pk-banners { max-width: 1240px; margin: 0 auto; padding: 16px 20px 0; grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Sections ---------- */
.pk-sec { margin: 22px 0 0; }
.pk-sec__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px 12px; }
.pk-sec__head h2 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.pk-more { display: inline-flex; align-items: center; gap: 1px; color: var(--pk-acc); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.pk-more svg { width: 16px; height: 16px; }
.pk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 12px; }
.pk-row { display: flex; gap: 10px; padding: 0 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 14px; scrollbar-width: none; }
.pk-row::-webkit-scrollbar { display: none; }
.pk-row > * { flex: 0 0 44%; scroll-snap-align: start; }
.pk-wide {
    display: flex; align-items: center; justify-content: center; height: 48px; margin: 14px 12px 0; border-radius: 14px;
    background: var(--pk-card); box-shadow: 0 0 0 1px var(--pk-line); color: var(--pk-ink); font-size: 15px; font-weight: 700; text-decoration: none;
}
@media (min-width: 768px) { .pk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
    .pk-sec { max-width: 1240px; margin: 34px auto 0; }
    .pk-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding: 0 20px; }
    .pk-sec__head { padding: 0 20px 14px; }
    .pk-sec__head h2 { font-size: 24px; }
    .pk-row > * { flex-basis: 19%; }
    .pk-wide { max-width: 320px; margin: 18px auto 0; }
}

/* ---------- Product card ---------- */
.pk-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--pk-card); border-radius: var(--pk-r); box-shadow: var(--pk-shadow); overflow: hidden; }
.pk-card__media { position: relative; }
.pk-card__img { display: block; background: var(--pk-soft); overflow: hidden; }
.pk-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pk-card__off {
    position: absolute; top: 8px; left: 8px; z-index: 2; padding: 3px 8px; border-radius: 999px;
    background: var(--pk-sale); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .01em;
}
.pk-card__flag {
    position: absolute; top: 8px; right: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px;
    border-radius: 999px; background: rgba(11, 18, 32, .78); color: #fff; font-size: 10.5px; font-weight: 700;
}
.pk-card__flag--ship { background: rgba(5, 150, 105, .92); }
.pk-card__flag svg { width: 12px; height: 12px; }
.pk-card__price {
    position: absolute; left: 8px; bottom: 8px; z-index: 2; display: inline-flex; align-items: baseline; gap: 5px; max-width: calc(100% - 60px);
    padding: 5px 10px; border-radius: 12px; background: rgba(255, 255, 255, .86); color: var(--pk-ink);
    -webkit-backdrop-filter: blur(10px) saturate(160%); backdrop-filter: blur(10px) saturate(160%);
    box-shadow: 0 4px 12px -6px rgba(11, 18, 32, .35);
}
.pk-card__price b { font-size: 15px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.pk-card__price s { font-size: 11px; color: var(--pk-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-card__add {
    position: absolute; right: 8px; bottom: 8px; z-index: 3; display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border: 0; border-radius: 13px; background: var(--pk-acc); color: var(--pk-on); cursor: pointer;
    box-shadow: 0 8px 18px -8px var(--pk-acc);
}
.pk-card__add svg { width: 21px; height: 21px; stroke-width: 2.6; }
.pk-card__body { display: flex; flex-direction: column; gap: 8px; padding: 9px 10px 10px; flex: 1; }
.pk-card__name {
    font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--pk-ink); text-decoration: none;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
}
.pk-card__buy {
    display: flex; align-items: center; justify-content: center; height: 36px; margin-top: auto; border-radius: 12px;
    background: var(--pk-acc-soft); color: var(--pk-acc); font-size: 13px; font-weight: 800; text-decoration: none;
}
.pk-card__buy.is-off { background: var(--pk-soft); color: var(--pk-muted); }
.pk-card.is-out .pk-card__img img { filter: grayscale(.6); opacity: .7; }

/* ---------- "For you" big cards ---------- */
.pk-big { display: flex; gap: 12px; padding: 0 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 14px; scrollbar-width: none; }
.pk-big::-webkit-scrollbar { display: none; }
.pk-big__card {
    position: relative; flex: 0 0 72%; aspect-ratio: 4 / 5; scroll-snap-align: start; border-radius: 22px; overflow: hidden;
    background: var(--pk-soft); box-shadow: var(--pk-shadow); text-decoration: none; color: #fff;
}
.pk-big__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pk-big__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .72) 100%); }
.pk-big__card .pk-card__off { top: 12px; left: 12px; }
.pk-big__info { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.pk-big__info b { font-size: 16px; font-weight: 800; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pk-big__info > span { display: flex; align-items: baseline; gap: 8px; }
.pk-big__info i { font-style: normal; font-size: 20px; font-weight: 800; }
.pk-big__info s { font-size: 13px; opacity: .75; }
.pk-big__info em {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; padding: 8px 14px; border-radius: 999px;
    background: #fff; color: var(--pk-ink); font-style: normal; font-size: 13px; font-weight: 800;
}
.pk-big__info em svg { width: 15px; height: 15px; }
@media (min-width: 1024px) { .pk-big { padding: 0 20px; } .pk-big__card { flex-basis: 23%; } }

/* ---------- Flash deal ---------- */
.pk-flash {
    margin: 18px 12px 0; padding: 16px 0 14px; border-radius: 22px; color: #fff;
    background: radial-gradient(140% 120% at 100% 0%, color-mix(in srgb, var(--pk-acc) 60%, #0b1220) 0%, #0b1220 60%);
    box-shadow: var(--pk-shadow-lg); overflow: hidden;
}
.pk-flash__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 0 16px 14px; }
.pk-flash__eyebrow { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; color: #fbbf24; text-transform: uppercase; letter-spacing: .06em; }
.pk-flash__eyebrow svg { width: 14px; height: 14px; fill: #fbbf24; }
.pk-flash h2 { margin: 4px 0 0; font-size: 19px; font-weight: 800; line-height: 1.2; }
.pk-timer { display: flex; gap: 4px; }
.pk-timer b { min-width: 32px; padding: 6px 0; border-radius: 9px; background: rgba(255, 255, 255, .14); text-align: center; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pk-flash .pk-row > * { flex-basis: 42%; }
.pk-flash__all {
    display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; margin: 14px 16px 0; border-radius: 14px;
    background: rgba(255, 255, 255, .12); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none;
}
.pk-flash__all svg { width: 16px; height: 16px; }
@media (min-width: 1024px) { .pk-flash { max-width: 1240px; margin: 28px auto 0; } .pk-flash .pk-row > * { flex-basis: 19%; } }

/* ---------- Tab bar with the raised cart ---------- */
.pk-tabs-space { height: calc(92px + env(safe-area-inset-bottom)); }
.pk-tabs {
    position: fixed; left: 10px; right: 10px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 70;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; height: 66px; padding: 0 4px 8px;
    border-radius: 24px; background: rgba(255, 255, 255, .95); border: 1px solid rgba(11, 18, 32, .06);
    -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); box-shadow: var(--pk-shadow-lg);
}
.pk-tab {
    display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0; border: 0; background: none;
    color: var(--pk-muted); font: inherit; font-size: 10.5px; font-weight: 700; text-decoration: none; cursor: pointer; min-width: 0;
}
.pk-tab svg { width: 23px; height: 23px; transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.pk-tab:active svg { transform: scale(.86); }
.pk-tab.is-on { color: var(--pk-acc); }
.pk-tab span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pk-tab--cart { align-self: start; }
.pk-tab__fab {
    position: relative; display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin-top: -24px;
    border-radius: 20px; background: var(--pk-acc); color: var(--pk-on); overflow: visible !important;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .95), 0 14px 26px -10px var(--pk-acc);
}
.pk-tab__fab svg { width: 26px; height: 26px; }
.pk-tab__fab .pk-badge { top: -4px; right: -4px; }
@media (min-width: 1024px) { .pk-tabs, .pk-tabs-space { display: none; } }

/* ==========================================================================
   Template-23 base pages (product page, cart, checkout, account) — Pocket look
   ========================================================================== */
body.pocket .t23-btn { border-radius: 14px; font-weight: 700; }

/* Cart: bottom sheet on phones */
@media (max-width: 767px) {
    body.pocket .cart-sidebar {
        top: auto; right: 0; left: 0; bottom: 0; width: 100%; max-width: none;
        height: min(86vh, 720px); border-radius: 22px 22px 0 0;
        transform: translateY(105%); transition: transform .32s cubic-bezier(.2, .8, .2, 1);
        box-shadow: 0 -18px 40px -20px rgba(11, 18, 32, .45);
        padding-bottom: env(safe-area-inset-bottom);
    }
    body.pocket .cart-sidebar.active { right: 0; transform: translateY(0); }
    body.pocket .cart-sidebar::before {
        content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px;
        border-radius: 999px; background: #d1d5db;
    }
}

/* Login: bottom sheet on phones */
@media (max-width: 767px) {
    body.pocket #loginModal .min-h-full { align-items: flex-end; padding: 0; }
    body.pocket #loginModal #modalPanel {
        max-width: none; margin: 0; border-radius: 24px 24px 0 0;
        padding-bottom: env(safe-area-inset-bottom);
        animation: pk-sheet .28s cubic-bezier(.2, .8, .2, 1) both;
    }
    body.pocket #loginModal #modalPanel > div { min-height: 0; }
}
@keyframes pk-sheet { from { transform: translateY(40px); opacity: .4; } }

/* Checkout: pinned "Place order" bar on phones */
.p-co-bar { display: none; }
@media (max-width: 767px) {
    body.pocket .p-co-bar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: flex; align-items: center; gap: 12px;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96);
        -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
        border-top: 1px solid var(--pk-line); box-shadow: 0 -10px 30px -18px rgba(11, 18, 32, .4);
        transition: transform .25s cubic-bezier(.2, .8, .2, 1);
    }
    body.pocket .p-co-bar.is-off { transform: translateY(110%); }
    body.pocket .p-co-bar__sum { display: flex; flex-direction: column; min-width: 0; }
    body.pocket .p-co-bar__sum small { font-size: 11.5px; color: var(--pk-muted); font-weight: 600; }
    body.pocket .p-co-bar__sum b { font-size: 19px; font-weight: 800; white-space: nowrap; }
    body.pocket .p-co-bar__btn {
        flex: 1; height: 50px; border: 0; border-radius: 14px; background: var(--pk-acc); color: var(--pk-on);
        font-size: 16px; font-weight: 800; box-shadow: 0 10px 22px -14px var(--pk-acc);
    }
    body.pocket form#orderForm { padding-bottom: 76px; }
}

/* ---------- Product page (phones): photo from the top, glass buttons, price inside "Order now" ---------- */
@media (max-width: 767px) {
    body.pocket.pk-pd .t6pd-ov__back { display: none !important; }
    body.pocket.pk-pd .t6pd-ov__btn {
        background: rgba(255, 255, 255, .72) !important; color: var(--pk-ink) !important; border: 0 !important;
        -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
        box-shadow: 0 6px 16px -8px rgba(11, 18, 32, .45) !important; border-radius: 14px !important;
        top: calc(10px + env(safe-area-inset-top)) !important;
    }
    body.pocket.pk-pd .t6pd-ov__count { background: rgba(11, 18, 32, .55) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
    body.pocket.pk-pd .t6pd-bar { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important; gap: 10px !important; border-radius: 22px 22px 0 0; }
    body.pocket.pk-pd .t6pd-bar__buy { flex: 1 1 auto !important; height: 54px !important; border-radius: 16px !important; font-size: 16px !important; font-weight: 800 !important; gap: 6px !important; }
    body.pocket.pk-pd .t6pd-bar__buy .pk-pd-price { font-weight: 800; white-space: nowrap; }
    body.pocket.pk-pd .t6pd-bar__cart { flex: 0 0 54px !important; width: 54px !important; height: 54px !important; padding: 0 !important; border-radius: 16px !important; }
    body.pocket.pk-pd .t6pd-bar__cart span { display: none !important; }
    body.pocket.pk-pd .t6pd-bar__cart .t6pd-bar__ico { width: 22px !important; height: 22px !important; margin: 0 !important; }
}

@media (min-width: 1024px) { .pk-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ==========================================================================
   Round 2 (owner feedback 2026-10-23)
   ========================================================================== */

/* App bar: brand-coloured on home (logo + name), "‹ Title" on inner pages */
.pk-bar__logo { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-right: 8px; padding: 3px; border-radius: 11px; background: #fff; flex-shrink: 0; }
.pk-bar__logo img { width: 100%; height: 100%; object-fit: contain; }
.pk-bar__name { font-size: 17px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-bar__title { flex: 1; min-width: 0; padding-left: 2px; font-size: 17px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1023px) {
    .pk-bar--home { background: var(--pk-acc); color: var(--pk-on); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .pk-bar--home.is-scrolled { border-bottom-color: transparent; box-shadow: 0 8px 20px -14px rgba(11, 18, 32, .55); }
    .pk-bar--home .pk-ico, .pk-bar--home .pk-bar__brand { color: var(--pk-on); }
    .pk-bar--home .pk-ico:active { background: rgba(255, 255, 255, .16); }
    .pk-bar--home .pk-badge { box-shadow: 0 0 0 2px var(--pk-acc); }
}
@media (min-width: 1024px) { .pk-bar__title { display: none; } }

/* Home app header (continues the bar) */
.pk-head {
    padding: 2px 14px 16px; color: var(--pk-on); border-radius: 0 0 28px 28px;
    background: linear-gradient(180deg, var(--pk-acc) 0%, var(--pk-acc-deep) 100%);
    box-shadow: 0 16px 30px -24px var(--pk-acc);
}
.pk-head__about { margin: 0 2px 10px; font-size: 13px; line-height: 1.4; opacity: .88; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pk-head__search {
    display: flex; align-items: center; gap: 10px; width: 100%; height: 48px; padding: 0 16px; border: 0; border-radius: 16px;
    background: #fff; color: var(--pk-muted); font: inherit; font-size: 15px; text-align: left; cursor: pointer;
    box-shadow: 0 10px 22px -14px rgba(11, 18, 32, .55);
}
.pk-head__search svg { width: 20px; height: 20px; color: var(--pk-ink-2); }
.pk-head__actions { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.pk-head__actions::-webkit-scrollbar { display: none; }
.pk-hact {
    flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .14); color: var(--pk-on);
    font: inherit; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.pk-hact svg { width: 17px; height: 17px; }
@media (min-width: 1024px) {
    .pk-head { max-width: 1240px; margin: 16px auto 0; padding: 22px 24px; border-radius: 28px; display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; }
    .pk-head__about { grid-column: 1 / -1; margin: 0; font-size: 14.5px; }
    .pk-head__search { display: none; }
    .pk-head__actions { grid-column: 1 / -1; margin: 0; }
    .pk-hact { flex: 0 0 auto; }
}

/* Hero: peeking cards on phones, one full slide on desktop; arrows + clickable dots */
.pk-hero__dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: #cbd5e1; cursor: pointer; transition: width .25s, background .25s; }
.pk-hero__dots button.is-on { width: 20px; background: var(--pk-acc); }
.pk-hero__nav { display: none; }
@media (min-width: 1024px) {
    .pk-hero__slide, .pk-hero.is-single .pk-hero__slide { flex-basis: 100%; }
    .pk-hero__track { padding: 0 20px; scroll-padding: 0 20px; }
    .pk-hero__nav {
        position: absolute; top: calc(50% - 22px); z-index: 3; display: flex; align-items: center; justify-content: center;
        width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--pk-ink);
        box-shadow: var(--pk-shadow); cursor: pointer;
    }
    .pk-hero__nav svg { width: 22px; height: 22px; }
    .pk-hero__nav--prev { left: 34px; }
    .pk-hero__nav--next { right: 34px; }
}

/* Banners under the hero: 2 on phones, 3 from tablets up; the whole image always shows */
.pk-banners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pk-banners--1 { grid-template-columns: 1fr; }
.pk-banners--3 a:nth-child(3) { display: none; }
.pk-banners img { width: 100%; height: auto; object-fit: contain; }
@media (min-width: 768px) {
    .pk-banners--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pk-banners--3 a:nth-child(3) { display: block; }
}
@media (min-width: 1024px) { .pk-banners--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Footer */
.pk-ft { margin-top: 30px; padding: 18px 12px 0; background: var(--pk-card); border-radius: 28px 28px 0 0; box-shadow: 0 -12px 30px -26px rgba(11, 18, 32, .5); }
.pk-ft__in { display: grid; gap: 12px; max-width: 1240px; margin: 0 auto; }
.pk-ft__help { padding: 16px; border-radius: 22px; color: var(--pk-on); background: linear-gradient(135deg, var(--pk-acc) 0%, var(--pk-acc-deep) 100%); }
.pk-ft__brand { display: flex; align-items: flex-start; gap: 12px; }
.pk-ft__mark {
    flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
    background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}
.pk-ft__mark svg { width: 22px; height: 22px; }
.pk-ft__id { min-width: 0; }
.pk-ft__brand b { display: block; font-size: 21px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; overflow-wrap: anywhere; }
.pk-ft__brand small {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin-top: 5px; font-size: 13px; line-height: 1.45; opacity: .85;
}
@media (min-width: 1024px) { .pk-ft__brand b { font-size: 24px; } }
.pk-ft__kicker { display: block; margin: 14px 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.pk-ft__calls { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.pk-ft__call { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 14px; background: #fff; color: var(--pk-ink); font-size: 14px; font-weight: 800; text-decoration: none; }
.pk-ft__call svg { width: 18px; height: 18px; color: var(--pk-acc); }
.pk-ft__call--wa { background: #25d366; color: #fff; }
.pk-ft__call--wa svg { color: #fff; }
.pk-ft__list { padding: 6px 4px; border-radius: 20px; background: var(--pk-bg); }
.pk-ft__list h4, .pk-ft__extra h4 { margin: 0; padding: 10px 12px 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pk-muted); }
.pk-ft__list a { display: flex; align-items: center; gap: 12px; padding: 12px; color: var(--pk-ink); text-decoration: none; border-top: 1px solid var(--pk-line); }
.pk-ft__list h4 + a { border-top: 0; }
.pk-ft__list a svg { width: 18px; height: 18px; color: var(--pk-muted); flex-shrink: 0; }
.pk-ft__list a span { flex: 1; font-size: 14.5px; font-weight: 600; }
.pk-ft__list a .pk-ft__chev { width: 16px; height: 16px; }
.pk-ft__extra { padding: 4px 4px 0; }
.pk-ft__social { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 12px 8px; }
.pk-ft__social a { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 14px; background: var(--pk-bg); color: var(--pk-ink-2); }
.pk-ft__social svg { width: 18px; height: 18px; }
.pk-ft__pay { padding: 2px 12px 8px; }
.pk-ft__pay img { max-width: 100%; height: auto; border-radius: 10px; }
.pk-ft__copy { padding: 16px 12px 14px; text-align: center; font-size: 12px; color: var(--pk-muted); }
@media (min-width: 1024px) {
    .pk-ft { padding: 34px 20px 0; border-radius: 0; }
    .pk-ft__in { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; align-items: start; }
    .pk-ft__list { background: transparent; padding: 0; }
    .pk-ft__list a { padding: 8px 0; border-top: 0; }
    .pk-ft__list a .pk-ft__chev { display: none; }
    .pk-ft__list h4, .pk-ft__extra h4 { padding: 0 0 8px; }
    .pk-ft__social, .pk-ft__pay { padding: 0 0 12px; }
    .pk-ft__copy { margin-top: 24px; border-top: 1px solid var(--pk-line); }
}

/* Footer "Get in touch" column */
.pk-ft__contact { display: flex; flex-direction: column; gap: 2px; padding: 0 12px 8px; }
.pk-ft__ci { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; color: var(--pk-ink); font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; word-break: break-word; }
.pk-ft__ci svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; color: var(--pk-acc); }
.pk-ft__ci--d { display: none; }
.pk-ft__contact:not(:has(.pk-ft__ci:not(.pk-ft__ci--d))) { display: none; }
.pk-ft__extra:not(:has(.pk-ft__ci:not(.pk-ft__ci--d))):not(:has(.pk-ft__social)):not(:has(.pk-ft__pay)) { display: none; }
@media (min-width: 1024px) {
    .pk-ft__ci--d { display: flex; }
    .pk-ft__contact, .pk-ft__extra { display: flex !important; }
    .pk-ft__extra { flex-direction: column; }
    .pk-ft__contact { padding: 0 0 12px; }
    .pk-ft__ci:hover:is(a) span { text-decoration: underline; }
}

/* ==========================================================================
   Round 3 (owner feedback 2026-10-23)
   ========================================================================== */

/* App bar: the logo alone (shops upload it at 220 × 90), name only when there's no logo.
   Phones: centred on home, in a white pill so any logo reads on the brand colour. */
.pk-bar__logo { width: auto; height: 40px; margin: 0; padding: 0; border-radius: 0; background: none; }
.pk-bar__logo img { width: auto; height: 100%; max-width: 150px; object-fit: contain; }
@media (max-width: 1023px) {
    .pk-bar--home .pk-bar__brand { justify-content: center; }
    /* the logo sits straight on the brand colour (owner's request 2026-10-24: no white pill behind it) */
    .pk-bar--home .pk-bar__logo { height: 44px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
    .pk-bar--home .pk-bar__logo img { max-width: 130px; }
    /* keep the logo optically centred: the menu button (left) balances the cart (right) */
    .pk-bar--home .pk-bar__actions { min-width: 42px; justify-content: flex-end; }
}
@media (min-width: 1024px) {
    .pk-bar__logo { height: 54px; }
    .pk-bar__logo img { max-width: 160px; }
}

/* Product grids: cards close together */
.pk-grid { gap: 8px; padding: 0 10px; }
@media (min-width: 1024px) { .pk-grid { gap: 12px; padding: 0 20px; } }

/* Card: a slim, full-width, solid "Order now" bar along the card's bottom edge */
.pk-card__body { gap: 7px; padding: 8px 9px 0; }
.pk-card__buy {
    height: 34px; margin: auto -9px 0; border-radius: 0;
    background: var(--pk-acc); color: var(--pk-on); font-size: 13px; letter-spacing: .01em;
}
.pk-card__buy:hover { background: var(--pk-acc-deep); }
.pk-card__buy.is-off { background: var(--pk-soft); color: var(--pk-muted); }

/* Home category rows: 2 × 2 on phones / tablets, 5 in a row from laptops up, then "View more" */
.pk-grid--cat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1023px) { .pk-grid--cat > :nth-child(n + 5) { display: none; } }
@media (min-width: 1024px) { .pk-grid--cat { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.pk-wide--more { gap: 6px; height: 42px; margin: 10px 10px 0; background: var(--pk-acc-soft); box-shadow: none; color: var(--pk-acc); font-size: 14px; }
.pk-wide--more svg { width: 16px; height: 16px; }
@media (min-width: 1024px) { .pk-wide--more { max-width: 260px; margin: 16px auto 0; } }

/* Tab bar: flush with the bottom edge (no strip of page showing under it), the cart in line with the other tabs */
.pk-tabs-space { height: calc(62px + env(safe-area-inset-bottom)); }
.pk-tabs {
    left: 0; right: 0; bottom: 0; height: auto; align-items: center;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0; border: 0; border-top: 1px solid rgba(11, 18, 32, .06);
    box-shadow: 0 -10px 28px -18px rgba(11, 18, 32, .35);
}
.pk-tab { height: 50px; justify-content: center; }
.pk-tab--cart { align-self: center; }
.pk-tab__fab {
    width: 50px; height: 50px; margin-top: 0; border-radius: 16px;
    box-shadow: 0 8px 18px -10px var(--pk-acc);
}
.pk-tab__fab svg { width: 24px; height: 24px; }

/* ---------- Drawer ---------- */
.pk-dr .t23-drawer__panel { width: min(86vw, 360px); background: var(--pk-bg, #f6f7f9); border-radius: 0 26px 26px 0; overflow: hidden; }
.pk-dr__head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: calc(14px + env(safe-area-inset-top)) 14px 14px 18px; background: #fff; border-bottom: 1px solid var(--pk-line);
}
.pk-dr__brand { display: flex; align-items: center; min-width: 0; height: 46px; color: var(--pk-ink); text-decoration: none; }
.pk-dr__brand img { height: 100%; width: auto; max-width: 170px; object-fit: contain; }
.pk-dr__brand b { font-size: 18px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-dr__close { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex-shrink: 0; border: 0; border-radius: 12px; background: var(--pk-soft); color: var(--pk-ink); cursor: pointer; }
.pk-dr__close svg { width: 20px; height: 20px; }
.pk-dr__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px 12px 20px; }

.pk-dr__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 10px 6px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--pk-line); }
.pk-dr__tiles a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px 2px; border-radius: 12px; color: var(--pk-ink-2); font-size: 11.5px; font-weight: 700; text-align: center; text-decoration: none; }
.pk-dr__tiles a:active { background: var(--pk-soft); }
.pk-dr__tiles svg { width: 40px; height: 40px; padding: 10px; border-radius: 13px; background: var(--pk-acc-soft); color: var(--pk-acc); }
.pk-dr__tiles span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pk-dr__deals { display: grid; gap: 8px; margin-top: 12px; }
.pk-dr__deal {
    display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 12px; border-radius: 16px;
    color: #fff; text-decoration: none; box-shadow: 0 10px 22px -16px rgba(11, 18, 32, .6);
}
.pk-dr__deal--pre { background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%); }
.pk-dr__deal--free { background: linear-gradient(135deg, #059669 0%, #065f46 100%); }
.pk-dr__deal > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pk-dr__deal b { font-size: 15px; font-weight: 800; }
.pk-dr__deal small { font-size: 12px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-dr__deal > svg { width: 18px; height: 18px; opacity: .8; flex-shrink: 0; }
.pk-dr__deal-ico { position: relative; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: rgba(255, 255, 255, .18); }
.pk-dr__deal-ico svg { width: 21px; height: 21px; }
.pk-dr__live { position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 2px #065f46; }
.pk-dr__live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #4ade80; animation: pk-ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes pk-ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pk-dr__live::after { animation: none; } }

.pk-dr__label { margin: 18px 6px 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pk-muted); }
.pk-dr__cats { border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--pk-line); overflow: hidden; }
.pk-dr__cat + .pk-dr__cat { border-top: 1px solid var(--pk-line); }
.pk-dr__row { display: flex; align-items: center; }
.pk-dr__link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 12px; color: var(--pk-ink); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.pk-dr__link:active { background: var(--pk-soft); }
.pk-dr__link.is-on { color: var(--pk-acc); }
.pk-dr__link img, .pk-dr__ini { width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; object-fit: cover; background: var(--pk-soft); }
.pk-dr__ini { display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; color: var(--pk-acc); background: var(--pk-acc-soft); }
.pk-dr__link span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-dr__tog { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: 4px; flex-shrink: 0; border: 0; border-radius: 12px; background: none; color: var(--pk-muted); cursor: pointer; }
.pk-dr__tog svg { width: 18px; height: 18px; transition: transform .25s; }
.pk-dr__cat.is-open .pk-dr__tog { color: var(--pk-acc); }
.pk-dr__cat.is-open .pk-dr__tog svg { transform: rotate(180deg); }
.pk-dr__sub { display: none; flex-wrap: wrap; gap: 6px; padding: 2px 12px 14px 62px; }
.pk-dr__cat.is-open .pk-dr__sub { display: flex; }
.pk-dr__sub a { padding: 6px 12px; border-radius: 999px; background: var(--pk-soft); color: var(--pk-ink-2); font-size: 13px; font-weight: 600; text-decoration: none; }
.pk-dr__sub a.is-child { background: #fff; box-shadow: inset 0 0 0 1px var(--pk-line); font-weight: 500; }
.pk-dr__sub a.is-on { background: var(--pk-acc); color: var(--pk-on); box-shadow: none; }

.pk-dr__foot { padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--pk-line); }
.pk-dr__btn {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; border: 0; border-radius: 14px;
    background: var(--pk-acc); color: var(--pk-on); font: inherit; font-size: 15px; font-weight: 800; text-decoration: none; cursor: pointer;
}
.pk-dr__btn--ghost { background: var(--pk-soft); color: var(--pk-ink); }
.pk-dr__btn svg { width: 19px; height: 19px; }

/* Shop page grid: cards almost touching side by side (owner's request 2026-10-23) */
body.pocket #product-list { column-gap: 6px; row-gap: 8px; }
@media (min-width: 1024px) { body.pocket #product-list { column-gap: 10px; row-gap: 12px; } }
/* …and nearly edge to edge on phones / tablets: a 4px side margin (the page has px-4, sm:px-6); the filter bar keeps its padding */
@media (max-width: 639px) { body.pocket #product-list { margin-left: -12px; margin-right: -12px; } }
@media (min-width: 640px) and (max-width: 1023px) { body.pocket #product-list { margin-left: -20px; margin-right: -20px; } }

/* Pre-order row on the home page (2026-10-24) */
.pk-pre .pk-sec__head h2 { display: inline-flex; align-items: center; gap: 8px; }
.pk-pre .pk-sec__head h2 svg { width: 20px; height: 20px; color: var(--pk-acc); flex: none; }
.pk-pre__hint { margin: -6px 0 12px; padding: 0 14px; font-size: 13px; color: var(--pk-ink-2); }
@media (min-width: 1024px) { .pk-pre__hint { padding: 0 20px; } }
