/* Self-hosted Noto Sans Georgian (ka + latin) and Noto Sans (cyrillic) — CSP allows only 'self'.
   Each file is a variable font covering weights 400–800: one @font-face per script, one download. */
@font-face { font-family: "ASB Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/nsg-georgian-400.woff2) format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "ASB Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/nsg-latin-400.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+20BE, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "ASB Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/ns-cyrillic-400.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
/* ASB Trade Catalog — v3 brand styles. No Tailwind, no CSS variables.
   All colors are explicit hex literals per Branding.md §1. */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: contain;
}

body {
  font-family: "ASB Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #FFFFFF;
  color: #1A1A1A;
  font-size: 13px;
  line-height: 1.4;
}

button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; color: #1A1A1A; }

input[type="search"]::-webkit-search-cancel-button { display: none; }
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }

.mono {
  font-family: 'SF Mono', 'Roboto Mono', Menlo, Consolas, 'Courier New', monospace;
}

.hidden { display: none !important; }

.asb-app {
  min-height: 100vh;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
}

/* ============ HEADER (black, safe-area for iPhone notch / status bar) ============ */
.asb-header {
  background: #0F0F0F;
  /* iOS status bar reservation. env() returns ~47-59px on notched iPhones in
     standalone PWA mode; some Safari paths still resolve it to 0 (and headless
     Chromium definitely does). max() keeps a hard minimum of 32px so the
     status bar never overlaps the logo / back-arrow / title. */
  padding-top: max(32px, calc(16px + env(safe-area-inset-top)));
  padding-right: 16px;
  padding-bottom: 14px;
  padding-left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.asb-header__left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.asb-header__title {
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: -0.1px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asb-header__sku-count {
  font-size: 11px;
  font-weight: 500;
  color: #6B6B68;
}

.asb-header__brand,
.asb-logo {
  display: flex;
  align-items: center;
  gap: 9px;
}

/* Original ASB Trade logo mark — viewBox 484×368, ratio ≈1.32:1.
   Use 28×21 (NOT square) per C1.5 spec. fill=currentColor inside SVG. */
.asb-logo-mark {
  display: inline-flex;
  width: 28px;
  height: 21px;
  color: #1FBFC4;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}
.asb-logo-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.asb-logo-text {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.4px;
  color: #FFFFFF;
}

.asb-back {
  background: transparent;
  border: none;
  color: #FFFFFF;
  /* 44×44 tap target per Apple HIG; SVG inside stays 16×16 */
  width: 44px;
  height: 44px;
  margin-left: -10px; /* visually align with content edge while keeping hit-area */
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.asb-lang {
  display: flex;
  gap: 0;
}

.asb-lang__btn {
  font-size: 11px;
  font-weight: 500;
  /* Visual pill stays small; tap target enlarged via min-width/height */
  padding: 8px 12px;
  min-width: 36px;
  min-height: 32px;
  border-radius: 4px;
  background: transparent;
  color: #6B6B68;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.asb-lang__btn--active {
  background: #1FBFC4;
  color: #FFFFFF;
}

/* ============ SEARCH ROW ============ */
.asb-search-row {
  padding: 14px 16px 0;
  background: #FFFFFF;
}

.asb-search {
  background: #F4F2EC;
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #1A1A1A;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  outline: none;
}

.asb-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 12px;
  font-weight: 500;
  color: #1A1A1A;
  padding: 0;
  min-width: 0;
}

.asb-search input::placeholder { color: #6B6B68; opacity: 1; }

/* ============ MAIN PAGE ============ */
.asb-page {
  /* Bottom padding clears the floating cart (56 + 16 gap + 24 breathing + safe-area) */
  padding: 18px 16px calc(96px + env(safe-area-inset-bottom));
  flex: 1;
}

.asb-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.asb-section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.6px;
  color: #6B6B68;
  text-transform: uppercase;
}

.asb-section-count {
  font-size: 11px;
  font-weight: 500;
  color: #6B6B68;
}

/* ============ CATEGORY GRID (home) ============ */
.asb-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.asb-cat-card {
  border: 1px solid #E5E3DA;
  border-radius: 10px;
  padding: 14px 12px;
  background: #FFFFFF;
  text-align: left;
  display: block;
  cursor: pointer;
}

.asb-cat-card:active { background: #FAF9F4; }

.asb-cat-card__icon {
  width: 20px;
  height: 20px;
  margin-bottom: 12px;
  color: #1FBFC4;
  stroke: #1FBFC4;
  stroke-width: 1.6;
  fill: none;
  display: block;
}
.asb-cat-card__icon svg {
  stroke: #1FBFC4;
  stroke-width: 1.6;
  width: 20px;
  height: 20px;
}

.asb-cat-card__name {
  font-size: 13px;
  font-weight: 500;
  color: #1A1A1A;
  letter-spacing: -0.1px;
  line-height: 1.3;
}

.asb-cat-card__count {
  font-size: 11px;
  font-weight: 500;
  color: #6B6B68;
  margin-top: 2px;
}

/* ============ PRODUCT ROW (category / search results) ============ */
.asb-product-list { padding: 0; }

.asb-product-row {
  border-bottom: 1px solid #E5E3DA;
  padding: 10px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}

.asb-product-row:last-child { border-bottom: none; }

.asb-product-img {
  /* Wrapper for the 60×60 thumb tile. Must keep `position: relative` and NOT
     clip overflow — the .asb-img-badge sits at top:-5/right:-5 and a
     overflow:hidden here would shave it off, which is what made the badge
     sit inside the photo on AY02-00250 instead of the corner.
     Rounded corners are now applied to the inner <img>/<svg> instead. */
  width: 60px;
  height: 60px;
  background: #F4F2EC;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.asb-product-img img,
.asb-product-img .asb-product-img__ph {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.asb-product-img__ph {
  width: 32px;
  height: 32px;
  color: #5A5A57;
  stroke: #5A5A57;
  stroke-width: 1.4;
  fill: none;
  display: block;
}
.asb-product-img__ph svg {
  stroke: #5A5A57;
  stroke-width: 1.4;
  width: 100%;
  height: 100%;
}

.asb-product-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* width is constrained by parent flex sizing; no extra rules needed */
}

.asb-product-sku {
  font-size: 10px;
  font-weight: 500;
  color: #6B6B68;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.asb-product-name {
  font-size: 13px;
  font-weight: 500;
  color: #1A1A1A;
  letter-spacing: -0.1px;
  line-height: 1.3;
  margin-top: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.asb-filters-row {
  padding: 14px 16px 0;
  background: #FFFFFF;
}

.asb-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.asb-filter {
  font-size: 11px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  user-select: none;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.asb-filter--idle {
  background: #F4F2EC;
  color: #1A1A1A;
}

.asb-filter--active {
  background: #1FBFC4;
  color: #FFFFFF;
}

.asb-badges {
  display: flex;
  gap: 4px;
  margin-top: 7px;
  flex-wrap: wrap;
}

.asb-badge {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  line-height: 1.4;
}

.asb-badge--neutral { background: #F4F2EC; color: #1A1A1A; }
.asb-badge--warm    { background: #FAEEDA; color: #412402; }
.asb-badge--cool    { background: #E6F1FB; color: #042C53; }

.asb-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.asb-product-bottom > .asb-product-price {
  flex-shrink: 0;
}

.asb-product-bottom > .asb-add-btn,
.asb-product-bottom > .asb-qty {
  flex-shrink: 0;
}

.asb-product-price {
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.asb-product-price__gel {
  font-size: 11px;
  font-weight: 500;
  color: #6B6B68;
  letter-spacing: 0.5px;
  margin-left: 2px;
}

/* ============ ADD-TO-CART BUTTON / QTY (Branding §7) ============ */
.asb-add-btn {
  background: #1FBFC4;
  color: #FFFFFF;
  border: none;
  font-size: 11px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.asb-qty {
  display: flex;
  align-items: center;
  background: #F4F2EC;
  border-radius: 999px;
  padding: 2px;
}

.asb-qty__btn {
  /* 32×32 — bigger than the original 24 so it works in gloves on a building site */
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.asb-qty__btn--minus { background: transparent; color: #1A1A1A; }
.asb-qty__btn--plus { background: #1FBFC4; color: #FFFFFF; }

.asb-qty__num {
  font-size: 12px;
  font-weight: 500;
  color: #1A1A1A;
  min-width: 18px;
  text-align: center;
  padding: 0 2px;
}

/* image-corner badge "3" — must rest above the placeholder/img layer */
.asb-img-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1FBFC4;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

/* ============ DETAIL VIEW ============ */
.asb-detail {
  padding: 14px 16px 100px;
}

.asb-detail__img {
  /* Same overflow:hidden trap as .asb-product-img — keep it clean so the
     corner badge isn't clipped on detail page. Rounded corners on the
     inner element instead. */
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #F4F2EC;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 14px;
}

.asb-detail__img img,
.asb-detail__img .asb-product-img__ph {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.asb-detail__brand-cat {
  font-size: 11px;
  font-weight: 500;
  color: #6B6B68;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}

.asb-detail__name {
  font-size: 16px;
  font-weight: 500;
  color: #1A1A1A;
  letter-spacing: -0.1px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.asb-detail__price {
  font-size: 22px;
  font-weight: 700;
  color: #1A1A1A;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}

.asb-detail__meta {
  font-size: 11px;
  color: #6B6B68;
  margin-bottom: 14px;
  line-height: 1.6;
}

.asb-detail__meta-key { color: #6B6B68; }
.asb-detail__meta-val { color: #1A1A1A; }

.asb-detail__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.asb-detail__cta .asb-add-btn {
  font-size: 13px;
  padding: 12px 18px;
  flex: 1;
}

/* ============ CART VIEW ============ */
.asb-cart-empty {
  text-align: center;
  padding: 60px 16px;
  color: #6B6B68;
  font-size: 13px;
}

.asb-cart-list { padding: 0; margin-bottom: 14px; }

.asb-cart-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #E5E3DA;
}

.asb-cart-item:last-child { border-bottom: none; }

.asb-cart-item__info {
  flex: 1;
  min-width: 0;
}

.asb-cart-item__name {
  font-size: 13px;
  font-weight: 500;
  color: #1A1A1A;
  letter-spacing: -0.1px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.asb-cart-item__sku {
  font-size: 10px;
  font-weight: 500;
  color: #6B6B68;
  letter-spacing: 0.3px;
  margin-top: 3px;
}

.asb-cart-item__line {
  font-size: 12px;
  color: #1A1A1A;
  margin-top: 4px;
}

.asb-cart-item__line b {
  font-weight: 700;
  letter-spacing: -0.1px;
}

.asb-cart-item__remove {
  background: transparent;
  border: none;
  color: #6B6B68;
  /* 36×36 tap target with 16×16 SVG centered */
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.asb-order-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid #E5E3DA;
  padding-top: 14px;
}

.asb-invoice-off {
  text-align: center;
  color: #8A8A85;
  font-size: 13px;
  padding: 10px 8px;
  background: #F5F4EF;
  border-radius: 8px;
}

/* Pill-segmented buyer-type toggle (Wave 3 §C3). */
.asb-buyer-toggle {
  display: flex;
  background: #F4F2EC;
  border-radius: 999px;
  padding: 3px;
  gap: 0;
}
.asb-buyer-toggle__btn {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #1A1A1A;
  cursor: pointer;
  letter-spacing: 0.1px;
}
.asb-buyer-toggle__btn--active {
  background: #1FBFC4;
  color: #FFFFFF;
}

.asb-order-form label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #6B6B68;
  letter-spacing: 0.3px;
}

.asb-order-form select,
.asb-order-form textarea {
  margin-top: 6px;
  width: 100%;
  background: #F4F2EC;
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #1A1A1A;
  outline: none;
  resize: none;
}

.asb-order-form textarea { min-height: 60px; line-height: 1.5; }

.asb-order-form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  gap: 10px;
}

.asb-order-form__total-block { display: flex; flex-direction: column; }

.asb-order-form__total-label {
  font-size: 11px;
  font-weight: 500;
  color: #6B6B68;
  letter-spacing: 0.3px;
}

.asb-order-form__total-value {
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1A;
  letter-spacing: -0.3px;
}

.asb-btn-secondary {
  background: #F4F2EC;
  color: #1A1A1A;
  border: none;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 999px;
}

.asb-btn-primary {
  background: #1FBFC4;
  color: #FFFFFF;
  border: none;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
}

.asb-btn-primary[disabled],
.asb-add-btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

/* ============ FLOATING CART (black, radius 12, NOT pill) ============ */
.asb-cart-fab {
  position: fixed;
  left: 16px;
  right: 16px;
  /* Home-indicator gap with min fallback for browsers where env=0. */
  bottom: max(20px, calc(16px + env(safe-area-inset-bottom)));
  max-width: 428px;
  margin-inline: auto;
  background: #0F0F0F;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  /* min-height 56px — comfortable tap; vertical padding enforces consistency */
  min-height: 56px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  z-index: 30;
  cursor: pointer;
}

.asb-cart-fab__left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.asb-cart-fab__count-badge {
  background: #1FBFC4;
  color: #0F0F0F;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  min-width: 22px;
  text-align: center;
}

.asb-cart-fab__total {
  font-size: 13px;
  font-weight: 500;
  color: #FFFFFF;
}

/* ============ TOAST ============ */
.asb-toast {
  position: fixed;
  /* Sit above the floating cart-fab (which is 56px tall, bottom 16+sai-bot).
     min 96 keeps an 8-px gap above the cart on phones without home-indicator. */
  bottom: max(96px, calc(80px + env(safe-area-inset-bottom)));
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  z-index: 50;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 9px;
  max-width: calc(100vw - 32px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}
.asb-toast--visible {
  display: flex;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.asb-toast--success { background: #1FBFC4; color: #FFFFFF; }
.asb-toast--error { background: #FCEBEB; color: #501313; }
.asb-toast--info { background: #F4F2EC; color: #1A1A1A; }
.asb-toast__icon { display: inline-flex; align-items: center; flex-shrink: 0; }

/* ============ MISC ============ */
.asb-empty {
  text-align: center;
  padding: 48px 16px;
  color: #6B6B68;
  font-size: 13px;
}

.asb-offline-banner {
  background: #F4F2EC;
  color: #1A1A1A;
  font-size: 11px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

img.broken-img {
  object-fit: contain;
  padding: 12px;
  opacity: 0.4;
}

.fade-in { animation: fade 200ms ease-out; }
@keyframes fade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

/* =================== contacts: footer / fab / modal =================== */

.asb-footer {
  background: #0F0F0F;
  color: #E7E7E4;
  margin-top: 40px;
  padding: 26px 16px calc(96px + env(safe-area-inset-bottom)); /* keep clear of cart bar */
}
.asb-footer__inner { max-width: 960px; margin: 0 auto; }
.asb-footer__title { font-size: 15px; font-weight: 700; color: #1FBFC4; margin-bottom: 14px; }
.asb-footer__links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.asb-footer__link {
  display: inline-flex; align-items: center; gap: 8px;
  color: #E7E7E4; text-decoration: none; font-size: 14px;
}
.asb-footer__link svg { color: #1FBFC4; flex-shrink: 0; }
.asb-footer__link:active { color: #1FBFC4; }
.asb-footer__bottom {
  margin-top: 22px; padding-top: 14px; border-top: 1px solid #262626;
  display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px 28px;
  padding-right: 72px; /* keep clear of the floating contact button */
  font-size: 12.5px; color: #8A8A86;
}
.asb-footer__cta {
  margin-top: 18px; border: 1px solid #1FBFC4; background: transparent;
  color: #1FBFC4; border-radius: 10px; padding: 9px 18px;
  font-size: 14px; font-weight: 600; cursor: pointer;
}

.asb-contact-fab-wrap {
  position: fixed; right: 16px;
  /* above the full-width cart bar */
  bottom: max(96px, calc(92px + env(safe-area-inset-bottom)));
  z-index: 40;
}
.asb-contact-fab {
  width: 54px; height: 54px; border-radius: 50%;
  background: #1FBFC4; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.asb-contact-fab:active { background: #17999D; }
.asb-contact-menu {
  position: absolute; right: 0; bottom: 62px;
  background: #FFF; border: 1px solid #E5E3DA; border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  overflow: hidden; min-width: 180px;
  display: flex; flex-direction: column;
}
.asb-contact-menu__item {
  padding: 13px 18px; font-size: 14px; font-weight: 600;
  color: #1A1A1A; text-decoration: none; text-align: left;
  border: none; background: none; cursor: pointer;
  border-bottom: 1px solid #F4F2EC; font-family: inherit;
}
.asb-contact-menu__item:last-child { border-bottom: none; }
.asb-contact-menu__item:active { background: #F4F2EC; }
.asb-contact-menu__item--btn { color: #17999D; }

.asb-contact-modal {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(15,15,15,0.55);
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.asb-contact-modal__card {
  position: relative; background: #FFF; border-radius: 16px;
  padding: 22px; width: 100%; max-width: 380px;
}
.asb-contact-modal__close {
  position: absolute; top: 8px; right: 12px;
  border: none; background: none; font-size: 26px; color: #6B6B68; cursor: pointer;
}
.asb-contact-modal__title { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.asb-contact-modal form { display: flex; flex-direction: column; gap: 12px; }
.asb-contact-modal label { display: block; font-size: 13px; font-weight: 600; }
.asb-contact-modal input, .asb-contact-modal textarea {
  display: block; width: 100%; margin-top: 5px; box-sizing: border-box;
  padding: 10px 12px; border: 1px solid #E5E3DA; border-radius: 10px;
  font-family: inherit; font-size: 15px; font-weight: 400;
}
.asb-contact-modal__send { align-self: flex-start; }
.asb-contact-modal__status { font-size: 13px; min-height: 18px; color: #6B6B68; }
.asb-contact-modal__status.ok { color: #1E8E3E; }
.asb-contact-modal__status.err { color: #C0392B; }
.asb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Crawler-visible static block (prerender.py); replaced by the app on first render. */
.asb-static { padding: 16px; color: #1A1A1A; font-size: 14px; line-height: 1.5; }
.asb-static h1 { font-size: 18px; margin: 0 0 10px; }
.asb-static h2 { font-size: 15px; margin: 18px 0 8px; }
.asb-static ul { padding-left: 18px; margin: 0; }
.asb-static li { margin: 3px 0; }
.asb-static a { color: #0E7C80; }
.asb-static img { max-width: 160px; height: auto; display: block; margin: 8px 0; }

/* =================== STORE (2026-10) =================== */
.asb-header__phone { color: #E7E7E4; text-decoration: none; font-size: 12.5px; font-weight: 600; margin-left: auto; white-space: nowrap; }
@media (max-width: 380px) { .asb-header__phone { display: none; } }

.asb-h2 { font-size: 17px; font-weight: 800; letter-spacing: -0.2px; margin: 0; color: #1A1A1A; }
.asb-link { background: none; border: none; padding: 0; color: #0E7C80; font-size: 13px; font-weight: 600; }
.asb-page > .asb-section-head { margin-top: 24px; }

/* hero: generated warehouse still-life; photo on top on phones, text beside it on desktop */
.asb-hero { position: relative; border-radius: 18px; overflow: hidden; background: #0E1113; color: #FFFFFF; }
.asb-hero__media img { display: block; width: 100%; height: 220px; object-fit: cover; object-position: 78% 50%; }
.asb-hero__media { position: relative; }
.asb-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,17,19,0) 45%, #0E1113 100%); }
.asb-hero__body { position: relative; padding: 0 18px 20px; margin-top: -36px; }
.asb-hero__title { font-size: 26px; line-height: 1.1; font-weight: 800; letter-spacing: -0.6px; margin: 0 0 10px; text-wrap: balance; }
.asb-hero__title em { font-style: normal; color: #1FBFC4; }
.asb-hero__sub { margin: 0 0 16px; color: #C9CBC7; font-size: 14px; line-height: 1.5; max-width: 46ch; }
.asb-hero__btns { display: flex; gap: 8px; flex-wrap: wrap; }
@media (min-width: 860px) {
  .asb-hero { display: grid; grid-template-columns: 1fr; min-height: 380px; }
  .asb-hero__media { position: absolute; inset: 0; }
  .asb-hero__media img { height: 100%; object-position: right center; }
  .asb-hero__media::after { background: linear-gradient(90deg, #0E1113 30%, rgba(14,17,19,.7) 48%, rgba(14,17,19,0) 70%); }
  .asb-hero__body { margin: 0; padding: 48px 44px; max-width: 520px; align-self: center; }
  .asb-hero__title { font-size: 40px; }
}

.asb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 11px; padding: 12px 18px; font-size: 14px; font-weight: 700; }
.asb-btn--teal { background: #1FBFC4; color: #062A2B; }
.asb-btn--teal:active { background: #17A9AE; }
.asb-btn--ghost { background: transparent; color: #FFFFFF; border: 1px solid #3A3B39; }
.asb-btn--full { width: 100%; margin-top: 12px; padding: 14px; font-size: 15px; }
.asb-btn:focus-visible, .asb-add-btn:focus-visible, .asb-group:focus-visible, .asb-card:focus-visible { outline: 2px solid #1FBFC4; outline-offset: 2px; }

.asb-props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.asb-prop { background: #F4F2EC; border-radius: 12px; padding: 10px; font-size: 11.5px; line-height: 1.35; color: #4A4D4B; }
.asb-prop b { display: block; font-size: 13px; color: #1A1A1A; margin-bottom: 2px; }

/* POLUS (official distributor): banner on home and on top of its section; square photo on
   phones with the text under it, wide photo on desktop with the text on its dark left side */
.asb-promo { position: relative; display: block; margin: 12px 0 4px; border-radius: 18px; overflow: hidden; background: #0E1113; color: #FFFFFF; text-decoration: none; }
.asb-promo__media { display: block; }
.asb-promo__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 62%; }
.asb-promo__body { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 18px 18px; }
.asb-promo__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: #1FBFC4; }
.asb-promo__title { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.05; }
.asb-promo__sub { font-size: 14px; line-height: 1.5; color: #C9CBC7; max-width: 46ch; }
.asb-promo .asb-btn { margin-top: 8px; }
.asb-promo--top { margin: 0 0 14px; }
.asb-promo--top .asb-promo__media img { aspect-ratio: 16 / 9; object-position: 50% 66%; }
@media (min-width: 860px) {
  .asb-promo { display: grid; min-height: 340px; }
  .asb-promo--top { min-height: 220px; }
  .asb-promo__media { position: absolute; inset: 0; }
  .asb-promo__media img, .asb-promo--top .asb-promo__media img { height: 100%; aspect-ratio: auto; object-position: right center; }
  .asb-promo__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,17,19,.8) 0%, rgba(14,17,19,.3) 36%, rgba(14,17,19,0) 52%); }
  .asb-promo__body { align-self: center; max-width: 470px; padding: 40px 44px; }
  .asb-promo--top .asb-promo__body { padding: 28px 36px; }
  .asb-promo__title { font-size: 46px; }
}
a.asb-promo:hover .asb-btn { filter: brightness(1.06); }


/* sections (groups) */
.asb-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 860px) { .asb-groups { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.asb-group { display: flex; flex-direction: column; text-align: left; background: #FFFFFF; border: 1px solid #E5E3DA; border-radius: 14px; padding: 8px; color: #1A1A1A; }
.asb-group:active { background: #FAF9F4; }
.asb-group__media { display: grid; place-items: center; aspect-ratio: 4 / 3; max-width: 100%; background: #FFFFFF; border-radius: 10px; overflow: hidden; }
.asb-group__media img { width: 100%; height: 100%; object-fit: cover; }
.asb-group__ph { width: 44px; height: 44px; color: #1FBFC4; }
.asb-group__ph svg { width: 100%; height: 100%; }
.asb-group__text { display: flex; flex-direction: column; gap: 1px; padding: 8px 4px 2px; min-width: 0; }
.asb-group__text b { font-size: 14px; font-weight: 800; letter-spacing: -0.1px; }
.asb-group__text span { font-size: 11.5px; color: #6B6B68; }
.asb-group__text em { font-style: normal; font-size: 11px; color: #6B6B68; margin-top: 2px; }

.asb-steps { display: grid; gap: 8px; }
@media (min-width: 860px) { .asb-steps { grid-template-columns: repeat(3, 1fr); } }
.asb-step { display: flex; gap: 12px; align-items: flex-start; background: #F4F2EC; border-radius: 12px; padding: 12px; }
.asb-step i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #1FBFC4; color: #062A2B; font-style: normal; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.asb-step b { display: block; font-size: 13.5px; margin-bottom: 2px; }
.asb-step span { font-size: 12.5px; color: #4A4D4B; line-height: 1.45; }

.asb-pack-note { margin: 12px 0 0; background: #E8F8F8; color: #0B5F62; border-radius: 10px; padding: 8px 10px; font-size: 12px; }
.asb-filters-row { padding: 0; }
.asb-filters .mono { opacity: .6; margin-left: 3px; }

/* product cards */
.asb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
@media (min-width: 640px) { .asb-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .asb-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.asb-card { display: flex; flex-direction: column; gap: 4px; background: #FFFFFF; border: 1px solid #E5E3DA; border-radius: 14px; padding: 10px; min-width: 0; cursor: pointer; }
.asb-card__img { position: relative; aspect-ratio: 1 / 1; max-width: 100%; background: #F4F2EC; border-radius: 10px; display: grid; place-items: center; }
.asb-card__img img { width: 88%; height: 88%; object-fit: contain; border-radius: 8px; }
.asb-card__img .asb-product-img__ph { width: 40px; height: 40px; }
.asb-card__brand { font-size: 10.5px; font-weight: 600; color: #6B6B68; letter-spacing: .5px; text-transform: uppercase; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asb-card__name { font-size: 12.5px; font-weight: 600; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.asb-card__pack { font-size: 11.5px; color: #4A4D4B; }
.asb-card__pack--muted { color: #9A4000; }
.asb-card__price { display: flex; flex-direction: column; margin-top: auto; padding-top: 2px; }
.asb-card__big { font-size: 17px; font-weight: 800; letter-spacing: -0.3px; font-variant-numeric: tabular-nums; }
.asb-card__unit { font-size: 11px; color: #6B6B68; font-variant-numeric: tabular-nums; }
.asb-card .asb-add-btn { width: 100%; margin-top: 6px; padding: 9px 8px; border-radius: 9px; font-size: 12.5px; font-weight: 700; background: #0F0F0F; color: #FFFFFF; }
.asb-card .asb-add-btn--ask, .asb-add-btn--ask { background: #FFFFFF; color: #0E7C80; border: 1px solid #1FBFC4; }
.asb-card .asb-qty { margin-top: 6px; justify-content: space-between; }

/* detail */
.asb-detail { padding: 0 0 20px; }
@media (min-width: 860px) {
  .asb-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .asb-detail__img { margin-bottom: 0; }
}
.asb-detail__body { min-width: 0; }
.asb-detail__name { font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -0.3px; margin: 4px 0 10px; text-wrap: balance; }
.asb-tag { display: inline-flex; align-items: center; background: #FFF1E7; color: #9A4000; border-radius: 999px; padding: 5px 11px; font-size: 12px; font-weight: 600; }
.asb-tag--muted { background: #F4F2EC; color: #4A4D4B; }
.asb-pricebox { margin-top: 14px; border: 1px solid #E5E3DA; border-radius: 14px; padding: 14px; }
.asb-pricebox__big { font-size: 28px; font-weight: 800; letter-spacing: -0.6px; font-variant-numeric: tabular-nums; }
.asb-pricebox__big small { font-size: 13px; font-weight: 600; color: #6B6B68; margin-left: 6px; letter-spacing: 0; }
.asb-pricebox__per { color: #6B6B68; font-size: 13px; font-variant-numeric: tabular-nums; }
.asb-stepper { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; background: #F4F2EC; border-radius: 12px; padding: 8px 8px 8px 12px; }
.asb-stepper__q { font-size: 15px; font-weight: 800; }
.asb-stepper__q small { display: block; font-size: 11.5px; font-weight: 500; color: #6B6B68; }
.asb-stepper .asb-add-btn { padding: 11px 16px; font-size: 13.5px; border-radius: 10px; font-weight: 700; }
.asb-qty--lg { background: #FFFFFF; }
.asb-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; font-size: 13px; }
.asb-total b { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.asb-info { margin-top: 14px; display: grid; gap: 8px; }
.asb-info div { display: flex; gap: 10px; font-size: 12.5px; color: #3E423F; line-height: 1.4; }
.asb-info div::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #1FBFC4; margin-top: 5px; }
/* product description (also on the static SEO page) */
.asb-desc { margin: 18px 0 0; max-width: 68ch; }
.asb-desc h2 { font-size: 15px; font-weight: 800; margin: 0 0 8px; }
.asb-desc p { margin: 0 0 10px; font-size: 14px; line-height: 1.6; color: #2B2D2C; }
.asb-specs { margin: 16px 0 0; border-top: 1px solid #E5E3DA; }
.asb-specs div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #E5E3DA; font-size: 12.5px; }
.asb-specs div > span:first-child { color: #6B6B68; }

/* cart */
.asb-cart-item__img { width: 46px; height: 46px; object-fit: contain; background: #F4F2EC; border-radius: 9px; padding: 3px; flex: none; display: grid; place-items: center; }
.asb-sum { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0 12px; font-size: 13px; }
.asb-sum small { display: block; color: #6B6B68; font-size: 11.5px; }
.asb-sum b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.asb-opt { margin-bottom: 14px; }
.asb-opt h4 { font-size: 13px; font-weight: 700; margin: 0 0 6px; }
.asb-radios { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.asb-radio { text-align: left; border: 1.5px solid #E5E3DA; border-radius: 11px; padding: 9px 10px; background: #FFFFFF; color: #1A1A1A; font-size: 12px; line-height: 1.3; }
.asb-radio b { display: block; font-size: 12.5px; }
.asb-radio span { color: #6B6B68; }
.asb-radio--on { border-color: #1FBFC4; background: #E8F8F8; }
.asb-fine { font-size: 11.5px; color: #6B6B68; line-height: 1.45; margin: 4px 0 0; }
.asb-order-form input[type="text"], .asb-order-form input[type="tel"], .asb-order-form input[type="email"] {
  margin-top: 6px; width: 100%; background: #F4F2EC; border: none; border-radius: 8px; padding: 10px 12px; font-size: 14px; font-weight: 500; outline: none;
}
@media (prefers-reduced-motion: reduce) { .fade-in { animation: none; } html { scroll-behavior: auto; } }

/* Images must never escape their frames: percentage heights inside an aspect-ratio
   box resolve against "auto", so tall photos (cable-tie bags) used to spill out. Pin
   them absolutely inside the positioned frame instead. */
.asb-card__img img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.asb-group__media { position: relative; }
.asb-group__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.asb-detail__img { overflow: hidden; }
.asb-detail__img img { position: absolute; inset: 4%; width: 92%; height: 92%; object-fit: contain; }
.asb-hero__media { overflow: hidden; }

.asb-boot-fail { margin: 16px; padding: 14px; border-radius: 12px; background: #FFF1E7; color: #5A2600; font-size: 13px; line-height: 1.45; }
.asb-boot-fail small { color: #7A5A44; word-break: break-all; }
.asb-boot-fail button { margin-top: 10px; border: 0; border-radius: 9px; padding: 9px 16px; background: #1FBFC4; color: #062A2B; font-weight: 700; }

/* =================== CHECKOUT (cart page) =================== */
.asb-h1 { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; margin: 0; }
.asb-link--muted { color: #6B6B68; font-weight: 500; font-size: 12.5px; text-decoration: underline; }
.asb-checkout { display: grid; gap: 18px; align-items: start; }
@media (min-width: 900px) { .asb-checkout { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; } .asb-summary { position: sticky; top: 16px; } }
.asb-checkout__main { min-width: 0; }
.asb-checkout__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.asb-ci-list { border-top: 1px solid #E5E3DA; }
.asb-ci { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "img info rm" "img qty sum"; gap: 6px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #E5E3DA; }
@media (min-width: 640px) { .asb-ci { grid-template-columns: 60px minmax(0, 1fr) auto 110px 28px; grid-template-areas: "img info qty sum rm"; } }
.asb-ci__img { grid-area: img; width: 52px; height: 52px; object-fit: contain; background: #F4F2EC; border-radius: 9px; display: grid; place-items: center; }
.asb-ci__info { grid-area: info; min-width: 0; }
.asb-ci__name { color: #1A1A1A; text-decoration: none; font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.asb-ci__sub { font-size: 11.5px; color: #6B6B68; margin-top: 2px; }
.asb-ci__qty { grid-area: qty; display: flex; align-items: center; gap: 8px; }
.asb-ci__qty small { font-size: 11px; color: #6B6B68; white-space: nowrap; }
.asb-ci__sum { grid-area: sum; text-align: right; font-weight: 800; font-size: 14px; white-space: nowrap; }
.asb-ci__rm { grid-area: rm; justify-self: end; width: 28px; height: 28px; border: 0; background: none; color: #8A8A85; font-size: 20px; line-height: 1; }

.asb-co { margin-top: 18px; display: grid; gap: 14px; }
.asb-co__sec { border: 1px solid #E5E3DA; border-radius: 14px; padding: 14px; display: grid; gap: 12px; }
.asb-co__sec h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; font-weight: 800; }
.asb-co__sec h2 i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: #0F0F0F; color: #FFFFFF; font-size: 12px; display: grid; place-items: center; }
.asb-seg { display: flex; background: #F4F2EC; border-radius: 10px; padding: 3px; }
.asb-seg__btn { flex: 1; border: 0; background: transparent; border-radius: 8px; padding: 9px; font-size: 13px; font-weight: 600; color: #4A4D4B; }
.asb-seg__btn--on { background: #FFFFFF; color: #1A1A1A; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.asb-fields { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .asb-fields { grid-template-columns: 1fr 1fr; } .asb-field--wide { grid-column: 1 / -1; } }
.asb-field { display: grid; gap: 5px; font-size: 12px; font-weight: 600; color: #4A4D4B; min-width: 0; }
.asb-field input, .asb-field textarea { width: 100%; border: 1.5px solid #E5E3DA; background: #FFFFFF; border-radius: 10px; padding: 11px 12px; font-size: 15px; font-weight: 400; color: #1A1A1A; outline: none; font-family: inherit; resize: vertical; }
.asb-field input:focus, .asb-field textarea:focus { border-color: #1FBFC4; }
.asb-field--err input { border-color: #C0392B; background: #FDF3F2; }
.asb-note { margin: 0; font-size: 12.5px; color: #4A4D4B; background: #F4F2EC; border-radius: 10px; padding: 10px 12px; }

.asb-summary { border: 1px solid #E5E3DA; border-radius: 14px; padding: 16px; display: grid; gap: 10px; background: #FFFFFF; }
.asb-summary h2 { margin: 0 0 2px; font-size: 16px; font-weight: 800; }
.asb-summary__row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: #4A4D4B; }
.asb-summary__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #E5E3DA; padding-top: 10px; font-size: 14px; font-weight: 700; }
.asb-summary__total b { font-size: 22px; font-weight: 800; }
.asb-summary__hint { margin: 0; font-size: 11.5px; color: #6B6B68; line-height: 1.45; }
.asb-summary .asb-btn--full { margin-top: 4px; }
.asb-cart-empty { text-align: center; padding: 60px 16px; color: #6B6B68; display: grid; gap: 14px; justify-items: center; }
.asb-cart-empty p { margin: 0; font-size: 15px; }

.asb-done { text-align: center; padding: 40px 16px; display: grid; gap: 10px; justify-items: center; max-width: 460px; margin: 0 auto; }
.asb-done__mark { width: 56px; height: 56px; border-radius: 50%; background: #1FBFC4; color: #062A2B; font-size: 28px; font-weight: 800; display: grid; place-items: center; }
.asb-done p { margin: 0; color: #4A4D4B; }
.asb-done__sum { font-size: 22px; font-weight: 800; color: #1A1A1A !important; }

/* =================== LISTING FILTERS =================== */
.asb-chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.asb-chips::-webkit-scrollbar { display: none; }
@media (min-width: 860px) { .asb-chips { flex-wrap: wrap; overflow: visible; } }
.asb-chip { flex: none; border: 1px solid #E5E3DA; background: #FFFFFF; color: #1A1A1A; border-radius: 999px; padding: 7px 12px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.asb-chip span { color: #8A8A85; font-weight: 500; margin-left: 2px; }
.asb-chip--on { background: #0F0F0F; color: #FFFFFF; border-color: #0F0F0F; }
.asb-chip--on span { color: #BDBDB8; }
.asb-fbar { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.asb-fbar::-webkit-scrollbar { display: none; }
@media (min-width: 860px) { .asb-fbar { flex-wrap: wrap; overflow: visible; } }
.asb-fbtn { flex: none; display: inline-flex; align-items: center; gap: 5px; border: 1.5px solid #E5E3DA; background: #FFFFFF; color: #1A1A1A; border-radius: 10px; padding: 8px 11px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.asb-fbtn b { background: #1FBFC4; color: #062A2B; border-radius: 999px; padding: 0 6px; font-size: 11px; }
.asb-fbtn--on { border-color: #1FBFC4; background: #E8F8F8; }
.asb-fbtn svg { opacity: .6; }
.asb-fpanel { margin-top: 6px; border: 1px solid #E5E3DA; border-radius: 12px; padding: 8px; background: #FFFFFF; box-shadow: 0 8px 24px rgba(0,0,0,.08); display: grid; grid-template-columns: 1fr; gap: 2px; max-height: 320px; overflow-y: auto; }
@media (min-width: 640px) { .asb-fpanel { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.asb-check { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 8px; font-size: 13px; cursor: pointer; min-width: 0; }
.asb-check:hover { background: #F4F2EC; }
.asb-check input { width: 18px; height: 18px; accent-color: #1FBFC4; flex: none; }
.asb-check span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asb-check em { font-style: normal; color: #8A8A85; font-size: 12px; }
.asb-fpanel[data-panel="price"] { display: block; }
.asb-price-range { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; padding: 6px; }
.asb-price-range label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: #4A4D4B; }
.asb-price-range input { width: 110px; border: 1.5px solid #E5E3DA; border-radius: 10px; padding: 9px 10px; font-size: 15px; }
.asb-price-range__u { font-size: 12px; color: #6B6B68; padding-bottom: 11px; }
.asb-lhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 13px; color: #4A4D4B; }
.asb-sort { border: 1.5px solid #E5E3DA; border-radius: 10px; padding: 8px 10px; font-size: 13px; font-weight: 600; background: #FFFFFF; color: #1A1A1A; max-width: 55%; }
.asb-more { display: block; width: 100%; max-width: 420px; margin: 18px auto 4px; border: 1.5px solid #0F0F0F; background: #FFFFFF; color: #0F0F0F; border-radius: 12px; padding: 13px; font-size: 14px; font-weight: 700; }
.asb-more:active { background: #F4F2EC; }
.asb-card .asb-add-btn--ask { white-space: normal; line-height: 1.2; font-size: 12px; padding: 8px 6px; }

/* =================== LISTING: filters on the left (desktop) / slide-in drawer (phone) =================== */
.asb-listing { display: grid; gap: 14px; align-items: start; }
.asb-results { min-width: 0; }
.asb-results .asb-lhead { margin-top: 0; flex-wrap: wrap; }
.asb-lhead__found { flex: 1; min-width: 0; }
.asb-side { background: #FFFFFF; }
.asb-side__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid #E5E3DA; }
.asb-side__head b { font-size: 17px; font-weight: 800; }
.asb-side__close { border: 0; background: none; font-size: 28px; line-height: 1; color: #4A4D4B; width: 40px; height: 40px; }
.asb-fs { border-bottom: 1px solid #E5E3DA; padding: 10px 0; }
.asb-fs summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 800; color: #1A1A1A; }
.asb-fs summary::-webkit-details-marker { display: none; }
.asb-fs summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid #8A8A85; border-bottom: 2px solid #8A8A85; transform: rotate(45deg); transition: transform .15s; }
.asb-fs[open] summary::after { transform: rotate(-135deg); }
.asb-fs summary b { background: #1FBFC4; color: #062A2B; border-radius: 999px; padding: 0 6px; font-size: 11px; }
.asb-fs__body { margin-top: 6px; max-height: 260px; overflow-y: auto; display: grid; gap: 0; }
.asb-check { padding: 6px 4px; }
.asb-check--solo { padding: 12px 4px; font-weight: 600; }
.asb-price-range { display: flex; align-items: center; gap: 6px; padding: 4px 0; flex-wrap: nowrap; }
.asb-price-range input { width: 0; flex: 1; min-width: 0; padding: 9px 8px; font-size: 14px; }
.asb-price-range .asb-btn { padding: 9px 12px; font-size: 13px; }
.asb-side__reset { display: block; margin: 12px 0 0; font-size: 12.5px; }
.asb-side__show { width: 100%; margin-top: 14px; }

@media (min-width: 900px) {
  .asb-listing { grid-template-columns: 250px minmax(0, 1fr); gap: 26px; }
  .asb-side { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; padding-right: 6px; }
  .asb-side__head { padding-top: 2px; }
  .asb-side__close, .asb-side__show, .asb-fbtn--drawer, .asb-side-overlay { display: none; }
  .asb-results .asb-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin-top: 12px; }
}
@media (max-width: 899.98px) {
  .asb-side { position: fixed; top: 0; left: 0; bottom: 0; z-index: 70; width: min(86vw, 340px); overflow-y: auto;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 16px calc(16px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-105%); box-shadow: 8px 0 30px rgba(0,0,0,.18); }
  .asb-side.is-open { transform: none; }
  .asb-side-overlay { position: fixed; inset: 0; z-index: 65; background: rgba(15,15,15,.45); display: none; }
  .asb-side-overlay.is-open { display: block; }
  .asb-side__show { position: sticky; bottom: 0; }
  .asb-lhead__found { order: 3; flex-basis: 100%; font-size: 12.5px; }
}
.asb-header .asb-lang { flex-shrink: 0; }

/* =================== SEARCH SUGGESTIONS =================== */
.asb-search-row { position: relative; z-index: 45; }
.asb-suggest { position: absolute; left: 16px; right: 16px; top: calc(100% + 4px); background: #FFFFFF; border: 1px solid #E5E3DA; border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.14); padding: 6px; max-height: min(70vh, 520px); overflow-y: auto; display: grid; gap: 2px; }
.asb-sg { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: none; border-radius: 8px; padding: 8px; font-size: 13.5px; color: #1A1A1A; cursor: pointer; }
.asb-sg:hover, .asb-sg.is-active { background: #F4F2EC; }
.asb-sg-h { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8A8A85; padding: 8px 8px 2px; }
.asb-sg-words { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 4px; }
.asb-sg--word { width: auto; border: 1px solid #E5E3DA; border-radius: 999px; padding: 6px 12px; font-weight: 600; }
.asb-sg--word.is-active { border-color: #1FBFC4; }
.asb-sg--cat span { flex: 1; min-width: 0; font-weight: 600; }
.asb-sg--cat em { font-style: normal; color: #8A8A85; font-size: 12px; }
.asb-sg--prod img, .asb-sg__ph { width: 38px; height: 38px; flex: none; object-fit: contain; background: #F4F2EC; border-radius: 6px; display: grid; place-items: center; color: #5A5A57; }
.asb-sg__ph svg { width: 20px; height: 20px; }
.asb-sg__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asb-sg__price { flex: none; font-weight: 700; font-size: 13px; }
.asb-sg--all { justify-content: center; color: #0E7C80; font-weight: 700; border-top: 1px solid #E5E3DA; border-radius: 0 0 8px 8px; margin-top: 4px; }
.asb-sg--fix b { color: #0E7C80; }
.asb-sg-empty { padding: 12px; color: #6B6B68; font-size: 13px; text-align: center; }
.asb-dym { margin: 10px 0 0; }
@media (min-width: 860px) { .asb-suggest { right: auto; width: min(640px, calc(100% - 32px)); } }

@media (max-width: 899.98px) {
  body.asb-noscroll { overflow: hidden; }
  /* a closed drawer is off-screen: keep it out of the tab order / screen readers and drop its shadow */
  .asb-side:not(.is-open) { visibility: hidden; }
}
/* long category / brand names wrap instead of being cut */
.asb-side .asb-check { align-items: flex-start; }
.asb-side .asb-check span { white-space: normal; overflow-wrap: break-word; line-height: 1.3; }
.asb-side .asb-check input, .asb-side .asb-check em { margin-top: 1px; }

/* =================== HEADER CART (desktop) =================== */
.asb-hcart { display: none; }
@media (min-width: 900px) {
  .asb-hcart { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: 6px;
    border: 1px solid #2A2B29; background: #1A1B19; color: #FFFFFF; border-radius: 12px; padding: 7px 14px 7px 10px; cursor: pointer; }
  .asb-hcart:hover { border-color: #1FBFC4; }
  .asb-hcart--here { border-color: #1FBFC4; }
  .asb-hcart:focus-visible { outline: 2px solid #1FBFC4; outline-offset: 2px; }
  .asb-hcart__icon { position: relative; display: inline-flex; color: #1FBFC4; }
  .asb-hcart__count { position: absolute; top: -7px; right: -9px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    background: #1FBFC4; color: #062A2B; font-size: 11px; font-weight: 800; display: grid; place-items: center; line-height: 1; }
  .asb-hcart__text { display: grid; text-align: left; line-height: 1.15; }
  .asb-hcart__text small { font-size: 11px; color: #A9ABA6; }
  .asb-hcart__text b { font-size: 13.5px; font-weight: 700; }
  /* the floating cart bar is the phone pattern */
  .asb-cart-fab { display: none !important; }
  .asb-contact-fab-wrap { bottom: 24px; }
  .asb-page { padding-bottom: 32px; }
  .asb-footer { padding-bottom: 32px; }
}

/* =================== SIMILAR PRODUCTS (product page) =================== */
.asb-similar { margin-top: 28px; display: grid; gap: 12px; }
.asb-similar__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 46%); gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.asb-similar__row > .asb-card { scroll-snap-align: start; }
@media (min-width: 640px) { .asb-similar__row { grid-auto-columns: minmax(170px, 31%); } }
@media (min-width: 900px) { .asb-similar__row { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; } }

/* Checkout: failed-submit message above the button, and the anti-bot field people never see */
.asb-order-err { margin: 4px 0 10px; padding: 10px 12px; border-radius: 10px; background: #FDECEA; color: #8A1C12; font-size: 14px; line-height: 1.4; }
.asb-order-err[hidden] { display: none; }
.asb-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* The suggestion list is toggled with [hidden]; its display:grid must not override it */
.asb-suggest[hidden] { display: none; }

/* iOS Safari and the Telegram/Facebook in-app browsers zoom the page when a focused field
   is smaller than 16px; keep every field at 16px on phones and touch screens. */
@media (max-width: 899.98px), (pointer: coarse) {
  input, select, textarea,
  .asb-field input, .asb-field textarea, .asb-price-range input, .asb-sort { font-size: 16px !important; }
}
/* Per-piece price under the pack price: readable on phones */
.asb-card__unit { font-size: 12px; }

/* Touch screens: at least ~44px hit areas for small controls (visual size unchanged) */
@media (pointer: coarse) {
  .asb-qty__btn, .asb-ci__rm, .asb-lang__btn, #contact-close { position: relative; }
  .asb-qty__btn::after, .asb-ci__rm::after, #contact-close::after { content: ""; position: absolute; inset: -6px; }
  .asb-lang__btn::after { content: ""; position: absolute; inset: -6px 0; }
  .asb-ci__rm { width: 40px; height: 40px; }
  .asb-add-btn { min-height: 40px; }
  #cart-clear { padding: 12px 4px; margin: -12px 0; }
  .asb-footer a { display: inline-block; padding: 8px 0; }
}

/* Contact form open: lock the page behind it */
body.asb-modal-open { overflow: hidden; }

/* Product cards: the name link covers the whole card (open in new tab, keyboard, crawlers);
   cart buttons sit above it. Section tiles and category cards are links too. */
.asb-card { position: relative; }
.asb-card__name { color: inherit; text-decoration: none; }
.asb-card__name::after { content: ""; position: absolute; inset: 0; border-radius: 14px; z-index: 1; }
.asb-card [data-act], .asb-card .asb-qty, .asb-card .asb-add-btn { position: relative; z-index: 2; }
.asb-card:focus-within { outline: 2px solid #1FBFC4; outline-offset: 2px; }
.asb-card__name:focus-visible { outline: none; }
a.asb-group, a.asb-cat-card { text-decoration: none; color: inherit; }
.asb-cat-card__name, .asb-cat-card__count { display: block; }

/* Inner pages: a home button next to the back arrow */
.asb-home-mini { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #FFFFFF; background: rgba(255,255,255,.08); flex: none; }
.asb-home-mini:hover { background: rgba(255,255,255,.16); }
/* Desktop: header (with the cart) stays on screen while scrolling long lists */
@media (min-width: 900px) {
  .asb-header { position: sticky; top: 0; z-index: 50; padding-top: 14px; }
  .asb-side { top: 76px; max-height: calc(100vh - 88px); }
  .asb-summary { top: 76px; }
}
.asb-lh1 { font-size: 20px; line-height: 1.25; font-weight: 800; margin: 2px 0 10px; letter-spacing: -0.2px; }
@media (max-width: 899.98px) { .asb-lh1 { font-size: 17px; margin-bottom: 8px; } }
h1.asb-section-label { margin: 0; }
.asb-field__msg { display: block; margin-top: 4px; color: #B3261E; font-size: 12.5px; font-weight: 500; }
.asb-fine--privacy { margin-top: 6px; }
.asb-invoice-off { display: grid; gap: 12px; padding: 14px; border-radius: 12px; background: #FFF7E6; color: #5C3B00; }
.asb-invoice-off p { margin: 0; }
.asb-invoice-off__ctas { display: flex; flex-wrap: wrap; gap: 8px; }
/* Phones: the Filters / sort bar stays reachable on long lists */
@media (max-width: 899.98px) {
  .asb-results .asb-lhead { position: sticky; top: 0; z-index: 30; background: #FFFFFF; padding: 8px 0; margin: 0 0 4px; }
}

/* App boot: keep the prerendered text for crawlers out of view and hold the page height, so nothing
   jumps when the app renders (layout shift). index.html removes js-boot if the app fails to start. */
.js-boot .asb-static { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.js-boot #main:has(> .asb-static) { min-height: 100vh; }
/* Same boot window: the header and search row are filled by the app; hold their height meanwhile. */
.js-boot .asb-header:empty { min-height: 78px; }
.js-boot.js-inner .asb-header:empty { min-height: 90px; }
.js-boot #asb-search-host:empty { min-height: 56px; }
@media (min-width: 900px) {
  .js-boot .asb-header:empty, .js-boot.js-inner .asb-header:empty { min-height: 72px; }
  .js-boot #asb-search-host:empty { min-height: 51px; }
}

/* The 32px status-bar reserve is only needed in the installed app (standalone); in a browser tab
   the top bar belongs to the browser. Boot-time header reserves follow the same rule. */
@media (max-width: 899.98px) {
  .asb-header { padding-top: max(14px, env(safe-area-inset-top)); }
  .js-boot .asb-header:empty { min-height: 60px; }
  .js-boot.js-inner .asb-header:empty { min-height: 72px; }
  /* Product photo no taller than ~40% of the screen: price and "add" stay on the first screen */
  .asb-detail__img { aspect-ratio: auto; height: min(calc(100vw - 32px), 36vh); }
}
@media (max-width: 899.98px) and (display-mode: standalone) {
  .asb-header { padding-top: max(32px, calc(16px + env(safe-area-inset-top))); }
  .js-boot .asb-header:empty { min-height: 78px; }
  .js-boot.js-inner .asb-header:empty { min-height: 90px; }
}
/* Phones: product pages keep the first screen for photo, price and "add"; search lives on the
   listing pages (back/home buttons are in the header). */
@media (max-width: 899.98px) {
  .asb-search-row--detail { display: none; }
  .js-boot.js-product #asb-search-host:empty { min-height: 0; }
}

/* Readability (audit): pack-related text and specs at ≥ 12px; tiny sizes only for decorative counters */
.asb-card__brand { font-size: 11.5px; }
.asb-card__pack { font-size: 12.5px; }
.asb-badge { font-size: 11.5px; }
.asb-ci__sub { font-size: 12.5px; }
.asb-ci__qty small { font-size: 12px; }
.asb-fine { font-size: 12.5px; }

/* Product without a known pack size: ordered by the piece meanwhile, with a link to ask about the pack */
.asb-pricebox__note { margin: 8px 0 0; font-size: 12.5px; color: #6B6B68; line-height: 1.45; }
.asb-pricebox__note .asb-link { font-size: inherit; padding: 0; }

/* Quantity typed in (product page, cart) and the "+ pack" shortcut */
.asb-qty__input { width: 3.6em; text-align: center; border: 0; background: transparent; font: inherit; font-weight: 600; color: #1A1A1A; padding: 0; -moz-appearance: textfield; }
.asb-qty__input:focus { outline: 2px solid #1FBFC4; outline-offset: 2px; border-radius: 6px; background: #FFFFFF; }
.asb-addpack { margin-top: 8px; }
.asb-btn--outline { background: #FFFFFF; color: #0F0F0F; border: 1.5px solid #1FBFC4; }
