:root {
  --blue: #062581;
  --blue-2: #153da8;
  --blue-3: #4567c2;
  --paper: #edf3f8;
  --surface: #f8fbfe;
  --surface-2: #e4ecf6;
  --ink: #062581;
  --muted: #6f82ad;
  --line: rgb(6 37 129 / 18%);
  --line-strong: rgb(6 37 129 / 42%);
  --white: #fff;
  --green: #168c69;
  --danger: #b82743;
  --shadow: 0 10px 28px rgb(6 37 129 / 9%);
  --shadow-lg: 0 20px 54px rgb(3 22 78 / 22%);
  --radius: 16px;
  --radius-lg: 22px;
  --tap: 44px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--paper); scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}

button, input, textarea { color: inherit; font: inherit; }
button { cursor: pointer; touch-action: manipulation; }
button, .tag, .filter-option {
  transition: transform .16s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
}
button:not(:disabled):active, .tag:active, .filter-option:active { transform: scale(.965); }
button:disabled { cursor: default; opacity: .58; }
button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgb(80 135 255 / 48%);
  outline-offset: 2px;
}
[hidden] { display: none !important; }
img { max-width: 100%; }

.state-screen {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: calc(32px + var(--safe-top)) 22px calc(32px + var(--safe-bottom));
  background: radial-gradient(circle at 80% 18%, #254db4 0, transparent 34%), var(--blue);
  color: var(--paper);
  text-align: center;
}
.state-screen h1 { margin: 8px 0 0; font-size: clamp(36px, 10vw, 52px); line-height: .94; letter-spacing: -.045em; text-transform: uppercase; }
.state-screen p { max-width: 350px; margin: 0; font-size: 16px; line-height: 1.45; opacity: .82; }

.loader {
  width: 34px; height: 34px;
  border: 3px solid rgb(237 243 248 / 24%);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin .72s linear infinite;
}
.loader--blue { width: 22px; height: 22px; color: var(--blue); border-color: rgb(6 37 129 / 13%); border-top-color: var(--blue); }
@keyframes spin { to { transform: rotate(360deg); } }

#app {
  width: 100%; max-width: 720px; min-height: 100vh; min-height: 100svh;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 0 60px rgb(3 22 78 / 8%);
}

.site-header {
  position: relative;
  z-index: 5;
  overflow: hidden;
  background: var(--blue);
  color: var(--paper);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 8px 28px rgb(6 37 129 / 12%);
}
.topbar {
  position: relative; z-index: 4;
  display: flex; min-height: calc(58px + var(--safe-top));
  align-items: flex-end; justify-content: space-between;
  padding: calc(8px + var(--safe-top)) 12px 8px;
  background: rgb(237 243 248 / 10%);
  backdrop-filter: blur(10px);
}
.logo-button, .icon-button {
  display: inline-flex; min-width: var(--tap); min-height: var(--tap);
  align-items: center; justify-content: center;
  padding: 0; border: 0; border-radius: 13px; background: transparent;
}
.logo-button { justify-content: flex-start; padding: 0 6px; }
.logo-button img { display: block; width: min(148px, 38vw); height: auto; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-button { position: relative; width: var(--tap); height: var(--tap); }
.icon-button:hover { background: rgb(255 255 255 / 7%); }
.icon-button img { object-fit: contain; }
.badge {
  position: absolute; top: 2px; right: 0;
  display: grid; min-width: 18px; height: 18px; place-items: center;
  padding: 0 5px; border: 2px solid var(--blue); border-radius: 999px;
  background: var(--paper); color: var(--blue); font-size: 9px; font-weight: 800;
  transform-origin: center;
}
.badge--pulse { animation: badge-pop .38s var(--ease); }
@keyframes badge-pop { 0% { transform: scale(.6); } 55% { transform: scale(1.22); } 100% { transform: scale(1); } }

.hero {
  position: relative;
  display: flex;
  min-height: clamp(470px, 72svh, 650px);
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px, 4vw, 28px) 16px clamp(22px, 6vw, 42px);
  isolation: isolate;
  background-color: var(--blue);
  background-image:
    linear-gradient(180deg, rgb(6 37 129 / 4%) 0%, rgb(6 37 129 / 20%) 54%, rgb(6 37 129 / 44%) 100%),
    url("/app/assets/hero.png");
  background-position: center center;
  background-size: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(6 37 129 / 16%), transparent 56%);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; max-width: 610px; }
