:root {
  --primary: #171717;
  --primary-strong: #000000;
  --accent: #a5482a;
  --accent-strong: #84391f;
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #171717;
  --muted: #66635f;
  --line: #dedbd6;
  --soft: #f5f4f1;
  --danger: #a32626;
  --focus: #0b6bcb;
  --radius: 2px;
  --max: 1360px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; border: 2px solid var(--ink); }
.skip-link:focus { top: 12px; }
.topbar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px max(24px, calc((100vw - var(--max))/2)); background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand strong { display: block; font-size: 1rem; letter-spacing: .13em; font-weight: 700; }
.brand small { display: block; color: var(--muted); font-size: .72rem; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); font-weight: 700; }
.customer-switch { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .82rem; font-weight: 600; }
select, input, textarea { color: var(--ink); background: #fff; border: 1px solid #aaa6a0; border-radius: var(--radius); min-height: 44px; padding: 9px 11px; }
.tabs { display: flex; gap: 20px; overflow-x: auto; padding: 0 max(24px, calc((100vw - var(--max))/2)); background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); position: sticky; top: 72px; z-index: 19; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { min-height: 50px; padding: 8px 0; border: 0; border-bottom: 1px solid transparent; background: transparent; color: var(--muted); white-space: nowrap; font-size: .84rem; font-weight: 500; }
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); border-bottom-color: var(--ink); }
.count { display: inline; margin-left: 3px; color: inherit; font-size: .72rem; }
.shell { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 48px 0 96px; }
.view { display: none; }
.view.active { display: block; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
#productsView .section-head { min-height: 230px; margin-bottom: 0; padding: 52px clamp(24px, 5vw, 72px); align-items: center; background: var(--soft); border-bottom: 1px solid var(--line); }
#productsView .section-head > div { max-width: 650px; min-width: 0; }
.hero-copy { margin: 18px 0 0; color: var(--muted); font-size: .92rem; }
.eyebrow { margin: 0 0 10px; color: var(--muted); font-weight: 600; font-size: .68rem; letter-spacing: .2em; }
h1 { margin: 0; font-size: clamp(1.9rem, 4vw, 3.25rem); line-height: 1.15; letter-spacing: -.045em; font-weight: 500; }
h2 { margin: 0 0 14px; font-size: 1.05rem; font-weight: 600; }
.summary { margin: 0; color: var(--muted); font-size: .82rem; }
.mobile-filter-bar { display: none; }
.catalog-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; padding-top: 28px; align-items: start; }
.catalog-filters { position: sticky; top: 144px; min-width: 0; padding: 0 20px 24px 0; border-right: 1px solid var(--line); background: var(--surface); }
.filter-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; margin-bottom: 18px; }
.filter-head h2 { margin: 0; font-size: 1rem; }
.filter-close, .filter-apply { display: none; }
.filter-backdrop { display: none; }
.catalog-results { min-width: 0; }
.toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0; background: var(--surface); border: 0; margin: 0; align-items: end; }
.toolbar label, .toolbar fieldset, .form-grid label, .memo, .coupon { display: grid; gap: 6px; color: var(--muted); font-size: .76rem; font-weight: 500; letter-spacing: .02em; }
.toolbar input, .toolbar select { width: 100%; border-color: var(--line); padding-left: 10px; padding-right: 10px; }
.price-filter { min-width: 0; margin: 0; padding: 0; border: 0; }
.price-filter legend { padding: 0; margin-bottom: 6px; }
.price-range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; }
.price-range input { width: 100%; min-width: 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 18px; min-width: 0; max-width: 100%; }
.product-card, .list-card, .panel, .total-card, .guide-actions { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.product-card { width: 100%; min-width: 0; display: grid; align-content: start; gap: 15px; border: 0; overflow: hidden; }
.product-media { position: relative; }
.product-photo, .product-thumb { background-image: var(--photo-url); background-size: cover; background-position: center; background-repeat: no-repeat; background-color: #f1f1ef; }
.product-photo { width: 100%; aspect-ratio: 1; border-radius: 0; border: 0; }
.image-zoom { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ink); font-size: 1.65rem; line-height: 1; }
.image-zoom:hover { background: var(--ink); color: white; }
.product-thumb { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 0; border: 1px solid var(--line); }
.product-meta { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.sku { color: var(--muted); font-size: .68rem; font-weight: 500; letter-spacing: .06em; }
.stock { color: #315b40; font-size: .72rem; font-weight: 600; }
.stock.soldout { color: var(--danger); }
.product-card h2 { margin: 7px 0 1px; font-size: .95rem; line-height: 1.4; }
.option { color: var(--muted); margin: 0; font-size: .8rem; }
.product-copy { min-height: 2.7em; margin: 8px 0 0; color: #45423e; font-size: .78rem; line-height: 1.45; word-break: keep-all; }
.price { font-size: .95rem; font-weight: 650; margin: 7px 0 0; }
.card-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.qty { width: 64px; }
.button { min-height: 44px; border: 1px solid transparent; border-radius: var(--radius); padding: 9px 14px; font-size: .82rem; font-weight: 600; transition: background-color .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease; }
.button.primary { background: var(--primary); color: white; }
.button.primary:hover { background: var(--primary-strong); }
.button.accent { background: var(--accent); color: white; }
.button.accent:hover { background: var(--accent-strong); }
.button.secondary { background: white; color: var(--ink); border-color: var(--line); }
.button.secondary:hover { border-color: var(--ink); }
.button.danger { background: var(--danger); color: white; }
.button.danger-ghost { background: white; border-color: #fecaca; color: var(--danger); }
.button.text { background: transparent; color: var(--ink); }
.button:disabled { cursor: not-allowed; opacity: .48; }
.full { width: 100%; }
.wish-btn { width: 44px; padding: 0; background: white; color: var(--muted); border-color: var(--line); font-size: 1.2rem; }
.wish-btn.active { color: var(--danger); background: #fff; border-color: var(--danger); }
.stack { display: grid; gap: 12px; }
.coupon-list { max-width: 760px; }
.coupon-card { display: grid; grid-template-columns: 190px minmax(0, 1fr); border: 1px solid var(--ink); background: var(--surface); }
.coupon-card.used { border-color: var(--line); }
.coupon-value { display: grid; place-content: center; min-height: 270px; padding: 28px; border-right: 1px dashed var(--line); background: var(--soft); text-align: center; }
.coupon-value span { font-size: 2rem; font-weight: 700; letter-spacing: -.04em; }
.coupon-value small { color: var(--muted); }
.coupon-content { display: grid; align-content: center; gap: 14px; padding: 28px; }
.coupon-title-row { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.coupon-title-row h2 { margin: 0; font-size: 1.5rem; letter-spacing: .02em; }
.coupon-title-row .eyebrow { margin-bottom: 4px; }
.coupon-status { padding: 5px 9px; border: 1px solid currentColor; color: #315b40; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.used .coupon-status { color: var(--muted); }
.coupon-copy, .coupon-order { margin: 0; color: var(--muted); font-size: .84rem; }
.coupon-terms { display: grid; gap: 4px; margin: 0; padding-left: 18px; color: #45423e; font-size: .8rem; }
.coupon-content .button { justify-self: start; }
.list-card { padding: 18px; }
.list-row { display: grid; grid-template-columns: auto auto minmax(180px, 1fr) auto auto; gap: 14px; align-items: center; }
.list-row h2 { margin: 0 0 2px; }
.cart-product-info { min-width: 0; }
.cart-option { display: grid; gap: 4px; max-width: 360px; margin: 6px 0 4px; color: var(--muted); font-size: .72rem; font-weight: 600; }
.cart-option select { width: 100%; min-width: 0; }
.line-price { text-align: right; font-weight: 650; }
.muted { color: var(--muted); }
.empty { padding: 36px 16px; color: var(--muted); text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }
.head-actions { display: flex; gap: 8px; }
.total-card { margin-top: 16px; padding: 22px; display: grid; gap: 9px; margin-left: auto; max-width: 520px; }
.money-row { display: flex; justify-content: space-between; gap: 20px; }
.money-row.total { padding-top: 12px; margin-top: 5px; border-top: 1px solid var(--ink); font-size: 1.1rem; font-weight: 700; }
.checkout-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; align-items: start; }
.panel { padding: 22px; }
.panel-head { display: flex; justify-content: space-between; align-items: start; }
.text-button { border: 0; background: transparent; color: var(--ink); font-weight: 600; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.address-list { display: grid; gap: 10px; margin-bottom: 14px; }
.address-card { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 0; align-items: start; }
.address-card.selected { border: 2px solid var(--ink); background: var(--soft); }
.address-card p { margin: 2px 0; }
.badge { display: inline-block; padding: 2px 7px; border-radius: 0; background: white; border: 1px solid var(--line); color: var(--ink); font-size: .68rem; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; margin-bottom: 16px; background: var(--soft); border: 1px solid var(--line); border-radius: 0; }
.form-grid .wide { grid-column: 1 / -1; }
.check { display: flex !important; align-items: center; flex-direction: row; }
.check input { min-height: 20px; width: 20px; }
.form-actions, .inline { display: flex; gap: 8px; }
.memo, .coupon { margin-top: 18px; }
.coupon select { width: 100%; }
.field-help { color: var(--muted); font-size: .72rem; font-weight: 400; }
.inline input { flex: 1; min-width: 0; }
.order-summary { position: sticky; top: 144px; }
.preview-items { display: grid; gap: 7px; margin-bottom: 16px; }
.preview-item { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.order-summary .button { margin-top: 10px; }
.order-card summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.order-card summary::-webkit-details-marker { display: none; }
.order-id { font-weight: 700; }
.order-card[open] summary { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.order-detail { padding-top: 16px; display: grid; gap: 14px; }
.order-item { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid #e8f1ed; }
.order-product { display: flex; gap: 12px; align-items: center; }
.status { justify-self: end; font-size: .72rem; font-weight: 600; padding: 4px 8px; background: white; border: 1px solid var(--line); border-radius: 0; }
.status.cancel { border-color: #d9aaaa; color: var(--danger); }
.cancel-box { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.cancel-box label { display: grid; gap: 4px; color: var(--muted); font-size: .82rem; }
.order-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.workflow-frame { width: 100%; min-height: 650px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.checklist-dashboard { margin-bottom: 24px; padding: 24px; border: 1px solid var(--ink); background: var(--surface); }
.checklist-head { display: flex; justify-content: space-between; align-items: start; gap: 24px; margin-bottom: 18px; }
.checklist-head h2, .checklist-head p { margin-bottom: 0; }
.checklist-head > div:first-child > p:last-child { color: var(--muted); font-size: .85rem; }
.checklist-score { min-width: 116px; display: grid; text-align: right; }
.checklist-score strong { font-size: 1.8rem; line-height: 1; }
.checklist-score span { color: var(--muted); font-size: .75rem; }
.checklist-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.checklist-group { border: 1px solid var(--line); }
.checklist-group summary { min-height: 48px; display: flex; justify-content: space-between; gap: 12px; padding: 12px; cursor: pointer; font-weight: 700; }
.checklist-group summary span { color: var(--muted); }
.checklist-group ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.checklist-group li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.checklist-group li:last-child { border-bottom: 0; }
.checklist-group li.todo { background: #fff8ed; }
.check-mark { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: #315b40; font-size: .72rem; font-weight: 800; }
.todo .check-mark { color: var(--accent); }
.checklist-group strong, .checklist-group small { display: block; }
.checklist-group strong { font-size: .78rem; }
.checklist-group small { margin-top: 2px; color: var(--muted); font-size: .7rem; }
.human-check { display: flex; align-items: start; gap: 10px; margin-top: 16px; padding: 12px; background: var(--soft); font-size: .82rem; }
.human-check input { width: 20px; min-height: 20px; flex: 0 0 20px; }
.checklist-note { margin: 8px 0 0; color: var(--muted); font-size: .75rem; }
.guide-actions { margin-top: 18px; padding: 20px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.guide-actions h2, .guide-actions p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.assistant-toggle { position: fixed; right: 20px; bottom: 20px; z-index: 60; min-height: 52px; display: flex; align-items: center; gap: 9px; padding: 6px 14px 6px 7px; border: 1px solid var(--ink); border-radius: var(--radius); color: white; background: var(--ink); font-weight: 700; box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.assistant-toggle img { width: 38px; height: 38px; object-fit: cover; object-position: center 54%; border: 1px solid #555; background: white; }
.assistant-panel { position: fixed; right: 20px; bottom: 80px; z-index: 60; width: min(390px, calc(100vw - 40px)); max-height: min(650px, calc(100vh - 110px)); display: grid; grid-template-rows: auto auto auto minmax(150px,1fr) auto; gap: 12px; padding: 18px; border: 1px solid var(--ink); background: white; box-shadow: 0 18px 54px rgba(0,0,0,.18); }
.assistant-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.assistant-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.assistant-identity > img { width: 52px; height: 52px; flex: 0 0 52px; object-fit: cover; object-position: center 54%; border: 1px solid var(--line); background: var(--soft); }
.assistant-head h2 { margin: 0; }
.assistant-head .eyebrow { margin-bottom: 4px; }
.assistant-note { margin: 0; color: var(--muted); font-size: .82rem; }
.assistant-quick { display: flex; gap: 6px; flex-wrap: wrap; }
.assistant-quick label { display: grid; gap: 4px; flex: 1 1 150px; color: var(--muted); font-size: .7rem; font-weight: 600; }
.assistant-quick select { width: 100%; min-width: 0; min-height: 44px; padding: 7px 9px; border-color: var(--line); font-size: .76rem; }
.assistant-quick button { min-height: 36px; padding: 6px 9px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); color: var(--ink); font-size: .75rem; }
.assistant-messages { min-height: 150px; overflow-y: auto; display: flex; flex-direction: column; gap: 9px; padding: 12px; background: var(--soft); border: 1px solid var(--line); }
.assistant-message { max-width: 92%; padding: 10px 12px; border: 1px solid var(--line); background: white; font-size: .82rem; line-height: 1.5; }
.assistant-message p { margin: 0 0 8px; }
.assistant-message.user { align-self: flex-end; color: white; background: var(--ink); border-color: var(--ink); }
.assistant-results { display: grid; gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; }
.assistant-results li { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 9px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.assistant-results img { width: 52px; height: 52px; object-fit: cover; border: 1px solid var(--line); background: var(--soft); }
.assistant-result-copy { display: grid; gap: 2px; min-width: 0; }
.assistant-results span, .assistant-more { color: var(--muted); font-size: .76rem; }
.assistant-result-copy strong { color: var(--ink); font-size: .82rem; }
.assistant-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.assistant-form input { min-width: 0; }
.image-zoom-dialog { width: min(920px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--ink); border-radius: var(--radius); background: white; color: var(--ink); }
.image-zoom-dialog::backdrop { background: rgba(0,0,0,.68); }
.image-zoom-panel { display: grid; gap: 16px; padding: 20px; }
.image-zoom-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.image-zoom-head h2, .image-zoom-head p { margin-bottom: 0; }
.image-zoom-panel img { display: block; width: 100%; max-height: calc(100vh - 150px); object-fit: contain; background: #f1f1ef; }
.toast { position: fixed; right: 20px; bottom: 82px; max-width: min(420px, calc(100vw - 40px)); padding: 14px 18px; border-radius: var(--radius); color: white; background: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.18); transform: translateY(120px); opacity: 0; transition: .2s ease; z-index: 50; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { background: var(--danger); }
.hidden { display: none !important; }
@media (max-width: 1050px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .mobile-filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .mobile-filter-bar span { color: var(--muted); font-size: .76rem; text-align: right; }
  .catalog-layout { display: block; padding-top: 24px; }
  .catalog-filters { position: fixed; inset: 0 auto 0 0; z-index: 72; width: min(340px, calc(100vw - 44px)); padding: 24px; overflow-y: auto; border: 0; border-right: 1px solid var(--ink); transform: translateX(-105%); transition: transform .2s ease; box-shadow: 16px 0 40px rgba(0,0,0,.16); }
  .catalog-filters.open { transform: translateX(0); }
  .filter-close, .filter-apply { display: block; }
  .filter-apply { margin-top: 20px; }
  .filter-backdrop { position: fixed; inset: 0; z-index: 71; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(0,0,0,.34); }
  body.filter-open { overflow: hidden; }
  .toolbar { grid-template-columns: 1fr; }
  .checklist-groups { grid-template-columns: 1fr; }
  .search-field, .price-filter { grid-column: auto; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 52px; }
  .topbar { position: static; align-items: stretch; flex-direction: column; gap: 10px; }
  .customer-switch { justify-content: space-between; }
  .tabs { top: 0; }
  .shell { width: min(100% - 24px, var(--max)); padding-top: 24px; }
  .section-head, .guide-actions { align-items: stretch; flex-direction: column; }
  .coupon-card { grid-template-columns: 1fr; }
  .coupon-value { min-height: 130px; border-right: 0; border-bottom: 1px dashed var(--line); }
  .coupon-content { padding: 20px; }
  .coupon-title-row { align-items: center; }
  .coupon-content .button { width: 100%; }
  .checklist-dashboard { padding: 16px; }
  .checklist-head { flex-direction: column; }
  .checklist-score { text-align: left; }
  #productsView .section-head { min-height: 190px; padding: 32px 22px; max-width: 100%; overflow: hidden; }
  #productsView h1 { font-size: clamp(1.65rem, 8vw, 2rem); word-break: keep-all; overflow-wrap: anywhere; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .product-card { gap: 11px; }
  .product-card h2 { font-size: .86rem; }
  .product-meta { display: grid; gap: 2px; }
  .product-card > *, .product-card .card-actions > * { min-width: 0; }
  .product-card .card-actions { display: grid; grid-template-columns: 44px 48px minmax(0, 1fr); gap: 6px; width: 100%; }
  .product-card .card-actions .qty { width: 100%; min-width: 0; padding-left: 6px; padding-right: 4px; }
  .product-card .card-actions .button.primary { padding-left: 6px; padding-right: 6px; }
  .list-row { grid-template-columns: auto auto 1fr; }
  .list-row .line-price, .list-row .card-actions { grid-column: 2 / -1; text-align: left; }
  .list-row .card-actions { display: flex; }
  .cart-product-info { min-width: 0; }
  .cart-option { max-width: none; }
  .head-actions { width: 100%; }
  .head-actions .button { flex: 1; }
  .customer-switch select { max-width: 65%; }
  .workflow-frame { min-height: 780px; }
  .assistant-toggle { right: 12px; bottom: 12px; }
  .assistant-panel { left: 12px; right: 12px; bottom: 72px; width: auto; max-height: calc(100vh - 84px); }
  .toast { right: 12px; bottom: 72px; max-width: calc(100vw - 24px); }
  .image-zoom-dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); }
  .image-zoom-panel { padding: 12px; }
  .image-zoom-panel img { max-height: calc(100vh - 132px); }
}
@media (max-width: 390px) {
  .shell { width: calc(100% - 20px); }
  .product-grid { column-gap: 10px; }
  .product-card .button { font-size: .76rem; }
  .product-card .option, .product-card .product-copy, .product-card .price { font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
