/* ============================================================
   CUMA Store — storefront design system
   Loaded on every public page after main.css.
   Concept: "the engineered showroom" — warm paper, ink-black
   steel, brand orange as the signal colour, frost-blue for
   anything cold. Archivo (wide) for display, Inter for text.
   ============================================================ */

:root {
    --ink:        #111418;
    --ink-2:      #1b1f26;
    --ink-3:      #2a3039;
    --steel:      #5d6672;
    --steel-2:    #8b939e;
    --line:       #e7e5e0;
    --line-2:     #d9d6cf;
    --paper:      #f7f5f1;
    --card:       #ffffff;
    --orange:     #FF6A00;
    --orange-dark:#d95800;
    --orange-lite:#fff1e6;
    --frost:      #a9e2ff;
    --frost-2:    #e8f7ff;
    --frost-ink:  #0a6596;
    --wa:         #25D366;
    --wa-dark:    #128C4A;
    --ok:         #1f9d55;

    --font:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --display: 'Archivo', 'Inter', system-ui, sans-serif;
    --mono:    ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;

    --r-sm: 8px;
    --r:    14px;
    --r-lg: 22px;
    --shadow-1: 0 1px 2px rgba(17,20,24,.06), 0 2px 8px rgba(17,20,24,.05);
    --shadow-2: 0 10px 30px -10px rgba(17,20,24,.25);
    --shadow-3: 0 30px 60px -20px rgba(17,20,24,.35);
    --ease: cubic-bezier(.2,.7,.2,1);
    --header-h: 128px;
}

/* ---------- Base overrides (apply to every public page) ---------- */
body.store {
    font-family: var(--font);
    background: var(--paper);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    padding-bottom: env(safe-area-inset-bottom);
}
body.store h1, body.store h2, body.store h3, body.store h4 {
    font-family: var(--display);
    font-stretch: 105%;
    letter-spacing: -.01em;
    line-height: 1.12;
}
body.store button, body.store input, body.store select, body.store textarea { font-family: var(--font); }
body.store .btn { font-family: var(--font); border-radius: 999px; }
body.store .container { max-width: 1320px; padding: 0 20px; }
body.store ::selection { background: var(--orange); color: #fff; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn-x {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 50px; padding: 0 24px; border-radius: 999px;
    font: 600 .95rem/1 var(--font); letter-spacing: .01em;
    border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
    transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn-x:active { transform: scale(.98); }
.btn-x-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(255,106,0,.7); }
.btn-x-primary:hover { background: var(--orange-dark); color: #fff; transform: translateY(-1px); }
.btn-x-ink { background: var(--ink); color: #fff; }
.btn-x-ink:hover { background: var(--ink-3); color: #fff; }
.btn-x-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-x-ghost:hover { border-color: var(--ink); }
.btn-x-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-x-light:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-x-wa { background: var(--wa); color: #fff; }
.btn-x-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-x-block { width: 100%; }
.btn-x-sm { height: 40px; padding: 0 16px; font-size: .85rem; }
.icon-btn {
    width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center;
    background: var(--paper); color: var(--ink); font-size: 1.1rem; transition: background .2s;
}
.icon-btn:hover { background: var(--line); }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font: 600 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--orange); }
.eyebrow.on-dark { color: rgba(255,255,255,.65); }
.s-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.s-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-weight: 800; margin-top: 10px; font-stretch: 112%; }
.s-head p { color: var(--steel); max-width: 560px; margin-top: 8px; }
.s-link { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.s-link:hover { color: var(--orange); }
.sec { padding: 80px 0; }
.sec-tight { padding: 56px 0; }

/* Breadcrumbs */
.crumbs { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--steel); flex-wrap: wrap; }
.crumbs a:hover { color: var(--orange); }
.crumbs i { font-size: .6rem; color: var(--steel-2); }
.crumbs b { color: var(--ink); font-weight: 600; }
.crumbs span[hidden] { display: none; }

/* ============================================================
   TICKER
   ============================================================ */
.ticker { background: var(--ink); color: rgba(255,255,255,.82); overflow: hidden; font-size: .8rem; height: 36px; display: flex; align-items: center; }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; }
.ticker-group span { padding: 0 32px; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; position: relative; }
.ticker-group span::after { content: '◆'; position: absolute; right: -4px; font-size: .5rem; color: var(--orange); }
.ticker-group i { color: var(--orange); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================
   HEADER
   ============================================================ */
.sh { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .3s; }
.sh.is-scrolled { box-shadow: 0 8px 30px -18px rgba(17,20,24,.35); }
.sh.is-hidden { transform: translateY(-100%); }
.sh-main-inner { display: flex; align-items: center; gap: 24px; height: 78px; }
.sh-logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.sh-logo img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.sh-logo-text { display: flex; flex-direction: column; line-height: 1; }
.sh-logo-text strong { font: 900 1.45rem/1 var(--display); font-stretch: 125%; letter-spacing: .02em; }
.sh-logo-text small { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-top: 4px; font-weight: 600; }

.sh-search { position: relative; flex: 1; max-width: 640px; display: flex; align-items: center; height: 50px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 0 6px 0 20px; transition: border-color .2s, background .2s, box-shadow .2s; }
.sh-search:focus-within { background: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(17,20,24,.06); }
.sh-search > i { color: var(--steel); }
.sh-search input { flex: 1; min-width: 0; border: 0; background: transparent; height: 100%; padding: 0 12px; font-size: .95rem; color: var(--ink); outline: none; }
.sh-search input::-webkit-search-cancel-button { display: none; }
.sh-kbd { font: 600 .72rem var(--mono); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 2px 7px; color: var(--steel); margin-right: 8px; background: #fff; }
.sh-search-btn { height: 38px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .88rem; }
.sh-search-btn:hover { background: var(--orange); }
.sh-suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-3); padding: 8px; z-index: 50; max-height: 70vh; overflow: auto; }
.sh-suggest-label { font: 600 .68rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel-2); padding: 8px 10px 6px; }
.sh-suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; }
.sh-suggest a:hover, .sh-suggest a.is-active { background: var(--paper); }
.sh-suggest img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--paper); flex-shrink: 0; }
.sh-suggest .sg-ico { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; background: var(--orange-lite); color: var(--orange); flex-shrink: 0; }
.sh-suggest strong { display: block; font-size: .9rem; font-weight: 600; }
.sh-suggest small { color: var(--steel); font-size: .75rem; }
.sh-suggest mark { background: none; color: var(--orange); font-weight: 700; }
.sh-suggest-all { justify-content: center; font-weight: 600; font-size: .85rem; color: var(--ink); border-top: 1px solid var(--line); margin-top: 6px; border-radius: 0 0 10px 10px !important; }
.sh-suggest-empty { padding: 18px 12px; color: var(--steel); font-size: .9rem; text-align: center; }

