/* ============================================================
   Smart 99¢ Plus — "Game Night × Sign" storefront theme
   Game Night layout (bold type, 2px outlines, offset "pop"
   shadows) in the colors of the store sign: maroon outlines,
   coral, gold, pink and the teal stripe. Mobile first.
   Built on Bootstrap 5 (grid, dropdowns, forms, alerts).
   ============================================================ */

:root {
  /* logo palette */
  --paper:   #FFF9F6;
  --white:   #FFFFFF;
  --ink:     #5E171C;   /* maroon: outlines, shadows, dark panels */
  --ink-2:   #7A2228;
  --text:    #2A1215;   /* body copy */
  --muted:   #7A5C5F;
  --hair:    #EAD9D5;
  --red:     #E8483F;   /* coral */
  --red-2:   #C23A32;
  --yellow:  #FFC93C;   /* gold */
  --pink:    #F0668E;
  --pink-2:  #D94C76;
  --teal:    #2E6E6E;
  --teal-2:  #245757;
  --y-soft:  #FFF4D1;
  --r-soft:  #FFE3EC;
  --n-soft:  #E3F0EF;
  --ok:      #12824F;
  --ok-soft: #D8F2E4;
  --stripe:  repeating-linear-gradient(180deg, rgba(255,255,255,.12) 0 2px, transparent 2px 7px);
  --tabbar-h: 0px;

  /* legacy aliases so older markup keeps its meaning */
  --primary: var(--red); --primary-dark: var(--red-2); --accent: var(--yellow);
  --dark: var(--ink); --gray-100: #F1F2F6; --gray-200: var(--hair); --gray-600: var(--muted);

  --display: 'Big Shoulders Display', Impact, 'Arial Narrow', sans-serif;
  --script:  'Yellowtail', 'Brush Script MT', cursive;
  --chunky:  'Bowlby One', Impact, 'Arial Black', sans-serif;
  --body:    'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-heading: var(--display); --font-body: var(--body);

  --pop:    5px 5px 0 var(--ink);
  --pop-lg: 8px 8px 0 var(--ink);
  --radius: 14px;
  --t: .15s ease;

  --bs-body-font-family: var(--body);
  --bs-body-color: var(--text);
  --bs-body-bg: var(--paper);
  --bs-primary: #2E6E6E;
  --bs-primary-rgb: 46, 110, 110;
  --bs-link-color: var(--ink);
  --bs-link-hover-color: var(--teal);
  --bs-border-color: var(--hair);
}

/* ── Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); color: var(--text); background: var(--paper); line-height: 1.55; font-size: 15.5px; overflow-x: hidden; }
a { color: inherit; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
img { max-width: 100%; }
h1, h2, h3, h4, h5, h6 { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .95; letter-spacing: .005em; text-wrap: balance; }
h5, h6 { font-weight: 800; letter-spacing: .02em; }
/* script accent words, like "Smart" on the sign */
.scr { font-family: var(--script); font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--pink); text-shadow: .06em .06em 0 var(--ink); font-size: 1.02em; line-height: 1; display: inline-block; padding-right: .08em; }
/* chunky gold numbers, like the "99" on the sign */
.gold-num { font-family: var(--chunky); font-weight: 400; color: var(--yellow); letter-spacing: .01em;
  text-shadow: -1.5px -1.5px 0 var(--ink), 1.5px -1.5px 0 var(--ink), -1.5px 1.5px 0 var(--ink), 1.5px 1.5px 0 var(--ink), 0 2px 0 var(--ink), 3px 3px 0 var(--ink); }
