/*
 * Auto Parts — design layer (loaded last). The auto parts look is the AUTO LAYER at the end of the file.
 * Colors come from CSS variables printed in index.html ("Color scheme" setting):
 * --as-accent, --as-accent-text, --as-accent-hover, --as-accent-soft, --as-sale, --as-footer, --as-font, --as-page.
 * Mobile breakpoint: 900px (the same as js/waTheme.js).
 */

/* =========================================================== TOKENS */
:where(:root) {
  --as-accent: #4f46e5;
  --as-accent-text: #fff;
  --as-accent-hover: #4338ca;
  --as-accent-soft: #eef0ff;
  --as-sale: #ff5a4e;
  --as-footer: #171a2c;
  --as-page: #f3f5fa;
  --as-card: #ffffff;
  --as-text: #181b2b;
  --as-muted: #6b7185;
  --as-faint: #a2a7b8;
  --as-line: #e6e9f2;
  --as-line-strong: #d5d9e5;
  --as-soft: #f3f5fa;
  --as-ok: #12a150;
  --as-warn: #e8890c;
  --as-star: #ffb020;
  --as-radius: 20px;
  --as-radius-md: 14px;
  --as-radius-sm: 10px;
  --as-pill: 999px;
  --as-shadow: 0 10px 30px rgba(24, 27, 43, .07);
  --as-shadow-strong: 0 22px 50px rgba(24, 27, 43, .16);
  --as-container: 1380px;
  --as-gutter: 24px;
  --as-font: 'Montserrat', "Segoe UI", Arial, sans-serif;
  --as-header-h: 78px;
}

/* =========================================================== BASE */
html.as-theme, html.as-theme body { height: auto; }
html.as-theme body {
  margin: 0;
  font: 400 14px/1.55 var(--as-font);
  color: var(--as-text);
  background: var(--as-page);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
html.as-theme body, html.as-theme input, html.as-theme select, html.as-theme textarea, html.as-theme button { font-family: var(--as-font); }
html.as-theme h1, html.as-theme h2, html.as-theme h3, html.as-theme h4, html.as-theme h5, html.as-theme h6 {
  font-family: var(--as-font); color: var(--as-text); font-weight: 700; line-height: 1.25; letter-spacing: -.01em;
}
html.as-theme a { color: var(--ap-link); text-decoration: none; transition: color .15s; }
html.as-theme a:hover { color: var(--ap-link-hover); }
html.as-theme *, html.as-theme *::before, html.as-theme *::after { box-sizing: border-box; }
html.as-theme img { max-width: 100%; height: auto; }
html.as-theme .as-hero__image, html.as-theme .as-promo__image, html.as-theme .as-card__image img, html.as-theme .as-news-card__image img { height: 100%; }
.as-i { display: inline-block; width: 1.2em; height: 1.2em; flex: none; vertical-align: -0.25em; fill: currentColor; }
.as-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; padding: 0 !important; }
.as-muted { color: var(--as-muted); }
.is-hidden { display: none !important; }
/* the base CSS gives every li a disc: the theme lists have none, text content gets it back */
html.as-theme ul li, html.as-theme ol li { list-style: none; }
html.as-theme .as-text ul > li, html.as-theme .s-user-content ul > li { list-style: disc; }
html.as-theme .as-text ol > li, html.as-theme .s-user-content ol > li { list-style: decimal; }

/* buttons of the theme markup don't inherit the base button look */
:where(.as-header, .as-drawer, .as-home, .as-products, .as-card, .as-toolbar, .as-filters, .as-footer, .as-product, .as-hero,
  .as-section-head, .as-sort, .as-views, .as-anchors, .as-qty, .as-my-tabs, .as-bottom-bar, .as-floating, .as-sidebar, .as-gallery,
  .as-share, .as-stream, .as-more-wrap, .as-sticky-buy, .s-quick-view, .s-alert-banner) button {
  height: auto; width: auto; margin: 0; padding: 0; font: inherit; line-height: inherit; color: inherit;
  background: none; border: 0; border-radius: 0; box-shadow: none; white-space: normal; text-align: inherit; cursor: pointer;
}

.as-container { width: 100%; max-width: calc(var(--as-container) + var(--as-gutter) * 2); margin: 0 auto; padding: 0 var(--as-gutter); }
.as-box { background: var(--as-card); border-radius: var(--as-radius); }

