:root {
  --accent: #0787c1;
  --accent-hover: #006fa4;
  --accent-soft: #eaf6fb;
  --accent-faint: #f4fbfe;
  --ink: #17212b;
  --ink-soft: #344454;
  --muted: #72808e;
  --muted-light: #98a3ae;
  --canvas: #f5f7f9;
  --surface: #fff;
  --surface-subtle: #f9fafb;
  --line: #e7ebef;
  --danger: #c43b3b;
  --danger-soft: #fff1f0;
  --success: #27825a;
  --success-soft: #ebf8f1;
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --content: 1180px;
  --reading: 760px;
  --shadow-card: 0 10px 30px rgba(35, 55, 72, .07);
  --shadow-lift: 0 16px 38px rgba(24, 54, 75, .12);
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--ink); background: var(--canvas); line-height: 1.55; letter-spacing: -.025em; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid rgba(7, 135, 193, .28); outline-offset: 3px; }

.shop-header { position: sticky; top: 0; z-index: 20; min-height: 64px; display: flex; align-items: center; gap: var(--space-5); padding: 0 max(20px, calc((100% - var(--content)) / 2)); background: rgba(255, 255, 255, .9); box-shadow: 0 1px 0 rgba(29, 46, 61, .06); backdrop-filter: blur(16px); }
.shop-header > span { color: var(--muted); font-size: 12px; }
.shop-brand { color: var(--ink); font-size: 20px; font-weight: 900; letter-spacing: -.055em; }
.shop-brand::before { content: ""; width: 8px; height: 8px; display: inline-block; margin-right: 8px; border-radius: 50%; background: var(--accent); transform: translateY(-1px); }
.lookup-link { margin-left: auto; color: var(--muted); font-size: 13px; font-weight: 750; transition: color .18s ease; }
.lookup-link:hover { color: var(--accent); }
.cart-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; }
.cart-link strong { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 999px; color: #fff; background: var(--accent); font-size: 11px; }
.shop-main { width: min(calc(100% - 40px), var(--content)); min-height: calc(100vh - 178px); margin: 0 auto; padding: 46px 0 96px; }
.shop-footer { width: min(calc(100% - 40px), var(--content)); display: flex; flex-direction: column; gap: 12px; margin: 0 auto; padding: 30px 0 38px; color: var(--muted); font-size: 11px; box-shadow: inset 0 1px 0 var(--line); }
.shop-footer strong { color: var(--ink-soft); font-size: 13px; }
.shop-footer__heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.shop-footer nav, .shop-footer__business { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.shop-footer nav a { color: var(--ink-soft); font-weight: 750; transition: color .18s ease; }
.shop-footer nav a:hover { color: var(--accent); }
.shop-footer__business span { position: relative; }
.shop-footer__business span + span::before { content: ""; position: absolute; top: 50%; left: -8px; width: 2px; height: 2px; border-radius: 50%; background: var(--muted-light); }

.eyebrow { margin: 0 0 var(--space-3); color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .15em; }
.catalog-heading { padding: 14px 0 42px; }
.catalog-heading h1 { margin: 0; font-size: clamp(34px, 8.5vw, 58px); line-height: 1.08; letter-spacing: -.065em; }
.catalog-heading > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.filters { display: grid; gap: var(--space-5); border-radius: var(--radius-xl); padding: 22px; background: var(--surface); box-shadow: var(--shadow-card); }
.catalog-search-block h2 { margin: 0 0 10px; color: var(--muted); font-size: 12px; }
.catalog-search { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
.catalog-search input { min-width: 0; min-height: 46px; border: 0; border-radius: var(--radius-md); padding: 10px 14px; color: var(--ink); background: #f1f4f6; transition: background .18s ease, box-shadow .18s ease; }
.catalog-search input:focus { background: var(--surface); box-shadow: 0 0 0 3px rgba(7, 135, 193, .16); outline: 0; }
.catalog-search button, .catalog-search a { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: var(--radius-md); padding: 10px 16px; font-size: 13px; font-weight: 800; transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .12s ease; }
.catalog-search button { color: #fff; background: var(--accent); box-shadow: 0 7px 16px rgba(7, 135, 193, .18); }
.catalog-search button:hover { background: var(--accent-hover); }
.catalog-search a { color: var(--muted); background: #f1f4f6; }
.catalog-search a:hover { color: var(--accent); background: var(--accent-soft); }
.catalog-search button:active, .catalog-search a:active { transform: scale(.98); }
.filter-group { min-width: 0; }
.filter-group h2 { margin: 0 0 10px; color: var(--muted); font-size: 12px; }
.chip-list { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 7px; scrollbar-width: thin; }
.filter-chip { flex: 0 0 auto; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 8px 15px; color: var(--ink-soft); background: #f1f4f6; font-size: 13px; font-weight: 750; transition: color .18s ease, background .18s ease, transform .18s ease; }
.filter-chip:hover { color: var(--accent); background: var(--accent-soft); transform: translateY(-1px); }
.filter-chip.is-selected { color: #fff; background: var(--accent); box-shadow: 0 7px 16px rgba(7, 135, 193, .2); }
.catalog-results { padding-top: 40px; }
.catalog-results > header { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.catalog-results h2 { margin: 0; font-size: 22px; }
.catalog-results > header span { color: var(--muted); font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.product-card { min-width: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 5px 18px rgba(34, 53, 69, .06); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.product-card:active { transform: translateY(-1px) scale(.99); }
.product-card__image { aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; color: var(--muted); background: #eef2f4; font-size: 12px; }
.product-card__image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .3s ease; }
.product-card:hover .product-card__image img { transform: scale(1.025); }
.product-card__body { padding: 14px 14px 17px; }
.product-card h3 { min-height: 41px; margin: 0 0 10px; overflow: hidden; color: var(--ink-soft); font-size: 14px; font-weight: 650; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-card strong { color: var(--ink); font-size: 19px; font-weight: 900; letter-spacing: -.045em; }
.shop-empty { border-radius: var(--radius-xl); padding: 58px 20px; text-align: center; background: var(--surface); box-shadow: var(--shadow-card); }
.shop-empty strong { font-size: 19px; }
.shop-empty p { margin: 8px 0 22px; color: var(--muted); font-size: 13px; }
.shop-empty a, .not-found a, .home-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: var(--radius-md); padding: 10px 18px; color: #fff; background: var(--accent); font-size: 13px; font-weight: 800; transition: background .18s ease, box-shadow .18s ease, transform .12s ease; }
.shop-empty a:hover, .not-found a:hover, .home-button:hover { background: var(--accent-hover); box-shadow: 0 8px 20px rgba(7, 135, 193, .2); }
.shop-empty a:active, .not-found a:active, .home-button:active { transform: scale(.98); }

.back-link { display: inline-flex; margin-bottom: 28px; color: var(--muted); font-size: 13px; font-weight: 750; transition: color .18s ease; }
.back-link:hover { color: var(--accent); }
.product-detail { max-width: 860px; margin: 0 auto; }
.product-detail__summary { padding-bottom: 34px; }
.product-detail__summary h1 { margin: 0; font-size: clamp(30px, 8vw, 48px); line-height: 1.15; letter-spacing: -.055em; }
.detail-price { display: block; margin-top: 18px; color: var(--accent); font-size: 31px; font-weight: 900; letter-spacing: -.05em; }
.product-detail__summary > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.detail-images { display: grid; gap: 10px; overflow: hidden; border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-card); }
.detail-images img { width: 100%; height: auto; display: block; }
.detail-placeholder { min-height: 300px; display: grid; place-items: center; color: var(--muted); background: #eef2f4; font-size: 13px; }
.detail-action { position: sticky; bottom: 12px; z-index: 10; max-width: 860px; display: grid; grid-template-columns: auto .8fr 1.2fr; gap: 8px; margin: 28px auto 0; border-radius: 18px; padding: 10px; background: rgba(255, 255, 255, .94); box-shadow: 0 12px 40px rgba(24, 45, 61, .16); backdrop-filter: blur(14px); }
.detail-action button { min-height: 52px; border: 0; border-radius: var(--radius-md); color: var(--ink-soft); background: #eef2f4; font-size: 14px; font-weight: 800; transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .12s ease; }
.detail-action button:hover { color: var(--accent); background: var(--accent-soft); }
.detail-action button:active { transform: scale(.98); }
.detail-action button.is-primary { color: #fff; background: var(--accent); box-shadow: 0 8px 18px rgba(7, 135, 193, .2); }
.detail-action button.is-primary:hover { color: #fff; background: var(--accent-hover); }
.quantity-field { display: flex; align-items: center; gap: 7px; padding: 0 8px; color: var(--muted); font-size: 12px; font-weight: 700; }
.quantity-field input { width: 60px; min-height: 40px; border: 0; border-radius: 9px; padding: 6px; background: #eef2f4; }

.order-heading { max-width: var(--reading); margin: 0 auto 28px; }
.order-heading h1 { margin: 0; font-size: clamp(32px, 8vw, 44px); letter-spacing: -.055em; }
.order-heading > p:last-child { margin: 10px 0 0; color: var(--muted); }
.order-progress { max-width: var(--reading); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 auto 26px; padding: 0; list-style: none; }
.order-progress li { position: relative; display: grid; gap: 7px; color: var(--muted-light); font-size: 11px; font-weight: 750; }
.order-progress li::before { content: ""; height: 4px; border-radius: 999px; background: #dfe5e9; transition: background .24s ease; }
.order-progress li.is-active { color: var(--accent); }
.order-progress li.is-active::before, .order-progress li.is-complete::before { background: var(--accent); }
.form-error, .form-warning { max-width: var(--reading); margin: 0 auto 18px; border-radius: var(--radius-md); padding: 14px 16px; font-size: 13px; animation: notice-in .24s ease both; }
.form-error { color: var(--danger); background: var(--danger-soft); }
.form-warning { color: #795f15; background: #fff8df; }
@keyframes notice-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.order-layout { max-width: var(--reading); margin: 0 auto; }
.order-form { display: grid; gap: 0; }
.order-form.is-step-flow [data-order-step] { display: none; }
.order-form.is-step-flow [data-order-step].is-active { display: grid; animation: step-in .24s ease both; }
@keyframes step-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
.order-step { gap: 14px; }
.order-card { border-radius: var(--radius-xl); padding: 22px; background: var(--surface); box-shadow: var(--shadow-card); }
.order-card h2 { margin: 0; font-size: 21px; letter-spacing: -.035em; }
.order-card__intro { margin: -7px 0 4px; color: var(--muted); font-size: 13px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: start; padding: 18px 0; box-shadow: inset 0 -1px 0 var(--line); }
.cart-item:first-of-type { margin-top: 8px; }
.cart-thumb { width: 72px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius-sm); color: var(--muted); background: #eef2f4; font-size: 9px; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item p { margin: 5px 0; font-size: 13px; }
.cart-item label { color: var(--muted); font-size: 12px; }
.cart-item input { width: 58px; border: 0; border-radius: 8px; padding: 5px; background: #f0f3f5; }
.cart-item > b { white-space: nowrap; font-size: 14px; }
.text-button { border: 0; padding: 4px; color: var(--accent); background: transparent; font-size: 12px; font-weight: 750; }
.text-button:hover { color: var(--accent-hover); }
.order-total { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-top: 20px; }
.order-total span { color: var(--muted); font-size: 13px; }
.order-total strong { color: var(--ink); font-size: 24px; font-weight: 900; letter-spacing: -.045em; }
.order-form label, .postcode-row label { display: grid; gap: 7px; color: var(--ink-soft); font-size: 12px; font-weight: 750; }
.order-form input, .order-form textarea { width: 100%; min-height: 50px; border: 0; border-radius: var(--radius-md); padding: 12px 14px; color: var(--ink); background: #f1f4f6; transition: background .18s ease, box-shadow .18s ease; }
.order-form input:hover, .order-form textarea:hover { background: #edf2f5; }
.order-form input:focus, .order-form textarea:focus { outline: 0; background: #fff; box-shadow: 0 0 0 3px rgba(7, 135, 193, .17); }
.order-form [aria-invalid="true"] { background: var(--danger-soft); box-shadow: 0 0 0 2px rgba(196, 59, 59, .16); }
.field-error { display: block; color: var(--danger); font-size: 11px; font-weight: 650; animation: notice-in .2s ease both; }
.order-form textarea { min-height: 88px; resize: vertical; }
.postcode-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.postcode-row button, .step-button, .submit-order { min-height: 50px; border: 0; border-radius: var(--radius-md); padding: 0 18px; color: #fff; background: var(--accent); font-weight: 850; transition: background .18s ease, box-shadow .18s ease, transform .12s ease; }
.postcode-row button:hover, .step-button:hover, .submit-order:hover { background: var(--accent-hover); box-shadow: 0 8px 20px rgba(7, 135, 193, .2); }
.postcode-row button:active, .step-button:active, .submit-order:active { transform: scale(.985); }
.field-help { min-height: 20px; margin: 0; color: var(--muted); font-size: 12px; }
.postcode-layer { position: relative; min-height: 400px; overflow: hidden; border-radius: var(--radius-md); box-shadow: 0 0 0 1px var(--line); }
.postcode-layer > button { position: absolute; top: 6px; right: 6px; z-index: 2; min-height: 34px; }
.postcode-layer > div { height: 100%; min-height: 400px; }
.step-actions { display: flex; gap: 9px; justify-content: flex-end; margin-top: 8px; }
.step-actions .step-button { flex: 1; }
.step-button--secondary { color: var(--ink-soft); background: #e9eef1; box-shadow: none; }
.step-button--secondary:hover { color: var(--accent); background: var(--accent-soft); box-shadow: none; }
.submit-order { flex: 1.5; }
.submit-order:disabled { cursor: wait; opacity: .72; }
.order-review { display: grid; gap: 12px; }
.review-block { border-radius: var(--radius-lg); padding: 17px; background: var(--surface-subtle); }
.review-block h3 { margin: 0 0 10px; font-size: 13px; }
.review-block p { margin: 4px 0; color: var(--muted); font-size: 13px; }
.review-block strong { color: var(--ink); }
.review-items { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.review-items li { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-soft); font-size: 13px; }
.review-total { display: flex; justify-content: space-between; align-items: end; padding: 8px 2px 0; }
.review-total span { color: var(--muted); font-size: 13px; }
.review-total strong { color: var(--accent); font-size: 28px; font-weight: 900; }

.complete-card { max-width: 680px; margin: 0 auto; border-radius: var(--radius-xl); padding: 36px 28px; background: var(--surface); box-shadow: var(--shadow-card); }
.complete-mark { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 50%; color: #fff; background: var(--accent); font-size: 24px; font-weight: 900; box-shadow: 0 10px 24px rgba(7, 135, 193, .22); }
.complete-card h1 { margin: 0 0 10px; font-size: clamp(30px, 8vw, 40px); letter-spacing: -.05em; }
.complete-card > p { color: var(--muted); }
.complete-card > p strong { color: var(--ink); }
.complete-items { margin: 28px 0; padding: 2px 0; box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.complete-items p { display: flex; justify-content: space-between; gap: 15px; margin: 0; padding: 13px 0; }
.bank-guide { margin: 26px 0; border-radius: var(--radius-lg); padding: 20px; background: var(--accent-faint); }
.bank-guide h2 { margin: 0 0 8px; font-size: 16px; }
.bank-guide p { margin: 0; color: var(--muted); }
.bank-guide strong { color: var(--accent); }

.lookup-shell { max-width: 820px; margin: 0 auto; }
.lookup-hero { padding: 24px 0 38px; text-align: center; }
.lookup-hero h1 { margin: 0; font-size: clamp(36px, 8vw, 58px); line-height: 1.08; letter-spacing: -.065em; }
.lookup-hero > p:last-child { margin: 18px 0 0; color: var(--muted); }
.lookup-card { overflow: hidden; border-radius: var(--radius-xl); padding: 0 32px 32px; background: var(--surface); box-shadow: var(--shadow-lift); }
.lookup-card > header { display: flex; gap: 18px; margin: 0 -32px 28px; padding: 25px 32px; background: var(--surface-subtle); box-shadow: inset 0 -1px 0 var(--line); }
.lookup-card > header > span { width: 30px; height: 30px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); font-size: 11px; font-weight: 850; }
.lookup-card h2 { margin: 0; font-size: 22px; }
.lookup-card header p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.lookup-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; }
.lookup-form label { display: grid; gap: 8px; }
.lookup-form label span { font-size: 12px; font-weight: 800; }
.lookup-form input { width: 100%; min-height: 54px; border: 0; border-radius: var(--radius-md); padding: 0 16px; background: #f1f4f6; font-size: 17px; transition: background .18s ease, box-shadow .18s ease; }
.lookup-form input:focus { outline: 0; background: #fff; box-shadow: 0 0 0 3px rgba(7, 135, 193, .17); }
.lookup-form input[name="code"] { text-align: center; font-family: ui-monospace, monospace; font-size: 24px; font-weight: 850; letter-spacing: .15em; }
.lookup-form button { min-height: 54px; border: 0; border-radius: var(--radius-md); padding: 0 22px; color: #fff; background: var(--accent); font-weight: 800; transition: background .18s ease, box-shadow .18s ease, transform .12s ease; }
.lookup-form button:hover { background: var(--accent-hover); box-shadow: 0 8px 20px rgba(7, 135, 193, .2); }
.lookup-form button:active { transform: scale(.985); }
.lookup-help { margin: 16px 0 0; color: var(--muted); font-size: 12px; }
.lookup-reset { display: inline-flex; margin-top: 10px; color: var(--accent); font-size: 12px; font-weight: 800; }
.lookup-notice { margin: 0 0 20px; border-radius: var(--radius-md); padding: 14px 16px; font-size: 13px; animation: notice-in .24s ease both; }
.lookup-notice--success { color: var(--success); background: var(--success-soft); }
.lookup-notice--error { color: var(--danger); background: var(--danger-soft); }
.lookup-results { max-width: 920px; margin: 0 auto; }
.lookup-results__heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.lookup-results__heading h1 { margin: 0; font-size: 48px; letter-spacing: -.055em; }
.lookup-results__heading p:last-child { color: var(--muted); font-size: 13px; }
.lookup-results__heading > a { border-radius: 999px; padding: 10px 15px; color: var(--muted); background: var(--surface); font-size: 12px; font-weight: 800; box-shadow: 0 4px 14px rgba(35, 55, 72, .06); }
.lookup-empty { border-radius: var(--radius-xl); padding: 54px 20px; text-align: center; background: #fff; box-shadow: var(--shadow-card); }
.lookup-empty p { color: var(--muted); font-size: 13px; }
.lookup-order-list { display: grid; gap: 16px; }
.lookup-order-card { overflow: hidden; border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-card); }
.lookup-order-card > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; background: var(--surface-subtle); box-shadow: inset 0 -1px 0 var(--line); }
.lookup-order-card > header span, .lookup-order-card time { display: block; color: var(--muted); font-size: 11px; }
.lookup-order-card h2 { margin: 3px 0; font-size: 18px; }
.lookup-order-card > header > strong { border-radius: 999px; padding: 6px 11px; color: var(--success); background: var(--success-soft); font-size: 11px; }
.lookup-order-card > header > strong.is-cancelled { color: var(--danger); background: var(--danger-soft); }
.lookup-order-card__body { display: grid; grid-template-columns: 1.1fr .9fr; }
.lookup-order-card__body section { padding: 24px; }
.lookup-order-card__body section + section { box-shadow: inset 1px 0 0 var(--line); }
.lookup-order-card__body h3 { margin: 0 0 14px; font-size: 14px; }
.lookup-order-card ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.lookup-order-card li { display: grid; grid-template-columns: 1fr auto auto; gap: 13px; font-size: 13px; }
.lookup-order-card li b { color: var(--muted); }
.lookup-order-card dl { display: grid; gap: 7px; margin: 0; }
.lookup-order-card dl div { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.lookup-order-card dd { margin: 0; color: var(--ink); font-weight: 750; }
.lookup-order-card dl .total { margin-top: 7px; padding-top: 9px; color: var(--ink); font-weight: 850; box-shadow: inset 0 1px 0 var(--line); }
.lookup-order-card address, .lookup-order-card section > p { margin-top: 16px; color: var(--muted); font-size: 12px; font-style: normal; }

.not-found { min-height: 520px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.not-found > span { color: var(--accent); font-size: 13px; font-weight: 850; letter-spacing: .18em; }
.not-found h1 { margin: 14px 0 0; font-size: 34px; letter-spacing: -.05em; }
.not-found p { margin: 10px 0 24px; color: var(--muted); font-size: 14px; }

.legal-page { max-width: var(--reading); margin: 0 auto; }
.legal-page__header { margin-bottom: 28px; }
.legal-page__header h1 { margin: 0; font-size: clamp(34px, 8vw, 48px); letter-spacing: -.055em; }
.legal-page__header > p:last-child { margin: 12px 0 0; color: var(--muted); }
.legal-notice { margin: 0 0 20px; border-radius: var(--radius-lg); padding: 18px; color: #765d12; background: #fff8df; font-size: 13px; }
.legal-page > section { margin-top: 14px; border-radius: var(--radius-lg); padding: 22px; background: var(--surface); box-shadow: 0 5px 18px rgba(34, 53, 69, .05); }
.legal-page h2 { margin: 0 0 10px; font-size: 17px; letter-spacing: -.035em; }
.legal-page section p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.75; }
.legal-page section a { color: var(--accent); font-weight: 750; }
.legal-page dl { display: grid; gap: 9px; margin: 0; }
.legal-page dl div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; font-size: 13px; }
.legal-page dt { color: var(--muted); }
.legal-page dd { margin: 0; color: var(--ink-soft); font-weight: 700; }
.legal-effective-date { margin: 24px 0 0; text-align: right; color: var(--muted); font-size: 12px; }

@media (min-width: 640px) {
  .shop-main { padding-top: 64px; }
  .filters { padding: 26px 28px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
  .product-card h3 { font-size: 15px; }
  .product-card strong { font-size: 21px; }
}

@media (min-width: 960px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }
  .order-card { padding: 30px; }
}

@media (max-width: 639px) {
  .shop-main { padding-bottom: 112px; }
  .order-form.is-step-flow .order-step.is-active { padding-bottom: 86px; }
  .order-form.is-step-flow .order-step.is-active .step-actions { position: fixed; right: 0; bottom: 0; left: 0; z-index: 30; margin: 0; padding: 12px max(14px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); background: rgba(255, 255, 255, .94); box-shadow: 0 -10px 30px rgba(29, 48, 64, .1); backdrop-filter: blur(14px); }
}

@media (max-width: 480px) {
  .shop-header { gap: 14px; padding-right: 14px; padding-left: 14px; }
  .shop-header > span { display: none; }
  .shop-brand { font-size: 18px; }
  .lookup-link { margin-left: auto; }
  .cart-link { font-size: 0; }
  .cart-link strong { font-size: 11px; }
  .shop-main, .shop-footer { width: min(calc(100% - 28px), var(--content)); }
  .shop-main { padding-top: 34px; }
  .catalog-heading { padding-bottom: 30px; }
  .filters { margin-right: -2px; margin-left: -2px; padding: 18px 16px; }
  .catalog-search { grid-template-columns: minmax(0, 1fr) auto; }
  .catalog-search a { grid-column: 1 / -1; min-height: 38px; }
  .product-card__body { padding: 12px 11px 14px; }
  .detail-action { grid-template-columns: 1fr 1fr; bottom: 10px; }
  .quantity-field { grid-column: 1 / -1; justify-content: flex-end; }
  .order-progress li { font-size: 10px; }
  .order-card { padding: 20px 16px; }
  .cart-item { grid-template-columns: 60px minmax(0, 1fr); }
  .cart-thumb { width: 60px; }
  .cart-item > b { grid-column: 2; justify-self: end; }
  .postcode-row { grid-template-columns: 1fr; }
  .postcode-row button { width: 100%; }
  .lookup-card { padding: 0 20px 24px; }
  .lookup-card > header { margin: 0 -20px 24px; padding: 22px 20px; }
  .lookup-form { grid-template-columns: 1fr; }
  .lookup-results__heading { align-items: flex-start; flex-direction: column; }
  .lookup-results__heading h1 { font-size: 40px; }
  .lookup-order-card__body { grid-template-columns: 1fr; }
  .lookup-order-card__body section + section { box-shadow: inset 0 1px 0 var(--line); }
  .lookup-order-card li { grid-template-columns: 1fr auto; }
  .lookup-order-card li strong { grid-column: 1 / -1; justify-self: end; }
  .complete-card { padding: 30px 20px; }
  .shop-footer__heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .shop-footer nav { gap: 6px 14px; }
  .shop-footer__business { display: grid; gap: 4px; }
  .shop-footer__business span + span::before { display: none; }
  .legal-page > section { padding: 19px 17px; }
  .legal-page dl div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
