/* Stride Sports Shoes: mobile-first styles for storefront, admin and print-preview pages. */
:root {
  --bg: #f6f7f9; --surface: #ffffff; --ink: #101418; --muted: #667085; --line: #e3e6ea;
  --accent: #ff5a1f; --accent-ink: #ffffff; --primary-ink: #ffffff; --text: #101418; --ok: #12805c; --warn: #b7791f; --err: #c62828;
  --radius: 12px; --shadow: 0 1px 2px rgba(16,20,24,.06), 0 8px 24px rgba(16,20,24,.06);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: var(--font);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.5; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; font-family: var(--font-heading); }
h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 .75rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: .75rem 0; }
code { background: #eef0f3; padding: .1em .35em; border-radius: 4px; font-size: .9em; }
address { font-style: normal; }
.wrap { width: min(1200px, 100% - 2rem); margin-inline: auto; }
.main { min-height: 60vh; padding: 1.25rem 0 3rem; }
.muted { color: var(--muted); } .small { font-size: .875rem; } .r { text-align: right; } .mt { margin-top: 1rem; }
.text-error { color: var(--err); } .hidden { display: none !important; }
.narrow { max-width: 620px; }
.link { text-decoration: underline; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }

/* header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; gap: .75rem; min-height: 60px; flex-wrap: wrap; }
.logo { font-weight: 800; text-decoration: none; display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; letter-spacing: -.01em; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 900; }
.logo-img { height: 40px; width: auto; max-width: 200px; object-fit: contain; }
.nav-toggle { margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: #fff; display: grid; place-content: center; gap: 4px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); }
.site-nav { display: none; width: 100%; flex-direction: column; gap: .25rem; padding: .5rem 0 .75rem; order: 10; }
.site-nav a { text-decoration: none; padding: .5rem .25rem; border-bottom: 1px solid var(--line); }
.header-row.open .site-nav { display: flex; }
.header-search { display: none; }
.header-search input { width: 100%; }
.cart-link { position: relative; display: inline-flex; align-items: center; padding: .4rem; text-decoration: none; }
.cart-count { position: absolute; top: -2px; right: -4px; background: var(--accent); color: var(--accent-ink); font-size: .7rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }

/* buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .6rem 1.1rem; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; min-height: 44px; }
.btn:hover { border-color: #c9ced6; }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-primary:hover { filter: brightness(.92); }
.btn-ghost { background: transparent; }
.btn-danger { color: var(--err); border-color: #f2c4c4; }
.btn-sm { padding: .35rem .7rem; min-height: 34px; font-size: .85rem; border-radius: 8px; }
.btn-lg { padding: .8rem 1.5rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .5rem; }
label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .75rem; }
label.check { display: flex; align-items: center; gap: .5rem; }
input:not([type=radio]):not([type=checkbox]):not([type=file]), select, textarea {
  width: 100%; display: block; margin-top: .3rem; padding: .65rem .75rem; border: 1px solid #cfd4db; border-radius: 10px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.narrow-input { max-width: 120px; }
.field-row { display: grid; gap: .5rem .75rem; grid-template-columns: 1fr; }
.inline-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .75rem 0; }
.inline-form input, .inline-form select { margin: 0; width: auto; flex: 1 1 140px; }
.row-form input { margin: 0; }

/* cards & layout */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; }
.section { margin: 2rem 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; flex-wrap: wrap; }
.two-col { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.grid { display: grid; gap: 1rem; }
.products-grid { grid-template-columns: repeat(2, 1fr); }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 1rem; }
.chip { padding: .45rem .9rem; border-radius: 999px; background: var(--ink); color: var(--primary-ink); text-decoration: none; font-size: .9rem; font-weight: 600; }
.chip-outline { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: .2rem .5rem; border-radius: 6px; background: var(--ink); color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.badge-sale { background: var(--accent); } .badge-muted { background: var(--muted); } .badge-ok { background: var(--ok); } .badge-warn { background: var(--warn); }
.status { display: inline-block; font-size: .8rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: #eef0f3; text-transform: capitalize; }
.status-paid, .status-approved { background: #e3f4ec; color: var(--ok); }
.status-shipped, .status-received { background: #e6effc; color: #1f4fa3; }
.status-delivered, .status-refunded { background: #e3f4ec; color: var(--ok); }
.status-cancelled, .status-failed, .status-rejected { background: #fde8e8; color: var(--err); }
.status-pending, .status-requested { background: #fff4e0; color: var(--warn); }
.flashes { margin-bottom: 1rem; }
.flash { padding: .75rem 1rem; border-radius: 10px; margin-bottom: .5rem; background: #eef0f3; border: 1px solid var(--line); }
.flash-success { background: #e3f4ec; border-color: #bfe5d2; } .flash-error { background: #fde8e8; border-color: #f3bcbc; } .flash-info { background: #e6effc; border-color: #c6d8f5; }

/* hero */
.hero { display: grid; gap: 1.5rem; align-items: center; background: var(--ink); color: var(--primary-ink); border-radius: 20px; padding: 2rem 1.5rem; margin-top: .5rem; overflow: hidden; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); letter-spacing: -.02em; }
.hero p { color: #c9ced6; font-size: 1.1rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; border-color: #3a424b; }
.hero-art { display: none; max-width: 420px; margin-inline: auto; }

/* product cards */
.card.product-card { padding: 0; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; margin: 0; }
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: #eef0f3; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .badge { position: absolute; top: .5rem; left: .5rem; }
.no-image { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: .9rem; }
.no-image.large { aspect-ratio: 4/3; }
.card-body { padding: .75rem; }
.card-brand { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.card-title { font-weight: 700; }
.card-sub { color: var(--muted); font-size: .85rem; }
.card-price { margin-top: .35rem; font-weight: 700; }
.card-price s { color: var(--muted); font-weight: 400; margin-left: .4rem; }

/* catalog */
.catalog { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.filters-toggle { width: 100%; }
.filter-form { display: none; margin-top: .75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.filter-form.open { display: block; }

/* product page */
.product-layout { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.gallery-main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .5rem; overflow-x: auto; padding-bottom: .25rem; }
.thumb { flex: 0 0 64px; height: 64px; border: 2px solid var(--line); border-radius: 8px; padding: 0; background: #fff; overflow: hidden; cursor: pointer; }
.thumb.active { border-color: var(--accent); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.price-line { display: flex; gap: .75rem; align-items: baseline; margin: .5rem 0 1rem; }
.price { font-size: 1.6rem; font-weight: 800; }
.price-line s { color: var(--muted); }
.size-picker { border: 0; padding: 0; margin: 0 0 1rem; }
.size-picker legend { font-weight: 700; margin-bottom: .5rem; }
.width-picker { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: .6rem; }
.width-picker .picker-label { margin: 0 .2rem 0 0; }
.width-picker .chip { padding: .35rem .7rem; font-size: .85rem; }
.size-option small.width-tag { color: var(--muted); }
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: .5rem; }
.size-option { position: relative; margin: 0; }
.size-option input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.size-option span { display: block; text-align: center; padding: .7rem .25rem; border: 1px solid #cfd4db; border-radius: 10px; font-weight: 700; background: #fff; }
.size-option small { display: block; text-align: center; color: var(--warn); font-size: .7rem; }
.size-option input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.size-option.soldout span { color: #b0b6bf; background: repeating-linear-gradient(135deg, #fff, #fff 6px, #f1f3f5 6px, #f1f3f5 8px); text-decoration: line-through; }
.buy-row { display: flex; gap: .75rem; align-items: flex-end; }
.qty-field { flex: 0 0 90px; margin: 0; }
.buy-row .btn { flex: 1; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; font-size: .9rem; }
.specs dt { color: var(--muted); } .specs dd { margin: 0; }
.prose h3 { margin-top: 1rem; }

/* colorway picker */
.colorway-picker { margin-bottom: 1rem; }
.picker-label { font-size: .9rem; font-weight: 600; margin-bottom: .4rem; }
.colorway-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.colorway-option { width: 56px; height: 56px; border: 2px solid var(--line); border-radius: 8px; overflow: hidden; display: grid; place-items: center; background: #fff; font-size: .75rem; font-weight: 700; color: var(--muted); }
.colorway-option img { width: 100%; height: 100%; object-fit: cover; }
.colorway-option.active { border-color: var(--accent); }
.colorway-option.soldout { opacity: .45; }
.style-outpost .colorway-option { border-radius: 4px; }

/* cart & checkout */
.cart-layout, .checkout-layout { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.cart-line { display: grid; grid-template-columns: 72px 1fr; grid-template-areas: "thumb desc" "thumb qty" "thumb price"; gap: .25rem .75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem; margin-bottom: .75rem; }
.cart-line.problem { border-color: #f3bcbc; }
.cart-thumb { grid-area: thumb; aspect-ratio: 1; background: #eef0f3; border-radius: 8px; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-desc { grid-area: desc; }
.cart-qty { grid-area: qty; } .cart-qty input { max-width: 90px; margin: 0; }
.cart-price { grid-area: price; font-weight: 700; }
.cart-remove { grid-column: 2; justify-self: start; font-size: .85rem; color: var(--muted); }
.cart-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.summary h3 { margin-bottom: .75rem; }
.summary-row { display: flex; justify-content: space-between; padding: .25rem 0; }
.summary-row.total { font-size: 1.15rem; border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .6rem; }
.summary-item { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; font-size: .95rem; }
.summary .btn { margin-top: 1rem; }
.options { display: grid; gap: .5rem; margin-bottom: .75rem; }
.option { display: flex; align-items: center; gap: .75rem; padding: .75rem; border: 1px solid #cfd4db; border-radius: 10px; margin: 0; cursor: pointer; }
.option:has(input:checked) { border-color: var(--accent); background: #fff5f0; }
.option-label { flex: 1; font-weight: 500; }
.option-price { font-weight: 700; }

/* order page */
.timeline { display: flex; list-style: none; padding: 0; margin: 1rem 0 1.5rem; gap: .25rem; counter-reset: step; }
.timeline li { flex: 1; text-align: center; font-size: .8rem; padding-top: 1.4rem; position: relative; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: #d5d9df; }
.timeline li::after { content: ""; position: absolute; top: 6px; left: -50%; width: 100%; height: 2px; background: #d5d9df; z-index: -1; }
.timeline li:first-child::after { display: none; }
.timeline li.done { color: var(--ink); font-weight: 700; }
.timeline li.done::before, .timeline li.done::after { background: var(--ok); }
.order-item { display: grid; grid-template-columns: 56px 1fr auto; gap: .75rem; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.order-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }

/* returns */
.return-item { border-bottom: 1px solid var(--line); padding: .5rem 0; }
.return-item-label { display: flex; align-items: center; gap: 1rem; justify-content: space-between; margin: 0; font-weight: 400; }
.return-item-label select { width: 80px; margin: 0; }
.qr-card { text-align: center; }
.qr { max-width: 260px; margin: 1rem auto; }
.qr svg { width: 100%; height: auto; }
.small-qr { max-width: 160px; margin: .5rem 0; }
.big-code { font-size: 1.2rem; }
.wallet-row { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }

/* footer */
.site-footer { background: var(--ink); color: #c9ced6; padding: 2rem 0; font-size: .9rem; }
.footer-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.site-footer a { color: #fff; }

/* admin */
.admin-body { background: var(--bg); }
.admin-shell { display: grid; grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: 100vh; }
.admin-side { background: var(--ink); color: #fff; padding: .75rem 1rem; display: flex; align-items: center; gap: 1rem; overflow-x: auto; }
.admin-side .logo { color: #fff; flex: 0 0 auto; }
.admin-nav { display: flex; gap: .25rem; align-items: center; }
.admin-nav a, .admin-nav .link-btn { color: #c9ced6; text-decoration: none; padding: .5rem .7rem; border-radius: 8px; white-space: nowrap; font-weight: 600; font-size: .9rem; }
.admin-nav a.active, .admin-nav a:hover { background: #222a33; color: #fff; }
.admin-main { padding: 1rem; width: 100%; max-width: 1300px; margin-inline: auto; }
.stat-row { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); margin-bottom: 1rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; text-decoration: none; display: flex; flex-direction: column; color: var(--muted); font-size: .85rem; }
.stat-num { font-size: 1.6rem; font-weight: 800; color: var(--ink); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: .55rem .5rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.thumb-cell img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.sizes-table input { min-width: 90px; }
.sizes-table td:first-child { white-space: nowrap; }
.cw-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: .25rem 0 1rem; }
.cw-tab { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; padding: .5rem .8rem; border: 2px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font: inherit; text-align: left; min-width: 150px; }
.cw-tab:hover { border-color: #c9ced6; }
.cw-tab[aria-selected="true"] { border-color: var(--accent); background: #fff5f0; }
.cw-tab-name { font-weight: 700; }
.cw-tab-meta { font-size: .75rem; color: var(--muted); }
.cw-heading { margin: 1rem 0 .4rem; font-size: .95rem; }
.colorways-table input { min-width: 150px; margin: 0; }
.colorways-table td { padding: .4rem .3rem; }
.image-tile select { width: 100%; margin: .3rem 0 0; padding: .3rem; font-size: .8rem; }
.image-tile { position: relative; }
.photo-cw-label { position: absolute; top: .6rem; left: .6rem; background: var(--accent); color: var(--accent-ink); font-size: .68rem; font-weight: 700; padding: .15rem .45rem; border-radius: 6px; max-width: calc(100% - 1.2rem); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-cw-label.shared { background: var(--muted); color: #fff; }
.image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .75rem; margin-bottom: .75rem; }
.image-tile { border: 2px solid var(--line); border-radius: 10px; padding: .4rem; }
.image-tile.primary { border-color: var(--accent); }
.image-tile img { aspect-ratio: 1; object-fit: cover; border-radius: 6px; width: 100%; }

/* intake wizard */
.photo-mode-banner { background: #e6effc; border-color: #c6d8f5; display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.wizard .step { border-left: 4px solid var(--accent); }
.step-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: .85rem; margin-right: .4rem; }
.scan-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.scan-row input { flex: 1 1 200px; margin: 0; font-size: 1.2rem; letter-spacing: .05em; }
.camera video { width: 100%; max-width: 480px; border-radius: 10px; background: #000; margin: .75rem 0 .5rem; }
.result { margin-top: .75rem; }
.result .match { background: #e3f4ec; border: 1px solid #bfe5d2; border-radius: 10px; padding: .75rem; }
.result .nomatch { background: #fff4e0; border: 1px solid #f5d9a6; border-radius: 10px; padding: .75rem; }
.label-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.file-drop { display: block; border: 2px dashed #cfd4db; border-radius: 12px; padding: 1.25rem; text-align: center; cursor: pointer; font-weight: 500; color: var(--muted); }
.file-drop.compact { padding: .75rem; margin: .75rem 0; }
.file-drop input { display: none; }
.label-preview { max-height: 260px; width: auto; margin: .75rem auto; border-radius: 10px; }
.compact-form label { margin-bottom: .5rem; }
.existing { background: #e6effc; border: 1px solid #c6d8f5; border-radius: 10px; padding: .75rem; margin: .5rem 0; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .6rem; margin: .75rem 0; }
.photo-tile { position: relative; border: 3px solid transparent; border-radius: 10px; overflow: hidden; background: #eef0f3; cursor: pointer; aspect-ratio: 1; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-tile.selected { border-color: var(--accent); }
.photo-tile.official .src { background: var(--ok); }
.more-sources { margin-top: .75rem; }
.more-sources summary { cursor: pointer; font-weight: 600; color: var(--muted); }
.photo-tile .src { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(16,20,24,.7); color: #fff; font-size: .7rem; padding: .15rem .4rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.photo-tile .tick { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; display: none; place-items: center; font-size: .8rem; font-weight: 800; }
.photo-tile.selected .tick { display: grid; }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid #cfd4db; border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: middle; margin-right: .4rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* tablet and up */
@media (min-width: 640px) {
  .field-row { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-row { grid-template-columns: repeat(4, 1fr); }
  .two-col { grid-template-columns: 3fr 2fr; }
  .label-row { grid-template-columns: 1fr 1fr; }
  .cart-line { grid-template-columns: 88px 1fr 110px 90px; grid-template-areas: "thumb desc qty price" "thumb remove . ."; align-items: center; }
  .cart-remove { grid-area: remove; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
/* desktop */
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; width: auto; flex-direction: row; gap: .1rem; padding: 0; order: 0; }
  .site-nav a { border: 0; padding: .5rem .7rem; border-radius: 8px; font-weight: 600; font-size: .95rem; }
  .site-nav a:hover { background: #eef0f3; }
  .header-search { display: block; margin-left: auto; width: 280px; }
  .header-search input { margin: 0; padding: .5rem .75rem; border-radius: 999px; font-size: .9rem; }
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .hero { grid-template-columns: 1.2fr 1fr; padding: 3rem; }
  .hero-art { display: block; }
  .catalog { grid-template-columns: 240px 1fr; align-items: start; }
  .filters-toggle { display: none; }
  .filter-form { display: block; margin: 0; position: sticky; top: 76px; }
  .product-layout { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr 360px; align-items: start; }
  .summary { position: sticky; top: 76px; }
  .admin-shell { grid-template-columns: 220px 1fr; grid-template-rows: 1fr; }
  .admin-side { flex-direction: column; align-items: stretch; padding: 1.25rem 1rem; position: sticky; top: 0; height: 100vh; overflow: auto; }
  .admin-nav { flex-direction: column; align-items: stretch; margin-top: 1rem; }
  .admin-main { padding: 1.5rem 2rem; }
}
@media print { .site-header, .site-footer, .admin-side, .btn, .flashes { display: none !important; } }

.row-stock-down td { background: #fff7f5; }

/* store & branding */
.site-screenshot { max-height: 260px; width: auto; max-width: 100%; border: 1px solid var(--line); border-radius: 8px; margin-bottom: .5rem; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .6rem; margin-bottom: .75rem; }
.logo-tile { position: relative; border: 2px solid var(--line); border-radius: 10px; padding: .5rem; margin: 0; cursor: pointer; background: repeating-conic-gradient(#f1f3f5 0 25%, #fff 0 50%) 0 0 / 16px 16px; }
.logo-tile input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.logo-tile img { height: 56px; width: 100%; object-fit: contain; }
.logo-tile .src { display: block; font-size: .65rem; color: var(--muted); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: .25rem; }
.logo-tile:has(input:checked) { border-color: var(--accent); }
.color-field { display: flex; gap: .4rem; align-items: center; }
.color-field input[type=color] { width: 44px; height: 44px; padding: 2px; margin: 0; flex: 0 0 44px; }
.color-field input[type=text], .color-field input:not([type=color]) { margin: 0; }
.swatch-row { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 .75rem; }
.swatch { width: 28px; height: 28px; border-radius: 6px; border: 1px solid rgba(0,0,0,.15); cursor: pointer; padding: 0; }
.current-logo { height: 36px; width: auto; margin-right: .5rem; vertical-align: middle; }
.merchant-qr-preview { max-width: 200px; border: 1px solid var(--line); border-radius: 8px; }
.style-options { display: grid; gap: .5rem; }
.style-option { align-items: flex-start; flex-wrap: wrap; }
.style-option .btn { margin-left: auto; }
.thumb-inline { height: 32px; width: auto; vertical-align: middle; border-radius: 4px; }
.theme-preview { --tp-primary: #101418; --tp-primary-ink: #fff; --tp-accent: #ff5a1f; --tp-accent-ink: #fff; --tp-bg: #f6f7f9; --tp-text: #101418; --tp-font-heading: inherit; --tp-font-body: inherit;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--tp-bg); color: var(--tp-text); font-family: var(--tp-font-body); }
.tp-header { display: flex; align-items: center; gap: .5rem; padding: .6rem .8rem; background: #fff; border-bottom: 1px solid var(--line); font-family: var(--tp-font-heading); }
.tp-logo img { height: 26px; width: auto; max-width: 110px; }
.tp-hero { background: var(--tp-primary); color: var(--tp-primary-ink); padding: 1rem .8rem; }
.tp-hero h4 { margin: 0 0 .25rem; font-size: 1.2rem; font-family: var(--tp-font-heading); }
.tp-hero p { margin: 0 0 .6rem; font-size: .85rem; opacity: .85; }
.tp-btn { display: inline-block; background: var(--tp-accent); color: var(--tp-accent-ink); padding: .4rem .8rem; border-radius: 8px; font-weight: 700; font-size: .85rem; }
.tp-body { padding: .8rem; display: flex; gap: .75rem; align-items: center; }
.tp-card { display: flex; gap: .6rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .5rem .7rem; flex: 1; font-size: .85rem; }
.tp-swatch { width: 40px; height: 32px; border-radius: 6px; background: var(--tp-primary); }
.tp-chip { background: var(--tp-primary); color: var(--tp-primary-ink); border-radius: 999px; padding: .3rem .7rem; font-size: .75rem; font-weight: 700; }

/* ===== Outpost style: replica of athleticoutpost.com ===== */
.style-outpost { --radius: 4px; }
.style-outpost .topbar { background: #000; color: #fff; font-size: .8rem; }
.style-outpost .topbar-row { display: flex; justify-content: flex-end; align-items: center; min-height: 40px; }
.style-outpost .social-links { display: flex; gap: 1rem; align-items: center; }
.style-outpost .social-links a { color: inherit; display: inline-flex; text-decoration: none; }
.style-outpost .site-header { position: static; border-bottom: 1px solid var(--line); }
.style-outpost .outpost-header { min-height: 84px; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: .5rem; }
.style-outpost .outpost-header .logo { justify-self: center; grid-column: 2; }
.style-outpost .outpost-header .nav-toggle { grid-column: 1; grid-row: 1; margin: 0; }
.style-outpost .outpost-header .cart-link { grid-column: 3; grid-row: 1; justify-self: end; }
.style-outpost .outpost-header .site-nav { grid-column: 1 / -1; }
.style-outpost .outpost-header .outpost-search { display: none; }
.style-outpost .logo-img { height: 64px; max-width: 220px; }
.style-outpost .site-nav a { font-weight: 500; font-size: .95rem; border-radius: 0; }
.style-outpost .cart-count { background: var(--accent); }
.style-outpost .page-banner { position: relative; min-height: 210px; display: grid; place-items: center; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--ink), #4d5d64) center / cover no-repeat; }
.style-outpost .page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.style-outpost .page-banner-inner { position: relative; padding: 2rem 1rem; }
.style-outpost .banner-title { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1.8rem, 5vw, 3rem); margin: 0 0 .5rem; text-shadow: 0 2px 12px rgba(0,0,0,.5); color: #fff; }
.style-outpost .breadcrumb { font-size: .95rem; }
.style-outpost .breadcrumb a { color: #fff; text-decoration: none; }
.style-outpost .main { padding-top: 2rem; }
.style-outpost h1, .style-outpost h2, .style-outpost h3 { font-family: var(--font); }   /* the display font is for banner + hero titles only */
.style-outpost .catalog { grid-template-columns: 1fr; }
.style-outpost .catalog .section-head h1 { display: none; }
.style-outpost .catalog .section-head { justify-content: flex-end; margin-bottom: .25rem; }
.style-outpost .filters-toggle { display: inline-flex; width: auto; border-radius: 4px; }
.style-outpost .filter-form { display: none; position: static; margin: .75rem 0 0; border-radius: 4px; }
.style-outpost .filter-form.open { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .5rem .75rem; align-items: end; }
.style-outpost .filter-form label { margin: 0; }
.style-outpost .filter-form .btn { margin: 0; }
.style-outpost .filters { margin-bottom: 1rem; }
.style-outpost .products-grid { gap: 1.2rem 1rem; }
.style-outpost .product-tile { display: flex; flex-direction: column; gap: .5rem; }
.style-outpost .tile-media { position: relative; display: block; aspect-ratio: 1; border: 1px solid #ddd; background: #fff; overflow: hidden; }
.style-outpost .tile-media img { width: 100%; height: 100%; object-fit: cover; }
.style-outpost .tile-media .badge { position: absolute; top: .5rem; left: .5rem; }
.style-outpost .tile-name { text-transform: uppercase; font-weight: 500; font-size: .9rem; text-decoration: none; margin-top: .35rem; line-height: 1.35; }
.style-outpost .tile-price { font-size: .85rem; color: var(--muted); }
.style-outpost .tile-price s { margin-left: .3rem; }
.style-outpost .tile-btn { margin-top: auto; border-radius: 4px; font-weight: 500; min-height: 40px; }
.style-outpost .btn { border-radius: 4px; font-weight: 500; }
.style-outpost .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.style-outpost .chip { border-radius: 4px; }
.style-outpost .card { border-radius: 4px; }
.style-outpost .outpost-hero { position: relative; min-height: 560px; display: flex; align-items: center; color: #fff; margin: -2rem calc(50% - 50vw) 0; width: 100vw;
  background: linear-gradient(120deg, #2b3338, #4d5d64 60%, #81874a) center / cover no-repeat; }
.style-outpost .outpost-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.15)); }
.style-outpost .outpost-hero-inner { position: relative; padding: 3rem 0; max-width: 560px; }
.style-outpost .outpost-hero h1 { font-family: var(--font-heading); text-transform: uppercase; font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1.15; letter-spacing: .03em; color: #fff; margin-bottom: 1rem; }
.style-outpost .outpost-hero p { font-size: 1.05rem; margin-bottom: 1.5rem; color: #f1f1f1; }
.style-outpost .category-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.style-outpost .category-tile { position: relative; aspect-ratio: 1; background: #e4e1e3; overflow: hidden; text-decoration: none; display: block; }
.style-outpost .category-tile img { width: 100%; height: 100%; object-fit: cover; }
.style-outpost .category-tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem; background: rgba(14,37,44,.8); color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; }
.style-outpost .outpost-head h2 { text-transform: uppercase; font-family: var(--font-heading); letter-spacing: .04em; }
.style-outpost .outpost-footer { background: var(--ink); color: #d6dde0; padding: 2.5rem 0 1rem; }
.style-outpost .footer-cols { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.style-outpost .footer-cols h4 { color: #fff; margin: 0 0 .6rem; font-family: var(--font); font-size: 1rem; }
.style-outpost .footer-cols a { display: block; color: #d6dde0; text-decoration: none; padding: .15rem 0; }
.style-outpost .footer-cols a:hover { color: #fff; }
.style-outpost .footer-brand img { height: 56px; width: auto; background: #fff; padding: .3rem .5rem; border-radius: 4px; margin-bottom: .5rem; }
.style-outpost .footer-cols .social-links a { display: inline-flex; margin-right: .75rem; }
.style-outpost .footer-copy { border-top: 1px solid rgba(255,255,255,.15); margin-top: 1.5rem; padding-top: 1rem; font-size: .85rem; text-align: center; color: #aab4b9; }
@media (min-width: 640px) {
  .style-outpost .products-grid { grid-template-columns: repeat(3, 1fr); }
  .style-outpost .category-tiles { grid-template-columns: repeat(4, 1fr); }
  .style-outpost .footer-cols { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
}
@media (min-width: 900px) {
  .style-outpost .outpost-header { grid-template-columns: auto 1fr auto auto; min-height: 96px; }
  .style-outpost .outpost-header .logo { grid-column: 1; justify-self: start; }
  .style-outpost .outpost-header .site-nav { grid-column: 2; grid-row: 1; justify-content: center; gap: 1.6rem; }
  .style-outpost .site-nav a { padding: .35rem 0; position: relative; }
  .style-outpost .site-nav a:hover { background: none; }
  .style-outpost .site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--text); transform: scaleX(0); transition: transform .15s; }
  .style-outpost .site-nav a:hover::after, .style-outpost .site-nav a.active::after { transform: scaleX(1); }
  .style-outpost .outpost-header .outpost-search { display: flex; grid-column: 3; grid-row: 1; width: 260px; margin: 0; }
  .style-outpost .outpost-search input { border-radius: 4px 0 0 4px; border-right: 0; font-style: italic; font-size: .9rem; padding: .55rem .8rem; }
  .style-outpost .outpost-search button { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 0 4px 4px 0; width: 46px; display: grid; place-items: center; cursor: pointer; }
  .style-outpost .outpost-header .cart-link { grid-column: 4; }
  .style-outpost .page-banner { min-height: 300px; }
  .style-outpost .products-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1100px) { .style-outpost .products-grid { grid-template-columns: repeat(5, 1fr); } }

/* payment methods & LocalPay */
.pay-methods { display: grid; gap: .75rem; margin: 1rem 0; }
.pay-option { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border: 2px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; position: relative; }
.pay-option:hover { border-color: #c9ced6; }
.pay-option-localpay { border-color: #40b870; }
.pay-option-text { display: flex; flex-direction: column; gap: .15rem; }
.pay-option-text .small { color: var(--muted); font-weight: 400; }
.pay-logo { height: 34px; width: auto; }
.pay-icon { width: 60px; display: grid; place-items: center; color: #183048; }
.pay-badge { position: absolute; top: -.6rem; right: 1rem; background: #40b870; color: #fff; font-size: .7rem; font-weight: 700; padding: .15rem .5rem; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; }
.localpay-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.localpay-header h1 { margin: 0; font-size: 1.4rem; }
.localpay-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.localpay-qr-card { text-align: center; }
.localpay-main .btn-lg { margin: .5rem 0; }
.localpay-frame-wrap { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; margin: .5rem 0; }
.localpay-frame { width: 100%; height: 720px; border: 0; display: block; }
.localpay-lead { font-size: 1.02rem; }
.localpay-qr-panel { text-align: center; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.qr-frame { max-width: 260px; margin: 0 auto .5rem; border: 6px solid #183048; border-radius: 14px; padding: .4rem; background: #fff; }
.qr-frame svg, .qr-frame .merchant-qr { width: 100%; height: auto; display: block; }
.btn-localpay { background: #183048; border-color: #183048; color: #fff; }
.btn-localpay:hover { background: #21405e; }
.btn-logo { height: 20px; width: auto; }
.localpay-amount { color: #40b870; font-size: 1.15em; }
.steps { padding-left: 1.2rem; }
.steps li { margin-bottom: .4rem; }
.localpay-status { background: #f2f7f4; border: 1px solid #cfe8d8; border-radius: 10px; padding: .75rem; margin: .75rem 0; font-size: .95rem; }
.claim-form input { margin-top: .3rem; }
.inline-logo { height: 18px; width: auto; vertical-align: middle; }
.accept-localpay { color: var(--muted); }
.footer-pay { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .5rem; flex-wrap: wrap; }
.footer-localpay { height: 20px; width: auto; }
@media (min-width: 640px) { .localpay-grid { grid-template-columns: 300px 1fr; align-items: start; } }

/* ---- LocalPay demo checkout: phone + code as a checkout step ------------------------------------------ */
.localpay-demo { --lp-navy: #183048; --lp-green: #40b870; --lp-muted: #979cbd; --lp-field: #f4f5fa; }
.localpay-verify { display: flex; flex-direction: column; gap: .6rem; }
.localpay-verify[hidden] { display: none; }
.localpay-verify label { margin-bottom: 0; }
.localpay-verify input { margin-top: 0; }
.phone-row { display: flex; align-items: stretch; gap: .5rem; }
.phone-prefix { display: inline-flex; align-items: center; padding: 0 .75rem; border: 1px solid #cfd4db; border-radius: 10px; background: var(--lp-field); font-weight: 600; color: var(--lp-navy); }
.phone-row input { flex: 1; min-width: 0; width: auto; }
.phone-row .btn { white-space: nowrap; }
.localpay-verify .btn-localpay { margin-top: .25rem; }
.lp-link { background: none; border: 0; color: var(--lp-navy); font: inherit; font-weight: 600; cursor: pointer; padding: 0; text-decoration: underline; }
.lp-fine { margin: 0; line-height: 1.45; }
.lp-alt { margin: 0; }
.lp-texted { margin: 0; color: #2f8a4b; }
.lp-error { color: #b42318; font-size: .9rem; margin: 0; }
.lp-error[hidden] { display: none; }
.lp-sms { background: #eef0f6; border-radius: 14px; padding: .7rem .9rem; font-size: .92rem; color: #1b1f2a; animation: lp-drop .35s ease-out; }
.lp-sms-head { display: flex; justify-content: space-between; font-size: .75rem; color: var(--lp-muted); margin-bottom: .25rem; }
.lp-sms-app { font-weight: 700; color: #2f8a4b; }
.lp-sms-body strong { font-size: 1.15rem; letter-spacing: .12em; color: var(--lp-navy); }
.lp-sms .lp-link { margin-top: .35rem; }
@keyframes lp-drop { from { transform: translateY(-10px); opacity: 0; } to { transform: none; opacity: 1; } }
.lp-center { align-items: center; text-align: center; }
.lp-check { width: 64px; height: 64px; border-radius: 50%; background: var(--lp-green); color: #fff; font-size: 2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: .5rem auto; }
.lp-big { font-size: 2.2rem; font-weight: 800; color: var(--lp-navy); margin: .25rem 0; letter-spacing: -.02em; }
.lp-demo-note { text-align: center; }

.localpay-flow-form { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1rem; }
.localpay-flow-form .radio-card { display: flex; gap: .6rem; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: .7rem .8rem; cursor: pointer; }
.localpay-flow-form .radio-card.selected { border-color: #40b870; background: #f2f7f4; }
.localpay-flow-form .radio-card > span { display: flex; flex-direction: column; gap: .15rem; }
.localpay-flow-form .btn { align-self: flex-start; }
.localpay-sub { margin: .5rem 0 .25rem; }
.twilio-form { display: flex; flex-direction: column; gap: .5rem; margin-bottom: .75rem; }
.twilio-form .btn-row { margin-top: .25rem; }
.import-form, .categories-form { display: flex; flex-direction: column; gap: .6rem; }
.import-form .btn, .categories-form .btn { align-self: flex-start; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .35rem .75rem; }
.import-progress { margin-bottom: 1rem; }
.progress-bar { height: 8px; background: #e6e8ec; border-radius: 4px; overflow: hidden; margin: .4rem 0 .6rem; }
.progress-fill { height: 100%; background: var(--accent); transition: width .4s; }
.arrange-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.arrange-item { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .4rem .6rem; cursor: grab; }
.arrange-item.dragging { opacity: .5; }
.arrange-handle { color: #aab0ba; font-size: 1.1rem; letter-spacing: -.2em; user-select: none; }
.arrange-pos { min-width: 2.2em; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.arrange-name { flex: 1; min-width: 0; }
.arrange-buttons { display: flex; gap: .2rem; }
.btn-sm { padding: .25rem .5rem; min-height: 32px; }
@media (max-width: 640px) { .arrange-item { flex-wrap: wrap; } .arrange-buttons { width: 100%; justify-content: flex-end; } }
.rich-text p { margin: .5rem 0; }
.rich-text h3 { font-size: 1.05rem; margin: 1.1rem 0 .35rem; }
.rich-text h4 { font-size: .95rem; margin: .9rem 0 .3rem; }
.rich-text ul, .rich-text ol { margin: .4rem 0 .6rem; padding-left: 1.3rem; }
.rich-text li { margin: .2rem 0; }
.rich-text li > ul, .rich-text li > ol { margin: .2rem 0; }
.rich-text sup { font-size: .7em; }
.rich-text .table-scroll { overflow-x: auto; margin: .75rem 0; }
.rich-text table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.rich-text th, .rich-text td { border: 1px solid var(--line); padding: .4rem .6rem; text-align: left; vertical-align: top; }
.rich-text th { background: #f4f5f7; font-weight: 600; white-space: nowrap; }
.rich-text a { color: inherit; }
.rte { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .75rem; }
.rte > label { margin-bottom: 0; }
.rte-toolbar { display: flex; flex-wrap: wrap; gap: .25rem; align-items: center; }
.rte-toolbar button { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: .3rem .55rem; font: inherit; font-size: .85rem; cursor: pointer; min-height: 32px; }
.rte-toolbar button:hover, .rte-toolbar button.active { background: #eef0f3; }
.rte-spacer { flex: 1; }
.rte-editor { min-height: 180px; max-height: 480px; overflow: auto; border: 1px solid #cfd4db; border-radius: 10px; padding: .65rem .8rem; background: #fff; font-size: .95rem; line-height: 1.45; }
.rte-editor:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.rte-editor h3 { font-size: 1.05rem; margin: .8rem 0 .3rem; } .rte-editor h4 { font-size: .95rem; margin: .7rem 0 .25rem; }
.rte-editor ul, .rte-editor ol { padding-left: 1.3rem; margin: .3rem 0; }
.rte-editor table { border-collapse: collapse; width: 100%; margin: .5rem 0; font-size: .9rem; }
.rte-editor th, .rte-editor td { border: 1px solid #cfd4db; padding: .3rem .5rem; min-width: 4rem; }
.rte-editor th { background: #f4f5f7; }
.rte-source { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }
.rte-source[hidden], .rte-editor[hidden] { display: none; }
.rte-templates { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.rte-templates select { width: auto; margin: 0; max-width: 240px; }
.rte-templates .btn-sm { min-height: 32px; }
.account-auth { max-width: 460px; }
.account-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.account-head h1 { margin-bottom: .1rem; }
.account-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .account-grid { grid-template-columns: 1fr 1fr; } .account-grid #orders { grid-column: 1 / -1; } }
.saved-item { display: flex; justify-content: space-between; gap: .75rem; align-items: flex-start; padding: .7rem 0; border-top: 1px solid var(--line); line-height: 1.45; }
.saved-item:first-of-type { border-top: 0; }
.saved-item.is-default .saved-body strong { color: var(--ink); }
.saved-actions { display: flex; gap: .3rem; flex-wrap: wrap; justify-content: flex-end; flex-shrink: 0; }
.saved-actions form { margin: 0; }
.saved-add { margin-top: .75rem; }
.saved-add summary { cursor: pointer; font-weight: 600; }
.pay-icon-sm { margin-right: .3rem; }
.checkout-account { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.checkout-account p { margin: 0; }
.saved-pick { margin-bottom: .75rem; }
.badge-pending { background: #fff3cd; color: #7a5a00; } .badge-paid { background: #e6f4ea; color: #1e6b3a; } .badge-shipped { background: #e3edf7; color: #1d4e89; } .badge-cancelled, .badge-failed { background: #fde8e8; color: #9b1c1c; }
.localpay-off { display: inline-block; background: #e6f4ea; color: #1e6b3a; border-radius: 999px; padding: .05rem .5rem; font-weight: 700; font-size: .85em; margin-left: .2rem; }
.localpay-row { color: #1e6b3a; }
.localpay-note { margin: .4rem 0 .6rem; color: #1e6b3a; }
.tile-localpay { color: #1e6b3a; margin-top: .15rem; display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.tile-localpay .inline-logo { height: 14px; }