.hero-kicker {
  max-width: 580px; margin: 0 0 10px;
  font-size: clamp(25px, 7.4vw, 42px);
  font-weight: 340; line-height: .98; letter-spacing: -.045em;
  text-transform: uppercase;
}
.hero-note {
  max-width: 520px; margin: 0;
  color: rgb(237 243 248 / 44%);
  font-size: clamp(9px, 2.2vw, 11px); font-weight: 650; line-height: 1.28;
  letter-spacing: .025em; text-transform: uppercase;
}
.hero h1 {
  position: static;
  width: 100%; max-width: 100%; margin: auto 0 0;
  overflow-wrap: anywhere;
  font-size: clamp(54px, 16vw, 110px);
  font-weight: 760; line-height: .80; letter-spacing: -.072em;
  text-transform: uppercase;
  text-wrap: balance;
}

.search-box {
  display: flex; min-height: 56px; align-items: center; gap: 10px;
  margin: 0 12px 12px; padding: 8px 14px;
  border: 1px solid rgb(237 243 248 / 50%); border-radius: 14px;
  background: rgb(4 28 100 / 25%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.search-box:focus-within { border-color: rgb(237 243 248 / 82%); background: rgb(4 28 100 / 42%); box-shadow: 0 0 0 3px rgb(255 255 255 / 6%); }
.search-box > img { flex: 0 0 auto; opacity: .82; }
.search-box input {
  width: 100%; min-width: 0; padding: 6px 0; border: 0; outline: 0;
  background: transparent; color: var(--paper); font-size: 16px;
}
.search-box input::placeholder { color: rgb(237 243 248 / 47%); }
.site-header.compact .hero { display: none; }
.site-header.compact .search-box { margin-top: 14px; }

#content { min-height: 520px; padding: 34px 15px calc(28px + var(--safe-bottom)); outline: 0; }
.page-title {
  max-width: 100%; margin: 0 0 28px;
  overflow-wrap: anywhere;
  font-size: clamp(42px, 12vw, 68px); font-weight: 760; line-height: .92;
  letter-spacing: -.055em; text-transform: uppercase; text-wrap: balance;
}
.page-subtitle { max-width: 620px; margin: -14px 0 32px; font-size: clamp(18px, 5vw, 24px); font-weight: 650; line-height: 1.06; letter-spacing: -.03em; text-transform: uppercase; }

.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: -8px 0 30px; }
.tag {
  min-height: 40px; padding: 9px 14px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: transparent; font-size: 11px; font-weight: 700; letter-spacing: .015em; text-transform: uppercase;
}
.tag.active { border-color: var(--blue); background: var(--blue); color: var(--paper); box-shadow: 0 6px 16px rgb(6 37 129 / 18%); }

.catalog-tools { position: relative; display: flex; min-height: 44px; align-items: center; justify-content: space-between; margin: 0 0 12px; }
.tool-button {
  display: inline-flex; min-width: var(--tap); min-height: var(--tap); align-items: center; justify-content: center; gap: 8px;
  padding: 8px 4px; border: 0; border-radius: 10px; background: transparent;
  font-size: 17px; font-weight: 700; letter-spacing: -.02em; text-transform: uppercase;
}
.tool-button:hover { background: rgb(6 37 129 / 5%); }
.sort-popover {
  position: absolute; top: 48px; right: 0; z-index: 15;
  width: min(300px, calc(100vw - 30px)); padding: 8px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  box-shadow: var(--shadow-lg); animation: pop-in .18s var(--ease);
}
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.sort-option { display: flex; width: 100%; min-height: 46px; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 0; border-radius: 11px; background: transparent; text-align: left; }
.sort-option.active { background: var(--surface-2); font-weight: 750; }
.radio { width: 18px; height: 18px; border: 1.5px solid var(--line-strong); border-radius: 50%; }
.sort-option.active .radio { border: 5px solid var(--blue); }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.product-card {
  position: relative; min-width: 0; overflow: hidden;
  border: 1px solid rgb(6 37 129 / 10%); border-radius: var(--radius);
  background: var(--surface); box-shadow: 0 4px 18px rgb(6 37 129 / 6%);
  animation: card-in .28s var(--ease) both;
}
.product-card:nth-child(2n) { animation-delay: 35ms; }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.product-image {
  position: relative; display: grid; aspect-ratio: 1 / .91; place-items: center; overflow: hidden;
  background: linear-gradient(145deg, #e0e8f3, #f8fbfe 55%, #dce6f2);
}
.product-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: rgb(6 37 129 / 9%); font-size: clamp(50px, 18vw, 88px); font-weight: 850; letter-spacing: -.1em;
  user-select: none;
}
.product-photo { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; padding: 8px; opacity: 0; transform: scale(.985); transition: opacity .28s var(--ease), transform .35s var(--ease); }
.product-photo.is-loaded { opacity: 1; transform: scale(1); }
.product-photo.is-missing { display: none; }
.favorite-button {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  display: grid; width: var(--tap); height: var(--tap); place-items: center;
  padding: 0; border: 0; border-radius: 50%; background: rgb(248 251 254 / 86%);
  box-shadow: 0 4px 14px rgb(6 37 129 / 10%); backdrop-filter: blur(8px);
}
.favorite-button img { opacity: .55; transition: opacity .2s, transform .2s var(--ease); }
.favorite-button.active img { opacity: 1; transform: scale(1.08); }
.product-name { min-height: 51px; padding: 12px 11px 5px; font-size: 13px; font-weight: 650; line-height: 1.28; overflow-wrap: anywhere; }
.product-footer { display: flex; min-height: 64px; align-items: flex-end; justify-content: space-between; gap: 6px; padding: 6px 8px 10px 11px; }
.product-footer > div { min-width: 0; }
.product-price { display: block; font-size: 16px; line-height: 1.1; white-space: nowrap; }
.product-stock { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.15; }
.cart-add {
  display: grid; flex: 0 0 var(--tap); width: var(--tap); height: var(--tap); place-items: center;
  padding: 0; border: 0; border-radius: 13px; background: var(--blue); box-shadow: 0 6px 14px rgb(6 37 129 / 20%);
}
.cart-add img { filter: brightness(0) invert(1); }
.cart-add:active { box-shadow: 0 2px 8px rgb(6 37 129 / 16%); }

.primary-button, .secondary-button {
  display: inline-flex; min-height: 50px; align-items: center; justify-content: center;
  padding: 13px 20px; border-radius: 14px; font-size: 14px; font-weight: 750; text-align: center;
}
.primary-button { border: 1px solid var(--blue); background: var(--blue); color: var(--paper); box-shadow: 0 8px 20px rgb(6 37 129 / 18%); }
.secondary-button { border: 1px solid var(--line-strong); background: transparent; color: var(--blue); }
.primary-button:not(:disabled):active { box-shadow: 0 3px 10px rgb(6 37 129 / 16%); }
.load-more, .back-to-catalog { width: 100%; margin-top: 22px; }

.empty-state { display: grid; min-height: 230px; place-items: center; align-content: center; gap: 10px; padding: 28px 20px; text-align: center; }
.empty-state h2 { margin: 0; font-size: 24px; letter-spacing: -.035em; }
.empty-state p { max-width: 340px; margin: 0 0 8px; color: var(--muted); font-size: 14px; }

.cart-list { border-top: 1px solid var(--line); }
.cart-row {
  display: grid; grid-template-columns: 82px minmax(0, 1fr) var(--tap); gap: 12px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  animation: card-in .25s var(--ease) both;
}
.cart-thumb { position: relative; display: grid; width: 82px; height: 82px; place-items: center; overflow: hidden; border: 1px solid rgb(6 37 129 / 9%); border-radius: 14px; background: var(--surface); }
.cart-thumb .product-placeholder { font-size: 44px; }
.cart-row > div:nth-child(2) { min-width: 0; }
.cart-row h3 { margin: 0 0 7px; font-size: 14px; font-weight: 650; line-height: 1.25; overflow-wrap: anywhere; }
.cart-row-price { display: inline-block; margin-right: 10px; font-size: 15px; font-weight: 750; }
.quantity {
  display: inline-grid; grid-template-columns: 38px minmax(30px, auto) 38px; min-height: 40px; align-items: center;
  margin-top: 4px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  vertical-align: middle;
}
.quantity button { width: 38px; height: 40px; padding: 0; border: 0; background: transparent; font-size: 22px; line-height: 1; }
.quantity button:active { background: var(--surface-2); }
.quantity > span { min-width: 30px; text-align: center; font-size: 13px; font-weight: 750; font-variant-numeric: tabular-nums; }
.remove-button { display: grid; width: var(--tap); height: var(--tap); place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--blue); font-size: 26px; font-weight: 300; }
.remove-button:active { background: rgb(184 39 67 / 8%); color: var(--danger); }
.cart-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 24px 0; padding: 18px 0 0; border-top: 1px solid var(--line); font-size: 13px; font-weight: 750; letter-spacing: .01em; text-transform: uppercase; }
.cart-summary strong { font-size: 20px; white-space: nowrap; }
.comment-label { display: grid; gap: 8px; margin: 0 0 14px; font-size: 12px; font-weight: 650; letter-spacing: .02em; text-transform: uppercase; }
.comment-label textarea { width: 100%; min-height: 96px; resize: vertical; padding: 14px; border: 1px solid var(--line-strong); border-radius: 14px; outline: 0; background: var(--surface); font-size: 15px; line-height: 1.4; text-transform: none; transition: border-color .2s, box-shadow .2s; }
.comment-label textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgb(6 37 129 / 7%); }
.checkout-button { position: sticky; bottom: max(10px, var(--safe-bottom)); z-index: 4; width: 100%; margin-top: 4px; }
.checkout-button.is-loading::before { content: ""; width: 16px; height: 16px; margin-right: 9px; border: 2px solid rgb(255 255 255 / 35%); border-top-color: #fff; border-radius: 50%; animation: spin .65s linear infinite; }

.orders-search { margin: 0 0 22px; border-color: var(--line-strong); background: var(--surface); }
.orders-search input { color: var(--blue); }
.orders-search input::placeholder { color: var(--muted); }
.order-card { margin-bottom: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 4px 14px rgb(6 37 129 / 5%); }
.order-card h3 { margin: 0 0 14px; font-size: 18px; }
.order-meta { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; }
.order-meta dt { color: var(--muted); }
.order-meta dd { margin: 0; font-weight: 700; text-align: right; }
.order-lines { margin: 14px 0 0; padding-left: 22px; color: var(--muted); }
.order-lines li + li { margin-top: 5px; }

.section-label { margin: 34px 0 14px; font-size: 14px; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; }
.detail-box, .stat-card, .benefit-card, .payment-method { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 4px 14px rgb(6 37 129 / 5%); }
.detail-box { margin-bottom: 10px; padding: 17px; }
.detail-box h3 { margin: 0 0 8px; font-size: 17px; }
.detail-box p { margin: 0; color: #405588; line-height: 1.55; }
.benefit-grid, .payment-grid, .stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.benefit-card, .payment-method { display: flex; min-height: 88px; align-items: center; gap: 12px; padding: 14px; }
.benefit-card img, .payment-method img { flex: 0 0 auto; }
.benefit-card strong, .payment-method strong { display: block; font-size: 14px; }
.benefit-card small, .payment-method small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.stat-card { display: grid; min-height: 100px; align-content: center; padding: 15px; }
.stat-card strong { font-size: clamp(27px, 8vw, 40px); letter-spacing: -.05em; }
.stat-card span { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.section-copy { color: #405588; font-size: 15px; line-height: 1.6; }
.success-page { text-align: left; }
.success-page > p { max-width: 520px; margin: -8px 0 24px; color: #405588; font-size: 16px; line-height: 1.5; }
.success-page .primary-button { width: 100%; }

.filter-group { margin: 0 0 24px; }
.filter-group h3 { margin: 0 0 9px; font-size: 13px; text-transform: uppercase; }
.filter-option { display: flex; min-height: var(--tap); align-items: center; gap: 11px; padding: 8px 4px; border-radius: 10px; }
.filter-option input { width: 20px; height: 20px; accent-color: var(--blue); }
.filter-actions { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; padding: 12px 0 calc(4px + var(--safe-bottom)); background: linear-gradient(transparent, var(--surface) 22%); }

.menu-overlay {
  position: fixed; inset: 0; z-index: 70;
  display: flex; flex-direction: column;
  padding: calc(18px + var(--safe-top)) 18px calc(24px + var(--safe-bottom));
  background: rgb(6 37 129 / 96%); color: var(--paper);
  opacity: 0; transform: translateY(-10px); pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
  backdrop-filter: blur(10px);
}
.menu-overlay.is-open { opacity: 1; transform: none; pointer-events: auto; }
.menu-close { display: grid; width: var(--tap); height: var(--tap); place-items: center; align-self: flex-end; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / 8%); }
.menu-overlay nav { display: grid; margin: auto 0; }
.menu-overlay nav button { min-height: 58px; padding: 8px 2px; border: 0; border-bottom: 1px solid rgb(237 243 248 / 16%); background: transparent; color: inherit; font-size: clamp(26px, 8vw, 42px); font-weight: 650; letter-spacing: -.045em; text-align: left; text-transform: uppercase; }
.menu-overlay nav button:active { padding-left: 8px; }

.sheet-backdrop { position: fixed; inset: 0; z-index: 60; background: rgb(4 16 56 / 42%); opacity: 0; transition: opacity .24s var(--ease); backdrop-filter: blur(2px); }
.sheet-backdrop.is-open { opacity: 1; }
.sheet {
  position: fixed; right: 0; bottom: 0; left: 0; z-index: 61;
  width: min(720px, 100%); max-height: min(82svh, 760px); margin: auto;
  overflow: auto; overscroll-behavior: contain;
  padding: 30px 18px calc(18px + var(--safe-bottom));
  border-radius: 24px 24px 0 0; background: var(--surface);
  box-shadow: 0 -18px 50px rgb(3 22 78 / 22%);
  transform: translateY(102%); transition: transform .24s var(--ease);
}
.sheet.is-open { transform: translateY(0); }
.sheet::before { content: ""; position: absolute; top: 8px; left: 50%; width: 42px; height: 4px; border-radius: 99px; background: rgb(6 37 129 / 18%); transform: translateX(-50%); }
.sheet-close { position: absolute; top: 16px; right: 14px; display: grid; width: var(--tap); height: var(--tap); place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--surface-2); }
#sheet-content > h2 { margin: 0 52px 25px 0; font-size: 30px; letter-spacing: -.04em; text-transform: uppercase; }

.toast {
  position: fixed; z-index: 100; top: calc(12px + var(--safe-top)); left: 50%;
  width: min(520px, calc(100vw - 24px));
  padding: 13px 16px; border: 1px solid rgb(255 255 255 / 13%); border-radius: 14px;
  background: rgb(6 37 129 / 94%); color: var(--paper);
  box-shadow: var(--shadow-lg); font-size: 13px; font-weight: 650; line-height: 1.35; text-align: center;
  opacity: 0; transform: translate(-50%, -10px) scale(.98); pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease); backdrop-filter: blur(12px);
}
.toast[data-type="error"] { background: rgb(118 19 45 / 96%); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0) scale(1); }

.loading-section { min-height: 420px; }
.loading-heading { display: flex; min-height: 42px; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--muted); }
.loading-heading p { margin: 0; }
.skeleton-card { overflow: hidden; border: 1px solid rgb(6 37 129 / 7%); border-radius: var(--radius); background: var(--surface); }
.skeleton { position: relative; overflow: hidden; background: #dfe7f0; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgb(255 255 255 / 60%), transparent); animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.skeleton-image { aspect-ratio: 1/.91; }
.skeleton-line { height: 12px; margin: 13px 12px 8px; border-radius: 8px; }
.skeleton-line--short { width: 58%; margin-bottom: 16px; }

@media (min-width: 560px) {
  #content { padding-inline: 20px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .hero { padding-inline: 22px; }
  .hero h1 { font-size: clamp(80px, 14vw, 112px); }
}

@media (max-width: 390px) {
  .topbar { padding-inline: 8px; }
  .header-actions { gap: 0; }
  .logo-button img { width: 126px; }
  .hero { min-height: clamp(430px, 67svh, 560px); padding-inline: 12px; }
  .hero-kicker { font-size: clamp(22px, 7vw, 29px); }
  .hero h1 { font-size: clamp(50px, 15.6vw, 64px); letter-spacing: -.065em; }
  #content { padding-inline: 12px; }
  .product-grid { gap: 8px; }
  .product-name { padding-inline: 9px; font-size: 12px; }
  .product-footer { padding-left: 9px; }
  .product-price { font-size: 14px; }
  .cart-row { grid-template-columns: 72px minmax(0,1fr) 40px; gap: 9px; }
  .cart-thumb { width: 72px; height: 72px; }
  .quantity { grid-template-columns: 34px 28px 34px; }
  .quantity button { width: 34px; }
  .benefit-grid, .payment-grid, .stats-grid { grid-template-columns: 1fr; }
}

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