/* =========================================================
   Waffiy Shop — storefront styles
   Design system: maroon #800000, navy #103178, gold #F2B705, Poppins
   ========================================================= */
:root {
  --maroon: #800000;
  --maroon-dk: #5e0000;
  --maroon-xdk: #3d0000;
  --maroon-lt: #fbeeee;
  --navy: #103178;
  --navy-dk: #0b2357;
  --gold: #f2b705;
  --gold-dk: #d9a300;
  --cream: #fff9f2;
  --white: #fff;
  --ink: #111;
  --ink-2: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --line-2: #f1f1f1;
  --bg: #fafafa;
  --ok: #16a34a;
  --ok-bg: #ecfdf3;
  --bad: #dc2626;
  --bad-bg: #fef2f2;
  --wait: #b45309;
  --wait-bg: #fffbeb;
  --wa: #25d366;
  --wa-dk: #1da851;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, .06);
  --shadow: 0 4px 18px rgba(17, 17, 17, .07);
  --shadow-lg: 0 18px 40px rgba(61, 0, 0, .14);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--maroon); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(26px, 3.4vw, 38px); }
h2 { font-size: clamp(22px, 2.6vw, 30px); }
h3 { font-size: 17px; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(242, 183, 5, .7); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip:focus { left: 8px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: 14px; }
[hidden] { display: none !important; }

.ico { width: 20px; height: 20px; flex: none; }
.ico-wa { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 26px; border-radius: 999px; border: 1.5px solid var(--maroon); background: var(--maroon); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .12s, box-shadow .18s; text-align: center; white-space: nowrap; }
.btn:hover { background: #fff; color: var(--maroon); }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 18px; height: 18px; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 14px 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.btn--icon { padding: 0; width: 40px; min-width: 40px; flex: none; }
.btn--navy { background: var(--navy); border-color: var(--navy); }
.btn--navy:hover { background: #fff; color: var(--navy); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--maroon-xdk); }
.btn--gold:hover { background: var(--gold-dk); border-color: var(--gold-dk); color: var(--maroon-xdk); }
.btn--outline { background: #fff; color: var(--maroon); }
.btn--outline:hover { background: var(--maroon); color: #fff; }
.btn--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dk); border-color: var(--wa-dk); color: #fff; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; position: relative; transition: background .15s; }
.icon-btn:hover { background: var(--maroon-lt); color: var(--maroon); }
.icon-btn .ico, .icon-btn .ico-wa { width: 22px; height: 22px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--maroon); }
.link-more .ico { width: 16px; height: 16px; transition: transform .15s; }
.link-more:hover .ico { transform: translateX(3px); }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--maroon-xdk); color: #f8e9e9; font-size: 12.5px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.topbar__msg, .topbar__right { display: inline-flex; align-items: center; gap: 8px; }
.topbar__right { gap: 18px; }
.topbar a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.topbar .ico { width: 15px; height: 15px; color: var(--gold); }
.header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.header__in { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.header__burger { display: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img { height: 44px; width: auto; }
.logo__tag { font-size: 11px; font-weight: 700; letter-spacing: .14em; background: var(--maroon); color: #fff; padding: 3px 8px; border-radius: 6px; }
.header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.cart-badge { position: absolute; top: 3px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--maroon); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.cart-badge.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }

.search { position: relative; flex: 1; max-width: 560px; display: flex; align-items: center; background: var(--bg); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 44px; transition: border-color .15s, box-shadow .15s; }
.search:focus-within { border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(128, 0, 0, .08); background: #fff; }
.search__ico { position: absolute; left: 16px; color: var(--muted); }
.search input { flex: 1; border: 0; background: transparent; outline: 0; padding: 8px 6px; min-width: 0; }
.search input::-webkit-search-cancel-button { display: none; }
.search__results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; z-index: 60; text-align: left; }
.search__results a { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.search__results a:hover, .search__results a.is-active { background: var(--cream); }
.search__results img { width: 48px; height: 48px; object-fit: contain; background: var(--bg); border-radius: 8px; }
.search__results strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.search__results small { color: var(--muted); font-size: 12px; }
.search__results em { font-style: normal; font-weight: 700; color: var(--maroon); font-size: 13px; white-space: nowrap; }
.search__results .search__all { display: block; text-align: center; font-weight: 600; color: var(--maroon); padding: 12px; }
.search__results .search__none { padding: 16px; color: var(--muted); font-size: 14px; }
.search--inline { max-width: 420px; margin: 0 auto 18px; }

.catnav { border-top: 1px solid var(--line-2); background: #fff; }
.catnav__in { display: flex; align-items: center; gap: 4px; min-height: 48px; overflow-x: auto; scrollbar-width: none; }
.catnav__in::-webkit-scrollbar { display: none; }
.catnav__in > a, .catnav__btn { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; border: 0; background: none; cursor: pointer; }
.catnav__in > a:hover, .catnav__btn:hover { color: var(--maroon); background: var(--maroon-lt); }
.catnav__home { background: var(--maroon) !important; color: #fff !important; }
.catnav__btn .ico { width: 16px; height: 16px; }
.catnav__drop { position: relative; }
.mega { position: absolute; left: 0; top: calc(100% + 6px); background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 10px; display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s; z-index: 70; }
.catnav__drop:hover .mega, .catnav__drop.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-size: 14px; font-weight: 500; }
.mega a:hover { background: var(--cream); color: var(--maroon); }
.mega__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--maroon-lt); color: var(--maroon); }
.mega__ico .ico { width: 18px; height: 18px; }
.mega__all { grid-column: 1 / -1; justify-content: center; color: var(--maroon) !important; font-weight: 600 !important; border-top: 1px solid var(--line-2); border-radius: 0 0 10px 10px !important; margin-top: 4px; }
.mega__all .ico { width: 16px; height: 16px; }
.catnav { position: relative; }
@media (max-width: 1080px) { .hide-md { display: none !important; } }

/* Drawer (mobile menu) */
.drawer { position: fixed; inset: 0; z-index: 200; background: rgba(17, 17, 17, .45); }
.drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(330px, 88vw); background: #fff; padding: 16px; overflow-y: auto; animation: slideIn .2s ease; display: flex; flex-direction: column; gap: 2px; }
@keyframes slideIn { from { transform: translateX(-100%); } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.drawer__head img { height: 36px; width: auto; }
.drawer__label { margin: 14px 8px 4px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.drawer__link { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 10px; color: var(--ink); font-weight: 500; }
.drawer__link:hover { background: var(--cream); }
.drawer__link .ico { color: var(--maroon); width: 18px; height: 18px; }
.drawer .btn { margin-top: 16px; }

/* ---------- Flash ---------- */
.flashes { margin-top: 16px; display: grid; gap: 8px; }
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; font-size: 14px; border: 1px solid; }
.flash .ico { width: 18px; height: 18px; margin-top: 2px; }
.flash--success { background: var(--ok-bg); border-color: #b7ebc9; color: #135c2f; }
.flash--error { background: var(--bad-bg); border-color: #fbcaca; color: #8f1d1d; }
.flash--info { background: #eff4ff; border-color: #cbdafc; color: #1d3a7a; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--maroon); color: #fff; overflow: hidden; padding: 56px 0 0; }
.hero__bg { position: absolute; inset: 0; background:
  radial-gradient(900px 420px at 85% 10%, rgba(242, 183, 5, .18), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, rgba(16, 49, 120, .45), transparent 60%),
  linear-gradient(135deg, #8d0a0a 0%, #800000 45%, #5e0000 100%); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 60%); }
.hero__in { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-bottom: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--maroon); margin-bottom: 10px; }
.eyebrow .ico { width: 16px; height: 16px; }
.eyebrow--light { color: var(--gold); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.08; margin: 16px 0 16px; }
.hero h1 span { color: var(--gold); }
.hero__lead { font-size: 17px; color: #f7dede; max-width: 560px; }
.hero__search { position: relative; display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 48px; max-width: 580px; box-shadow: 0 16px 40px rgba(0, 0, 0, .25); margin: 26px 0 16px; color: var(--ink); }
.hero__search .search__ico { left: 18px; }
.hero__search input { flex: 1; border: 0; outline: 0; padding: 10px 4px; min-width: 0; font-size: 15px; background: transparent; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips a { color: #fff; font-size: 13px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.hero__chips a:hover { background: #fff; color: var(--maroon); }
.hero__visual { position: relative; height: 420px; }
.hero__tile { position: absolute; background: #fff; border-radius: 22px; box-shadow: 0 24px 50px rgba(0, 0, 0, .28); padding: 14px; color: var(--ink); transition: transform .25s; }
.hero__tile:hover { transform: translateY(-6px) rotate(0deg) !important; color: var(--ink); }
.hero__tile img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.hero__tile span { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.3; margin-top: 8px; }
.hero__tile b { display: block; color: var(--maroon); font-size: 15px; margin-top: 2px; }
.hero__tile--0 { width: 54%; left: 22%; top: 2%; z-index: 3; transform: rotate(-2deg); }
.hero__tile--1 { width: 38%; left: 0; top: 46%; z-index: 2; transform: rotate(-6deg); }
.hero__tile--2 { width: 38%; right: 0; top: 40%; z-index: 2; transform: rotate(5deg); }
.trust { position: relative; list-style: none; margin: 0; padding: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; background: #fff; color: var(--ink); border-radius: 18px 18px 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, .12); }
.trust li { display: flex; gap: 12px; align-items: center; padding: 6px 8px; }
.trust .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--maroon-lt); color: var(--maroon); }
.trust strong { display: block; font-size: 14px; }
.trust span { font-size: 12.5px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section--tight { padding: 32px 0; }
.section--cream { background: var(--cream); }
.section--maroon { background: var(--maroon-xdk); color: #fff; padding: 40px 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section__head h2 { margin: 0; }

.catgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.catcard { display: flex; flex-direction: column; gap: 4px; padding: 20px 18px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; color: var(--ink); transition: .18s; position: relative; overflow: hidden; }
.catcard::after { content: ""; position: absolute; right: -24px; bottom: -24px; width: 90px; height: 90px; border-radius: 50%; background: var(--maroon-lt); transition: .25s; }
.catcard:hover { border-color: var(--maroon); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.catcard:hover::after { transform: scale(1.4); background: #f6dcdc; }
.catcard__ico { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--maroon); color: #fff; margin-bottom: 10px; }
.catcard__ico .ico { width: 24px; height: 24px; }
.catcard__name { position: relative; z-index: 1; font-weight: 600; line-height: 1.3; }
.catcard__count { position: relative; z-index: 1; font-size: 12.5px; color: var(--muted); }

/* ---------- Product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pgrid--3 { grid-template-columns: repeat(3, 1fr); }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #e9caca; }
.pcard__media { position: relative; display: block; aspect-ratio: 1; background: linear-gradient(180deg, #fff, #f7f4f1); }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .3s; }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__off { position: absolute; right: 10px; top: 10px; background: var(--gold); color: var(--maroon-xdk); font-weight: 800; font-size: 12px; padding: 3px 8px; border-radius: 999px; }
.badge { position: absolute; left: 10px; top: 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; padding: 4px 9px; border-radius: 6px; background: var(--ok-bg); color: #116131; border: 1px solid #b7ebc9; }
.badge--pre-order { background: var(--wait-bg); color: var(--wait); border-color: #f6dfa6; }
.badge--retortpro { background: #eef2ff; color: var(--navy); border-color: #cbd5f5; }
.pcard__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px; flex: 1; }
.pcard__cat { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pcard__title { font-size: 15px; font-weight: 600; line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pcard__title a { color: var(--ink); }
.pcard__title a:hover { color: var(--maroon); }
.pcard__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.pcard__price small { font-size: 12px; color: var(--muted); }
.pcard__price strong { font-size: 20px; color: var(--maroon); font-weight: 700; }
.pcard__price s { font-size: 13px; color: var(--muted); }
.pcard__price .pcard__quote { font-size: 15px; color: var(--navy); }
.pcard__actions { display: flex; gap: 8px; margin-top: 8px; }

/* ---------- Steps, stats, CTA ---------- */
.steps { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.steps__intro p { color: var(--muted); }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps__list li { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; background: #fff; }
.steps__list span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--maroon-xdk); font-weight: 800; margin-bottom: 12px; }
.steps__list strong { display: block; margin-bottom: 4px; }
.steps__list p { margin: 0; color: var(--muted); font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats strong { display: block; font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--gold); line-height: 1.1; }
.stats span { color: #f2dede; font-size: 14px; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 40px; border-radius: 24px; background: linear-gradient(120deg, var(--navy), #1b4bb0); color: #fff; }
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { margin: 0; color: #dbe5ff; max-width: 620px; }

.agencies { padding: 34px 0; background: var(--bg); border-top: 1px solid var(--line); }
.agencies__title { text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.agencies__row { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; }
.agencies__row img { width: 64px; height: 64px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .2s; }
.agencies__row img:hover { filter: none; opacity: 1; }

/* ---------- Footer ---------- */
.footer { background: #1a0606; color: #e7d6d6; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding: 52px 20px 40px; }
.footer h3 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: #e7d6d6; }
.footer a:hover { color: var(--gold); }
.footer__reg { color: #c9b0b0; font-size: 13px; }
.footer__addr li { display: flex; gap: 10px; font-size: 13px; line-height: 1.5; }
.footer__addr .ico { color: var(--gold); width: 18px; height: 18px; margin-top: 2px; }
.footer__addr strong { color: #fff; }
.footer__contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer__contact .ico, .footer__contact .ico-wa { width: 17px; height: 17px; color: var(--gold); }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; }
.footer__bar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__bar p { margin: 0; font-size: 12.5px; color: #b89c9c; }
.paylogos { display: flex; flex-wrap: wrap; gap: 6px; }
.paylogos span { font-size: 11px; font-weight: 700; letter-spacing: .03em; padding: 5px 10px; border-radius: 6px; background: #fff; color: var(--navy); }
.paylogos--light span { background: var(--bg); border: 1px solid var(--line); }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; background: var(--wa); color: #fff; padding: 12px 18px 12px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: 0 10px 28px rgba(37, 211, 102, .45); transition: transform .15s; }
.wa-float:hover { color: #fff; transform: translateY(-2px); }
.wa-float .ico-wa { width: 24px; height: 24px; }

/* ---------- Page head, crumbs, listing ---------- */
.pagehead { background: var(--cream); border-bottom: 1px solid #f1e6da; padding: 28px 0 24px; }
.pagehead--slim { padding: 22px 0 18px; }
.pagehead h1 { margin: 6px 0 4px; }
.pagehead p { margin: 0; color: var(--muted); }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--maroon); }
.crumbs .ico { width: 14px; height: 14px; }
.crumbs span { color: var(--ink-2); }
.crumbs--page { padding: 18px 0 8px; }
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding-top: 28px; padding-bottom: 56px; align-items: start; }
.listing__side { position: sticky; top: 140px; display: grid; gap: 14px; }
.sidebox { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; background: #fff; }
.sidebox summary { list-style: none; display: flex; align-items: center; gap: 8px; font-weight: 700; padding: 8px 10px; cursor: pointer; }
.sidebox summary::-webkit-details-marker { display: none; }
.sidebox summary .ico { width: 16px; height: 16px; color: var(--maroon); }
.sidebox a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; color: var(--ink-2); font-size: 14px; }
.sidebox a .ico { width: 17px; height: 17px; color: var(--muted); }
.sidebox a span { flex: 1; }
.sidebox a em { font-style: normal; font-size: 12px; color: var(--muted); background: var(--bg); padding: 1px 8px; border-radius: 999px; }
.sidebox a:hover { background: var(--cream); color: var(--maroon); }
.sidebox a.is-active { background: var(--maroon); color: #fff; }
.sidebox a.is-active .ico, .sidebox a.is-active em { color: #fff; background: transparent; }
.sidebox--help { background: var(--cream); border-color: #f1e6da; padding: 18px; }
.sidebox--help p { font-size: 13px; color: var(--muted); margin: 4px 0 12px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; color: var(--muted); font-size: 14px; gap: 12px; }
.toolbar__sort { display: flex; align-items: center; gap: 8px; }
.toolbar select { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; background: #fff; }
.empty { text-align: center; padding: 64px 20px; }
.empty__ico { width: 56px; height: 56px; color: var(--maroon); background: var(--maroon-lt); padding: 14px; border-radius: 50%; margin: 0 auto 16px; }
.empty p { color: var(--muted); max-width: 460px; margin: 0 auto 20px; }
.big404 { font-size: 88px; font-weight: 800; color: var(--maroon); line-height: 1; margin: 0 0 8px; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; padding: 10px 0 36px; align-items: start; }
.gallery { position: sticky; top: 140px; }
.gallery__main { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, #fff, #f7f4f1); aspect-ratio: 1; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 22px; }
.gallery__main .badge { left: 16px; top: 16px; font-size: 11.5px; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumbs button { flex: none; width: 76px; height: 76px; border-radius: 12px; border: 2px solid var(--line); background: #fff; padding: 4px; cursor: pointer; }
.gallery__thumbs button.is-active, .gallery__thumbs button:hover { border-color: var(--maroon); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp__cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.pdp__cats a { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--maroon-lt); color: var(--maroon); }
.pdp h1 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 6px; }
.pdp__sku { font-size: 13px; color: var(--muted); }
.instock { color: var(--ok); font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }
.instock .ico { width: 15px; height: 15px; }
.pdp__summary { color: var(--ink-2); font-size: 15.5px; }
.buybox, .quotebox { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; display: grid; gap: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.buybox__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.buybox__price strong { font-size: 34px; color: var(--maroon); font-weight: 800; letter-spacing: -.02em; }
.buybox__price s { color: var(--muted); font-size: 16px; }
.save { background: var(--gold); color: var(--maroon-xdk); font-weight: 700; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; }
.variants { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.variants legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.variant { display: block; cursor: pointer; }
.variant input { position: absolute; opacity: 0; pointer-events: none; }
.variant span { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; transition: .15s; }
.variant b { font-weight: 500; font-size: 14px; }
.variant em { font-style: normal; font-weight: 700; color: var(--maroon); white-space: nowrap; }
.variant:hover span { border-color: #d9a9a9; }
.variant input:checked + span { border-color: var(--maroon); background: var(--maroon-lt); box-shadow: inset 0 0 0 1px var(--maroon); }
.variant input:focus-visible + span { outline: 3px solid rgba(242, 183, 5, .7); }
.buybox__row { display: flex; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; height: 46px; background: #fff; }
.qty button { width: 40px; height: 100%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.qty button:hover { background: var(--bg); color: var(--maroon); }
.qty button .ico { width: 16px; height: 16px; }
.qty input { width: 44px; text-align: center; border: 0; outline: 0; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 40px; }
.qty--sm button { width: 34px; }
.qty--sm input { width: 36px; }
.buybox__pay { display: flex; gap: 6px; align-items: center; justify-content: center; font-size: 12.5px; color: var(--muted); margin: 0; text-align: center; }
.buybox__pay .ico { width: 14px; height: 14px; }
.quotebox { background: var(--cream); border-color: #f1e6da; }
.quotebox__title { font-size: 18px; color: var(--navy); }
.quotebox p { margin: 0; color: var(--ink-2); font-size: 14px; }
.pdp__perks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.pdp__perks li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-2); }
.pdp__perks .ico { color: var(--maroon); width: 20px; height: 20px; }
.tabs { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 20px; }
.tabs__nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); background: var(--bg); padding: 6px; overflow-x: auto; }
.tabs__nav button { border: 0; background: transparent; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tabs__nav button.is-active { background: #fff; color: var(--maroon); box-shadow: var(--shadow-sm); }
.tabs__panel { display: none; padding: 24px; }
.tabs__panel.is-active { display: block; }
.specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.specs th, .specs td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.specs th { width: 34%; color: var(--muted); font-weight: 500; background: #fcfcfc; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.prose { font-size: 15px; color: var(--ink-2); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose a .ico { width: 14px; height: 14px; vertical-align: -2px; }
.stickybuy { display: none; }

/* ---------- Cart & checkout ---------- */
.cartwrap, .checkout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; padding: 28px 0 56px; align-items: start; }
.cartlist { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.cartline { display: grid; grid-template-columns: 88px 1fr auto auto 44px; gap: 16px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line-2); }
.cartline__img img { width: 88px; height: 88px; object-fit: contain; background: var(--bg); border-radius: 12px; padding: 6px; }
.cartline__info { display: grid; gap: 2px; font-size: 14px; }
.cartline__info a { color: var(--ink); }
.cartline__info span { color: var(--muted); font-size: 13px; }
.cartline__total { font-size: 16px; color: var(--maroon); white-space: nowrap; }
.cartline__rm { color: var(--muted); }
.cartlist__foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--bg); gap: 12px; }
.cartlist__foot a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; }
.cartlist__foot .ico { width: 16px; height: 16px; }
.summary { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.summary--sticky { position: sticky; top: 140px; }
.summary h2 { font-size: 19px; margin-bottom: 14px; }
.summary dl { margin: 0 0 16px; display: grid; gap: 8px; font-size: 14.5px; }
.summary dl div, .orderdetail__totals div { display: flex; justify-content: space-between; gap: 12px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; text-align: right; }
.summary__total { border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 4px; font-size: 18px; }
.summary__total dt { color: var(--ink) !important; font-weight: 700; }
.summary__total dd { color: var(--maroon); font-weight: 800 !important; }
.summary__note, .summary__shipnote { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.summary__shipnote { margin: 0 0 14px; background: var(--cream); padding: 10px 12px; border-radius: 10px; }
.summary__note .ico, .summary__shipnote .ico { width: 15px; height: 15px; margin-top: 2px; }
.summary__items { list-style: none; margin: 0 0 16px; padding: 0 0 12px; border-bottom: 1px solid var(--line-2); display: grid; gap: 12px; }
.summary__items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 13.5px; }
.summary__items img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: var(--bg); padding: 4px; }
.summary__items small { display: block; color: var(--muted); font-size: 12.5px; }
.summary__items b { white-space: nowrap; }
.progress { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.progress li { display: flex; align-items: center; gap: 8px; }
.progress li + li::before { content: ""; width: 24px; height: 2px; background: var(--line); }
.progress .done { color: var(--ok); }
.progress .is-active { color: var(--maroon); font-weight: 700; }
.card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: #fff; margin-bottom: 18px; }
.card h2 { font-size: 18px; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.card h2 span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--maroon); color: #fff; font-size: 13px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid3 { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 0 16px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; font-size: 14px; }
.field > span { font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px; background: #fff; outline: 0; transition: .15s; min-height: 46px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--maroon); box-shadow: 0 0 0 4px rgba(128, 0, 0, .08); }
.field.has-err input, .field.has-err select { border-color: var(--bad); background: var(--bad-bg); }
.field__err, .check + .field__err { color: var(--bad); font-size: 12.5px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-top: 16px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--maroon); margin-top: 2px; flex: none; }
.check.has-err { color: var(--bad); }
.paybox { display: flex; gap: 14px; padding: 16px; border: 1.5px solid var(--maroon); background: var(--maroon-lt); border-radius: 14px; }
.paybox > .ico { width: 26px; height: 26px; color: var(--maroon); flex: none; }
.paybox p { font-size: 13.5px; color: var(--ink-2); margin: 4px 0 10px; }

/* ---------- Order status ---------- */
.orderhero { text-align: center; padding: 40px 24px 32px; margin: 28px 0 18px; border-radius: 24px; border: 1px solid; }
.orderhero--ok { background: var(--ok-bg); border-color: #b7ebc9; }
.orderhero--fail { background: var(--bad-bg); border-color: #fbcaca; }
.orderhero--wait { background: var(--wait-bg); border-color: #f6dfa6; }
.orderhero__ico { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; color: #fff; margin-bottom: 14px; }
.orderhero__ico .ico { width: 34px; height: 34px; stroke-width: 2.4; }
.orderhero--ok .orderhero__ico { background: var(--ok); }
.orderhero--fail .orderhero__ico { background: var(--bad); }
.orderhero--wait .orderhero__ico { background: var(--wait); }
.orderhero p { max-width: 560px; margin: 0 auto 18px; color: var(--ink-2); }
.orderhero__actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.orderdetail__meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.orderdetail__meta small, .orderdetail__addr small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.orderdetail__totals { display: grid; gap: 8px; margin: 0 0 18px; font-size: 14.5px; }
.orderdetail__totals dt { color: var(--muted); }
.orderdetail__totals dd { margin: 0; font-weight: 600; }
.orderdetail__addr p { margin: 4px 0 0; font-size: 14px; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.pill--paid { background: var(--ok-bg); color: var(--ok); }
.pill--unpaid { background: var(--wait-bg); color: var(--wait); }
.pill--failed { background: var(--bad-bg); color: var(--bad); }
.pill--refunded { background: #eef2ff; color: var(--navy); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .catgrid { grid-template-columns: repeat(4, 1fr); }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .pgrid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__visual { height: 300px; max-width: 460px; width: 100%; margin: 0 auto; }
  .trust { grid-template-columns: 1fr 1fr; }
  .pdp { grid-template-columns: 1fr; gap: 22px; }
  .gallery { position: static; }
  .listing { grid-template-columns: 1fr; }
  .listing__side { position: static; }
  .sidebox:not(.sidebox--help) { display: block; }
  .sidebox--help { display: none; }
  .cartwrap, .checkout { grid-template-columns: 1fr; }
  .summary--sticky { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta { flex-direction: column; align-items: flex-start; padding: 28px; }
}
@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .container { padding: 0 16px; }
  .hide-sm { display: none !important; }
  .topbar__in { justify-content: center; text-align: center; }
  .topbar__right { display: none; }
  .header__in { gap: 6px; min-height: 64px; flex-wrap: wrap; padding-bottom: 10px; }
  .header__burger { display: inline-grid; margin-left: -8px; }
  .logo img { height: 36px; }
  .logo__tag { display: none; }
  .header .search { order: 5; flex-basis: 100%; max-width: none; }
  .header .search .btn { display: none; }
  .catnav { display: none; }
  .hero { padding-top: 32px; }
  .hero__lead { font-size: 15px; }
  .hero__search { padding-left: 42px; }
  .hero__search .btn { padding: 10px 16px; min-height: 42px; font-size: 14px; }
  .hero__visual { height: 240px; }
  .trust { grid-template-columns: 1fr 1fr; padding: 12px; gap: 6px; }
  .trust li { padding: 6px 2px; gap: 8px; }
  .trust .ico { width: 34px; height: 34px; padding: 7px; }
  .trust span { display: none; }
  .trust strong { font-size: 12.5px; line-height: 1.3; }
  .section { padding: 40px 0; }
  .section__head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .catgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .catcard { padding: 14px; }
  .catcard__ico { width: 40px; height: 40px; margin-bottom: 6px; }
  .pgrid, .pgrid--3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pcard__body { padding: 10px 10px 12px; }
  .pcard__title { font-size: 13.5px; }
  .pcard__price strong { font-size: 17px; }
  .pcard__actions .btn--block { font-size: 13px; padding: 8px 10px; }
  .pcard__actions .btn--block .ico { display: none; }
  .steps__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; padding-top: 36px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .cartline { grid-template-columns: 72px 1fr auto; grid-template-areas: "img info rm" "img qty total"; gap: 8px 12px; }
  .cartline__img { grid-area: img; }
  .cartline__img img { width: 72px; height: 72px; }
  .cartline__info { grid-area: info; }
  .cartline .qty { grid-area: qty; justify-self: start; }
  .cartline__total { grid-area: total; justify-self: end; }
  .cartline__rm { grid-area: rm; justify-self: end; }
  .orderdetail__meta { grid-template-columns: 1fr 1fr; }
  .buybox__price strong { font-size: 28px; }
  .stickybuy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; gap: 12px; align-items: center; justify-content: space-between; box-shadow: 0 -8px 24px rgba(0, 0, 0, .08); transform: translateY(110%); transition: transform .2s; }
  .stickybuy.is-visible { transform: none; }
  .stickybuy small { display: block; font-size: 11.5px; color: var(--muted); }
  .stickybuy strong { font-size: 18px; color: var(--maroon); }
  .stickybuy .btn { min-height: 44px; padding: 10px 20px; }
  .has-stickybuy .wa-float { bottom: 84px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .tabs__panel { padding: 16px; }
  .specs th { width: 42%; }
}
/* ---------- Mobile bottom navigation ---------- */
.bnav { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: flex; align-items: stretch; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .06); padding-bottom: env(safe-area-inset-bottom); }
  .bnav__item { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 7px 2px 6px; min-height: 60px; font: inherit; font-size: 10.5px; font-weight: 600; line-height: 1; color: var(--grey); background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; text-decoration: none; transition: color .15s; }
  .bnav__item:active { background: rgba(128, 0, 0, .05); }
  .bnav__ico { position: relative; display: grid; place-items: center; width: 42px; height: 30px; border-radius: 12px; transition: background .15s; }
  .bnav__ico .ico, .bnav__ico .ico-wa { width: 22px; height: 22px; }
  .bnav__ico .cart-badge { top: -4px; right: 2px; }
  .bnav__item.is-active { color: var(--maroon); }
  .bnav__item.is-active .bnav__ico { background: rgba(128, 0, 0, .1); }
  .bnav__item--wa { color: #128c4a; }
  .bnav__item--wa .bnav__ico { background: rgba(37, 211, 102, .14); }
  .bnav__item:hover { color: var(--maroon); }
  /* WhatsApp is now in the nav bar — hide floating button on phones */
  .wa-float { display: none; }
  /* Keep sticky buy bar and toasts above the nav */
  .stickybuy { bottom: calc(64px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(0, 0, 0, .06); }
  .toast, .has-stickybuy .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .has-stickybuy .toast { bottom: calc(150px + env(safe-area-inset-bottom)); }
}

/* ---------- Pesanan Saya (order lookup) ---------- */
.lookup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.lookup__hint { font-size: 13px; color: var(--muted); margin-top: -4px; margin-bottom: 14px; }
.olist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.olist li a { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: inherit; text-decoration: none; transition: .15s; }
.olist li a:hover { border-color: var(--maroon); box-shadow: var(--shadow); }
.olist__no { font-weight: 700; color: var(--maroon); }
.olist__meta { font-size: 12.5px; color: var(--muted); grid-column: 1; }
.olist__total { font-weight: 700; text-align: right; }
.olist__pill { grid-column: 2; justify-self: end; }
@media (max-width: 900px) { .lookup { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 300; padding: 12px 20px; border-radius: 12px; color: #fff; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); transition: .25s; max-width: calc(100vw - 32px); }
.toast a { color: var(--gold); font-weight: 700; text-decoration: underline; }
.toast--ok { background: #13361f; }
.toast--err { background: #7f1d1d; }
.toast.is-in { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 720px) { .has-stickybuy .toast { bottom: 88px; } }

/* Grid overflow guards: let grid/flex children shrink below their content width */
.hero__in, .pdp, .listing, .cartwrap, .checkout, .steps { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.pdp { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.listing { grid-template-columns: 260px minmax(0, 1fr); }
.cartwrap, .checkout { grid-template-columns: minmax(0, 1fr) 380px; }
.steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.hero__in > *, .pdp > *, .listing > *, .cartwrap > *, .checkout > *, .pgrid > *, .catgrid > * { min-width: 0; }
.eyebrow { flex-wrap: wrap; }
@media (max-width: 1080px) { .steps { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  .hero__in, .pdp, .listing, .cartwrap, .checkout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .hero h1 { font-size: 32px; }
  .eyebrow--light { font-size: 11px; letter-spacing: .08em; }
  .hero__visual { height: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: none; margin-top: 8px; }
  .hero__tile { position: static; width: auto !important; transform: none !important; padding: 8px; border-radius: 14px; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
  .hero__tile span { font-size: 11px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero__tile b { font-size: 12.5px; }
  .hero__in { gap: 20px; padding-bottom: 28px; }
  .buybox, .quotebox { padding: 16px; }
  .buybox__row .btn { padding: 10px 14px; font-size: 14px; }
}
