/* Customer facing frame: hire shop and trade account. Same manila and black system as the back office,
   calmer and more open. Colours come only from np.css tokens. */

/* Line icons in our palette (the icon sheet falls back to other tokens otherwise) */
.neon-icon { --ink-dk: var(--ink); --accent: var(--warn); }

.cust-app { min-height: 100vh; display: flex; flex-direction: column; --util-h: 34px; }
.shop-wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; width: 100%; }
.shop-skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--on-night); padding: 8px 14px; border-radius: var(--pill); }
.shop-skip:focus { top: 8px; }

/* ---------- Header ---------- */
.shop-top { position: sticky; top: calc(-1 * var(--util-h)); z-index: 40; }
.shop-util { background: var(--bar-bg); color: var(--bar-fg); font-size: 12.5px; }
.shop-util .shop-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--util-h); }
.shop-signed { color: var(--bar-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-signed b { color: var(--bar-fg); font-weight: 600; }
.shop-signed .mono { margin-left: 6px; font-size: 11px; }
.shop-util-right { display: flex; align-items: center; gap: 18px; color: var(--bar-mute); white-space: nowrap; }
.shop-bo { color: var(--bar-fg); text-decoration: none; border: 1px solid var(--bar-line); border-radius: var(--pill); padding: 2px 10px; font-size: 12px; }
.shop-bo:hover { background: var(--bar-hover); }

.shop-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.shop-head .shop-wrap { display: flex; align-items: center; gap: 30px; min-height: 72px; }
.shop-menu { color: var(--ink); border-color: var(--line); }
.shop-menu:hover { background: var(--paper-2); }
.shop-head .shop-wrap > .shop-menu { margin-right: -14px; }
.shop-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.shop-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: var(--on-night); display: grid; place-items: center; font: 600 16px var(--serif); letter-spacing: .02em; }
.shop-brand-name { font: 500 21px/1 var(--serif); letter-spacing: -0.01em; white-space: nowrap; }
.shop-nav { display: flex; gap: 24px; flex: 1; }
.shop-nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 14.5px; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.shop-nav a:hover { color: var(--ink); }
.shop-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.shop-nav-short { display: none; }
.shop-depot { display: inline-flex; align-items: center; background: var(--paper-2); border-radius: var(--pill); padding: 3px; gap: 2px; flex: none; }
.shop-depot-l { font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); padding: 0 8px 0 10px; }
.shop-depot button { border: 0; background: none; padding: 6px 13px; border-radius: var(--pill); cursor: pointer; font-weight: 500; font-size: 13px; color: var(--ink-2); }
.shop-depot button[aria-pressed="true"] { background: var(--ink); color: var(--on-night); }
.shop-basket-btn { display: inline-flex; align-items: center; gap: 9px; background: var(--ink); color: var(--on-night); border: 0; border-radius: var(--pill); padding: 9px 12px 9px 16px; font-weight: 500; font-size: 14px; cursor: pointer; flex: none; }
.shop-basket-btn:hover { background: var(--night-3); }
.shop-basket-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linejoin: round; }
.shop-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--pill); background: var(--on-night); color: var(--ink); display: inline-grid; place-items: center; font: 600 11.5px var(--mono); }
.shop-count.bump { animation: shopBump .35s ease; }
@keyframes shopBump { 40% { transform: scale(1.25); } }

/* ---------- Footer ---------- */
.shop-main { flex: 1; padding-bottom: 72px; }
.shop-foot { background: var(--night); color: var(--on-night); padding: 40px 0 44px; }
.shop-foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.shop-foot .eyebrow { color: var(--on-night-mute); margin-bottom: 8px; }
.shop-foot p { color: var(--on-night-mute); font-size: 13px; margin: 0; }
.shop-foot a { color: var(--on-night); }

/* ---------- Shop: hero and hire period ---------- */
.shop-hero { padding: 44px 0 22px; max-width: 760px; }
.shop-hero h1 { font-size: 48px; margin-top: 10px; letter-spacing: -0.02em; }
.shop-hero .lede { color: var(--ink-2); font-size: 16px; margin-top: 12px; }
.shop-period { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 14px 26px; align-items: end; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; position: sticky; top: 80px; z-index: 20; box-shadow: var(--shadow); }
.shop-period-fields { display: flex; align-items: flex-end; gap: 10px; }
.shop-period-fields .input { width: 168px; }
.shop-period-to { color: var(--mute); padding-bottom: 10px; font-size: 13px; }
.shop-chips { display: flex; gap: 6px; flex-wrap: wrap; padding-bottom: 4px; }
.shop-chips .chip { padding: 6px 13px; font-weight: 500; }
.shop-chips .chip:hover { border-color: var(--ink); }
.shop-period-sum { text-align: right; min-width: 0; }
.shop-period-days { font-size: 15px; }