.lbl { font: 600 11.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.fw-600 { font-weight: 600; } .fw-700 { font-weight: 700; } .fw-800 { font-weight: 800; }
.text-primary { color: var(--teal) !important; }
.text-muted { color: var(--muted) !important; }
.bg-primary { background: var(--teal) !important; }
.container { max-width: 1280px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  --bs-btn-border-radius: 8px;
  font-weight: 700; border: 2px solid var(--ink); border-radius: 8px;
  padding: .7rem 1.3rem; box-shadow: var(--pop);
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  background: var(--white); color: var(--ink);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); color: var(--ink); border-color: var(--ink); }
.btn:active, .btn.active { transform: translate(3px, 3px) !important; box-shadow: 2px 2px 0 var(--ink) !important; }
.btn:disabled, .btn.disabled { opacity: .45; transform: none; box-shadow: var(--pop); }
.btn-sm { padding: .4rem .8rem; font-size: .85rem; box-shadow: 3px 3px 0 var(--ink); }
.btn-sm:hover { box-shadow: 4px 4px 0 var(--ink); }
.btn-lg { padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn-primary, .btn-hero-primary { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.btn-primary:hover, .btn-hero-primary:hover, .btn-primary:focus, .btn-primary:active { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.btn-red, .btn-danger { background: var(--red-2); color: #fff; border-color: var(--ink); }
.btn-red:hover, .btn-danger:hover { background: var(--red-2); color: #fff; border-color: var(--ink); }
.btn-pink { background: var(--pink-2); color: #fff; }
.btn-pink:hover { background: var(--pink-2); color: #fff; }
.btn-yellow, .btn-warning, .btn-add-to-cart { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover, .btn-warning:hover, .btn-add-to-cart:hover { background: var(--yellow); }
.btn-ink, .btn-dark { background: var(--ink); color: #fff; }
.btn-ink:hover, .btn-dark:hover { background: var(--ink); color: #fff; }
.btn-outline-primary, .btn-outline-dark, .btn-outline-secondary, .btn-hero-outline, .btn-light { background: var(--white); color: var(--ink); }
.btn-outline-primary:hover, .btn-outline-dark:hover, .btn-outline-secondary:hover, .btn-light:hover { background: var(--y-soft); color: var(--ink); }
.btn-success { background: var(--ok); color: #fff; }
.btn-link { border: 0; box-shadow: none; background: none; color: var(--ink); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 3px; padding: 0; }
.btn-link:hover { transform: none; box-shadow: none; }
.btn-close { box-shadow: none; border: 0; }

/* ── Forms ─────────────────────────────────────────────────── */
.form-control, .form-select {
  border: 2px solid var(--ink); border-radius: 8px; padding: .6rem .85rem;
  background-color: var(--white); color: var(--ink); font-size: 1rem;
}
.form-control:focus, .form-select:focus { border-color: var(--ink); box-shadow: 3px 3px 0 var(--teal); }
.form-control-sm, .form-select-sm { padding: .35rem .6rem; font-size: .9rem; }
.form-label { font: 600 11.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .4rem; }
.form-check-input { border: 2px solid var(--ink); }
.form-check-input:checked { background-color: var(--teal); border-color: var(--ink); }
.input-group > .btn { box-shadow: none; }
.input-group > .btn:hover { transform: none; }

/* ── Alerts / flash ────────────────────────────────────────── */
.flash-container { padding-top: 1rem; }
.alert { border: 2px solid var(--ink); border-radius: 10px; box-shadow: 4px 4px 0 var(--ink); font-weight: 600; }
.alert-success { background: var(--ok-soft); color: var(--ink); }
.alert-danger  { background: var(--r-soft); color: var(--ink); }
.alert-warning { background: var(--y-soft); color: var(--ink); }
.alert-info    { background: var(--n-soft); color: var(--ink); }

/* ── Badges ────────────────────────────────────────────────── */
.badge { font: 600 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: .45em .65em; border-radius: 4px; }
.bg-success { background: var(--ok) !important; }
.bg-warning { background: var(--yellow) !important; color: var(--ink) !important; }
.bg-danger  { background: var(--red) !important; }
.bg-secondary { background: var(--muted) !important; }

/* ── Logo ──────────────────────────────────────────────────── */
.logo { display: inline-flex; align-items: center; font: 900 30px/1 var(--display); text-transform: uppercase; color: var(--ink); text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.logo img { height: 46px; width: auto; display: block; }
.logo:hover { color: var(--ink); }
.logo .n { background: var(--red); color: #fff; padding: 4px 8px 2px; margin: 0 5px; transform: rotate(-3deg); display: inline-block; box-shadow: 3px 3px 0 var(--ink); }
.logo-sm { font-size: 22px; }
/* legacy brand spans */
.brand-smart, .brand-plus { font-family: var(--display); font-weight: 900; text-transform: uppercase; color: inherit; }
.brand-99 { font-family: var(--display); font-weight: 900; background: var(--red); color: #fff; padding: 2px 6px; display: inline-block; transform: rotate(-3deg); }

/* ── Ticker / announcement ─────────────────────────────────── */
.ticker { background: var(--teal) var(--stripe); color: #fff; border-bottom: 2px solid var(--ink); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 36px; padding: 8px 0; animation: tick 38s linear infinite; font: 800 16px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.ticker-track span::after { content: "✦"; margin-left: 36px; color: var(--yellow); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ── Header ────────────────────────────────────────────────── */
.site-header { background: var(--paper); border-bottom: 2px solid var(--ink); position: sticky; top: 0; z-index: 1030; }
.site-header .hdr { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding-block: 12px; }
.navl { display: flex; gap: 2px; justify-content: center; flex-wrap: nowrap; min-width: 0; }
.navl a, .navl .dropdown-toggle { font-weight: 700; font-size: 14.5px; padding: 8px 11px; border-radius: 6px; text-decoration: none; white-space: nowrap; background: none; border: 0; color: var(--ink); }
.navl a:hover, .navl .dropdown-toggle:hover { background: var(--y-soft); color: var(--ink); }
.navl a.hot { background: var(--yellow); }
.navl a.is-active { box-shadow: inset 0 -3px 0 var(--red); }
.hicons { display: flex; gap: 8px; align-items: center; }
.sbox { display: flex; align-items: center; border: 2px solid var(--ink); border-radius: 8px; background: var(--white); padding: 0 10px; margin: 0; }
.sbox input { border: 0; outline: none; padding: 8px 6px; width: 170px; background: none; color: var(--ink); }
.sbox button { border: 0; background: none; padding: 0; color: var(--ink); }
.hbtn { position: relative; display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--ink); border-radius: 10px; background: var(--white); color: var(--ink); padding: 8px 12px; min-height: 44px; font-weight: 700; cursor: pointer; text-decoration: none; line-height: 1.2; box-shadow: 3px 3px 0 var(--ink); }
.hbtn:hover { background: var(--y-soft); color: var(--ink); }
.hbtn i { font-size: 17px; }
.hbtn.cart { background: var(--yellow); color: var(--ink); }
.hbtn.cart:hover { background: var(--yellow); color: var(--ink); }
.cart-badge { background: var(--pink-2); color: #fff; font: 600 12px/1 var(--mono); min-width: 22px; height: 22px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.menu-btn { display: none; }
.dropdown-menu { border: 2px solid var(--ink); border-radius: 10px; box-shadow: var(--pop); padding: .4rem; }
.dropdown-item { border-radius: 6px; font-weight: 600; padding: .5rem .75rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--y-soft); color: var(--ink); }
.dropdown-item.active, .dropdown-item:active { background: var(--ink); color: #fff; }

/* mobile menu panel */
.mnav { border-top: 2px solid var(--ink); background: var(--white); }
.mnav .container { padding-block: 12px 16px; display: grid; gap: 4px; }
.mnav a { font: 800 22px/1.2 var(--display); text-transform: uppercase; padding: 6px 0; text-decoration: none; }
.mnav form { margin-bottom: 8px; }
.mnav .sbox input { width: 100%; }

/* ── Page header (inner pages) ─────────────────────────────── */
.page-header-bar { border-bottom: 2px solid var(--ink); padding-block: 28px 20px; background: var(--paper); }
.page-title { font-size: clamp(44px, 7vw, 96px); margin: 0; }
.breadcrumb { font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; margin-bottom: .6rem; }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb-item.active { color: var(--ink); }
.breadcrumb-item + .breadcrumb-item::before { content: "/"; color: var(--muted); }
.section-title, .section-header h2 { font-size: clamp(40px, 5.4vw, 72px); margin: 0; }
.section-subtitle { color: var(--muted); }
.section-padded { padding-block: 56px; }
.sechead { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.sechead h2 { font-size: clamp(40px, 5.4vw, 72px); margin: 0; }
.ulink { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--pink); padding-block: 10px 2px; }
.ulink:hover { color: var(--teal); }

/* ── Panels (generic bordered box) ─────────────────────────── */
.panel, .card, .checkout-section, .store-info-card, .about-value-card, .stat-card, .auth-card, .filter-sidebar {
  background: var(--white); border: 2px solid var(--ink) !important; border-radius: var(--radius); box-shadow: var(--pop) !important;
}
.card-header { background: var(--white); color: var(--ink); border-bottom: 2px solid var(--ink); font-weight: 700; }
.card-header:first-child { border-radius: 11px 11px 0 0; }
.card-footer { background: var(--paper); border-top: 2px solid var(--ink); }

/* ── Home: hero + bento ────────────────────────────────────── */
.hero { padding-block: 40px 24px; }
.hero-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: end; }
.hero h1 { font-size: clamp(64px, 10.5vw, 158px); letter-spacing: -.01em; margin: 0; }
.hero h1 .scr { font-size: .9em; }
.hside { display: grid; gap: 18px; padding-bottom: 12px; }
.hside p { font-size: 18px; margin: 0; max-width: 40ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 170px; gap: 16px; margin-top: 28px; }
.tile { position: relative; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--pop); transition: transform var(--t), box-shadow var(--t); background: var(--white); text-decoration: none; color: var(--ink); }
a.tile:hover { transform: translate(-2px, -2px); box-shadow: var(--pop-lg); color: inherit; }
.tile h3 { font-size: clamp(28px, 3vw, 44px); position: relative; z-index: 1; margin: 0; max-width: 11ch; }
.tile .lbl { position: relative; z-index: 1; }
.tile .art { position: absolute; right: -10px; bottom: -16px; width: 42%; max-width: 240px; pointer-events: none; }
.tile .art svg, .tile .art img { width: 100%; height: auto; display: block; }
.tile .art img { aspect-ratio: 1; object-fit: contain; }
.tile.t1 { grid-column: span 3; grid-row: span 2; background: var(--red); color: #fff; }
.tile.t1 h3 { font-size: clamp(40px, 5vw, 72px); }
.tile.t1 .art { width: 50%; right: 0; bottom: -8px; }
.tile.t1 p { margin: 10px 0 0; opacity: .82; max-width: 26ch; position: relative; z-index: 1; }
.tile.t2 { grid-column: span 3; background: var(--pink); color: #fff; }
.tile.t2 h3 { text-shadow: 2px 2px 0 var(--ink); }
.tile.t3 { grid-column: span 2; background: var(--white); }
.tile.t3 .big { font-size: 54px; line-height: 1; }
.tile.t4 { grid-column: span 1; align-items: center; justify-content: center; text-align: center; background: var(--teal) var(--stripe); color: #fff; }
.tile.t4 b { font: 900 40px/1 var(--display); display: block; }
.tile.t5 { grid-column: span 2; }
.tile.t6 { grid-column: span 2; background: var(--y-soft); }
.tile.t7 { grid-column: span 2; background: var(--teal); color: #fff; }
.tile.t1 .lbl, .tile.t7 .lbl { color: var(--y-soft); }
.tile.t1 p { opacity: 1; }
.countdown { display: flex; gap: 8px; margin-top: 12px; position: relative; z-index: 1; }
.countdown span { background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 8px; padding: 6px 8px; font: 600 20px/1.1 var(--mono); min-width: 52px; text-align: center; }
.countdown small { display: block; font: 600 9px var(--mono); letter-spacing: .1em; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.step { padding: 26px; border-right: 2px solid var(--ink); }
.step:last-child { border-right: 0; }
.step .k { font: 900 64px/1 var(--display); color: var(--teal); }
.step h3 { font-size: 32px; margin: 8px 0 6px; }
.step p { margin: 0; color: var(--muted); }

.visit { background: var(--teal-2) var(--stripe); color: #fff; border-top: 2px solid var(--ink); }
.visit .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; padding-block: 56px; align-items: center; }
.visit h2 { font-size: clamp(46px, 6vw, 88px); margin: 0; }
.visit h2 .scr { color: var(--yellow); }
.visit dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; margin: 0; font-size: 16px; }
.visit dt { font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); padding-top: 3px; }
.visit dd { margin: 0; }
.visit a { color: #fff; }

.empty-state { border: 2px dashed var(--ink); border-radius: var(--radius); padding: 48px 24px; text-align: center; background: var(--white); }
.empty-state h3 { font-size: 40px; }

/* ── Product grid + card ───────────────────────────────────── */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pgrid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--pop); transition: transform var(--t), box-shadow var(--t); height: 100%; position: relative; }
.product-card:hover { transform: translate(-2px, -2px); box-shadow: var(--pop-lg); }
.product-image-link { display: block; text-decoration: none; }
.product-image-wrapper { aspect-ratio: 5 / 4; display: grid; place-items: center; border-bottom: 2px solid var(--ink); background: var(--y-soft); overflow: hidden; }
.pgrid > :nth-child(3n+2) .product-image-wrapper { background: var(--r-soft); }
.pgrid > :nth-child(3n) .product-image-wrapper { background: var(--n-soft); }
.product-img { width: 100%; height: 100%; object-fit: contain; padding: 14px; mix-blend-mode: multiply; transition: transform .3s; }
.product-card:hover .product-img, .product-card:hover .art-svg { transform: scale(1.04); }
.product-image-wrapper .art-svg { width: 62%; height: auto; transition: transform .3s; }
.product-badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--ink); color: #fff; font: 600 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 8px; border-radius: 4px; }
.product-badge.badge-sale { background: var(--pink-2); }
.product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-category-tag { font: 600 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.product-name { font: 700 16px/1.3 var(--body); text-transform: none; letter-spacing: 0; margin: 0; min-height: 2.6em; }
.product-name a { text-decoration: none; }
.product-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--hair); }
.product-pricing { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.product-price { font: 400 24px/1 var(--chunky); color: var(--yellow);
  text-shadow: -1.2px -1.2px 0 var(--ink), 1.2px -1.2px 0 var(--ink), -1.2px 1.2px 0 var(--ink), 1.2px 1.2px 0 var(--ink), 0 1.5px 0 var(--ink), 2px 2px 0 var(--ink); }
.product-compare-price { font: 500 13px var(--mono); color: var(--muted); text-decoration: line-through; }
.add-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border: 2px solid var(--ink); background: var(--pink-2); color: #fff; border-radius: 10px; padding: 8px 14px; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; text-decoration: none; line-height: 1.2; box-shadow: 2px 2px 0 var(--ink); }
.add-btn:hover { background: var(--pink-2); color: #fff; transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.add-btn i { font-size: 16px; }
.add-btn-wide { background: var(--white); color: var(--ink); }
.add-btn-wide:hover { background: var(--y-soft); color: var(--ink); }
.add-btn:disabled, .add-btn.disabled { background: var(--hair); color: var(--muted); cursor: not-allowed; pointer-events: none; }
.oos { font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--red-2); }

/* card color dots */
.product-card-swatches { display: flex; align-items: center; gap: .25rem; min-height: 16px; }
.card-swatch { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); display: inline-block; }
.card-swatch.out-of-stock { opacity: .35; }
.card-swatch-more { font: 600 11px var(--mono); color: var(--muted); margin-left: .2rem; }

/* ── Shop ──────────────────────────────────────────────────── */
.shoptop { padding-block: 30px 20px; border-bottom: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.shoptop h1 { font-size: clamp(48px, 7vw, 104px); margin: 0; }
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding-block: 28px 64px; }
.filters { position: sticky; top: 96px; align-self: start; display: grid; gap: 24px; }
.filters .lbl { display: block; margin-bottom: 10px; color: var(--muted); }
.chips { display: flex; flex-direction: column; gap: 4px; }
.chip { text-align: left; border: 2px solid transparent; background: none; border-radius: 8px; padding: 8px 12px; font-weight: 700; text-decoration: none; color: var(--ink); white-space: nowrap; }
.chip:hover { border-color: var(--hair); color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; }
.pricebox-f { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sortbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.sortbar .form-select { width: auto; font-weight: 600; }
.pagination { gap: 6px; }
.page-link { border: 2px solid var(--ink) !important; border-radius: 8px !important; color: var(--ink); font: 600 14px var(--mono); min-width: 42px; text-align: center; }
.page-item.active .page-link { background: var(--ink); color: #fff; }
.page-link:hover { background: var(--y-soft); color: var(--ink); }

/* ── Product detail ────────────────────────────────────────── */
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding-block: 32px 56px; }
.stage { aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 18px; background: var(--yellow); display: grid; place-items: center; box-shadow: var(--pop-lg); position: relative; overflow: hidden; }
.stage::before { content: ""; position: absolute; width: 76%; aspect-ratio: 1; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); }
.stage img { position: relative; width: 70%; height: 70%; object-fit: contain; }
.stage .art-svg { width: 56%; position: relative; }
.product-thumbnails { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.product-thumbnail { width: 80px; aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 10px; background: var(--white); display: grid; place-items: center; cursor: pointer; overflow: hidden; padding: 6px; }
.product-thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.product-thumbnail.active { background: var(--y-soft); box-shadow: 3px 3px 0 var(--ink); }
.product-detail-title { font-size: clamp(44px, 5.4vw, 76px); margin: 12px 0 14px; }
.pmeta { display: flex; gap: 8px; flex-wrap: wrap; }
.pmeta span, .pmeta a { border: 2px solid var(--ink); border-radius: 6px; padding: 4px 10px; font-weight: 700; font-size: 13px; background: var(--white); text-decoration: none; }
.product-detail-pricing { display: flex; align-items: baseline; gap: 12px; margin: 24px 0 8px; flex-wrap: wrap; }
.price-main { font: 400 64px/1 var(--chunky); color: var(--yellow);
  text-shadow: -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink), 0 3px 0 var(--ink), 5px 5px 0 var(--ink); }
.price-compare { font: 500 16px var(--mono); color: var(--muted); text-decoration: line-through; }
.save-chip { background: var(--ink); color: var(--yellow); font: 600 12px var(--mono); padding: 5px 9px; border-radius: 4px; }
.product-short-desc { font-size: 17px; max-width: 52ch; }
.stock-status .badge { font-size: 11.5px; padding: .5em .8em; border: 2px solid var(--ink); }
.buyrow { display: flex; gap: 12px; margin: 22px 0; }
.buyrow .btn { flex: 1; }
.quantity-selector { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 8px; background: var(--white); overflow: hidden; }
.qty-btn { width: 44px; min-height: 48px; background: none; border: 0; cursor: pointer; font-size: 18px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: var(--y-soft); }
.qty-input { width: 44px; text-align: center; border: 0; background: none; font: 600 16px var(--mono); -moz-appearance: textfield; appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity-selector-sm .qty-btn { width: 34px; min-height: 36px; font-size: 15px; }
.quantity-selector-sm .qty-input { width: 38px; font-size: 14px; }
.facts { border-top: 2px solid var(--ink); margin-top: 10px; }
.facts > div { display: grid; grid-template-columns: 140px 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 15px; }
.facts > div > span:first-child { font: 600 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.product-description { font-size: 16px; max-width: 65ch; }
.product-description img { border: 2px solid var(--ink); border-radius: 10px; }

/* swatches */
.variant-label { font: 600 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.swatch { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem .35rem .4rem; border: 2px solid var(--ink); background: var(--white); border-radius: 8px; font-size: .9rem; font-weight: 700; color: var(--ink); cursor: pointer; min-height: 44px; transition: transform var(--t), box-shadow var(--t); }
.swatch:hover:not(.out-of-stock) { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.swatch.selected { background: var(--y-soft); box-shadow: 3px 3px 0 var(--teal); }
.swatch-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ink); flex-shrink: 0; display: inline-block; position: relative; }
.swatch.out-of-stock { opacity: .45; cursor: not-allowed; }
.swatch.out-of-stock .swatch-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(45deg, transparent 44%, var(--ink) 44% 56%, transparent 56%); }
.swatch.out-of-stock .swatch-label { text-decoration: line-through; }
.swatch-dot-inline { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); }
.cart-item-color, .drawer-item-color { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .8rem; }
.drawer-item-color-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); }

/* mobile sticky add-to-cart */
.mobile-sticky-cart { position: fixed; left: 0; right: 0; bottom: var(--tabbar-h); padding: .75rem 1rem; /* sits right above the tab bar, which handles the home-bar gap */ background: var(--paper); border-top: 2px solid var(--ink); z-index: 1040; transform: translateY(110%); transition: transform .25s ease; }
.mobile-sticky-cart.visible { transform: translateY(0); }
.mobile-sticky-cart .btn { box-shadow: 3px 3px 0 var(--ink); }
.qty-readout { padding: 0 .5rem; font: 600 15px var(--mono); }

/* ── Cart drawer ───────────────────────────────────────────── */
.cart-drawer-overlay { position: fixed; inset: 0; background: rgba(42, 18, 21, .5); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 1060; }
.cart-drawer-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); border-left: 2px solid var(--ink); z-index: 1061; transform: translateX(100%); visibility: hidden; transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s .3s; display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom, 0px); }
.cart-drawer.open { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.cart-drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 2px solid var(--ink); background: var(--yellow); }
.cart-drawer-header h5 { font-size: 40px; margin: 0; }
.cart-close-btn { border: 2px solid var(--ink); background: var(--white); border-radius: 8px; width: 42px; height: 42px; cursor: pointer; display: grid; place-items: center; }
.freebar { padding: 12px 20px; border-bottom: 1px solid var(--hair); font-size: 14px; }
.freebar .track { height: 10px; border: 2px solid var(--ink); border-radius: 6px; margin-top: 8px; overflow: hidden; background: var(--white); }
.freebar .fill { height: 100%; background: var(--teal); transition: width .3s; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 6px 20px; }
.drawer-cart-item { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.drawer-item-img { width: 68px; height: 68px; border: 2px solid var(--ink); border-radius: 10px; background: var(--y-soft); object-fit: contain; flex-shrink: 0; padding: 4px; }
.drawer-item-info { flex: 1; min-width: 0; }
.drawer-item-name { font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.drawer-item-price { font: 600 13px var(--mono); color: var(--teal); }
.drawer-cart-item .quantity-selector { border-radius: 6px; }
.drawer-cart-item .qty-btn { width: 30px; min-height: 30px; font-size: 14px; }
.drawer-item-remove { background: none; border: 0; color: var(--muted); padding: .3rem .45rem; border-radius: 6px; cursor: pointer; }
.drawer-item-remove:hover { color: var(--red-2); background: var(--r-soft); }
.cart-drawer-footer { padding: 18px 20px; border-top: 2px solid var(--ink); }
.cart-drawer-footer .btn { box-shadow: 3px 3px 0 var(--ink); }
#drawerSubtotal { font: 900 30px/1 var(--display); color: var(--ink) !important; }

/* ── Cart page ─────────────────────────────────────────────── */
.cart-table { margin: 0; }
.cart-table thead th, .table thead th { font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: #fff; border: 0; padding: 12px; }
.cart-table td { vertical-align: middle; padding: 14px 12px; border-color: var(--hair); }
.cart-item-thumb, .cart-item-thumb-placeholder { width: 84px; height: 84px; border: 2px solid var(--ink); border-radius: 10px; object-fit: contain; background: var(--y-soft); padding: 4px; display: grid; place-items: center; color: var(--muted); }
.cart-item-thumb-placeholder .art-svg { width: 80%; }
.table { --bs-table-bg: transparent; }
.table-responsive { border-radius: 12px; }

/* ── Checkout ──────────────────────────────────────────────── */
.checkout-progress { display: flex; align-items: center; }
.progress-step { display: flex; align-items: center; gap: .45rem; font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.progress-step span { width: 28px; height: 28px; border: 2px solid var(--ink); border-radius: 6px; background: var(--white); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.progress-step.active { color: var(--ink); }
.progress-step.active span { background: var(--teal); color: #fff; }
.progress-step.completed span { background: var(--ink); color: #fff; }
.progress-connector { flex: 1; height: 2px; background: var(--ink); margin: 0 .6rem; min-width: 24px; }
.checkout-section { padding: 1.5rem; }
.checkout-section-title { font: 900 28px/1 var(--display); text-transform: uppercase; margin-bottom: 1.1rem; padding-bottom: .75rem; border-bottom: 2px solid var(--ink); }
.stripe-element-container { min-height: 60px; padding: .75rem; border: 2px solid var(--ink); border-radius: 10px; background: var(--white); }
.shipping-option { display: block; border: 2px solid var(--ink); border-radius: 10px; padding: .85rem 1rem; cursor: pointer; margin-bottom: .65rem; background: var(--white); transition: box-shadow var(--t), background var(--t); }
.shipping-option:hover { background: var(--y-soft); }
.shipping-option.selected { background: var(--y-soft); box-shadow: 4px 4px 0 var(--teal); }
.shipping-option input[type="radio"] { display: none; }
.shipping-option-content { font-size: .95rem; }
.confirmation-icon { font-size: 5rem; color: var(--teal); line-height: 1; }
.order-number-badge { display: inline-block; background: var(--yellow); border: 2px solid var(--ink); box-shadow: var(--pop); border-radius: 8px; padding: .6rem 1.4rem; font: 600 16px var(--mono); margin-top: .5rem; }
.order-number-badge strong { color: var(--ink); }

/* order status pills */
.status-pending, .status-processing, .status-shipped, .status-delivered, .status-cancelled, .status-refunded { border: 2px solid var(--ink); color: var(--ink) !important; }
.status-pending    { background: var(--y-soft); }
.status-processing { background: var(--n-soft); }
.status-shipped    { background: #DCEBFF; }
.status-delivered  { background: var(--ok-soft); }
.status-cancelled  { background: var(--r-soft); }
.status-refunded   { background: #EDEDF2; }

/* ── Auth / account ────────────────────────────────────────── */
.auth-page { min-height: calc(100vh - 220px); display: flex; align-items: center; padding: 3rem 0; background: var(--paper); }
.auth-card { padding: 2.25rem; }
.auth-header h2, .auth-header h1 { font-size: 48px; }
.auth-logo { text-decoration: none; }
.account-avatar { width: 72px; height: 72px; border: 2px solid var(--ink); border-radius: 12px; background: var(--red); color: #fff; font: 900 32px/1 var(--display); display: flex; align-items: center; justify-content: center; box-shadow: 3px 3px 0 var(--ink); }
.stat-card { padding: 1.25rem; text-align: center; }
.stat-number { font: 900 44px/1 var(--display); color: var(--teal); }
.stat-label { font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nav-tabs { border-bottom: 2px solid var(--ink); gap: 6px; }
.nav-tabs .nav-link { border: 2px solid var(--ink); border-bottom: 0; border-radius: 8px 8px 0 0; font-weight: 700; color: var(--ink); background: var(--white); }
.nav-tabs .nav-link.active { background: var(--ink); color: #fff; }

/* ── Content pages ─────────────────────────────────────────── */
.prose { font-size: 17px; max-width: 65ch; }
.prose p { margin-bottom: 1rem; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; box-shadow: var(--pop); }
.info-card .k { font: 900 56px/1 var(--display); color: var(--teal); }
.info-card h3 { font-size: 30px; margin: 10px 0 6px; }
.info-card p { color: var(--muted); margin: 0; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; }
.contact-info-icon { width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 8px; background: var(--yellow); display: grid; place-items: center; flex-shrink: 0; font-size: 18px; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer { background: #3A0E12; color: #EBD3CF; padding-block: 48px 28px; font-size: 14px; border-top: 2px solid var(--ink); }
.site-footer .logo { color: #fff; }
.site-footer h6 { color: #fff; font-size: 20px; margin-bottom: 12px; }
.site-footer a { color: #EBD3CF; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.16); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }
.pay { display: flex; gap: 6px; flex-wrap: wrap; }
.pay span { font: 600 10px var(--mono); border: 1px solid rgba(255,255,255,.28); padding: 5px 7px; border-radius: 4px; color: #F3E1DE; }
.social-links { display: flex; gap: 8px; }
.social-link { width: 44px; height: 44px; border: 2px solid rgba(255,255,255,.28); border-radius: 8px; display: grid; place-items: center; font-size: 16px; }
.social-link:hover { border-color: var(--yellow); }

/* ── Toasts ────────────────────────────────────────────────── */
#toastContainer .toast { background: var(--yellow); border: 2px solid var(--ink); border-radius: 8px; box-shadow: var(--pop); color: var(--ink); }

/* ── Errors ────────────────────────────────────────────────── */
.err { padding-block: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.err .code { font: 900 clamp(120px, 20vw, 260px)/.8 var(--display); color: var(--red); -webkit-text-stroke: 2px var(--ink); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1240px) { .sbox input { width: 120px; } .navl a { padding: 8px 8px; } }
@media (max-width: 1060px) {
  .site-header .hdr { grid-template-columns: auto 1fr; }
  .navl, .hicons .sbox, .hicons .acct-label { display: none; }
  .hicons { justify-content: flex-end; }
  .menu-btn { display: inline-flex; }
  .hero-top, .pd, .visit .container, .err { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .tile { min-height: 170px; }
  .tile.t1, .tile.t2, .tile.t3, .tile.t4, .tile.t5, .tile.t6, .tile.t7 { grid-column: span 2; }
  .tile.t1 { min-height: 340px; grid-row: auto; }
  .pgrid, .pgrid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .steps, .info-grid { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 2px solid var(--ink); }
  .step:last-child { border-bottom: 0; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .chips { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .logo { font-size: 24px; }
  .pgrid, .pgrid.cols-3 { gap: 12px; }
  .product-body { padding: 10px 12px 12px; }
  .product-name { font-size: 14px; }
  .product-price { font-size: 24px; }
  .product-row { flex-direction: column; align-items: stretch; }
  .add-btn { text-align: center; }
  .price-main { font-size: 64px; }
  .facts > div { grid-template-columns: 1fr; }
  .hbtn { padding: 8px 10px; }
  .hbtn .cart-label { display: none; }
  .cart-drawer-header h5 { font-size: 32px; }
  body.has-sticky-cart { padding-bottom: 84px; }
  input.form-control, select.form-select, textarea.form-control { font-size: 16px; }
  .cart-item-thumb, .cart-item-thumb-placeholder { width: 64px; height: 64px; }
}
@media (hover: none) { .qty-btn { min-width: 44px; min-height: 44px; } .swatch { min-height: 48px; } }
.shop-layout > *, .pd > *, .hero-top > * { min-width: 0; }
.ticker { position: relative; }
.ticker .visually-hidden { left: 0; top: 0; }
@media (max-width: 560px) {
  .site-header .hdr { gap: 10px; }
  .hicons { gap: 6px; }
  .hicons .acct { display: none; }
  .logo .n { margin: 0 3px; padding: 3px 6px 1px; }
}
.filters > *, .filters form { min-width: 0; }
.tile.t5 h3, .tile.t6 h3, .tile.t7 h3, .tile.t2 h3 { max-width: 60%; }
.tile.t5 .art, .tile.t6 .art, .tile.t7 .art { width: 34% !important; }
@media (max-width: 1060px) { .tile h3 { max-width: 60% !important; } }
@media (max-width: 1240px) { .navl > a:nth-of-type(3) { display: none; } }
/* header v2: search in the middle, categories on their own strip */
.site-header .hdr { grid-template-columns: auto minmax(0, 1fr) auto; }
.hsearch { max-width: 520px; width: 100%; justify-self: center; }
.hsearch input { width: 100%; }
.catbar { border-top: 2px solid var(--ink); background: var(--white); }
.catbar .container { display: flex; gap: 2px; overflow-x: auto; padding-block: 6px; scrollbar-width: none; }
.catbar .container::-webkit-scrollbar { display: none; }
.catbar a { font-weight: 700; font-size: 14px; padding: 7px 12px; border-radius: 6px; text-decoration: none; white-space: nowrap; }
.catbar a:hover { background: var(--y-soft); color: var(--ink); }
.catbar a.hot { background: var(--yellow); }
.catbar a.is-active { background: var(--ink); color: #fff; }
@media (max-width: 1060px) { .hsearch { display: none; } .site-header .hdr { grid-template-columns: auto 1fr; } }

/* ============================================================
   Mobile-first additions (logo "mashup" redesign)
   ============================================================ */

/* Footer logo sits on a light chip so the maroon outlines read on the dark footer */
.site-footer .logo { background: var(--paper); border-radius: 12px; padding: 8px 12px; }
.site-footer .logo img { height: 44px; }
.site-footer { border-top: 0; box-shadow: inset 0 8px 0 var(--teal); }

/* Search row under the header (phones / tablets) */
.msearch-wrap { display: none; }
.msearch { width: 100%; min-height: 48px; box-shadow: 3px 3px 0 var(--ink); border-radius: 12px; }
.msearch input { width: 100%; font-size: 16px; padding: 10px 8px; } /* 16px stops iPhone zooming in */
.msearch input::-webkit-search-cancel-button { display: none; }
.msearch button { min-width: 32px; min-height: 44px; font-size: 18px; }

/* Home: "Shop by price" */
.shopby { margin-top: 36px; display: grid; gap: 14px; }
.shopby h2 { font-size: clamp(34px, 4.4vw, 56px); margin: 0; }
.pricechips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px 4px 6px 2px; }
.pricechips::-webkit-scrollbar { display: none; }
.pchip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: 3px 3px 0 var(--ink); white-space: nowrap; transition: transform var(--t), box-shadow var(--t); }
.pchip b { font: 400 18px/1 var(--chunky); color: var(--teal); }
.pchip:hover { color: var(--ink); background: var(--y-soft); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.pchip.deal { background: var(--r-soft); }
.pchip.deal i { color: var(--pink-2); }
.pchip.is-active { background: var(--teal); color: #fff; }
.pchip.is-active b, .pchip.is-active i { color: var(--yellow); }
.shop-pricebar { padding-top: 16px; }

/* Bottom tab bar */
.tabbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; background: var(--white); border-top: 2px solid var(--ink);
  grid-template-columns: repeat(5, 1fr); align-items: end; padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); }
.tabbar > a, .tab-cart { display: grid; justify-items: center; gap: 2px; padding: 6px 0 4px; border-radius: 12px; color: var(--ink); text-decoration: none; font: 600 11px/1.1 var(--body); min-height: 48px; }
.tabbar i { font-size: 21px; line-height: 1; }
.tabbar > a.is-active { background: var(--teal); color: #fff; }
.tabbar > a:hover { color: var(--ink); }
.tabbar > a.is-active:hover { color: #fff; }
.tab-cart { padding-top: 0; }
.tab-cart button { position: relative; width: 56px; height: 56px; margin-top: -26px; border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); display: grid; place-items: center; cursor: pointer; }
.tab-cart button i { font-size: 24px; }
.tab-cart button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.tab-badge { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--pink-2); color: #fff; border: 2px solid var(--ink); font: 700 11px/18px var(--mono); text-align: center; }

@media (max-width: 1060px) {
  .msearch-wrap { display: block; padding-bottom: 12px; }
  .catbar .container { gap: 8px; padding-block: 10px; }
  .catbar a { border: 2px solid var(--ink); border-radius: 99px; padding: 10px 14px; background: var(--white); min-height: 44px; display: inline-flex; align-items: center; }
  .catbar a.hot { background: var(--yellow); }
  .catbar a.is-active { background: var(--ink); color: #fff; }
  .menu-btn { width: 44px; justify-content: center; padding: 0; font-size: 22px; }
  .mnav a { padding: 10px 0; }
}

@media (max-width: 991.98px) {
  :root { --tabbar-h: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .tabbar { display: grid; }
  body { padding-bottom: var(--tabbar-h); }
  body.has-sticky-cart { padding-bottom: calc(var(--tabbar-h) + 72px); }
  .hicons .cart, .hicons .acct { display: none !important; } /* both live in the tab bar */
  .mobile-sticky-cart { z-index: 1034; padding-bottom: 34px; } /* room for the raised Cart button */
  .cart-drawer { padding-bottom: env(safe-area-inset-bottom, 0px); }

  /* Home bento: lead tile full width, the rest in a 2-up grid */
  .hero { padding-block: 20px 12px; }
  .hero-top { gap: 14px; }
  .hero h1 { font-size: clamp(48px, 13vw, 96px); }
  .hside p { font-size: 16px; }
  .bento { gap: 12px; margin-top: 20px; }
  .tile { min-height: 132px; padding: 14px; }
  .tile.t2, .tile.t3, .tile.t4, .tile.t5, .tile.t6, .tile.t7 { grid-column: span 1; }
  .tile.t1 { grid-column: span 2; min-height: 0; padding-bottom: 20px; }
  .tile.t1 h3 { font-size: clamp(36px, 10vw, 56px); max-width: 70% !important; }
  .tile.t1 .art { width: 38%; max-width: 180px; }
  .tile h3 { font-size: clamp(22px, 6.4vw, 32px); max-width: 78% !important; }
  .tile .art, .tile.t5 .art, .tile.t6 .art, .tile.t7 .art { width: 46% !important; right: -10px; bottom: -12px; }
  .tile.t2 .art { width: 50% !important; }
  .tile.t3 .big { font-size: 38px; }
  .tile.t4 b { font-size: 36px; }
  .countdown span { min-width: 54px; font-size: 20px; }

  /* Small tiles: text on top, drawing tucked bottom-right, no overlap */
  .tile.t2, .tile.t3, .tile.t5, .tile.t6, .tile.t7 { justify-content: flex-start; gap: 6px; min-height: 150px; padding-bottom: 64px; }
  .tile.t2 h3, .tile.t5 h3, .tile.t6 h3, .tile.t7 h3 { font-size: clamp(20px, 5.6vw, 28px); max-width: 100% !important; overflow-wrap: anywhere; }
  .tile.t2 .art, .tile.t3 .art, .tile.t5 .art, .tile.t6 .art, .tile.t7 .art { width: 40% !important; max-width: 90px; right: -4px; bottom: -8px; }
  .tile.t4 { min-height: 150px; }

  /* The tab bar handles navigation, so the tall mobile header can scroll away */
  .site-header { position: relative; }

  .section-padded { padding-block: 32px; }
  .sechead { margin-bottom: 16px; }
  .sechead h2 { font-size: clamp(34px, 9vw, 56px); }
  .visit .container { padding-block: 36px; }
}

@media (max-width: 560px) {
  .logo img { height: 36px; }
  .site-header .hdr { padding-block: 8px; }
  .ticker-track { font-size: 14px; padding: 7px 0; }
  .shopby { margin-top: 28px; }

  /* Product cards: price and a thumb-sized "+" side by side */
  .product-row { flex-direction: row; align-items: center; flex-wrap: nowrap; }
  .product-pricing { flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
  .product-row:has(.add-btn-wide) { flex-wrap: wrap; }
  .product-price { font-size: 20px; }
  .add-btn { width: 44px; height: 44px; padding: 0; flex: none; }
  .add-btn .add-lbl { display: none; }
  .add-btn i { font-size: 20px; }
  .add-btn-wide { width: 100%; height: auto; padding: 8px 10px; flex: 1 1 100%; }
  .price-main { font-size: 48px; }
  .product-detail-title { font-size: clamp(34px, 10vw, 56px); }
}
