:root {
  color-scheme: light;
  --brand-canvas: #060a14;
  --brand-gradient: linear-gradient(135deg, #0d52f2, #3daeff);
  --display-font: "Space Grotesk", Inter, system-ui, sans-serif;
  --mono-font: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --paper: #f2f6fc;
  --surface: #fff;
  --surface-inset: #f2f6fc;
  --ink: #101b2d;
  --muted: #465c75;
  --line: #d7e2ef;
  --accent: #3daeff;
  --accent-text: #12549e;
  --accent-soft: #eaf4ff;
  --accent-border: #8cb9e9;
  --action-fill: linear-gradient(135deg, #458bff, #3daeff);
  --action-hover: linear-gradient(135deg, #6fa6ff, #75c7ff);
  --action-ink: #060a14;
  --control-radius: 12px;
  --action-edge: #2177d7;
  --action-shadow: inset 0 1px 0 #ffffff48, 0 2px 4px #155aab24;
  --action-hover-shadow: inset 0 1px 0 #ffffff55, 0 4px 10px #155aab30;
  --control-edge: #859db8;
  --hover-fill: #deedff;
  --focus: #0d52f2;
  --danger: #a03633;
  --promo-bg: #dbeeff;
  --promo-ink: #124d8e;
  --promo-line: #95c5f4;
  --promo-highlight: #82ceff;
  --promo-highlight-ink: #060a14;
  --offer-border: #263c58;
  --offer-ink: #eef2f6;
  --offer-muted: #a6b5c9;
  --photo-paper: #fff;
  --photo-inset: #f0f5fc;
  --photo-skeleton: #e0ebf8;
  --photo-ink: #3f5875;
  --photo-action: #12549e;
  --header-offset: calc(119px + env(safe-area-inset-top));
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { isolation: isolate; margin: 0; min-width: 280px; }
body:has(.drawer[open]) { overflow: hidden; }
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .6; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sprite { position: absolute; width: 0; height: 0; pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.shell { width: min(1320px, calc(100% - 64px)); margin-inline: auto; }

.topbar { position: sticky; z-index: 5; top: 0; padding-top: calc(8px + env(safe-area-inset-top)); border-bottom: 1px solid var(--line); background: var(--surface); box-shadow: 0 3px 18px #0e305014; }
.header-inner { display: flex; align-items: center; gap: 11px; min-height: 65px; padding-inline: 15px 9px; border: 1px solid var(--line); border-radius: 999px; background: linear-gradient(180deg, #879fbe0a, transparent); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-wordmark { display: block; width: 142px; height: auto; filter: brightness(0) opacity(.86); }
.header-catalog, .header-admin, .header-cart { display: inline-flex; align-items: center; justify-content: center; flex: none; gap: 7px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--control-radius); background: var(--surface); color: var(--accent-text); font-size: 13px; font-weight: 740; white-space: nowrap; transition: background-color .18s ease, border-color .18s ease; }
.header-cart { background: var(--accent-soft); border-color: var(--accent-border); }
.header-catalog:hover, .header-admin:hover, .header-cart:hover { border-color: var(--accent-border); background: var(--hover-fill); }
.cart-count { display: grid; min-width: 22px; height: 22px; padding-inline: 4px; place-items: center; border-radius: 50px; background: var(--promo-highlight); color: var(--action-ink); font-variant-numeric: tabular-nums; font-size: 11px; font-weight: 800; }
.cart-pop { animation: cart-pop .34s cubic-bezier(.2, .85, .3, 1.2); }
@keyframes cart-pop { 40% { transform: scale(1.19); } }
.search { display: flex; flex: 1; align-items: stretch; min-width: 0; min-height: 44px; border: 1px solid var(--line); border-radius: var(--control-radius); background: var(--surface-inset); }
.search:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.search-entry { display: flex; flex: 1; align-items: center; gap: 8px; min-width: 0; padding-inline: 11px 7px; color: var(--accent-text); }
.search-entry > svg { width: 19px; height: 19px; }
.search-entry input { flex: 1; width: 100%; min-width: 0; min-height: 38px; padding: 0; border: 0; outline: none; background: none; color: var(--ink); font-size: 15px; }
.search-entry input:focus-visible { outline: none; }
.search-entry input::-webkit-search-cancel-button { appearance: none; }
.search-entry input::placeholder { color: var(--muted); }
#searchClear { display: grid; flex: none; width: 27px; height: 27px; padding: 0; place-items: center; border: 0; border-radius: 6px; background: var(--accent-soft); }
#searchClear svg { width: 15px; height: 15px; }
.search-submit { margin: 3px; padding: 0 15px; border-radius: 8px; font-size: 14px; font-weight: 750; }
.quick-nav { display: flex; align-items: center; gap: 7px; min-height: 39px; padding-block: 3px 5px; overflow-x: auto; scrollbar-width: none; }
.quick-nav::-webkit-scrollbar { display: none; }
.quick-nav a, .quick-nav button { display: inline-flex; align-items: center; flex: none; gap: 6px; min-height: 30px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); white-space: nowrap; font-size: 12px; font-weight: 680; transition: background .18s ease, color .18s ease; }
.quick-nav a:hover, .quick-nav button:hover, .quick-nav [aria-current] { background: var(--accent-soft); color: var(--accent-text); }
.quick-nav .quick-offer { background: var(--promo-bg); color: var(--promo-ink); }
.quick-nav .quick-offer:hover, .quick-nav .quick-offer[aria-current] { background: var(--promo-highlight); color: var(--promo-highlight-ink); }
.quick-nav a:focus-visible, .quick-nav button:focus-visible { outline-offset: -2px; }
.quick-nav svg { width: 16px; height: 16px; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 46px; padding: 0 15px; border-radius: var(--control-radius); text-align: center; font-size: 14px; font-weight: 750; line-height: 1.2; }
:is(.button, .search-submit, :where(.mobile-bar) button) {
  border: 1px solid var(--action-edge);
  background: var(--action-fill);
  color: var(--action-ink);
  box-shadow: var(--action-shadow);
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
:is(.button, .search-submit, :where(.mobile-bar) button):not(:disabled):hover { background: var(--action-hover); box-shadow: var(--action-hover-shadow); }
:is(.button, .search-submit, :where(.mobile-bar) button):not(:disabled):active { transform: translateY(1px); box-shadow: none; }
:is(.button, .search-submit, :where(.mobile-bar) button):disabled { box-shadow: none; }
.button svg { width: 18px; height: 18px; }
.button.secondary { border-color: var(--control-edge); background: var(--surface); color: var(--accent-text); box-shadow: none; }
.button.secondary:not(:disabled):hover { border-color: var(--accent-text); background: var(--accent-soft); box-shadow: none; }
.store-banners { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 8px; margin-top: 12px; }
.store-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 11px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .18s ease, background .18s ease; }
.store-banner:hover { border-color: var(--accent-border); background: var(--accent-soft); }
.store-banner-copy { display: grid; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.store-banner-title { color: var(--ink); font-size: 15px; font-weight: 760; line-height: 1.2; }
.store-banner-description { color: var(--muted); font-size: 13px; line-height: 1.3; }
.store-banner-action { display: inline-flex; align-items: center; flex: 0 1 auto; gap: 5px; max-width: 43%; padding: 5px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 12px; font-weight: 740; line-height: 1.15; overflow-wrap: anywhere; }
.store-banner-action svg { width: 14px; height: 14px; }
.editorial-offer {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr);
  grid-template-areas: "offer-content offer-photo" "offer-disclosure offer-photo";
  align-items: center;
  column-gap: clamp(18px, 3vw, 45px);
  row-gap: 10px;
  margin-top: 15px;
  padding: clamp(16px, 2vw, 27px);
  border: 1px solid var(--offer-border);
  border-radius: 15px;
  background:
    radial-gradient(ellipse at 84% 72%, #19427bb5, transparent 70%),
    repeating-linear-gradient(0deg, #a7cbff0a 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, #a7cbff0a 0 1px, transparent 1px 42px),
    #0c1423;
  color: var(--offer-ink);
  box-shadow: inset 0 1px #b7d8ff20;
}
.store-banners:not([hidden]) + .market-feature .editorial-offer { margin-top: 8px; }
.offer-content { grid-area: offer-content; min-width: 0; }
.offer-label { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 10px; padding: 4px 9px; border: 1px solid #6fb9ff42; border-radius: 999px; background: #3daeff0d; color: #b1dfff; font-family: var(--mono-font); font-size: 11px; font-weight: 680; line-height: 1.25; text-transform: uppercase; letter-spacing: .07em; }
.offer-label::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #3daeff; }
.editorial-offer :focus-visible { outline-color: var(--promo-highlight); }
.editorial-offer h1 {
  max-width: 700px;
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(35px, 4.7vw, 69px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.058em;
}
.editorial-offer h1 span { display: block; color: #60b5ff; }
@supports (background-clip: text) {
  .editorial-offer h1 span { background: var(--brand-gradient); background-clip: text; color: transparent; }
}
@media (forced-colors: active) {
  .editorial-offer h1 span { background: none; color: CanvasText; }
}
.offer-summary { max-width: 520px; margin: 9px 0 0; color: var(--offer-muted); font-size: 15px; line-height: 1.38; }
.offer-button { margin-top: 13px; padding-inline: 14px; font-size: 14px; }
.offer-visual {
  grid-area: offer-photo;
  position: relative;
  display: grid;
  width: 100%;
  height: clamp(168px, 19vw, 234px);
  min-width: 0;
  margin: 0;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #87c9ff38;
  border-radius: 13px;
  background: radial-gradient(ellipse at 54% 48%, #fff, #dceafb);
}
.offer-visual img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 9px; object-fit: contain; mix-blend-mode: multiply; }
.offer-visual figcaption { position: absolute; right: 7px; bottom: 7px; max-width: calc(100% - 14px); padding: 3px 5px; border-radius: 4px; background: #fffffff0; color: var(--photo-ink); font-size: 11px; font-weight: 690; line-height: 1.16; overflow-wrap: anywhere; }
.offer-discount {
  position: absolute;
  top: 9px;
  left: 9px;
  display: grid;
  gap: 1px;
  max-width: calc(100% - 18px);
  padding: 5px 8px;
  border-radius: 10px;
  background: var(--promo-highlight);
  color: var(--promo-highlight-ink);
  font-family: var(--display-font);
  font-size: clamp(19px, 2.25vw, 31px);
  font-weight: 700;
  line-height: 1.2;
}
.offer-discount-label { font-family: Inter, system-ui, sans-serif; font-size: 10px; font-weight: 750; line-height: 1.14; overflow-wrap: anywhere; }
.offer-disclosure { grid-area: offer-disclosure; align-self: end; margin: 0; color: var(--offer-muted); font-size: 11px; line-height: 1.34; }

.installment { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .85fr); grid-template-areas: "intro model" "plan plan" "note note"; align-items: center; column-gap: clamp(18px, 4vw, 60px); margin-top: 12px; padding: 15px clamp(15px, 2.3vw, 28px); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); scroll-margin-top: var(--header-offset); }
.installment-copy { grid-area: intro; }
.installment-fields { grid-area: model; }
.installment-options { display: grid; grid-template-columns: minmax(0, 1fr) minmax(8rem, .42fr); gap: 10px; }
.installment-options > div { min-width: 0; }
.installment h2 { margin: 0; font-family: var(--display-font); font-size: clamp(22px, 3vw, 35px); font-weight: 700; line-height: 1.03; letter-spacing: -.045em; }
.installment-intro, .installment-note, .installment-status { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.installment-field { display: block; margin: 0 0 5px; font-size: 13px; font-weight: 750; }
.installment select, .installment-manual input, .sort-field select { height: 42px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 16px; }
.installment select { display: block; width: 100%; }
.installment select:disabled { color: var(--muted); }
.installment-manual { display: grid; gap: 5px; margin-top: 8px; font-size: 13px; font-weight: 740; }
.installment-manual input { min-width: 0; width: 100%; font-weight: 550; }
.installment-manual .installment-status, .installment-validation { font-weight: 500; }
.installment-validation { margin: 3px 0 0; color: var(--danger); font-size: 12px; line-height: 1.4; }
.installment-note { grid-area: note; margin-top: 8px; font-size: 11px; }
.installment-plan { grid-area: plan; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 12px; margin-top: 12px; }
.installment-plan dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; margin: 0; }
.installment-prices { gap: 7px; }
.installment-plan .installment-schedule { grid-template-columns: repeat(auto-fit, minmax(min(100%, 6rem), 1fr)); gap: 5px; }
.installment-prices > div { min-width: 0; padding: 5px 4px 5px 8px; border-left: 2px solid var(--line); }
.installment-prices > div:last-child { border-color: var(--accent-border); }
.installment-schedule > div { min-width: 0; padding: 8px 6px; border-radius: 7px; background: var(--paper); }
.installment-schedule > div:first-child { background: var(--hover-fill); }
.installment-plan dt { color: var(--muted); font-size: 11px; line-height: 1.2; }
.installment-plan dd { margin: 4px 0 0; font-size: clamp(12px, 1.25vw, 16px); font-weight: 820; line-height: 1.18; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.catalog { margin-top: 26px; scroll-margin-top: var(--header-offset); }
.catalog-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.catalog h2 { margin: 0; font-family: var(--display-font); font-size: clamp(31px, 4vw, 47px); font-weight: 700; line-height: 1; letter-spacing: -.055em; }
.catalog-count { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.sort-field { display: flex; flex: none; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 720; }
.sort-field select { max-width: 220px; color: var(--ink); font-size: 14px; font-weight: 690; }
.model-field { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: var(--ink); font-size: 13px; font-weight: 740; }
.model-field select { width: min(240px, 100%); min-width: 0; height: 38px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-inset); color: var(--ink); font-size: 16px; }
.catalog-layout { display: grid; grid-template-columns: 193px minmax(0, 1fr); align-items: start; gap: 14px; }
.catalog-sidebar { position: sticky; top: var(--header-offset); max-height: calc(100dvh - var(--header-offset) - 14px); overflow: auto; padding: 11px 8px 9px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.category-title { margin: 0 8px 7px; color: var(--muted); font-family: var(--mono-font); font-size: 11px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }
.filters { display: grid; gap: 3px; }
.filter { display: flex; justify-content: space-between; align-items: center; gap: 6px; min-height: 37px; padding: 6px 10px; border: 1px solid transparent; border-radius: 999px; background: none; text-align: left; font-size: 13px; font-weight: 680; line-height: 1.15; transition: background .18s ease, color .18s ease; }
.filter:hover { background: var(--surface-inset); }
.filter:focus-visible { outline-offset: -2px; }
.filter[aria-pressed="true"] { border-color: var(--accent-border); background: var(--accent-soft); color: var(--accent-text); font-weight: 750; }
.filter.filter-promotion { border-color: var(--promo-line); background: var(--promo-bg); color: var(--promo-ink); font-weight: 800; }
.filter.filter-promotion:is(:hover, [aria-pressed="true"]) { border-color: var(--promo-highlight); background: var(--promo-highlight); color: var(--promo-highlight-ink); }
.filter.filter-promotion .filter-count { color: inherit; }
.filter-count { flex: none; color: var(--muted); font-size: 10px; font-weight: 720; font-variant-numeric: tabular-nums; }
.catalog-results { min-width: 0; }
.catalog-status, .empty { margin: 0; padding: 24px 14px; border: 1px dashed var(--line); border-radius: 11px; background: var(--surface); color: var(--muted); text-align: center; }
.catalog-status button { display: flex; margin: 11px auto 0; }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.product { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: 0 2px 6px #0e30500b; transition: border-color .2s ease, box-shadow .2s ease; }
.product:hover, .product:focus-within { border-color: var(--accent-border); box-shadow: 0 6px 15px #0e30501c; }
.product-enter { animation: product-in .36s cubic-bezier(.21, .73, .32, 1) both; }
@keyframes product-in { from { opacity: .9; transform: translateY(7px); } }
.product-media, .detail-media { position: relative; isolation: isolate; display: grid; width: 100%; padding: 0; place-items: center; overflow: hidden; border: 0; background: var(--photo-paper); color: var(--photo-ink); }
.product-media { aspect-ratio: 1.24; border-bottom: 1px solid var(--line); }
.product-media:focus-visible { outline-offset: -3px; }
.product-media img, .detail-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: clamp(8px, 1.22vw, 17px); object-fit: contain; }
.product-media img { transition: transform .25s ease; }
@media (hover: hover) {
  .product-media:hover img { transform: scale(1.045); }
}
:is(.product-media, .detail-media):is(.media-loading, [aria-busy="true"], :has(img.media-loading)) { background: var(--photo-inset); }
:is(.product-media, .detail-media):is(.media-loading, [aria-busy="true"], :has(img.media-loading))::before { content: ""; position: absolute; z-index: -1; inset: 16%; border-radius: 9px; background: var(--photo-skeleton); animation: media-loading 1.3s ease-in-out infinite alternate; }
img.media-loading { opacity: 0; }
@keyframes media-loading { from { opacity: .55; } }
:is(.product-media, .detail-media):is(.media-missing, :has(.media-missing)) { background: var(--photo-inset); color: var(--photo-ink); }
.product-media > svg, .detail-media > svg { width: 42px; height: 42px; stroke-width: 1.05; }
.media-missing { display: grid; justify-items: center; align-content: center; gap: 7px; min-width: 0; padding: 8px; color: var(--photo-ink); text-align: center; font-size: 12px; font-weight: 700; }
.media-missing svg { width: 30px; height: 30px; stroke-width: 1.2; }
:is(.cart-thumb, .photo-selector) .media-missing { padding: 0; }
:is(.cart-thumb, .photo-selector) .media-missing span { display: none; }
:is(.cart-thumb, .photo-selector) .media-missing svg { width: 23px; height: 23px; }
.media-arrow { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 29px; min-height: 29px; padding: 0 6px; border: 1px solid var(--photo-skeleton); border-radius: 8px; background: #fffffff5; color: var(--photo-action); box-shadow: 0 2px 5px #14223816; font-size: 11px; font-weight: 750; white-space: nowrap; }
.media-arrow svg { width: 15px; height: 15px; }
.media-arrow.has-gallery { border-color: #9ccaf5; background: #eaf4ff; }
.product-promo { position: absolute; top: 8px; left: 8px; padding: 4px 7px; border-radius: 999px; background: var(--promo-highlight); color: var(--promo-highlight-ink); font-family: var(--display-font); font-size: 12px; font-weight: 700; line-height: 1.15; }
.product-body { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 0; padding: 11px; }
.product-sku { color: var(--muted); font-family: var(--mono-font); font-size: 10px; font-weight: 650; letter-spacing: .055em; text-transform: uppercase; overflow-wrap: anywhere; }
.product-compatibility { color: var(--accent-text); font-size: 11px; font-weight: 690; line-height: 1.25; overflow-wrap: anywhere; }
.product-body .product-compatibility { display: -webkit-box; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.detail-text .product-compatibility { color: var(--accent-text); }
.product h3 { margin: 0; font-size: clamp(14px, 1.44vw, 19px); font-weight: 790; line-height: 1.18; letter-spacing: -.032em; }
.product-name { padding: 0; border: 0; background: none; text-align: left; font: inherit; overflow-wrap: anywhere; }
.product-name:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.product-card-chip { align-self: flex-start; max-width: 100%; padding: 3px 6px; border-radius: 5px; background: var(--accent-soft); color: var(--accent-text); font-size: 11px; font-weight: 740; line-height: 1.2; overflow-wrap: anywhere; }
.product-bottom { display: grid; gap: 8px; margin-top: auto; padding-top: 4px; }
.price { font-family: var(--display-font); font-size: clamp(17px, 1.85vw, 25px); font-weight: 700; line-height: 1.08; letter-spacing: -.04em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.price.quote-price { font-size: clamp(13px, 1.32vw, 17px); letter-spacing: -.018em; }
.promotion-price { display: grid; min-width: 0; justify-items: start; gap: 4px; }
.promotion-price-current { line-height: 1.06; }
.promotion-reference { color: var(--muted); font-size: 11px; line-height: 1.2; overflow-wrap: anywhere; }
.promotion-reference del { font-weight: 680; }
.promotion-saving { max-width: 100%; padding: 3px 6px; border-radius: 5px; background: var(--promo-bg); color: var(--promo-ink); font-size: 11px; font-weight: 760; line-height: 1.17; overflow-wrap: anywhere; }
.add-button { display: flex; justify-content: space-between; width: 100%; min-height: 44px; padding: 0 10px; border-color: var(--accent-border); border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); box-shadow: none; font-size: 13px; }
.add-button svg { width: 17px; height: 17px; }
.add-button:not(:disabled):hover { border-color: var(--accent-text); background: var(--hover-fill); box-shadow: none; }
.add-button.in-cart { border-color: var(--accent-text); background: var(--hover-fill); }
.add-label { min-width: 0; }
.card-installment { display: inline-flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 38px; width: 100%; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--accent-text); text-align: left; font-size: 12px; font-weight: 710; transition: background-color .18s ease, border-color .18s ease; }
.card-installment:hover { border-color: var(--accent-border); background: var(--accent-soft); }
.card-installment svg { width: 15px; height: 15px; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; padding-block: 18px 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-brand { color: var(--accent-text); font-family: var(--display-font); font-size: 19px; font-weight: 700; letter-spacing: -.025em; }
.footer button { padding: 0; border: 0; background: none; color: var(--accent-text); }
.footer button:hover { text-decoration: underline; text-underline-offset: 3px; }
.mobile-bar { display: none; }

.drawer { position: fixed; inset: 0 0 0 auto; width: min(100%, 490px); max-width: none; height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; border-radius: 18px 0 0 18px; background: var(--paper); color: var(--ink); box-shadow: -10px 0 55px #0a1e4130; }
.drawer[open] { display: flex; flex-direction: column; animation: drawer-in .24s cubic-bezier(.22, .75, .28, 1) both; }
.drawer::backdrop { background: #060a1484; animation: backdrop-in .2s ease-out both; }
@keyframes drawer-in { from { opacity: .82; transform: translateX(38px); } }
@keyframes backdrop-in { from { opacity: 0; } }
.drawer-header { display: flex; align-items: center; gap: 9px; min-height: 65px; padding: max(11px, env(safe-area-inset-top)) 17px 10px; border-bottom: 1px solid var(--line); background: var(--surface); }
.drawer-header h2 { flex: 1; margin: 0; font-family: var(--display-font); font-size: 26px; font-weight: 700; letter-spacing: -.045em; }
.icon-button { display: grid; flex: none; min-width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: var(--accent-soft); color: var(--accent-text); transition: background-color .18s ease, border-color .18s ease; }
.icon-button:not(:disabled):hover { border-color: var(--accent-border); background: var(--hover-fill); }
.drawer-content { flex: 1; overflow: auto; padding: 15px 17px max(20px, env(safe-area-inset-bottom)); }
.detail-media { aspect-ratio: 1.23; border: 1px solid var(--line); border-radius: 12px; }
.detail-media img { padding: clamp(12px, 2.1vw, 22px); }
.detail-gallery { --photo-gap: clamp(6px, 2vw, 10px); display: grid; gap: var(--photo-gap); }
.photo-selector { display: flex; flex-wrap: wrap; gap: var(--photo-gap); }
.photo-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  min-width: 0;
  min-height: 44px;
  padding: 5px 5px 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--surface), var(--surface-inset));
  color: var(--ink);
  text-align: center;
}
.photo-option[aria-pressed="true"] {
  border-color: var(--accent-text);
  background: var(--accent-soft);
  color: var(--accent-text);
  box-shadow: inset 0 0 0 1px var(--accent-text);
}
.photo-option:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.photo-option:active { background: var(--hover-fill); }
@media (hover: hover) {
  .photo-option:hover { border-color: var(--accent-text); background: var(--accent-soft); color: var(--accent-text); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .photo-option { transition: border-color .16s ease, color .16s ease, transform .16s ease; }
  .photo-option:hover { transform: translateY(-1px); }
  .photo-option:active { transform: translateY(0); }
}
.photo-angles .photo-option { flex: 1; max-width: calc((100% - 2 * var(--photo-gap)) / 3); }
.photo-extras .photo-option { width: clamp(62px, 17vw, 72px); }
.photo-thumbnail { position: relative; display: grid; height: 39px; overflow: hidden; place-items: center; border-radius: 7px; background: var(--photo-paper); }
.photo-angles .photo-thumbnail { height: clamp(43px, 13vw, 64px); }
.photo-thumbnail img { width: 100%; height: 100%; min-width: 0; min-height: 0; padding: 3px; object-fit: contain; }
.photo-option[aria-pressed="true"] .photo-thumbnail::before,
.photo-option[aria-pressed="true"] .photo-thumbnail::after { content: ""; position: absolute; pointer-events: none; }
.photo-option[aria-pressed="true"] .photo-thumbnail::before { top: 3px; right: 3px; width: 17px; height: 17px; border: 1px solid var(--photo-paper); border-radius: 50%; background: var(--photo-action); }
.photo-option[aria-pressed="true"] .photo-thumbnail::after { top: 7px; right: 8px; width: 5px; height: 8px; transform: rotate(45deg); border: solid var(--photo-paper); border-width: 0 1.5px 1.5px 0; }
.photo-label, .photo-caption { font-size: 12px; font-weight: 740; line-height: 1.25; }
.photo-label { overflow-wrap: anywhere; }
.photo-caption { justify-self: start; padding: 5px 10px; border: 1px solid var(--accent-border); border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); }
.detail-text { margin-top: 16px; }
.detail-text h3 { margin: 6px 0 9px; font-family: var(--display-font); font-size: 32px; font-weight: 700; line-height: 1.04; letter-spacing: -.045em; overflow-wrap: anywhere; }
.detail-text p { margin: 9px 0 0; color: var(--muted); line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 18px; }
.detail-buy .button { flex: none; }
.detail-installment { margin-top: 9px; }
.cart-list { display: grid; gap: 8px; }
.cart-item { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.cart-thumb { display: grid; width: 54px; height: 54px; place-items: center; overflow: hidden; border-radius: 6px; background: var(--photo-paper); color: var(--photo-ink); }
.cart-thumb img { width: 100%; height: 100%; padding: 3px; object-fit: contain; }
.cart-name { margin: 0 0 3px; font-size: 14px; line-height: 1.18; overflow-wrap: anywhere; }
.cart-item small { color: var(--muted); }
.stepper { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 780; }
.stepper span { min-width: 20px; text-align: center; }
.stepper button { min-width: 40px; height: 44px; }
.stepper svg { width: 16px; height: 16px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 15px 0 12px; font-weight: 760; }
.empty + .button { margin-top: 10px; }
.full-width { width: 100%; }
.checkout { display: grid; gap: 11px; }
.checkout label { display: grid; gap: 5px; font-size: 14px; font-weight: 730; }
.checkout input { display: block; width: 100%; min-height: 46px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 16px; }
.checkout p, .result p, .drawer-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.checkout .cart-total { margin: 2px 0; }
.checkout-actions { display: grid; gap: 9px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.checkout-actions h3 { margin: 0 0 1px; font-size: 17px; letter-spacing: -.026em; }
.checkout-actions button { justify-content: space-between; min-height: 52px; padding-block: 8px; text-align: left; }
.checkout-actions button:disabled { opacity: .68; }
.checkout-actions .checkout-pay:disabled { border-color: var(--line); background: var(--surface-inset); color: var(--muted); }
.checkout .checkout-hint { font-size: 12px; }
.manager-contacts { padding: 9px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.manager-contacts summary { min-height: 24px; padding-block: 3px; font-size: 13px; font-weight: 770; cursor: pointer; }
.manager-contacts .manager-demo { margin: 2px 0 7px; font-size: 12px; }
.manager-contacts dl { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 5px 12px; margin: 0; font-size: 13px; }
.manager-contacts dt { color: var(--muted); }
.manager-contacts dd { margin: 0; font-weight: 730; overflow-wrap: anywhere; }
.error { color: var(--danger) !important; }
.result { display: grid; gap: 10px; margin: 7px 0; }
.result h3 { margin: 0; font-size: 27px; line-height: 1.06; letter-spacing: -.055em; }
.result-icon { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 10px; background: var(--accent); color: var(--accent-text); }
.result-icon svg { width: 24px; height: 24px; }
.resume { margin-bottom: 11px; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 6; max-width: calc(100% - 28px); padding: 11px 14px; border-radius: 8px; background: #142238; color: #eef2f6; font-size: 13px; font-weight: 720; box-shadow: 0 5px 17px #0a1e4137; animation: toast-in .2s ease-out; }
@keyframes toast-in { from { opacity: .7; transform: translateY(5px); } }
.return-card { max-width: 570px; margin: 20px auto; padding: 21px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }

@media (max-width: 1130px) {
  .catalog-layout { grid-template-columns: 173px minmax(0, 1fr); gap: 11px; }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .shell { width: calc(100% - 34px); }
  .header-inner { gap: 8px; }
  .brand-wordmark { width: 124px; }
  .header-cart { padding-inline: 8px; }
  .header-cart > span:first-of-type { display: none; }
  .catalog-layout { grid-template-columns: 145px minmax(0, 1fr); }
  .installment-plan { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  :root { --header-offset: calc(106px + env(safe-area-inset-top)); }
  .shell { width: calc(100% - 24px); }
  .topbar { padding-top: env(safe-area-inset-top); }
  .header-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 5px; min-height: 0; padding: 6px 0 5px; border: 0; background: none; }
  .brand { grid-row: 1; grid-column: 1; }
  .brand-wordmark { width: 120px; }
  .header-catalog { grid-row: 1; grid-column: 2; justify-self: end; width: 40px; min-height: 40px; gap: 0; padding: 0; font-size: 0; }
  .header-catalog span { display: none; }
  .header-admin { grid-row: 1; grid-column: 4; min-height: 40px; padding-inline: 7px; font-size: 12px; }
  .header-cart, .quick-nav { display: none; }
  .header-catalog svg { width: 16px; height: 16px; }
  .search { grid-row: 2; grid-column: 1 / -1; min-height: 42px; }
  .search-entry { padding-inline: 8px 6px; }
  .search-entry input { min-height: 33px; font-size: 16px; }
  .search-entry > svg { width: 17px; height: 17px; }
  .search-submit { padding-inline: 12px; font-size: 13px; }
  .store-banners { gap: 5px; margin-top: 7px; }
  .store-banner { gap: 7px; padding: 8px 9px; border-radius: 9px; }
  .store-banner-title { font-size: 13px; }
  .store-banner-description, .store-banner-action { font-size: 11px; }
  .store-banner-action { padding: 4px 7px; }
  .store-banner-action svg { width: 12px; height: 12px; }
  .editorial-offer {
    grid-template-columns: minmax(0, 1.3fr) minmax(108px, .7fr);
    grid-template-areas: "offer-content offer-photo" "offer-disclosure offer-disclosure";
    gap: 6px 8px;
    margin-top: 9px;
    padding: 10px 11px;
    border-radius: 11px;
  }
  .offer-label { gap: 4px; margin-bottom: 5px; padding: 3px 5px; font-size: 9px; letter-spacing: .04em; }
  .editorial-offer h1 { font-size: clamp(19px, 5.65vw, 33px); line-height: 1.04; }
  .offer-summary { margin-top: 5px; font-size: 11px; line-height: 1.28; }
  .offer-button { min-height: 44px; gap: 5px; margin-top: 8px; padding-inline: 8px; font-size: 12px; }
  .offer-button svg { width: 14px; height: 14px; }
  .offer-visual { height: clamp(105px, 31vw, 155px); border-radius: 8px; }
  .offer-visual img { padding: 6px; }
  .offer-visual figcaption { right: 4px; bottom: 4px; max-width: calc(100% - 8px); padding: 2px 4px; font-size: 9px; }
  .offer-discount { top: 5px; left: 5px; max-width: calc(100% - 10px); padding: 3px 5px; border-radius: 6px; font-size: clamp(15px, 4.45vw, 22px); }
  .offer-discount-label { font-size: 8px; }
  .offer-disclosure { font-size: 10px; }
  .installment {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "model" "plan" "note";
    margin-top: 7px;
    padding: 9px 11px;
    border-radius: 11px;
  }
  .installment h2 { font-size: clamp(19px, 5.3vw, 27px); }
  .installment-intro { margin-top: 3px; font-size: 11px; }
  .installment-field { margin-bottom: 3px; font-size: 12px; }
  .installment-fields { margin-top: 6px; }
  .installment-options { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .installment select, .installment-manual input { height: 34px; font-size: 16px; }
  .installment:not(:has(.installment-plan:not([hidden]))) .installment-note { display: none; }
  .catalog { margin-top: 13px; }
  .catalog-heading { align-items: center; gap: 7px; margin-bottom: 9px; }
  .model-field { justify-content: space-between; gap: 7px; margin-bottom: 8px; font-size: 12px; }
  .model-field select { flex: 0 1 56%; height: 35px; }
  .sort-field, .sort-field select { min-width: 0; font-size: 12px; }
  .sort-field { gap: 5px; }
  .sort-field select { max-width: 127px; height: 36px; padding-inline: 5px; }
  .catalog-layout { display: block; }
  .catalog-sidebar { position: static; max-height: none; margin: 0 -12px 8px; padding: 0 12px 3px; overflow: visible; border: 0; background: none; }
  .category-title { display: none; }
  .filters { display: flex; gap: 5px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: thin; }
  .filter { flex: none; justify-content: center; gap: 5px; min-height: 34px; padding: 0 9px; border-color: var(--line); background: var(--surface); white-space: nowrap; font-size: 12px; }
  .filter[aria-pressed="true"] { border-color: var(--accent-border); }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .product { border-radius: 10px; }
  .product-body { gap: 5px; padding: 8px; }
  .product-media { aspect-ratio: 1.12; }
  .product-media img { padding: 6px; }
  .media-arrow { top: 5px; right: 5px; min-width: 25px; min-height: 25px; padding-inline: 5px; font-size: 10px; }
  .media-arrow svg { width: 13px; height: 13px; }
  .product-promo { top: 5px; left: 5px; font-size: 11px; }
  .add-button { gap: 5px; padding-inline: 8px; font-size: 12px; }
  .card-installment { padding-inline: 8px; }
  .footer { margin-bottom: calc(70px + env(safe-area-inset-bottom)); padding-block: 14px 12px; }
  .mobile-bar { position: fixed; inset: auto 0 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 12px max(6px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fffffffa; box-shadow: 0 -3px 12px #0e305014; }
  .mobile-bar a, .mobile-bar button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 10px; border-radius: var(--control-radius); font-size: 13px; font-weight: 750; }
  .mobile-bar a { border: 1px solid var(--line); background: var(--accent-soft); color: var(--accent-text); }
  .mobile-bar a:hover { border-color: var(--accent-border); background: var(--hover-fill); }
  .mobile-bar button { flex: 1; }
  .mobile-bar svg { width: 17px; height: 17px; }
  .toast { right: 12px; bottom: calc(65px + env(safe-area-inset-bottom)); }
  .drawer { border-radius: 0; }
}
@media (max-width: 500px) {
  .installment-plan dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .installment-schedule > div { padding: 7px 8px; }
}
@media (max-width: 355px) {
  .sort-field > span { display: none; }
  .promotion-reference, .promotion-saving, .product-sku { font-size: 10px; }
}
@media (max-width: 310px) {
  .brand-wordmark { width: 108px; }
  .editorial-offer { grid-template-columns: minmax(0, 1.3fr) minmax(90px, .7fr); }
  .offer-button { padding-inline: 6px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