/* ---------- Shop: layout, categories, grid ---------- */
.shop-layout { display: grid; grid-template-columns: 276px minmax(0, 1fr); gap: 32px; margin-top: 30px; align-items: start; }
.shop-search { position: relative; }
.shop-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; stroke: var(--mute); fill: none; stroke-width: 2; pointer-events: none; }
.shop-search .input { padding-left: 36px; border-radius: var(--pill); }
.shop-cats { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }
.shop-cat { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 6px 10px 6px 6px; border: 0; background: none; border-radius: 12px; cursor: pointer; text-align: left; font-weight: 500; font-size: 13.5px; color: var(--ink-2); }
.shop-cat:hover { background: var(--paper-2); color: var(--ink); }
.shop-cat[aria-pressed="true"] { background: var(--ink); color: var(--on-night); }
.shop-cat-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-cat-n { font: 500 11px var(--mono); color: var(--mute); }
.shop-cat[aria-pressed="true"] .shop-cat-n { color: var(--on-night-mute); }
.shop-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--paper-2); display: grid; place-items: center; padding: 4px; }
.shop-ic .neon-icon { width: 30px; height: 30px; }
.shop-cat:hover .shop-ic { background: var(--paper-3); }
.shop-cat[aria-pressed="true"] .shop-ic { background: var(--on-night); }

.shop-results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.shop-results-head h2 { font-size: 30px; }
.shop-results-head p { margin: 6px 0 0; }
.shop-results-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.shop-results-tools .select { width: auto; min-width: 190px; min-height: 36px; padding-top: 7px; padding-bottom: 7px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.shop-empty { grid-column: 1 / -1; background: var(--card); border: 1px dashed var(--line-2); border-radius: 16px; }

.shop-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; transition: border-color .18s, box-shadow .18s; min-width: 0; }
.shop-card:hover, .shop-card:focus-within { border-color: var(--line-2); box-shadow: var(--shadow); }
.shop-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.shop-card-ic { width: 68px; height: 68px; border-radius: 14px; background: var(--paper-2); border: 0; display: grid; place-items: center; padding: 8px; cursor: pointer; }
.shop-card-ic .neon-icon { width: 52px; height: 52px; }
.shop-card.is-out .shop-card-ic { opacity: .55; }
.shop-card-sku { font-size: 11px; color: var(--mute); }
.shop-card-name { font: 500 19px/1.2 var(--serif); margin: 4px 0 0; }
.shop-linkish { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; letter-spacing: inherit; }
.shop-linkish:hover { text-decoration: underline; text-underline-offset: 3px; }
.shop-card-sub { font: 500 10.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--mute); margin-top: -4px; }
.shop-rates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 4px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; gap: 6px; }
.shop-rates dt { font: 500 10px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--mute); }
.shop-rates dd { margin: 2px 0 0; }
.shop-rates .ex { font-weight: 600; font-variant-numeric: tabular-nums; font-size: 14px; display: block; }
.shop-rates .inc { color: var(--mute); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.shop-card-price-l { font-size: 12px; color: var(--mute); margin-bottom: 2px; }
.shop-card-price .money-ex { font-size: 16px; }
.shop-avail { margin: 0; font-size: 13px; font-weight: 500; display: flex; gap: 7px; align-items: center; }
.shop-avail.ok { color: var(--ok); }
.shop-avail.low { color: var(--warn); }
.shop-avail-none { background: var(--paper-2); border-radius: 10px; padding: 10px 12px; }
.shop-avail-none p { margin: 0 0 8px; font-size: 13px; color: var(--ink-2); }
.shop-cert { margin: 0; font-size: 12.5px; color: var(--ink-2); padding-left: 12px; border-left: 2px solid var(--line-2); }
.shop-cert.warn { color: var(--warn); border-left-color: var(--warn); }
.shop-card-actions { margin-top: auto; padding-top: 6px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }

.shop-step { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--pill); background: var(--card); flex: none; }
.shop-step button { width: 32px; height: 32px; border: 0; background: none; border-radius: var(--pill); cursor: pointer; font-size: 16px; line-height: 1; color: var(--ink); }
.shop-step button:hover:not([disabled]) { background: var(--paper-2); }
.shop-step button[disabled] { opacity: .35; cursor: not-allowed; }
.shop-step input { width: 36px; border: 0; background: transparent; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; padding: 0; -moz-appearance: textfield; appearance: textfield; }
.shop-step input::-webkit-outer-spin-button, .shop-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Product drawer ---------- */
.shop-detail-hero { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 20px; align-items: center; margin-bottom: 8px; }
.shop-detail-hero .shop-avail, .shop-detail-hero .shop-avail-none { margin-top: 10px; }
.shop-detail-ic { width: 116px; height: 116px; border-radius: 22px; background: var(--paper-2); display: grid; place-items: center; }
.shop-detail-ic .neon-icon { width: 86px; height: 86px; max-width: 86px; max-height: 86px; }
.shop-detail-price { margin-top: 8px; }
.shop-detail-price .money-ex { font-size: 20px; }
.shop-h4 { margin: 24px 0 10px; }
.shop-explain { margin-top: 10px; line-height: 1.55; }
.shop-strip { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px; margin-bottom: 8px; }
.shop-strip-d { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 7px 0 6px; border-radius: 9px; background: var(--ok-bg); color: var(--ok); }
.shop-strip-d.low { background: var(--warn-bg); color: var(--warn); }
.shop-strip-d.none { background: var(--bad-bg); color: var(--bad); }
.shop-strip-d.in { box-shadow: inset 0 0 0 2px var(--ink); }
.shop-strip-d.shut .w { text-decoration: underline dotted; }
.shop-strip-d .w { font: 500 10px var(--mono); text-transform: uppercase; }
.shop-strip-d .d { font-weight: 600; font-size: 13px; color: var(--ink); }
.shop-strip-d .n { font: 600 11.5px var(--mono); }
.shop-facts { margin: 0; padding-left: 18px; }
.shop-facts li { margin-bottom: 6px; }
.shop-facts li.warn { color: var(--warn); }
.shop-detail-foot { display: flex; gap: 12px; align-items: center; justify-content: flex-end; width: 100%; }

