/* Deartech decal ordering - Deartech charcoal + lime on white (Landquip layout) */
:root {
  --charcoal: #3f464d;
  --charcoal-dark: #2c3238;
  --charcoal-deep: #1f2428;
  --lime: #9faa00;
  --lime-dark: #8a9400;
  --lime-soft: #f3f6d6;
  --lime-tint: rgba(159,170,0,.14);
  --ink: #1f2428;
  --ink-2: #3f464d;
  --muted: #6b737b;
  --line: #e2e5e8;
  --bg: #f3f4f6;
  --ground: #dfe2e6;          /* the grey the decal pictures sit on (tools/build-catalogue.py GROUND) */
  --card: #ffffff;
  --ok: #1a8f4c;
  --warn: #b7791f;
  --danger: #c8321f;
  --rush: #d9480f;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 20px rgba(20,24,30,.06);
  --shadow-lg: 0 20px 60px rgba(20,24,30,.22);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: 26px; font-weight: 800; }
h2 { font-size: 26px; font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 12px; }
a { color: inherit; }
.muted { color: var(--muted); }
.hint { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.fineprint { font-size: 12px; color: #9aa0a6; margin-top: 28px; text-align: center; }
.link { font-size: 14px; font-weight: 600; color: var(--charcoal); }
[hidden] { display: none !important; }

/* ---- Inputs & buttons ---- */
label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=search], input[type=tel], input:not([type]), textarea, select {
  width: 100%; font: inherit; padding: 11px 13px; border: 1px solid #c9ced3; border-radius: 9px; background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--lime-dark); box-shadow: 0 0 0 3px var(--lime-tint); }
textarea { resize: vertical; }
.code-input { font-size: 28px; letter-spacing: 10px; text-align: center; font-weight: 700; }
.btn { font: inherit; font-weight: 600; border: 1px solid transparent; border-radius: 9px; padding: 11px 18px; cursor: pointer; background: #fff; color: var(--ink); transition: background .15s, transform .05s, box-shadow .15s; text-decoration: none; display: inline-block; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-primary { background: var(--lime); color: var(--charcoal-deep); font-weight: 700; }
.btn-primary:hover:not(:disabled) { background: var(--lime-dark); }
.btn-ghost { background: transparent; border-color: #c9ced3; color: var(--ink-2); }
.btn-ghost:hover { background: #fff; border-color: var(--charcoal); }
.btn-link { background: none; color: var(--muted); padding: 8px; text-decoration: underline; font-weight: 500; }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.icon-btn { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); padding: 4px 8px; border-radius: 8px; }
.icon-btn:hover { background: var(--bg); color: var(--ink); }
.stack > * + * { margin-top: 14px; }
.msg { margin-top: 14px; padding: 10px 12px; border-radius: 8px; font-size: 14px; background: #fdecec; color: #9b1c1c; }
.msg.ok { background: #e9f4d2; color: #4a5a00; }
.msg.warn { background: #fff5dd; color: #7a5200; }

/* ---- Login ---- */
.login-view { min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: linear-gradient(160deg, var(--charcoal) 0%, var(--charcoal-dark) 55%, var(--charcoal-deep) 100%); }
.login-view::before { content: ''; position: fixed; inset: auto -10% -30% auto; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; border-radius: 50%; background: radial-gradient(circle, rgba(159,170,0,.35), transparent 65%); pointer-events: none; }
.login-card { position: relative; width: 100%; max-width: 440px; background: var(--card); border-radius: 18px; padding: 36px 34px 26px; box-shadow: var(--shadow-lg); }
.login-logo { width: 230px; display: block; margin: 0 0 24px; }
.login-card h1 { margin-bottom: 6px; }
.login-card .muted { margin-bottom: 22px; }

/* ---- Top bar (charcoal) ---- */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--charcoal); color: #fff; border-bottom: 3px solid var(--lime); }
.topbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; color: rgba(255,255,255,.75); font-size: 14px; }
.brand img { height: 30px; display: block; }
.tabs { display: flex; gap: 4px; margin-left: auto; }
.tab { text-decoration: none; padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: 14px; color: rgba(255,255,255,.72); }
.tab:hover { background: rgba(255,255,255,.08); color: #fff; }
.tab.active { color: var(--charcoal-deep); background: var(--lime); }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.cart-btn { display: flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; font-size: 14px; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 9px; padding: 9px 14px; cursor: pointer; }
.cart-btn:hover { background: rgba(255,255,255,.18); }
.badge { background: var(--lime); color: var(--charcoal-deep); font-size: 12px; font-weight: 800; min-width: 20px; height: 20px; border-radius: 10px; display: inline-grid; place-items: center; padding: 0 6px; }
.user-menu { display: flex; align-items: center; gap: 10px; }
.user-email { font-size: 13px; color: rgba(255,255,255,.7); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.topbar .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---- Page ---- */
.page { max-width: 1280px; margin: 0 auto; padding: 32px 24px 60px; min-height: calc(100vh - 140px); }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head .muted { margin: 6px 0 0; max-width: 560px; }
.filters { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.filters input { width: 300px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.chip { font: inherit; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid #cfd4d9; background: #fff; color: var(--ink-2); cursor: pointer; }
.chip:hover { border-color: var(--charcoal); }
.chip.active { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.foot { max-width: 1280px; margin: 0 auto; padding: 18px 24px 40px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

/* ---- Home ---- */
.hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.hero .muted { margin: 8px 0 0; max-width: 620px; font-size: 16px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }
.tile { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; border: 1px solid transparent; transition: border-color .15s, transform .15s, box-shadow .15s; }
.tile:hover { border-color: var(--lime-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(20,24,30,.12); }
.tile-pics { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 6px; background: var(--ground); height: 170px; }
.tile-pics.n2 { grid-template-columns: 1fr 1fr; }
.tile-pics.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.tile-pics.n3 img:first-child { grid-row: span 2; }
.tile-pics img { width: 100%; height: 100%; object-fit: contain; background: var(--ground); border-radius: 6px; display: block; min-height: 0; }
.tile-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tile-title { font-weight: 800; font-size: 17px; color: var(--ink); }
.tile-desc { font-size: 13.5px; color: var(--muted); flex: 1; }
.tile-meta { font-size: 13px; font-weight: 700; color: var(--charcoal); margin-top: 6px; }
.tile-meta span { color: var(--lime-dark); margin-left: 4px; }
.tile-request { border: 2px dashed #cfd4d9; background: #fbfbfc; box-shadow: none; }
.tile-request:hover { background: #fff; border-color: var(--lime-dark); }
.tile-request .tile-body { padding-top: 22px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.orders.compact .order-notes { display: none; }

/* ---- Product grid ---- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border: 1px solid transparent; transition: border-color .15s, box-shadow .15s; }
.card.in-cart { border-color: var(--lime-dark); }
.card-img { position: relative; aspect-ratio: 16 / 10; background: var(--ground); border-bottom: 1px solid var(--line); cursor: zoom-in; overflow: hidden; padding: 10px; }
.card-img img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .25s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-img .sku { position: absolute; top: 10px; left: 10px; background: rgba(31,36,40,.85); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 4px 8px; border-radius: 6px; }
.card-img .example { position: absolute; top: 10px; right: 10px; background: var(--rush); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 4px 8px; border-radius: 6px; text-transform: uppercase; }
.card-img .zoom { position: absolute; right: 10px; bottom: 10px; background: rgba(255,255,255,.92); border-radius: 6px; font-size: 11px; font-weight: 600; padding: 4px 8px; color: var(--ink-2); }
.card-body { padding: 12px 14px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font-weight: 700; font-size: 15px; }
.card-machine { font-size: 12.5px; font-weight: 600; color: var(--lime-dark); margin-top: -4px; }
.card-example { font-size: 12px; color: var(--rush); font-weight: 600; }
.details-intro { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; padding: 10px 12px; background: var(--bg); border-radius: 9px; font-size: 13px; color: var(--ink-2); }
.details-intro img { width: 120px; height: 74px; object-fit: contain; background: var(--ground); border-radius: 6px; padding: 3px; }
.line-details { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.line-details b { font-weight: 600; }
.card-desc { font-size: 12.5px; color: var(--muted); flex: 1; }
.min-hint { font-size: 12px; color: var(--muted); }
.btn-danger { color: var(--danger); border-color: #f0c2c5; }
.btn-danger:hover { background: #fdecec; }
.card-price { font-weight: 700; font-size: 15px; }
.card-price small { font-weight: 500; color: var(--muted); font-size: 12px; margin-left: 4px; }
.card-price.poa { color: var(--muted); font-weight: 600; font-size: 13px; }
.price-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-hint { font-size: 12px; color: var(--muted); }
.price-hint.break { color: #7a5200; }
.price-hint.total { font-size: 13px; }
.price-hint.total b, .cart-line .sub b { font-weight: 700; color: var(--ink); }
.card-foot { display: flex; align-items: center; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.card-foot select { flex: 1; padding: 9px 10px; font-size: 14px; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid #c9ced3; border-radius: 9px; overflow: hidden; background: #fff; }
.qty-sel { border: 0; background: none; overflow: visible; gap: 6px; align-items: center; flex: 1 1 100%; }
.qty-sel select { flex: 1; width: auto; min-width: 74px; max-width: 100%; padding: 9px 8px; font-size: 14px; font-weight: 700; }
.qty-sel input[data-qty-custom] { width: 62px; border: 1px solid #c9ced3; border-radius: 9px; text-align: center; padding: 8px 4px; font-weight: 700; }
.qty button { font: inherit; font-size: 18px; width: 30px; border: 0; background: #fff; cursor: pointer; color: var(--ink-2); }
.qty button:hover { background: var(--bg); }
.qty input { width: 46px; text-align: center; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-radius: 0; padding: 8px 4px; font-weight: 700; }
.qty input:focus { box-shadow: none; }
.btn-add { margin-left: auto; flex: 1 1 auto; white-space: nowrap; padding: 10px 12px; font-size: 14px; }
.btn-add.added { background: var(--ok); color: #fff; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 60px 0; }

/* ---- Drawer ---- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(20,24,30,.45); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: #fff; z-index: 41; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; }
.cart-total .muted { font-weight: 500; font-size: 13px; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 72px; height: 48px; object-fit: contain; border-radius: 6px; border: 1px solid var(--line); background: var(--ground); padding: 3px; }
.cart-line .name { font-weight: 600; font-size: 14px; }
.cart-line .sub { font-size: 12px; color: var(--muted); }
.cart-line .qty input { width: 44px; }
.cart-line .remove { background: none; border: 0; color: var(--muted); font-size: 12px; cursor: pointer; text-decoration: underline; padding: 4px 0; }
.cart-empty { text-align: center; color: var(--muted); padding: 50px 10px; }

/* ---- Modals ---- */
.modal { position: fixed; inset: 0; background: rgba(20,24,30,.55); z-index: 50; display: grid; place-items: center; padding: 20px; overflow: auto; }
.modal-card { background: #fff; border-radius: 16px; width: 100%; max-width: 680px; box-shadow: var(--shadow-lg); max-height: calc(100vh - 40px); display: flex; flex-direction: column; }
.modal-card.small { max-width: 460px; padding: 36px 32px; text-align: center; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal-body { padding: 18px 22px 22px; overflow: auto; }
.review-items { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
.review-row { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.review-row:last-child { border-bottom: 0; }
.review-row img { width: 64px; height: 42px; object-fit: contain; border-radius: 5px; border: 1px solid var(--line); background: var(--ground); padding: 2px; }
.review-row .q { font-weight: 700; }
.review-row .p { color: var(--muted); min-width: 70px; text-align: right; }
.review-total { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; background: var(--bg); font-weight: 700; font-size: 14px; }
.review-line { display: flex; justify-content: space-between; padding: 8px 12px; font-size: 14px; border-top: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field.span-2 { grid-column: span 2; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.modal-actions.center { justify-content: center; }
.done-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--lime-soft); color: var(--lime-dark); font-size: 32px; font-weight: 800; display: grid; place-items: center; margin: 0 auto 16px; }

/* ---- Delivery / time frame options ---- */
.delivery-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.delivery-opt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid #c9ced3; border-radius: 9px; padding: 10px 12px; cursor: pointer; font-weight: 500; margin: 0; }
.delivery-opt:has(input:checked) { border-color: var(--lime-dark); background: var(--lime-soft); }
.delivery-opt.rush:has(input:checked) { border-color: var(--rush); background: #fff1ea; }
.delivery-opt input { margin-top: 3px; accent-color: var(--charcoal); }
.delivery-opt span { display: flex; flex-direction: column; line-height: 1.3; }
.delivery-opt small { color: var(--muted); font-weight: 500; }
.delivery-note { margin-top: 8px; }
.addr-book { margin-top: 12px; }
.addr-book-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.addr-card { display: flex; gap: 10px; align-items: flex-start; border: 1px solid #c9ced3; border-radius: 9px; padding: 10px 12px; cursor: pointer; margin: 0; font-weight: 500; font-size: 13px; line-height: 1.35; }
.addr-card:has(input:checked) { border-color: var(--lime-dark); background: var(--lime-soft); }
.addr-card input { margin-top: 2px; accent-color: var(--charcoal); }
.addr-card b { display: block; font-size: 14px; }
.addr-card.new { align-items: center; color: var(--ink-2); }
@media (max-width: 600px) { .addr-book-list { grid-template-columns: 1fr; } }
.addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); }
.addr-grid .field label { margin-bottom: 4px; }
@media (max-width: 600px) { .addr-grid { grid-template-columns: 1fr; } .addr-grid .span-2 { grid-column: span 1; } .delivery-opts { grid-template-columns: 1fr; } }

/* ---- Orders ---- */
.orders { display: flex; flex-direction: column; gap: 14px; }
.order { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.order-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 12px; }
.order-num { font-weight: 800; font-size: 17px; }
.order-meta { color: var(--muted); font-size: 13px; }
.rush-flag { color: var(--rush); }
.review-line.rush-line { color: var(--rush); font-weight: 600; }
.status { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #e9ecf0; color: var(--charcoal); text-transform: capitalize; }
.status.complete { background: #e6f6ec; color: var(--ok); }
.status.cancelled { background: #f1f1f3; color: var(--muted); }
.status.in_shopvox { background: var(--lime-soft); color: #4a5a00; }
.order-head .btn { margin-left: auto; }
.order-head .btn + .btn { margin-left: 0; }
.order-items { display: flex; flex-wrap: wrap; gap: 10px; }
.order-item { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px 6px 6px; font-size: 13px; }
.order-item img { width: 56px; height: 36px; object-fit: contain; border-radius: 4px; background: var(--ground); padding: 2px; }
.order-item b { font-size: 14px; }
.order-notes { margin-top: 12px; font-size: 13px; color: var(--ink-2); background: #fff8e1; border-left: 3px solid #f5b400; padding: 8px 12px; border-radius: 6px; white-space: pre-wrap; }

/* ---- Lightbox & toast ---- */
.lightbox { position: fixed; inset: 0; background: rgba(15,18,22,.9); z-index: 60; display: grid; place-items: center; align-content: center; gap: 14px; padding: 30px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 8px; background: var(--ground); padding: 12px; }
.lightbox-caption { color: #fff; font-weight: 600; font-size: 15px; text-align: center; }
.lightbox-close { position: absolute; top: 14px; right: 18px; color: #fff; font-size: 36px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--charcoal-deep); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; z-index: 70; box-shadow: var(--shadow-lg); border-left: 4px solid var(--lime); }

/* ---- "Need something else?" card ---- */
.card-feedback { display: flex; align-items: stretch; cursor: pointer; border: 2px dashed #cfd4d9; background: #fbfbfc; box-shadow: none; }
.card-feedback:hover { border-color: var(--lime-dark); background: #fff; }
.card-feedback .fb-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px 18px; }
.fb-icon { font-size: 28px; }
.card-feedback .card-desc { flex: 1; }
.card-feedback .btn { pointer-events: none; }
input[type=file] { font-size: 13px; }
input[type=file]::file-selector-button { font: inherit; font-size: 13px; font-weight: 600; padding: 7px 12px; border: 1px solid #c9ced3; border-radius: 8px; background: #fff; cursor: pointer; margin-right: 10px; }
input[type=file]::file-selector-button:hover { border-color: var(--lime-dark); color: var(--lime-dark); }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .topbar-inner { gap: 10px; padding: 0 12px; height: auto; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .brand img { height: 24px; }
  .brand span { display: none; }
  .user-email { display: none; }
  .user-menu .btn { padding: 7px 10px; }
  .cart-btn { margin-left: auto; padding: 8px 12px; }
  .cart-btn span:not(.badge) { display: none; }
  .tabs { order: 10; width: 100%; margin-left: 0; }
  .tab { flex: 1; text-align: center; padding: 8px 6px; white-space: nowrap; }
  .page { padding: 20px 14px 60px; }
  .filters { align-items: stretch; width: 100%; }
  .filters input { width: 100%; }
  .chips { justify-content: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .field.span-2 { grid-column: span 1; }
  .review-row { grid-template-columns: 56px 1fr auto; }
  .review-row .p { display: none; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; }
}