/* =========================================================== CONTROLS */
.as-button,
html.as-theme input[type="submit"].as-button,
html.as-theme .wa-submit input[type="submit"],
html.as-theme .s-button,
html.as-theme input[type="submit"]:not(.as-visually-hidden):not(.as-link),
html.as-theme input[type="button"],
html.as-theme button.wa-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px;
  font: 600 14px/1 var(--as-font);
  color: var(--as-accent-text); background: var(--as-accent);
  border: 0; border-radius: var(--as-pill);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s, transform .1s;
  -webkit-appearance: none; appearance: none;
}
.as-button:hover, html.as-theme input[type="submit"]:not(.as-visually-hidden):hover, html.as-theme input[type="button"]:hover, html.as-theme .s-button:hover {
  color: var(--as-accent-text); background: var(--as-accent-hover); box-shadow: 0 8px 20px color-mix(in srgb, var(--as-accent) 30%, transparent);
}
.as-button:active { transform: translateY(1px); }
.as-button .as-i { width: 18px; height: 18px; }
.as-button.is-big, html.as-theme input.as-button.is-big { height: 52px; font-size: 15px; padding: 0 28px; }
.as-button.is-light, html.as-theme input.as-button.is-light { color: var(--as-text); background: var(--as-soft); }
.as-button.is-light:hover { color: var(--as-text); background: #e8ebf3; box-shadow: none; }
.as-button.is-outline { color: var(--ap-link); background: var(--as-card); box-shadow: inset 0 0 0 1.5px var(--as-accent); }
.as-button.is-outline:hover { color: var(--as-accent-text); background: var(--as-accent); }
html.as-theme a.as-button, html.as-theme a.as-button:hover { color: var(--as-accent-text); }
html.as-theme a.as-button.is-light, html.as-theme a.as-button.is-light:hover { color: var(--as-text); }
html.as-theme a.as-button.is-outline { color: var(--ap-link); }
html.as-theme a.as-button.is-outline:hover { color: var(--as-accent-text); }
html.as-theme input[type="submit"][disabled], html.as-theme input[type="submit"][disabled]:hover, .as-button[disabled] {
  color: var(--as-faint); background: var(--as-soft); box-shadow: none; cursor: default;
}
html.as-theme input[type="submit"].is-added, html.as-theme input[type="submit"].is-added:hover {
  color: var(--as-ok); background: color-mix(in srgb, var(--as-ok) 12%, #fff); box-shadow: none;
}

.as-input,
html.as-theme input[type="text"], html.as-theme input[type="search"], html.as-theme input[type="email"], html.as-theme input[type="tel"],
html.as-theme input[type="password"], html.as-theme input[type="number"], html.as-theme input[type="url"], html.as-theme input[type="date"],
html.as-theme textarea, html.as-theme select {
  height: 44px; padding: 0 14px;
  font: 400 14px/1.3 var(--as-font); color: var(--as-text);
  background: var(--as-card); border: 1.5px solid var(--as-line); border-radius: var(--as-radius-sm);
  outline: none; transition: border-color .15s, box-shadow .15s; max-width: 100%;
}
html.as-theme textarea { height: auto; min-height: 110px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
html.as-theme select {
  padding-right: 36px; -webkit-appearance: none; appearance: none; cursor: pointer;
  background: var(--as-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7185' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.as-input:focus, html.as-theme input[type="text"]:focus, html.as-theme input[type="search"]:focus, html.as-theme input[type="email"]:focus,
html.as-theme input[type="tel"]:focus, html.as-theme input[type="password"]:focus, html.as-theme input[type="number"]:focus,
html.as-theme textarea:focus, html.as-theme select:focus { border-color: var(--as-accent); box-shadow: 0 0 0 4px var(--as-accent-soft); }
html.as-theme ::placeholder { color: var(--as-faint); opacity: 1; }
.as-select.is-dark { color: #fff; background-color: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.as-select.is-dark option { color: var(--as-text); }

.as-check { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; font-size: 13.5px; line-height: 1.35; color: var(--as-text); cursor: pointer; }
.as-check input {
  -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; margin: 0;
  border: 1.5px solid var(--as-line-strong); border-radius: 6px; background: var(--as-card) center / 13px no-repeat;
  transition: border-color .15s, background-color .15s; cursor: pointer;
}
.as-check.is-radio input { border-radius: 50%; }
.as-check input:checked {
  border-color: var(--as-accent); background-color: var(--as-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.6 4.5 4.4L19 7.4'/%3E%3C/svg%3E");
}
.as-check.is-radio input:checked { background-image: radial-gradient(circle, #fff 34%, transparent 38%); background-size: 100%; }
.as-check:hover input { border-color: var(--as-accent); }

.as-qty { display: inline-flex; align-items: center; flex: none; height: 40px; padding: 3px; background: var(--as-soft); border-radius: var(--as-pill); }
.as-qty__btn { display: flex; align-items: center; justify-content: center; width: 34px; height: 100%; color: var(--as-text); background: var(--as-card) !important; border-radius: 50% !important; box-shadow: 0 1px 3px rgba(24,27,43,.08) !important; }
.as-qty__btn:hover { color: var(--ap-link); }
.as-qty__btn .as-i { width: 14px; height: 14px; }
html.as-theme .as-qty__input { width: 36px; height: 100%; padding: 0; text-align: center; border: 0; border-radius: 0; box-shadow: none; background: none; font-weight: 700; }
.as-qty.is-big { height: 52px; padding: 4px; }
.as-qty.is-big .as-qty__btn { width: 44px; }
html.as-theme .as-qty.is-big .as-qty__input { width: 44px; font-size: 16px; }

.as-sticker { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; font: 700 11.5px/1 var(--as-font); color: #fff; background: var(--as-sale); border-radius: var(--as-pill); white-space: nowrap; }
.as-sticker.is-small { height: 20px; padding: 0 8px; font-size: 10.5px; }
html.as-theme .badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--as-pill); font: 700 11.5px/1 var(--as-font); color: #fff; background: var(--as-accent); box-shadow: none; }
html.as-theme .badge span { font: inherit; color: inherit; }
html.as-theme .badge.new { background: #12a150; }
html.as-theme .badge.bestseller { background: #ffb020; color: #3a2600; }
html.as-theme .badge.low-price { background: var(--as-sale); }
html.as-theme .badge::before, html.as-theme .badge::after { display: none; }

.as-stars {
  --as-rating: 0; position: relative; display: inline-block; width: 80px; height: 15px; flex: none; vertical-align: -2px;
  background: linear-gradient(90deg, var(--as-star) calc(var(--as-rating) / 5 * 100%), #dfe2ea calc(var(--as-rating) / 5 * 100%));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='15' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.9 2.8 5.7 6.3.9-4.6 4.4 1.1 6.2L12 17.1l-5.6 3 1.1-6.2-4.6-4.4 6.3-.9z'/%3E%3C/svg%3E") 0 0 / 16px 15px repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='15' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.9 2.8 5.7 6.3.9-4.6 4.4 1.1 6.2L12 17.1l-5.6 3 1.1-6.2-4.6-4.4 6.3-.9z'/%3E%3C/svg%3E") 0 0 / 16px 15px repeat-x;
}
.as-stars.is-large { width: 110px; height: 20px; -webkit-mask-size: 22px 20px; mask-size: 22px 20px; }

.as-price { font-weight: 800; font-size: 19px; color: var(--as-text); white-space: nowrap; letter-spacing: -.01em; }
.as-price.is-sale { color: var(--as-sale); }
.as-price.is-big { font-size: 32px; line-height: 1.1; }
.as-price__from { font-weight: 500; font-size: .75em; color: var(--as-muted); }
.as-price-old { font-size: 13px; color: var(--as-faint); text-decoration: line-through; white-space: nowrap; }
.as-price-saving { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; font-size: 11.5px; font-weight: 700; color: var(--as-sale); background: color-mix(in srgb, var(--as-sale) 12%, #fff); border-radius: var(--as-pill); }

.as-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--as-ok); }
.as-stock .as-i { width: 16px; height: 16px; }
.as-stock.is-low { color: var(--as-warn); }
.as-stock.is-out { color: var(--as-faint); }

.as-swatch { display: inline-block; width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); background: #ddd; }
.as-swatch .icon16, .as-swatch i { display: none; }
.as-color-value { display: inline-flex; align-items: center; gap: 2px; margin-right: 8px; }

.js-dropdown { position: relative; }
.as-dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 60; min-width: 220px; padding: 8px;
  background: var(--as-card); border-radius: var(--as-radius-md); box-shadow: var(--as-shadow-strong);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.js-dropdown.is-open > .as-dropdown, .js-dropdown.is-open .as-dropdown:not(.js-dropdown .js-dropdown .as-dropdown) { opacity: 1; visibility: visible; transform: none; }

.as-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  font-size: 13.5px; font-weight: 600; color: var(--as-text) !important; white-space: nowrap;
  background: var(--as-card); border-radius: var(--as-pill); transition: background .15s, color .15s, box-shadow .15s;
}
.as-chip:hover { color: var(--ap-link) !important; box-shadow: 0 6px 16px rgba(24,27,43,.08); }
.as-chip .as-i { width: 18px; height: 18px; }
.as-chip.is-whatsapp .as-i { color: #25d366; }
.as-chip.is-telegram .as-i { color: #2aa3df; }
.as-chip.is-phone .as-i { color: var(--ap-link); }

.as-tag { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; font-size: 12.5px; color: var(--as-text); background: var(--as-soft); border-radius: var(--as-pill); }
.as-tag:hover { color: var(--ap-link); background: var(--as-accent-soft); }
.as-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.as-link-dashed { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 13px; font-weight: 600; }

/* =========================================================== TOP BAR */
.as-header { position: relative; z-index: 50; }
.as-topbar { font-size: 12.5px; color: var(--as-muted); background: transparent; }
.as-topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 38px; }
.as-topbar__menu { flex: 1 1 auto; min-width: 0; }
.as-topbar__list { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; }
.as-topbar__list li { margin: 0; }
html.as-theme .as-topbar__list a { color: var(--as-muted); }
html.as-theme .as-topbar__list a:hover { color: var(--as-text); }
.as-topbar__contacts { display: flex; align-items: center; gap: 18px; flex: none; white-space: nowrap; }
.as-phones { display: flex; align-items: center; gap: 2px; }
html.as-theme .as-phones__main { font-weight: 700; color: var(--as-text); }
.as-phones__toggle { display: flex; padding: 2px; color: var(--as-muted); }
.as-phones__toggle .as-i { width: 14px; height: 14px; }
.as-phones__drop { left: auto; right: -12px; min-width: 240px; padding: 12px 16px; }
.as-phones__item { display: flex; flex-direction: column; padding: 6px 0; font-size: 12.5px; color: var(--as-muted); white-space: normal; }
html.as-theme .as-phones__item a { font-size: 15px; font-weight: 700; color: var(--as-text); }
.as-phones__item.is-schedule { flex-direction: row; align-items: center; gap: 6px; border-top: 1px solid var(--as-line); margin-top: 4px; padding-top: 10px; }
.as-topbar__address { color: var(--as-muted); max-width: 320px; overflow: hidden; text-overflow: ellipsis; }
html.as-theme .as-topbar__mail { display: inline-flex; align-items: center; gap: 5px; color: var(--as-muted); }
.as-topbar__mail .as-i { width: 15px; height: 15px; }
.as-topbar__messenger { display: inline-flex; margin-left: -10px; }
.as-topbar__messenger:first-of-type { margin-left: 0; }
.as-topbar__messenger .as-i { width: 20px; height: 20px; }
html.as-theme .as-topbar__messenger.is-whatsapp { color: #25d366; }
html.as-theme .as-topbar__messenger.is-telegram { color: #2aa3df; }
html.as-theme .as-topbar__messenger.is-max { color: #6a4cff; }
html.as-theme .as-topbar__callback { font-weight: 600; color: var(--ap-link); }

/* =========================================================== HEADER */
.as-header__main { background: transparent; }
.as-header__inner { position: relative; display: flex; align-items: center; gap: 20px; min-height: var(--as-header-h); padding-top: 4px; padding-bottom: 8px; }
.as-burger { display: none; color: var(--as-text); }
.as-burger .as-i { width: 26px; height: 26px; }

.as-logo { display: flex; align-items: center; gap: 10px; flex: none; min-width: 0; text-decoration: none; }
html.as-theme .as-logo, html.as-theme .as-logo:hover { color: var(--as-text); }
.as-logo__image { display: block; max-height: 48px; width: auto; }
.as-logo__mark {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #fff;
  background: linear-gradient(135deg, var(--as-accent), color-mix(in srgb, var(--as-accent) 55%, var(--as-sale)));
  border-radius: 14px; transform: rotate(-6deg);
}
.as-logo__mark .as-i { width: 24px; height: 24px; transform: rotate(6deg); }
.as-logo__name { font-size: 22px; font-weight: 800; letter-spacing: -.03em; max-width: 220px; line-height: 1.05; }
.as-logo__tip { max-width: 120px; font-size: 11px; line-height: 1.3; color: var(--as-muted); }

/* catalog + search in one capsule */
.as-searchbar {
  position: static; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 6px; height: 56px; padding: 6px;
  background: var(--as-card); border-radius: var(--as-pill); box-shadow: 0 4px 18px rgba(24,27,43,.06);
  transition: box-shadow .15s;
}
.as-searchbar:focus-within { box-shadow: 0 0 0 4px var(--as-accent-soft), 0 4px 18px rgba(24,27,43,.06); }
.as-catalog { position: static; flex: none; height: 100%; }
.as-catalog__button {
  display: inline-flex !important; align-items: center; gap: 10px; height: 100% !important; padding: 0 20px 0 16px !important;
  font-weight: 700; color: var(--as-accent-text) !important; background: var(--as-accent) !important; border-radius: var(--as-pill) !important;
  transition: background .15s; white-space: nowrap !important;
}
.as-catalog__button:hover { background: var(--as-accent-hover) !important; }
.as-catalog__icon { position: relative; display: flex; width: 20px; height: 20px; }
.as-catalog__icon .as-i { position: absolute; inset: 0; width: 20px; height: 20px; transition: opacity .15s, transform .2s; }
.as-catalog__icon .is-close { opacity: 0; transform: rotate(-90deg); }
.as-catalog.is-opened .as-catalog__icon .is-open { opacity: 0; transform: rotate(90deg); }
.as-catalog.is-opened .as-catalog__icon .is-close { opacity: 1; transform: none; }
.as-catalog__mobile-head { display: none; }
.as-catalog__list {
  position: absolute; top: calc(100% + 2px); left: var(--as-gutter); z-index: 70; width: 290px;
  max-height: calc(100vh - 160px); margin: 0; padding: 12px; list-style: none; overflow-y: auto;
  background: var(--as-card); border-radius: var(--as-radius) 0 0 var(--as-radius); box-shadow: var(--as-shadow-strong);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .15s, transform .15s, visibility .15s;
}
.as-catalog.is-opened .as-catalog__list { opacity: 1; visibility: visible; transform: none; overflow: visible; }
.as-catalog__list > li { position: static; margin: 0; }
.as-catalog__list > li > a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; font-size: 14px; font-weight: 500; color: var(--as-text) !important; border-radius: var(--as-radius-sm); }
.as-catalog__list > li.is-hover > a, .as-catalog__list > li > a:hover { color: var(--ap-link) !important; background: var(--as-accent-soft); }
.as-catalog__name { flex: 1 1 auto; }
.as-catalog__arrow { width: 16px; height: 16px; color: var(--as-faint); }
.as-cat-icon { width: 22px; height: 22px; color: var(--ap-link); object-fit: contain; }
img.as-cat-icon { border-radius: 4px; }
.as-catalog__list .s-sub-toggle { display: none; }
.as-catalog__sub {
  position: absolute; top: 0; left: 100%; min-height: 100%; width: 880px; max-width: calc(100vw - 360px); padding: 24px 30px 30px;
  background: var(--as-card); border-radius: 0 var(--as-radius) var(--as-radius) 0; box-shadow: 24px 18px 40px rgba(24,27,43,.12); display: none;
}
.as-catalog__list > li.is-hover > .as-catalog__sub { display: block; }
html.as-theme .as-catalog__sub-title { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 22px; font-weight: 800; color: var(--as-text); }
.as-catalog__sub-title .as-i { width: 18px; height: 18px; color: var(--ap-link); }
.as-catalog__sub .s-sub-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 0; padding: 0; }
.as-catalog__sub .s-sub-item { margin: 0; padding: 14px 16px; background: var(--as-soft); border-radius: var(--as-radius-md); }
html.as-theme .as-catalog__sub .s-sub-header { font-weight: 700; font-size: 14px; color: var(--as-text); }
html.as-theme .as-catalog__sub .s-sub-header:hover { color: var(--ap-link); }
.as-catalog__sub .s-sub-item ul { margin: 6px 0 0; padding: 0; }
.as-catalog__sub .s-sub-item ul li { margin: 0; padding: 2px 0; }
html.as-theme .as-catalog__sub .s-sub-item ul a { font-size: 13px; color: var(--as-muted); }
html.as-theme .as-catalog__sub .s-sub-item ul a:hover { color: var(--ap-link); }
.as-catalog__sub .s-sub-item ul li.is-more a { color: var(--ap-link); }
html.is-catalog-opened body::after { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(24, 27, 43, .3); backdrop-filter: blur(2px); }

.as-search { flex: 1 1 auto; min-width: 0; height: 100%; }
.as-search .search { position: relative; height: 100%; }
.as-search__form { position: relative; display: flex; align-items: center; height: 100%; }
html.as-theme .as-search__input { flex: 1 1 auto; min-width: 0; height: 100%; padding: 0 12px; border: 0; border-radius: 0; box-shadow: none; background: transparent; font-size: 14.5px; }
html.as-theme .as-search__input:focus { box-shadow: none; }
.as-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.as-search__cats { flex: none; height: 100%; display: flex; align-items: center; }
.as-search__cats-toggle { display: flex; align-items: center; gap: 6px; max-width: 190px; height: 100%; padding: 0 14px !important; font-size: 13px !important; font-weight: 600; color: var(--as-muted) !important; background: var(--as-soft) !important; border-radius: var(--as-pill) !important; }
.as-search__cats-toggle span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.as-search__cats-toggle .as-i { width: 14px; height: 14px; }
.as-search__cats-drop { left: auto; right: -50px; max-height: 360px; overflow-y: auto; }
.as-search__cat { display: block; width: 100% !important; padding: 9px 12px !important; font-size: 13.5px !important; text-align: left !important; border-radius: 8px !important; }
.as-search__cat:hover, .as-search__cat.is-active { color: var(--ap-link) !important; background: var(--as-accent-soft) !important; }
.as-search__submit { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; margin-left: 6px !important; color: var(--as-text) !important; background: var(--as-soft) !important; border-radius: 50% !important; transition: background .15s, color .15s; }
.as-search__submit:hover { color: var(--as-accent-text) !important; background: var(--as-accent) !important; }
.as-search__submit .as-i { width: 20px; height: 20px; }
.as-search__result { position: absolute; top: calc(100% + 12px); left: 0; right: 0; z-index: 80; display: none; max-height: 70vh; overflow-y: auto; padding: 8px; background: var(--as-card); border-radius: var(--as-radius-md); box-shadow: var(--as-shadow-strong); }
.as-search__result .search_resultat { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; }
.as-search__result .search_resultat:hover { background: var(--as-soft); }
.as-search__result .search_img img { width: 48px; height: 48px; object-fit: contain; }
.as-search__result .search_title { display: block; font-size: 13.5px; color: var(--as-text); }
.as-search__result .cat-item__price-amount { font-weight: 800; font-size: 14px; }
.as-search__result .autocomplete-suggestion-showall { display: block; padding: 8px; }
.as-search__result .autocomplete-suggestion-showall .s-button { width: 100%; }
.as-search__form.loading::after { content: ""; position: absolute; right: 60px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 2px solid var(--as-accent-soft); border-top-color: var(--as-accent); border-radius: 50%; animation: as-spin .7s linear infinite; }
@keyframes as-spin { to { transform: rotate(360deg); } }

/* round icon buttons */
.as-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.as-action { position: relative; display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--as-text) !important; }
.as-action__icon { position: relative; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: var(--as-card); border-radius: 50%; box-shadow: 0 4px 18px rgba(24,27,43,.06); transition: color .15s, transform .15s; }
.as-action:hover .as-action__icon { color: var(--ap-link); transform: translateY(-1px); }
.as-action.is-active .as-action__icon { color: var(--ap-link); box-shadow: inset 0 0 0 2px var(--as-accent); }
.as-action__icon .as-i { width: 22px; height: 22px; }
.as-action__label { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 3px 8px; font-size: 11px; color: #fff; white-space: nowrap; background: var(--as-text); border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 5; }
.as-action:hover .as-action__label { opacity: 1; }
.as-action__total { display: none; }
.as-action--cart .as-action__icon { color: var(--as-accent-text); background: var(--as-accent); }
.as-action--cart:hover .as-action__icon { color: var(--as-accent-text); background: var(--as-accent-hover); }
.as-action--search { display: none; }
.as-badge { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; font: 700 11px/20px var(--as-font); color: #fff; text-align: center; background: var(--as-sale); border: 2px solid var(--as-page); border-radius: 10px; box-sizing: content-box; }
.as-action.is-empty .as-badge, .as-badge.is-empty { display: none; }

/* category chips */
.as-header__nav { background: transparent; }
.as-nav { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; }
.as-nav__list { position: relative; display: flex; align-items: center; flex: 1 1 auto; min-width: 0; gap: 8px; margin: 0; padding: 0; }
.as-nav__item { flex: none; margin: 0; }
.as-nav__item.is-hidden { display: none; }
.as-nav__link { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px !important; font-size: 13.5px; font-weight: 600; color: var(--as-text) !important; white-space: nowrap; background: var(--as-card) !important; border-radius: var(--as-pill) !important; transition: color .15s, box-shadow .15s; }
.as-nav__link:hover { color: var(--ap-link) !important; box-shadow: 0 6px 16px rgba(24,27,43,.08); }
.as-nav__link .as-cat-icon { width: 18px; height: 18px; }
.as-nav__more .as-nav__link { padding: 0 14px !important; }
.as-nav__more-list { padding: 8px; margin: 0; }
.as-nav__more-list li { margin: 0; }
.as-nav__more-list a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px; color: var(--as-text) !important; font-size: 13.5px; }
.as-nav__more-list a:hover { color: var(--ap-link) !important; background: var(--as-accent-soft); }
.as-nav__promo { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; flex: none; }
.as-nav__promo li { margin: 0; }
.as-nav__link.is-promo { color: var(--ap-link) !important; background: var(--as-accent-soft) !important; }
.as-nav__link.is-promo .as-i { width: 18px; height: 18px; }

/* sticky header */
html.with-sticky-header .as-header__main { position: sticky; top: 0; z-index: 55; transition: background .2s, box-shadow .2s; }
html.with-sticky-header .as-header { position: static; }
html.is-header-scrolled .as-header__main { background: color-mix(in srgb, var(--as-page) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 8px 24px rgba(24,27,43,.06); }

/* =========================================================== DRAWER */
.as-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.as-drawer.is-open { visibility: visible; }
.as-drawer__overlay { position: absolute; inset: 0; background: rgba(24,27,43,.45); opacity: 0; transition: opacity .2s; }
.as-drawer.is-open .as-drawer__overlay { opacity: 1; }
.as-drawer__panel { position: absolute; top: 8px; bottom: 8px; left: 8px; display: flex; flex-direction: column; width: min(360px, 88vw); background: var(--as-card); border-radius: var(--as-radius); transform: translateX(-110%); transition: transform .25s ease; overflow: hidden; }
.as-drawer.is-open .as-drawer__panel { transform: none; }
.as-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
.as-drawer__title { font-size: 20px; font-weight: 800; }
.as-drawer__close { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--as-text); background: var(--as-soft) !important; border-radius: 50% !important; }
.as-drawer__close .as-i { width: 20px; height: 20px; }
.as-drawer__body { flex: 1 1 auto; overflow-y: auto; padding: 0 0 24px; -webkit-overflow-scrolling: touch; }
.as-drawer__section { margin: 0 12px 10px; padding: 8px 12px; background: var(--as-soft); border-radius: var(--as-radius-md); }
.as-drawer__caption { margin: 6px 0 4px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--as-faint); }
.as-drawer__list { margin: 0; padding: 0; }
.as-drawer__list li { position: relative; margin: 0; }
.as-drawer__list a { display: flex; align-items: center; gap: 10px; padding: 9px 36px 9px 0; font-size: 15px; font-weight: 500; color: var(--as-text) !important; }
.as-drawer__list .as-i { width: 20px; height: 20px; color: var(--ap-link); }
.as-drawer__toggle { position: absolute; top: 4px; right: -6px; display: flex; padding: 6px !important; color: var(--as-muted); transition: transform .2s; }
.as-drawer__toggle .as-i { width: 20px; height: 20px; color: inherit; }
.as-drawer__list li.is-open > .as-drawer__toggle { transform: rotate(180deg); }
.as-drawer__sub { display: none; margin: 0 0 6px 32px; padding: 0; }
.as-drawer__list li.is-open > .as-drawer__sub { display: block; }
.as-drawer__sub a { padding: 6px 0; font-size: 14px; color: var(--as-muted) !important; }
.as-drawer__contacts { display: flex; flex-direction: column; gap: 2px; }
.as-drawer__contacts a, .as-drawer__contacts span { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--as-text) !important; }
.as-drawer__contacts .as-i { width: 18px; height: 18px; color: var(--ap-link); }
html.is-drawer-open, html.is-drawer-open body { overflow: hidden; }

/* =========================================================== LAYOUT */
html.as-theme .s-main-wrapper { background: var(--as-page); }
html.as-theme .as-page { min-height: 100vh; display: flex; flex-direction: column; }
html.as-theme .s-main-block.as-container { flex: 1 0 auto; padding-top: 10px; padding-bottom: 56px; }
html.as-theme .as-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; width: 100%; table-layout: auto; height: auto; }
html.as-theme .as-layout.without-sidebar { grid-template-columns: minmax(0, 1fr); }
html.as-theme .as-layout > .s-column { display: block; width: auto; padding: 0; }
.as-content { min-width: 0; }
.as-sidebar { min-width: 0; }
.as-sidebar-toggle { display: none; }

.as-page-title, html.as-theme h1.as-page-title { margin: 0 0 22px; font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.as-page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.as-page-head .as-page-title { margin: 0; }
html.as-theme .as-rss { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; font-size: 13px; font-weight: 600; color: var(--as-text); background: var(--as-card); border-radius: var(--as-pill); }
.as-rss .as-i { width: 16px; height: 16px; color: var(--as-warn); }

.as-breadcrumbs { margin: 4px 0 14px; }
.as-breadcrumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; padding: 0; font-size: 12.5px; }
.as-breadcrumbs__list .s-item { display: inline-flex; align-items: center; margin: 0; color: var(--as-muted); }
html.as-theme .as-breadcrumbs__list a { color: var(--as-muted); }
html.as-theme .as-breadcrumbs__list a:hover { color: var(--ap-link); }
.as-breadcrumbs__sep { width: 12px; height: 12px; margin: 0 8px; color: var(--as-faint); }
.as-breadcrumbs__list .is-current span { color: var(--as-text); font-weight: 500; }

.as-section { margin-top: 44px; }
.as-section:first-child { margin-top: 0; }
.as-section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.as-section-title, html.as-theme h2.as-section-title { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
html.as-theme .as-section-link { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--as-text); background: var(--as-card); border-radius: var(--as-pill); }
html.as-theme .as-section-link:hover { color: var(--ap-link); }
.as-section-link .as-i { width: 16px; height: 16px; }
.as-arrows { display: flex; gap: 8px; margin-left: auto; }
.as-arrow { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--as-text); background: var(--as-card) !important; border-radius: 50% !important; transition: background .15s, color .15s, opacity .15s; }
.as-arrow:hover { color: var(--as-accent-text); background: var(--as-accent) !important; }
.as-arrow[disabled] { opacity: .4; cursor: default; }
.as-arrow[disabled]:hover { color: var(--as-text); background: var(--as-card) !important; }
.as-arrow .as-i { width: 18px; height: 18px; }
.as-products.is-carousel.is-static .as-arrows { visibility: hidden; }

.as-empty { padding: 48px 20px; text-align: center; color: var(--as-muted); background: var(--as-card); border-radius: var(--as-radius); }
.as-empty > .as-i { width: 46px; height: 46px; margin-bottom: 10px; color: var(--as-faint); }
.as-empty p { margin: 0 0 12px; }
.as-empty p:last-child { margin-bottom: 0; }

.as-text, html.as-theme .s-user-content { font-size: 15px; line-height: 1.7; color: #2d3142; }
.as-text > *:first-child { margin-top: 0; }
.as-text > *:last-child { margin-bottom: 0; }
.as-text p, .s-user-content p { margin: 0 0 1em; }
.as-text h2, .s-user-content h2 { margin: 1.6em 0 .6em; font-size: 22px; }
.as-text h3, .s-user-content h3 { margin: 1.4em 0 .5em; font-size: 18px; }
.as-text ul, .as-text ol, .s-user-content ul, .s-user-content ol { margin: 0 0 1em; padding-left: 1.4em; }
.as-text li, .s-user-content li { margin: .3em 0; }
.as-text img, .s-user-content img { border-radius: var(--as-radius-md); }
.as-text table, .s-user-content table { margin: 0 0 1em; border: 1px solid var(--as-line); }
.as-text td, .as-text th, .s-user-content td, .s-user-content th { padding: 8px 12px; border: 1px solid var(--as-line); }
.as-text blockquote, .s-user-content blockquote { margin: 0 0 1em; padding: 14px 20px; border-left: 4px solid var(--as-accent); background: var(--as-accent-soft); border-radius: 0 12px 12px 0; }
/* pages and descriptions sit on a white card */
.s-post-page, .as-category .s-description-section, .s-description-section.as-text, .as-post-page .as-post { padding: 28px 32px; background: var(--as-card); border-radius: var(--as-radius); }
.s-description-section.as-text { margin: 0 0 22px; }
.s-description-section.is-bottom { margin: 28px 0 0; }

/* =========================================================== HERO */
.as-hero { display: flex; flex-direction: column; gap: 16px; }
.as-hero__slider { position: relative; height: var(--as-hero-height, 380px); overflow: hidden; border-radius: var(--as-radius); background: var(--as-card); }
.as-hero__slide {
  --as-slide-bg: var(--as-accent);
  position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s;
}
.as-hero__slide.is-active { opacity: 1; visibility: visible; }
.as-hero__content {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px;
  padding: 40px 48px 64px; color: var(--as-hero-color, #fff); background: var(--as-slide-bg);
}
.as-hero__content::after { content: ""; position: absolute; top: 0; right: -60px; bottom: 0; width: 120px; background: var(--as-slide-bg); border-radius: 0 50% 50% 0 / 0 50% 50% 0; z-index: -1; }
.as-hero__title { font-size: clamp(26px, 3vw, 42px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.as-hero__text { max-width: 440px; font-size: 15.5px; line-height: 1.5; opacity: .88; }
.as-hero__button { position: relative; z-index: 3; margin-top: 8px; height: 52px; padding: 0 28px; font-size: 15px; color: var(--as-text) !important; background: var(--as-card) !important; }
.as-hero__button:hover { box-shadow: 0 10px 24px rgba(0,0,0,.2) !important; }
.as-hero__countdown { padding: 6px 14px; background: rgba(255,255,255,.16); border-radius: var(--as-pill); }
.as-hero__media { position: relative; overflow: hidden; }
.as-hero__image { position: absolute; inset: 0; width: 100%; max-width: none; object-fit: cover; }
.as-hero__cover { position: absolute; inset: 0; z-index: 1; }
/* theme banner without a picture: section icons floating on the accent tint */
.as-hero__art { position: absolute; inset: 0; background:
  radial-gradient(circle at 62% 50%, var(--as-accent-soft) 0 34%, transparent 34.2%),
  radial-gradient(circle at 62% 50%, color-mix(in srgb, var(--as-accent-soft) 55%, transparent) 0 47%, transparent 47.2%),
  var(--as-card); }
.as-hero__bubble {
  position: absolute; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; color: var(--ap-link);
  background: var(--as-card); border-radius: 20px; box-shadow: 0 14px 32px rgba(17, 24, 39, .1); transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  animation: as-float 7s ease-in-out infinite;
}
.as-hero__bubble .as-i { width: 28px; height: 28px; }
.as-hero__bubble.is-main { left: 62%; top: 50%; width: 120px; height: 120px; color: var(--as-accent-text); background: var(--as-accent); border-radius: 34px; box-shadow: 0 22px 48px color-mix(in srgb, var(--as-accent) 38%, transparent); animation: none; }
.as-hero__bubble.is-main .as-i { width: 58px; height: 58px; }
.as-hero__bubble.is-1 { left: 36%; top: 24%; --r: -8deg; }
.as-hero__bubble.is-2 { left: 58%; top: 13%; --r: 6deg; animation-delay: -1s; }
.as-hero__bubble.is-3 { left: 84%; top: 22%; --r: -4deg; animation-delay: -2s; }
.as-hero__bubble.is-4 { left: 90%; top: 55%; --r: 9deg; animation-delay: -3s; }
.as-hero__bubble.is-5 { left: 80%; top: 84%; --r: -6deg; animation-delay: -4s; }
.as-hero__bubble.is-6 { left: 56%; top: 88%; --r: 5deg; animation-delay: -5s; }
.as-hero__bubble.is-7 { left: 32%; top: 76%; --r: -10deg; animation-delay: -6s; }
.as-hero__bubble.is-8 { left: 28%; top: 50%; --r: 4deg; width: 52px; height: 52px; border-radius: 16px; animation-delay: -2.5s; }
@keyframes as-float { 0%, 100% { margin-top: 0; } 50% { margin-top: -10px; } }
@media (prefers-reduced-motion: reduce) { .as-hero__bubble { animation: none; } }
.as-hero__arrow { position: absolute; bottom: 22px; z-index: 4; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: #fff !important; background: rgba(255,255,255,.18) !important; border-radius: 50% !important; }
.as-hero__arrow:hover { background: rgba(255,255,255,.32) !important; }
.as-hero__arrow .as-i { width: 18px; height: 18px; }
.as-hero__arrow.is-prev { left: 48px; }
.as-hero__arrow.is-next { left: 96px; }
.as-hero__dots { position: absolute; left: 152px; bottom: 38px; z-index: 4; display: flex; gap: 6px; }
.as-hero__dot { width: 8px; height: 8px; background: rgba(255,255,255,.45) !important; border-radius: 50% !important; transition: width .2s, background .2s; }
.as-hero__dot.is-active { width: 26px; border-radius: 4px !important; background: var(--as-card) !important; }
.as-hero__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.as-promo {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 42%; align-items: stretch; min-height: 150px; overflow: hidden;
  color: var(--as-text) !important; background: var(--as-card) !important; border-radius: var(--as-radius); transition: box-shadow .2s, transform .2s;
}
.as-promo:hover { box-shadow: var(--as-shadow); transform: translateY(-2px); }
.as-promo__content { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 18px 8px 18px 22px; }
.as-promo__title { font-size: 17px; font-weight: 800; line-height: 1.25; }
.as-promo__text { font-size: 12.5px; color: var(--as-muted); }
.as-promo__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--ap-link); }
.as-promo__more .as-i { width: 14px; height: 14px; transition: transform .15s; }
.as-promo:hover .as-promo__more .as-i { transform: translateX(3px); }
.as-promo__media { position: relative; margin: 10px 10px 10px 0; overflow: hidden; border-radius: var(--as-radius-md); }
.as-promo__image { position: absolute; inset: 0; width: 100%; max-width: none; object-fit: cover; transition: transform .4s; }
.as-promo:hover .as-promo__image { transform: scale(1.05); }

/* =========================================================== ADVANTAGES */
.as-advantages { display: grid; grid-template-columns: repeat(var(--as-adv-count, 5), minmax(0, 1fr)); gap: 12px; margin: 16px 0 0; }
.as-advantage { display: flex; align-items: center; gap: 14px; padding: 16px 18px; color: var(--as-text) !important; background: var(--as-card); border-radius: var(--as-radius-md); }
.as-advantage__icon { display: flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px; color: var(--ap-link); background: var(--as-accent-soft); border-radius: 14px; }
.as-advantage__icon .as-i, .as-advantage__icon img { width: 24px; height: 24px; object-fit: contain; }
.as-advantage__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.as-advantage__title { font-size: 14px; font-weight: 700; line-height: 1.3; }
.as-advantage__desc { font-size: 12px; line-height: 1.4; color: var(--as-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
a.as-advantage:hover .as-advantage__title { color: var(--ap-link); }
.as-advantages.is-product { margin: 32px 0 0; }

/* =========================================================== CATEGORY TILES (colored) */
.as-cat-tiles { display: grid; grid-template-columns: repeat(var(--as-tiles, 5), minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.as-cat-tiles.is-sub { margin-bottom: 22px; }
.as-cat-tile { margin: 0; }
.as-cat-tile:nth-child(6n+1) .as-cat-tile__link { --as-tile: #eef0ff; }
.as-cat-tile:nth-child(6n+2) .as-cat-tile__link { --as-tile: #fff1e8; }
.as-cat-tile:nth-child(6n+3) .as-cat-tile__link { --as-tile: #e9f8f1; }
.as-cat-tile:nth-child(6n+4) .as-cat-tile__link { --as-tile: #fdeef3; }
.as-cat-tile:nth-child(6n+5) .as-cat-tile__link { --as-tile: #fff8dd; }
.as-cat-tile:nth-child(6n+6) .as-cat-tile__link { --as-tile: #e8f5fd; }
.as-cat-tile__link {
  --as-tile: #eef0ff;
  position: relative; display: block; height: 170px; padding: 18px 20px; overflow: hidden;
  color: var(--as-text) !important; background: var(--as-tile); border-radius: var(--as-radius); transition: transform .2s, box-shadow .2s;
}
.as-cat-tile__link:hover { transform: translateY(-3px); box-shadow: var(--as-shadow); }
.as-cat-tile__name { position: relative; z-index: 2; display: block; max-width: 70%; font-size: 16px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.as-cat-tile__image { position: absolute; right: -6px; bottom: -6px; display: flex; align-items: flex-end; justify-content: flex-end; width: 62%; height: 70%; }
.as-cat-tile__image img { max-width: 100%; max-height: 100%; object-fit: cover; border-radius: 16px 0 0 0; transition: transform .3s; mix-blend-mode: multiply; }
.as-cat-tile__link:hover .as-cat-tile__image img { transform: scale(1.06) rotate(-2deg); }
.as-cat-tile__image .as-i { width: 64px; height: 64px; margin: 0 18px 18px 0; color: var(--ap-link); opacity: .5; }
.as-cat-tile__badge { position: absolute; top: auto; left: 20px; bottom: 18px; z-index: 2; }
.as-cat-tiles.is-sub .as-cat-tile__link { height: 130px; }
.as-cat-tiles.is-sub .as-cat-tile__name { font-size: 14.5px; }
.as-content .as-cat-tiles.is-sub { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }

/* =========================================================== PRODUCT LISTS */
.as-products { position: relative; }
.as-products__list { display: grid; gap: 14px; margin: 0; padding: 0; }
.as-products__list.thumbs-view { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.as-products__list.list-view, .as-products__list.table-view { grid-template-columns: minmax(0, 1fr); gap: 10px; }

.as-carousel__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: -14px -14px 0; padding: 14px 14px 6px; }
.as-carousel__viewport::-webkit-scrollbar { display: none; }
.as-products.is-carousel .as-products__list { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 14px * 4) / 5); grid-template-columns: none; }
.with-sidebar .as-products.is-carousel .as-products__list { grid-auto-columns: calc((100% - 14px * 3) / 4); }
.as-products.is-carousel .as-card { scroll-snap-align: start; }

/* card */
.as-card { position: relative; margin: 0; min-width: 0; background: var(--as-card); border-radius: var(--as-radius); transition: box-shadow .2s, transform .2s; }
.as-card__block { position: relative; display: flex; flex-direction: column; height: 100%; padding: 10px 10px 14px; }
.thumbs-view .as-card:hover { box-shadow: var(--as-shadow); transform: translateY(-2px); z-index: 2; }
.as-card__media { position: relative; margin-bottom: 12px; }
.as-card__image { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; overflow: hidden; background: var(--as-soft); border-radius: var(--as-radius-md); }
.as-card__image img { width: 100%; object-fit: cover; transition: transform .3s; }
.thumbs-view .as-card:hover .as-card__image img { transform: scale(1.03); }
.as-card__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 4px; pointer-events: none; }
.as-card__dot { width: 16px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.6); box-shadow: 0 0 2px rgba(0,0,0,.2); }
.as-card__dot.is-active { background: var(--as-card); }
.as-card__badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none; }
.as-card__badge .badge { margin: 0; }
.as-card__badges .as-sticker.is-sale { display: none; }
.as-card__tools { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.as-card__tool { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: var(--as-text) !important; background: rgba(255,255,255,.92); border-radius: 50%; box-shadow: 0 2px 10px rgba(24,27,43,.1); transition: opacity .15s, color .15s; }
.as-card__tool.s-compare-button { opacity: 0; }
.as-card:hover .as-card__tool.s-compare-button, .as-card__tool.s-compare-button.is-active { opacity: 1; }
.as-card__tool:hover, .as-card__tool.is-active { color: var(--ap-link) !important; }
.as-card__tool .as-i { width: 18px; height: 18px; }
.as-card__tool .s-name { display: none; }
.js-favorite-button .as-i.is-on { display: none; }
.js-favorite-button.is-active .as-i.is-on { display: inline-block; color: var(--as-sale); }
.js-favorite-button.is-active .as-i.is-off { display: none; }
.as-card__info { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; padding: 0 4px; }
.as-card__price-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.as-card__price-top .as-price { font-size: 20px; }
.as-card__name { margin: 0; font-size: 13.5px; font-weight: 500; line-height: 1.4; }
html.as-theme .as-card__name a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--as-text); }
html.as-theme .as-card__name a:hover { color: var(--ap-link); }
.as-card__rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--as-muted); }
.as-card__rating .as-stars { width: 13px; height: 12px; background: var(--as-star); -webkit-mask-size: 13px 12px; mask-size: 13px 12px; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.as-card__rating-value { font-weight: 700; color: var(--as-text); }
html.as-theme .as-card__reviews { display: inline-flex; align-items: center; gap: 4px; color: var(--as-muted); }
.as-card__reviews .as-i { display: none; }
.as-card__sku { font-size: 12px; color: var(--as-faint); }
.as-card__features { margin: 0; padding: 0; font-size: 12px; line-height: 1.5; color: var(--as-muted); }
.as-card__features li { margin: 0; }
.as-card__feature-value { color: var(--as-text); }
.as-card__summary { font-size: 12.5px; line-height: 1.45; color: var(--as-muted); }
.as-card__links { display: none; }
.as-card__buy { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; padding: 0 4px; }
.thumbs-view .as-card__prices { display: none; }
.thumbs-view .as-card__features { display: none; }
.as-card__prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.as-card__delivery { display: flex; align-items: flex-start; gap: 6px; font-size: 11.5px; line-height: 1.45; color: var(--as-muted); }
.as-card__delivery > .as-i { width: 15px; height: 15px; margin-top: 1px; color: var(--ap-link); }
.as-card__delivery b, .as-card__delivery strong, .as-buybox__delivery b, .as-buybox__delivery strong { font-weight: 700; color: var(--as-text); }
.as-card__delivery em, .as-buybox__delivery em { font-style: normal; color: var(--as-ok); }
.thumbs-view .as-card__buy .as-stock { display: none; }
.as-card__actions { margin-top: auto; }
.as-card__form { display: flex; align-items: center; gap: 8px; }
html.as-theme .as-card__form .js-add-button { flex: 1 1 auto; min-width: 0; height: 42px; padding: 0 12px; font-size: 13.5px; }
.thumbs-view .as-card__form .as-qty { display: none; }
.as-card__more { width: 100%; height: 42px; font-size: 13.5px; }
.as-card__oneclick { margin-top: 6px; }
.as-card__oneclick button, .as-card__oneclick .clicklite__buttonView { width: 100%; }
.as-card.is-unavailable .as-card__image img { opacity: .55; }
.as-card__form .icon16.loading { display: none; }
.as-card__form:has(.icon16.loading) .js-add-button { opacity: .6; }

/* rows */
.as-products__list.list-view .as-card__block { display: grid; grid-template-columns: 200px minmax(0, 1fr) 250px; gap: 24px; padding: 14px; }
.as-products__list.list-view .as-card__media { margin: 0; }
.as-products__list.list-view .as-card__price-top { display: none; }
.as-products__list.list-view .as-card__name { font-size: 16px; font-weight: 600; }
.as-products__list.list-view .as-card__tools { display: none; }
.as-products__list.list-view .as-card__links { display: flex; gap: 8px; margin-top: 8px; }
html.as-theme .as-card__link { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; font-size: 12.5px; font-weight: 600; color: var(--as-text); background: var(--as-soft); border-radius: var(--as-pill); }
html.as-theme .as-card__link:hover, html.as-theme .as-card__link.is-active { color: var(--ap-link); }
.as-card__link .as-i { width: 15px; height: 15px; }
.as-products__list.list-view .as-card__buy { margin: 0; padding: 16px; align-items: stretch; background: var(--as-soft); border-radius: var(--as-radius-md); }
.as-products__list.list-view .as-price { font-size: 24px; }
.as-products__list.list-view .as-card__form { flex-direction: column; align-items: stretch; }
.as-products__list.list-view .as-qty { display: none; }
.as-products__list.list-view .as-card__features li { display: flex; gap: 6px; }

/* compact */
.as-products__list.table-view .as-card__block { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 10px 14px; }
.as-products__list.table-view .as-card__media { margin: 0; }
.as-products__list.table-view .as-card__price-top,
.as-products__list.table-view .as-card__dots, .as-products__list.table-view .as-card__badges, .as-products__list.table-view .as-card__tools,
.as-products__list.table-view .as-card__features, .as-products__list.table-view .as-card__summary, .as-products__list.table-view .as-card__delivery,
.as-products__list.table-view .as-card__oneclick, .as-products__list.table-view .as-card__rating { display: none; }
.as-products__list.table-view .as-card__info { gap: 2px; }
.as-products__list.table-view .as-card__buy { flex-direction: row; align-items: center; gap: 20px; margin: 0; }
.as-products__list.table-view .as-card__prices { flex-direction: column; align-items: flex-end; gap: 0; min-width: 110px; }
.as-products__list.table-view .as-stock { min-width: 110px; }

/* toolbar */
.as-toolbar { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 8px; background: var(--as-card); border-radius: var(--as-pill); }
.as-toolbar__search { flex: 0 1 280px; }
html.as-theme .as-toolbar__search .as-input { width: 100%; height: 40px; border: 0; background: var(--as-soft); border-radius: var(--as-pill); }
.as-toolbar__sort { display: flex; }
.as-views { display: flex; gap: 2px; margin-left: auto; padding: 3px; background: var(--as-soft); border-radius: var(--as-pill); }
.as-views__btn { display: flex; padding: 7px; color: var(--as-faint) !important; border-radius: 50%; }
.as-views__btn:hover { color: var(--as-text) !important; }
.as-views__btn.is-active { color: var(--ap-link) !important; background: var(--as-card); box-shadow: 0 1px 4px rgba(24,27,43,.1); }
.as-views__btn .as-i { width: 18px; height: 18px; }
.as-sort { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.as-sort__label { color: var(--as-muted); }
.as-sort__toggle { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px !important; font-weight: 600; color: var(--as-text); background: var(--as-soft) !important; border-radius: var(--as-pill) !important; }
.as-sort__toggle .as-i { width: 16px; height: 16px; color: var(--as-muted); }
.as-sort__list { margin: 0; padding: 6px; }
.as-sort__list li { margin: 0; }
.as-sort__list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; color: var(--as-text) !important; border-radius: 8px; }
.as-sort__list a:hover { background: var(--as-soft); }
.as-sort__list li.is-active a { color: var(--ap-link) !important; font-weight: 700; }
.as-sort__list a i { font-style: normal; }

.as-paging { margin-top: 28px; }
.as-paging .s-paging-list, .as-paging ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; }
.as-paging li { margin: 0; }
.as-paging li a, .as-paging li span { display: flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; font-weight: 700; color: var(--as-text) !important; background: var(--as-card); border-radius: 50%; }
.as-paging li a:hover { color: var(--ap-link) !important; }
.as-paging li.selected a { color: var(--as-accent-text) !important; background: var(--as-accent); }
.as-paging li span { background: none; color: var(--as-faint) !important; }
.s-lazyloading-paging { text-align: center; color: var(--as-muted); }
.s-category-wrapper.as-category.is-loading { opacity: .5; pointer-events: none; transition: opacity .2s; }

/* =========================================================== FILTERS */
.as-filters.is-sidebar { margin-bottom: 16px; padding: 8px 18px 18px; background: var(--as-card); border-radius: var(--as-radius); }
.as-filters__head { display: flex; align-items: center; gap: 10px; height: 52px; font-size: 16px; font-weight: 800; color: var(--as-text); }
.as-filters__head .as-i { width: 20px; height: 20px; color: var(--ap-link); }
.as-filter { border-top: 1px solid var(--as-line); }
.as-filter__head { display: flex !important; align-items: center; justify-content: space-between; width: 100% !important; padding: 14px 0 !important; font-size: 14px !important; font-weight: 700 !important; color: var(--as-text) !important; text-align: left !important; }
.as-filter__head .as-i { width: 16px; height: 16px; color: var(--as-muted); transition: transform .2s; }
.as-filter.is-opened .as-filter__head .as-i { transform: rotate(180deg); }
.as-filter__body { display: none; padding: 0 0 14px; }
.as-filter.is-opened .as-filter__body { display: block; }
.as-filter.is-selected .as-filter__head > span::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 6px; vertical-align: middle; background: var(--as-accent); border-radius: 50%; }
.as-range { display: flex; align-items: center; gap: 8px; }
html.as-theme .as-range .as-input { flex: 1 1 0; min-width: 0; height: 40px; text-align: center; background: var(--as-soft); border-color: transparent; }
.as-range__dash { color: var(--as-muted); font-size: 13px; }
.as-range__unit { font-size: 13px; color: var(--as-muted); }
.as-filter .s-range-slider { margin: 18px 8px 4px; }
.as-filter .s-range-slider .r-bar-wrapper { position: relative; height: 4px; background: var(--as-line); border-radius: 2px; }
.as-filter .s-range-slider .r-bar { position: absolute; top: 0; height: 100%; background: var(--as-accent); border-radius: 2px; }
.as-filter .s-range-slider .r-point { position: absolute; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; background: var(--as-card); border: 3px solid var(--as-accent); border-radius: 50%; cursor: grab; box-shadow: 0 2px 6px rgba(24,27,43,.15); }
.as-filter__search { position: relative; margin-bottom: 8px; }
html.as-theme .as-filter__search .as-input { width: 100%; height: 38px; padding-right: 34px; background: var(--as-soft); border-color: transparent; border-radius: var(--as-pill); }
.as-filter__search .as-i { position: absolute; right: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--as-faint); }
.as-filter__options { display: flex; flex-direction: column; }
.as-filter__options.is-scroll { max-height: 210px; overflow-y: auto; padding-right: 4px; }
.as-swatches { display: grid; grid-template-columns: repeat(auto-fill, 30px); gap: 8px; }
.as-swatch-check { position: relative; display: block; width: 30px; height: 30px; cursor: pointer; }
.as-swatch-check input { position: absolute; opacity: 0; }
.as-swatch-check__color { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(0,0,0,.1); background: #ddd; transition: box-shadow .15s; }
.as-swatch-check__color i, .as-swatch-check__color .icon16 { display: none; }
.as-swatch-check:hover .as-swatch-check__color { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--as-line-strong); }
.as-swatch-check input:checked + .as-swatch-check__color { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--as-accent); }
.as-filters__buttons { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.as-filters__buttons .as-button { width: 100%; }
.as-filters.is-top { margin: 0 0 14px; }
.as-filters.is-top form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.as-filters.is-top .as-filters__head { height: 40px; padding: 0 14px; font-size: 13.5px; color: var(--ap-link); background: var(--as-accent-soft); border-radius: var(--as-pill); }
.as-filters.is-top .as-filters__groups { display: contents; }
.as-filters.is-top .as-filter { border: 0; }
.as-filters.is-top .as-filter__head { height: 40px; padding: 0 14px !important; gap: 6px; font-weight: 600 !important; font-size: 13.5px !important; background: var(--as-card) !important; border-radius: var(--as-pill) !important; }
.as-filters.is-top .as-filter.is-selected .as-filter__head { color: var(--ap-link) !important; box-shadow: inset 0 0 0 1.5px var(--as-accent); }
.as-filters.is-top .as-filter__body { display: block; width: 290px; padding: 16px; }
.as-filters.is-top .as-filter.is-open .as-filter__head .as-i { transform: rotate(180deg); }
.as-filters.is-top .as-filters__buttons { flex-direction: row; margin: 0 0 0 auto; }
.as-filters.is-top .as-filters__buttons .as-button { width: auto; height: 40px; }
html.as-theme .s-filters-open { display: none; align-items: center; gap: 8px; height: 44px; margin: 0 0 14px; padding: 0 18px; font-weight: 700; color: var(--ap-link); background: var(--as-card); border: 0; border-radius: var(--as-pill); }
html.as-theme .s-filters-open .s-count:not(.is-empty) { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; font-size: 12px; color: #fff; background: var(--as-accent); border-radius: 10px; }

/* =========================================================== SIDEBAR BLOCKS */
.as-sidebar .s-sidebar-block > * + * { margin-top: 16px; }
.as-side-block { padding: 16px 18px; background: var(--as-card); border-radius: var(--as-radius); }
.as-side-block__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 16px; font-weight: 800; }
.as-side-block__head.is-accent { justify-content: flex-start; color: var(--as-text); }
.as-side-block__head.is-accent .as-i { width: 20px; height: 20px; color: var(--ap-link); }
.as-side-block__head.is-title { margin-bottom: 12px; }
html.as-theme .as-side-block__more { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.as-side-nav { margin: 0 -8px; padding: 0; }
.as-side-nav li { margin: 0; }
.as-side-nav a, html.as-theme .s-nav-wrapper ul.as-side-nav li a { display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 10px; font-size: 14px; font-weight: 500; color: var(--as-text) !important; border-radius: var(--as-radius-sm); }
.as-side-nav a:hover { color: var(--ap-link) !important; background: var(--as-soft); }
.as-side-nav li.is-selected a { font-weight: 700; color: var(--ap-link) !important; background: var(--as-accent-soft); }
.as-side-nav__thumb { width: 32px; height: 32px; object-fit: cover; border-radius: 8px; }
.as-side-nav__icon { flex: none; width: 22px; height: 22px; color: var(--ap-link); }
.as-side-nav__thumb { flex: none; }
.as-side-nav__name { flex: 1 1 auto; min-width: 0; }
.as-side-nav .as-sticker { flex: none; }
.as-side-nav__arrow { flex: none; width: 16px; height: 16px; margin-left: auto; color: var(--as-faint); }
.as-side-nav__count { font-size: 12px; color: var(--as-muted); }
.as-mini-list { margin: 0; padding: 0; }
.as-mini { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.as-mini:last-child { margin-bottom: 0; }
.as-mini__image { flex: none; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--as-soft); border-radius: 12px; }
.as-mini__image img { width: 100%; height: 100%; object-fit: cover; }
.as-mini__info { min-width: 0; }
html.as-theme .as-mini__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.35; color: var(--as-text); }
html.as-theme .as-mini__name:hover { color: var(--ap-link); }
.as-mini__price { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.as-mini__price .as-price { font-size: 15px; }
.as-news-mini { margin: 0; padding: 0; }
.as-news-mini li { margin: 0 0 14px; }
.as-news-mini li:last-child { margin-bottom: 0; }
.as-news-mini__date { font-size: 11.5px; color: var(--as-muted); margin-bottom: 2px; }
html.as-theme .as-news-mini__title { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--as-text); }
html.as-theme .as-news-mini__title:hover { color: var(--ap-link); }
.as-sidebar-banner img { display: block; width: 100%; border-radius: var(--as-radius); }

/* =========================================================== PRODUCT PAGE */
.as-product__main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.as-product__gallery { position: sticky; top: 16px; padding: 18px; background: var(--as-card); border-radius: var(--as-radius); }
html.with-sticky-header .as-product__gallery { top: calc(var(--as-header-h) + 16px); }
.as-product__side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.as-product__title, html.as-theme h1.as-product__title { margin: 0; font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.as-product__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--as-muted); }
.as-product__meta-item { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; color: var(--as-text) !important; background: var(--as-card); border-radius: var(--as-pill); }
a.as-product__meta-item:hover, .as-product__meta-item.is-active { color: var(--ap-link) !important; }
.as-product__meta-item .as-i { width: 16px; height: 16px; color: var(--ap-link); }
.as-product__meta-item .as-stars { width: 70px; height: 13px; -webkit-mask-size: 14px 13px; mask-size: 14px 13px; }
.as-product__brand { color: var(--ap-link); font-weight: 600; }
.as-product__sku { display: inline-flex; align-items: center; height: 34px; padding: 0 4px; color: var(--as-muted); }
.as-product__sku .s-sku { margin-left: 4px; color: var(--as-text); font-weight: 600; }
.as-share button { display: inline-flex; align-items: center; gap: 6px; }
.as-share__drop { min-width: 210px; }
.as-share__drop a, .as-share__drop button { display: flex !important; align-items: center; gap: 10px; width: 100%; padding: 9px 10px !important; font-size: 13.5px; color: var(--as-text) !important; border-radius: 8px !important; }
.as-share__drop a:hover, .as-share__drop button:hover { background: var(--as-soft) !important; }
.as-share__drop .as-i { width: 20px; height: 20px; color: var(--ap-link); }

.as-gallery { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.as-gallery__thumbs { order: 2; display: flex; gap: 8px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.as-gallery__thumbs::-webkit-scrollbar { display: none; }
.as-gallery__thumbs li { margin: 0; }
.as-gallery__thumbs a { position: relative; display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; overflow: hidden; background: var(--as-soft); border-radius: var(--as-radius-md); opacity: .65; transition: opacity .15s, box-shadow .15s; }
.as-gallery__thumbs a:hover { opacity: 1; }
.as-gallery__thumbs a.is-selected { opacity: 1; box-shadow: inset 0 0 0 2px var(--as-accent); }
.as-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.as-gallery__thumbs a.is-video .as-i { position: absolute; width: 24px; height: 24px; color: #fff; background: rgba(0,0,0,.5); border-radius: 50%; }
.as-gallery__main { position: relative; min-width: 0; overflow: hidden; background: var(--as-soft); border-radius: var(--as-radius-md); }
.as-gallery__main #s-photo-main { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; cursor: zoom-in; }
html.as-theme .as-gallery__main #s-photo-main img { width: 100%; height: 100%; object-fit: cover; }
.as-gallery__main .s-video-wrapper iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.as-gallery__badges { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.as-gallery__empty { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: var(--as-soft); border-radius: var(--as-radius-md); }
.as-gallery__empty img { width: 40%; opacity: .5; }

/* buy card */
.as-buycard { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 22px; background: var(--as-card); border-radius: var(--as-radius); }
.as-stocks .as-stock { font-weight: 600; }
.as-stock-item { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; }
.as-stock-item__name { color: var(--as-muted); }
.as-buybox__prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.as-buybox__prices .as-price-old { font-size: 16px; }
.as-buybox__delivery { order: 10; display: block; padding: 12px 14px; font-size: 12.5px; line-height: 1.55; color: var(--as-muted); background: var(--as-soft); border-radius: var(--as-radius-md); }
.as-buybox__actions { display: flex; gap: 10px; }
html.as-theme .as-buybox__actions .js-submit-button { flex: 1 1 auto; min-width: 0; }
.as-buybox__actions .icon16.loading { display: none; }
.as-buybox__oneclick button, .as-buybox__oneclick a, .as-buybox__oneclick .clicklite__buttonView { width: 100%; }
.as-buycard__options:empty { display: none; }
.as-options, .as-skus, .as-services { margin: 0; }
.as-buycard__options > * + * { margin-top: 16px; }
.as-option + .as-option { margin-top: 14px; }
.as-option__label { margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--as-muted); }
.as-option__values { display: flex; flex-wrap: wrap; gap: 8px; }
.as-option__value { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 40px; padding: 0 14px; font-size: 13.5px; font-weight: 600; color: var(--as-text) !important; background: var(--as-soft); border-radius: var(--as-pill); transition: box-shadow .15s, background .15s; }
.as-option__value:hover { box-shadow: inset 0 0 0 1.5px var(--as-line-strong); }
.as-option__value.selected { color: var(--ap-link) !important; background: var(--as-accent-soft); box-shadow: inset 0 0 0 2px var(--as-accent); }
.as-option.is-color .as-option__value { min-width: 0; width: 38px; height: 38px; padding: 4px; border-radius: 50%; background: var(--as-card); box-shadow: inset 0 0 0 1px var(--as-line); }
.as-option.is-color .as-option__value.selected { box-shadow: inset 0 0 0 2px var(--as-accent); }
.as-option__swatch { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(0,0,0,.1); background: #ddd; }
.as-option__swatch i, .as-option__swatch .icon16 { display: none; }
.as-select-wrap .as-select { width: 100%; }
.as-skus .as-option__label { margin-bottom: 8px; }
.as-sku { margin: 0 0 6px; }
.as-sku__label { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--as-soft); border-radius: var(--as-radius-md); cursor: pointer; }
.as-sku__label:has(input:checked) { background: var(--as-accent-soft); box-shadow: inset 0 0 0 2px var(--as-accent); }
.as-sku__label input { accent-color: var(--as-accent); }
.as-sku__name { flex: 1 1 auto; font-size: 13.5px; font-weight: 600; }
.as-sku__price { font-weight: 800; font-size: 14px; white-space: nowrap; }
.as-sku.is-disabled { opacity: .5; }
.as-service { margin: 0 0 4px; }
.as-service .as-select { margin: 4px 0 0 30px; height: 38px; font-size: 13px; }

.as-product__extra { display: flex; flex-direction: column; gap: 12px; }
.as-product__extra > .as-messenger-btn { display: none; }
.as-product__extra:has(.as-messenger-btn) { }
.as-messenger-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px; font-size: 13.5px; font-weight: 600; color: var(--as-text) !important; background: var(--as-card); border-radius: var(--as-pill); transition: box-shadow .15s; }
.as-messenger-btn:hover { box-shadow: 0 6px 16px rgba(24,27,43,.08); }
.as-messenger-btn .as-i { width: 22px; height: 22px; }
.as-messenger-btn.is-whatsapp .as-i { color: #25d366; }
.as-messenger-btn.is-telegram .as-i { color: #2aa3df; }
.as-side-title, html.as-theme h3.as-side-title { margin: 0 0 10px; font-size: 17px; font-weight: 800; }
.as-short-features { margin: 0; padding: 18px 22px; background: var(--as-card); border-radius: var(--as-radius); }
.as-product__extra > .as-side-title { margin: 6px 0 -4px; }
.as-short-features__row, .as-features__row { display: flex; align-items: flex-end; gap: 10px; margin: 0; padding: 5px 0; font-size: 13px; line-height: 1.4; }
.as-short-features__row dt, .as-features__row dt { display: flex; flex: 1 1 50%; min-width: 0; margin: 0; color: var(--as-muted); font-weight: 400; }
.as-short-features__row dt::after, .as-features__row dt::after { content: ""; flex: 1 1 auto; min-width: 12px; margin: 0 0 4px 6px; border-bottom: 1px dotted var(--as-line-strong); }
.as-short-features__row dd, .as-features__row dd { flex: 1 1 50%; min-width: 0; margin: 0; color: var(--as-text); font-weight: 500; }
.as-product__extra > .js-anchor { align-self: flex-start; margin: -4px 0 0 22px; }
.as-product__summary { padding: 16px 20px; font-size: 13.5px; line-height: 1.6; color: #3d4256; background: var(--as-card); border-radius: var(--as-radius); }
.as-product__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.as-delivery-box { padding: 18px 22px; background: var(--as-card); border-radius: var(--as-radius); }
.as-delivery-box__title { margin-bottom: 8px; font-size: 17px; font-weight: 800; }
.as-delivery-box__body { font-size: 13px; line-height: 1.55; color: #3d4256; }
.as-delivery-box__body p { position: relative; margin: 0; padding: 8px 0 8px 22px; border-top: 1px solid var(--as-line); }
.as-delivery-box__body p:first-child { border-top: 0; }
.as-delivery-box__body p::before { content: ""; position: absolute; left: 2px; top: 14px; width: 8px; height: 8px; background: var(--as-accent); border-radius: 50%; }
.as-delivery-box__body a { color: var(--as-ok); font-weight: 600; }
/* messengers in one row */
.as-product__extra { display: grid; grid-template-columns: 1fr 1fr; }
.as-product__extra > * { grid-column: 1 / -1; }
.as-product__extra > .as-messenger-btn { display: inline-flex; grid-column: auto; }

/* anchors + sections */
.as-anchors {
  position: sticky; top: 0; z-index: 30; display: flex; gap: 6px; margin: 32px 0 0; padding: 6px; overflow-x: auto; scrollbar-width: none;
  background: color-mix(in srgb, var(--as-card) 92%, transparent); backdrop-filter: blur(10px); border-radius: var(--as-pill); box-shadow: 0 4px 18px rgba(24,27,43,.06);
}
html.with-sticky-header .as-anchors { top: calc(var(--as-header-h) + 6px); }
.as-anchors::-webkit-scrollbar { display: none; }
.as-anchors__link { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 20px; font-size: 14px; font-weight: 700; color: var(--as-muted) !important; white-space: nowrap; border-radius: var(--as-pill); transition: background .15s, color .15s; }
.as-anchors__link:hover { color: var(--as-text) !important; }
.as-anchors__link.is-active { color: var(--as-accent-text) !important; background: var(--as-accent); }
.as-anchors__link.is-active .as-tabs__count { color: var(--ap-link); background: var(--as-card); }
.as-tabs__count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 20px; padding: 0 6px; font-size: 11.5px; color: var(--ap-link); background: var(--as-accent-soft); border-radius: 10px; }
.as-product__sections { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.as-psection { padding: 28px 32px; background: var(--as-card); border-radius: var(--as-radius); scroll-margin-top: 140px; }
.as-tab-title, html.as-theme h2.as-tab-title { margin: 0 0 18px; font-size: 24px; font-weight: 800; }
.as-features__list { columns: 2 340px; column-gap: 48px; margin: 0; }
.as-features__row { break-inside: avoid; padding: 7px 0; font-size: 13.5px; }
.as-features__divider { break-after: avoid; margin: 18px 0 6px; font-weight: 800; font-size: 15px; }
.as-features__divider:first-child { margin-top: 0; }
.as-product-pages { margin: 0; padding: 0; }
.as-product-pages a { display: flex; align-items: center; justify-content: space-between; max-width: 520px; padding: 12px 0; border-bottom: 1px solid var(--as-line); font-size: 15px; }

.as-reviews__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding: 18px 22px; background: var(--as-soft); border-radius: var(--as-radius-md); }
.as-reviews__summary { display: flex; align-items: center; gap: 14px; }
.as-reviews__score { font-size: 36px; font-weight: 800; line-height: 1; }
.as-reviews__count { color: var(--as-muted); }
.as-reviews__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin: 0; padding: 0; }
.as-reviews__list > li { margin: 0; padding: 18px; background: var(--as-soft); border-radius: var(--as-radius-md); }
.as-reviews__all { margin-top: 16px; }
.as-reviews__empty { color: var(--as-muted); }
.as-review { display: flex; flex-direction: column; gap: 8px; }
.as-review__head { order: -1; display: flex; align-items: center; gap: 12px; }
.as-review__avatar { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--as-accent), color-mix(in srgb, var(--as-accent) 55%, var(--as-sale))); border-radius: 50%; text-transform: uppercase; }
.as-review__who { min-width: 0; }
.as-review__author { font-weight: 700; }
.as-review__date { font-size: 12px; color: var(--as-muted); }
.as-review__rate { margin-left: auto; }
.as-review .s-title { margin: 4px 0 0; font-size: 15px; }
.as-review .s-description { font-size: 14px; line-height: 1.6; color: #2d3142; }
.as-review .s-images-list { display: flex; flex-wrap: wrap; gap: 8px; }
.as-review .s-images-list img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.s-reviews-page .s-rates-wrapper .s-rate-item.svg-icon {
  display: inline-block; width: 28px; height: 28px; margin-right: 2px; background: #dfe2ea; cursor: pointer;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.9 2.8 5.7 6.3.9-4.6 4.4 1.1 6.2L12 17.1l-5.6 3 1.1-6.2-4.6-4.4 6.3-.9z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.9 2.8 5.7 6.3.9-4.6 4.4 1.1 6.2L12 17.1l-5.6 3 1.1-6.2-4.6-4.4 6.3-.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.s-reviews-page .s-rates-wrapper .s-rate-item.svg-icon.star, .s-reviews-page .s-rates-wrapper .s-rate-item.svg-icon.star-hover { background: var(--as-star); }
.as-sticky-buy { display: none; }

/* =========================================================== NEWS */
.as-news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 0; padding: 0; }
.as-home-news .as-news-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.as-news-card { position: relative; display: flex; flex-direction: column; margin: 0; overflow: hidden; background: var(--as-card); border-radius: var(--as-radius); transition: box-shadow .2s, transform .2s; }
.as-news-card:hover { box-shadow: var(--as-shadow); transform: translateY(-2px); }
.as-news-card__image { display: flex; align-items: center; justify-content: center; margin: 10px 10px 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--as-soft); border-radius: var(--as-radius-md); }
.as-news-card__image img { width: 100%; max-width: none; object-fit: cover; transition: transform .4s; }
.as-news-card:hover .as-news-card__image img { transform: scale(1.04); }
.as-news-card__image.is-empty .as-i { width: 40px; height: 40px; color: var(--as-faint); }
.as-news-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 18px 20px; }
.as-news-card__date { align-self: flex-start; padding: 3px 10px; font-size: 11.5px; font-weight: 600; color: var(--ap-link); background: var(--as-accent-soft); border-radius: var(--as-pill); }
html.as-theme .as-news-card__title { font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--as-text); }
html.as-theme .as-news-card__title:hover { color: var(--ap-link); }
.as-news-card__text { font-size: 13px; line-height: 1.5; color: var(--as-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.as-more-wrap { display: flex; justify-content: center; margin-top: 24px; }
.as-more-wrap .as-button .as-i { width: 16px; height: 16px; }
.as-more-wrap .as-button.is-loading { opacity: .6; pointer-events: none; }
.as-search-list { margin: 0; padding: 0; }
.as-search-post { margin-bottom: 10px; padding: 18px 22px; background: var(--as-card); border-radius: var(--as-radius-md); }
html.as-theme .as-search-post__title { display: block; margin: 6px 0; font-size: 18px; font-weight: 700; color: var(--as-text); }
.as-search-post p { margin: 0; color: var(--as-muted); }
.as-search-post .highlighted { background: #fff3b0; }
.as-post-page { max-width: 900px; }
.as-post-page .as-post { padding: 34px 40px; }
.as-post__meta { display: flex; gap: 12px; margin: -10px 0 24px; font-size: 13px; color: var(--as-muted); }
.as-post__back { margin-top: 30px; }
html.as-theme .as-post-page .photo-album-attachment img { border-radius: var(--as-radius-md); }
html.as-theme .comments, html.as-theme .comment-form { max-width: 900px; margin-top: 16px; padding: 26px 32px; background: var(--as-card); border-radius: var(--as-radius); }
html.as-theme .comments ul { padding-left: 0; }
html.as-theme .comments ul ul { padding-left: 28px; }
html.as-theme .comment { padding: 14px 0; border-bottom: 1px solid var(--as-line); }
html.as-theme .comment .credentials { display: flex; align-items: center; gap: 8px; font-size: 13px; }
html.as-theme .comment .username { font-weight: 700; color: var(--as-text); }
html.as-theme .comment .text { margin: 8px 0; }
html.as-theme .comment-form h4 { font-size: 20px; }
html.as-theme .comment-form label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--as-muted); }
html.as-theme .comment-form input[type="text"], html.as-theme .comment-form textarea { width: 100%; }
.as-subpages { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; }

/* =========================================================== HOME */
.as-home-banner img { display: block; width: 100%; border-radius: var(--as-radius); }
.as-about { padding: 30px 34px; background: var(--as-card); border-radius: var(--as-radius); }
.as-about .as-section-title { margin-bottom: 14px; }
.as-about .as-text { max-width: 980px; }
html.as-theme .s-home-reviews { margin-top: 44px; }
html.as-theme .s-home-reviews .s-section-header { margin-bottom: 18px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
html.as-theme .s-home-reviews-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin: 0; padding: 0; }
html.as-theme .s-home-review { position: relative; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 22px 22px 20px; background: var(--as-card); border-radius: var(--as-radius); }
html.as-theme .s-home-review::before { content: "“"; position: absolute; top: 4px; right: 22px; font-size: 72px; font-weight: 800; line-height: 1; color: var(--as-accent-soft); }
html.as-theme .s-home-review-product { display: flex; align-items: center; gap: 12px; color: var(--as-text); font-weight: 600; font-size: 13px; }
html.as-theme .s-home-review-product .s-image { order: -1; flex: none; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--as-soft); border-radius: 12px; }
html.as-theme .s-home-review-product .s-image img { width: 100%; height: 100%; object-fit: cover; }
html.as-theme .s-home-review .index-title { font-weight: 800; }
html.as-theme .s-home-review-text { font-size: 13.5px; line-height: 1.6; color: #3d4256; }
html.as-theme .s-home-review .rewievs-main { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--as-muted); border-top: 1px solid var(--as-line); }

/* =========================================================== PERSONAL AREA */
.as-my-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.as-my-head .as-page-title { margin: 0; }
html.as-theme .as-my-logout { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; font-size: 13.5px; font-weight: 600; color: var(--as-text); background: var(--as-card); border-radius: var(--as-pill); }
.as-my-logout .as-i { width: 18px; height: 18px; }
.as-my-tabs { margin: 0 0 24px; }
.as-my-tabs ul { display: inline-flex; gap: 4px; margin: 0; padding: 5px; background: var(--as-card); border-radius: var(--as-pill); overflow-x: auto; max-width: 100%; }
.as-my-tabs li { margin: 0; }
.as-my-tabs li a, .as-my-tabs li .s-link, .as-my-tabs li > span { display: flex; align-items: center; height: 42px; padding: 0 20px; font-weight: 700; font-size: 14px; color: var(--as-muted) !important; white-space: nowrap; border-radius: var(--as-pill); }
.as-my-tabs li a:hover { color: var(--as-text) !important; }
.as-my-tabs li.is-selected a, .as-my-tabs li.is-selected .s-link, .as-my-tabs li.selected a { color: var(--as-accent-text) !important; background: var(--as-accent); }
.as-my-title, html.as-theme h2.as-my-title { margin: 0 0 16px; font-size: 22px; font-weight: 800; }
.as-orders__table { display: flex; flex-direction: column; gap: 8px; }
.as-orders__row { display: grid; grid-template-columns: 120px 130px minmax(0, 1fr) 120px 130px; align-items: center; gap: 16px; padding: 16px 20px; font-size: 13px; background: var(--as-card); border-radius: var(--as-radius-md); }
.as-orders__row.is-head { padding-top: 0; padding-bottom: 0; font-size: 12px; font-weight: 600; color: var(--as-muted); background: none; }
.as-orders__row > :nth-child(4), .as-orders__row > :nth-child(5) { text-align: right; }
.as-orders__id { font-weight: 800; }
.as-orders__status span { display: inline-flex; padding: 3px 10px; font-weight: 700; background: var(--as-soft); border-radius: var(--as-pill); }
.as-orders__items { color: var(--as-text); }
.as-orders__qty { color: var(--as-muted); }
.as-orders__sum { font-weight: 800; font-size: 14.5px; }
html.as-theme .s-profile-page, html.as-theme .s-order-page, html.as-theme .s-affiliate-page { padding: 24px 28px; background: var(--as-card); border-radius: var(--as-radius); }

/* =========================================================== FOOTER */
.as-footer { margin-top: auto; padding: 0 0 24px; color: var(--as-muted); background: transparent; }
.as-footer .s-footer-block { padding: 34px 40px 26px; background: var(--as-card); border-radius: var(--as-radius); max-width: calc(var(--as-container) + var(--as-gutter) * 2 - var(--as-gutter) * 2); width: calc(100% - var(--as-gutter) * 2); }
.as-footer__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: -10px -16px 30px; padding: 20px 24px; background: var(--as-accent-soft); border-radius: var(--as-radius-md); }
.as-footer__cta-text { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; color: var(--as-muted); }
.as-footer__cta-title { font-size: 18px; font-weight: 800; color: var(--as-text); }
.as-footer__cta-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.as-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.as-footer__brand { display: flex; flex-direction: column; gap: 16px; font-size: 12.5px; }
.as-footer__copyright { line-height: 1.5; }
.as-footer__payments-title { margin-bottom: 8px; }
.as-footer__payments-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.as-footer__payments-list li { display: flex; align-items: center; justify-content: center; width: 52px; height: 32px; margin: 0; padding: 4px; background: var(--as-soft); border-radius: 8px; }
.as-footer__payments-list img { max-width: 100%; max-height: 100%; object-fit: contain; }
.as-footer__currency .as-select { height: 38px; font-size: 13px; }
html.as-theme .as-footer__powered a { color: var(--as-muted); font-size: 12px; }
html.as-theme .as-footer__powered a:hover { color: var(--ap-link); }
.as-footer__powered .s-footer-links { margin-top: 4px; padding: 0; font-size: 12px; line-height: 1.5; text-align: inherit; }
.as-footer__powered .s-footer-links a { color: var(--as-muted); }
.as-footer__title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 15px; font-weight: 800; color: var(--as-text); }
.as-footer__title .as-i { display: none; width: 18px; height: 18px; }
.as-footer__links { margin: 0; padding: 0; }
.as-footer__links li { margin: 0 0 9px; }
html.as-theme .as-footer__links a { font-size: 13.5px; color: var(--as-muted); }
html.as-theme .as-footer__links a:hover { color: var(--ap-link); }
.as-footer__contact { display: flex; gap: 10px; margin-bottom: 12px; font-size: 13px; line-height: 1.45; color: var(--as-text); }
.as-footer__contact > .as-i { width: 18px; height: 18px; margin-top: 1px; color: var(--ap-link); }
.as-footer__contact span { display: block; font-size: 12px; color: var(--as-muted); }
html.as-theme .as-footer__contact a { color: var(--as-text); }
html.as-theme .as-footer__phone { font-size: 15px; font-weight: 800; color: var(--as-text); }
.as-socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.as-socials li { margin: 0; }
.as-socials__link { display: flex; opacity: .95; transition: opacity .15s, transform .15s; }
.as-socials__link:hover { opacity: 1; transform: translateY(-2px); }
.as-socials__link .as-i { width: 34px; height: 34px; }
.as-socials__link.is-vk { color: #0077ff !important; }
.as-socials__link.is-telegram { color: #2aa3df !important; }
.as-socials__link.is-whatsapp { color: #25d366 !important; }
.as-socials__link.is-youtube { color: #ff0033 !important; }
.as-socials__link.is-rutube { color: #1c1c3a !important; }
.as-socials__link.is-dzen { color: var(--as-text) !important; }
.as-socials__link.is-ok { color: #ee8208 !important; }
.as-socials__link.is-instagram { color: #e1306c !important; }
.as-socials__link.is-max { color: #6a4cff !important; }
.as-footer__markets-title { margin: 18px 0 8px; font-size: 12.5px; color: var(--as-muted); }
.as-markets { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.as-markets li { margin: 0; }
.as-markets__link { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; font-size: 12px; font-weight: 800; color: #fff !important; border-radius: var(--as-pill); }
.as-markets__link.is-ozon { background: #005bff; }
.as-markets__link.is-wb { background: #a73afd; }
.as-markets__link.is-ym { background: #ffcc00; color: var(--as-text) !important; }
.as-markets__link.is-avito { background: #00aaff; }
.as-markets__link.is-mm { background: #1c1c1c; }
.as-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 18px; font-size: 12px; color: var(--as-muted); border-top: 1px solid var(--as-line); }
.as-footer__age { padding: 2px 8px; border: 1px solid var(--as-line-strong); border-radius: 6px; font-weight: 800; }
/* dark footer (setting) */
html.with-dark-footer .as-footer .s-footer-block { color: rgba(255,255,255,.7); background: var(--as-footer); }
html.with-dark-footer .as-footer__cta { background: rgba(255,255,255,.07); }
html.with-dark-footer .as-footer__cta-title, html.with-dark-footer .as-footer__title, html.with-dark-footer .as-footer__contact,
html.with-dark-footer .as-footer__contact a, html.with-dark-footer .as-footer__phone, html.with-dark-footer .as-footer .as-logo { color: #fff !important; }
html.with-dark-footer .as-footer__cta-text, html.with-dark-footer .as-footer__links a, html.with-dark-footer .as-footer__powered a,
html.with-dark-footer .as-footer__contact span, html.with-dark-footer .as-footer .as-logo__tip { color: rgba(255,255,255,.65) !important; }
html.with-dark-footer .as-footer__payments-list li { background: var(--as-card); }
html.with-dark-footer .as-footer__bottom { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.55); }

/* =========================================================== BOTTOM BAR, FLOATING, NOTICES */
.as-bottom-bar { display: none; }
.as-floating { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.as-floating .s-floating-button { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; color: #fff !important; border-radius: 50% !important; box-shadow: 0 8px 22px rgba(0,0,0,.18); transition: transform .15s, opacity .2s; }
.as-floating .s-floating-button:hover { transform: translateY(-2px); }
.as-floating .s-floating-button .as-i { width: 26px; height: 26px; }
.as-floating .is-scroll-top { color: var(--as-text) !important; background: var(--as-card) !important; opacity: 0; pointer-events: none; }
.as-floating .is-scroll-top.is-shown { opacity: 1; pointer-events: auto; }
.as-floating .is-scroll-top .as-i { width: 22px; height: 22px; }
.as-floating .is-telegram { background: #2aa3df; color: #2aa3df !important; }
.as-floating .is-whatsapp { background: #25d366; color: #25d366 !important; }
.as-floating .is-telegram .as-i, .as-floating .is-whatsapp .as-i { width: 50px; height: 50px; }
html.as-theme .s-alert-banner { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 48px; font-size: 13.5px; font-weight: 600; text-align: center; }
html.as-theme .s-alert-banner-close { position: absolute; right: 14px; top: 50%; margin-top: -11px; display: flex; color: inherit; opacity: .7; }
.s-alert-banner-close .as-i { width: 22px; height: 22px; }
html.as-theme .s-cookie-notice { position: fixed; left: 20px; bottom: 20px; z-index: 95; display: flex; align-items: center; gap: 16px; max-width: 560px; padding: 16px 18px; font-size: 13px; line-height: 1.45; background: var(--as-card); border-radius: var(--as-radius); box-shadow: var(--as-shadow-strong); }
html.as-theme .s-cookie-notice[hidden] { display: none; }
html.as-theme .s-quick-view-dialog { border-radius: var(--as-radius); background: var(--as-page); }
html.as-theme .s-quick-view-close { display: flex; color: var(--as-muted); }
html.as-theme .s-quick-view-close .as-i { width: 24px; height: 24px; }
html.as-theme .s-quick-view-content .as-anchors, html.as-theme .s-quick-view-content .as-product__sections,
html.as-theme .s-quick-view-content .as-advantages, html.as-theme .s-quick-view-content .as-delivery-box { display: none; }
html.as-theme .s-clone-wrapper { position: absolute; z-index: 999; border-radius: 16px; transition: all .666s ease-in; }

/* =========================================================== AUTH, ERROR, CART, CHECKOUT, COMPARE (base markup) */
html.as-theme .s-auth-page { max-width: 480px; margin: 0 auto; padding: 32px; background: var(--as-card); border-radius: var(--as-radius); }
html.is-auth-page .as-page-title { text-align: center; }
html.as-theme .wa-form .wa-field { margin-bottom: 14px; }
html.as-theme .wa-form .wa-field .wa-name { margin-bottom: 6px; font-size: 13px; color: var(--as-muted); }
html.as-theme .wa-form .wa-value input[type="text"], html.as-theme .wa-form .wa-value input[type="email"],
html.as-theme .wa-form .wa-value input[type="password"], html.as-theme .wa-form .wa-value input[type="tel"] { width: 100%; }
html.as-theme .s-error-page { padding: 60px 20px; text-align: center; background: var(--as-card); border-radius: var(--as-radius); }
html.as-theme .s-error-page .s-error-header { font-size: 34px; margin-bottom: 12px; }
html.as-theme .s-error-page .s-error-text { font-size: 16px; font-weight: 400; color: var(--as-muted); margin-bottom: 26px; }
html.as-theme .s-checkout-order-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
html.as-theme .s-checkout-order-page .s-order-section { padding: 26px; background: var(--as-card); border: 0; border-radius: var(--as-radius); box-shadow: none; }
html.as-theme .s-checkout-order-page .s-order-section + .s-order-section { margin-top: 16px; }
html.as-theme .s-checkout-order-page .s-section-header .s-header { margin: 0 0 16px; font-size: 24px; font-weight: 800; }
html.as-theme .s-checkout-order-page .s-delete-button { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--as-muted); }
html.as-theme .s-checkout-order-page .s-back-link a { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; }
html.as-theme .wa-order-cart-wrapper, html.as-theme .wa-order-form-wrapper { background: transparent !important; border: 0 !important; }
html.as-theme .wa-order-cart-wrapper .wa-cart-body, html.as-theme .wa-order-form-wrapper .wa-step-section { border-color: var(--as-line) !important; }
html.as-theme .wa-order-cart-wrapper .wa-button, html.as-theme .wa-order-form-wrapper .wa-button { border-radius: var(--as-pill); }
html.as-theme .wa-order-form-wrapper .wa-type-wrapper, html.as-theme .wa-order-form-wrapper .wa-variant { border-radius: var(--as-radius-md); }
html.as-theme .s-cart-empty-wrapper { padding: 70px 20px; text-align: center; background: var(--as-card); border-radius: var(--as-radius); }
html.as-theme .s-order-info-blocks { margin-top: 16px; display: grid; gap: 10px; }
html.as-theme .s-order-info-blocks .s-info-block { padding: 16px 18px; text-align: left; background: var(--as-card); border: 0; border-radius: var(--as-radius-md); font-size: 13px; }
html.as-theme .s-order-info-blocks .s-info-header { margin-bottom: 4px; font-size: 14px; font-weight: 800; text-align: left; color: var(--as-text); }
html.as-theme .s-order-info-blocks .s-info-content { color: var(--as-muted); text-align: left; }
/* compare page: product cards in the table head, sticky feature names */
html.as-theme .as-compare { padding: 0; background: none; border-radius: 0; }
.as-compare__scroll { overflow-x: auto; padding-bottom: 12px; background: var(--as-card); border-radius: var(--as-radius); -webkit-overflow-scrolling: touch; }
html.as-theme .as-compare__table { border: 0; width: 100%; min-width: calc(240px + var(--as-compare-cols, 3) * 230px); table-layout: fixed; border-collapse: separate; border-spacing: 0; }
html.as-theme .as-compare__table th, html.as-theme .as-compare__table td { padding: 13px 16px; font-size: 14px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--as-line); }
html.as-theme .as-compare__table thead th, html.as-theme .as-compare__table thead td { padding: 20px 10px 22px; border-bottom: 0; vertical-align: top; }
html.as-theme .as-compare__table thead th.as-compare__aside { padding-left: 20px; }
html.as-theme .as-compare__table tbody tr:nth-child(even) td, html.as-theme .as-compare__table tbody tr:nth-child(even) th { background: var(--as-soft); }
html.as-theme .as-compare__table tbody tr:hover td, html.as-theme .as-compare__table tbody tr:hover th { background: var(--as-accent-soft); }
html.as-theme .as-compare__table tbody tr:last-child td, html.as-theme .as-compare__table tbody tr:last-child th { border-bottom: 0; }
html.as-theme .as-compare__aside { position: sticky; left: 0; z-index: 2; width: 240px; background: var(--as-card); }
html.as-theme .as-compare__table tbody .as-compare__aside { padding-left: 20px; font-weight: 500; color: var(--as-muted); }
html.as-theme .as-compare__table tr.divider th.as-compare__group { padding: 22px 20px 8px; font-size: 15px; font-weight: 800; color: var(--as-text); background: var(--as-card); }
.as-compare__none { color: var(--as-faint); }
html.as-theme .as-compare__table i.icon16.color { display: inline-block; width: 12px; height: 12px; margin: 0 7px 0 0; vertical-align: -1px; font-size: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(17, 24, 39, .18); }

.as-compare__tools { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.as-compare__count { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--as-text); }
.as-compare__count .as-i { width: 20px; height: 20px; color: var(--ap-link); }
.as-compare__filter { display: inline-flex; padding: 4px; background: var(--as-soft); border-radius: var(--as-pill); }
.as-compare__seg { position: relative; margin: 0; cursor: pointer; }
.as-compare__seg input { position: absolute; opacity: 0; pointer-events: none; }
.as-compare__seg span { display: inline-flex; align-items: center; height: 34px; padding: 0 16px; font-size: 13.5px; font-weight: 600; color: var(--as-muted); border-radius: var(--as-pill); transition: background .15s, color .15s, box-shadow .15s; }
.as-compare__seg input:checked + span { color: var(--as-text); background: var(--as-card); box-shadow: 0 2px 8px rgba(17, 24, 39, .08); }
.as-compare__seg input:focus-visible + span { outline: 2px solid var(--as-accent); outline-offset: 1px; }
html.as-theme .as-compare__clear { display: inline-flex; align-items: flex-start; gap: 6px; height: auto; padding: 0; white-space: normal; text-align: left; line-height: 1.35; font: 600 13.5px var(--as-font); color: var(--as-muted); background: none; border: 0; box-shadow: none; cursor: pointer; }
html.as-theme .as-compare__clear:hover { color: var(--as-sale); background: none; box-shadow: none; }
.as-compare__clear .as-i { width: 16px; height: 16px; }

.as-compare__card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 12px; background: var(--as-card); border: 1px solid var(--as-line); border-radius: var(--as-radius); transition: box-shadow .2s, border-color .2s; }
.as-compare__card:hover { border-color: transparent; box-shadow: 0 12px 30px rgba(17, 24, 39, .08); }
.as-compare__card form { display: flex; flex-direction: column; flex: 1 1 auto; gap: 8px; margin: 0; }
.as-compare__remove { position: absolute; top: 18px; right: 18px; z-index: 3; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: var(--as-muted) !important; background: var(--as-card); border-radius: 50%; box-shadow: 0 2px 8px rgba(17, 24, 39, .12); }
.as-compare__remove:hover { color: var(--as-sale) !important; }
.as-compare__remove .as-i { width: 16px; height: 16px; }
.as-compare__image { position: relative; display: block; aspect-ratio: 1; margin-bottom: 4px; overflow: hidden; background: var(--as-soft); border-radius: var(--as-radius-sm); }
html.as-theme .as-compare__image img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.as-compare__badges { position: absolute; top: 8px; left: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.as-compare__badges .s-badge-wrapper { position: static; }
.as-compare__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--as-text) !important; }
.as-compare__name:hover { color: var(--ap-link) !important; }
.as-compare__rating { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--as-muted) !important; }
.as-compare__prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: auto; padding-top: 4px; }
html.as-theme input.as-compare__buy { width: 100%; height: 42px; margin-top: 4px; }
.as-compare__buy.is-added { background: var(--as-ok, #16a34a) !important; }
.as-compare__out { font-size: 12.5px; color: var(--as-faint); text-align: center; }

.as-compare__empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 56px 20px; text-align: center; background: var(--as-card); border-radius: var(--as-radius); }
.as-compare__empty-icon { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; color: var(--ap-link); background: var(--as-accent-soft); border-radius: 22px; }
.as-compare__empty-icon .as-i { width: 34px; height: 34px; }
.as-compare__empty-title { font-size: 20px; font-weight: 800; }
.as-compare__empty p { max-width: 420px; margin: 0 0 8px; color: var(--as-muted); }
html.as-theme .s-reviews-page .s-form-section { padding: 24px; background: var(--as-card); border-radius: var(--as-radius); }

/* =========================================================== RESPONSIVE */
@media (max-width: 1280px) {
  .as-topbar__address { display: none; }
  .as-products.is-carousel .as-products__list { grid-auto-columns: calc((100% - 14px * 3) / 4); }
  .with-sidebar .as-products.is-carousel .as-products__list { grid-auto-columns: calc((100% - 14px * 2) / 3); }
  .as-footer__grid { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; }
  .as-footer__grid > .as-footer__col:nth-child(4) { display: none; }
}
@media (max-width: 1100px) {
  :root { --as-gutter: 18px; }
  .as-header__inner { gap: 14px; }
  .as-logo__tip { display: none; }
  .as-search__cats { display: none; }
  .as-action__icon { width: 46px; height: 46px; }
  html.as-theme .as-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 18px; }
  .as-product__main { grid-template-columns: minmax(0, 1fr); }
  .as-cat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .as-products__list.list-view .as-card__block { grid-template-columns: 160px minmax(0, 1fr) 220px; }
  .as-home-news .as-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .as-home-news .as-news-card:nth-child(n+4) { display: none; }
  .as-hero__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .as-advantages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .as-hero__row .as-promo:nth-child(3) { display: none; }
}

@media (max-width: 900px) {
  :root { --as-gutter: 14px; --as-header-h: 60px; --as-radius: 18px; }
  .as-topbar, .as-header__nav, .as-catalog { display: none !important; }
  .as-header__inner { flex-wrap: wrap; gap: 10px 10px; min-height: 60px; padding-top: 10px; padding-bottom: 10px; }
  .as-burger { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--as-card) !important; border-radius: 50% !important; }
  .as-burger .as-i { width: 22px; height: 22px; }
  .as-logo { flex: 1 1 auto; }
  .as-logo__mark { width: 38px; height: 38px; border-radius: 12px; }
  .as-logo__mark .as-i { width: 20px; height: 20px; }
  .as-logo__name { font-size: 19px; }
  .as-logo__image { max-height: 38px; }
  .as-searchbar { order: 5; flex: 1 1 100%; height: 50px; padding: 4px 4px 4px 8px; }
  .as-search__submit { width: 42px; height: 42px; }
  .as-actions { gap: 6px; }
  .as-action__icon { width: 44px; height: 44px; }
  .as-action__label { display: none; }
  .as-action--user, .as-action--compare { display: none; }
  html.with-sticky-header .as-header__main { position: relative; }
  html.as-theme .as-layout, html.as-theme .as-layout.with-sidebar { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .as-sidebar { order: 2; margin-top: 24px; }
  .as-sidebar.is-empty-on-mobile { display: none; }
  html.as-theme .s-filters-open { display: inline-flex; }
  .as-page-title, html.as-theme h1.as-page-title { font-size: 24px; margin-bottom: 14px; }
  .as-section { margin-top: 32px; }
  .as-section-title, html.as-theme h2.as-section-title { font-size: 21px; }
  html.as-theme .s-main-block.as-container { padding-top: 4px; padding-bottom: 36px; }

  .as-hero__slider { height: auto; min-height: 0; aspect-ratio: auto; }
  .as-hero__slide { position: relative; display: none; grid-template-columns: minmax(0, 1fr); }
  .as-hero__slide.is-active { display: flex; flex-direction: column-reverse; }
  .as-hero__media { height: 200px; }
  html.as-theme .as-compare__table { min-width: calc(132px + var(--as-compare-cols, 3) * 168px); }
  html.as-theme .as-compare__aside { width: 132px; }
  html.as-theme .as-compare__table th, html.as-theme .as-compare__table td { padding: 11px 10px; font-size: 13px; }
  html.as-theme .as-compare__table thead th.as-compare__aside, html.as-theme .as-compare__table tbody .as-compare__aside { padding-left: 12px; }
  .as-compare__seg span { height: 30px; padding: 0 10px; font-size: 12.5px; }
  .as-compare__count { font-size: 13.5px; }
  .as-compare__card { padding: 8px; }
  .as-compare__remove { top: 12px; right: 12px; width: 28px; height: 28px; }
  .as-hero__bubble { width: 44px; height: 44px; border-radius: 14px; }
  .as-hero__bubble .as-i { width: 20px; height: 20px; }
  .as-hero__bubble.is-main { left: 50%; width: 76px; height: 76px; border-radius: 22px; }
  .as-hero__bubble.is-main .as-i { width: 38px; height: 38px; }
  .as-hero__bubble.is-1 { left: 14%; } .as-hero__bubble.is-7 { left: 12%; } .as-hero__bubble.is-8 { display: none; }
  .as-hero__art { background: radial-gradient(circle at 50% 50%, var(--as-accent-soft) 0 32%, transparent 32.2%), var(--as-card); }
  .as-hero__content { padding: 22px 22px 66px; gap: 10px; }
  .as-hero__content::after { display: none; }
  .as-hero__text { display: none; }
  .as-hero__button { height: 44px; padding: 0 20px; font-size: 14px; }
  .as-hero__arrow { display: none !important; }
  .as-hero__dots { left: 22px; bottom: 26px; }
  .as-hero__row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .as-hero__row::-webkit-scrollbar { display: none; }
  .as-hero__row .as-promo:nth-child(3) { display: grid; }
  .as-promo { scroll-snap-align: start; min-height: 120px; }
  .as-advantages { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .as-advantages::-webkit-scrollbar { display: none; }
  .as-advantage { flex: 0 0 78%; scroll-snap-align: start; }
  .as-cat-tiles, .as-content .as-cat-tiles.is-sub { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .as-cat-tile__link, .as-cat-tiles.is-sub .as-cat-tile__link { height: 130px; padding: 14px; }
  .as-cat-tile__name { font-size: 14px; }

  .as-products__list.thumbs-view { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .as-products.is-carousel .as-products__list, .with-sidebar .as-products.is-carousel .as-products__list { grid-auto-columns: calc((100% - 8px) / 2.15); gap: 8px; }
  .as-card__block { padding: 6px 6px 12px; }
  .as-card__tool { width: 32px; height: 32px; }
  .as-card__tool .as-i { width: 16px; height: 16px; }
  .as-card__price-top .as-price { font-size: 17px; }
  .as-card__name { font-size: 12.5px; }
  .as-card__delivery { display: none; }
  html.as-theme .as-card__form .js-add-button { height: 38px; font-size: 13px; }
  .as-arrows { display: none; }
  .as-carousel__viewport { margin: -14px calc(var(--as-gutter) * -1) 0; padding: 14px var(--as-gutter) 6px; scroll-padding: 0 var(--as-gutter); }
  .as-products__list.list-view { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .as-products__list.list-view .as-card__block { display: flex; padding: 6px 6px 12px; }
  .as-products__list.list-view .as-card__price-top { display: flex; }
  .as-products__list.list-view .as-card__prices, .as-products__list.list-view .as-card__links, .as-products__list.list-view .as-card__features { display: none; }
  .as-products__list.list-view .as-card__buy { padding: 0 4px; background: none; }
  .as-products__list.table-view .as-card__block { grid-template-columns: 52px minmax(0, 1fr); }
  .as-products__list.table-view .as-card__buy { grid-column: 2; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
  .as-products__list.table-view .as-card__prices { align-items: flex-start; min-width: 0; }
  .as-products__list.table-view .as-stock { display: none; }
  .as-toolbar { flex-wrap: wrap; gap: 8px; border-radius: var(--as-radius); }
  .as-toolbar__search { flex: 1 1 100%; }
  .as-sort__label { display: none; }
  .as-filters.is-top form { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .as-filters.is-top .as-filter__body { position: fixed; left: 14px; right: 14px; top: auto; bottom: 14px; width: auto; }

  .as-product__gallery { position: static; padding: 10px; }
  .as-product__title, html.as-theme h1.as-product__title { font-size: 21px; }
  .as-buycard { padding: 18px; }
  .as-anchors { top: 0 !important; margin-top: 20px; }
  .as-anchors__link { height: 38px; padding: 0 14px; font-size: 13px; }
  .as-psection { padding: 20px 18px; }
  .as-features__list { columns: 1; }
  .as-reviews__list { grid-template-columns: minmax(0, 1fr); }
  .as-short-features__row dt, .as-features__row dt { flex-basis: 55%; }
  .as-gallery__thumbs a { width: 60px; height: 60px; }

  .as-sticky-buy { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 85; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; background: var(--as-card); border-radius: var(--as-pill); box-shadow: 0 10px 30px rgba(24,27,43,.18); transform: translateY(140%); transition: transform .25s; }
  .as-sticky-buy.is-visible { transform: none; }
  .as-sticky-buy .s-sticky-buy-info { flex: 1 1 auto; min-width: 0; }
  .as-sticky-buy .s-sticky-buy-name { font-size: 11.5px; color: var(--as-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .as-sticky-buy .s-sticky-buy-price { font-size: 17px; font-weight: 800; }
  .as-sticky-buy .as-button { flex: none; color: var(--as-accent-text) !important; background: var(--as-accent) !important; border-radius: var(--as-pill) !important; padding: 0 22px !important; height: 46px !important; }
  body.with-bottom-bar .as-sticky-buy { bottom: calc(76px + env(safe-area-inset-bottom)); }

  .as-bottom-bar { position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 90; display: flex; padding: 4px; background: var(--as-card); border-radius: var(--as-pill); box-shadow: 0 10px 30px rgba(24,27,43,.16); }
  .as-bottom-bar .s-bottom-bar-item { position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; height: 54px; font-size: 10px; font-weight: 600; color: var(--as-muted) !important; border-radius: var(--as-pill); }
  .as-bottom-bar .s-bottom-bar-item .as-i { width: 22px; height: 22px; }
  .as-bottom-bar .s-bottom-bar-item.is-active { color: var(--ap-link) !important; background: var(--as-accent-soft); }
  .as-bottom-bar .s-badge { position: absolute; top: 4px; left: 50%; margin-left: 4px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center; color: #fff; background: var(--as-sale); border-radius: 9px; }
  .as-bottom-bar .s-badge.is-empty { display: none; }
  body.with-bottom-bar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.with-bottom-bar .as-floating { bottom: calc(84px + env(safe-area-inset-bottom)); }
  body.with-bottom-bar .as-action--cart, body.with-bottom-bar .as-action--favorites { display: none; }

  .as-footer .s-footer-block { padding: 22px 18px; }
  .as-footer__cta { margin: 0 0 20px; padding: 16px; }
  .as-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .as-footer__grid > .as-footer__col:nth-child(4) { display: block; }
  .as-footer__brand { padding-bottom: 18px; border-bottom: 1px solid var(--as-line); }
  .as-footer__col { padding: 14px 0; border-bottom: 1px solid var(--as-line); }
  html.with-dark-footer .as-footer__col, html.with-dark-footer .as-footer__brand { border-color: rgba(255,255,255,.12); }
  .as-footer__col .as-footer__title { margin: 0; cursor: pointer; }
  .as-footer__col .as-footer__title .as-i { display: block; transition: transform .2s; }
  .as-footer__col .as-footer__links { display: none; margin-top: 12px; }
  .as-footer__col.is-open .as-footer__links { display: block; }
  .as-footer__col.is-open .as-footer__title .as-i { transform: rotate(180deg); }
  .as-footer__contacts { border-bottom: 0; }
  .as-footer__contacts .as-footer__title { margin-bottom: 12px; cursor: default; }

  .as-orders__row, .as-orders__row.is-head { grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  .as-orders__row.is-head { display: none; }
  .as-orders__items { grid-column: 1 / -1; }
  .as-orders__row > :nth-child(4) { text-align: left; }
  html.as-theme .s-checkout-order-page { grid-template-columns: minmax(0, 1fr); }
  html.as-theme .s-checkout-order-page .s-order-section { padding: 16px; }
  .as-home-news .as-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .as-home-news .as-news-card:nth-child(n+3) { display: none; }
  html.as-theme .s-cookie-notice { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; }
  body.with-bottom-bar .s-cookie-notice { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .s-post-page, .as-category .s-description-section, .s-description-section.as-text, .as-post-page .as-post, .as-about { padding: 20px 18px; }
}

@media (max-width: 600px) {
  .as-news-grid, .as-home-news .as-news-grid { grid-template-columns: minmax(0, 1fr); }
  .as-home-news .as-news-card:nth-child(n+2) { display: flex; }
  .as-home-news .as-news-card:nth-child(n+4) { display: none; }
  .as-hero__title { font-size: 22px; }
  .as-logo__name { max-width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  .as-hero__slide, .as-card, .as-cat-tile__link, .as-news-card, .as-drawer__panel, .as-promo { transition: none !important; }
}


/* ===========================================================================================
 * AUTO LAYER — the auto parts look on top of the shared markup:
 * carbon dark header, wide "tech" headings (Unbounded), the first screen with the parts finder,
 * catalog by car systems, car makes, steps, service banner, part numbers with a copy button, fitment on the product page.
 * Switches: html.sp-head-tech|caps|plain ("Headings"), html.sp-corners-sharp|soft|round ("Corners"),
 * html.with-dark-header ("Header color"), html.with-dark-footer ("Footer color").
 * New markup uses the ap-* prefix.
 * =========================================================================================== */

/* wide heading face: Unbounded (variable 200–900), SIL Open Font License 1.1 */
@font-face { font-family: 'APHead'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url('fonts/unbounded/unbounded-cyrillic-wght.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'APHead'; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url('fonts/unbounded/unbounded-latin-wght.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; }

:where(:root) {
  --as-page: #eef0f3;
  --as-text: #111318;
  --as-muted: #626875;
  --as-faint: #9da3ae;
  --as-line: #e2e5ea;
  --as-line-strong: #cfd3da;
  --as-soft: #f3f4f7;
  --as-ok: #11a35a;
  --as-shadow: 0 1px 2px rgba(17,19,24,.04), 0 10px 28px rgba(17,19,24,.06);
  --as-shadow-strong: 0 24px 60px rgba(17,19,24,.18);
  --ap-head: 'APHead', var(--as-font);
  --ap-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --ap-dark: var(--as-footer);
  /* text links: the accent, or a dark tone for light accents (yellow, lime) — 7th value of the palette in index.html */
  --ap-link: var(--as-accent);
  --ap-link-hover: color-mix(in srgb, var(--ap-link) 75%, #000);
  --ap-dark-2: color-mix(in srgb, var(--as-footer) 88%, #fff);
}
html.sp-corners-sharp { --as-radius: 6px; --as-radius-md: 5px; --as-radius-sm: 4px; --as-pill: 6px; }
html.sp-corners-soft { --as-radius: 18px; --as-radius-md: 13px; --as-radius-sm: 9px; --as-pill: 12px; }
html.sp-corners-round { --as-radius: 26px; --as-radius-md: 18px; --as-radius-sm: 12px; --as-pill: 999px; }

/* dark areas keep the bright accent for links and icons */
html.with-dark-header .as-header, html.with-dark-footer .as-footer, .ap-hero__stage, .ap-service, .ap-fit__vin, .as-hero__slide.is-theme {
  --ap-link: var(--as-accent); --ap-link-hover: color-mix(in srgb, var(--as-accent) 80%, #fff);
}

/* ---------------------------------------------------------------- headings */
html.sp-head-tech h1, html.sp-head-tech h2, html.sp-head-tech .as-section-title, html.sp-head-tech .as-page-title,
html.sp-head-tech .as-hero__title, html.sp-head-tech .ap-hero__title, html.sp-head-tech .ap-service__title, html.sp-head-tech .as-promo__title,
html.sp-head-tech .as-catalog__sub-title, html.sp-head-tech .as-footer__cta-title, html.sp-head-tech .as-logo__name, html.sp-head-tech .as-brands__item,
html.sp-head-tech .ap-make__mono, html.sp-head-tech .ap-step__num, html.sp-head-tech .ap-finder__title, html.sp-head-tech .ap-hero__stats b {
  font-family: var(--ap-head); font-weight: 700; letter-spacing: -.025em;
}
html.sp-head-caps h1, html.sp-head-caps h2, html.sp-head-caps .as-section-title, html.sp-head-caps .as-page-title,
html.sp-head-caps .as-hero__title, html.sp-head-caps .ap-hero__title, html.sp-head-caps .ap-service__title, html.sp-head-caps .as-logo__name {
  font-weight: 800; text-transform: uppercase; letter-spacing: .01em;
}
.as-section-head { position: relative; }
.as-section-title, html.as-theme h2.as-section-title { display: inline-flex; align-items: center; gap: 12px; font-size: 26px; }
html.sp-head-tech .as-section-title, html.sp-head-tech h2.as-section-title { font-size: 24px; }
.as-section-title::before {
  content: ""; width: 10px; height: 10px; flex: none; background: var(--as-accent); border-radius: 3px; transform: rotate(45deg);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--as-accent) 22%, transparent);
}
html.as-theme .as-section-link { font-weight: 700; color: var(--as-text); }
html.as-theme .as-section-link:hover { color: var(--as-text); text-decoration: underline; text-decoration-color: var(--as-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
html.sp-head-tech .as-product__title { font-family: var(--ap-head); font-weight: 600; letter-spacing: -.02em; font-size: clamp(20px, 2vw, 28px); line-height: 1.2; }

/* ---------------------------------------------------------------- buttons */
.as-button, html.as-theme input[type="submit"]:not(.as-visually-hidden):not(.as-link), html.as-theme .s-button, html.as-theme input[type="button"] {
  font-weight: 800; letter-spacing: .005em;
}
.as-button .as-i { transition: transform .2s; }
.as-button:hover .as-i:last-child { transform: translateX(3px); }

/* ---------------------------------------------------------------- logo */
.as-logo__mark {
  position: relative; width: 44px; height: 44px; border-radius: var(--as-radius-sm);
  background: var(--as-accent); color: var(--as-accent-text);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.14);
}
.as-logo__mark .as-i { width: 26px; height: 26px; }
.as-logo__name { font-size: 22px; letter-spacing: -.03em; }

/* ---------------------------------------------------------------- dark header: carbon */
html.with-dark-header .as-header {
  color: rgba(255,255,255,.75);
  background:
    radial-gradient(900px 220px at 85% -60px, color-mix(in srgb, var(--as-accent) 16%, transparent), transparent 70%),
    linear-gradient(180deg, var(--as-footer), color-mix(in srgb, var(--as-footer) 94%, #fff));
}
html.with-dark-header .as-topbar { color: rgba(255,255,255,.6); border-bottom: 1px solid rgba(255,255,255,.07); }
html.with-dark-header.as-theme .as-topbar__list a, html.with-dark-header.as-theme .as-topbar__mail, html.with-dark-header .as-topbar__address,
html.with-dark-header .as-phones__toggle { color: rgba(255,255,255,.62); }
html.with-dark-header.as-theme .as-topbar__list a:hover { color: #fff; }
html.with-dark-header.as-theme .as-phones__main { color: #fff; }
html.with-dark-header.as-theme .as-phones__drop .as-phones__item a { color: var(--as-text); }
html.with-dark-header .as-header__main { background: transparent; }
html.with-dark-header.as-theme .as-logo, html.with-dark-header.as-theme .as-logo:hover { color: #fff; }
html.with-dark-header .as-logo__tip { color: rgba(255,255,255,.5); }
html.with-dark-header .as-searchbar { box-shadow: none; }
html.with-dark-header .as-action { color: #fff !important; }
html.with-dark-header .as-action__icon { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
html.with-dark-header .as-action:hover .as-action__icon { color: var(--as-accent); background: rgba(255,255,255,.12); }
html.with-dark-header .as-action--cart .as-action__icon { color: var(--as-accent-text); background: var(--as-accent); box-shadow: none; }
html.with-dark-header .as-badge { border-color: var(--as-footer); }
html.with-dark-header .as-header__nav { background: transparent; }
html.with-dark-header .as-nav { padding-bottom: 14px; }
html.with-dark-header .as-nav__link { color: rgba(255,255,255,.82) !important; background: rgba(255,255,255,.06) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
html.with-dark-header .as-nav__link:hover { color: #fff !important; background: rgba(255,255,255,.12) !important; box-shadow: none; }
html.with-dark-header .as-nav__link .as-cat-icon { color: var(--as-accent); }
html.with-dark-header .as-nav__link.is-promo { color: var(--as-accent) !important; background: color-mix(in srgb, var(--as-accent) 12%, transparent) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--as-accent) 30%, transparent); }
html.with-dark-header .as-nav__more-list a { color: var(--as-text) !important; }
html.with-dark-header.is-header-scrolled .as-header__main { background: color-mix(in srgb, var(--as-footer) 94%, transparent); box-shadow: 0 8px 24px rgba(0,0,0,.25); backdrop-filter: blur(10px); }
html.with-dark-header .as-burger { color: #fff !important; background: rgba(255,255,255,.1) !important; }
.as-header { margin-bottom: 22px; }
html:not(.with-dark-header) .as-header { margin-bottom: 0; }
.as-catalog__button { font-weight: 800 !important; letter-spacing: .01em; }
.as-nav__link { font-weight: 600; }

/* ---------------------------------------------------------------- "My car" chip in the menu bar */
.as-nav { align-items: center; }
.ap-garage { position: relative; display: flex; align-items: center; flex: none; margin-right: 6px; }
html.as-theme .ap-garage__link {
  display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 5px; color: var(--as-text);
  background: var(--as-card); border-radius: var(--as-pill); box-shadow: inset 0 0 0 1.5px var(--as-line); transition: box-shadow .15s;
}
html.as-theme .ap-garage__link:hover { color: var(--as-text); box-shadow: inset 0 0 0 1.5px var(--as-accent); }
.ap-garage__icon { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; color: var(--as-accent-text); background: var(--as-accent); border-radius: calc(var(--as-pill) - 3px); }
.ap-garage__icon .as-i { width: 18px; height: 18px; }
.ap-garage__text { display: flex; flex-direction: column; line-height: 1.1; }
.ap-garage__label { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .6; }
.ap-garage__name { font-size: 13px; font-weight: 800; white-space: nowrap; max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
.ap-garage.is-set .ap-garage__link { padding-right: 38px; }
.ap-garage__clear { position: absolute; right: 6px; top: 50%; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-top: -13px; padding: 0; color: inherit; background: transparent; border: 0; border-radius: 50%; cursor: pointer; opacity: .55; }
.ap-garage__clear:hover { opacity: 1; background: rgba(127,127,127,.15); }
.ap-garage__clear .as-i { width: 14px; height: 14px; }
html.with-dark-header .ap-garage__link { color: #fff; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--as-accent) 55%, transparent); }
html.with-dark-header .ap-garage__link:hover { color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px var(--as-accent); }
html.with-dark-header .ap-garage__clear { color: #fff; }

/* ---------------------------------------------------------------- first screen with the parts finder */
.ap-hero { margin: 0; }
.ap-hero__stage {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); align-items: center; gap: 40px;
  min-height: var(--ap-hero-height, 480px); padding: 44px 44px 44px 56px; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(600px 380px at 72% 40%, color-mix(in srgb, var(--as-accent) 22%, transparent), transparent 70%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(135deg, var(--as-footer), color-mix(in srgb, var(--as-footer) 85%, #fff));
  border-radius: var(--as-radius);
}
.ap-hero__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100% !important; max-width: none; object-fit: cover; }
.ap-hero__stage.with-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8,9,12,.9) 0%, rgba(8,9,12,.72) 42%, rgba(8,9,12,.25) 75%, rgba(8,9,12,.35) 100%);
}
.ap-hero__art { position: absolute; z-index: -1; top: 50%; right: 330px; width: 520px; height: 520px; margin-top: -260px; color: rgba(255,255,255,.12); pointer-events: none; }
.ap-hero__blueprint { width: 100%; height: 100%; animation: ap-spin 90s linear infinite; }
.ap-hero__caliper { color: var(--as-accent); stroke: var(--as-accent); opacity: .9; }
@keyframes ap-spin { to { transform: rotate(360deg); } }
.ap-hero__chip {
  position: absolute; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--as-radius-md); backdrop-filter: blur(6px);
}
.ap-hero__chip .as-i { width: 26px; height: 26px; }
.ap-hero__chip.is-1 { top: 4%; left: 58%; } .ap-hero__chip.is-2 { top: 22%; right: 0; color: var(--as-accent); }
.ap-hero__chip.is-3 { bottom: 4%; left: 62%; } .ap-hero__chip.is-4 { bottom: 22%; right: -4%; }
.ap-hero__chip.is-5 { top: 44%; right: -10%; color: var(--as-accent); } .ap-hero__chip.is-6 { display: none; }
.ap-hero__content { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 620px; }
.ap-hero__label {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; font-size: 12.5px; font-weight: 700; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--as-pill); backdrop-filter: blur(6px);
}
.ap-pulse { position: relative; width: 8px; height: 8px; background: var(--as-ok); border-radius: 50%; }
.ap-pulse::after { content: ""; position: absolute; inset: -4px; border: 2px solid var(--as-ok); border-radius: 50%; animation: ap-pulse 1.8s ease-out infinite; }
@keyframes ap-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
html.as-theme .ap-hero__title { margin: 0; color: #fff; font-size: clamp(28px, 3.3vw, 50px); line-height: 1.08; }
.ap-hero__text { margin: 0; max-width: 520px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.72); }
.ap-hero__button { margin-top: 4px; }
.ap-hero__stats { display: flex; flex-wrap: wrap; gap: 10px 34px; margin: 14px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid rgba(255,255,255,.12); }
.ap-hero__stats li { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.ap-hero__stats b { font-size: 22px; font-weight: 700; color: var(--as-accent); line-height: 1.1; }
.ap-hero__stats span { font-size: 12.5px; color: rgba(255,255,255,.6); }
.ap-hero__promos { margin-top: 16px; }

/* the finder card */
.ap-finder {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 24px; color: var(--as-text);
  background: var(--as-card); border-radius: var(--as-radius); box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.ap-finder__head { display: flex; align-items: center; gap: 12px; }
.ap-finder__icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: var(--as-accent-text); background: var(--as-accent); border-radius: var(--as-radius-sm); }
.ap-finder__icon .as-i { width: 24px; height: 24px; }
.ap-finder__title { font-size: 18px; font-weight: 800; }
.ap-finder__tabs { display: flex; gap: 4px; padding: 4px; background: var(--as-soft); border-radius: calc(var(--as-radius-sm) + 4px); }
.ap-finder__tab {
  flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 8px; font: inherit; font-size: 13px; font-weight: 700;
  color: var(--as-muted); background: transparent; border: 0; border-radius: var(--as-radius-sm); cursor: pointer; transition: background .15s, color .15s, box-shadow .15s;
}
.ap-finder__tab .as-i { width: 17px; height: 17px; }
.ap-finder__tab:hover { color: var(--as-text); }
.ap-finder__tab.is-active { color: var(--as-text); background: var(--as-card); box-shadow: 0 1px 3px rgba(17,19,24,.12); }
.ap-finder__pane { display: none; flex-direction: column; gap: 12px; margin: 0; }
.ap-finder__pane.is-active { display: flex; animation: ap-fade .25s ease; }
@keyframes ap-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ap-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.ap-field__label { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; color: var(--as-muted); }
.ap-field__counter { font-family: var(--ap-mono); font-weight: 600; }
.ap-field__counter.is-ok { color: var(--as-ok); }
html.as-theme .ap-field__control {
  width: 100%; height: 48px; padding: 0 14px; font: inherit; font-size: 15px; font-weight: 600; color: var(--as-text);
  background: var(--as-soft); border: 1.5px solid transparent; border-radius: var(--as-radius-sm); outline: none; transition: border-color .15s, background .15s;
  -webkit-appearance: none; appearance: none;
}
html.as-theme select.ap-field__control {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23626875' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
html.as-theme .ap-field__control:focus { background-color: var(--as-card); border-color: var(--as-accent); }
html.as-theme .ap-field__control:disabled { opacity: .55; cursor: default; }
html.as-theme .ap-field__control.is-mono { font-family: var(--ap-mono); letter-spacing: .06em; }
.ap-check { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--as-muted); cursor: pointer; }
.ap-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--as-text); }
.ap-finder__submit { width: 100%; justify-content: center; }
.ap-finder__note { display: flex; gap: 8px; margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--as-muted); }
.ap-finder__note .as-i { width: 16px; height: 16px; margin-top: 1px; color: var(--as-ok); }
.ap-finder__error { font-size: 12.5px; font-weight: 600; color: var(--as-sale); }
.ap-finder__hints { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--as-muted); }
.ap-finder__hint { padding: 5px 10px; font-family: var(--ap-mono); font-size: 12px; font-weight: 600; color: var(--as-text); background: var(--as-soft); border: 0; border-radius: 6px; cursor: pointer; }
.ap-finder__hint:hover { background: var(--as-accent-soft); }

/* the slider views keep the shared hero, restyled */
.as-hero__label { display: inline-block; padding: 6px 14px; font-size: 12px; font-weight: 800; color: var(--as-accent-text); background: var(--as-accent); border-radius: var(--as-pill); }
.as-hero__title { font-size: clamp(28px, 3.2vw, 48px); line-height: 1.06; }
.as-hero__button { color: var(--as-accent-text) !important; background: var(--as-accent) !important; }
.as-hero__button:hover { background: var(--as-accent-hover) !important; }
.as-hero__slide.is-theme { --as-slide-bg: var(--as-footer); background: var(--as-footer); }
.as-hero__slide.is-theme .as-hero__content::after { display: none; }
.as-hero__slide.is-theme .as-hero__art { background: radial-gradient(circle at 60% 50%, color-mix(in srgb, var(--as-accent) 25%, transparent), transparent 60%), var(--as-footer); }
.as-hero__slide.is-theme .as-hero__bubble { color: #fff; background: rgba(255,255,255,.07); box-shadow: none; border-radius: var(--as-radius-md); }
.as-hero__slide.is-theme .as-hero__bubble.is-main { color: var(--as-accent-text); background: var(--as-accent); }
.as-hero__slide.is-theme.with-photo { display: block; }
.as-hero__slide.is-theme.with-photo .as-hero__media { position: absolute; inset: 0; }
.as-hero__slide.is-theme.with-photo .as-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,12,.85) 0%, rgba(8,9,12,.5) 50%, rgba(8,9,12,0) 80%); }
.as-hero__slide.is-theme.with-photo .as-hero__content { position: relative; z-index: 2; height: 100%; max-width: 640px; background: transparent; }
.as-promo { border-radius: var(--as-radius); }
.as-promo__title { font-weight: 800; font-size: 16px; }

/* ---------------------------------------------------------------- advantages */
.as-advantage { box-shadow: inset 0 0 0 1px var(--as-line); background: var(--as-card); }
.as-advantage__icon { color: var(--as-accent); background: var(--as-footer); border-radius: var(--as-radius-sm); }
.as-advantage__title { font-weight: 800; }

/* ---------------------------------------------------------------- catalog by systems */
.ap-systems__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ap-system { display: flex; flex-direction: column; margin: 0; background: var(--as-card); border-radius: var(--as-radius); box-shadow: inset 0 0 0 1px var(--as-line); transition: box-shadow .2s, transform .2s; }
.ap-system:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--as-accent), var(--as-shadow); }
html.as-theme .ap-system__link { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 18px 14px; color: var(--as-text); }
.ap-system__icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 12px; color: var(--as-text); background: var(--as-soft); border-radius: var(--as-radius-md); transition: background .2s, color .2s; }
.ap-system__icon .as-i { width: 30px; height: 30px; }
.ap-system__icon img { width: 34px; height: 34px; object-fit: contain; }
.ap-system:hover .ap-system__icon { color: var(--as-accent-text); background: var(--as-accent); }
.ap-system__name { font-size: 15px; font-weight: 800; line-height: 1.25; }
.ap-system__count { font-size: 12.5px; color: var(--as-muted); }
.ap-system__arrow { position: absolute; top: 20px; right: 18px; width: 18px; height: 18px; color: var(--as-faint); transition: transform .2s, color .2s; }
.ap-system:hover .ap-system__arrow { color: var(--as-text); transform: translateX(3px); }
.ap-system__subs { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: auto 0 0; padding: 10px 18px 16px; list-style: none; border-top: 1px dashed var(--as-line); }
.ap-system__subs li { margin: 0; }
html.as-theme .ap-system__subs a { font-size: 12.5px; color: var(--as-muted); }
html.as-theme .ap-system__subs a:hover { color: var(--as-text); }
html.as-theme .ap-system__subs a.is-more { font-weight: 700; color: var(--as-text); }
.ap-systems.is-photos .ap-system { overflow: hidden; }
.ap-systems.is-photos .ap-system__link { justify-content: flex-end; aspect-ratio: 4 / 5; padding: 16px; color: #fff; }
.ap-system__photo { position: absolute; inset: 0; }
.ap-system__photo img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .4s; }
.ap-systems.is-photos .ap-system__link::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.8)); }
.ap-systems.is-photos .ap-system__name, .ap-systems.is-photos .ap-system__count, .ap-systems.is-photos .ap-system__arrow { position: relative; z-index: 2; color: #fff; }
.ap-systems.is-photos .ap-system__arrow { position: absolute; }
.ap-systems.is-photos .ap-system:hover img { transform: scale(1.05); }

/* ---------------------------------------------------------------- car makes */
.ap-makes__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ap-makes__list li { margin: 0; }
html.as-theme .ap-make { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; color: var(--as-text); background: var(--as-card); border-radius: var(--as-radius-md); box-shadow: inset 0 0 0 1px var(--as-line); transition: box-shadow .2s; }
html.as-theme .ap-make:hover { color: var(--as-text); box-shadow: inset 0 0 0 1.5px var(--as-text); }
.ap-make__mono { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; font-size: 14px; font-weight: 800; color: var(--as-accent); background: var(--as-footer); border-radius: 50%; text-transform: uppercase; transition: background .2s, color .2s; }
.ap-make:hover .ap-make__mono { color: var(--as-accent-text); background: var(--as-accent); }
.ap-make__text { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.ap-make__name { font-size: 14.5px; font-weight: 800; }
.ap-make__models { overflow: hidden; font-size: 12px; color: var(--as-muted); white-space: nowrap; text-overflow: ellipsis; }

/* ---------------------------------------------------------------- steps */
.ap-steps__list { counter-reset: none; display: grid; grid-template-columns: repeat(var(--ap-steps, 4), minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ap-step { position: relative; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 24px 22px 26px; overflow: hidden; background: var(--as-card); border-radius: var(--as-radius); box-shadow: inset 0 0 0 1px var(--as-line); }
.ap-step__num { position: absolute; top: 10px; right: 16px; font-size: 54px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--as-line-strong); }
.ap-step__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 8px; color: var(--as-accent-text); background: var(--as-accent); border-radius: var(--as-radius-sm); }
.ap-step__icon .as-i { width: 26px; height: 26px; }
.ap-step__title { font-size: 16px; font-weight: 800; }
.ap-step__text { font-size: 13.5px; line-height: 1.5; color: var(--as-muted); }

/* ---------------------------------------------------------------- service banner */
.ap-service { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 380px; overflow: hidden; color: #fff; background: var(--as-footer); border-radius: var(--as-radius); }
.ap-service__media { position: relative; order: 2; min-height: 240px; }
.ap-service__image { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none; object-fit: cover; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.ap-service__art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--as-accent) 90%, transparent) 0 18px, transparent 18px 36px), var(--as-footer); }
.ap-service__art .as-i { width: 150px; height: 150px; padding: 30px; color: var(--as-accent); background: var(--as-footer); border-radius: 50%; }
.ap-service__content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 44px 20px 44px 48px; }
.ap-service__label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--as-accent-text); background: var(--as-accent); border-radius: var(--as-pill); }
.ap-service__label .as-i { width: 16px; height: 16px; }
html.as-theme .ap-service__title { margin: 0; color: #fff; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.1; }
.ap-service__text { margin: 0; max-width: 480px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.72); }
.ap-service__points { display: flex; flex-direction: column; gap: 8px; margin: 2px 0 6px; padding: 0; list-style: none; }
.ap-service__points li { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14.5px; font-weight: 600; }
.ap-service__points .as-i { width: 22px; height: 22px; padding: 3px; color: var(--as-accent-text); background: var(--as-accent); border-radius: 50%; }

/* ---------------------------------------------------------------- category tiles: one calm color */
.as-cat-tile .as-cat-tile__link, .as-cat-tile:nth-child(n) .as-cat-tile__link { --as-tile: var(--as-card); }
.as-cat-tile__link { box-shadow: inset 0 0 0 1px var(--as-line); }
.as-cat-tile__link:hover { box-shadow: inset 0 0 0 1.5px var(--as-accent), var(--as-shadow); }
.as-cat-tile__image img { mix-blend-mode: normal; }

/* ---------------------------------------------------------------- manufacturers */
.as-brands__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0; padding: 0; }
.as-brands__list li { margin: 0; }
.as-brands__item { display: flex; align-items: center; justify-content: center; height: 80px; padding: 0 14px; text-align: center;
  font-size: 17px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: #9aa0ab !important; background: var(--as-card); border-radius: var(--as-radius-md); box-shadow: inset 0 0 0 1px var(--as-line); transition: color .2s, box-shadow .2s; }
.as-brands__item:hover { color: var(--as-text) !important; box-shadow: inset 0 0 0 1.5px var(--as-text); }

/* ---------------------------------------------------------------- product cards, part numbers, prices */
.as-price { font-weight: 800; letter-spacing: -.02em; }
.as-sticker { font-weight: 800; letter-spacing: .01em; }
.as-card { box-shadow: inset 0 0 0 1px var(--as-line); }
.thumbs-view .as-card:hover { box-shadow: inset 0 0 0 1.5px var(--as-accent), var(--as-shadow); }
.ap-sku { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; font-size: 12px; color: var(--as-muted); }
.as-card__sku.ap-sku { margin: 2px 0 4px; }
.ap-sku__label { font-weight: 600; }
.ap-sku__value { overflow: hidden; padding: 2px 7px; font-family: var(--ap-mono); font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--as-text); white-space: nowrap; text-overflow: ellipsis; background: var(--as-soft); border-radius: 5px; }
.ap-sku__copy { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 24px; height: 24px; padding: 0; color: var(--as-faint); background: transparent; border: 0; border-radius: 6px; cursor: pointer; transition: color .15s, background .15s; }
.ap-sku__copy:hover { color: var(--as-text); background: var(--as-soft); }
.ap-sku__copy.is-copied { color: var(--as-ok); }
.ap-sku__copy .as-i { width: 15px; height: 15px; }
.as-stock__count { margin-left: 6px; padding: 1px 6px; font-size: 11.5px; font-weight: 700; color: var(--as-ok); background: color-mix(in srgb, var(--as-ok) 12%, transparent); border-radius: 5px; }
.as-product__sku.ap-sku { font-size: 13px; }

/* ---------------------------------------------------------------- product page: fitment, OEM, VIN check */
.ap-fit { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.ap-fit__block { padding: 16px 18px; background: var(--as-card); border-radius: var(--as-radius-md); box-shadow: inset 0 0 0 1px var(--as-line); }
.ap-fit__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.ap-fit__title { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; }
.ap-fit__title .as-i { width: 20px; height: 20px; color: var(--as-muted); }
.ap-fit__status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; font-size: 12.5px; font-weight: 700; border-radius: var(--as-pill); }
.ap-fit__status .as-i { width: 16px; height: 16px; display: none; }
.ap-fit__status.is-yes { color: var(--as-ok); background: color-mix(in srgb, var(--as-ok) 12%, transparent); }
.ap-fit__status.is-yes .is-yes { display: inline-block; }
.ap-fit__status.is-no { color: var(--as-warn); background: color-mix(in srgb, var(--as-warn) 12%, transparent); }
.ap-fit__status.is-no .is-no { display: inline-block; }
.ap-fit__list, .ap-fit__oem { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ap-fit__list li, .ap-fit__oem li { margin: 0; }
html.as-theme .ap-fit__list a { display: inline-block; padding: 5px 10px; font-size: 13px; font-weight: 600; color: var(--as-text); background: var(--as-soft); border-radius: 7px; }
html.as-theme .ap-fit__list a:hover { background: var(--as-accent-soft); }
html.as-theme .ap-fit__oem a.ap-sku__value { display: inline-block; padding: 5px 9px; font-size: 12.5px; color: var(--as-text); }
html.as-theme .ap-fit__oem a.ap-sku__value:hover { background: var(--as-accent-soft); }
.ap-fit__vin { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 18px; font: inherit; color: #fff; text-align: left; background: var(--as-footer); border: 0; border-radius: var(--as-radius-md); cursor: pointer; transition: transform .2s; }
.ap-fit__vin:hover { transform: translateY(-2px); }
.ap-fit__vin-icon { display: flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; color: var(--as-accent-text); background: var(--as-accent); border-radius: var(--as-radius-sm); }
.ap-fit__vin-icon .as-i { width: 24px; height: 24px; }
.ap-fit__vin-text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; font-size: 12.5px; color: rgba(255,255,255,.6); }
.ap-fit__vin-text b { font-size: 14.5px; color: #fff; }
.ap-fit__vin-arrow { width: 20px; height: 20px; color: var(--as-accent); }

/* product options as chips (volumes, left / right) */
.as-option__label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
html.as-theme .as-size-chart { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--as-text); text-decoration: underline dotted; text-underline-offset: 3px; }
.as-size-chart .as-i { width: 15px; height: 15px; }
.as-skus.is-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.as-skus.is-chips .as-option__label { flex: 0 0 100%; margin-bottom: 0; }
.as-skus.is-chips .as-sku { margin: 0; }
.as-skus.is-chips .as-sku__label { position: relative; justify-content: center; min-width: 64px; height: 46px; padding: 0 14px; background: var(--as-card); box-shadow: inset 0 0 0 1.5px var(--as-line-strong); border-radius: var(--as-radius-sm); transition: box-shadow .15s; }
.as-skus.is-chips .as-sku__label:hover { box-shadow: inset 0 0 0 1.5px var(--as-text); }
.as-skus.is-chips .as-sku__label input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.as-skus.is-chips .as-sku__name { flex: none; font-size: 14px; font-weight: 800; }
.as-skus.is-chips .as-sku__price { display: none; }
.as-skus.is-chips .as-sku__label:has(input:checked) { color: var(--as-accent-text); background: var(--as-accent); box-shadow: none; }
.as-skus.is-chips .as-sku.is-disabled .as-sku__name { text-decoration: line-through; }
.as-skus.is-chips .as-sku__label:has(input:focus-visible) { outline: 2px solid var(--as-text); outline-offset: 2px; }
.as-share__drop { left: auto; right: 0; }

/* category intro text (setting "Category description": above the list) */
.s-description-section.is-top { position: relative; padding-left: 34px; font-size: 14.5px; line-height: 1.6; color: var(--as-text); }
.s-description-section.is-top::before { content: ""; position: absolute; left: 18px; top: 24px; bottom: 24px; width: 4px; background: var(--as-accent); border-radius: 2px; }
.s-description-section.is-top p { margin: 0 0 8px; }
.s-description-section.is-top p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- footer */
html.with-dark-footer .as-footer .s-footer-block { border-top: 3px solid var(--as-accent); }

/* ---------------------------------------------------------------- toast */
.ap-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 10050; max-width: calc(100% - 32px); padding: 12px 18px; font-size: 14px; font-weight: 600; color: #fff;
  background: #111318; border-radius: 12px; box-shadow: var(--as-shadow-strong); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.ap-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1280px) {
  .ap-systems__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ap-makes__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ap-hero__art { right: 300px; opacity: .7; }
}
@media (max-width: 1100px) {
  .ap-hero__stage { grid-template-columns: 1fr; padding: 36px; }
  .ap-hero__art { right: -120px; }
  .ap-finder { max-width: 560px; }
  .ap-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .as-section-title, html.as-theme h2.as-section-title, html.sp-head-tech .as-section-title { font-size: 19px; }
  .ap-garage { margin: 0 0 0 0; }
  .ap-garage__label { display: none; }
  .ap-garage__name { max-width: 150px; }
  .ap-hero__stage { gap: 24px; min-height: 0; padding: 26px 18px 18px; border-radius: var(--as-radius-md); }
  .ap-hero__stage.with-photo::before { background: linear-gradient(180deg, rgba(8,9,12,.65) 0%, rgba(8,9,12,.85) 60%); }
  .ap-hero__art { width: 340px; height: 340px; top: 0; right: -140px; margin: 0; }
  .ap-hero__chip { display: none; }
  html.as-theme .ap-hero__title { font-size: 25px; }
  .ap-hero__text { font-size: 14.5px; }
  .ap-hero__button { display: none; }
  .ap-hero__stats { gap: 8px 22px; margin-top: 4px; padding-top: 14px; }
  .ap-hero__stats b { font-size: 17px; }
  .ap-finder { padding: 16px; gap: 12px; }
  .ap-finder__tab { font-size: 12.5px; }
  .ap-finder__tab .as-i { display: none; }
  .ap-systems__list { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--as-gutter) * -1); padding: 0 var(--as-gutter) 4px; }
  .ap-systems__list::-webkit-scrollbar { display: none; }
  .ap-system { flex: none; width: 150px; }
  .ap-system__link { padding: 14px; }
  .ap-system__icon { width: 46px; height: 46px; margin-bottom: 6px; }
  .ap-system__icon .as-i { width: 26px; height: 26px; }
  .ap-system__subs { display: none; }
  .ap-system__name { font-size: 13.5px; }
  .ap-makes__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ap-make { padding: 10px; gap: 10px; }
  .ap-make__mono { width: 36px; height: 36px; font-size: 12px; }
  .ap-steps__list { grid-template-columns: 1fr; gap: 8px; }
  .ap-step { padding: 16px 18px; }
  .ap-step__num { font-size: 40px; }
  .ap-service { grid-template-columns: 1fr; min-height: 0; }
  .ap-service__media { order: 0; min-height: 180px; }
  .ap-service__image, .ap-service__art { clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%); }
  .ap-service__art .as-i { width: 100px; height: 100px; padding: 20px; }
  .ap-service__content { padding: 18px 20px 26px; }
  .as-brands__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .as-brands__item { height: 62px; font-size: 14px; }
  .s-description-section.is-top { padding-left: 26px; }
  .s-description-section.is-top::before { left: 12px; top: 18px; bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .ap-hero__blueprint, .ap-pulse::after { animation: none; }
  .ap-system, .ap-fit__vin, .ap-finder__pane.is-active { transition: none; animation: none; }
}


/* ===========================================================================================
 * CARBON LAYER — the structure of Auto Parts (both appearances) and the dark appearance (html.ap-dark,
 * setting "Appearance"). One-row header, full-bleed first screen with a horizontal parts finder,
 * bento catalog, price list view, spec cards.
 * =========================================================================================== */

/* the dropdown of the search categories lives in the dark header: its items must not inherit the light header text */
html.as-theme .as-search__cat { color: var(--as-text) !important; background: transparent !important; }
html.as-theme .as-search__cat:hover, html.as-theme .as-search__cat.is-active { color: var(--as-text) !important; background: var(--as-accent-soft) !important; box-shadow: inset 3px 0 0 var(--as-accent); }
.as-dropdown { color: var(--as-text); }

/* ---------------------------------------------------------------- dark appearance: tokens */
html.ap-dark {
  color-scheme: dark;
  --as-page: #0a0b0e;
  --as-card: #14161b;
  --as-text: #eef0f4;
  --as-muted: #9399a6;
  --as-faint: #626876;
  --as-line: #23262e;
  --as-line-strong: #343842;
  --as-soft: #1b1e24;
  --as-accent-soft: color-mix(in srgb, var(--as-accent) 14%, #14161b);
  --as-shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 12px 30px rgba(0,0,0,.35);
  --as-shadow-strong: 0 30px 70px rgba(0,0,0,.6);
  --ap-link: var(--as-accent);
  --ap-link-hover: color-mix(in srgb, var(--as-accent) 80%, #fff);
  --ap-media: #1d2027;
}
html.ap-dark body { background: var(--as-page); }
/* a subtle carbon weave under the whole page */
html.ap-dark body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 80% -10%, color-mix(in srgb, var(--as-accent) 7%, transparent), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.012) 0 2px, transparent 2px 6px);
}
html.ap-dark h1, html.ap-dark h2, html.ap-dark h3, html.ap-dark h4 { color: var(--as-text); }
html.ap-dark input[type="text"], html.ap-dark input[type="email"], html.ap-dark input[type="tel"], html.ap-dark input[type="password"],
html.ap-dark input[type="search"], html.ap-dark input[type="number"], html.ap-dark textarea, html.ap-dark select {
  color: var(--as-text); background-color: var(--as-soft); border-color: var(--as-line-strong);
}
html.ap-dark input::placeholder, html.ap-dark textarea::placeholder { color: var(--as-faint); }
html.ap-dark .as-card__image, html.ap-dark .as-card__media, html.ap-dark .as-product__gallery img { background-color: var(--ap-media); }
html.ap-dark .as-stars { --as-star-off: #3a3e48; }
html.ap-dark .as-button.is-light, html.ap-dark a.as-button.is-light { color: var(--as-text) !important; background: var(--as-soft) !important; }
html.ap-dark .as-qty, html.ap-dark .as-qty__input { background: var(--as-soft); color: var(--as-text); }
html.ap-dark .as-qty__btn { background: var(--as-card); color: var(--as-text); }
html.ap-dark .s-alert-banner { box-shadow: inset 0 -1px 0 rgba(0,0,0,.2); }
html.ap-dark hr { border-color: var(--as-line); }
html.ap-dark table, html.ap-dark td, html.ap-dark th { border-color: var(--as-line); }
html.ap-dark .as-stock.is-in { color: #3ddc84; }
html.ap-dark .as-price.is-sale { color: #ff5a52; }
html.ap-dark .as-price-old { color: var(--as-faint); }
/* the cart and checkout blocks of Shop-Script use their own light styles */
html.ap-dark .wa-order-cart-wrapper, html.ap-dark .wa-order-form-wrapper, html.ap-dark .wa-order-cart-wrapper *, html.ap-dark .wa-order-form-wrapper * { border-color: var(--as-line) !important; }
html.ap-dark .wa-order-cart-wrapper, html.ap-dark .wa-order-form-wrapper,
html.ap-dark .wa-order-cart-wrapper .wa-cart-body, html.ap-dark .wa-order-cart-wrapper .wa-cart-details, html.ap-dark .wa-order-cart-wrapper .wa-products,
html.ap-dark .wa-order-form-wrapper .wa-step-section, html.ap-dark .wa-order-form-wrapper .wa-section-body, html.ap-dark .wa-order-form-wrapper .wa-step-confirm-section,
html.ap-dark .wa-order-form-wrapper .wa-step-section > .wa-section-header, html.ap-dark .wa-order-cart-wrapper .wa-cart-header {
  color: var(--as-text) !important; background-color: transparent !important;
}
html.ap-dark .wa-order-cart-wrapper .wa-cart-body, html.ap-dark .wa-order-form-wrapper .wa-step-section:nth-child(odd) { background-color: var(--as-soft) !important; }
html.ap-dark .wa-order-cart-wrapper .wa-product-name, html.ap-dark .wa-order-cart-wrapper .wa-product-name a { color: var(--as-text) !important; }
html.ap-dark .wa-order-form-wrapper .wa-input, html.ap-dark .wa-order-form-wrapper input, html.ap-dark .wa-order-form-wrapper textarea, html.ap-dark .wa-order-form-wrapper select,
html.ap-dark .wa-order-cart-wrapper input {
  color: var(--as-text) !important; background-color: var(--as-page) !important; border-color: var(--as-line-strong) !important;
}
html.ap-dark .wa-order-form-wrapper .wa-label, html.ap-dark .wa-order-form-wrapper .wa-hint, html.ap-dark .wa-order-cart-wrapper .wa-hint { color: var(--as-muted) !important; }
html.ap-dark .wa-dropdown > .wa-dropdown-toggle, html.ap-dark .wa-dropdown-area, html.ap-dark .wa-order-form-wrapper .wa-dropdown-area { color: var(--as-text) !important; background-color: var(--as-soft) !important; }

/* ---------------------------------------------------------------- header: one row, no capsule */
html.with-dark-header .as-header, html.ap-dark .as-header {
  background: color-mix(in srgb, var(--as-footer) 96%, #000);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.as-header { margin-bottom: 0 !important; }
.as-header__inner { gap: 14px; }
.as-searchbar { gap: 10px; height: 50px; padding: 0; background: transparent; box-shadow: none !important; border-radius: 0; }
.as-catalog__button { border-radius: var(--as-radius-sm) !important; padding: 0 20px 0 16px !important; }
.as-search .search { height: 100%; }
.as-search__form { height: 100%; padding: 0 4px 0 6px; background: var(--as-card); border: 1.5px solid var(--as-line); border-radius: var(--as-radius-sm); transition: border-color .15s, box-shadow .15s; }
.as-search__form:focus-within { border-color: var(--as-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--as-accent) 18%, transparent); }
html.with-dark-header .as-search__form { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
html.with-dark-header.as-theme .as-search__input { color: #fff; }
html.with-dark-header .as-search__input::placeholder { color: rgba(255,255,255,.45); }
html.with-dark-header .as-search__cats-toggle { color: rgba(255,255,255,.7) !important; background: rgba(255,255,255,.06) !important; }
.as-search__cats-toggle { height: 38px; border-radius: calc(var(--as-radius-sm) - 2px) !important; }
.as-search__submit { width: 40px; height: 40px; border-radius: calc(var(--as-radius-sm) - 2px) !important; color: var(--as-accent-text) !important; background: var(--as-accent) !important; }
.as-search__submit:hover { background: var(--as-accent-hover) !important; }
.as-action__icon { border-radius: var(--as-radius-sm); }
.ap-garage { margin: 0; }
html.as-theme .ap-garage__link { height: 50px; padding-right: 16px; border-radius: var(--as-radius-sm); }
.ap-garage__icon { width: 36px; height: 36px; border-radius: calc(var(--as-radius-sm) - 2px); }
.ap-garage__name { max-width: 150px; }
/* the menu bar: a strip of text links instead of chips */
.as-header__nav { border-top: 1px solid rgba(127,127,127,.12); }
.as-nav { gap: 2px; padding-top: 0 !important; padding-bottom: 0 !important; }
html.as-theme .as-nav__link {
  height: 46px; padding: 0 14px !important; font-size: 13.5px; font-weight: 600; background: transparent !important; box-shadow: none !important; border-radius: 0 !important;
  position: relative;
}
html.as-theme .as-nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--as-accent); transform: scaleX(0); transition: transform .2s; }
html.as-theme .as-nav__link:hover::after { transform: none; }
html.with-dark-header .as-nav__link { color: rgba(255,255,255,.72) !important; }
html.with-dark-header .as-nav__link:hover { color: #fff !important; }
html.with-dark-header .as-nav__link.is-promo, html.as-theme .as-nav__link.is-promo { color: var(--as-accent) !important; background: transparent !important; box-shadow: none !important; }
.as-nav__promo { gap: 0; }

/* ---------------------------------------------------------------- first screen: full bleed, horizontal finder */
html.as-theme body { overflow-x: clip; }
.ap-hero { position: relative; width: 100vw; margin: 0 calc(50% - 50vw) 0; }
.as-home > .ap-hero:first-child { margin-top: calc(-1 * var(--ap-top-gap, 24px)); }
.ap-hero__stage {
  display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 34px;
  min-height: var(--ap-hero-height, 560px); border-radius: 0;
  padding: 64px max(var(--as-gutter), calc((100vw - var(--as-container)) / 2 + var(--as-gutter))) 40px;
  background:
    radial-gradient(700px 460px at 78% 38%, color-mix(in srgb, var(--as-accent) 20%, transparent), transparent 70%),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(180deg, color-mix(in srgb, var(--as-footer) 96%, #000), var(--as-footer) 70%, color-mix(in srgb, var(--as-footer) 80%, #000));
}
.ap-hero__stage.with-photo::before { background: linear-gradient(90deg, rgba(8,9,12,.92) 0%, rgba(8,9,12,.6) 50%, rgba(8,9,12,.2) 100%), linear-gradient(0deg, rgba(8,9,12,.85) 0%, transparent 45%); }
.ap-hero__art { top: 46%; right: max(-60px, calc((100vw - var(--as-container)) / 2 - 40px)); width: 620px; height: 620px; margin-top: -310px; color: rgba(255,255,255,.1); }
.ap-hero__chip.is-1 { top: 10%; left: 6%; } .ap-hero__chip.is-2 { top: 16%; right: 8%; }
.ap-hero__chip.is-3 { bottom: 16%; left: 2%; } .ap-hero__chip.is-4 { bottom: 10%; right: 14%; }
.ap-hero__chip.is-5 { top: 48%; right: -4%; } .ap-hero__chip.is-6 { display: flex; top: 50%; left: -6%; }
.ap-hero__content { position: static; max-width: 760px; gap: 18px; align-self: flex-start; }
.ap-hero__stage > * { position: relative; }
.ap-hero__stage > .ap-hero__art, .ap-hero__stage > .ap-hero__photo { position: absolute; }
.ap-hero__stage > .ap-hero__content { position: static; }
.ap-hero__content > * { position: relative; }
.ap-hero__content > .ap-hero__stats { position: absolute; }
html.as-theme .ap-hero__title { font-size: clamp(32px, 4.4vw, 68px); line-height: 1.02; letter-spacing: -.035em; }
.ap-hero__title::after { content: ""; display: block; width: 84px; height: 6px; margin-top: 22px; background: var(--as-accent); border-radius: 3px; }
.ap-hero__text { font-size: 17px; max-width: 600px; }
.ap-hero__button { display: none; }
.ap-hero__stats { position: absolute; top: 64px; right: max(var(--as-gutter), calc((100vw - var(--as-container)) / 2 + var(--as-gutter))); flex-direction: column; gap: 18px; margin: 0; padding: 0 0 0 22px; border-top: 0; border-left: 2px solid rgba(255,255,255,.12); }
.ap-hero__stats b { font-size: 26px; }

/* the finder becomes a horizontal bar */
.ap-finder {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 10px 22px; max-width: none; padding: 18px 20px;
  background: color-mix(in srgb, var(--as-card) 92%, transparent); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(14px);
}
html:not(.ap-dark) .ap-finder { background: #fff; border-color: transparent; }
.ap-finder__head { grid-row: span 2; flex-direction: column; align-items: flex-start; gap: 8px; width: 150px; padding-right: 22px; border-right: 1px solid var(--as-line); align-self: stretch; }
.ap-finder__title { font-size: 15px; line-height: 1.2; }
.ap-finder__tabs { justify-self: start; background: var(--as-soft); }
.ap-finder__tab { flex: none; padding: 0 16px; }
.ap-finder__pane.is-active { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 230px; align-items: end; gap: 10px 12px; }
.ap-finder__pane[data-pane="sku"].is-active { grid-template-columns: minmax(0, 1fr) 230px; }
.ap-finder__pane > .ap-check, .ap-finder__pane > .ap-finder__note, .ap-finder__pane > .ap-finder__hints, .ap-finder__pane > .ap-finder__error { grid-column: 1 / -1; grid-row: 2; }
.ap-finder__submit { height: 48px; }
.ap-finder__pane[data-pane="sku"] .ap-finder__submit { grid-column: 2; grid-row: 1; }
html.ap-dark .ap-field__control { background-color: var(--as-page); border-color: var(--as-line); }
html.ap-dark .ap-field__control:focus { background-color: var(--as-page); }
.ap-hero__promos { width: auto; margin: 22px max(var(--as-gutter), calc((100vw - var(--as-container)) / 2 + var(--as-gutter))) 0; }

/* ---------------------------------------------------------------- advantages: one strip */
.as-advantages { gap: 0; margin-top: 22px; background: var(--as-card); border-radius: var(--as-radius); box-shadow: inset 0 0 0 1px var(--as-line); overflow: hidden; }
.as-advantage { background: transparent; box-shadow: none; border-radius: 0; }
.as-advantage + .as-advantage { box-shadow: inset 1px 0 0 var(--as-line); }
.as-advantage__icon { background: var(--as-accent-soft); color: var(--ap-link); }
html.ap-dark .as-advantage__icon { color: var(--as-accent); }

/* ---------------------------------------------------------------- section titles: index number style */
.as-section { margin-top: 64px; }
.as-section-head { align-items: flex-end; gap: 20px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--as-line); }
.as-section-title::before { display: none; }
html.sp-head-tech .as-section-title, html.sp-head-tech h2.as-section-title { font-size: 28px; }
.as-section-link { margin-left: auto; }

/* ---------------------------------------------------------------- bento catalog */
.ap-systems__list { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); grid-auto-flow: dense; gap: 12px; }
.ap-system { position: relative; overflow: hidden; }
.ap-system:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.ap-system:nth-child(2), .ap-system:nth-child(3), .ap-system:nth-child(12) { grid-column: span 2; }
.ap-system:nth-child(1) .ap-system__link { padding: 26px; }
.ap-system:nth-child(1) .ap-system__icon { width: 76px; height: 76px; color: var(--as-accent-text); background: var(--as-accent); }
.ap-system:nth-child(1) .ap-system__icon .as-i { width: 42px; height: 42px; }
.ap-system:nth-child(1) .ap-system__name { font-size: 24px; }
.ap-system:nth-child(1) .ap-system__subs { padding: 14px 26px 22px; gap: 8px; }
html.as-theme .ap-system:nth-child(1) .ap-system__subs a { display: inline-block; padding: 6px 12px; font-size: 13px; color: var(--as-text); background: var(--as-soft); border-radius: var(--as-pill); }
.ap-system__cover { position: absolute; right: -40px; bottom: -40px; width: 62%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; opacity: .9; box-shadow: 0 0 0 10px var(--as-soft); }
.ap-system__cover img { width: 100%; height: 100% !important; object-fit: cover; }
.ap-system:nth-child(1) .ap-system__subs, .ap-system:nth-child(1) .ap-system__link { position: relative; z-index: 2; }
.ap-system:not(:first-child) .ap-system__subs { display: none; }
.ap-system:nth-child(2) .ap-system__link, .ap-system:nth-child(3) .ap-system__link, .ap-system:nth-child(12) .ap-system__link { flex-direction: row; align-items: center; gap: 16px; }
.ap-system:nth-child(2) .ap-system__icon, .ap-system:nth-child(3) .ap-system__icon, .ap-system:nth-child(12) .ap-system__icon { margin: 0; }
html.ap-dark .ap-system__icon { color: var(--as-accent); background: var(--as-soft); }
html.ap-dark .ap-system:nth-child(1) .ap-system__icon, html.ap-dark .ap-system:hover .ap-system__icon { color: var(--as-accent-text); background: var(--as-accent); }

/* ---------------------------------------------------------------- car makes: a dense strip */
.ap-makes__list { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; background: var(--as-card); border-radius: var(--as-radius); box-shadow: inset 0 0 0 1px var(--as-line); overflow: hidden; }
html.as-theme .ap-make { border-radius: 0; box-shadow: inset -1px -1px 0 var(--as-line); background: transparent; }
html.as-theme .ap-make:hover { box-shadow: inset -1px -1px 0 var(--as-line); background: var(--as-soft); }
.ap-make__mono { border-radius: var(--as-radius-sm); }
html.ap-dark .ap-make__mono { background: var(--as-soft); }

/* ---------------------------------------------------------------- product tiles: spec cards */
.as-card { box-shadow: inset 0 0 0 1px var(--as-line); }
.as-card__block { padding: 8px 8px 12px; }
.as-card__media { border-radius: calc(var(--as-radius) - 6px); overflow: hidden; background: var(--ap-media, #f3f4f7); }
.thumbs-view .as-card__info, .is-carousel .as-card__info { padding: 0 6px; }
.thumbs-view .as-card__buy, .as-carousel .as-card__buy { padding: 0 6px; }
.as-card__price-top .as-price { font-size: 20px; }
html.ap-dark .thumbs-view .as-card:hover, html.ap-dark .as-carousel .as-card:hover { box-shadow: inset 0 0 0 1.5px var(--as-accent), 0 18px 40px rgba(0,0,0,.45); }
.as-card__delivery { font-size: 12px; }
.as-card__actions .as-button, .as-card__actions input.s-button { height: 42px; border-radius: var(--as-radius-sm) !important; }

/* ---------------------------------------------------------------- price list view (table-view) */
.ap-pl-head { display: none; }
.as-products:has(.as-products__list.table-view) .ap-pl-head {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 130px 130px 250px; gap: 18px; padding: 0 14px 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--as-faint);
}
.as-products__list.table-view { gap: 0; background: var(--as-card); border-radius: var(--as-radius); box-shadow: inset 0 0 0 1px var(--as-line); overflow: hidden; }
.as-products__list.table-view .as-card { border-radius: 0; box-shadow: none; background: transparent; }
.as-products__list.table-view .as-card + .as-card { box-shadow: inset 0 1px 0 var(--as-line); }
.as-products__list.table-view .as-card:hover { background: var(--as-soft); }
.as-products__list.table-view .as-card__block { grid-template-columns: 64px minmax(0, 1fr) 520px; padding: 12px 14px; }
.as-products__list.table-view .as-card__media { width: 64px; height: 64px; border-radius: 10px; }
.as-products__list.table-view .as-card__info { display: flex; flex-direction: column; gap: 3px; }
.as-products__list.table-view .as-card__sku { order: 2; margin: 0; }
.as-products__list.table-view .as-card__name { order: 1; font-size: 14.5px; font-weight: 700; }
.as-products__list.table-view .as-card__features { order: 3; display: flex !important; flex-wrap: wrap; gap: 2px 12px; margin: 0; padding: 0; font-size: 12px; color: var(--as-muted); }
.as-products__list.table-view .as-card__features li { margin: 0; }
.as-products__list.table-view .as-card__links { display: none; }
.as-products__list.table-view .as-card__buy { display: grid; grid-template-columns: 130px 130px 1fr; align-items: center; gap: 18px; }
.as-products__list.table-view .as-stock { order: 1; min-width: 0; font-size: 12.5px; }
.as-products__list.table-view .as-card__prices { order: 2; align-items: flex-start; min-width: 0; }
.as-products__list.table-view .as-card__prices .as-price { font-size: 18px; }
.as-products__list.table-view .as-card__actions { order: 3; }
.as-products__list.table-view .as-card__form { display: flex; gap: 8px; }
.as-products__list.table-view .as-qty { display: flex; }
.as-products__list.table-view .as-card__actions .as-button, .as-products__list.table-view .as-card__actions input.s-button { flex: 1 1 auto; height: 40px; }

/* ---------------------------------------------------------------- footer */
html.with-dark-footer .as-footer .s-footer-block { border-top: 0; box-shadow: inset 0 3px 0 var(--as-accent); }
html.ap-dark .as-footer .s-footer-block { background: var(--as-card); box-shadow: inset 0 3px 0 var(--as-accent), inset 0 0 0 1px var(--as-line); }

/* ---------------------------------------------------------------- product page */
html.ap-dark .as-buycard, html.ap-dark .as-delivery-box, html.ap-dark .as-product__gallery { box-shadow: inset 0 0 0 1px var(--as-line); }
.as-product__side { gap: 14px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1280px) {
  .ap-hero__stats { display: none; }
  .ap-finder__pane.is-active { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 190px; }
  .ap-systems__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ap-system:nth-child(12) { grid-column: span 1; }
  .as-products__list.table-view .as-card__block { grid-template-columns: 64px minmax(0, 1fr) 440px; }
  .as-products__list.table-view .as-card__buy { grid-template-columns: 100px 110px 1fr; }
  .as-products:has(.as-products__list.table-view) .ap-pl-head { grid-template-columns: 64px minmax(0, 1fr) 100px 110px 194px; }
}
@media (max-width: 1100px) {
  .ap-finder { grid-template-columns: 1fr; }
  .ap-finder__head { grid-row: auto; flex-direction: row; align-items: center; width: auto; padding: 0; border: 0; }
}
@media (max-width: 900px) {
  .ap-hero__stage { min-height: 0; gap: 22px; padding: 30px var(--as-gutter) 22px; }
  html.as-theme .ap-hero__title { font-size: 27px; }
  .ap-hero__title::after { width: 56px; height: 4px; margin-top: 14px; }
  .ap-hero__text { font-size: 14.5px; }
  .ap-finder { padding: 14px; }
  .ap-finder__tabs { justify-self: stretch; }
  .ap-finder__tab { flex: 1 1 0; padding: 0 6px; }
  .ap-finder__pane.is-active, .ap-finder__pane[data-pane="sku"].is-active { grid-template-columns: 1fr; }
  .ap-finder__pane > .ap-check, .ap-finder__pane > .ap-finder__note, .ap-finder__pane > .ap-finder__hints, .ap-finder__pane > .ap-finder__error { grid-row: auto; }
  .ap-finder__pane[data-pane="sku"] .ap-finder__submit { grid-column: auto; grid-row: auto; }
  .ap-hero__promos { margin: 16px var(--as-gutter) 0; }
  .as-section { margin-top: 40px; }
  html.sp-head-tech .as-section-title, html.sp-head-tech h2.as-section-title { font-size: 20px; }
  .as-advantages { display: flex; overflow-x: auto; scrollbar-width: none; }
  .as-advantage { flex: none; width: 260px; }
  .ap-systems__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; overflow: visible; margin: 0; padding: 0; }
  .ap-system, .ap-system:nth-child(n) { width: auto; grid-column: span 1; grid-row: span 1; }
  .ap-system:nth-child(1) { grid-column: span 2; }
  .ap-system:nth-child(1) .ap-system__link { padding: 18px; }
  .ap-system:nth-child(1) .ap-system__name { font-size: 19px; }
  .ap-system:nth-child(1) .ap-system__subs { display: flex; padding: 0 18px 16px; }
  .ap-system:nth-child(2) .ap-system__link, .ap-system:nth-child(3) .ap-system__link, .ap-system:nth-child(12) .ap-system__link { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ap-system:nth-child(2) .ap-system__icon, .ap-system:nth-child(3) .ap-system__icon, .ap-system:nth-child(12) .ap-system__icon { margin-bottom: 6px; }
  .ap-makes__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-pl-head, .as-products:has(.as-products__list.table-view) .ap-pl-head { display: none; }
  .as-products__list.table-view .as-card__block { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
  .as-products__list.table-view .as-card__media { width: 56px; height: 56px; }
  .as-products__list.table-view .as-card__buy { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; gap: 12px; }
  .as-products__list.table-view .as-stock { display: flex; }
  .as-products__list.table-view .as-qty { display: none; }
}
.ap-garage__clear[hidden] { display: none; }
.ap-hero__chip.is-3, .ap-hero__chip.is-6 { display: none !important; }
html.ap-dark .s-description-section, html.ap-dark .s-description-section p, html.ap-dark .s-description-section li { color: var(--as-text) !important; }
html.ap-dark .s-description-section.is-top { background: var(--as-card); box-shadow: inset 0 0 0 1px var(--as-line); }
.as-products__list.table-view .as-stock { flex-wrap: nowrap; white-space: nowrap; }
.as-products__list.table-view .as-card__block { grid-template-columns: 64px minmax(0, 1fr) 560px; }
.as-products__list.table-view .as-card__buy { grid-template-columns: 170px 120px 1fr; }
.as-products:has(.as-products__list.table-view) .ap-pl-head { grid-template-columns: 64px minmax(0, 1fr) 170px 120px 234px; }
@media (max-width: 1280px) {
  .as-products__list.table-view .as-card__block { grid-template-columns: 64px minmax(0, 1fr) 470px; }
  .as-products__list.table-view .as-card__buy { grid-template-columns: 150px 110px 1fr; }
  .as-products:has(.as-products__list.table-view) .ap-pl-head { grid-template-columns: 64px minmax(0, 1fr) 150px 110px 174px; }
}
@media (max-width: 900px) {
  .as-products__list.table-view .as-card__block { grid-template-columns: 56px minmax(0, 1fr); }
  .as-products__list.table-view .as-card__buy { grid-template-columns: auto auto 1fr; }
}
html.with-dark-header.as-theme .as-search__input, html.with-dark-header.as-theme .as-search__input:focus { background: transparent !important; }


/* ---------------------------------------------------------------- quick buy dialog (product.cart.dialog.html, ap-qbuy-*) */
.s-dialog-wrapper { z-index: 1000; background: rgba(8, 9, 12, .62); backdrop-filter: blur(6px); }
html:not(.ap-dark) .s-dialog-wrapper { background: rgba(17, 19, 24, .45); }
.s-dialog-wrapper .s-dialog-block { width: 640px; min-width: 0; max-width: calc(100vw - 32px); border-radius: var(--as-radius); box-shadow: var(--as-shadow-strong), inset 0 0 0 1px var(--as-line); }
.s-dialog-wrapper .s-dialog-block .s-close-icon {
  top: 14px; right: 14px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0;
  font-size: 24px; line-height: 1; color: var(--as-muted); background: var(--as-soft); border-radius: 50%; transition: color .15s, background .15s;
}
.s-dialog-wrapper .s-dialog-block .s-close-icon:hover { color: var(--as-text); background: var(--as-line); }

.ap-qbuy .ap-qbuy__head { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: start; padding: 26px 64px 22px 26px; }
.ap-qbuy__media { width: 112px; height: 112px; overflow: hidden; background: var(--ap-media, var(--as-soft)); border-radius: var(--as-radius-md); }
.ap-qbuy__media img { width: 100%; height: 100% !important; object-fit: cover; }
.ap-qbuy__info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ap-qbuy__eyebrow { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ap-link); }
html.as-theme .ap-qbuy__title { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--as-text); }
html.sp-head-tech .ap-qbuy__title { font-family: var(--ap-head); font-weight: 600; letter-spacing: -.02em; }
.ap-qbuy__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
html.as-theme .ap-qbuy__rating { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--as-muted); }
.ap-qbuy__summary { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--as-muted); }

.ap-qbuy .ap-qbuy__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 26px 22px; background: var(--as-soft); border-top: 1px solid var(--as-line); border-bottom: 1px solid var(--as-line); }
.ap-qbuy .ap-qbuy__body > * { margin: 0; }
.ap-qbuy__label { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--as-muted); }
.ap-qbuy__label:not(:first-child) { margin-top: 8px !important; }

/* variants: one row each */
.ap-qbuy__skus { display: flex; flex-direction: column; gap: 8px; }
.ap-qbuy__sku { margin: 0; }
html.as-theme .ap-qbuy__sku-label {
  position: relative; display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 16px; cursor: pointer;
  background: var(--as-card); border-radius: var(--as-radius-sm); box-shadow: inset 0 0 0 1.5px var(--as-line); transition: box-shadow .15s, background .15s;
}
.ap-qbuy__sku-label:hover { box-shadow: inset 0 0 0 1.5px var(--as-line-strong); }
.ap-qbuy__sku-label input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ap-qbuy__radio { flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--as-line-strong); transition: box-shadow .15s; }
.ap-qbuy__sku-text { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-width: 0; }
.ap-qbuy__sku-name { font-size: 15px; font-weight: 700; color: var(--as-text); }
.ap-qbuy__sku-code { font-family: var(--ap-mono); font-size: 12px; letter-spacing: .02em; color: var(--as-muted); }
.ap-qbuy__sku-price { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; flex: none; }
.ap-qbuy__sku-amount { font-size: 16px; font-weight: 800; color: var(--as-text); white-space: nowrap; }
.ap-qbuy__sku-old { font-size: 12px; color: var(--as-faint); text-decoration: line-through; white-space: nowrap; }
.ap-qbuy__sku-label:has(input:checked) { background: color-mix(in srgb, var(--as-accent) 9%, var(--as-card)); box-shadow: inset 0 0 0 2px var(--as-accent); }
.ap-qbuy__sku-label:has(input:checked) .ap-qbuy__radio { box-shadow: inset 0 0 0 6px var(--as-accent); }
.ap-qbuy__sku-label:has(input:focus-visible) { outline: 2px solid var(--as-text); outline-offset: 2px; }
.ap-qbuy__sku.is-disabled .ap-qbuy__sku-label { cursor: default; opacity: .5; }
.ap-qbuy__sku.is-disabled .ap-qbuy__sku-name { text-decoration: line-through; }

/* selectable features: chips */
.ap-qbuy__chips { display: flex; flex-wrap: wrap; gap: 8px; }
html.as-theme .ap-qbuy__chips a {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; font-size: 14px; font-weight: 700; color: var(--as-text);
  background: var(--as-card); border-radius: var(--as-radius-sm); box-shadow: inset 0 0 0 1.5px var(--as-line);
}
html.as-theme .ap-qbuy__chips a.selected { color: var(--as-accent-text); background: var(--as-accent); box-shadow: none; }
.ap-qbuy__chips.color a { width: 38px; min-height: 38px; padding: 0; border-radius: 50%; }
.ap-qbuy__chips.color .color_name { display: none; }

/* stock line */
.ap-qbuy__stock strong { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; }
.ap-qbuy__stock .s-icon { width: 8px; height: 8px; border-radius: 50%; background: var(--as-faint); }
.ap-qbuy__stock .s-icon.green { background: var(--as-ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--as-ok) 18%, transparent); }
.ap-qbuy__stock .s-icon.yellow { background: var(--as-warn); }
.ap-qbuy__stock .s-icon.red { background: var(--as-sale); }
.ap-qbuy__stock .stock-high { color: var(--as-ok); }
html.ap-dark .ap-qbuy__stock .stock-high { color: #3ddc84; }
.ap-qbuy__stock .stock-none, .ap-qbuy__stock .sku-no-stock { color: var(--as-muted); }
.ap-qbuy__stock .s-stock-item { display: flex; gap: 8px; font-size: 13px; }
.ap-qbuy__services label { display: flex; align-items: center; gap: 8px; font-size: 14px; }

/* footer: total and buttons */
.ap-qbuy .ap-qbuy__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 26px 22px; }
.ap-qbuy .ap-qbuy__foot > .s-layout { display: none; }
.ap-qbuy__total { display: flex; flex-direction: column; gap: 2px; }
.ap-qbuy__total-label { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--as-muted); }
.ap-qbuy__prices { display: flex; align-items: baseline; gap: 10px; }
.ap-qbuy__prices .as-price { font-size: 26px; }
.ap-qbuy__prices .is-hidden { display: none; }
.ap-qbuy__actions { display: flex; align-items: center; gap: 10px; }
.ap-qbuy__actions .as-button { height: 50px; }
.ap-qbuy__actions .js-submit-button { min-width: 180px; }
html.as-theme .ap-qbuy__more { font-size: 13.5px; }

@media (max-width: 640px) {
  .s-dialog-wrapper .s-dialog-block { width: auto; margin: 0 8px 24px; max-width: none; }
  .ap-qbuy .ap-qbuy__head { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 18px 54px 16px 16px; }
  .ap-qbuy__media { width: 76px; height: 76px; }
  html.as-theme .ap-qbuy__title { font-size: 16px; }
  .ap-qbuy__summary { display: none; }
  .ap-qbuy .ap-qbuy__body { padding: 16px; }
  .ap-qbuy .ap-qbuy__foot { flex-direction: column; align-items: stretch; padding: 14px 16px 18px; }
  .ap-qbuy__actions { flex-direction: column-reverse; align-items: stretch; }
  .ap-qbuy__actions .as-button, .ap-qbuy__actions .js-submit-button { width: 100%; }
}