/* ---------- Basket drawer ---------- */
.drawer.shop-basket { width: min(620px, 100vw); }
.shop-basket .drawer-foot { flex-wrap: wrap; }
.shop-bsec { padding: 18px 0; border-bottom: 1px solid var(--line); }
.shop-bsec:first-child { padding-top: 0; }
.shop-bsec:last-child { border-bottom: 0; }
.shop-bh { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin: 0 0 12px; }
.shop-differ { margin-bottom: 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.shop-blines { list-style: none; margin: 0; padding: 0; }
.shop-bline { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; grid-template-areas: "ic main price" "ic qty rm"; gap: 8px 14px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.shop-bline:last-child { border-bottom: 0; }
.shop-bline-ic { grid-area: ic; align-self: start; width: 46px; height: 46px; border-radius: 11px; background: var(--paper-2); display: grid; place-items: center; }
.shop-bline-ic .neon-icon { width: 34px; height: 34px; }
.shop-bline-main { grid-area: main; min-width: 0; }
.shop-bline-qty { grid-area: qty; }
.shop-bline-price { grid-area: price; text-align: right; }
.shop-bline-price .money { flex-direction: column; align-items: flex-end; gap: 0; }
.shop-bline-price .money-tag { display: none; }
.shop-bline-price .money-inc::after { content: ' inc VAT'; font-size: 11px; }
.shop-bline-price .money-ex::after { content: ' ex VAT'; font-size: 11px; font-weight: 400; color: var(--mute); }
.shop-remove { grid-area: rm; justify-self: end; }
.shop-bad { color: var(--bad); }
.shop-options { display: grid; gap: 8px; }
.shop-option, .shop-site { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); cursor: pointer; }
.shop-option:hover, .shop-site:hover { border-color: var(--ink); }
.shop-option:has(input:checked), .shop-site:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.shop-option input, .shop-site input { accent-color: var(--ink); margin-top: 3px; width: 16px; height: 16px; flex: none; }
.shop-option b, .shop-site b { display: block; font-weight: 600; }
.shop-option .small, .shop-site .small { display: block; margin-top: 2px; }
.shop-sites { border: 0; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; min-width: 0; }
.shop-sites legend { padding: 0; margin-bottom: 8px; }
.shop-site { padding: 10px 12px; }
.shop-newsite { margin-top: 12px; }
.shop-transport { margin: 14px 0 0; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.shop-waiver { align-items: flex-start; }
.shop-waiver input { margin-top: 2px; flex: none; }
.shop-waiver .money { margin-left: 2px; }
.shop-checks { display: grid; gap: 8px; }
.shop-totals { font-size: 14px; }
.shop-totals td { padding: 7px 0 !important; border-bottom: 0; }
.shop-totals tr.sum td { border-top: 1px solid var(--line-2); padding-top: 10px !important; }
.shop-totals tr.grand td { font-weight: 600; font-size: 16px; border-top: 1px solid var(--ink); padding-top: 10px !important; }
.shop-bfoot { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.shop-bfoot-total { font: 500 28px/1.1 var(--serif); }
.shop-bfoot-why { width: 100%; text-align: right; margin: 0; }

/* ---------- Order confirmation ---------- */
.shop-confirm-head { padding: 52px 0 28px; max-width: 900px; }
.shop-confirm-head h1 { font-size: 44px; margin-top: 10px; letter-spacing: -0.02em; }
.shop-ordno { font-family: var(--mono); font-size: .72em; letter-spacing: -0.02em; background: var(--ink); color: var(--on-night); padding: 2px 12px; border-radius: 10px; white-space: nowrap; vertical-align: 4px; }
.shop-confirm-head .lede { font-size: 16px; color: var(--ink-2); margin-top: 12px; }
.shop-confirm-actions { margin-top: 18px; }
.shop-confirm-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.shop-h2 { font-size: 22px; margin-bottom: 16px; }
.shop-next { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.shop-next li { counter-increment: step; position: relative; padding: 0 0 18px 44px; }
.shop-next li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--on-night); display: grid; place-items: center; font: 600 12px var(--mono); }
.shop-next li::after { content: ''; position: absolute; left: 13.5px; top: 30px; bottom: 4px; width: 1px; background: var(--line-2); }
.shop-next li:last-child { padding-bottom: 0; }
.shop-next li:last-child::after { display: none; }
.shop-next p { margin: 3px 0 0; color: var(--ink-2); }
.shop-dl { grid-template-columns: 130px minmax(0, 1fr); }

/* ---------- Trade account ---------- */
.acct-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 44px 0 22px; }
.acct-hero h1 { font-size: 46px; margin-top: 10px; letter-spacing: -0.02em; }
.acct-hero .lede { color: var(--ink-2); font-size: 15.5px; margin: 10px 0 0; max-width: 720px; }
.acct-alert { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.acct-summary { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 30px; }
.acct-summary .kpi .value { font-size: 28px; }
.acct-meter { display: block; height: 5px; border-radius: 5px; background: var(--night-3); overflow: hidden; margin: 4px 0 6px; }
.acct-meter span { display: block; height: 100%; background: var(--on-night); border-radius: 5px; }
.acct-tabs .tabs { margin-bottom: 20px; }
.acct-orders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.acct-order { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.acct-order.is-new { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink), var(--shadow); }
.acct-order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.acct-ordno { font: 500 20px var(--serif); }
.acct-badges { margin-top: 6px; gap: 6px; }
.acct-when { font: 500 12px var(--mono); padding: 4px 10px; border-radius: var(--pill); background: var(--paper-2); white-space: nowrap; }
.acct-when.warn { background: var(--warn-bg); color: var(--warn); }
.acct-when.bad { background: var(--bad-bg); color: var(--bad); }
.acct-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.acct-lines li { display: flex; gap: 12px; align-items: center; }
.acct-line-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--paper-2); display: grid; place-items: center; flex: none; }
.acct-line-ic .neon-icon { width: 30px; height: 30px; }
.acct-line-main { min-width: 0; }
.acct-line-main .small { display: block; overflow-wrap: anywhere; }
.acct-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 16px; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.acct-facts dt { font: 500 10.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--mute); }
.acct-facts dd { margin: 3px 0 0; font-size: 13.5px; }
.acct-note { margin: 0; }
.acct-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; margin-top: auto; }
.acct-kit { display: block; max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-paybar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; padding: 14px 20px; }
.acct-tick { width: 17px; height: 17px; accent-color: var(--ink); cursor: pointer; }
.acct-paylist { margin-bottom: 14px; }
.acct-paylist td { padding: 6px 0 !important; }
.acct-paytotal td { font-weight: 600; border-top: 1px solid var(--line-2); }
.acct-card { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 12px; background: var(--night); color: var(--on-night); margin-bottom: 12px; }
.acct-card .muted { color: var(--on-night-mute); }
.acct-card-chip { width: 34px; height: 24px; border-radius: 5px; background: var(--paper-3); flex: none; }
.acct-docs-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.acct-docs-head h3 { margin-bottom: 6px; }
.acct-docs-head p { margin: 0; max-width: 640px; }
.acct-pad { padding: 12px 20px 16px; margin: 0; }
.acct-gap { margin-top: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .acct-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .acct-summary .kpi.dark { grid-column: span 3; }
  .shop-period { grid-template-columns: auto minmax(0, 1fr); }
  .shop-period-sum { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 920px) {
  .cust-app { --util-h: 32px; }
  .shop-wrap { padding: 0 16px; }
  .shop-hide-sm { display: none; }
  .shop-head .shop-wrap { flex-wrap: wrap; gap: 8px 12px; padding-top: 10px; padding-bottom: 8px; min-height: 0; }
  .shop-brand-name { font-size: 18px; }
  .shop-brand-name span { display: none; }
  .shop-mark { width: 34px; height: 34px; font-size: 14px; }
  .shop-basket-btn { order: 2; margin-left: auto; padding: 8px 10px 8px 12px; }
  .shop-nav { order: 3; flex: 0 1 auto; gap: 14px; }
  .shop-nav-your { display: none; }
  .shop-nav-short { display: inline; }
  .shop-nav a { font-size: 13.5px; }
  .shop-depot { order: 4; margin-left: auto; }
  .shop-depot-l { display: none; }
  .shop-depot button { padding: 5px 10px; font-size: 12.5px; }
  .shop-hero { padding: 26px 0 16px; }
  .shop-hero h1, .acct-hero h1 { font-size: 34px; }
  .shop-period { position: static; grid-template-columns: 1fr; padding: 16px; box-shadow: none; }
  .shop-period-fields .field { flex: 1; min-width: 0; }
  .shop-period-fields .input { width: 100%; }
  .shop-period-to { display: none; }
  .shop-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .shop-period-sum { text-align: left; }
  .shop-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 20px; }
  .shop-side, .shop-results { min-width: 0; }
  .shop-cats { flex-direction: row; overflow-x: auto; gap: 8px; margin: 12px -16px 0; padding: 2px 16px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .shop-cat { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 96px; max-width: 110px; padding: 10px 8px; border: 1px solid var(--line); background: var(--card); text-align: center; font-size: 12px; scroll-snap-align: start; }
  .shop-cat-name { white-space: normal; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .shop-cat-n { display: none; }
  .shop-results-head { flex-direction: column; align-items: stretch; }
  .shop-results-head h2 { font-size: 26px; }
  .shop-results-tools { justify-content: space-between; }
  .shop-results-tools .select { min-width: 0; flex: 1; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-foot-grid { grid-template-columns: 1fr 1fr; }
  .shop-confirm-head { padding: 30px 0 20px; }
  .shop-confirm-head h1 { font-size: 32px; }
  .shop-confirm-grid { grid-template-columns: 1fr; }
  .acct-hero { padding: 26px 0 16px; }
  .acct-orders { grid-template-columns: 1fr; }
  .acct-summary { grid-template-columns: 1fr 1fr; }
  .acct-summary .kpi.dark { grid-column: span 2; }
  .acct-kit { max-width: 220px; }
}
@media (max-width: 560px) {
  .shop-strip { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .shop-detail-hero { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .shop-detail-ic { width: 84px; height: 84px; border-radius: 18px; }
  .shop-detail-ic .neon-icon { width: 62px; height: 62px; }
  .drawer-head, .drawer-body { padding-left: 18px; padding-right: 18px; }
  .drawer-foot { padding-left: 18px; padding-right: 18px; }
  .shop-bfoot-total { font-size: 24px; }
  .shop-foot-grid { grid-template-columns: 1fr; }
  .acct-summary .kpi .value { font-size: 22px; }
  .acct-paybar .row { width: 100%; }
  .acct-paybar .btn-primary { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-count.bump { animation: none; }
}
@media print { .shop-top, .shop-foot, .shop-period, .shop-side { display: none !important; } }
.shop-more { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; }
