/* ==========================================================================
   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);
    --t23-serif: 'Fraunces', 'Hind Siliguri', Georgia, 'Times New Roman', 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) ---------- */
.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). */
