/* ============================================================
   СНАБ-МСК — стили карточки товара (новый лэйаут, 2026-04-26)
   Подгружается дополнительно к snab-msk-overrides.css.
   ============================================================ */

/* === Глобально: убрать серую рамку у фото в карточках товара === */
.snab-card__image { background: #fff !important; }
.snab-card__image img { padding: 0 !important; }

/* === Категория: пустые подкатегории === */
.snab-cat__sidebar-list li.is-empty a { opacity: .55; }
.snab-cat__sidebar-list li.is-empty .snab-cat__sidebar-num {
  background: var(--brand-slate-100, #F1F5F9) !important;
  color: var(--brand-slate-500, #64748B) !important;
}
.snab-cat__tile.is-empty {
  opacity: .55;
  background: #FAFBFC;
}
.snab-cat__tile.is-empty:hover { transform: none; box-shadow: none; opacity: .75; }
.snab-cat__tile-count--empty {
  font-size: 11px !important;
  color: var(--brand-slate-500, #64748B) !important;
  font-style: italic;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* === Категория: ровная сетка плиток подкатегорий (auto-fit) === */
.snab-cat__tiles {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 12px !important;
}
@media (max-width: 600px) {
  .snab-cat__tiles {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  }
}

/* === Категория: ровная сетка хитов (4 в ряд десктоп) === */
.snab-cat__features {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
}
@media (max-width: 1024px) { .snab-cat__features { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 700px)  { .snab-cat__features { grid-template-columns: repeat(2, 1fr) !important; } }

/* === Глобально: sticky header (desktop) — добавлено 2026-04-26 === */
@media (min-width: 992px) {
  .snab-header {
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 0 rgba(15,23,42,.04);
  }
}

:root {
  --p-blue:    #1E40AF;
  --p-orange:  #F97316;
  --p-orange2: #EA580C;
  --p-ink:     #0F172A;
  --p-slate7:  #334155;
  --p-slate5:  #64748B;
  --p-slate3:  #CBD5E1;
  --p-slate1:  #F1F5F9;
  --p-bg-soft: #F8FAFC;
  --p-green:   #16A34A;
  --p-red:     #DC2626;
}

/* === Reset OpenCart container conflicts === */
#snab-product { color: var(--p-ink); background: var(--p-bg-soft); padding-bottom: 80px; }
#snab-product * { box-sizing: border-box; }
.snab-product__container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* === Breadcrumbs === */
.snab-product__crumbs { background: #fff; border-bottom: 1px solid var(--p-slate1); }
.snab-product__crumbs ol { list-style: none; margin: 0; padding: 14px 0; display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--p-slate5); }
.snab-product__crumbs li:not(:last-child)::after { content: "›"; margin-left: 8px; color: var(--p-slate3); }
.snab-product__crumbs a { color: var(--p-slate5); text-decoration: none; }
.snab-product__crumbs a:hover { color: var(--p-blue); }
.snab-product__crumbs li[aria-current] span { color: var(--p-ink); font-weight: 500; }

/* === Title block === */
.snab-product__title { background: #fff; border-bottom: 1px solid var(--p-slate1); }
.snab-product__title > .snab-product__container { padding-top: 24px; padding-bottom: 24px; }
.snab-product__title h1 { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 32px; line-height: 1.18; letter-spacing: -.01em; color: var(--p-ink); margin: 0 0 16px; max-width: 900px; }
.snab-product__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 13px; color: var(--p-slate5); }
.snab-product__sku code { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; color: var(--p-ink); font-size: 13px; }
.snab-product__sep { width: 1px; height: 14px; background: var(--p-slate3); }
.snab-product__rating { display: inline-flex; align-items: center; gap: 6px; }
.snab-product__stars .star { color: var(--p-slate3); font-size: 14px; }
.snab-product__stars .star--on { color: #F59E0B; }
.snab-product__rating strong { color: var(--p-ink); }
.snab-product__rev-link { color: var(--p-slate5); text-decoration: none; }
.snab-product__rev-link:hover { color: var(--p-blue); }
.snab-product__act { background: none; border: 0; padding: 0; cursor: pointer; color: var(--p-slate7); display: inline-flex; align-items: center; gap: 6px; font-size: 13px; text-decoration: none; }
.snab-product__act:hover { color: var(--p-blue); }

/* === Main grid 58/42 === */
.snab-product__main { padding-top: 24px; padding-bottom: 32px; }
.snab-product__grid { display: grid; grid-template-columns: 58fr 42fr; gap: 32px; }
.snab-product__left { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.snab-product__gallery--mobile { display: none; }

/* === Gallery === */
.snab-gallery { display: grid; grid-template-columns: 80px 1fr; gap: 16px; }
.snab-gallery.snab-gallery--no-thumbs { grid-template-columns: 1fr; }
.snab-gallery__thumbs { display: flex; flex-direction: column; gap: 8px; }
.snab-gallery__thumb { width: 80px; height: 80px; padding: 0; border: 2px solid var(--p-slate3); border-radius: 8px; overflow: hidden; cursor: pointer; background: #fff; transition: border-color .15s; }
.snab-gallery__thumb:hover { border-color: var(--p-slate5); }
.snab-gallery__thumb.is-active { border-color: var(--p-blue); }
.snab-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.snab-gallery__main { background: #fff; border: 1px solid var(--p-slate1); border-radius: 12px; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.snab-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.snab-gallery__placeholder { color: var(--p-slate5); }

/* === Tabs-аккордеон (как у Петровича) === */
.snab-product__nav { background: #fff; border-radius: 8px 8px 0 0; border-bottom: 1px solid var(--p-slate1); display: flex; gap: 4px; overflow-x: auto; padding: 0 8px; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.snab-product__nav::-webkit-scrollbar { display: none; }
.snab-product__nav button { position: relative; height: 48px; line-height: 48px; padding: 0 16px; font-size: 14px; font-weight: 600; color: var(--p-slate7); white-space: nowrap; transition: color .15s; background: none; border: 0; cursor: pointer; font-family: inherit; }
.snab-product__nav button:hover { color: var(--p-ink); }
.snab-product__nav button.is-active { color: var(--p-orange); }
.snab-product__nav button.is-active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 3px; background: var(--p-orange); border-radius: 2px 2px 0 0; }

/* === Sections wrap (white card with sections inside) === */
.snab-product__sections { background: #fff; border-radius: 0 0 12px 12px; border: 1px solid var(--p-slate1); border-top: 0; padding: 24px 28px; }

.snab-section { padding-top: 24px; scroll-margin-top: 140px; }
.snab-section:first-child { padding-top: 0; }
.snab-section + .snab-section { border-top: 1px solid var(--p-slate1); margin-top: 24px; }
.snab-section h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 22px; color: var(--p-ink); margin: 0 0 16px; }
.snab-section__body { font-size: 15px; line-height: 1.65; color: var(--p-slate7); max-width: 720px; }
.snab-section__body p { margin: 0 0 12px; }

/* === Characteristics: одна колонка, чёткие группы, чистые строки === */
.snab-spec { display: flex; flex-direction: column; gap: 28px; }
.snab-spec__group { }
.snab-spec__group h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--p-ink);
  margin: 0 0 10px;
  padding: 0 0 10px;
  border-bottom: 2px solid var(--p-slate1);
  text-transform: none;
  letter-spacing: 0;
}
.snab-spec dl { margin: 0; padding: 0; display: grid; grid-template-columns: minmax(160px, 280px) 1fr; gap: 0; }
.snab-spec__row { display: contents; }
.snab-spec__row dt {
  font-size: 14px;
  color: var(--p-slate5);
  padding: 11px 16px 11px 0;
  border-bottom: 1px solid var(--p-slate1);
  font-weight: 400;
  line-height: 1.4;
}
.snab-spec__row dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--p-ink);
  padding: 11px 0;
  border-bottom: 1px solid var(--p-slate1);
  line-height: 1.4;
}
.snab-spec__row:last-child dt,
.snab-spec__row:last-child dd { border-bottom: 0; }
/* Линкуемое значение (бренд, ГОСТ) */
.snab-spec__row dd a { color: var(--p-blue); text-decoration: none; }
.snab-spec__row dd a:hover { text-decoration: underline; }

/* === Shipping section === */
.snab-ship { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 12px; }
.snab-ship__card { background: #fff; border: 1px solid var(--p-slate1); border-radius: 8px; padding: 16px; display: flex; align-items: center; gap: 12px; }
.snab-ship__icon { display: inline-block; width: 22px; height: 22px; background: var(--p-blue); -webkit-mask: var(--mask-icon); mask: var(--mask-icon); flex-shrink: 0; }
.snab-ship__title { font-weight: 700; font-size: 14px; }
.snab-ship__note { font-size: 13px; color: var(--p-slate7); margin: 0; }

/* === FAQ === */
.snab-faq { background: #fff; border: 1px solid var(--p-slate1); border-radius: 8px; }
.snab-faq details { border-bottom: 1px solid var(--p-slate1); }
.snab-faq details:last-child { border-bottom: 0; }
.snab-faq summary { list-style: none; cursor: pointer; padding: 16px 18px; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--p-ink); }
.snab-faq summary::-webkit-details-marker { display: none; }
.snab-faq summary > span:first-child { flex: 1; }
.snab-faq__chev { width: 16px; height: 16px; background: var(--p-slate5); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'><polyline points='6 9 12 15 18 9'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'><polyline points='6 9 12 15 18 9'/></svg>") center / contain no-repeat; transition: transform .15s; }
.snab-faq details[open] .snab-faq__chev { transform: rotate(180deg); }
.snab-faq__body { padding: 0 18px 18px; font-size: 14px; line-height: 1.6; color: var(--p-slate7); max-width: 720px; }

/* === Reviews summary === */
.snab-reviews-summary { background: #fff; border: 1px solid var(--p-slate1); border-radius: 8px; padding: 20px; display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.snab-reviews-summary__num { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 48px; line-height: 1; }
.snab-reviews-summary__stars { margin-top: 6px; }
.snab-reviews-summary__stars .star { color: var(--p-slate3); font-size: 16px; }
.snab-reviews-summary__stars .star--on { color: #F59E0B; }
.snab-reviews-summary__count { font-size: 13px; color: var(--p-slate5); margin-top: 4px; }
.snab-reviews-summary__btn { display: inline-block; margin-top: 12px; padding: 10px 16px; background: var(--p-ink); color: #fff; border-radius: 6px; font-size: 13px; font-weight: 600; text-decoration: none; }

/* === Right column (sticky) === */
.snab-product__right-sticky { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 12px; }
.snab-card { background: #fff; border: 1px solid var(--p-slate1); border-radius: 12px; padding: 20px; }
.snab-card__label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--p-slate5); margin-bottom: 12px; }

/* Pricing */
.snab-pricing__label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--p-slate5); }
.snab-pricing__row { display: flex; align-items: baseline; gap: 12px; margin-top: 6px; }
.snab-pricing__price { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 32px; line-height: 1; color: var(--p-ink); }
.snab-pricing__old { font-size: 16px; color: var(--p-slate5); text-decoration: line-through; }
.snab-pricing__opt { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--p-slate1); }
.snab-pricing__opt-label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--p-slate5); margin-bottom: 6px; }
.snab-pricing__opt-row { display: flex; align-items: baseline; gap: 10px; }
.snab-pricing__opt-price { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 22px; color: var(--p-ink); }
.snab-pricing__opt-from { font-size: 13px; color: var(--p-slate5); }
.snab-pricing__cta { margin-top: 16px; display: flex; gap: 8px; align-items: stretch; }
.snab-qty { display: inline-flex; height: 56px; border: 1px solid var(--p-slate3); border-radius: 8px; background: #fff; }
.snab-qty__btn { width: 44px; background: none; border: 0; font-size: 22px; color: var(--p-slate5); cursor: pointer; }
.snab-qty__btn:hover { color: var(--p-ink); }
.snab-qty__input { width: 48px; text-align: center; border: 0; outline: none; font-weight: 700; font-size: 16px; background: none; color: var(--p-ink); }
.snab-cta { flex: 1; height: 56px; background: var(--p-orange); color: #fff; border: 0; border-radius: 8px; font-weight: 800; font-size: 14px; letter-spacing: .04em; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .15s; }
.snab-cta:hover { background: var(--p-orange2); }
.snab-pricing__stock { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; }
.snab-pricing__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--p-green); flex-shrink: 0; }
.snab-pricing__stock-line { color: var(--p-green); font-weight: 600; }
.snab-pricing__warehouses { list-style: none; margin: 8px 0 0; padding: 0; }
.snab-pricing__warehouses li { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; padding: 6px 0 6px 16px; font-size: 12px; border-top: 1px dashed var(--p-slate1); }
.snab-pricing__warehouses li:first-child { border-top: 0; padding-top: 4px; }
.snab-pricing__wh-name { font-weight: 600; color: var(--p-ink); }
.snab-pricing__wh-qty { color: var(--p-green); font-weight: 600; font-size: 11px; align-self: start; }
.snab-pricing__wh-addr { grid-column: 1 / -1; color: var(--p-slate5); }

/* Delivery card */
.snab-delivery__list { list-style: none; margin: 0; padding: 0; }
.snab-delivery__list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--p-slate1); }
.snab-delivery__list li:first-child { padding-top: 0; }
.snab-delivery__list li:last-child { padding-bottom: 0; border-bottom: 0; }
.snab-delivery__icon { width: 18px; height: 18px; background: var(--p-blue); flex-shrink: 0; }
.snab-delivery__type { font-size: 14px; font-weight: 600; color: var(--p-ink); }
.snab-delivery__hint { font-size: 12px; color: var(--p-slate5); margin: 12px 0 0; padding-top: 12px; border-top: 1px dashed var(--p-slate1); }

/* Secondary actions */
.snab-aside-actions { padding: 6px; }
.snab-aside-actions__row { display: flex; align-items: center; gap: 12px; padding: 12px; text-decoration: none; border-radius: 6px; transition: background .15s; }
.snab-aside-actions__row:hover { background: var(--p-bg-soft); }
.snab-aside-actions__row + .snab-aside-actions__row { border-top: 1px solid var(--p-slate1); border-radius: 0; }
.snab-aside-actions__icon { width: 22px; height: 22px; background: var(--p-blue); flex-shrink: 0; }
.snab-aside-actions__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.snab-aside-actions__label { font-size: 13px; font-weight: 600; color: var(--p-blue); }
.snab-aside-actions__sub { font-size: 11px; color: var(--p-slate5); }
.snab-aside-actions__chev { width: 14px; height: 14px; background: var(--p-slate3); flex-shrink: 0; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'><polyline points='9 6 15 12 9 18'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'><polyline points='9 6 15 12 9 18'/></svg>") center / contain no-repeat; }

/* === Cross-sell chips === */
.snab-product__chips { background: #fff; border-top: 1px solid var(--p-slate1); border-bottom: 1px solid var(--p-slate1); padding: 28px 0; }
.snab-product__chips h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 20px; margin: 0 0 16px; }
.snab-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.snab-chip { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--p-slate3); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--p-slate7); text-decoration: none; transition: all .15s; }
.snab-chip:hover { background: var(--p-blue); color: #fff; border-color: var(--p-blue); }

/* === Smart links === */
.snab-product__smart { background: var(--p-bg-soft); border-bottom: 1px solid var(--p-slate1); padding: 28px 0; }
.snab-product__smart h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 20px; margin: 0 0 16px; }
.snab-smart { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.snab-smart__tile { background: #fff; border: 1px solid var(--p-slate1); border-radius: 10px; padding: 16px; display: flex; align-items: flex-start; gap: 12px; text-decoration: none; transition: all .15s; }
.snab-smart__tile:hover { border-color: var(--p-blue); box-shadow: 0 4px 12px rgba(15,23,42,.06); transform: translateY(-1px); }
.snab-smart__icon { width: 24px; height: 24px; background: var(--p-blue); flex-shrink: 0; margin-top: 2px; }
.snab-smart__label { font-size: 14px; font-weight: 600; color: var(--p-ink); line-height: 1.3; }

/* === Related products === */
.snab-product__related { background: #fff; padding: 32px 0; }
.snab-product__related h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 22px; margin: 0 0 20px; }
.snab-related { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.snab-related__card { background: #fff; border: 1px solid var(--p-slate1); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--p-ink); display: flex; flex-direction: column; transition: box-shadow .15s; }
.snab-related__card:hover { box-shadow: 0 4px 12px rgba(15,23,42,.08); }
.snab-related__img { aspect-ratio: 1/1; background: var(--p-bg-soft); display: flex; align-items: center; justify-content: center; }
.snab-related__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.snab-related__name { padding: 10px 12px 4px; font-size: 13px; font-weight: 500; line-height: 1.35; min-height: 50px; }
.snab-related__price { padding: 0 12px 12px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 16px; }

/* === Mobile bottom CTA === */
.snab-product__mobile-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--p-slate1); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); align-items: center; gap: 12px; box-shadow: 0 -4px 12px rgba(15,23,42,.06); }
.snab-product__mobile-price { flex: 1; min-width: 0; }
.snab-product__mobile-price strong { display: block; font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 20px; line-height: 1; }
.snab-product__mobile-price small { display: block; font-size: 11px; color: var(--p-slate5); margin-top: 2px; }
.snab-cta--mobile { flex: 0 0 auto; height: 48px; padding: 0 20px; font-size: 13px; }

/* === Inline icon helpers (Lucide-style SVG masks) === */
.ico-cart, .ico-cmp, .ico-fav, .ico-share,
.ico-warehouse, .ico-truck, .ico-pin, .ico-shield, .ico-card, .ico-doc, .ico-cash,
.ico-pdf, .ico-xls, .ico-phone,
.ico-award, .ico-grid, .ico-boxes, .ico-scale {
  display: inline-block; vertical-align: middle; width: 1em; height: 1em; background-color: currentColor;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
}
.ico-cart      { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><circle cx='9' cy='21' r='1'/><circle cx='20' cy='21' r='1'/><path d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><circle cx='9' cy='21' r='1'/><circle cx='20' cy='21' r='1'/><path d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/></svg>"); width: 18px; height: 18px; }
.ico-cmp       { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><polyline points='17 1 21 5 17 9'/><path d='M3 11V9a4 4 0 0 1 4-4h14'/><polyline points='7 23 3 19 7 15'/><path d='M21 13v2a4 4 0 0 1-4 4H3'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><polyline points='17 1 21 5 17 9'/><path d='M3 11V9a4 4 0 0 1 4-4h14'/><polyline points='7 23 3 19 7 15'/><path d='M21 13v2a4 4 0 0 1-4 4H3'/></svg>"); width: 14px; height: 14px; }
.ico-fav       { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/></svg>"); width: 14px; height: 14px; }
.ico-share     { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><circle cx='18' cy='5' r='3'/><circle cx='6' cy='12' r='3'/><circle cx='18' cy='19' r='3'/><line x1='8.59' y1='13.51' x2='15.42' y2='17.49'/><line x1='15.41' y1='6.51' x2='8.59' y2='10.49'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><circle cx='18' cy='5' r='3'/><circle cx='6' cy='12' r='3'/><circle cx='18' cy='19' r='3'/><line x1='8.59' y1='13.51' x2='15.42' y2='17.49'/><line x1='15.41' y1='6.51' x2='8.59' y2='10.49'/></svg>"); width: 14px; height: 14px; }
.ico-warehouse { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M22 8.35V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8.35A2 2 0 0 1 3.26 6.5l8-3.2a2 2 0 0 1 1.48 0l8 3.2A2 2 0 0 1 22 8.35Z'/><path d='M6 18h12'/><path d='M6 14h12'/><rect x='6' y='10' width='12' height='12'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M22 8.35V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8.35A2 2 0 0 1 3.26 6.5l8-3.2a2 2 0 0 1 1.48 0l8 3.2A2 2 0 0 1 22 8.35Z'/><path d='M6 18h12'/><path d='M6 14h12'/><rect x='6' y='10' width='12' height='12'/></svg>"); }
.ico-truck     { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><rect x='1' y='3' width='15' height='13'/><polygon points='16 8 20 8 23 11 23 16 16 16 16 8'/><circle cx='5.5' cy='18.5' r='2.5'/><circle cx='18.5' cy='18.5' r='2.5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><rect x='1' y='3' width='15' height='13'/><polygon points='16 8 20 8 23 11 23 16 16 16 16 8'/><circle cx='5.5' cy='18.5' r='2.5'/><circle cx='18.5' cy='18.5' r='2.5'/></svg>"); }
.ico-pin       { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='3'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='3'/></svg>"); }
.ico-shield    { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/><polyline points='9 12 11 14 15 10'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/><polyline points='9 12 11 14 15 10'/></svg>"); width: 12px; height: 12px; }
.ico-card      { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><rect x='2' y='5' width='20' height='14' rx='2'/><line x1='2' y1='10' x2='22' y2='10'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><rect x='2' y='5' width='20' height='14' rx='2'/><line x1='2' y1='10' x2='22' y2='10'/></svg>"); }
.ico-doc       { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/><line x1='16' y1='13' x2='8' y2='13'/><line x1='16' y1='17' x2='8' y2='17'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/><line x1='16' y1='13' x2='8' y2='13'/><line x1='16' y1='17' x2='8' y2='17'/></svg>"); }
.ico-cash      { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><rect x='2' y='6' width='20' height='12' rx='2'/><circle cx='12' cy='12' r='2'/><path d='M6 12h.01M18 12h.01'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><rect x='2' y='6' width='20' height='12' rx='2'/><circle cx='12' cy='12' r='2'/><path d='M6 12h.01M18 12h.01'/></svg>"); }
.ico-pdf       { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/></svg>"); }
.ico-xls       { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/><path d='M9 13l2 2 4-4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/><path d='M9 13l2 2 4-4'/></svg>"); }
.ico-phone     { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/></svg>"); }
.ico-award     { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><circle cx='12' cy='8' r='7'/><polyline points='8.21 13.89 7 23 12 20 17 23 15.79 13.88'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><circle cx='12' cy='8' r='7'/><polyline points='8.21 13.89 7 23 12 20 17 23 15.79 13.88'/></svg>"); }
.ico-grid      { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><rect x='3' y='3' width='7' height='7'/><rect x='14' y='3' width='7' height='7'/><rect x='14' y='14' width='7' height='7'/><rect x='3' y='14' width='7' height='7'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><rect x='3' y='3' width='7' height='7'/><rect x='14' y='3' width='7' height='7'/><rect x='14' y='14' width='7' height='7'/><rect x='3' y='14' width='7' height='7'/></svg>"); }
.ico-boxes     { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/></svg>"); }
.ico-scale     { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M16 16l3-8 3 8'/><path d='M2 16l3-8 3 8'/><path d='M7 21h10'/><path d='M12 3v18'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><path d='M16 16l3-8 3 8'/><path d='M2 16l3-8 3 8'/><path d='M7 21h10'/><path d='M12 3v18'/></svg>"); }

/* === Hide native opencart product container conflict === */
#product-product { display: none !important; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .snab-product__grid { grid-template-columns: 1fr; }
  .snab-product__right-sticky { position: static; }
  .snab-product__gallery--desktop { display: none; }
  .snab-product__gallery--mobile { display: block; }
  .snab-product__gallery--mobile { margin: 0 0 18px; }
  .snab-product__gallery--mobile .snab-gallery { grid-template-columns: 1fr; gap: 10px; }
  .snab-product__gallery--mobile .snab-gallery__main { aspect-ratio: 4/3; max-height: 360px; border-radius: 10px; }
  .snab-product__gallery--mobile .snab-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
  .snab-gallery__thumbs--mobile { flex-direction: row !important; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .snab-gallery__thumbs--mobile .snab-gallery__thumb { flex: 0 0 64px; width: 64px; height: 64px; }
  .snab-spec dl { grid-template-columns: minmax(140px, 220px) 1fr; }
  .snab-smart { grid-template-columns: repeat(2, 1fr); }
  .snab-related { grid-template-columns: repeat(3, 1fr); }
  .snab-product__title h1 { font-size: 26px; }
  .snab-product__sections { padding: 20px; }
}

@media (max-width: 600px) {
  .snab-product__container { padding: 0 16px; }
  .snab-product__title h1 { font-size: 22px; }
  .snab-gallery { grid-template-columns: 1fr; gap: 12px; }
  .snab-gallery__thumbs { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .snab-gallery__thumb { width: 64px; height: 64px; flex-shrink: 0; }
  .snab-ship { grid-template-columns: 1fr; }
  .snab-smart { grid-template-columns: 1fr; }
  .snab-related { grid-template-columns: repeat(2, 1fr); }
  .snab-product__mobile-cta { display: flex; }
  .snab-product { padding-bottom: 80px; }
  .snab-pricing__price { font-size: 28px; }
  /* На мобиле — характеристики в стек: ключ сверху, значение под ним */
  .snab-spec dl { grid-template-columns: 1fr; }
  .snab-spec__row dt { padding: 8px 0 2px; border-bottom: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
  .snab-spec__row dd { padding: 0 0 12px; border-bottom: 1px solid var(--p-slate1); }
}