.sh-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.sh-call { display: flex; align-items: center; gap: 10px; padding-right: 10px; }
.sh-call i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--orange); }
.sh-call span { display: flex; flex-direction: column; line-height: 1.15; }
.sh-call small { font-size: .7rem; color: var(--steel); }
.sh-call strong { font-size: .92rem; }
.sh-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; color: var(--ink); background: var(--paper); transition: background .2s, color .2s; }
.sh-icon:hover { background: var(--ink); color: #fff; }
.sh-wa { color: var(--wa-dark); }
.sh-wa:hover { background: var(--wa); color: #fff; }
.sh-search-toggle { display: none; }
.sh-quote { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 20px 0 8px; border-radius: 999px; background: var(--ink); color: #fff; transition: background .2s; }
.sh-quote:hover { background: var(--orange); }
.sh-quote-icon { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); }
.sh-quote-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.sh-quote-text small { font-size: .68rem; opacity: .7; }
.sh-quote-text strong { font-size: .9rem; }
.q-count { position: absolute; top: -4px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--orange); color: #fff; font: 700 .7rem/20px var(--font); text-align: center; box-shadow: 0 0 0 2px var(--ink); transform: scale(0); transition: transform .3s var(--ease); }
.q-count.has-items { transform: scale(1); }
.q-count.bump { animation: bump .5s var(--ease); }
.sh-quote:hover .q-count { background: var(--ink); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

.sh-burger { display: none; width: 44px; height: 44px; border-radius: 50%; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: var(--paper); }
.sh-burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.sh-burger span:nth-child(2) { width: 12px; margin-left: -6px; }

/* Category rail */
.sh-rail { border-top: 1px solid var(--line); }
.sh-rail-inner { display: flex; align-items: center; gap: 8px; height: 50px; }
.sh-all { position: relative; height: 100%; display: flex; align-items: center; }
.sh-all-btn { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 600; font-size: .88rem; }
.sh-all-btn:hover { background: var(--orange-dark); color: #fff; }
.sh-cats { display: flex; gap: 4px; overflow-x: auto; flex: 1; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.sh-cats a, .sh-pages a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 999px; font-size: .86rem; font-weight: 500; white-space: nowrap; color: var(--ink-3); transition: background .2s, color .2s; }
.sh-cats a i { color: var(--steel-2); font-size: .85em; }
.sh-cats a:hover, .sh-pages a:hover { background: var(--paper); color: var(--ink); }
.sh-cats a:hover i { color: var(--orange); }
.sh-pages { display: flex; gap: 2px; padding-left: 12px; border-left: 1px solid var(--line); }
.sh-pages a.is-active { color: var(--orange); }

.sh-mega { position: absolute; top: 100%; left: 0; width: min(880px, calc(100vw - 40px)); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-3); padding: 16px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; z-index: 60; }
.sh-all:hover .sh-mega, .sh-all:focus-within .sh-mega { opacity: 1; visibility: visible; transform: translateY(0); }
.sh-mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.sh-mega-item { display: flex; gap: 14px; padding: 14px; border-radius: var(--r); transition: background .2s; }
.sh-mega-item:hover { background: var(--paper); }
.sh-mega-ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--orange-lite); color: var(--orange); font-size: 1.1rem; }
.sh-mega-item small { display: block; font: 600 .66rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--steel-2); }
.sh-mega-item strong { display: block; font-size: .98rem; margin: 2px 0; }
.sh-mega-item em { display: block; font-style: normal; font-size: .8rem; color: var(--steel); line-height: 1.4; }
.sh-mega-promo { margin-top: 10px; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: linear-gradient(110deg, var(--frost-2), #fff); border: 1px solid #d3eefc; color: var(--frost-ink); font-size: .88rem; }
.sh-mega-promo > i:first-child { font-size: 1.4rem; }
.sh-mega-promo span { flex: 1; color: var(--ink-3); }
.sh-mega-promo strong { color: var(--frost-ink); }

/* ============================================================
   NAV DRAWER + SCRIM
   ============================================================ */
.scrim { position: fixed; inset: 0; background: rgba(17,20,24,.5); backdrop-filter: blur(3px); z-index: 1000; opacity: 0; transition: opacity .3s; }
.scrim.is-open { opacity: 1; }
.nav-drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(380px, 88vw); background: #fff; z-index: 1001; transform: translateX(-102%); transition: transform .35s var(--ease); display: flex; flex-direction: column; }
.nav-drawer.is-open { transform: none; }
.nav-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.nav-drawer-head .sh-logo img { width: 44px; height: 44px; }
.nav-drawer-body { flex: 1; overflow-y: auto; padding: 10px 14px 20px; }
.nav-drawer-label { font: 600 .68rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel-2); margin: 18px 6px 8px; }
.nav-drawer-cat { display: flex; align-items: center; gap: 14px; padding: 10px 8px; border-radius: 12px; }
.nav-drawer-cat:hover { background: var(--paper); }
.nav-drawer-cat > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.nav-drawer-cat small { color: var(--steel); font-size: .78rem; }
.nav-drawer-cat > i { color: var(--steel-2); font-size: .8rem; }
.nav-drawer-link { display: block; padding: 12px 8px; font-weight: 600; border-bottom: 1px solid var(--line); }
.nav-drawer-foot { padding: 16px 20px 24px; background: var(--ink); color: rgba(255,255,255,.8); display: grid; gap: 8px; font-size: .85rem; }
.nav-drawer-foot i { color: var(--orange); width: 18px; }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.pcard-media { position: relative; display: block; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #f1efea, #e9e6df); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-tag { position: absolute; top: 12px; left: 12px; padding: 5px 12px 5px 10px; font: 700 .68rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--ink); clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.pcard-tag.tag-sale { background: var(--orange); }
.pcard-tag.tag-new { background: var(--frost-ink); }
.pcard-tag.tag-popular, .pcard-tag.tag-hot { background: #c0262d; }
.pcard-sku { position: absolute; right: 10px; top: 12px; font: 600 .66rem/1 var(--mono); letter-spacing: .06em; padding: 5px 8px; border-radius: 6px; background: rgba(255,255,255,.88); color: var(--ink-3); backdrop-filter: blur(6px); }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 14px; }
.pcard-cat { font-size: .74rem; font-weight: 600; color: var(--steel); display: flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: .06em; }
.pcard-cat i { color: var(--orange); }
.pcard-name { font: 700 1.02rem/1.3 var(--display) !important; font-stretch: 100% !important; letter-spacing: 0 !important; margin: 8px 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-name a:hover { color: var(--orange); }
.pcard-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pcard-specs li { font: 500 .72rem/1 var(--mono); padding: 6px 8px; border-radius: 6px; background: var(--paper); color: var(--ink-3); }
.pcard-ask { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 600; transform: translateY(6px); opacity: .92; transition: transform .35s var(--ease), background .3s; }
.pcard-ask i { color: var(--orange); font-size: .9em; }
.pcard:hover .pcard-ask { transform: none; background: var(--orange); }
.pcard:hover .pcard-ask i { color: #fff; }
.pcard-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.pcard-btns { display: flex; gap: 6px; }
.pcard-wa { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--wa-dark); background: #e9f9ef; font-size: 1.1rem; transition: background .2s, color .2s; }
.pcard-wa:hover { background: var(--wa); color: #fff; }
.pcard-add { flex: 1; justify-content: center; height: 40px; padding: 0 16px 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .82rem; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, transform .2s; }
.pcard-add:hover { background: var(--orange); }
.pcard-add i { transition: transform .3s var(--ease); }
.pcard-add.is-added { background: var(--ok); }
.pcard-add.is-added i { transform: rotate(360deg); }

/* list layout (shop page toggle) */
.pgrid.is-list { grid-template-columns: 1fr; }
.pgrid.is-list .pcard { flex-direction: row; }
.pgrid.is-list .pcard-media { width: 240px; flex-shrink: 0; aspect-ratio: auto; }
.pgrid.is-list .pcard-body { padding: 20px 22px; }
.pgrid.is-list .pcard-desc { display: block; }
.pgrid.is-list .pcard-foot { border-top: 0; padding-top: 0; }
.pgrid.is-list .pcard-btns { max-width: 320px; }
.pcard-desc { display: none; color: var(--steel); font-size: .88rem; line-height: 1.55; margin-bottom: 12px; }

/* fly-to-quote dot */
.fly-dot { position: fixed; z-index: 1200; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,0,.25); pointer-events: none; transition: transform .7s cubic-bezier(.5,-.3,.6,1), opacity .7s; }

/* ============================================================
   QUOTE DRAWER
   ============================================================ */
.qd { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: #fff; z-index: 1001; transform: translateX(102%); transition: transform .4s var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow-3); }
.qd.is-open { transform: none; }
.qd-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 22px 22px 16px; border-bottom: 1px solid var(--line); }
.qd-head small { font: 600 .68rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.qd-head h3 { font-size: 1.35rem; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.qd-count { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 .8rem/28px var(--font); text-align: center; }
.qd-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.qd-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: qdIn .35s var(--ease); }
@keyframes qdIn { from { opacity: 0; transform: translateX(16px); } }
.qd-item img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--paper); }
.qd-item-name { font-weight: 600; font-size: .92rem; line-height: 1.3; display: block; }
.qd-item-name:hover { color: var(--orange); }
.qd-item-meta { font: 500 .7rem var(--mono); color: var(--steel); margin-top: 4px; display: block; }
.qd-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.qd-remove { font-size: .75rem; color: var(--steel); text-decoration: underline; text-underline-offset: 3px; }
.qd-remove:hover { color: #c0262d; }
.stepper { display: inline-flex; align-items: center; height: 36px; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; background: #fff; }
.stepper button { width: 34px; height: 100%; font-size: 1rem; color: var(--ink); }
.stepper button:hover { background: var(--paper); }
.stepper input { width: 40px; height: 100%; border: 0; text-align: center; font: 600 .9rem var(--font); -moz-appearance: textfield; background: transparent; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qd-empty { text-align: center; padding: 48px 12px; }
.qd-empty-ico { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font-size: 2.2rem; color: var(--steel-2); position: relative; }
.qd-empty-ico::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px dashed var(--line-2); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.qd-empty h4 { font-size: 1.15rem; margin-bottom: 6px; }
.qd-empty p { color: var(--steel); font-size: .9rem; margin-bottom: 18px; }
.qd-empty-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.qd-empty-cats a { font-size: .8rem; padding: 7px 12px; border-radius: 999px; background: var(--paper); }
.qd-empty-cats a:hover { background: var(--orange-lite); color: var(--orange-dark); }
.qd-foot { padding: 16px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: #fff; }
.qd-foot[hidden] { display: none; }
.qd-note { font-size: .8rem; color: var(--steel); line-height: 1.5; display: flex; gap: 8px; margin-bottom: 4px; }
.qd-note i { color: var(--frost-ink); margin-top: 3px; }

/* ============================================================
   TOAST
   ============================================================ */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 1300; transform: translate(-50%, 20px); opacity: 0; display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 12px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: var(--shadow-3); transition: opacity .3s, transform .35s var(--ease); max-width: calc(100vw - 32px); }
.toast[hidden] { display: none; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.toast-text { font-size: .85rem; line-height: 1.35; }
.toast-text strong { display: block; color: var(--orange); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.toast button { height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: .8rem; white-space: nowrap; }

/* ============================================================
   HELP BAND + FOOTER
   ============================================================ */
.help-band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 40px; }
.help-band-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.help-band-grid > div { display: flex; align-items: center; gap: 14px; padding: 26px 20px; border-left: 1px solid var(--line); }
.help-band-grid > div:first-child { border-left: 0; padding-left: 0; }
.help-band-grid i { font-size: 1.4rem; color: var(--orange); width: 28px; text-align: center; }
.help-band-grid span { font-size: .82rem; color: var(--steel); display: flex; flex-direction: column; }
.help-band-grid strong { color: var(--ink); font-size: .95rem; }

.sf { background: var(--ink); color: rgba(255,255,255,.7); padding: 64px 0 28px; overflow: hidden; position: relative; }
.sf-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.sf-logo .sh-logo-text strong { color: #fff; }
.sf-logo .sh-logo-text small { color: rgba(255,255,255,.5); }
.sf-logo img { box-shadow: none; }
.sf-brand p { margin: 18px 0 20px; font-size: .9rem; line-height: 1.7; max-width: 340px; }
.sf-social { display: flex; gap: 8px; }
.sf-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .2s; }
.sf-social a:hover { background: var(--orange); }
.sf-col h4 { color: #fff; font-size: .78rem; font-family: var(--mono) !important; letter-spacing: .14em !important; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.sf-col ul { display: grid; gap: 10px; font-size: .9rem; }
.sf-col a:hover { color: var(--orange); }
.sf-contact li { display: flex; gap: 10px; }
.sf-contact li i { color: var(--orange); margin-top: 4px; width: 16px; }
.sf-phone { display: block; color: #fff; font: 800 1.5rem var(--display); font-stretch: 110%; margin-bottom: 14px; }
.sf-word { font: 900 clamp(5rem, 22vw, 19rem)/.8 var(--display); font-stretch: 125%; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); text-align: center; margin: 48px 0 0; user-select: none; background: linear-gradient(180deg, rgba(255,106,0,.18), transparent 70%); -webkit-background-clip: text; background-clip: text; }
.sf-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }

/* WhatsApp float */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 800; height: 56px; padding: 0 22px 0 8px; display: inline-flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; border-radius: 999px; font-weight: 600; font-size: .9rem; box-shadow: 0 12px 30px -10px rgba(18,140,74,.7); transition: transform .25s var(--ease); }
.wa-float i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); font-size: 1.5rem; }
.wa-float:hover { color: #fff; transform: translateY(-3px); }

/* Mobile tab bar */
.tabbar { display: none; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .rv { opacity: 1; transform: none; }
    .ticker-track { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
    .sh-call { display: none; }
    .sh-pages { display: none; }
}
@media (max-width: 960px) {
    :root { --header-h: 64px; }
    .sh-main-inner { height: 64px; gap: 10px; }
    .sh-burger { display: flex; }
    .sh-logo img { width: 40px; height: 40px; }
    .sh-logo-text strong { font-size: 1.2rem; }
    .sh-logo-text small { display: none; }
    .sh-search { position: absolute; left: 12px; right: 12px; top: 72px; max-width: none; display: none; z-index: 70; background: #fff; box-shadow: var(--shadow-3); }
    .sh.search-open .sh-search { display: flex; }
    .sh-kbd { display: none; }
    .sh-search-toggle { display: grid; }
    .sh-quote { padding: 0 6px; height: 44px; }
    .sh-quote-text { display: none; }
    .sh-quote-icon { width: 32px; height: 32px; background: transparent; }
    .sh-wa { display: none; }
    .sh-rail { display: none; }
    .help-band-grid { grid-template-columns: repeat(2, 1fr); }
    .help-band-grid > div { border-left: 0; padding: 18px 0; }
    .sf-top { grid-template-columns: 1fr 1fr; }
    .sf-brand { grid-column: 1 / -1; }
    .wa-float { display: none; }
    .ticker { height: 32px; font-size: .74rem; }

    .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 850; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
    .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 60px; font-size: .68rem; font-weight: 600; color: var(--steel); }
    .tabbar i { font-size: 1.15rem; }
    .tabbar .is-active { color: var(--orange); }
    .tabbar-quote-ico { position: relative; width: 46px; height: 46px; margin-top: -22px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(255,106,0,.7), 0 0 0 5px #fff; }
    .tabbar-quote-ico .q-count { box-shadow: 0 0 0 2px #fff; background: var(--ink); }
    body.store { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
    .toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
    .sec { padding: 56px 0; }
}
@media (max-width: 560px) {
    .wrap, body.store .container { padding: 0 16px; }
    .pgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .pcard { border-radius: var(--r); }
    .pcard-body { padding: 12px 12px 12px; }
    .pcard-name { font-size: .9rem !important; margin: 6px 0 8px; }
    .pcard-cat { font-size: .64rem; }
    .pcard-specs li { font-size: .64rem; padding: 5px 6px; }
    .pcard-specs li:nth-child(2) { display: none; }
    .pcard-ask { font-size: .62rem; padding: 4px 9px 4px 8px; left: 8px; bottom: 8px; }
    .pcard-foot { padding-top: 10px; }
    .pcard-add { height: 38px; padding: 0 10px; font-size: .78rem; }
    .pcard-wa { width: 38px; height: 38px; flex-shrink: 0; }
    .pcard-sku { display: none; }
    .pgrid.is-list .pcard-media { width: 120px; }
    .sf-top { grid-template-columns: 1fr; gap: 28px; }
    .toast { left: 16px; right: 16px; transform: translateY(20px); }
    .toast.is-show { transform: none; }
    .help-band-grid { grid-template-columns: 1fr 1fr; gap: 0 12px; }
    .help-band-grid > div { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Grid children must be allowed to shrink below their content width */
.pd-grid > *, .pd-details-grid > *, .shop-grid > *, .qx-grid > *, .hx-inner > *, .how-grid > *, .frost > * { min-width: 0; }

/* ---------- PROMOTION (POS → Settings → Promotions) ---------- */
.promo-bar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 18px; padding: 10px 20px; background: var(--orange); color: #fff; font-size: .88rem; text-align: center; transition: background .2s; }
.promo-bar:hover { background: var(--orange-dark); color: #fff; }
.promo-bar-title { font: 800 .95rem/1.2 var(--display); font-stretch: 112%; text-transform: uppercase; letter-spacing: .04em; display: inline-flex; gap: 8px; align-items: center; }
.promo-bar-msg { opacity: .95; }
.promo-bar-ends { font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(0,0,0,.18); font-size: .78rem; }
.promo-bar-cta { font-weight: 700; display: inline-flex; gap: 6px; align-items: center; border-bottom: 2px solid rgba(255,255,255,.7); padding-bottom: 1px; }
.ticker-group span.ticker-promo { color: #fff; font-weight: 700; }
.pcard-tag.is-promo { background: #0d0d0d; color: #fff; box-shadow: inset 0 -3px 0 var(--orange); }
@media (max-width: 640px) {
    .promo-bar { font-size: .8rem; padding: 9px 14px; gap: 4px 10px; }
    .promo-bar-msg { flex-basis: 100%; order: 3; }
    .promo-bar-cta { order: 4; }
}

/* ---------- WEBSITE PRICES (POS → product → "Show price on website") ---------- */
.pcard-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: -4px 0 10px; }
.pcard-price strong { font: 800 1.12rem/1.2 var(--display); font-stretch: 105%; color: var(--ink); }
.pcard-price s { font-size: .82rem; color: var(--steel-2); }

/* "Book a technician" link in the header rail */
.sh-pages a.sh-book { color: var(--orange-dark); font-weight: 700; background: var(--orange-lite); }
.sh-pages a.sh-book i { font-size: .85em; }
.sh-pages a.sh-book:hover, .sh-pages a.sh-book.is-active { background: var(--orange); color: #fff; }
