/* MZ Distributors - shop styles. Palette taken from the catalog PDF (deep purple + violet accent). */
:root {
  --bg: #f5f3fa; --surface: #fff; --ink: #1d1726; --muted: #71677e; --line: #e8e3f1;
  --accent: #7c3aed; --accent-dark: #6427d4; --accent-soft: #f0e9ff; --label: #904cf0;
  --dark: #0e0a1c; --dark-2: #2a1152;
  --ok: #15803d; --ok-bg: #e6f6ec; --warn: #b45309; --warn-bg: #fef3e2; --bad: #b91c1c; --bad-bg: #fde8e8;
  --radius: 14px; --shadow: 0 1px 2px rgba(29, 23, 38, .06), 0 4px 16px rgba(29, 23, 38, .06);
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.hidden { display: none !important; }

/* ---------- header */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--dark); color: #fff; }
.topbar .wrap { display: flex; align-items: center; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 650; letter-spacing: .1px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { color: #cfc6e0; text-decoration: none; padding: 8px 12px; border-radius: 9px; font-size: 14px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.spacer { flex: 1; }
.iconbtn { position: relative; display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .08); color: #fff; border: 0; border-radius: 10px; padding: 9px 13px; font-size: 14px; }
.iconbtn:hover { background: rgba(255, 255, 255, .16); }
.badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--label); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.badge:empty, .badge[data-n="0"] { display: none; }
.menu { position: relative; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; background: var(--surface); color: var(--ink); border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); padding: 6px; z-index: 40; }
.menu-pop .who { padding: 8px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu-pop .who b { display: block; }
.menu-pop a, .menu-pop button { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; background: none; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--accent-soft); }

