/* Оптовый сайт — typography, navigation and catalogue. */
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --ink: #202020; --muted: #6b6b6b; --line: #e4e4e4; --soft: #f6f6f6;
  --paper: #fff; --header: 88px;
  color-scheme: light; font-family: "Manrope", sans-serif;
  color: var(--ink); background: var(--paper); font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; background: none; border: 0; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
p, h1, h2, h3 { margin: 0; }
p { line-height: 1.55; }
h1 { font-size: 40px; line-height: 1.15; letter-spacing: -.04em; font-weight: 500; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
input:focus, select:focus, textarea:focus { outline: 1px solid var(--ink); outline-offset: 0; }
::selection { background: #222; color: #fff; }
[hidden] { display: none !important; }
.container { width: min(1440px, calc(100% - 112px)); margin-inline: auto; }
.sr-only { position: absolute; clip: rect(0,0,0,0); width: 1px; height: 1px; margin: -1px; overflow: hidden; white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.eyebrow, .section-label { font-size: 10px; font-weight: 500; letter-spacing: .1em; line-height: 1.4; }
.eyebrow { color: var(--muted); margin-bottom: 14px; }
.skip-link { position: fixed; left: 16px; top: -80px; background: var(--ink); color: #fff; padding: 16px; z-index: 300; }
.skip-link:focus { top: 12px; }
.preview-notice { text-align: center; padding: 5px 16px; font-size: 11px; line-height: 18px; background: #f6f6f6; color: var(--muted); }
.preview-notice span { margin: 0 6px; }
.preview-notice a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.site-header { position: sticky; top: 0; background: rgba(255,255,255,.98); z-index: 30; border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header); display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.brand-lockup { display: flex; flex-direction: column; align-items: flex-start; }
.brand-name { font-family: "Manrope", sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -.055em; line-height: 1.15; color: #171717; }
.brand-caption { display: block; margin-top: 5px; font-size: 9px; font-weight: 600; line-height: 1; letter-spacing: .18em; text-transform: uppercase; color: #777; }
.main-nav { display: flex; gap: 30px; margin-left: auto; }
.main-nav a { display: flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--muted); }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.admin-header-label { display: none; }
body.admin-mode .main-nav, body.admin-mode .header-actions { display: none !important; }
body.admin-mode .admin-header-label { display: block; margin-left: auto; font-size: 18px; font-weight: 700; letter-spacing: .02em; }
.admin-access-link, .admin-return-link { display: none; align-items: center; gap: 7px; min-height: 44px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.admin-access-link[hidden], .admin-return-link[hidden] { display: none !important; }
body.admin-authenticated:not(.admin-mode) .main-nav, body.admin-authenticated:not(.admin-mode) .header-actions { display: none !important; }
body.admin-authenticated:not(.admin-mode) .admin-access-link { display: inline-flex; margin-left: auto; }
body.admin-mode .admin-return-link { display: inline-flex; }
.admin-access-link:hover, .admin-return-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-cart { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; padding-left: 12px; }
.cart-badge { font-size: 12px; min-width: 22px; height: 24px; display: grid; place-items: center; padding: 0 4px; color: var(--muted); font-variant-numeric: tabular-nums; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.mobile-menu-toggle, .mobile-filter-toggle { display: none; }
.card-title-row { display: contents; }
.card-favorite { display: none; }
.search-slot { min-width: 0; }
.catalog-view { padding-top: 40px; }
.catalog-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; }
.catalog-heading-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; min-width: 0; }
.catalog-title { display: flex; align-items: baseline; gap: 18px; }
.catalog-heading h1 { font-size: 36px; font-weight: 500; }
#resultCount { color: var(--muted); font-size: 12px; }
.search-field { display: flex; align-items: center; position: relative; width: 280px; min-width: 0; height: 44px; border-bottom: 1px solid #cfcfcf; }
.search-field:focus-within { border-bottom-color: var(--ink); }
.search-field svg { width: 18px; height: 18px; flex: none; margin-left: 2px; }
.search-field input { width: 100%; min-width: 0; border: 0; background: none; font-size: 14px; outline: none; padding: 10px 32px 10px 12px; height: 100%; border-radius: 0; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field input::placeholder { color: var(--muted); opacity: 1; }
.search-clear { position: absolute; right: 0; height: 44px; width: 32px; font-size: 24px; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.categories { display: flex; align-items: stretch; gap: 30px; min-width: 0; }
.category-button { position: relative; min-height: 52px; padding: 0; font-size: 14px; line-height: 1.4; color: var(--muted); white-space: nowrap; }
.category-button[aria-pressed=true] { color: var(--ink); font-weight: 600; }
.category-button[aria-pressed=true]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.category-button:hover { color: var(--ink); }
.category-short { display: none; }
.catalog-filters { display: flex; align-items: center; gap: 26px; flex: none; }
.stock-filter { display: flex; align-items: center; gap: 9px; font-size: 12px; cursor: pointer; min-height: 44px; position: relative; white-space: nowrap; }
.stock-filter input { position: absolute; opacity: 0; width: 32px; height: 32px; margin: 0; cursor: pointer; }
.switch { width: 30px; height: 18px; border-radius: 12px; background: #bbb; position: relative; pointer-events: none; }
.switch::after { content: ""; position: absolute; width: 12px; height: 12px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: transform .15s; }
.stock-filter input:checked + .switch { background: #278852; }
.stock-filter input:checked + .switch::after { transform: translateX(12px); }
.stock-filter input:focus-visible + .switch { outline: 2px solid; outline-offset: 4px; }
.sort-field { width: 164px; }
.sort-field select { border: 0; min-height: 44px; padding: 0 4px 0 8px; background: white; font-size: 12px; width: 100%; border-radius: 0; cursor: pointer; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 48px 28px; }
.product-card { min-width: 0; display: flex; flex-direction: column; }
.product-image-link { display: block; background: #f5f5f5; position: relative; overflow: hidden; aspect-ratio: 1 / 1.1; border-radius: 3px; }
.product-image-link img { height: 100%; width: 100%; object-fit: contain; padding: 18px; mix-blend-mode: multiply; transition: transform .25s ease; }
@media (hover:hover) { .product-image-link:hover img { transform: scale(1.025); } }
.image-badge { position: absolute; top: 12px; left: 12px; background: #fffe; padding: 6px 8px; font-size: 10px; color: var(--muted); }
.card-content { padding-top: 12px; display: flex; flex: 1; flex-direction: column; }
.card-identity { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.card-pricing-row { display: contents; }
.card-color { display: none; }
.card-hit, .card-profit-icon, .card-profit-word, .card-per-unit, .card-markup { display: none; }
.product-name { font-size: 16px; line-height: 1.35; letter-spacing: -.015em; font-weight: 500; }
.product-name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-stock { display: flex; align-items: center; gap: 6px; font-size: 11px; line-height: 16px; }
.card-stock::before { content: ""; width: 6px; height: 6px; background: #238550; border-radius: 50%; }
.card-stock.out { color: var(--muted); }
.card-stock.out::before { background: #d34444; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-col { display: flex; flex-direction: column; gap: 4px; }
.price-col > span { color: var(--muted); font-size: 12px; }
.price-col > strong { font-size: 22px; line-height: 1.35; font-weight: 600; letter-spacing: -.025em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-col.retail { text-align: right; }
.price-col.retail > strong { font-size: 20px; font-weight: 400; }
.product-card .prices { margin-top: auto; gap: 0; }
.product-card .price-col { gap: 3px; padding: 0 10px 0 0; text-align: left; min-width: 0; min-height: 40px; }
.product-card .price-col.retail { border-left: 0; padding-left: 10px; }
.product-card .price-col > strong { font-size: 22px; line-height: 1.2; font-weight: 550; letter-spacing: -.035em; }
.product-card .price-col.retail > strong { font-size: 16px; font-weight: 400; color: #4a4a4a; }
.metric-label { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 11px; line-height: 15px; }
.metric-mobile { display: none; }
.card-economics { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); border-top: 1px solid var(--line); padding-top: 8px; margin-top: 9px; }
.card-metric { min-width: 0; min-height: 36px; padding: 0 10px 0 0; text-align: left; }
.metric-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.card-metric .metric-label { font-size: 10px; line-height: 14px; }
.card-metric strong { font-size: 16px; line-height: 24px; letter-spacing: -.04em; font-weight: 400; white-space: nowrap; }
.card-metric:first-child strong { font-size: 22px; font-weight: 550; }
.card-margin { padding-left: 10px; }
.earnings-bar { height: 3px; background: #d9d9d9; margin: 10px 0 7px; }
.earnings-bar > span { height: 100%; display: block; background: #454545; }
.card-action { margin-top: 10px; height: 24px; }
.card-details { display: none; }
.card-add, .card-quantity { position: relative; width: 100%; height: 24px; min-height: 24px; border: 0; border-radius: 0; background: transparent; }
.card-add { display: grid; place-items: center; width: max-content; max-width: 100%; padding: 0 11px; font-size: 12px; line-height: 20px; font-weight: 500; border-radius: 3px; background: #f3f3f3; }
.card-cart-icon { display: none; }
.card-add::after { content: ""; position: absolute; inset: -10px -6px; }
.card-add:not(:disabled):hover { background: #e9e9e9; }
.card-add:disabled { color: var(--muted); text-decoration: none; }
.card-quantity { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center; border-radius: 3px; background: #f3f3f3; }
.card-quantity > button { position: relative; display: grid; place-items: center; height: 24px; font-size: 18px; font-weight: 300; }
.card-quantity > button::after { content: ""; position: absolute; inset: -10px 0; }
.card-quantity > button:not(:disabled):hover { background: #e9e9e9; }
.card-quantity > span { text-align: center; font-size: 11px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (min-width:741px) {
  .product-card .card-identity { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 12px; }
  .product-card .card-stock { white-space: nowrap; }
  .product-card .prices { display: block; }
  .product-card .price-col, .product-card .price-col.retail { width: 100%; min-height: 34px; padding: 5px 0; display: flex; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 8px; text-align: left; }
  .product-card .price-col > strong { flex: none; }
  .product-card .card-economics { display: block; margin-top: 5px; padding-top: 7px; }
  .product-card .card-metric, .product-card .card-margin { display: block; width: 100%; min-height: 33px; padding: 4px 0; }
  .product-card .card-markup { display: none; }
  .product-card .metric-copy { width: 100%; display: flex; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 8px; }
  .product-card .card-metric strong { flex: none; }
  .product-card .card-action { margin-top: 9px; }
}
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; background: var(--ink); color: #fff; min-height: 46px; padding: 12px 20px; border: 1px solid var(--ink); font-size: 13px; font-weight: 500; line-height: 1.4; border-radius: 0; transition: background .15s,color .15s; white-space: normal; text-align: center; }
.button:hover { background: #383838; border-color: #383838; }
.button:disabled { background: #f3f3f3; border-color: #ececec; color: #757575; }
.button-secondary { color: var(--ink); background: transparent; border-color: #bdbdbd; }
.button-secondary:hover { background: #f3f3f3; border-color: var(--ink); }
.text-link { display: inline-flex; gap: 9px; align-items: center; text-decoration: underline; text-underline-offset: 4px; font-size: 12px; min-height: 44px; }
.load-more-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 48px 0 24px; }
.load-more-wrap .button { min-width: 220px; }
.catalog-footnote { display: flex; align-items: center; justify-content: center; gap: 12px; padding-bottom: 24px; color: var(--muted); font-size: 11px; }
.catalog-footnote .text-link { font-size: 11px; }
.empty-state { text-align: center; padding: 56px 20px; max-width: 480px; margin: 0 auto; }
.empty-state h2 { font-size: 26px; letter-spacing: -.03em; font-weight: 500; margin-bottom: 12px; }
.empty-state p { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.empty-symbol { display: block; font-size: 32px; margin-bottom: 16px; }
.skeleton-card { height: 480px; background: linear-gradient(#f5f5f5 70%,white 70%,white 74%,#f5f5f5 74%,#f5f5f5 78%,white 78%); }
.site-footer { border-top: 1px solid var(--line); margin-top: 12px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 32px 0; }
.footer-brand { font-size: 13px; letter-spacing: .09em; white-space: nowrap; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 12px; }
.footer-top a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-top a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-contact { font-size: 13px; gap: 10px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; gap: 24px; justify-content: space-between; font-size: 10px; color: var(--muted); line-height: 1.7; }
.footer-bottom > span:last-child { max-width: 280px; text-align: right; }
.catalog-minimum { position: fixed; z-index: 35; bottom: 0; left: 0; right: 0; padding: 9px 0 max(10px,env(safe-area-inset-bottom)); background: #fffffff5; border-top: 1px solid var(--line); }
.catalog-minimum-inner { display: flex; align-items: center; gap: 24px; font-size: 11px; }
.minimum-package { display: none; }
.catalog-minimum-progress { flex: 1; min-width: 0; }
.minimum-total { display: flex; align-items: center; gap: 12px; min-height: 32px; }
.minimum-total svg { width: 14px; height: 18px; }
.catalog-minimum-labels { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 11px; line-height: 16px; }
#minimumAmount { color: var(--muted); font-variant-numeric: tabular-nums; }
.catalog-minimum-track { margin-top: 6px; height: 3px; background: #e6e6e6; border-radius: 2px; overflow: hidden; }
.catalog-minimum-track > span { display: block; height: 100%; width: 0; background: var(--ink); transition: width .2s ease; }
.has-catalog-minimum .site-footer { padding-bottom: calc(54px + env(safe-area-inset-bottom)); }
.toast { position: fixed; bottom: 26px; right: 28px; z-index: 100; background: var(--ink); color: white; padding: 16px 20px; box-shadow: 0 4px 22px #0002; max-width: min(430px,calc(100% - 32px)); font-size: 13px; line-height: 1.5; display: flex; align-items: center; gap: 24px; }
.toast a { text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }

/* Product details keep the full specifications and calculation. */
dialog { color: var(--ink); background: white; border: 0; padding: 0; max-height: calc(100dvh - 56px); box-shadow: 0 24px 90px #0002; }
.filter-dialog { width: min(420px,calc(100% - 32px)); padding: 22px; border-radius: 18px; overflow-y: auto; }
.overlay-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.overlay-heading h2 { font-size: 22px; font-weight: 500; letter-spacing: -.04em; }
.overlay-close { display: grid; place-items: center; width: 36px; height: 36px; font-size: 28px; font-weight: 300; }
.dialog-filter-slot { display: flex; flex-direction: column; gap: 20px; }
.dialog-filter-slot .search-field { width: 100%; }
.dialog-filter-slot .search-field input { font-size: 16px; }
.dialog-filter-slot .catalog-filters { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding: 0; }
.dialog-filter-slot .stock-filter { justify-content: space-between; font-size: 14px; }
.dialog-filter-slot .stock-filter .switch { order: 1; }
.dialog-filter-slot .sort-field { display: flex; flex-direction: column; gap: 8px; width: 100%; font-size: 13px; }
.dialog-filter-slot .sort-field .sr-only { position: static; clip: auto; width: auto; height: auto; margin: 0; }
.dialog-filter-slot .sort-field select, .filter-category select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #dedee4; border-radius: 7px; background: #fff; font-size: 16px; }
.filter-category { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; font-size: 13px; }
.favorites-filter { display: flex; align-items: center; gap: 9px; margin-top: 20px; min-height: 40px; font-size: 14px; }
.favorites-filter input { width: 18px; height: 18px; accent-color: #252c32; }
.filter-dialog-actions { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 10px; margin-top: 24px; }
.filter-dialog-actions .button { border-radius: 8px; padding: 10px 12px; font-size: 12px; }
.navigation-dialog { position: fixed; inset: 0 0 0 auto; width: min(340px,90%); height: 100dvh; max-height: 100dvh; margin: 0; padding: 24px; border-radius: 18px 0 0 18px; }
.navigation-dialog nav { display: flex; flex-direction: column; gap: 4px; }
.navigation-dialog nav a, .navigation-dialog nav button { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0; text-align: left; font-size: 16px; }
.navigation-dialog nav button span { color: var(--muted); font-size: 13px; }
.menu-contact { display: inline-block; margin-top: 28px; color: var(--muted); font-size: 13px; }
dialog::backdrop { background: #0007; backdrop-filter: blur(3px); }
dialog[open] { animation: dialog-in .18s ease-out; }
.product-dialog { width: min(1080px,calc(100vw - 64px)); overflow: hidden; }
.dialog-close { width: 44px; height: 44px; position: absolute; top: 14px; right: 14px; z-index: 3; background: #fff; color: var(--ink); font-size: 28px; line-height: 1; font-weight: 300; }
.dialog-close:hover { background: #f0f0f0; }
.product-dialog-heading { display: none; }
.product-dialog-layout { display: grid; grid-template-columns: 1.1fr 1fr; max-height: calc(100dvh - 56px); overflow: auto; }
.product-gallery { background: #f5f5f5; align-self: start; position: sticky; top: 0; }
.gallery-stage { position: relative; aspect-ratio: 1 / 1.03; }
.gallery-stage .gallery-photo-trigger { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; touch-action: pan-y; }
.gallery-stage .gallery-photo-trigger img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: #fffe; font-size: 25px; }
.gallery-arrow.prev { left: 12px; }
.gallery-arrow.next { right: 12px; }
.gallery-count { position: absolute; bottom: 15px; right: 17px; font-size: 11px; background: #ffffffc9; padding: 7px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; padding: 0 20px 20px; }
.gallery-thumb { aspect-ratio: 1; background: #fff; border: 1px solid transparent; padding: 0; overflow: hidden; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery-thumb[aria-current=true] { border-color: var(--ink); }
.product-detail { padding: 48px 36px 30px; }
.product-detail h2 { font-size: 30px; font-weight: 500; letter-spacing: -.03em; line-height: 1.2; }
.detail-color { font-size: 14px; color: var(--muted); margin-top: 12px; }
.stock-status { display: flex; align-items: center; gap: 7px; font-size: 12px; margin: 18px 0 26px; }
.stock-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #238550; }
.stock-status.out { color: var(--muted); }
.stock-status.out::before { background: #d34444; }
.earnings { padding: 18px 0 0; margin-top: 20px; border-top: 1px solid var(--line); }
.earnings-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; }
.earnings-top strong { font-size: 18px; font-weight: 500; white-space: nowrap; }
.earnings-bottom { font-size: 11px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.detail-note { font-size: 11px; line-height: 1.6; color: var(--muted); margin-top: 10px; }
.detail-order { display: flex; gap: 12px; margin-top: 18px; }
.detail-order .button { flex: 1; }
.quantity-control { display: flex; align-items: center; border: 1px solid #b9b9b9; flex: none; min-height: 46px; background: white; }
.quantity-control button { height: 44px; width: 38px; font-size: 20px; }
.quantity-control input { border: 0; background: none; padding: 0; width: 40px; min-height: 44px; text-align: center; font-size: 14px; -moz-appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button { -webkit-appearance: none; }
.quantity-control button:hover { background: var(--soft); }
.detail-specs { margin: 24px 0 0; border-top: 1px solid var(--line); }
.detail-specs div { display: grid; grid-template-columns: 105px 1fr; gap: 12px; font-size: 12px; line-height: 1.6; border-bottom: 1px solid var(--line); padding: 12px 0; }
.detail-specs dt { color: var(--muted); }
.detail-specs dd { margin: 0; overflow-wrap: anywhere; }
.help-dialog { width: min(480px,calc(100% - 32px)); padding: 44px 30px 30px; }
.help-dialog h2 { font-size: 27px; line-height: 1.25; letter-spacing: -.03em; font-weight: 500; margin-bottom: 18px; }
.help-dialog p { font-size: 14px; }
.help-dialog .button { width: 100%; margin-top: 24px; }
.example-calculation { margin: 22px 0; background: var(--soft); padding: 18px; }
.example-calculation > span { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; padding: 8px 0; }
.example-calculation strong { white-space: nowrap; font-weight: 500; }

/* Order forms and supporting documents. */
.order-view{padding-top:32px;padding-bottom:60px;min-height:65vh}.back-link{display:inline-flex;align-items:center;gap:10px;font-size:12px;min-height:44px;margin-bottom:20px}.order-title-row{display:flex;justify-content:space-between;gap:24px;align-items:end;padding-bottom:29px;border-bottom:1px solid var(--line)}.order-title-row h1{font-size:40px}.checkout-steps{display:flex;gap:28px;list-style:none;margin:0;padding:0}.checkout-steps li{display:flex;gap:10px;align-items:center;font-size:12px;color:#737373}.checkout-steps span{display:grid;place-items:center;width:25px;height:25px;border:1px solid #b9b9b9;font-size:11px}.checkout-steps .current{color:var(--ink)}.checkout-steps .current span{background:var(--ink);color:white;border-color:var(--ink)}.order-layout{display:grid;grid-template-columns:minmax(0,1fr) 355px;gap:52px;margin-top:28px}.cart-line{display:grid;grid-template-columns:100px minmax(0,1fr) auto;column-gap:24px;border-bottom:1px solid var(--line);padding:24px 0}.cart-line:first-child{padding-top:0}.cart-line-image{width:100px;height:128px;background:var(--soft)}.cart-line-image img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.cart-line-info h2{font-size:17px;font-weight:500;line-height:1.4;letter-spacing:-.02em;margin:5px 0 7px}.cart-line-info>p{font-size:12px;color:var(--muted)}.cart-line-unit{margin:14px 0 12px;font-size:13px}.cart-line-meta{display:flex;gap:16px;align-items:center}.remove-button{font-size:11px;color:var(--muted);min-height:44px;text-decoration:underline;text-underline-offset:4px}.cart-line-total{font-size:17px;text-align:right;padding-top:7px;white-space:nowrap;letter-spacing:-.02em}.cart-line-total small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:8px}.cart-line.unavailable{background:#f6f6f6;padding:20px}.line-error{font-size:12px!important;color:#171717!important;margin-top:10px;font-weight:600}.summary-panel{position:sticky;top:calc(var(--header) + 24px);align-self:start;background:var(--soft);padding:28px}.summary-panel h2{font-size:21px;font-weight:500;letter-spacing:-.035em;margin-bottom:24px}.summary-line{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-bottom:16px}.summary-line strong{font-weight:500;white-space:nowrap}.summary-line.total{border-top:1px solid #d5d5d5;padding-top:20px;margin-top:20px;font-size:14px;align-items:center}.summary-line.total strong{font-size:26px;letter-spacing:-.04em}.summary-earnings{border-top:1px solid #d5d5d5;padding:18px 0;margin:20px 0 0}.summary-earnings .earnings-top{font-size:12px}.summary-earnings .earnings-top strong{font-size:22px;letter-spacing:-.04em}.summary-earnings p{font-size:10px;line-height:1.6;color:var(--muted);margin-top:12px}.summary-panel>.button{width:100%;margin-top:18px}.summary-note{color:var(--muted);font-size:11px;margin-top:13px;line-height:1.6}.minimum-progress{border-top:1px solid #d5d5d5;padding-top:20px;margin-top:4px}.minimum-progress p{font-size:12px;line-height:1.6}.minimum-progress strong{font-weight:500}.minimum-track{height:3px;background:#d2d2d2;margin:12px 0}.minimum-track>span{display:block;background:var(--ink);height:100%}.minimum-progress .minimum-met{display:flex;align-items:center;gap:8px}.returning-box{margin:28px 0}.returning-box h2,.form-section-title{font-size:20px;font-weight:500;letter-spacing:-.03em;margin-bottom:16px}.choice-group{display:grid;grid-template-columns:1fr 1fr;gap:12px}.choice{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:16px;font-size:13px;line-height:1.5;cursor:pointer;min-height:54px}.choice:has(input:checked){border-color:var(--ink);background:#f7f7f7}.choice input{accent-color:var(--ink);width:17px;height:17px;margin:0;flex:none}.choice small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.field-error{font-size:12px;color:var(--ink);font-weight:500;line-height:1.5;margin-top:8px;display:flex;gap:6px}.field-error:not(:empty):before{content:'!';display:inline-grid;place-items:center;border:1px solid;width:15px;height:15px;min-width:15px;font-size:10px;margin-top:1px}.cart-extra-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:12px}.order-form{max-width:750px}.form-intro{font-size:13px;color:var(--muted);margin-top:-5px;margin-bottom:26px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px 22px}.field{display:flex;flex-direction:column;min-width:0}.field.full{grid-column:1/-1}.field>label{font-size:13px;margin-bottom:10px}.field input,.field select{border:1px solid #bfbfbf;border-radius:0;background:white;min-height:50px;padding:13px 14px;width:100%;font-size:15px}.field input::placeholder{color:#777;font-size:13px}.field:has([aria-invalid=true]) input,.field:has([aria-invalid=true]) select{border:2px solid var(--ink);background:#f4f4f4}.field-hint{font-size:11px;line-height:1.55;color:var(--muted);margin-top:8px}.form-divider{height:1px;background:var(--line);margin:30px 0}.form-confirm{display:flex;justify-content:space-between;gap:18px;font-size:13px;line-height:1.5;margin-bottom:26px}.form-confirm a{text-decoration:underline;text-underline-offset:4px;font-size:12px}.consent-label{display:flex;gap:12px;align-items:start;font-size:12px;line-height:1.65;cursor:pointer;margin-top:20px}.consent-label input{width:18px;height:18px;flex:none;accent-color:var(--ink);margin:2px 0 0}.consent-label a{text-decoration:underline;text-underline-offset:3px}.form-submit{margin-top:26px;width:100%;min-height:50px}.submission-error{border:1px solid var(--ink);background:var(--soft);padding:18px;margin-top:22px;font-size:13px;line-height:1.6}.submission-error strong{display:block;margin-bottom:8px}.submission-error .text-link{font-size:12px;margin-top:8px}.success-view{max-width:660px;margin:40px auto;text-align:center}.success-icon{width:62px;height:62px;background:var(--ink);color:#fff;display:grid;place-items:center;margin:0 auto 26px;font-size:25px}.success-view h1{font-size:38px;margin-bottom:20px}.success-view>p{color:var(--muted);font-size:15px}.success-number{display:inline-block;margin:22px 0;font-size:12px;border:1px solid var(--line);padding:10px 14px}.success-data{text-align:left;background:var(--soft);padding:24px;margin:12px 0 26px;display:grid;gap:13px;font-size:13px;line-height:1.5}.success-data>div{display:flex;justify-content:space-between;gap:16px}.success-data span{color:var(--muted)}.success-actions{display:flex;gap:12px;justify-content:center}.success-preview{border:1px solid #aaa;padding:16px;margin-top:18px;font-size:13px!important;color:var(--ink)!important}
.document-view{max-width:850px;margin:0 auto;padding:32px 0 72px}.document-view h1{margin:0 0 24px;font-size:43px}.document-lead{font-size:17px;color:var(--muted);margin-bottom:30px;line-height:1.7}.document-content{font-size:15px;line-height:1.8}.document-content h2{font-size:24px;font-weight:500;letter-spacing:-.03em;line-height:1.3;margin:34px 0 18px}.document-content h3{font-size:19px;font-weight:500;margin:24px 0 14px}.document-content p{margin:12px 0;line-height:1.8}.document-content ol,.document-content ul{padding-left:22px}.document-content li{margin:12px 0;padding-left:5px}.document-content a{text-decoration:underline;text-underline-offset:3px}.document-content .policy-lead,.document-content .policy-note{background:var(--soft);padding:20px;margin-bottom:24px}.policy-table-wrap{overflow-x:auto;margin:22px 0}.policy-table{width:100%;border-collapse:collapse;font-size:12px}.policy-table th{text-align:left;background:var(--soft);font-weight:500;padding:14px 12px}.policy-table td{padding:15px 12px;border-bottom:1px solid var(--line);vertical-align:top}.policy-table .num{text-align:right;white-space:nowrap}.faq-list details{border-top:1px solid var(--line)}.faq-list details:last-child{border-bottom:1px solid var(--line)}.faq-list summary{list-style:none;cursor:pointer;font-size:16px;padding:22px 36px 22px 0;position:relative;line-height:1.5}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary:after{content:'+';position:absolute;right:6px;top:21px;font-size:22px;font-weight:300}.faq-list details[open] summary:after{content:'−'}.faq-list details p{font-size:14px;color:var(--muted);margin:0 0 24px;max-width:680px}.terms-cards{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);margin:26px 0}.terms-cards>div{padding:24px;border-bottom:1px solid var(--line)}.terms-cards>div:nth-child(odd){border-right:1px solid var(--line)}.terms-cards>div:nth-last-child(-n+2){border-bottom:0}.terms-cards strong{display:block;font-size:23px;font-weight:500;letter-spacing:-.03em;margin-bottom:8px}.terms-cards span{display:block;font-size:13px;color:var(--muted)}.how-to-list{list-style:none!important;padding:0!important}.how-to-list li{display:flex;align-items:start;gap:18px;border-top:1px solid var(--line);padding:21px 0;margin:0}.how-to-list li>span{font-size:12px;color:var(--muted);padding-top:5px}.how-to-list b{font-weight:500}.how-to-list p{font-size:13px;color:var(--muted);margin:7px 0 0}.document-contact{background:var(--soft);padding:26px;margin-top:32px}.document-contact h2{margin-top:0}.document-contact a{font-size:17px}.noscript{padding:25px;background:#eee;text-align:center}

@media(max-width:1150px){.order-layout{gap:30px;grid-template-columns:minmax(0,1fr) 320px}.summary-panel{padding:24px}.cart-line{grid-template-columns:80px minmax(0,1fr);gap:18px}.cart-line-image{width:80px;height:110px;grid-row:1/3}.cart-line-total{grid-column:2;text-align:left;font-size:15px;padding-top:0}.cart-line-total small{display:inline;margin-left:12px}}
@media(max-width:950px){.order-title-row{align-items:start;flex-direction:column}.order-layout{grid-template-columns:minmax(0,1fr) 295px;gap:26px}.choice-group{grid-template-columns:1fr}.cart-line-meta{gap:8px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}}
@media(max-width:740px){.order-view{padding-top:15px;padding-bottom:35px}.back-link{font-size:11px;margin-bottom:14px}.order-title-row{gap:22px;padding-bottom:24px}.order-title-row h1{font-size:34px}.checkout-steps{gap:22px}.checkout-steps li{font-size:11px}.order-layout{display:flex;flex-direction:column;gap:26px;margin-top:24px}.cart-line{grid-template-columns:85px minmax(0,1fr) auto;gap:15px;padding:20px 0}.cart-line-image{width:85px;height:115px;grid-row:1/3}.cart-line-info{grid-column:2/-1}.cart-line-info h2{font-size:16px;margin-top:2px}.cart-line-info>p{font-size:11px}.cart-line-unit{font-size:12px;margin-top:12px}.cart-line-total{grid-column:2/-1;font-size:14px}.cart-line-total small{font-size:10px}.quantity-control button{width:38px;min-height:44px}.quantity-control input{font-size:14px}.cart-line-meta{gap:15px}.summary-panel{position:static;width:100%;padding:24px}.summary-panel h2{font-size:23px}.summary-line{font-size:14px}.summary-line.total strong{font-size:29px}.summary-earnings .earnings-top{display:flex;font-size:13px}.summary-earnings .earnings-top strong{margin:0;font-size:24px}.summary-earnings .earnings-bottom span:first-child{display:block}.summary-earnings .earnings-bottom{font-size:11px}.summary-earnings p,.summary-note{font-size:11px}.choice-group{grid-template-columns:1fr 1fr;gap:9px}.choice{padding:14px 11px;font-size:12px;gap:8px}.choice small{font-size:10px}.returning-box{margin-bottom:6px}.returning-box h2{font-size:19px}.cart-extra-actions .text-link{font-size:11px}.order-form{max-width:none}.form-grid{grid-template-columns:1fr;gap:23px}.field>label{font-size:14px}.field input,.field select{min-height:52px;font-size:16px}.field input::placeholder{font-size:14px}.field-hint{font-size:12px}.consent-label{font-size:12px;gap:12px}.form-submit{font-size:14px}.checkout-summary{order:-1}.checkout-summary h2{font-size:18px;margin-bottom:16px}.checkout-summary .summary-line{font-size:12px;margin-bottom:11px}.checkout-summary .summary-line.total{margin-top:14px;padding-top:14px}.checkout-summary .summary-line.total strong{font-size:24px}.checkout-summary .summary-earnings{margin-top:14px;padding:14px 0 0}.checkout-summary .summary-earnings .earnings-top{font-size:12px}.checkout-summary .summary-earnings .earnings-top strong{font-size:21px}.checkout-summary .summary-earnings p{font-size:10px}.checkout-summary .summary-note{display:none}.form-section-title{font-size:22px}.success-view{margin-top:25px}.success-view h1{font-size:32px}.success-view>p{font-size:14px}.success-actions{flex-direction:column}.success-data{padding:20px;font-size:12px}.success-data>div{align-items:start}.success-data strong{max-width:65%;text-align:right;overflow-wrap:anywhere}.document-view{padding-top:15px}.document-view h1{font-size:34px}.document-lead{font-size:15px}.document-content{font-size:14px}.document-content h2{font-size:23px}.faq-list summary{font-size:15px;padding-block:21px}.faq-list details p{font-size:14px}.terms-cards>div{padding:18px 15px}.terms-cards strong{font-size:21px}.terms-cards span{font-size:12px}.policy-table,.policy-table tbody{display:block}.policy-table thead{display:none}.policy-table tr{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;padding:18px 0;border-top:1px solid var(--line)}.policy-table td{display:block;padding:0;border:0}.policy-table td:first-child{grid-column:1/-1;font-size:15px;font-weight:500}.policy-table td:nth-child(2){grid-column:1/-1;color:var(--muted);font-size:11px;margin-bottom:5px}.policy-table td.num{text-align:left;font-size:14px}.policy-table td.num:before{display:block;content:attr(data-label);color:var(--muted);font-size:10px;margin-bottom:2px}.policy-table td:last-child{grid-column:1/-1;padding-top:8px}.policy-table td:last-child:before{display:inline;margin-right:10px}.help-dialog{padding:42px 22px 24px}.help-dialog h2{font-size:27px}}
@media(max-width:360px){.choice-group{grid-template-columns:1fr}}

@keyframes dialog-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width:1179px) {
  .container { width: calc(100% - 64px); }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px 24px; }
  .categories { gap: 24px; }
  .catalog-toolbar { gap: 20px; }
  .catalog-filters { gap: 14px; }
  .sort-field { width: 155px; }
  .footer-top { flex-wrap: wrap; gap: 10px 30px; }
  .product-detail { padding: 48px 26px 26px; }
}
@media (max-width:950px) {
  .category-button { font-size: 13px; }
  .category-button .has-short { display: none; }
  .category-short { display: inline; }
  .categories { gap: 24px; }
  .catalog-title { gap: 12px; }
}
@media (max-width:820px) {
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalog-filters { gap: 12px; }
  .sort-field { width: 145px; }
  .catalog-toolbar { gap: 16px; }
  .categories { gap: 18px; }
}
/* Mobile catalogue follows the approved reference: a compact header and horizontal cards. */
@media (max-width:740px) {
  body.admin-mode .admin-header-label { font-size: 13px; }
  .admin-access-link, .admin-return-link { font-size: 11px; }
  :root { --header: 44px; }
  .container { width: calc(100% - 48px); }
  .is-device-preview .preview-notice { display: none !important; }
  .preview-notice { font-size: 10px; padding-block: 4px; line-height: 17px; }
  .site-header { background: #fff; border-color: #e7e7ea; }
  .header-inner { gap: 12px; justify-content: space-between; }
  .brand-name { font-size: 15px; }
  .brand-caption { margin-top: 3px; font-size: 8px; letter-spacing: .16em; }
  .main-nav { display: none; }
  .header-actions { gap: 13px; }
  .header-cart { gap: 7px; padding-left: 0; }
  .header-cart svg { width: 21px; height: 23px; stroke-width: 1.5; }
  .header-cart .cart-label { display: none; }
  .cart-badge { min-width: 20px; height: 20px; padding: 0 4px; font-size: 11px; color: #171717; background: #f4f3f2; border-radius: 50%; }
  .mobile-menu-toggle { display: grid; place-items: center; width: 26px; height: 44px; padding: 0; }
  .mobile-menu-toggle svg { width: 20px; height: 20px; stroke-width: 1.5; }
  .catalog-view { padding-top: 8px; }
  .catalog-heading { display: block; margin-bottom: 8px; }
  .catalog-heading-actions { display: none; }
  .catalog-title { display: flex; flex-direction: column; align-items: start; gap: 2px; }
  .catalog-heading h1 { font-size: 27px; line-height: 1.1; letter-spacing: -.045em; font-weight: 500; }
  #resultCount { color: #9699a3; font-size: 10px; line-height: 13px; }
  .search-slot, .desktop-filter-slot { display: none; }
  .catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 8px; border: 0; }
  .categories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); flex: 1; gap: 0; padding: 0; border: 0; border-radius: 99px; background: #f5f5f7; max-width: 280px; }
  .category-button { min-width: 0; min-height: 28px; padding: 0 8px; font-size: 10px; font-weight: 400; color: #4a4b51; border: 0; border-radius: 99px; }
  .category-button.category-all { display: none; }
  .category-button[aria-pressed=true] { background: #252c32; color: #fff; font-weight: 450; }
  .category-button[aria-pressed=true]::after { display: none; }
  .category-button .has-short { display: none; }
  .category-short { display: inline; }
  .mobile-filter-toggle { position: relative; display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; padding: 0; border: 1px solid #e9e9ed; border-radius: 50%; background: #f7f7f9; color: #171717; }
  .mobile-filter-toggle svg { width: 20px; height: 20px; stroke-width: 1.5; }
  .mobile-filter-toggle circle { fill: #f7f7f9; }
  .filter-indicator { position: absolute; top: 2px; right: 1px; width: 7px; height: 7px; border: 1px solid white; background: #252c32; border-radius: 50%; }
  .product-grid { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .product-card { display: grid; grid-template-columns: minmax(0,42%) minmax(0,1fr); align-items: stretch; gap: 12px; min-width: 0; padding: 8px; border: 1px solid #ececf0; border-radius: 16px; background: #fff; box-shadow: 0 5px 18px #262c3907; }
  .product-image-link { width: 100%; height: 100%; min-height: 138px; align-self: stretch; aspect-ratio: .97; border-radius: 10px; background: #f4f4f6; }
  .product-image-link img { padding: 4px; object-fit: contain; }
  .product-card .product-image-link img[src^="img/oxford/"] { padding: 10px; }
  .product-card .card-hit { position: absolute; top: 7px; left: 7px; display: inline-flex; align-items: center; gap: 3px; padding: 6px 8px; border-radius: 99px; background: #fff2e2; color: #d77113; font-size: 10px; font-weight: 500; line-height: 1; }
  .card-hit svg { width: 10px; height: 12px; fill: currentColor; stroke-width: 1; }
  .image-badge { top: 7px; left: 7px; padding: 5px 6px; font-size: 9px; }
  .card-content { display: flex; flex-direction: column; justify-content: space-between; gap: 5px; min-width: 0; min-height: 138px; padding: 1px 0; }
  .card-identity { display: flex; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; min-height: 34px; }
  .card-title-row { display: flex; align-items: start; justify-content: space-between; gap: 6px; min-height: 18px; }
  .product-name, .card-long-title .product-name { min-width: 0; padding-top: 1px; font-size: clamp(12px,3.45vw,17px); line-height: 1.25; font-weight: 600; letter-spacing: -.035em; overflow-wrap: anywhere; }
  .card-favorite { position: relative; display: grid; place-items: start center; flex: 0 0 20px; width: 20px; min-height: 20px; padding: 0; color: #171717; }
  .card-favorite svg { width: 17px; height: 17px; stroke-width: 1.5; }
  .card-favorite[aria-pressed=true] svg { fill: #252c32; stroke: #252c32; }
  .card-favorite::after { content: ''; position: absolute; inset: -4px; }
  .product-card .card-stock { display: flex; align-items: center; gap: 4px; padding: 0; color: #81858d; font-size: 10px; line-height: 14px; white-space: nowrap; }
  .product-card .card-stock::before { width: 5px; height: 5px; flex: 0 0 5px; background: #238550; }
  .product-card .card-stock.out::before { background: #d34444; }
  .card-color { display: none; }
  .card-pricing-row { display: flex; flex-direction: column; gap: 5px; min-width: 0; margin: 0; }
  .product-card .prices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; margin: 0; }
  .product-card .price-col, .product-card .price-col.retail { display: flex; flex-direction: column; justify-content: center; gap: 3px; width: 100%; min-width: 0; min-height: 39px; padding: 4px 7px; border: 0; border-radius: 8px; background: #f6f6f8; text-align: left; }
  .product-card .price-col .metric-label { display: block; color: #4d5058; font-size: clamp(9px,2.35vw,12px); line-height: 1.1; letter-spacing: -.025em; white-space: nowrap; }
  .product-card .price-col.retail .metric-label { color: #9295a1; }
  .product-card .price-col > strong, .product-card .price-col.retail > strong { font-size: clamp(16px,4.65vw,23px); line-height: 1.05; font-weight: 650; letter-spacing: -.045em; white-space: nowrap; }
  .product-card .price-col.retail > strong { color: #777b85; font-weight: 500; }
  .metric-desktop { display: none; }
  .metric-mobile { display: inline; }
  .product-card .card-economics { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2px 6px; min-height: 24px; margin: 0; padding: 2px 6px; border: 0; border-radius: 8px; background: #eef4f0; }
  .product-card .card-metric { min-width: 0; width: 100%; min-height: 20px; padding: 0 6px; border: 0; }
  .product-card .card-economics .card-metric:first-child { display: flex; align-items: center; flex: 1 1 auto; width: auto; padding: 0; }
  .product-card .card-economics .card-metric:first-child strong { display: inline-flex; align-items: baseline; gap: 3px; }
  .product-card .card-profit-icon { display: none; }
  .product-card .metric-copy { display: flex; align-items: center; min-width: 0; line-height: 1; }
  .product-card .card-economics .metric-label { display: none; }
  .product-card .card-economics strong { color: #416c55; font-size: clamp(11px,3.25vw,16px); line-height: 1.15; font-weight: 650; letter-spacing: -.045em; white-space: nowrap; }
  .product-card .card-profit-word { display: inline; font-size: .85em; font-weight: 500; letter-spacing: -.035em; }
  .product-card .card-per-unit { display: none; }
  .product-card .card-currency { font-size: 65%; line-height: 0; vertical-align: baseline; }
  .product-card .card-margin { display: none; }
  .product-card .card-markup { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: auto; min-height: 20px; margin-left: auto; padding: 0; }
  .product-card .card-markup::before { content: '/'; margin-right: 6px; color: #789182; font-size: 12px; font-weight: 400; }
  .product-card .card-details { display: none; }
  .product-card .card-action { display: block; height: 30px; min-width: 0; margin: 0; }
  .product-card .card-add, .product-card .card-quantity { height: 30px; min-height: 30px; border: 1px solid #20272e; border-radius: 8px; }
  .product-card .card-add { display: inline-flex; align-items: center; justify-content: center; width: 100%; max-width: none; gap: 6px; padding: 0 5px; background: linear-gradient(105deg,#222b32,#252b32); color: white; font-size: clamp(10px,2.85vw,14px); font-weight: 450; white-space: nowrap; }
  .product-card .card-cart-icon { display: inline-block; width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.35; }
  .product-card .card-add:not(:disabled):hover { background: #353e46; }
  .product-card .card-add:disabled { width: 100%; background: #ededed; border-color: #e5e5e5; color: #686868; }
  .product-card .card-quantity { grid-template-columns: 30px minmax(0,1fr) 30px; background: #252c32; color: white; }
  .product-card .card-quantity > button { height: 28px; color: white; font-size: 17px; }
  .product-card .card-add::after, .product-card .card-quantity > button::after { inset: -3px 0; }
  .product-card .card-quantity > button:not(:disabled):hover { background: #353e46; }
  .product-card .card-quantity > span { font-size: 11px; }
  .catalog-minimum { padding: 12px 0 max(12px,env(safe-area-inset-bottom)); border-top: 1px solid #eeeef0; background: #fff; }
  .catalog-minimum-inner { display: grid; grid-template-columns: 18px minmax(0,1fr) auto; align-items: center; gap: 10px; }
  .is-device-preview .catalog-minimum { padding-bottom: 12px; }
  .minimum-package { display: block; width: 19px; height: 22px; stroke-width: 1.5; }
  .catalog-minimum-progress { min-width: 0; padding: 0; margin: 0; border: 0; font-size: 10px; }
  #minimumLabel { display: block; white-space: nowrap; line-height: 14px; }
  .catalog-minimum-track { height: 4px; margin-top: 5px; border-radius: 99px; background: #ededf1; }
  .minimum-total { display: flex; align-items: center; justify-content: end; gap: 6px; min-height: 28px; max-width: none; padding-left: 10px; border-left: 1px solid #dedee3; font-size: 10px; white-space: nowrap; }
  .minimum-total svg { width: 11px; height: 16px; }
  #minimumAmount { color: #686b72; }
  #minimumAmount strong { color: #171717; font-weight: 650; }
  .has-catalog-minimum .site-footer { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .load-more-wrap { margin: 36px 0 16px; }
  .catalog-footnote { gap: 8px; font-size: 10px; padding-bottom: 16px; }
  .catalog-footnote .text-link { font-size: 11px; }
  .footer-top { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 28px 0 18px; }
  .footer-brand { font-size: 12px; margin-bottom: 8px; }
  .footer-top nav { gap: 24px; font-size: 12px; }
  .footer-contact { font-size: 13px; }
  .footer-bottom { flex-wrap: wrap; font-size: 10px; gap: 16px 20px; justify-content: start; }
  .footer-bottom > span:first-child { width: 100%; }
  .footer-bottom > span:last-child { max-width: none; width: 100%; text-align: left; }
  .toast { bottom: 64px; right: 16px; left: 16px; max-width: none; padding: 13px 16px; font-size: 12px; gap: 16px; justify-content: space-between; }
  .product-dialog { width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; margin: 0; }
  .product-dialog-layout { display: block; max-height: calc(100dvh - 65px); overflow-y: auto; padding-bottom: 84px; }
  .product-dialog-heading { height: 65px; border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 70px 0 20px; font-size: 13px; font-weight: 500; position: relative; z-index: 2; background: white; }
  .dialog-close { top: 10px; right: 10px; }
  .product-gallery { position: relative; top: auto; }
  .gallery-stage { width: 100%; height: 35dvh; max-height: 35dvh; aspect-ratio: auto; }
  .gallery-thumbs { padding: 0 18px 15px; gap: 7px; }
  .gallery-thumb { max-height: 55px; }
  .gallery-count { font-size: 10px; }
  .product-detail { padding: 24px 20px 28px; }
  .product-detail h2 { font-size: 28px; }
  .detail-color { font-size: 13px; margin-top: 9px; }
  .stock-status { font-size: 12px; margin: 14px 0 22px; }
  .product-detail .price-col > strong { font-size: 26px; }
  .product-detail .price-col.retail > strong { font-size: 23px; }
  .product-detail .earnings-top { font-size: 12px; }
  .product-detail .earnings-top strong { font-size: 20px; }
  .detail-order { position: absolute; bottom: 0; left: 0; right: 0; z-index: 5; background: #fff; border-top: 1px solid var(--line); padding: 12px 18px max(12px,env(safe-area-inset-bottom)); margin: 0; }
  .detail-order .button { min-height: 46px; }
  .detail-specs div { font-size: 13px; }
  .document-content dl { display: grid; grid-template-columns: 1fr; gap: 5px; }
  .document-content dd { margin-left: 0; margin-bottom: 15px; overflow-wrap: anywhere; }
}
@media (max-width:740px) {
  .cart-line { grid-template-columns: 82px minmax(0,1fr); column-gap: 12px; row-gap: 10px; padding: 16px 0; }
  .cart-line-image { grid-column: 1; grid-row: 1; width: 82px; height: 82px; align-self: start; border-radius: 8px; overflow: hidden; }
  .cart-line-image img { padding: 4px; }
  .cart-line-info { grid-column: 2; grid-row: 1; min-width: 0; }
  .cart-line-info h2 { margin: 0 0 4px; font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
  .cart-line-info > p { line-height: 1.3; overflow-wrap: anywhere; }
  .cart-line-unit { margin: 8px 0; font-size: 13px; }
  .cart-line-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; }
  .cart-line .quantity-control { min-height: 38px; }
  .cart-line .quantity-control button { width: 32px; height: 36px; min-height: 36px; }
  .cart-line .quantity-control input { width: 36px; min-height: 36px; }
  .cart-line .remove-button { min-height: 38px; }
  .cart-line-total { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 9px 0 0; border-top: 1px solid var(--line); font-size: 15px; text-align: left; }
  .cart-line-total small { display: block; margin: 0; line-height: 1.35; }
}
@media (max-width:360px) {
  .container { width: calc(100% - 32px); }
  .brand-name { font-size: 14px; }
  .header-cart { font-size: 11px; gap: 4px; }
  .header-cart svg { width: 17px; }
  .product-grid { column-gap: 12px; }
  .category-button { font-size: 11px; }
  .product-name { font-size: 12px; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
