:root {
  color-scheme: dark;
  --paper: #0c0c0c;
  --surface: #171717;
  --button-ink: #101010;
  --ink: #f5f5f5;
  --muted: #acacac;
  --line: #363636;
  --soft: #272727;
  --font: Inter, Arial, sans-serif;
  --display: Inter, Arial, sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --pad: clamp(18px, 4vw, 48px);
  --bottom-safe: max(env(safe-area-inset-bottom, 0px), var(--tg-content-safe-area-inset-bottom, 0px));
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.48 var(--font); min-height: 100vh; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button, a { color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { text-decoration: none; }
img { display: block; width: 100%; }
svg { display: block; width: 20px; height: 20px; flex: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 20; transform: translateY(-140%); background: var(--surface); padding: 10px 16px; }
.skip-link:focus { transform: none; }
.shell { width: min(100% - 2 * var(--pad), 1160px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 74px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.brand { justify-self: start; display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--display); font-size: 27px; font-weight: 950; line-height: 1; letter-spacing: -.055em; white-space: nowrap; }
.brand span { font: 700 10px/1 var(--mono); letter-spacing: .08em; }
.desktop-nav { align-self: stretch; display: flex; align-items: stretch; font-weight: 700; }
.desktop-nav a { position: relative; display: flex; align-items: center; padding: 0 12px; white-space: nowrap; }
.desktop-nav a[data-active]::after { content: ""; position: absolute; height: 2px; background: var(--ink); left: 12px; right: 12px; bottom: -1px; }
.mobile-guide-link { display: none; }
.header-cart { justify-self: end; min-height: 44px; display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 13px; }
.header-count { border-radius: 50px; min-width: 24px; height: 24px; padding-inline: 5px; display: grid; place-items: center; background: var(--ink); color: var(--button-ink); font: 700 11px/1 var(--mono); }
.main { min-height: min(550px, 64vh); padding-block: 24px 54px; }
.main:focus { outline: 0; }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 338px; background: #131313; color: #fff; display: grid; align-items: center; border-radius: 4px; border: 1px solid var(--line); }
.hero-picture { position: absolute; z-index: -2; inset: 0 0 0 auto; height: 100%; width: 76%; object-fit: cover; object-position: 72% 12%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #131313 12%, #131313 23%, rgba(19,19,19,.95) 30%, rgba(19,19,19,.18) 62%, transparent 80%); }
.hero-inner { padding: 37px clamp(26px, 5vw, 65px); }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 700 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.hero h1 { margin: 15px 0 21px; max-width: 650px; overflow-wrap: anywhere; font: 950 clamp(39px, 6.15vw, 83px)/.9 var(--display); letter-spacing: -.05em; text-transform: uppercase; }
.hero h1 span { display: block; }
.hero-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 43px; padding: 0 13px 0 15px; border: 1px solid #777; border-radius: 3px; font-size: 13px; font-weight: 700; color: #fff; background: #16161669; }
.hero-cta svg { width: 16px; height: 16px; }
.hero-cta:focus-visible { outline-color: white; }
.hero-cta:hover { background: #333; border-color: #ddd; }
.custom-banner { max-height: min(560px, 70svh); object-fit: contain; background: #131313; border-radius: 4px; }
.shop-guide { --guide-inset: clamp(14px, 4vw, 52px); display: grid; gap: clamp(24px, 4vw, 48px); }
.guide-card { min-width: 0; }
.guide-banner {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  min-height: clamp(225px, 37vw, 390px); padding: var(--guide-inset, 22px); border-radius: 10px 10px 0 0; background: #1b1b1b;
}
.guide-banner-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.guide-banner::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, #0c0c0c04 15%, #0c0c0c39 37%, #0c0c0cbd 71%, var(--paper) 100%); }
.guide-banner-title { max-width: 21ch; font: 900 clamp(32px, 5.4vw, 70px)/.98 var(--display); letter-spacing: -.055em; color: #fff; overflow-wrap: anywhere; text-wrap: balance; }
.guide-copy { max-width: min(100% - 2 * var(--guide-inset), 68ch); margin-inline: var(--guide-inset); color: #ddd; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.65; }
.guide-copy p { white-space: pre-wrap; overflow-wrap: anywhere; }
.guide-copy p + p { margin-top: .9em; }
.catalog { position: relative; margin-top: 37px; scroll-margin-top: 12px; }
.catalog-title { margin-bottom: 12px; font: 900 clamp(28px, 4vw, 44px)/1.04 var(--display); letter-spacing: -.05em; scroll-margin-top: 12px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.section-heading h2, .screen-title { font: 900 clamp(31px, 4.4vw, 51px)/1.02 var(--display); letter-spacing: -.062em; overflow-wrap: anywhere; }
.catalog-count { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.catalog-tools { display: flex; align-items: stretch; gap: 8px; margin-bottom: 15px; }
.search { min-width: 170px; width: 280px; display: flex; align-items: center; gap: 9px; padding-left: 13px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.search.catalog-search { flex: 1 1 0; min-width: 0; width: auto; }
.catalog-filter.btn { min-height: 45px; padding: 8px 13px; gap: 7px; font-size: 13px; white-space: nowrap; }
.catalog-filter [data-filter-count] { color: var(--muted); }
.catalog-filter-form select { width: 100%; min-width: 0; min-height: 44px; padding: 9px; border: 1px solid var(--line); border-radius: 4px; background: var(--soft); color: var(--ink); font: 400 16px var(--font); }
.search:focus-within { border-color: var(--ink); }
.search > span svg { width: 17px; height: 17px; color: var(--muted); }
.search input { width: 100%; min-width: 0; min-height: 43px; outline: 0; border: 0; background: transparent; padding: 0 8px 0 0; color: var(--ink); font-size: 16px; }
.search input::placeholder { color: var(--muted); font-size: 13px; }
.search input::-webkit-search-cancel-button { display: none; }
.search button { display: grid; place-items: center; height: 43px; width: 43px; flex: 0 0 43px; border: 0; background: none; }
.search button svg { width: 16px; height: 16px; }
.category-selector { margin-top: 37px; }
.category-selector + .catalog { margin-top: 24px; }
.category-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.category-heading h2 { font: 850 clamp(24px, 2.6vw, 33px)/1.1 var(--display); letter-spacing: -.04em; scroll-margin-top: 12px; }
.category-all { display: inline-flex; align-items: center; gap: 3px; min-height: 44px; border: 0; padding: 0 0 0 6px; background: transparent; font-size: 13px; font-weight: 700; }
.category-all svg { width: 16px; height: 16px; }
.category-all:hover { text-decoration: underline; text-underline-offset: 3px; }
.category-slider { position: relative; }
.category-track {
  position: relative; display: flex; gap: 12px; overflow-x: auto; padding-bottom: 5px;
  scrollbar-width: thin; scrollbar-color: #606060 transparent; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
}
@media (min-width: 651px) {
  .category-track:has(> .category-card:nth-child(4)) { justify-content: space-between; }
}
.category-card {
  display: flex; flex-direction: column; align-items: stretch; min-width: 0; padding: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: left;
}
.category-track .category-card { flex: 0 0 min(240px, calc((100% - 56px) / 3 * .85)); scroll-snap-align: start; }
.category-card:hover { border-color: var(--muted); }
.category-card:focus-visible { outline-offset: -3px; }
.category-card[aria-pressed="true"], .category-all-products[aria-pressed="true"] { color: var(--button-ink); background: var(--ink); border-color: var(--ink); }
.category-picture { display: grid; place-items: center; width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--soft); color: var(--muted); }
.category-picture img { width: 100%; height: 100%; object-fit: cover; }
.category-name { display: block; padding: 8px 10px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.category-arrow {
  display: none; position: absolute; top: calc(50% - 4px); transform: translateY(-50%); z-index: 1;
  place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff47; border-radius: 50%;
  background: #151515ee; color: #fff; box-shadow: 0 2px 10px #0005;
}
.category-arrow[data-slide="-1"] { left: 8px; }
.category-arrow[data-slide="1"] { right: 8px; }
.category-arrow:hover { background: var(--soft); }
@media (hover: hover) and (pointer: fine) { .category-arrow:not(:disabled) { display: grid; } }
.category-dialog { width: min(100% - 36px, 480px); max-height: min(90svh, 715px); padding: 0; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.category-dialog::backdrop { background: #000a; }
.category-dialog-inner { display: grid; gap: 10px; padding: 14px; }
.category-dialog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.category-dialog .category-card { min-height: 68px; flex-direction: row; align-items: center; }
.category-dialog .category-picture { flex: 0 0 47px; width: 47px; margin: 5px; border-radius: 3px; }
.category-dialog .category-name { min-width: 0; padding: 6px 4px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 14px; }
.product-card { min-width: 0; display: block; }
.product-photo { position: relative; overflow: hidden; background: #202020; aspect-ratio: 1; border-radius: 4px; }
.product-photo img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.product-card:hover img { transform: scale(1.035); }
.card-add { position: absolute; bottom: 9px; right: 9px; display: grid; place-items: center; width: 38px; height: 38px; background: var(--surface); border: 1px solid #ffffff35; border-radius: 50%; }
.card-add svg { width: 17px; height: 17px; }
.product-info { padding: 10px 1px 0; }
.product-info h3 { font-size: 16px; line-height: 1.25; font-weight: 800; letter-spacing: -.025em; }
.product-color { color: var(--muted); font-size: 13px; margin-top: 3px; }
.product-price { font-size: 15px; font-weight: 800; margin-top: 5px; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); min-height: 62px; color: var(--muted); font-size: 12px; }
.footer-brand { color: var(--ink); font: 800 11px/1 var(--mono); letter-spacing: .04em; }
.mobile-nav { display: none; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 11px 17px; border: 1px solid var(--ink); border-radius: 4px; color: var(--button-ink); background: var(--ink); font-weight: 800; line-height: 1.3; text-align: center; }
.btn:hover { background: #d9d9d9; }
.btn.secondary { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn.secondary:hover { background: var(--soft); }
.btn:disabled { opacity: .52; }
.btn svg { width: 17px; height: 17px; }
.screen { padding-top: 4px; }
.back { display: inline-flex; gap: 8px; align-items: center; min-height: 42px; font-size: 14px; font-weight: 700; margin-bottom: 13px; }
.back svg { width: 17px; height: 17px; }
.back:hover, .remove:hover { text-decoration: underline; }
.detail { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 68px); align-items: start; }
.detail .product-photo { aspect-ratio: 1; }
.product-gallery { min-width: 0; }
.product-gallery video { display: block; width: 100%; height: 100%; background: #111; }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.gallery-thumbs button { display: grid; place-items: center; padding: 0; width: 54px; height: 54px; overflow: hidden; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; }
.gallery-thumbs button[aria-pressed="true"] { border: 2px solid var(--ink); }
.gallery-thumbs img { height: 100%; object-fit: contain; }
.gallery-thumbs button:has(svg) { align-content: center; gap: 2px; font-size: 10px; font-weight: 700; }
.gallery-thumbs button svg { width: 16px; height: 16px; }
.detail-content { padding-block: 12px; }
.detail-content .screen-title { margin: 10px 0 5px; }
.detail-price { font-weight: 850; font-size: 25px; margin: 15px 0; }
.detail-description { color: var(--muted); max-width: 45ch; }
.option-group { border: 0; padding: 0; margin: 24px 0 17px; min-width: 0; }
.option-group legend { font-weight: 800; margin-bottom: 8px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { position: relative; }
.size input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.size span { display: grid; min-height: 45px; min-width: 48px; padding-inline: 13px; place-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; font-weight: 800; cursor: pointer; }
.size input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--button-ink); }
.size input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.detail-submit { display: grid; gap: 8px; max-width: 420px; }
.btn.product-help-trigger { background: transparent; }
.btn.product-help-trigger:hover { background: var(--surface); }
.product-help { width: min(100% - 36px, 390px); padding: 0; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.product-help::backdrop { background: #000a; }
.product-help-inner { padding: 17px; display: grid; gap: 9px; }
.product-help-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.product-help-header h2 { font-size: 22px; letter-spacing: -.035em; }
.product-help-close { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 0; border-radius: 4px; }
.product-help-close:hover { background: var(--soft); }
.product-help-option { justify-content: space-between; padding-inline: 13px; }
.field-error { color: var(--ink); font-size: 13px; font-weight: 750; margin-top: 6px; }
.screen-header { margin-bottom: 22px; }
.screen-header p { color: var(--muted); margin-top: 6px; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(260px, 1fr); align-items: start; gap: clamp(16px, 3vw, 35px); }
.panel { border: 1px solid var(--line); border-radius: 5px; background: var(--surface); padding: clamp(16px, 2.6vw, 27px); }
.cart-lines { display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px; }
.cart-line img { aspect-ratio: 1; object-fit: cover; background: #202020; border-radius: 3px; }
.line-info { min-width: 0; }
.line-info h2 { font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; }
.line-info a:hover { text-decoration: underline; }
.line-variant { margin-top: 4px; font-size: 13px; color: var(--muted); }
.line-price { font-weight: 800; text-align: right; white-space: nowrap; }
.line-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 14px; margin-top: 10px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; }
.stepper button { display: grid; place-items: center; width: 42px; height: 40px; border: 0; background: none; }
.stepper button:disabled { opacity: .3; }
.stepper button:hover:not(:disabled) { background: var(--soft); }
.stepper output { min-width: 21px; text-align: center; font-weight: 700; }
.stepper svg, .remove svg { width: 16px; height: 16px; }
.remove { min-height: 42px; background: none; border: 0; padding: 0; color: var(--muted); font-size: 13px; }
.summary h2, .checkout-panel h2 { font-size: 21px; letter-spacing: -.035em; line-height: 1.2; }
.summary dl { display: grid; gap: 8px; margin: 15px 0; }
.summary dl div { display: flex; justify-content: space-between; gap: 10px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; }
.summary .total { font-size: 20px; font-weight: 850; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); }
.summary .total dt { color: var(--ink); }
.summary .btn { width: 100%; }
.summary-note { color: var(--muted); font-size: 13px; margin-top: 11px; }
.checkout-fields { display: grid; gap: 12px; }
.checkout-panel { display: grid; gap: 14px; }
.shipping-options { display: grid; gap: 8px; }
.shipping-choice { position: relative; display: block; cursor: pointer; }
.shipping-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.shipping-label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 12px; min-height: 64px; border: 1px solid var(--line); border-radius: 4px; }
.shipping-choice input:checked + .shipping-label { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.shipping-choice input:focus-visible + .shipping-label { outline: 2px solid var(--ink); outline-offset: 3px; }
.shipping-label small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.shipping-label strong { font-size: 14px; }
.shipping-price { font-weight: 800; font-size: 13px; white-space: nowrap; }
.fields { display: grid; gap: 11px; }
.field { display: grid; gap: 4px; font-size: 13px; font-weight: 750; }
.field input, .field textarea { min-width: 0; width: 100%; padding: 10px 12px; min-height: 46px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); font-weight: 400; font-size: 16px; }
.field textarea { resize: vertical; }
.field input[aria-invalid="true"] { border: 2px solid var(--ink); }
.empty { display: grid; justify-items: start; gap: 10px; padding: 27px; border: 1px dashed var(--line); border-radius: 4px; }
.empty h2, .empty h3 { font-size: 21px; letter-spacing: -.03em; }
.empty p { color: var(--muted); }
.empty .btn { margin-top: 4px; }
.success { max-width: 620px; margin: 22px auto; display: grid; gap: 15px; justify-items: start; }
.success-mark { background: var(--ink); color: var(--button-ink); border-radius: 50%; width: 48px; height: 48px; display: grid; place-items: center; }
.success p { color: var(--muted); }
.success .summary { width: 100%; padding: 14px 0 0; border-top: 1px solid var(--line); }
.success .summary dl { margin-block: 0 4px; }
.toast { position: fixed; z-index: 5; right: var(--pad); bottom: 20px; max-width: calc(100% - 2 * var(--pad)); border-radius: 4px; background: var(--ink); color: var(--button-ink); padding: 12px 16px; font-size: 14px; box-shadow: 0 7px 24px #0002; }
.toast:empty { padding: 0; }
@media (max-width: 850px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { min-height: 303px; }
}
@media (min-width: 651px) and (max-width: 900px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; padding-top: 7px; }
  .desktop-nav { grid-column: 1 / -1; grid-row: 2; justify-self: center; min-height: 43px; }
  .header-cart { grid-column: 2; grid-row: 1; }
}
@media (max-width: 650px) {
  .header-inner { min-height: 57px; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(6px, 2vw, 12px); }
  .brand { font-size: 25px; }
  .desktop-nav, .header-cart-label { display: none; }
  .mobile-guide-link { display: grid; place-items: center; justify-self: center; min-height: 44px; max-width: 14ch; text-align: center; text-wrap: balance; color: var(--muted); font-size: clamp(11px, 3.3vw, 13px); font-weight: 750; line-height: 1.16; }
  .mobile-guide-link[data-active] { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
  .main { padding-block: 14px 32px; }
  .hero { min-height: 242px; }
  .hero-picture { width: 100%; object-position: 76% 42%; }
  .hero::after { background: linear-gradient(90deg, #131313f2 0%, #131313bd 28%, #13131324 72%, transparent 100%); }
  .hero-inner { padding: 21px 19px; }
  .hero h1 { font-size: clamp(33px, 8.6vw, 56px); margin: 13px 0 16px; }
  .catalog, .category-selector { margin-top: 25px; }
  .category-selector + .catalog { margin-top: 20px; }
  .search { width: 100%; }
  .catalog-filter.btn { padding-inline: 9px; }
  .category-track { gap: 8px; }
  .category-track .category-card { flex-basis: calc((100% - 33px) / 2 * .85); }
  .category-dialog { inset: auto 0 0; margin: auto 0 0; width: 100%; max-width: 100%; border-radius: 12px 12px 0 0; }
  .category-dialog-inner { padding: 12px var(--pad) calc(14px + var(--bottom-safe)); }
  .category-dialog .category-card { flex-direction: column; align-items: stretch; }
  .category-dialog .category-picture { align-self: center; margin-top: 7px; }
  .category-dialog .category-name { text-align: center; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 9px; }
  .product-info { padding-top: 8px; }
  .product-info h3 { font-size: 14px; }
  .product-color { font-size: 12px; }
  .product-price { font-size: 14px; margin-top: 3px; }
  .card-add { right: 6px; bottom: 6px; width: 33px; height: 33px; }
  .footer { margin-bottom: calc(58px + var(--bottom-safe)); }
  .mobile-nav { position: fixed; z-index: 4; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); inset: auto 0 0; border-top: 1px solid var(--line); background: var(--paper); padding: 0 6px var(--bottom-safe); }
  .mobile-nav a { position: relative; color: var(--muted); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 3px; min-height: 56px; font-size: 11px; font-weight: 650; }
  .mobile-nav a[data-active] { color: var(--ink); font-weight: 850; }
  .mobile-nav a[data-active]::before { content: ""; position: absolute; top: -1px; width: 24px; height: 2px; border-radius: 0 0 2px 2px; background: var(--ink); }
  .mobile-count { position: absolute; top: 4px; left: calc(50% + 5px); padding-inline: 4px; min-width: 15px; min-height: 15px; display: grid; place-items: center; border-radius: 99px; background: var(--ink); color: var(--button-ink); font: 700 9px/1 var(--mono); }
  .detail, .order-layout { grid-template-columns: minmax(0, 1fr); }
  .detail { gap: 15px; }
  .detail-content { padding-block: 0; }
  .detail-submit { max-width: none; }
  .screen-header { margin-bottom: 15px; }
  .cart-line { grid-template-columns: 68px minmax(0, 1fr); gap: 7px 10px; }
  .cart-line > a { grid-row: span 2; }
  .line-price { grid-column: 2; text-align: left; }
  .line-info h2 { font-size: 16px; }
  .toast { bottom: calc(66px + var(--bottom-safe)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.product-photo:has(img) { background: #252525; }
.photo-placeholder { width: 100%; height: 100%; min-height: 54px; display: grid; place-items: center; background: #242424; color: var(--muted); }
.photo-placeholder svg { width: 28px; height: 28px; }
.size input:disabled + span { opacity: .45; text-decoration: line-through; cursor: default; }
.detail-description { white-space: pre-line; }
.product-info h3, .product-color, .line-variant, .shipping-label small { overflow-wrap: anywhere; }
.footer a { color: var(--ink); padding: 12px 0; text-decoration: underline; text-underline-offset: 3px; }
.cart-line > a:first-child { aspect-ratio: 1; }
.cart-line .photo-placeholder { border-radius: 3px; }

.catalog-hero { display: grid; grid-template-columns: minmax(190px, 224px) minmax(0, 1fr); gap: 12px; align-items: start; }
.catalog-hero .hero h1 { font-size: clamp(42px, 5.4vw, 76px); }
.hero-menu { display: grid; gap: 3px; padding: 9px; border: 1px solid var(--line); border-radius: 4px; background: #131313; min-width: 0; }
.hero-menu-link { display: grid; grid-template-columns: 18px minmax(0, 1fr) 15px; align-items: center; gap: 9px; min-height: 48px; padding: 7px 9px; font-size: 13px; font-weight: 750; border-radius: 3px; }
.hero-menu-link svg:first-child { width: 18px; height: 18px; }
.hero-menu-link svg:last-child { width: 15px; height: 15px; color: var(--muted); }
.hero-menu-link[aria-current="page"], .hero-menu-link:hover { background: var(--soft); }
.hero-menu-link:focus-visible { outline-offset: -2px; }
.hero-menu-link span { overflow-wrap: anywhere; }
.hero-menu-extra { display: grid; gap: 3px; margin-top: 5px; padding-top: 8px; border-top: 1px solid var(--line); }
.hero-menu-extra .hero-menu-link { color: var(--muted); }
.hero-menu-extra .hero-menu-link:hover { color: var(--ink); }
.product-card { position: relative; }
.product-card-link { display: block; }
.favorite-button { display: inline-flex; align-items: center; justify-content: center; width: 39px; height: 39px; padding: 0; border: 1px solid #ffffff35; border-radius: 50%; background: #171717; color: #fff; }
.product-card > .favorite-button { position: absolute; top: 8px; right: 8px; }
.favorite-button svg { width: 20px; height: 20px; }
.favorite-button[aria-pressed="true"] svg { fill: currentColor; }
.favorite-button:hover { background: #303030; }
.favorite-button:disabled { opacity: .65; }
.favorite-button.favorite-detail { border: 1px solid var(--line); border-radius: 4px; width: 100%; height: auto; min-height: 46px; gap: 9px; padding: 8px; }
.product-tags { position: absolute; top: 8px; left: 8px; right: 51px; max-height: calc(100% - 56px); overflow: hidden; display: flex; flex-wrap: wrap; align-content: start; gap: 4px; }
.product-tag { padding: 4px 7px; border-radius: 3px; background: #151515; color: #fff; box-shadow: inset 0 0 0 1px #ffffff45; font: 750 12px/1.2 var(--font); overflow-wrap: anywhere; }
.product-tags .product-tag { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-tag[data-product-tag="sale"] { background: #f1f1f1; color: #171717; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: -4px 0 15px; }
.price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 1px 9px; }
.price-line del { color: var(--muted); font-size: .82em; font-weight: 500; }
.account-layout { display: grid; grid-template-columns: minmax(230px, .85fr) minmax(0, 1.65fr); align-items: start; gap: clamp(14px, 3vw, 30px); }
.account-layout h2 { font-size: clamp(20px, 3vw, 25px); letter-spacing: -.035em; }
.account-profile h2 { margin-bottom: 12px; }
.account-orders { min-width: 0; }
.account-orders-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.account-orders-header .btn, .account-pagination .btn { min-height: 42px; padding: 8px 12px; font-size: 13px; }
.account-actions, .account-pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.account-pagination { margin-top: 12px; justify-content: end; color: var(--muted); font-size: 13px; }
.account-order { display: grid; gap: 12px; margin-bottom: 8px; }
.account-order-head { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 7px 12px; }
.account-order-head h3 { font-size: 17px; }
.account-order-head p { font-size: 13px; color: var(--muted); margin-top: 3px; }
.order-status { display: inline-block; padding: 4px 8px; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 4px; font-weight: 750; font-size: 12px; white-space: nowrap; }
.order-status[data-order-status="ready"] { background: var(--ink); color: var(--paper); }
.order-items { padding: 0; margin: 0; list-style: none; display: grid; gap: 8px; }
.order-items li { display: flex; justify-content: space-between; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.order-items li strong { white-space: nowrap; color: var(--ink); }
.order-item-main { display: flex; align-items: center; gap: 9px; min-width: 0; }
.order-item-photo { width: 48px; height: 48px; flex: none; border-radius: 3px; background: var(--soft); object-fit: contain; }
.order-item-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.order-item-size { display: block; margin-top: 2px; }
.order-delivery { display: grid; gap: 4px; padding-top: 8px; margin: 0; border-top: 1px solid var(--line); font-size: 13px; }
.order-delivery div { display: flex; justify-content: space-between; gap: 8px 14px; }
.order-delivery dt { color: var(--muted); }
.order-delivery dd { margin: 0; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.order-note { border-top: 1px solid var(--line); padding: 8px 0; font-size: 13px; }
.order-note span { color: var(--muted); }
.order-note p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.account-order-total { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 9px; }
.status-history { font-size: 13px; }
.status-history summary { cursor: pointer; color: var(--muted); padding: 5px 0; }
.status-history ol { margin: 4px 0 0; padding-left: 18px; }
.status-history li { margin-bottom: 4px; }
.status-history li span { font-weight: 750; }
.status-history time { margin-left: 7px; color: var(--muted); }
.telegram-contact { display: inline-block; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.telegram-contact svg { display: inline; width: 13px; height: 13px; vertical-align: -.1em; }
.telegram-contact:hover { color: var(--muted); }
@media (min-width: 651px) and (max-width: 850px) {
  .catalog-hero { grid-template-columns: 176px minmax(0, 1fr); }
  .catalog-hero .hero h1 { font-size: clamp(36px, 6vw, 50px); }
}
@media (max-width: 650px) {
  .product-help { inset: auto 0 0; margin: auto 0 0; width: 100%; max-width: 100%; border-radius: 12px 12px 0 0; }
  .product-help-inner { padding: 14px var(--pad) calc(16px + var(--bottom-safe)); }
  .catalog-hero { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .catalog-hero .hero h1 { font-size: clamp(32px, 8.6vw, 52px); }
  .hero-menu { display: contents; }
  .hero-menu > .hero-menu-link { display: none; }
  .hero-menu-extra { grid-row: 2; display: flex; flex-wrap: wrap; gap: 5px 8px; margin: 0; padding: 0; border: 0; }
  .hero-menu-extra .hero-menu-link { display: inline-flex; gap: 7px; padding-inline: 9px; min-height: 44px; max-width: 100%; border: 1px solid var(--line); }
  .product-tags { top: 6px; left: 6px; right: 46px; }
  .product-card > .favorite-button { top: 5px; right: 5px; width: 36px; height: 36px; }
  .account-layout { grid-template-columns: minmax(0, 1fr); }
}