/* ---------- hero + toolbar */
.hero { background: radial-gradient(900px 300px at 85% -20%, #4b1d95 0%, transparent 70%), linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%); color: #fff; padding: 38px 0 74px; }
.hero .eyebrow { font: 600 11px var(--mono); letter-spacing: .14em; color: #a78bfa; text-transform: uppercase; }
.hero h1 { margin: 6px 0 6px; font-size: clamp(28px, 4.5vw, 40px); line-height: 1.1; letter-spacing: -.02em; }
.hero p { margin: 0; color: #b9aed0; max-width: 60ch; }
.searchbar { position: relative; margin-top: -30px; z-index: 5; }
.searchbar input { width: 100%; height: 56px; border: 1px solid var(--line); border-radius: 16px; padding: 0 18px 0 50px; font-size: 16px; background: var(--surface); box-shadow: var(--shadow); }
.searchbar .i { position: absolute; left: 17px; top: 18px; color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin: 18px 0 8px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; flex: 1 1 100%; }
.chip { flex: none; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; color: var(--ink); white-space: nowrap; }
.chip small { color: var(--muted); margin-left: 4px; }
.chip:hover { border-color: var(--label); }
.chip[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: #fff; }
.chip[aria-pressed="true"] small { color: #b9aed0; }
/* category buttons (replace the old scrolling chip bar) */
.cats-title { flex: 1 1 100%; margin: 6px 0 -2px; font-size: 17px; letter-spacing: -.01em; }
.cats { flex: 1 1 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 12px; padding: 4px 0 6px; }
.cat-tile { --c: #7c3aed; display: flex; align-items: center; gap: 12px; text-align: left; padding: 13px 14px; min-width: 0;
  border: 1px solid var(--line); background: var(--surface); border-radius: 16px; color: var(--ink);
  transition: transform .14s, box-shadow .14s, border-color .14s, background .14s; }
.cat-tile .ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--c);
  background: color-mix(in srgb, var(--c) 13%, #fff); transition: background .14s, color .14s, transform .14s; }
.cat-tile .ico .i { width: 25px; height: 25px; stroke-width: 1.7; }
.cat-tile .txt { min-width: 0; }
.cat-tile b { display: block; font-size: 14px; line-height: 1.22; font-weight: 650; overflow-wrap: anywhere; }
.cat-tile small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.cat-tile:hover { transform: translateY(-2px); border-color: var(--c); box-shadow: 0 10px 26px color-mix(in srgb, var(--c) 24%, transparent); }
.cat-tile:hover .ico { transform: scale(1.06) rotate(-4deg); }
.cat-tile[aria-pressed="true"] { border-color: transparent; color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 68%, #000));
  box-shadow: 0 12px 28px color-mix(in srgb, var(--c) 38%, transparent); }
.cat-tile[aria-pressed="true"] .ico { background: rgba(255, 255, 255, .22); color: #fff; }
.cat-tile[aria-pressed="true"] small { color: rgba(255, 255, 255, .85); }
.select { height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 0 12px; max-width: 100%; }
.count { color: var(--muted); font-size: 13.5px; margin-left: auto; }

/* ---------- product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 16px; padding: 10px 0 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s; }
.card:hover { box-shadow: var(--shadow); border-color: #d8ccef; }
.thumb { aspect-ratio: 1; background: #f3f0f8; position: relative; overflow: hidden; }
.thumb img, .mini img, .cart-row .t img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 6px; color: hsl(var(--h) 35% 38%); background: linear-gradient(145deg, hsl(var(--h) 60% 96%), hsl(var(--h) 55% 90%)); }
.ph b { font-size: 34px; letter-spacing: -.02em; }
.ph span { font: 600 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .75; text-align: center; padding: 0 10px; }
.card-body { padding: 12px 14px 8px; flex: 1; }
.cat { font: 600 10.5px var(--mono); letter-spacing: .08em; color: var(--label); text-transform: uppercase; }
.name { margin: 4px 0 8px; font-size: 14.5px; line-height: 1.32; font-weight: 550; overflow-wrap: anywhere; }
.price { font-weight: 700; font-size: 16px; }
.price.quote { font-size: 13px; font-weight: 600; color: var(--warn); }
.buy { padding: 4px 14px 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 11px; height: 42px; padding: 0 18px; font-weight: 600; background: var(--accent); color: #fff; text-decoration: none; transition: background .12s; }
.btn:hover { background: var(--accent-dark); }
.btn:disabled { opacity: .55; cursor: default; }
.btn.block { width: 100%; }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--accent-soft); border-color: #d8ccef; }
.btn.wa { background: #1fa855; }
.btn.wa:hover { background: #178a45; }
.btn.small { height: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 9px; }
.btn.danger { background: var(--bad); }
.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 11px; height: 42px; overflow: hidden; background: var(--surface); }
.stepper button { width: 42px; height: 100%; border: 0; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; }
.stepper button:hover { background: #e4d6ff; }
.stepper input { flex: 1; min-width: 0; height: 100%; border: 0; text-align: center; font-weight: 650; font-size: 15px; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper.sm { height: 34px; border-radius: 9px; }
.stepper.sm button { width: 32px; }
.more { display: block; margin: 8px auto 40px; }
.skel .thumb { background: linear-gradient(100deg, #efeaf7 30%, #f8f5fd 50%, #efeaf7 70%) 0 0 / 300% 100%; animation: shimmer 1.3s infinite linear; }
.skel .bar { height: 12px; border-radius: 6px; margin: 10px 0; background: #efeaf7; }
.skel .bar.s { width: 55%; }
@keyframes shimmer { to { background-position: -150% 0; } }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }

/* ---------- dialogs */
dialog { border: 0; padding: 0; border-radius: 18px; color: var(--ink); background: var(--surface); max-width: calc(100vw - 24px); box-shadow: 0 24px 80px rgba(14, 10, 28, .45); }
dialog::backdrop { background: rgba(14, 10, 28, .6); backdrop-filter: blur(3px); }
dialog[open] { animation: pop .16s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal { width: 460px; max-height: calc(100dvh - 24px); overflow: auto; }
.modal.wide { width: 760px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 0; }
.modal-head h2 { margin: 0; font-size: 20px; letter-spacing: -.01em; }
.modal-body { padding: 16px 22px 22px; }
.x { border: 0; background: none; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); }
.x:hover { background: var(--accent-soft); color: var(--ink); }
dialog.drawer { margin: 0 0 0 auto; height: 100dvh; max-height: none; width: min(440px, 100vw); max-width: none; border-radius: 18px 0 0 18px; display: none; flex-direction: column; }
dialog.drawer[open] { display: flex; animation: slide .2s ease-out; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer .modal-head { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cart-list { flex: 1; overflow: auto; padding: 6px 22px; }
.cart-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-row .t { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; }
.cart-row .t .ph b { font-size: 18px; } .cart-row .t .ph span { display: none; }
.cart-row .n { font-size: 13.5px; font-weight: 550; line-height: 1.3; overflow-wrap: anywhere; }
.cart-row .u { font-size: 12.5px; color: var(--muted); margin: 2px 0 8px; }
.cart-row .lt { font-weight: 700; text-align: right; white-space: nowrap; }
.cart-row .rm { border: 0; background: none; color: var(--muted); padding: 4px; margin-top: 6px; display: block; margin-left: auto; }
.cart-row .rm:hover { color: var(--bad); }
.cart-foot { padding: 16px 22px 22px; border-top: 1px solid var(--line); background: #fbfaff; border-radius: 0 0 0 18px; }
.sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; margin-bottom: 4px; }
.sum.total { font-size: 20px; font-weight: 750; margin: 6px 0 12px; }
.note { font-size: 12.5px; color: var(--muted); }
.note.warn { color: var(--warn); background: var(--warn-bg); padding: 8px 10px; border-radius: 9px; margin: 8px 0; }

/* ---------- forms */
.field { display: grid; gap: 5px; margin-bottom: 13px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #d9d2e6; border-radius: 10px; padding: 10px 12px; background: #fff; }
.field textarea { min-height: 78px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; margin: 4px 0 14px; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--accent); }
.tabs { display: flex; gap: 4px; background: #f0ecf8; padding: 4px; border-radius: 12px; margin-bottom: 16px; }
.tabs button { flex: 1; height: 38px; border: 0; background: none; border-radius: 9px; font-weight: 600; color: var(--muted); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.err { color: var(--bad); background: var(--bad-bg); padding: 9px 12px; border-radius: 10px; font-size: 13.5px; margin-bottom: 12px; }
.ok-box { background: var(--ok-bg); color: var(--ok); padding: 10px 12px; border-radius: 10px; font-size: 14px; margin: 12px 0; }
.success-mark { width: 60px; height: 60px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; margin: 0 auto 10px; }
.success-mark .i { width: 30px; height: 30px; stroke-width: 2.4; }
.stack { display: grid; gap: 10px; }
.center { text-align: center; }
.age { width: 420px; text-align: center; }
.age .modal-body { padding: 28px 26px 26px; }
.age h2 { margin: 6px 0 8px; font-size: 24px; }
.age img { width: 64px; height: 64px; margin: 0 auto 6px; border-radius: 16px; }

/* ---------- toast */
#toasts { position: fixed; z-index: 100; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100% - 24px)); pointer-events: none; }
.toast { background: var(--dark); color: #fff; padding: 11px 16px; border-radius: 12px; box-shadow: 0 8px 30px rgba(0, 0, 0, .3); animation: pop .15s ease-out; pointer-events: auto; }
.toast.bad { background: var(--bad); }

/* ---------- pages: orders / admin */
.page { padding: 28px 0 60px; }
.page h1 { margin: 0 0 4px; font-size: 28px; letter-spacing: -.02em; }
.order { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: 14px 0; overflow: hidden; }
.order-head { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; padding: 14px 18px; }
.order-head .no { font: 700 15px var(--mono); }
.order-head .grow { flex: 1; }
.order-body { padding: 0 18px 16px; border-top: 1px solid var(--line); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font: 600 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px; border-bottom: 1px solid #f0edf6; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; white-space: nowrap; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; background: var(--accent-soft); color: var(--accent-dark); text-transform: capitalize; }
.pill.new { background: #e0edff; color: #1d4ed8; } .pill.confirmed { background: var(--accent-soft); color: var(--accent-dark); }
.pill.shipped { background: var(--warn-bg); color: var(--warn); } .pill.completed, .pill.sent { background: var(--ok-bg); color: var(--ok); }
.pill.cancelled, .pill.failed { background: var(--bad-bg); color: var(--bad); }
.pill.manual, .pill.pending, .pill.not_configured { background: #eee; color: #555; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 12px; overflow-x: auto; }
.tabbar { display: flex; gap: 6px; margin: 18px 0 14px; border-bottom: 1px solid var(--line); }
.tabbar button { border: 0; background: none; padding: 10px 16px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabbar button[aria-selected="true"] { color: var(--ink); border-color: var(--accent); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; align-items: center; }
.filters input[type=search] { flex: 1; min-width: 200px; height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: #fff; }
.mini { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; }
.mini .ph b { font-size: 15px; } .mini .ph span { display: none; }
.pager { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 14px 0; }
.settings { max-width: 640px; }
/* dashboard */
.h2 { margin: 22px 0 10px; font-size: 16px; letter-spacing: -.01em; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.stat small { display: block; margin-top: 2px; font-size: 12.5px; }
.stat.good b { color: var(--ok); } .stat.bad b { color: var(--bad); } .stat.warn b { color: var(--warn); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.chart-panel { margin-top: 14px; padding: 10px 14px 6px; }
.chart { width: 100%; height: auto; display: block; }
.chart .ax { font: 11px system-ui, sans-serif; fill: var(--muted); }
.chart .b-sales, .sw.b-sales { fill: var(--accent); background: var(--accent); }
.chart .b-profit, .sw.b-profit { fill: #16a34a; background: #16a34a; }
.chart g:hover .b-sales { fill: var(--accent-dark); } .chart g:hover .b-profit { fill: #12813b; }
.legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); padding: 2px 4px 4px; }
.legend .sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.tbl tr.today td { background: var(--accent-soft); } .tbl tr.total td { border-top: 2px solid var(--line); background: #fbfaff; }
.pill.low { background: var(--warn-bg); color: var(--warn); text-transform: none; } .pill.out { background: var(--bad-bg); color: var(--bad); text-transform: none; }
.sold { position: absolute; top: 10px; left: 10px; background: var(--dark); color: #fff; font: 700 11px var(--mono); letter-spacing: .06em; padding: 5px 9px; border-radius: 8px; text-transform: uppercase; }
.left { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 650; color: var(--warn); background: var(--warn-bg); padding: 2px 8px; border-radius: 999px; }
.card.gone .thumb img, .card.gone .ph { opacity: .45; filter: grayscale(.6); }
.grow { flex: 1; }
/* dashboard menu: three big buttons */
.menu3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 8px; }
.menucard.tax { --c: #b45309; } .menucard.expenses { --c: #be123c; }
.chart .b-expense, .sw.b-expense { fill: #be123c; background: #be123c; }
.chart g:hover .b-expense { fill: #9f1239; }
.chart .b-tax, .sw.b-tax { fill: #b45309; background: #b45309; }
.chart g:hover .b-tax { fill: #92400e; }
.share.tax i { background: #b45309; }
.menucard { text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 18px 20px 16px; display: grid; gap: 3px;
  box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s, border-color .12s; position: relative; overflow: hidden; }
.menucard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c); }
.menucard:hover { transform: translateY(-2px); border-color: var(--c); box-shadow: 0 8px 28px rgba(29, 23, 38, .12); }
.menucard.stock { --c: #7c3aed; } .menucard.sales { --c: #2563eb; } .menucard.profit { --c: #16a34a; }
.mc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.mc-top b { font-size: 17px; }
.mc-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--c); }
.mc-top .go { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 650; color: var(--c); }
.mc-top .go .i { width: 16px; height: 16px; }
.mc-cap { font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mc-big { font-size: 30px; font-weight: 750; letter-spacing: -.02em; line-height: 1.15; }
.mc-line { font-size: 13.5px; color: var(--muted); }
.mc-alert { margin-top: 8px; font-size: 12.5px; font-weight: 650; color: var(--bad); background: var(--bad-bg); padding: 5px 10px; border-radius: 8px; justify-self: start; }
.mc-alert.soft { color: var(--warn); background: var(--warn-bg); }
/* detail pages */
.viewhead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.vtabs { display: flex; gap: 4px; background: #f0ecf8; padding: 4px; border-radius: 12px; }
.vtabs button { border: 0; background: none; height: 34px; padding: 0 16px; border-radius: 9px; font-weight: 600; color: var(--muted); }
.vtabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.vtitle { margin: 12px 0 14px; font-size: 24px; letter-spacing: -.02em; }
.vtitle .muted { font-size: 14px; font-weight: 400; letter-spacing: 0; margin-left: 6px; }
.share { height: 6px; background: #efeaf7; border-radius: 4px; margin-top: 6px; overflow: hidden; }
.share i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.share.good i { background: #16a34a; }
.picklist { display: grid; gap: 6px; max-height: 320px; overflow: auto; }
.pick { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 12px; }
.pick:hover { background: var(--accent-soft); border-color: #d8ccef; }
/* point of sale */
.pos-wrap { max-width: 1500px; margin: 0 auto; padding: 14px 16px 30px; }
.pos { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 16px; align-items: start; }
.pos-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pos-bar input { flex: 1 1 260px; min-width: 0; border: 1px solid #d9d2e6; border-radius: 12px; padding: 13px 16px; font-size: 16px; background: #fff; }
.pos-bar input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.pscan { font-size: 13px; color: var(--muted); padding: 7px 12px; border-radius: 10px; background: var(--surface); border: 1px dashed var(--line); margin-bottom: 10px; }
.pscan.hot { color: var(--ok); background: var(--ok-bg); border-style: solid; border-color: transparent; font-weight: 650; }
.pscan.bad { color: var(--bad); background: var(--bad-bg); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ptile { display: flex; flex-direction: column; gap: 3px; text-align: left; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.ptile:hover { border-color: var(--accent); box-shadow: 0 2px 10px rgba(124, 58, 237, .15); }
.ptile:active { transform: scale(.98); }
.ptile.gone { opacity: .55; }
.pimg { display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--bg); margin-bottom: 4px; }
.pimg img { width: 100%; height: 100%; object-fit: cover; } .pimg .ph { height: 100%; }
.pname { font-size: 13px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pprice { font-weight: 750; color: var(--accent-dark); }
.lowtxt { color: var(--warn); font-weight: 600; }
.pos-right { position: sticky; top: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px 16px; max-height: calc(100dvh - 24px); overflow: auto; }
.pos-head { display: flex; justify-content: space-between; align-items: center; } .pos-head h2 { margin: 0; font-size: 19px; }
.plines { margin: 8px 0; max-height: 34vh; overflow: auto; }
.pline { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.pl-price { width: 74px; border: 1px solid #d9d2e6; border-radius: 8px; padding: 6px 8px; } .pl-unit { color: var(--muted); }
.pl-line { min-width: 58px; text-align: right; }
.pline .x { width: 28px; height: 28px; }
.pos-cust .picklist { max-height: 160px; margin-top: 6px; }
.pos-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; margin-top: 6px; } .pos-total b { font-size: 34px; letter-spacing: -.02em; }
.pos-sub { font-size: 12.5px; margin-bottom: 10px; }
.pos-pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pm { padding: 13px 8px; border: 2px solid var(--line); border-radius: 12px; background: #fff; font-weight: 650; font-size: 15px; cursor: pointer; }
.pm.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.quick { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.pos-change { font-size: 16px; margin-bottom: 8px; }
.pos-big { font-size: 46px; font-weight: 800; letter-spacing: -.03em; margin: 8px 0; }
.btn.big { padding: 16px; font-size: 18px; margin-top: 8px; }
.pos-right #pdone-btn { position: sticky; bottom: 0; box-shadow: 0 -10px 12px -2px var(--surface); }
.pos-pay.need .pm { border-color: var(--bad); animation: pmshake .4s; }
@keyframes pmshake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (max-width: 980px) { .pos { grid-template-columns: 1fr; } .pos-right { position: static; max-height: none; } }
.au-group { border-bottom: 1px solid var(--line); padding: 8px 12px; } .au-group summary { cursor: pointer; list-style-position: inside; }
.au-group .tbl { margin-top: 6px; font-size: 13px; }
.choices { display: grid; gap: 12px; }
.choice { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; text-align: left; align-items: center; padding: 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.choice:hover { border-color: var(--accent); background: var(--accent-soft); }
.choice .ch-ico { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 700; }
.choice b { font-size: 16px; } .choice span:last-child { color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.inv-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.inv-tabs button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 600; cursor: pointer; color: var(--muted); }
.inv-tabs button b { margin-left: 6px; font-size: 12px; background: var(--bg); color: var(--ink); border-radius: 999px; padding: 1px 7px; }
.inv-tabs button:hover { border-color: var(--accent); }
.inv-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.inv-tabs button[aria-selected="true"] b { background: rgba(255, 255, 255, .25); color: #fff; }
.tf-box { margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.tf-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.tf-row .tf-name { flex: 1 1 200px; min-width: 0; } .tf-row .tf-method { flex: 0 1 190px; }
.tf-row input, .tf-row select { border: 1px solid #d9d2e6; border-radius: 9px; padding: 8px 10px; background: #fff; }
.tf-val { display: inline-flex; align-items: center; gap: 4px; } .tf-value { width: 100px; } .tf-pre { color: var(--muted); font-weight: 650; }
.tf-used { flex: 1 0 100%; }
.opts-count { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.card .thumb > button { display: block; width: 100%; height: 100%; border: 0; padding: 0; background: none; cursor: pointer; }
.vd-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 22px; align-items: start; }
.vd-img { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--bg); }
.vd-img img { width: 100%; height: 100%; object-fit: cover; }
.vd-img .ph { height: 100%; }
.vd-price { font-size: 30px; font-weight: 750; letter-spacing: -.02em; color: var(--accent-dark); margin: 2px 0 4px; }
.vd-avail { font-size: 13px; font-weight: 650; margin-bottom: 12px; }
.vd-avail.in { color: var(--ok); } .vd-avail.out { color: var(--bad); }
.vd-lab { font-size: 13.5px; margin-bottom: 8px; color: var(--muted); } .vd-lab b { color: var(--ink); }
.vd-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; max-height: 210px; overflow: auto; padding: 2px; }
.opt { border: 1px solid #d9d2e6; background: #fff; border-radius: 9px; padding: 8px 13px; font-size: 13.5px; cursor: pointer; }
.opt:hover { border-color: var(--accent); }
.opt.on { border-color: var(--accent); color: var(--accent-dark); background: var(--accent-soft); font-weight: 650; }
.opt.off { color: #a59eb3; text-decoration: line-through; }
@media (max-width: 640px) { .vd-grid { grid-template-columns: 1fr; } .vd-img { max-width: 300px; margin: 0 auto; } }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; max-height: 420px; overflow: auto; padding: 2px; }
.photo-cell { position: relative; display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: 10px; padding: 8px; font-size: 12.5px; cursor: pointer; }
.photo-cell input { position: absolute; top: 6px; left: 6px; width: 16px; height: 16px; z-index: 1; }
.photo-cell img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: var(--surface); }
.photo-cell span { line-height: 1.25; }
.photo-cell small.muted { color: var(--warn, #b45309); font-size: 11px; }
.photo-picked { display: flex; flex-wrap: wrap; gap: 6px; }
.photo-picked .tag { display: inline-flex; align-items: center; gap: 4px; background: var(--accent-soft); border: 1px solid #d8ccef; border-radius: 999px; padding: 4px 6px 4px 10px; font-size: 13px; }
.photo-picked .tag button { display: flex; border: none; background: none; padding: 2px; cursor: pointer; color: var(--muted); }
.photo-picked .tag button .i { width: 14px; height: 14px; }
.photo-picked .tag small { color: var(--warn, #b45309); }
@media (max-width: 1000px) { .menu3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .menu3 { grid-template-columns: 1fr; } }
.stat-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 6px 0 4px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; min-width: 150px; }
.stat b { display: block; font-size: 24px; letter-spacing: -.02em; }
.lightbox { padding: 0; background: #000; width: min(720px, 94vw); }
.lightbox img { width: 100%; height: auto; max-height: 86dvh; object-fit: contain; }
.lightbox .x { position: absolute; top: 8px; right: 8px; background: rgba(255, 255, 255, .85); }

footer.site { color: #b9aed0; font-size: 13.5px; background: var(--dark); margin-top: 30px; padding: 44px 0 22px; }

@media (max-width: 720px) {
  .nav { display: none; }
  .topbar .wrap { gap: 8px; }
  .brand span { display: none; }
  .iconbtn .lbl { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-body { padding: 10px 10px 6px; } .buy { padding: 4px 10px 10px; }
  .name { font-size: 13.5px; }
  .row2 { grid-template-columns: 1fr; }
  .count { margin-left: 0; flex: 1 1 100%; }
  .hero { padding: 26px 0 62px; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .cat-tile { padding: 11px 10px; gap: 9px; border-radius: 14px; }
  .cat-tile .ico { width: 38px; height: 38px; border-radius: 11px; } .cat-tile .ico .i { width: 21px; height: 21px; }
  .cat-tile b { font-size: 13px; }
  .tbl { font-size: 13px; }
  dialog.drawer { border-radius: 0; }
  .order-head { gap: 6px 14px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }


/* shared layout bits */
.tag { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 5px 10px; text-transform: uppercase; }
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.card .thumb img { object-fit: contain; transition: transform .35s; }
.card-body { padding: 8px 16px 8px; }
.card .name { min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .buy { padding: 6px 16px 16px; }
.brand-pill { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; text-align: left; transition: border-color .14s; }
.bp-logo { flex: none; width: 44px; height: 44px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; }
.bp-txt b { display: block; font-size: 14px; } .bp-txt small { color: #777; font-size: 12px; }
.brand-row { display: grid; margin-top: 4px; }
.filterbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px 14px; background: #fff; border: 1px solid #e3e3e3; }
.filterbar .select { height: 42px; }
.foot-grid { display: grid; gap: 30px; padding-bottom: 28px; }
.foot-brand .brand { margin-bottom: 10px; color: #fff; } .foot-brand p { margin: 0 0 12px; max-width: 34ch; line-height: 1.5; }
.age-pill { display: inline-block; color: #fff; padding: 4px 12px; font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; border: 1px solid; }
footer.site h4 { margin: 0 0 12px; color: #fff; }
footer.site a, footer.site span { display: block; color: #b5b5b5; text-decoration: none; margin: 0 0 8px; line-height: 1.4; }
footer.site .brand { display: flex; } footer.site .age-pill { display: inline-block; margin: 0; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ================================================================= storefront theme: black / white / red, sharp corners, Montserrat */
:root { --accent: #a80f16; --accent-dark: #870b11; --accent-soft: #fbe9ea; --label: #a80f16; --dark: #111; --dark-2: #1d1d1d;
  --grad: #a80f16; --font: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
body { font-family: var(--font); }
body:has(#slider) { background: #fff; }

/* warning bar + rotating promo strip */
.warnbar { background: #fff; color: #111; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .01em; padding: 7px 12px; border-bottom: 1px solid #e3e3e3; }
.promo { background: #a80f16; color: #fff; }
.promo .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; height: 38px; }
.pr-msgs { position: relative; flex: 1; max-width: 640px; height: 100%; text-align: center; }
.pr-msgs span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: 0; transition: opacity .35s; padding: 0 6px; }
.pr-msgs span.on { opacity: 1; }
.pr-arrow { background: none; border: 0; color: #fff; font-size: 24px; line-height: 1; padding: 0 8px; opacity: .85; }
.pr-arrow:hover { opacity: 1; }

/* header (white, like a store) */
.topbar { background: #fff; color: #111; border-bottom: 1px solid #e3e3e3; backdrop-filter: none; }
.topbar .wrap { height: 68px; }
.brand { color: #111; }
.brand span { font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.brand img { border-radius: 0; width: 40px; height: 40px; }
.nav a { color: #222; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; border-radius: 0; padding: 10px 12px; }
.nav a:hover { color: #a80f16; background: none; }
.nav a[aria-current="page"] { color: #a80f16; background: none; box-shadow: inset 0 -3px 0 #a80f16; }
.iconbtn { background: #fff; color: #111; border: 1px solid #d9d9d9; border-radius: 0; font-weight: 600; }
.iconbtn:hover { background: #f4f4f4; }
.badge { background: #a80f16; }

/* category navigation */
.catnav { background: #fff; border-bottom: 1px solid #e3e3e3; }
#catnav-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 4px; }
#catnav-in button { border: 0; background: none; padding: 13px 12px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #222; border-bottom: 3px solid transparent; }
#catnav-in button:hover { color: #a80f16; }
#catnav-in button.on { color: #a80f16; border-bottom-color: #a80f16; }
@media (max-width: 800px) { .topbar .nav { display: none; } #catnav-in { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; } #catnav-in button { white-space: nowrap; } .catnav { top: 68px; } }

/* slider */
.slider { position: relative; overflow: hidden; background: #111; color: #fff; }
.slides { position: relative; height: 430px; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s; display: flex; align-items: center; }
.slide.on { opacity: 1; visibility: visible; }
.slide.s0 { background: radial-gradient(700px 420px at 80% 50%, rgba(168, 15, 22, .55), transparent 70%), linear-gradient(110deg, #0b0b0b 0%, #1c1c1c 60%, #2b0a0d 100%); }
.slide.s1 { background: radial-gradient(700px 420px at 80% 50%, rgba(255, 255, 255, .13), transparent 70%), linear-gradient(110deg, #150406 0%, #4a0a10 60%, #a80f16 130%); }
.slide.s2 { background: radial-gradient(700px 420px at 80% 50%, rgba(255, 255, 255, .18), transparent 70%), linear-gradient(110deg, #a80f16 0%, #780a10 55%, #1a0405 100%); }
.slide-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; width: min(1240px, 100% - 32px); margin-inline: auto; }
.slide-copy span { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #ffb3b7; border-left: 3px solid #a80f16; padding-left: 10px; }
.slide-copy h2 { margin: 14px 0 12px; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.04; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.slide-copy p { margin: 0 0 24px; font-size: 16.5px; color: #e4d9da; max-width: 42ch; line-height: 1.5; }
.btn.cta { height: 50px; padding: 0 30px; font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: #a80f16; border-radius: 0; box-shadow: none; }
.btn.cta:hover { background: #fff; color: #a80f16; transform: none; filter: none; }
.slide-art { position: relative; height: 340px; }
.slide-art figure { position: absolute; margin: 0; width: 200px; background: #fff; color: #111; padding: 10px; box-shadow: 0 22px 50px rgba(0, 0, 0, .55); }
.slide-art img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.slide-art figcaption { margin-top: 6px; font-size: 12px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sa0 { left: 4%; top: 30px; transform: rotate(-5deg); } .sa1 { left: 34%; top: 0; z-index: 2; transform: rotate(2deg); width: 220px !important; } .sa2 { right: 2%; top: 60px; transform: rotate(7deg); }
.sl-arrow { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 64px; border: 0; background: rgba(0, 0, 0, .35); color: #fff; font-size: 34px; line-height: 1; z-index: 5; }
.sl-arrow:hover { background: #a80f16; } .sl-arrow.prev { left: 0; } .sl-arrow.next { right: 0; }
.sl-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 10px; z-index: 5; }
.sl-dots button { width: 34px; height: 4px; border: 0; background: rgba(255, 255, 255, .4); padding: 0; }
.sl-dots button.on { background: #fff; }
@media (max-width: 860px) { .slides { height: 360px; } .slide-in { grid-template-columns: 1fr; } .slide-art { display: none; } .sl-arrow { width: 34px; height: 50px; font-size: 26px; } }

/* search + sections */
.page-search { margin: 26px 0 0 !important; z-index: 1; }
.page-search input { height: 52px; border-radius: 0; border: 1px solid #cfcfcf; box-shadow: none; font-family: var(--font); }
.page-search input:focus { outline: 2px solid #a80f16; outline-offset: 0; border-color: transparent; }
.page-search .i { top: 16px; }
.sec { margin: 46px 0 0; scroll-margin-top: 84px; }
.sec-title { margin: 0 0 22px; text-align: center; font-size: 18px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #282828; }
.sec-title::after { content: ""; display: block; width: 46px; height: 3px; background: #a80f16; margin: 10px auto 0; }

/* carousels */
.railwrap { position: relative; }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 2px 2px 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail .card { flex: 0 0 224px; scroll-snap-align: start; }
.r-arrow { position: absolute; top: 34%; z-index: 4; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #ddd; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); font-size: 24px; line-height: 1; color: #111; }
.r-arrow:hover { background: #a80f16; color: #fff; border-color: #a80f16; } .r-arrow.l { left: -14px; } .r-arrow.r { right: -14px; }
@media (max-width: 800px) { .r-arrow { display: none; } .rail .card { flex-basis: 170px; } }

/* product cards */
.grid { grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 16px; }
.card { border-radius: 0; border: 1px solid #ececec; background: #fff; transform: none; box-shadow: none; }
.card:hover { transform: none; border-color: #111; box-shadow: 0 10px 28px rgba(0, 0, 0, .12); }
.card .thumb { background: #fff; padding: 12px; border-bottom: 1px solid #f2f2f2; }
.card .thumb .ph { border-radius: 0; }
.card:hover .thumb img { transform: scale(1.05); }
.tag { border-radius: 0; font-family: var(--font); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; }
.tag-opts { background: #111; color: #fff; box-shadow: none; }
.tag-low { background: #a80f16; color: #fff; }
.card .sold { border-radius: 0; background: #111; font-family: var(--font); }
.card .cat { color: #a80f16; font-family: var(--font); font-weight: 700; font-size: 10.5px; }
.card .name { font-size: 14px; font-weight: 500; color: #111; }
.card .price { font-size: 17px; font-weight: 800; color: #111; letter-spacing: 0; }
.card .price.quote { color: #a80f16; font-size: 13px; }
.opts-count { color: #666; font-weight: 500; }
.card .btn.block { border-radius: 0; height: 42px; background: #a80f16; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card .btn.block:hover { background: #111; }
.card .btn.block.ghost, .card .btn.block:disabled { background: #eee; color: #777; }
.card .stepper { border-radius: 0; border-color: #ccc; }
.card .stepper button { background: #f3f3f3; color: #111; }

/* categories, brands, filters */
.cats { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.cat-tile { border-radius: 0; border: 1px solid #e3e3e3; padding: 12px; }
.cat-tile .ico { border-radius: 0; background: #f5f5f5; color: #a80f16; }
.cat-tile:hover { transform: none; border-color: #a80f16; box-shadow: none; }
.cat-tile:hover .ico { transform: none; }
.cat-tile[aria-pressed="true"] { background: #111; border-color: #111; box-shadow: none; }
.cat-tile[aria-pressed="true"] .ico { background: #a80f16; }
.brand-row { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.brand-pill { border-radius: 0; border: 1px solid #e3e3e3; }
.brand-pill:hover { transform: none; border-color: #111; box-shadow: none; }
.bp-logo { background: #111 !important; border-radius: 0; }
.brand-pill:hover .bp-logo { background: #a80f16 !important; }
.filterbar { border-radius: 0; margin: 14px 0 6px; }
.select, .filterbar .select { border-radius: 0; font-family: var(--font); }

/* why-us band + footer */
.usp { background: #f5f5f5; margin-top: 54px; border-top: 1px solid #e3e3e3; }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 26px 0; }
.usp-grid > div { display: grid; grid-template-columns: 46px 1fr; column-gap: 12px; align-items: center; }
.usp .t-ico { grid-row: span 2; width: 46px; height: 46px; display: grid; place-items: center; background: #a80f16; color: #fff; border-radius: 0; }
.usp b { font-size: 13.5px; text-transform: uppercase; letter-spacing: .03em; } .usp small { color: #666; font-size: 12.5px; }
@media (max-width: 900px) { .usp-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 480px) { .usp-grid { grid-template-columns: 1fr; } }
footer.site { background: #111; color: #b5b5b5; margin-top: 0; padding: 46px 0 22px; }
.foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
footer.site h4 { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.age-pill { border-radius: 0; border-color: #a80f16; background: #a80f16; }
footer.site a:hover { color: #fff; text-decoration: underline; }
.foot-legal { text-align: left; border-top: 1px solid #2c2c2c; color: #8b8b8b; line-height: 1.6; }
.foot-legal p { margin: 0 0 8px; } .foot-legal b { color: #ddd; }

/* age gate + product pop-up in the same style */
.age { border-radius: 0; }
.age h2 { text-transform: uppercase; font-size: 20px; letter-spacing: .03em; }
.age .btn { border-radius: 0; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
dialog.modal { border-radius: 0; }
.opt { border-radius: 0; }
.opt.on { background: #a80f16; color: #fff; border-color: #a80f16; }
.vd-img { border-radius: 0; background: #fff; border: 1px solid #eee; }
.vd-price { color: #111; font-weight: 800; }

/* ---- Add to Cart / Buy Now */
.name-link { all: unset; cursor: pointer; display: block; color: inherit; font: inherit; }
.name-link:hover { color: #a80f16; text-decoration: underline; }
.card .buy { display: grid; gap: 8px; }
.card .btn.block { margin: 0; }
.card .btn.block.addc { background: #fff; color: #a80f16; border: 2px solid #a80f16; }
.card .btn.block.addc:hover { background: #a80f16; color: #fff; }
.card .btn.block.now { background: #a80f16; color: #fff; border: 2px solid #a80f16; }
.card .btn.block.now:hover { background: #111; border-color: #111; }
.card .btn.block.addc .i { width: 16px; height: 16px; }
.vd-qty { display: flex; align-items: center; gap: 14px; margin: 4px 0 14px; font-size: 13.5px; font-weight: 600; }
.vd-qty .stepper { width: 130px; height: 40px; border-radius: 0; }
.vd-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vd-btns .btn { height: 52px; border-radius: 0; font-size: 13.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.vd-btns .btn.now { background: #a80f16; color: #fff; }
.vd-btns .btn.now:hover { background: #111; }
.vd-btns .btn.addc { background: #fff; color: #a80f16; border: 2px solid #a80f16; }
.vd-btns .btn.addc:hover { background: #a80f16; color: #fff; }
.vd-btns .btn:only-child { grid-column: 1 / -1; }
.vd-incart { min-height: 20px; margin: 10px 0 0; color: var(--ok); font-weight: 600; }
.vd-incart .i { width: 15px; height: 15px; vertical-align: -3px; }
