/* ============================================================
   СНАБ-МСК — override stylesheet
   Loaded AFTER default theme stylesheet — overrides defaults.
   Foundation: brand colors (CSS variables) + typography (Inter/Montserrat).
   ============================================================ */

/* Запрет перетаскивания/копирования изображений по всему сайту */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}

:root {
  /* Brand palette */
  --brand-blue:    #1E40AF;  /* Tailwind blue-800 — primary */
  --brand-orange:  #F97316;  /* Tailwind orange-500 — accent */
  --brand-slate:   #0F172A;  /* Tailwind slate-900 — text/dark */
  --brand-slate-700: #334155;
  --brand-slate-500: #64748B;
  --brand-slate-300: #CBD5E1;
  --brand-slate-100: #F1F5F9;
  --brand-bg:      #FFFFFF;
  --brand-bg-soft: #F8FAFC;

  /* Brand typography */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ============================================================
   Focus outline — убираем чёрную рамку при клике мышкой,
   оставляем для клавиатуры (Tab) — обязательно для accessibility
   ============================================================ */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 2px; }
a:focus, button:focus, input:focus, select:focus, textarea:focus { outline: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 2px; }
.snab-logo:focus img { outline: none; box-shadow: none; }
/* Bootstrap btn focus убирает свой box-shadow */
.btn:focus, .btn.focus, .btn:active:focus, .btn:active.focus,
.btn.active:focus, .btn.active.focus,
button:focus { outline: none !important; box-shadow: none !important; }
.btn:focus-visible, button:focus-visible { outline: 2px solid var(--brand-orange) !important; outline-offset: 2px !important; }

/* ============================================================
   Typography reset — apply Inter to body, Montserrat to headings
   ============================================================ */
body {
  font-family: var(--font-body);
  color: var(--brand-slate);
  background: var(--brand-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-slate);
  letter-spacing: -0.01em;
}

h1, .h1 { font-weight: 900; }

a {
  color: var(--brand-blue);
  transition: color 0.15s ease;
}
a:hover, a:focus {
  color: var(--brand-orange);
  text-decoration: none;
}

/* ============================================================
   Brand-coloured buttons (replace Bootstrap defaults)
   ============================================================ */
.btn-primary {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: #1e3a8a;  /* blue-900 */
  border-color: #1e3a8a;
}

.btn-warning, .btn-orange {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
}
.btn-warning:hover, .btn-warning:focus, .btn-warning:active,
.btn-orange:hover, .btn-orange:focus, .btn-orange:active {
  background-color: #ea580c;  /* orange-600 */
  border-color: #ea580c;
  color: #fff;
}

/* Big call-to-action style — used for hero + sticky cart + checkout */
.btn-cta {
  background-color: var(--brand-orange);
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 4px;
  transition: background-color 0.15s ease;
  display: inline-block;
}
.btn-cta:hover, .btn-cta:focus {
  background-color: #ea580c;
  color: #fff;
}

/* ============================================================
   Top promo bar (above all) — dark slate, city + utility links
   ============================================================ */
.snab-promo-bar {
  background: var(--brand-slate);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.snab-promo-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.snab-promo-bar__left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
}
.snab-promo-bar__city {
  font-weight: 600;
  color: #fff;
}
.snab-promo-bar__city .fa { color: var(--brand-orange); margin-right: 4px; }
.snab-promo-bar__sep { color: rgba(255,255,255,0.3); }
.snab-promo-bar__delivery { color: rgba(255,255,255,0.7); }

.snab-promo-bar__right {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.snab-promo-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.snab-promo-bar__link:hover, .snab-promo-bar__link:focus {
  color: var(--brand-orange);
  text-decoration: none;
}
.snab-promo-bar__link--accent {
  color: #fff;
  font-weight: 600;
}
.snab-promo-bar__link--accent:hover { color: #fff; }
.snab-promo-bar__badge {
  display: inline-block;
  padding: 2px 6px;
  background: #dc2626;
  color: #fff;
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}
.snab-promo-bar__div {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.15);
  margin: 0 2px;
}

@media (max-width: 1199px) {
  .snab-promo-bar { font-size: 12.5px; }
  .snab-promo-bar__right { gap: 14px; }
  .snab-promo-bar__link { font-size: 12.5px; }
}
@media (max-width: 768px) {
  .snab-promo-bar { font-size: 12px; padding: 8px 0; }
  .snab-promo-bar__right { gap: 14px; }
  .snab-promo-bar__delivery { display: none; }
}

/* ============================================================
   Скрываем легаси OpenCart-блоки — рендерим их в DOM (для AJAX cart),
   но визуально не показываем. Свой хедер заменяет.
   ============================================================ */
.snab-oc-legacy { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
#top, #menu { display: none !important; }

/* ============================================================
   Brand header — flex layout: logo | catalog | search | phone | actions
   ============================================================ */
.snab-header {
  background: #fff;
  padding: 14px 0;
  border-bottom: 1px solid var(--brand-slate-100);
  position: relative;
  z-index: 20;
}
.snab-header__row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}

/* Brand logo */
.snab-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none !important;
  line-height: 1;
  flex: 0 0 auto;
}
.snab-logo:hover { text-decoration: none !important; }
.snab-logo__img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 100%;
}
.snab-logo__subtitle {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--brand-slate-500);
  text-transform: uppercase;
  margin-top: 6px;
  white-space: nowrap;
}

/* ============================================================
   Catalog mega-menu trigger (orange button) — теперь в .snab-mainnav
   ============================================================ */
.snab-catalog { position: relative; flex: 0 0 auto; }
.snab-catalog__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  padding: 0 28px;
  background: var(--brand-orange);
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
  line-height: 1;
}
.snab-catalog__btn:hover, .snab-catalog__btn[aria-expanded="true"] { background: #ea580c; }
.snab-catalog__icon { display: inline-flex; line-height: 0; }
.snab-catalog__btn-text { display: inline-block; }

.snab-catalog__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 340px;
  background: #fff;
  border: 1px solid var(--brand-slate-100);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.12);
  padding: 8px 0;
  z-index: 100;
}
.snab-catalog__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  color: var(--brand-slate);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.12s ease;
}
.snab-catalog__item:hover { background: var(--brand-bg-soft); color: var(--brand-blue); text-decoration: none; }
.snab-catalog__item-ico { font-size: 20px; flex: 0 0 24px; text-align: center; }
.snab-catalog__item-text { display: flex; flex-direction: column; line-height: 1.2; }
.snab-catalog__item-text strong { font-weight: 600; }
.snab-catalog__item-text small { color: var(--brand-slate-500); font-size: 12px; margin-top: 2px; }
.snab-catalog__item--all {
  border-top: 1px solid var(--brand-slate-100);
  margin-top: 6px;
  padding-top: 14px;
  font-weight: 600;
  color: var(--brand-blue);
}

/* ============================================================
   Search bar — selector + input + orange button
   ============================================================ */
.snab-search {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  border: 2px solid var(--brand-orange);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.snab-search__input {
  flex: 1 1 auto;
  border: 0;
  background: transparent;
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--brand-slate);
  outline: none;
  min-width: 0;
}
.snab-search__input::placeholder { color: var(--brand-slate-500); }
.snab-search__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: var(--brand-orange);
  color: #fff;
  padding: 0 22px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s ease;
}
.snab-search__btn:hover { background: #ea580c; }
.snab-search__btn-ico { display: inline-flex; line-height: 0; }

/* ============================================================
   Phone block
   ============================================================ */
.snab-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  line-height: 1.2;
  text-align: center;
  gap: 4px;
}
.snab-phone__num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  color: var(--brand-slate);
  text-decoration: none;
  white-space: nowrap;
}
.snab-phone__num:hover { color: var(--brand-blue); text-decoration: none; }
.snab-phone__cta,
.snab-phone__hours,
.snab-phone__email {
  align-self: flex-start;
  text-align: left;
}
.snab-phone__hours {
  font-size: 13px;
  line-height: 1.4;
  color: var(--brand-slate-700, #334155);
  white-space: nowrap;
}
.snab-phone__email {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-slate, #0f172a);
  text-decoration: none;
  border-bottom: 1px solid rgba(15,23,42,0.20);
  white-space: nowrap;
  transition: color .15s ease, border-color .15s ease;
}
.snab-phone__email:hover {
  color: var(--brand-blue, #1e40af);
  border-bottom-color: var(--brand-blue, #1e40af);
  text-decoration: none;
}
.snab-phone__cta {
  margin-top: 2px;
  font-size: 12px;
  color: var(--brand-orange);
  text-decoration: none;
  border-bottom: 1px dashed var(--brand-orange);
  white-space: nowrap;
}
.snab-phone__cta:hover { color: #ea580c; border-color: #ea580c; text-decoration: none; }

.snab-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.snab-contact-modal[hidden] { display: none; }
.snab-contact-modal-is-open { overflow: hidden; }
.snab-contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .56);
  backdrop-filter: blur(3px);
}
.snab-contact-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .34);
}
.snab-contact-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #475569;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.snab-contact-modal__close:hover { background: #fff; color: var(--brand-slate); }
.snab-contact-modal__head {
  padding: 26px 58px 22px 24px;
  background: linear-gradient(135deg, #1E40AF 0%, #274dd1 100%);
  color: #fff;
}
.snab-contact-modal__badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.snab-contact-modal__head h2 {
  margin: 12px 0 7px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.18;
  font-weight: 850;
}
.snab-contact-modal__head p {
  margin: 0;
  max-width: 390px;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  line-height: 1.45;
}
.snab-contact-modal__channels {
  display: grid;
  gap: 10px;
  padding: 16px;
}
.snab-contact-modal__channel {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 13px 14px;
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  background: #fff;
  color: var(--brand-slate);
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.snab-contact-modal__channel[href]:hover,
.snab-contact-modal__channel[href]:focus {
  border-color: rgba(30, 64, 175, .36);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
  transform: translateY(-1px);
  color: var(--brand-slate);
  text-decoration: none;
  outline: none;
}
.snab-contact-modal__channel.is-disabled {
  background: #f8fafc;
  color: #94a3b8;
}
.snab-contact-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--brand-blue);
}
.snab-contact-modal__icon--image {
  padding: 8px;
  background: #f1f5f9;
}
.snab-contact-modal__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.snab-contact-modal__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.snab-contact-modal__copy strong {
  color: inherit;
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 1.25;
}
.snab-contact-modal__copy small {
  margin-top: 4px;
  color: var(--brand-slate-500);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.snab-contact-modal__channel.is-disabled .snab-contact-modal__copy small { color: #94a3b8; }
.snab-contact-modal__foot {
  padding: 0 18px 18px;
  color: var(--brand-slate-500);
  font-size: 12px;
  line-height: 1.4;
}
@media (max-width: 520px) {
  .snab-contact-modal { align-items: flex-end; padding: 10px; }
  .snab-contact-modal__panel { width: 100%; border-radius: 14px 14px 10px 10px; }
  .snab-contact-modal__head { padding: 22px 56px 18px 18px; }
  .snab-contact-modal__head h2 { font-size: 20px; }
  .snab-contact-modal__channels { padding: 12px; }
  .snab-contact-modal__channel { grid-template-columns: 40px 1fr; min-height: 68px; padding: 12px; }
  .snab-contact-modal__icon { width: 40px; height: 40px; }
}

/* ============================================================
   Action icons: compare / wishlist / cart
   ============================================================ */
.snab-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}
.snab-actions__item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--brand-slate-700);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  position: relative;
  transition: color 0.15s ease;
}
.snab-actions__item:hover { color: var(--brand-blue); text-decoration: none; }
.snab-actions__icon { position: relative; display: inline-flex; line-height: 0; }
.snab-actions__count {
  position: absolute;
  top: -7px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--brand-orange);
  color: #fff;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.snab-actions__item--cart .snab-actions__count { background: var(--brand-blue); }
.snab-actions__label { letter-spacing: 0.02em; }

/* ============================================================
   Main navigation row (white) — каталог-кнопка + продуктовые ссылки
   ============================================================ */
.snab-mainnav {
  background: #fff;
  border-top: 1px solid var(--brand-slate-100);
  border-bottom: 2px solid var(--brand-blue);
  position: relative;
  z-index: 18;
}
.snab-mainnav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.snab-mainnav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.snab-mainnav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  color: var(--brand-slate);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}
.snab-mainnav__link:hover, .snab-mainnav__link.is-active {
  color: var(--brand-orange);
  background: var(--brand-bg-soft);
  text-decoration: none;
}
.snab-mainnav__link--accent { color: #dc2626; }
.snab-mainnav__link--accent:hover { color: #b91c1c; }
.snab-mainnav__badge {
  display: inline-block;
  padding: 2px 6px;
  background: #dc2626;
  color: #fff;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* ============================================================
   Header responsive — стянуть отступы на средних экранах
   ============================================================ */
@media (max-width: 1199px) {
  .snab-header__row { gap: 12px; }
  .snab-phone__num { font-size: 16px; }
  .snab-actions { gap: 12px; }
  .snab-actions__label { display: none; }
  .snab-mainnav__inner { gap: 16px; }
  .snab-catalog__btn { padding: 0 18px; font-size: 13px; }
  .snab-mainnav__link { padding: 8px 12px; font-size: 12px; }
}
@media (max-width: 991px) {
  .snab-logo__img { height: 48px; }
  .snab-logo__subtitle { font-size: 8.5px; letter-spacing: 0.12em; }
}

/* ============================================================
   Reusable badges (orange/red/green/white) — used in hero + product cards + B2B
   ============================================================ */
.snab-badge {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 3px;
  line-height: 1;
}
.snab-badge--orange { background: var(--brand-orange); color: #fff; }
.snab-badge--red    { background: #dc2626; color: #fff; }
.snab-badge--green  { background: #16a34a; color: #fff; }
.snab-badge--white  { background: #fff; color: var(--brand-blue); }

/* ============================================================
   HERO block — blue gradient on left, image placeholder on right
   ============================================================ */
.snab-hero-wrap { background: #fff; padding: 24px 0 0; }
.snab-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.snab-hero__left {
  background: var(--brand-blue);
  color: #fff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.snab-hero__left::before {
  content: '';
  position: absolute;
  left: -40px; bottom: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
  z-index: 0;
}
.snab-hero__left > * { position: relative; z-index: 1; }
.snab-hero__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 48px;
  line-height: 1.05;
  margin: 16px 0 0;
  color: #fff;
  letter-spacing: -0.01em;
}
.snab-hero__lead {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 460px;
  margin: 16px 0 0;
  line-height: 1.5;
}
.snab-hero__cta {
  margin-top: 28px;
  align-self: flex-start;
}
.snab-hero__bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}
.snab-hero__bullets li { display: flex; align-items: center; gap: 6px; }
.snab-tick { color: var(--brand-orange); font-weight: 700; }
.snab-hero__right {
  background: linear-gradient(135deg, #1d3a99 0%, #1E40AF 60%, #2747bf 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* Диагональная оранжевая плашка-акцент в правом верхнем углу (по мотивам ФаМаркета) */
.snab-hero__accent {
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: var(--brand-orange);
  transform: rotate(45deg);
  z-index: 0;
}
.snab-hero__right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.06) 0, transparent 60%);
  pointer-events: none;
}
.snab-hero__mark {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 140px;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.snab-hero__mark-sub {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.85);
  margin-top: 12px;
}

/* Общие добавки для всех HERO-вариантов */
.snab-hero__kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-orange);
  background: rgba(249, 115, 22, 0.12);
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.snab-hero__ctas {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.snab-hero__cta { margin-top: 0; }
.snab-hero__phone {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: border-color 0.15s;
}
.snab-hero__phone:hover { border-bottom-color: var(--brand-orange); color: #fff; }
.snab-hero__phone--dark { color: var(--brand-slate); border-bottom-color: var(--brand-slate-300); }
.snab-hero__phone--dark:hover { color: var(--brand-slate); border-bottom-color: var(--brand-orange); }
.snab-hero__bullets--dark { color: var(--brand-slate-700); }

/* ============================================================
   HERO --max — горизонтальный фирменный баннер «Мы есть в MAX»
   Один синий блок, иконка слева, текст по центру, CTA справа,
   диагональный оранжевый акцент в правом верхнем углу.
   ============================================================ */
.snab-hero--max {
  display: flex;
  align-items: center;
  gap: 36px;
  background: linear-gradient(110deg, var(--brand-blue) 0%, #1d3a99 65%, #2747bf 100%);
  border-radius: 12px;
  padding: 48px 56px;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(30, 64, 175, 0.18);
  grid-template-columns: none;
}
.snab-hero--max .snab-hero__accent {
  position: absolute;
  top: -90px; right: -90px;
  width: 180px; height: 180px;
  background: var(--brand-orange);
  transform: rotate(45deg);
  z-index: 0;
  pointer-events: none;
  border-radius: 22px;
}
.snab-hero--max::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0, transparent 55%);
  pointer-events: none;
}
.snab-hero__max-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 200px;
  width: 200px; height: 200px;
  filter: drop-shadow(0 8px 24px rgba(124, 58, 237, 0.45));
}
.snab-hero__max-icon img {
  width: 100%; height: 100%; display: block;
}
.snab-hero__max-body {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  color: #fff;
}
.snab-hero__max-body .snab-hero__kicker {
  background: rgba(249, 115, 22, 0.18);
  color: #fff;
  margin-bottom: 10px;
}
.snab-hero__max-body .snab-hero__title {
  font-size: 48px;
  color: #fff;
  margin: 6px 0 14px;
  line-height: 1.05;
}
.snab-hero__max-body .snab-hero__lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  margin: 0 0 24px;
  max-width: 560px;
  line-height: 1.5;
}
.snab-hero__max-body .snab-hero__ctas {
  margin-top: 0;
}
.snab-hero__max-actions {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-right: 40px;
}
.snab-hero__max-actions .snab-hero__cta {
  margin: 0;
  white-space: nowrap;
  font-size: 16px;
  padding: 14px 28px;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}
.snab-hero__max-actions .snab-hero__phone {
  font-size: 20px;
}

/* ============================================================
   ADVANTAGES strip (4 USP cards on slate-100 background)
   ============================================================ */
.snab-advantages {
  background: var(--brand-slate-100);
  padding: 36px 0;
  margin-top: 32px;
}
.snab-advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.snab-adv-card { display: flex; align-items: flex-start; gap: 14px; }
.snab-adv-card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #DBEAFE;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.snab-adv-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--brand-slate);
  line-height: 1.2;
}
.snab-adv-card__sub {
  font-size: 13px;
  color: var(--brand-slate-500);
  margin-top: 4px;
  line-height: 1.4;
}
.snab-adv-card__list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--brand-slate-500);
}
.snab-adv-card__list li {
  padding-left: 12px;
  position: relative;
  margin-bottom: 3px;
}
.snab-adv-card__list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--brand-orange, #f97316);
  font-weight: 900;
}
.snab-adv-card__list li:last-child { margin-bottom: 0; }

/* ============================================================
   Section heads (used by Categories, Hits, Brands)
   ============================================================ */
.snab-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.snab-section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  color: var(--brand-slate);
  letter-spacing: -0.01em;
  margin: 0;
}
.snab-section-title--center { text-align: center; width: 100%; margin-bottom: 28px; }
.snab-section-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-blue);
}
.snab-section-link:hover { color: var(--brand-orange); text-decoration: none; }

/* ============================================================
   CATEGORIES grid (4 cols × N rows)
   ============================================================ */
.snab-categories { padding: 48px 0; }
.snab-cat-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.snab-cat-card { flex: 0 1 calc((100% - 16px * 3) / 4); }
.snab-cat-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--brand-slate-100);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  text-decoration: none;
}
.snab-cat-card:hover {
  border-color: rgba(30, 64, 175, 0.4);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
  text-decoration: none;
  transform: translateY(-1px);
}
.snab-cat-card__ph {
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  display: block;
  padding: 0;
  border-bottom: 1px solid #e2e8f0;
  transition: background .2s ease;
  overflow: hidden;
}
.snab-cat-card__ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .2s ease;
}
.snab-cat-card:hover .snab-cat-card__ph {
  background: #fff7ed;
}
.snab-cat-card:hover .snab-cat-card__ph img {
  transform: scale(1.08);
}
.snab-cat-card__body { padding: 16px; }
.snab-cat-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--brand-slate);
  line-height: 1.25;
}
.snab-cat-card:hover .snab-cat-card__name { color: var(--brand-blue); }
.snab-cat-card__count {
  font-size: 12px;
  color: var(--brand-slate-500);
  margin-top: 4px;
}

/* ============================================================
   HITS OF SALES (tabs + product grid)
   ============================================================ */
.snab-hits { padding: 0 0 48px; }
.snab-tabs {
  display: inline-flex;
  background: var(--brand-slate-100);
  padding: 4px;
  border-radius: 6px;
  gap: 2px;
}
.snab-tab {
  background: transparent;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-slate-500);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.snab-tab.is-active {
  background: #fff;
  color: var(--brand-slate);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.snab-tab:hover:not(.is-active) { color: var(--brand-slate); }

.snab-prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.snab-prod-card {
  background: #fff;
  border: 1px solid var(--brand-slate-100);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
  color: var(--brand-slate);
  text-decoration: none;
}
/* фикс grid-stretch для всех карточек: одинаковая ширина в любой колонке */
.snab-prod-grid > .snab-prod-card,
.snab-cat__features > .snab-prod-card,
.snab-brand__grid > .snab-prod-card { width: 100%; box-sizing: border-box; }
.snab-prod-card:hover, .snab-prod-card:focus { text-decoration: none; color: var(--brand-slate); }
.snab-prod-card.is-out-of-stock {
  opacity: .55; filter: grayscale(0.4);
  width: 100% !important; min-width: 100% !important;
  box-sizing: border-box !important;
  align-self: stretch !important; justify-self: stretch !important;
  flex: 1 1 0 !important;
}
.snab-prod-card.is-out-of-stock .snab-prod-card__body,
.snab-prod-card.is-out-of-stock .snab-prod-card__img,
.snab-prod-card.is-out-of-stock .snab-prod-card__oos-msg { width: 100% !important; box-sizing: border-box !important; }
.snab-prod-card.is-out-of-stock:hover { opacity: .75; }
.snab-prod-card.is-out-of-stock .snab-prod-card__img img { filter: grayscale(0.6); }
.snab-prod-card__oos-badge {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  display: inline-block; padding: 4px 8px; font-size: 10px; font-weight: 700;
  color: #fff; background: #94a3b8; border-radius: 3px; letter-spacing: .02em;
  text-transform: uppercase; line-height: 1.15;
  max-width: calc(100% - 20px); white-space: nowrap;
}
.snab-prod-card__oos-msg {
  margin-top: 10px;
  padding: 12px 10px;
  text-align: center;
  font-size: 13px; font-weight: 600; color: #64748b;
  background: #f1f5f9; border-radius: 4px;
  flex-shrink: 0;
  /* совпадает по высоте с .snab-prod-card__cta (qty + кнопка) */
  min-height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.snab-prod-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
  transform: translateY(-2px);
}
.snab-prod-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
}
.snab-prod-card__img {
  height: 200px;
  background: #fff;
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--brand-slate-100);
}
.snab-prod-card__img img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
}
.snab-prod-card__price-old {
  font-size: 13px;
  color: var(--brand-slate-500);
  text-decoration: line-through;
}
.snab-prod-card__body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.snab-prod-card__brand {
  font-size: 11px;
  color: var(--brand-slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.snab-prod-card__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--brand-slate);
  line-height: 1.35;
  min-height: 56px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-shrink: 0;
}
.snab-prod-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;          /* прижимаем к низу карточки */
  padding-top: 12px;
}
.snab-prod-card__price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--brand-slate);
  white-space: nowrap;
}
.snab-prod-card__old {
  font-size: 13px;
  color: var(--brand-slate-500);
  text-decoration: line-through;
}
.snab-prod-card__unit {
  font-size: 11px;
  color: var(--brand-slate-500);
  margin-bottom: 6px;
}

/* Quantity counter + add-to-cart блок */
.snab-prod-card__cta {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-shrink: 0;
}
.snab-prod-card__qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--brand-slate-300);
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.snab-prod-card__qty {
  height: 34px;
}
.snab-prod-card__qty-btn {
  width: 26px;
  background: #fff;
  border: none;
  color: var(--brand-slate);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: background 0.12s;
}
.snab-prod-card__qty-btn:hover { background: var(--brand-slate-100); }
.snab-prod-card__qty-inp {
  width: 32px;
  border: none;
  border-left: 1px solid var(--brand-slate-300);
  border-right: 1px solid var(--brand-slate-300);
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--brand-slate);
  outline: none;
  -moz-appearance: textfield;
  background: #fff;
}
.snab-prod-card__qty-inp::-webkit-outer-spin-button,
.snab-prod-card__qty-inp::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.snab-prod-card__btn {
  flex: 1;
  height: 34px;
  background: var(--brand-blue);
  color: #fff;
  border: none;
  padding: 0 12px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}
.snab-prod-card__btn:hover { background: #1e3a8a; }
.snab-prod-card__btn.is-in-cart {
  background: #16a34a;
}
.snab-prod-card__btn.is-in-cart:hover { background: #15803d; }
.snab-prod-card__btn .snab-check {
  display: inline-block;
  margin-right: 4px;
  font-weight: 700;
}

/* Иконки fav/compare справа сверху */
.snab-prod-card__actions {
  position: absolute;
  top: 10px; right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 3;
}
.snab-prod-card__icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--brand-slate-100);
  color: var(--brand-slate-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s, background 0.15s, border-color 0.15s, transform 0.1s;
  box-shadow: 0 1px 4px rgba(15,23,42,0.06);
}
.snab-prod-card__icon:hover {
  color: var(--brand-orange);
  border-color: var(--brand-orange);
  transform: scale(1.05);
}
.snab-prod-card__icon.is-active {
  background: var(--brand-orange);
  color: #fff;
  border-color: var(--brand-orange);
}
.snab-prod-card__icon.is-active:hover {
  background: #ea6a0a;
  color: #fff;
}
.js-snab-cmp.is-active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}
.js-snab-cmp.is-active:hover { background: #1e3a8a; color: #fff; }

/* ============================================================
   B2B BLOCK (split: copy + image)
   ============================================================ */
.snab-b2b {
  padding: 48px 0;
  background: var(--brand-bg-soft);
}
.snab-b2b__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--brand-blue);
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.snab-b2b__left { padding: 48px; }
.snab-b2b__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 32px;
  margin: 16px 0 12px;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.snab-b2b__lead { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 24px; }
.snab-b2b__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.92);
}
.snab-b2b__cta { background: var(--brand-orange); }
.snab-b2b__right {
  position: relative;
  align-self: stretch;
  min-height: 380px;
  overflow: hidden;
}
.snab-b2b__pic { display: block; width: 100%; height: 100%; }
.snab-b2b__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ============================================================
   BRANDS strip
   ============================================================ */
.snab-brands {
  padding: 72px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--brand-bg-soft, #f1f5f9) 100%);
}
.snab-brands__head {
  text-align: center;
  margin-bottom: 36px;
}
.snab-brands__head .snab-about-eyebrow { display: inline-block; }
.snab-brands__lead {
  max-width: 620px;
  margin: 8px auto 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--brand-slate-500, #64748b);
}
.snab-brands__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}
.snab-brands__tile { flex: 0 1 calc((100% - 14px * 7) / 8); }
.snab-brands__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 14px;
  padding: 8px;
  text-decoration: none;
  color: var(--brand-slate, #0f172a);
  overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .25s ease;
}
.snab-brands__tile::before {
  content: "";
  position: absolute;
  inset: auto -30% -50% auto;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,64,175,0.18) 0%, rgba(249,115,22,0.10) 60%, transparent 80%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.snab-brands__tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -16px rgba(15,23,42,0.22);
  border-color: rgba(30,64,175,0.3);
}
.snab-brands__tile:hover::before { opacity: 1; }

.snab-brands__tile img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.78;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
  position: relative;
  z-index: 1;
}
.snab-brands__tile:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.04);
}

.snab-brands__mark {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1;
  background: linear-gradient(135deg, var(--brand-blue, #1e40af) 0%, var(--brand-orange, #f97316) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
}
.snab-brands__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  line-height: 1.2;
  color: var(--brand-slate-700, #334155);
  letter-spacing: 0.005em;
  position: relative;
  z-index: 1;
  word-break: break-word;
  hyphens: auto;
}

.snab-brands__more { text-align: center; }
.snab-brands__more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--brand-blue, #1e40af);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color .2s ease, color .2s ease;
}
.snab-brands__more a:hover {
  border-color: var(--brand-orange, #f97316);
  color: var(--brand-orange, #f97316);
}
.snab-brands__more span { transition: transform .2s ease; display: inline-block; }
.snab-brands__more a:hover span { transform: translateX(4px); }

@media (max-width: 1199px) {
  .snab-brands__tile { flex-basis: calc((100% - 14px * 5) / 6); }
}
@media (max-width: 991px) {
  .snab-brands__tile { flex-basis: calc((100% - 14px * 3) / 4); }
}
@media (max-width: 600px) {
  .snab-brands { padding: 56px 0; }
  .snab-brands__grid { gap: 10px; }
  .snab-brands__tile { flex-basis: calc((100% - 10px * 2) / 3); }
  .snab-brands__name { font-size: 11px; }
}

/* Старые классы — оставлены для обратной совместимости (не используются) */
.snab-brand-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.snab-brand-chip {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; min-width: 140px; padding: 0 24px;
  background: var(--brand-slate-100); border-radius: 6px;
  font-family: var(--font-heading); font-weight: 700; font-size: 14px;
  letter-spacing: 0.05em; color: var(--brand-slate-700);
}

/* ============================================================
   NEWSLETTER (email subscribe)
   ============================================================ */
.snab-newsletter {
  padding: 48px 0;
  background: var(--brand-slate);
}
.snab-newsletter__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}
.snab-newsletter__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  margin: 0 0 8px;
}
.snab-newsletter__lead {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.snab-newsletter__form {
  display: flex;
  gap: 8px;
}
.snab-newsletter__input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
}
.snab-newsletter__input::placeholder { color: rgba(255,255,255,0.5); }
.snab-newsletter__input:focus { outline: 2px solid var(--brand-orange); outline-offset: -2px; }
.snab-newsletter__btn { height: 48px; padding: 0 24px; }

/* ============================================================
   FOOTER (replaces default OpenCart footer styles)
   ============================================================ */
.snab-footer {
  background: var(--brand-slate);
  color: #fff;
  padding: 48px 0 16px;
  margin-top: 0;  /* override default OpenCart `footer { margin-top: 30px }` */
}
/* Hide OpenCart default footer hr/p */
.snab-footer hr, .snab-footer > .container > p, footer:not(.snab-footer) { display: none; }

.snab-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.snab-footer__brand-col { font-size: 14px; }
.snab-footer__logo img { height: 64px; width: auto; filter: brightness(0) invert(1); }
.snab-footer__tagline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
.snab-footer__about {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin: 18px 0;
  line-height: 1.55;
}
.snab-footer__contacts {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}
.snab-footer__contacts li {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 0;
}
.snab-footer__icon { color: rgba(255,255,255,0.5); width: 16px; text-align: center; }
.snab-footer__social { display: flex; gap: 8px; }
.snab-footer__social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.snab-footer__social-link:hover { background: var(--brand-orange); color: #fff; text-decoration: none; }

.snab-footer__col-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.snab-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}
.snab-footer__col ul li { padding: 5px 0; }
.snab-footer__col ul li a {
  color: rgba(255,255,255,0.7);
  transition: color 0.15s ease;
}
.snab-footer__col ul li a:hover { color: #fff; text-decoration: none; }

.snab-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.snab-footer__pay { display: flex; gap: 6px; }
.snab-footer__pay span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  min-width: 44px;
  padding: 0 6px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.85);
}

/* ============================================================
   404 — branded error page
   ============================================================ */
.snab-404 {
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #fff 0%, var(--brand-bg-soft) 100%);
}
.snab-404__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.snab-404__code {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 160px;
  line-height: 1;
  color: var(--brand-orange);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  text-shadow: 0 4px 0 rgba(15, 23, 42, 0.06);
}
.snab-404__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 32px;
  color: var(--brand-slate);
  margin: 0 0 16px;
  line-height: 1.15;
}
.snab-404__lead {
  font-size: 16px;
  color: var(--brand-slate-500);
  margin: 0 auto 28px;
  max-width: 540px;
  line-height: 1.55;
}
.snab-404__search {
  display: flex;
  max-width: 540px;
  margin: 0 auto 24px;
  height: 52px;
  border: 1px solid var(--brand-slate-300);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.snab-404__input {
  flex: 1;
  border: none;
  padding: 0 16px;
  font-size: 15px;
  outline: none;
}
.snab-404__btn {
  background: var(--brand-orange);
  color: #fff;
  border: none;
  padding: 0 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease;
}
.snab-404__btn:hover { background: #ea580c; }

.snab-404__actions {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 36px;
}
.snab-404__link {
  color: var(--brand-blue);
  font-weight: 500;
  font-size: 14px;
}
.snab-404__link:hover { color: var(--brand-orange); text-decoration: none; }

.snab-404__popular {
  font-size: 13px;
  color: var(--brand-slate-500);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  align-items: center;
}
.snab-404__popular-label { color: var(--brand-slate-700); font-weight: 600; margin-right: 4px; }
.snab-404__popular a {
  display: inline-block;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--brand-slate-100);
  border-radius: 16px;
  color: var(--brand-slate);
  font-size: 13px;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.snab-404__popular a:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  text-decoration: none;
}

@media (max-width: 600px) {
  .snab-404 { padding: 50px 0 60px; }
  .snab-404__code { font-size: 110px; }
  .snab-404__title { font-size: 24px; }
  .snab-404__lead { font-size: 14px; }
  .snab-404__actions { flex-direction: column; gap: 14px; }
}

/* ============================================================
   CATEGORY PAGE (.snab-cat) — товары категории, тулбар, грид
   ============================================================ */
.snab-cat { padding: 24px 0 60px; background: var(--brand-bg); }

/* Хлебные крошки */
.snab-breadcrumb { font-size: 13px; margin-bottom: 16px; }
.snab-breadcrumb ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.snab-breadcrumb li { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-slate-500); }
.snab-breadcrumb a { color: var(--brand-slate-500); text-decoration: none; }
.snab-breadcrumb a:hover { color: var(--brand-orange); }
.snab-breadcrumb__sep { color: var(--brand-slate-300); }
.snab-breadcrumb [aria-current="page"] { color: var(--brand-slate); }

/* Заголовок категории */
.snab-cat__header {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  margin: 0 0 14px;
}
.snab-cat__title {
  font-family: var(--font-heading); font-weight: 900;
  font-size: 36px; line-height: 1.1; color: var(--brand-slate);
  margin: 0; letter-spacing: -0.01em;
}
.snab-cat__count {
  font-size: 14px; color: var(--brand-slate-500); font-weight: 500;
}

/* Описание категории (SEO-блок) */
.snab-cat__desc {
  font-size: 15px; color: var(--brand-slate-700); line-height: 1.6;
  max-width: 920px; margin-bottom: 24px;
}
.snab-cat__desc p { margin: 0 0 10px; }
.snab-cat__desc p:last-child { margin-bottom: 0; }

/* Подкатегории */
.snab-cat__subcats {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px;
}
.snab-cat__subcat {
  display: inline-block; padding: 8px 16px;
  background: var(--brand-bg-soft); border: 1px solid var(--brand-slate-100); border-radius: 999px;
  color: var(--brand-slate); text-decoration: none; font-size: 13.5px; font-weight: 500;
  transition: all 0.15s ease;
}
.snab-cat__subcat:hover {
  background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; text-decoration: none;
}

/* Тулбар (сортировка/лимит/вид) */
.snab-cat__toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--brand-bg-soft); padding: 12px 16px; border-radius: 6px;
  margin-bottom: 20px;
}
.snab-cat__toolbar-left { display: flex; gap: 16px; flex-wrap: wrap; }
.snab-cat__select { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--brand-slate-700); }
.snab-cat__select-label { font-weight: 500; white-space: nowrap; }
.snab-cat__select select {
  height: 36px; padding: 0 32px 0 12px;
  border: 1px solid var(--brand-slate-300); border-radius: 4px;
  background: #fff; color: var(--brand-slate); font-size: 13px; font-family: var(--font-body);
  cursor: pointer; outline: none;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%2364748B' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat; background-position: right 10px center;
}
.snab-cat__select select:focus { border-color: var(--brand-blue); }

.snab-cat__view { display: inline-flex; gap: 4px; }
.snab-cat__view-btn {
  width: 36px; height: 36px;
  background: #fff; border: 1px solid var(--brand-slate-300); border-radius: 4px;
  color: var(--brand-slate-500); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.15s ease;
}
.snab-cat__view-btn:hover { color: var(--brand-blue); border-color: var(--brand-blue); }
.snab-cat__view-btn.is-active { color: #fff; background: var(--brand-blue); border-color: var(--brand-blue); }

/* Грид товаров */
.snab-cat__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

/* Карточка товара */
.snab-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--brand-slate-100); border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.snab-card:hover { box-shadow: 0 6px 18px rgba(15,23,42,0.08); border-color: var(--brand-slate-300); }
.snab-card__image {
  position: relative; display: block; aspect-ratio: 1 / 1;
  background: #fff; overflow: hidden;
}
.snab-card__image img {
  width: 100%; height: 100%; object-fit: contain; padding: 0;
  transition: transform 0.25s ease;
}
.snab-card:hover .snab-card__image img { transform: scale(1.04); }
.snab-card__badge {
  position: absolute; top: 8px; left: 8px;
  padding: 3px 8px; border-radius: 3px;
  font-family: var(--font-heading); font-weight: 700; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
  color: #fff; background: var(--brand-orange); line-height: 1;
}
.snab-card__badge--sale { background: #dc2626; }
.snab-card__badge--new { background: #16a34a; }

.snab-card__body {
  display: flex; flex-direction: column; flex: 1;
  padding: 14px 14px 16px;
}
.snab-card__brand {
  font-size: 11px; color: var(--brand-slate-500); font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 6px;
}
.snab-card__name {
  font-family: var(--font-body); font-size: 14px; font-weight: 500; line-height: 1.35;
  margin: 0 0 12px; min-height: 38px;
}
.snab-card__name a { color: var(--brand-slate); text-decoration: none; }
.snab-card__name a:hover { color: var(--brand-blue); }

.snab-card__price {
  display: flex; align-items: baseline; gap: 8px;
  margin: 0 0 12px; margin-top: auto;
}
.snab-card__price-cur, .snab-card__price-new {
  font-family: var(--font-heading); font-weight: 800; font-size: 19px; color: var(--brand-slate);
  white-space: nowrap;
}
.snab-card__price-new { color: #dc2626; }
.snab-card__price-old {
  font-size: 13px; color: var(--brand-slate-500); text-decoration: line-through; white-space: nowrap;
}

.snab-card__actions { display: flex; gap: 6px; }
.snab-card__btn {
  height: 38px; border: 0; border-radius: 4px; cursor: pointer;
  font-family: var(--font-heading); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.snab-card__btn--cart {
  flex: 1; background: var(--brand-orange); color: #fff; padding: 0 12px;
}
.snab-card__btn--cart:hover { background: #ea580c; }
.snab-card__btn--icon {
  width: 38px; flex: 0 0 38px;
  background: #fff; border: 1px solid var(--brand-slate-300); color: var(--brand-slate-700);
}
.snab-card__btn--icon:hover { color: var(--brand-blue); border-color: var(--brand-blue); }

/* Пагинация + результаты */
.snab-cat__pager {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 16px; border-top: 1px solid var(--brand-slate-100);
  font-size: 13.5px; color: var(--brand-slate-500);
}
.snab-cat__pager-pages .pagination {
  margin: 0; display: inline-flex; gap: 4px; padding: 0; list-style: none;
}
.snab-cat__pager-pages .pagination > li > a,
.snab-cat__pager-pages .pagination > li > span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  border: 1px solid var(--brand-slate-300); border-radius: 4px;
  background: #fff; color: var(--brand-slate); text-decoration: none;
  font-size: 13px; font-weight: 500; line-height: 1;
}
.snab-cat__pager-pages .pagination > li.active > span,
.snab-cat__pager-pages .pagination > li > a:hover {
  background: var(--brand-blue); border-color: var(--brand-blue); color: #fff;
}

/* Пустая категория */
.snab-cat__empty {
  text-align: center; padding: 60px 20px;
  background: var(--brand-bg-soft); border-radius: 8px;
}
.snab-cat__empty p { font-size: 16px; color: var(--brand-slate-700); margin: 0 0 18px; }

/* ============================================================
   FILTER SIDEBAR (.snab-filter) — leaf-страница категории
   ============================================================ */
.snab-cat__sidebar--filters {
  padding: 0; background: transparent; border: 0;
  position: sticky; top: 20px;
}
.snab-filter {
  background: #fff; border: 1px solid var(--brand-slate-100); border-radius: 8px;
  overflow: hidden;
}
.snab-filter__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--brand-slate-100);
  background: var(--brand-bg-soft);
}
.snab-filter__head-title {
  font-family: var(--font-heading); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--brand-slate);
}
.snab-filter__reset {
  font-size: 12px; color: var(--brand-orange); text-decoration: none;
  border-bottom: 1px dashed var(--brand-orange);
}
.snab-filter__reset:hover { color: #ea580c; border-color: #ea580c; text-decoration: none; }

.snab-filter__group {
  padding: 14px 16px; border-bottom: 1px solid var(--brand-slate-100);
}
.snab-filter__group:last-child { border-bottom: 0; }
.snab-filter__title {
  font-family: var(--font-heading); font-weight: 600; font-size: 13px;
  color: var(--brand-slate); margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: 0.03em;
}

/* Collapse via <details>/<summary> */
details.snab-filter__group { padding: 0; }
details.snab-filter__group > summary.snab-filter__title {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; margin: 0;
  user-select: none;
  transition: background 0.12s ease;
}
details.snab-filter__group > summary.snab-filter__title::-webkit-details-marker { display: none; }
details.snab-filter__group > summary.snab-filter__title:hover { background: var(--brand-bg-soft); }
details.snab-filter__group > summary .snab-filter__title-text { flex: 1; }
.snab-filter__chev {
  flex: 0 0 12px; color: var(--brand-slate-500);
  transition: transform 0.2s ease;
}
details.snab-filter__group[open] .snab-filter__chev { transform: rotate(180deg); }
details.snab-filter__group > .snab-filter__list,
details.snab-filter__group > .snab-filter__price,
details.snab-filter__group > .snab-filter__price-hint { padding-left: 16px; padding-right: 16px; }
details.snab-filter__group > .snab-filter__price { padding-top: 4px; }
details.snab-filter__group > .snab-filter__price-hint { padding-bottom: 14px; }
details.snab-filter__group > .snab-filter__list { padding-bottom: 14px; }
.snab-filter__group--solo { padding: 14px 16px; }

/* Цена */
.snab-filter__price { display: flex; align-items: center; gap: 6px; }
.snab-filter__price input {
  flex: 1; min-width: 0;
  height: 34px; padding: 0 8px;
  border: 1px solid var(--brand-slate-300); border-radius: 4px;
  font-size: 13px; font-family: var(--font-body); color: var(--brand-slate);
  background: #fff; outline: none;
  -moz-appearance: textfield;
}
.snab-filter__price input::-webkit-outer-spin-button,
.snab-filter__price input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.snab-filter__price input:focus { border-color: var(--brand-blue); }
.snab-filter__price-sep { color: var(--brand-slate-500); }
.snab-filter__price-hint {
  font-size: 11.5px; color: var(--brand-slate-500); margin-top: 6px;
}

/* Список (бренды) */
.snab-filter__list {
  display: flex; flex-direction: column; gap: 2px;
  max-height: 280px; overflow-y: auto;
}
.snab-filter__check {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; border-radius: 4px; cursor: pointer;
  transition: background 0.12s ease;
}
.snab-filter__check:hover { background: var(--brand-bg-soft); }
.snab-filter__check input[type="checkbox"] {
  width: 16px; height: 16px; flex: 0 0 16px; margin: 0;
  accent-color: var(--brand-orange); cursor: pointer;
}
.snab-filter__check-label { flex: 1; font-size: 13.5px; color: var(--brand-slate); line-height: 1.2; }
.snab-filter__check-count {
  font-size: 11px; color: var(--brand-slate-500); font-weight: 500;
  background: var(--brand-bg-soft); padding: 1px 7px; border-radius: 999px;
  flex: 0 0 auto;
}
.snab-filter__check--solo { padding: 0; }

.snab-filter__submit { width: 100%; margin-top: 4px; }

/* Контейнер результатов (где AJAX заменяет HTML) */
.snab-cat__results { position: relative; }

/* Header результатов (count + reset) */
.snab-cat__results-meta {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--brand-slate-100);
  font-size: 13px; color: var(--brand-slate-500);
}
.snab-cat__results-count { font-weight: 600; color: var(--brand-slate); font-size: 14px; }
.snab-cat__results-noun { color: var(--brand-slate-500); font-weight: 500; }
.snab-cat__results-reset {
  font-size: 12.5px; color: var(--brand-orange); text-decoration: none;
  border-bottom: 1px dashed var(--brand-orange);
}
.snab-cat__results-reset:hover { color: #ea580c; border-color: #ea580c; text-decoration: none; }

/* Loading state — затемнение + спиннер во время AJAX */
.snab-cat__results.is-loading { pointer-events: none; }
.snab-cat__results.is-loading::before {
  content: ''; position: absolute; inset: 0; z-index: 5;
  background: rgba(255,255,255,0.6); border-radius: 6px;
}
.snab-cat__results.is-loading::after {
  content: ''; position: absolute; left: 50%; top: 120px;
  width: 32px; height: 32px; margin-left: -16px; z-index: 6;
  border: 3px solid var(--brand-slate-100); border-top-color: var(--brand-orange);
  border-radius: 50%; animation: snab-spin 0.7s linear infinite;
}
@keyframes snab-spin { to { transform: rotate(360deg); } }

/* ============================================================
   PARENT CATEGORY: header, sidebar+main, tile-grid, SEO, features-table
   ============================================================ */
.snab-cat__head { margin-bottom: 18px; }
.snab-cat__head .snab-cat__title { margin: 0; }

/* Layout: sidebar + main */
.snab-cat__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.snab-cat__sidebar {
  background: var(--brand-bg-soft); border: 1px solid var(--brand-slate-100); border-radius: 8px;
  padding: 16px;
  align-self: start;
  position: sticky; top: 20px;
}
.snab-cat__sidebar-title {
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--brand-slate-500); margin-bottom: 10px;
}
.snab-cat__sidebar-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 1px;
}
.snab-cat__sidebar-list a {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px;
  color: var(--brand-slate); font-size: 14px; text-decoration: none;
  border-radius: 4px;
  transition: all 0.12s ease;
}
.snab-cat__sidebar-list a:hover {
  background: #fff; color: var(--brand-blue); text-decoration: none;
}
.snab-cat__sidebar-ico {
  display: block; width: 22px; height: 22px;
  flex: 0 0 22px;
  opacity: 0.85;
}
.snab-cat__sidebar-list a:hover .snab-cat__sidebar-ico { opacity: 1; }
.snab-cat__sidebar-text { flex: 1; line-height: 1.25; }
.snab-cat__sidebar-num {
  font-size: 11.5px; color: var(--brand-slate-500); font-weight: 500;
  background: #fff; padding: 1px 6px; border-radius: 999px;
  flex: 0 0 auto;
}

.snab-cat__main { min-width: 0; }

/* Tile-grid подкатегорий с SVG-иконками — компактные, иконка в фокусе */
.snab-cat__tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.snab-cat__tile {
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
  gap: 0;
  padding: 0;
  background: #fff; border: 1px solid var(--brand-slate-100); border-radius: 8px;
  text-decoration: none; color: var(--brand-slate);
  text-align: center;
  transition: all 0.15s ease;
  overflow: hidden;
}
.snab-cat__tile:hover {
  border-color: var(--brand-orange);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.10);
  transform: translateY(-2px);
  text-decoration: none; color: var(--brand-slate);
}
.snab-cat__tile-icon {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  border-bottom: 1px solid var(--brand-slate-100);
  overflow: hidden;
}
.snab-cat__tile-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.15s ease;
}
.snab-cat__tile:hover .snab-cat__tile-icon img { transform: scale(1.04); }
.snab-cat__tile-name {
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  line-height: 1.2; color: var(--brand-slate);
  padding: 12px 8px 4px;
}
.snab-cat__tile-count {
  font-size: 11px; color: var(--brand-slate-500); font-weight: 500;
  padding: 0 8px 12px;
}

/* H2 для секций */
.snab-cat__h2 {
  font-family: var(--font-heading); font-weight: 800; font-size: 22px;
  margin: 0 0 16px; color: var(--brand-slate);
}

/* Featured products grid в parent */
.snab-cat__features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

/* SEO-блок */
.snab-cat__seo {
  background: var(--brand-bg-soft); border-radius: 8px;
  padding: 24px 28px;
  margin: 24px 0 20px;
}
.snab-cat__seo-h2 {
  font-family: var(--font-heading); font-weight: 800; font-size: 22px;
  margin: 0 0 14px; color: var(--brand-slate);
}
.snab-cat__seo-text { font-size: 15px; line-height: 1.65; color: var(--brand-slate-700); }
.snab-cat__seo-text p { margin: 0 0 10px; }
.snab-cat__seo-text p:last-child { margin-bottom: 0; }

.snab-cat__faq {
  margin: 22px 0;
  padding: 22px 24px;
  border: 1px solid #e5edf8;
  border-radius: 8px;
  background: #fff;
}
.snab-cat__faq-title {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.25;
}
.snab-cat__faq-list {
  display: grid;
  gap: 10px;
}
.snab-cat__faq-item {
  border: 1px solid #e5edf8;
  border-radius: 8px;
  background: #f8fafc;
}
.snab-cat__faq-question {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 700;
  color: var(--brand-slate);
}
.snab-cat__faq-answer {
  padding: 0 16px 14px;
  color: var(--brand-slate-700);
  font-size: 15px;
  line-height: 1.6;
}

/* Features table — 4 USP cells */
.snab-cat__features-table {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.snab-feat {
  background: #fff; border: 1px solid var(--brand-slate-100); border-radius: 8px;
  padding: 18px 18px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.snab-feat__ico { font-size: 24px; line-height: 1; margin-bottom: 4px; }
.snab-feat__title {
  font-family: var(--font-heading); font-weight: 700; font-size: 14px;
  color: var(--brand-slate);
}
.snab-feat__text { font-size: 13px; color: var(--brand-slate-500); line-height: 1.4; }

/* Адаптив */
@media (max-width: 1199px) {
  .snab-cat__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .snab-cat__features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .snab-cat { padding: 16px 0 40px; }
  .snab-cat__title { font-size: 28px; }
  .snab-cat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .snab-cat__view { display: none; }
  .snab-cat__layout { grid-template-columns: 1fr; }
  .snab-cat__sidebar { display: none; } /* на mobile хватает плиток подкатегорий */
  .snab-cat__features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .snab-cat__features-table { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .snab-cat__title { font-size: 22px; }
  .snab-cat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .snab-cat__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .snab-cat__tile { min-height: 100px; padding: 12px 6px 10px; }
  .snab-cat__tile-icon img { width: 40px; height: 40px; }
  .snab-cat__tile-name { font-size: 12px; }
  .snab-card__body { padding: 10px 10px 12px; }
  .snab-card__name { font-size: 13px; min-height: 34px; }
  .snab-card__price-cur, .snab-card__price-new { font-size: 17px; }
  .snab-card__btn--cart span { display: none; }
  .snab-cat__features-table { grid-template-columns: 1fr; }
  .snab-cat__seo { padding: 18px 16px; }
}

/* ============================================================
   COOKIE BAR (152-ФЗ — fixed bottom, hidden after accept)
   ============================================================ */
.snab-cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--brand-slate);
  color: #fff;
  padding: 14px 0;
  z-index: 9999;
  border-top: 2px solid var(--brand-orange);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.snab-cookie-bar__inner {
  display: flex; align-items: center;
  gap: 24px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.snab-cookie-bar__text { font-size: 13px; color: rgba(255,255,255,0.85); flex: 1; min-width: 280px; }
.snab-cookie-bar__text a { color: var(--brand-orange); text-decoration: underline; }
.snab-cookie-bar__btn { padding: 10px 24px; font-size: 12px; }

/* ============================================================
   MOBILE-ONLY HEADER + DRAWER + BOTTOM-NAV
   Hidden on desktop (≥992px). Visible on mobile (<992px).
   Desktop header/promo/menu also get hidden on mobile.
   ============================================================ */
.snab-mobile-header,
.snab-drawer,
.snab-bottom-nav { display: none; }

@media (max-width: 991px) {
  /* Hide desktop chrome on mobile */
  .snab-promo-bar,
  #top,
  .snab-header,
  .snab-mainnav,
  #menu { display: none !important; }

  /* Show mobile chrome */
  .snab-mobile-header { display: block; }
  .snab-bottom-nav    { display: flex; }

  /* Mobile sticky header */
  .snab-mobile-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #fff;
    border-bottom: 1px solid var(--brand-slate-100);
    box-shadow: 0 1px 0 rgba(15,23,42,0.04);
  }
  .snab-mobile-header__promo {
    background: var(--brand-blue);
    color: #fff;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
  }
  .snab-mobile-header__pin { color: var(--brand-orange); }
  .snab-mobile-header__sep { opacity: 0.5; }

  .snab-mobile-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 8px;
    gap: 8px;
  }
  .snab-mobile-header__burger,
  .snab-mobile-header__cart {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: transparent; border: none;
    color: var(--brand-slate);
    cursor: pointer;
    position: relative;
    padding: 0;
    text-decoration: none;
  }
  .snab-mobile-header__cart-count {
    position: absolute; top: 4px; right: 4px;
    min-width: 18px; height: 18px; padding: 0 4px;
    background: var(--brand-orange); color: #fff;
    font-size: 10px; font-weight: 700;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
  }
  .snab-mobile-header__logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .snab-mobile-header__logo img {
    height: 44px; width: auto;
    display: block;
  }
  .snab-mobile-header__search { padding: 0 12px 12px; }
  .snab-mobile-header__search form {
    display: flex;
    height: 44px;
    border: 1px solid var(--brand-slate-300);
    background: var(--brand-slate-100);
    border-radius: 6px;
    overflow: hidden;
  }
  .snab-mobile-header__search-icon {
    display: flex; align-items: center;
    padding: 0 10px;
    color: var(--brand-slate-500);
  }
  .snab-mobile-header__search input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 4px 0 0;
    font-size: 16px;
    color: var(--brand-slate);
    outline: none;
    -webkit-appearance: none;
  }
  .snab-mobile-header__search input::placeholder { color: var(--brand-slate-500); }

  /* Drawer (slide from left, 85% width, max 340px) */
  .snab-drawer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 60;
    pointer-events: none;
  }
  .snab-drawer.is-open { pointer-events: auto; }
  .snab-drawer__backdrop {
    position: absolute; inset: 0;
    background: rgba(15, 23, 42, 0.6);
    opacity: 0;
    transition: opacity 0.22s ease;
  }
  .snab-drawer.is-open .snab-drawer__backdrop { opacity: 1; }
  .snab-drawer__panel {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 85%;
    max-width: 340px;
    background: #fff;
    box-shadow: 0 0 30px rgba(0,0,0,0.25);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
  }
  .snab-drawer.is-open .snab-drawer__panel { transform: translateX(0); }

  .snab-drawer__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--brand-slate-100);
  }
  .snab-drawer__logo img { height: 48px; width: auto; display: block; }
  .snab-drawer__close {
    width: 40px; height: 40px;
    background: transparent; border: none;
    color: var(--brand-slate);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
  }

  .snab-drawer__nav { flex: 1; overflow-y: auto; padding: 8px 0; }
  .snab-drawer__item {
    display: flex; align-items: center; gap: 12px;
    width: 100%;
    padding: 14px 20px;
    background: transparent; border: none;
    border-bottom: 1px solid var(--brand-slate-100);
    text-align: left;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--brand-slate);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.12s ease;
  }
  .snab-drawer__item:hover, .snab-drawer__item:focus { background: var(--brand-slate-100); text-decoration: none; }
  .snab-drawer__item--highlight,
  .snab-drawer__item--highlight .snab-drawer__item-icon { color: var(--brand-blue); }
  .snab-drawer__item-icon { font-size: 18px; width: 22px; text-align: center; color: var(--brand-slate-500); }
  .snab-drawer__item-label { flex: 1; }
  .snab-drawer__item-chev {
    color: var(--brand-slate-500);
    transition: transform 0.18s ease;
  }
  .snab-drawer__item--toggle.is-open .snab-drawer__item-chev { transform: rotate(180deg); }

  .snab-drawer__sub {
    background: var(--brand-slate-100);
    border-bottom: 1px solid var(--brand-slate-100);
  }
  .snab-drawer__sub-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 24px 12px 54px;
    font-size: 14px;
    color: var(--brand-slate-700);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    text-decoration: none;
  }
  .snab-drawer__sub-item:last-child { border-bottom: none; }
  .snab-drawer__sub-item:hover { background: rgba(0,0,0,0.03); text-decoration: none; }
  .snab-drawer__sub-count { color: var(--brand-slate-500); font-size: 12px; }
  .snab-drawer__sub-item--all { color: var(--brand-blue); font-weight: 600; }

  .snab-drawer__foot {
    padding: 16px;
    border-top: 1px solid var(--brand-slate-100);
    background: #fff;
  }
  .snab-drawer__phone {
    display: flex; align-items: center; gap: 12px;
    color: var(--brand-slate);
    text-decoration: none;
    margin-bottom: 12px;
  }
  .snab-drawer__phone--secondary { margin-top: -4px; }
  .snab-drawer__phone strong { font-family: var(--font-heading); font-size: 17px; }
  .snab-drawer__phone small { color: var(--brand-slate-500); font-size: 12px; }
  .snab-drawer__phone-icon { color: var(--brand-blue); font-size: 18px; }
  .snab-drawer__mail {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px;
    color: var(--brand-slate-500);
    text-decoration: none;
    margin-bottom: 14px;
  }
  .snab-drawer__cta {
    display: block; width: 100%;
    padding: 14px;
    text-align: center;
  }

  /* Bottom-nav (4 icons, sticky bottom, safe-area-inset) */
  .snab-bottom-nav {
    position: sticky;
    bottom: 0;
    z-index: 30;
    background: #fff;
    border-top: 1px solid var(--brand-slate-100);
    height: 64px;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -1px 0 rgba(15,23,42,0.04);
  }
  .snab-bottom-nav__item {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 4px;
    color: var(--brand-slate-500);
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    transition: color 0.12s ease;
  }
  .snab-bottom-nav__item:hover, .snab-bottom-nav__item:focus { color: var(--brand-slate); text-decoration: none; }
  .snab-bottom-nav__item.is-active { color: var(--brand-orange); }
  .snab-bottom-nav__item.is-active span { font-weight: 700; }

  /* Cookie bar moves above bottom-nav */
  .snab-cookie-bar { padding-bottom: 76px; }
}

/* ============================================================
   Existing simple media queries — for desktop responsive layout
   ============================================================ */
@media (max-width: 991px) {
  .snab-cat-card { flex-basis: calc((100% - 16px * 2) / 3); }
  .snab-prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .snab-advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .snab-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .snab-b2b__inner { grid-template-columns: 1fr; }
  .snab-b2b__right { min-height: 0; height: auto; aspect-ratio: auto; }
  .snab-b2b__pic { height: auto; }
  .snab-b2b__img { height: auto; }
  .snab-newsletter__inner { grid-template-columns: 1fr; gap: 18px; }
  .snab-hero { grid-template-columns: 1fr; min-height: auto; }
  .snab-hero__right { min-height: 200px; padding: 24px; }
  .snab-hero__title { font-size: 36px; }
  .snab-hero__left { padding: 32px 24px; }
  .snab-hero__mark { font-size: 96px; }
  .snab-hero__accent { width: 160px; height: 160px; top: -40px; right: -40px; }
  .snab-hero--max {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 24px;
    text-align: left;
    min-height: auto;
  }
  .snab-hero__max-icon { flex: 0 0 120px; width: 120px; height: 120px; }
  .snab-hero__max-body .snab-hero__title { font-size: 32px; }
  .snab-hero__max-body .snab-hero__lead { font-size: 15px; }
  .snab-hero__max-actions { flex-direction: row; align-items: center; align-self: stretch; flex-wrap: wrap; margin-right: 0; }
  .snab-hero--max .snab-hero__accent { width: 140px; height: 140px; top: -70px; right: -70px; }
}

@media (max-width: 600px) {
  .snab-hero__title { font-size: 28px; }
  .snab-hero__lead { font-size: 15px; }
  .snab-hero__mark { font-size: 72px; }
  .snab-hero__ctas { gap: 14px; }
  .snab-hero__phone { font-size: 16px; }
  .snab-hero__max-icon { flex: 0 0 96px; width: 96px; height: 96px; }
  .snab-hero__max-body .snab-hero__title { font-size: 26px; }
  .snab-hero__max-body .snab-hero__lead { font-size: 14px; }
  .snab-section-title { font-size: 22px; }
  .snab-cat-grid { gap: 12px; }
  .snab-cat-card { flex-basis: calc((100% - 12px) / 2); }
  .snab-prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .snab-advantages__grid { grid-template-columns: 1fr; }
  .snab-footer__grid { grid-template-columns: 1fr; }
  .snab-b2b__title { font-size: 24px; }
  .snab-b2b__bullets { grid-template-columns: 1fr; }
  .snab-b2b__left { padding: 28px 20px; }
  .snab-newsletter__form { flex-direction: column; }
  .snab-newsletter__input, .snab-newsletter__btn { width: 100%; }
  .snab-tabs { width: 100%; overflow-x: auto; }
  .snab-section-head { flex-direction: column; align-items: flex-start; }
  .snab-cookie-bar__inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .snab-prod-card__title { font-size: 13px; min-height: 50px; }
}

/* ============================================================
   Калькуляторы — хаб и страница (СНАБ-МСК фирменный стиль)
   ============================================================ */
.snab-calc-page { padding: 24px 0 64px; }
.snab-calc__crumbs ol { list-style: none; margin: 0 0 16px; padding: 0; display: flex; gap: 6px; font-size: 13px; color: var(--brand-slate-500); flex-wrap: wrap; }
.snab-calc__crumbs li:not(:last-child)::after { content: "›"; margin-left: 8px; }
.snab-calc__crumbs a { color: var(--brand-blue); text-decoration: none; }
.snab-calc__crumbs a:hover { text-decoration: underline; }
.snab-calc__head { margin-bottom: 28px; }
.snab-calc__head h1 { font-family: var(--font-heading); font-weight: 900; font-size: 36px; line-height: 1.1; margin: 0 0 12px; color: var(--brand-slate); }
.snab-calc__lead { font-size: 16px; color: var(--brand-slate-700); max-width: 720px; line-height: 1.5; margin: 0; }

/* === HERO калькулятора (фирменный) === */
.snab-calc-hero {
  position: relative;
  display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center;
  background: linear-gradient(110deg, var(--brand-blue) 0%, #1d3a99 65%, #2747bf 100%);
  border-radius: 14px;
  padding: 32px 40px;
  color: #fff;
  margin-bottom: 28px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(30,64,175,.18);
}
.snab-calc-hero__accent {
  position: absolute; top: -90px; right: -90px;
  width: 200px; height: 200px;
  background: var(--brand-orange);
  transform: rotate(45deg);
  border-radius: 22px;
  pointer-events: none;
}
.snab-calc-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.08) 0, transparent 55%);
  pointer-events: none;
}
.snab-calc-hero__art {
  position: relative; z-index: 1;
  width: 220px; height: 180px;
  background: rgba(255,255,255,.08);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.snab-calc-hero__art-glyph {
  display: block;
  font-family: var(--font-heading); font-weight: 900; font-size: 92px;
  line-height: 1; color: var(--brand-orange);
}
.snab-calc-hero--cement   .snab-calc-hero__art-glyph::before { content: 'Ц'; }
.snab-calc-hero--plaster  .snab-calc-hero__art-glyph::before { content: 'Ш'; }
.snab-calc-hero--putty    .snab-calc-hero__art-glyph::before { content: 'Ш'; color: #fef3c7; }
.snab-calc-hero--tile     .snab-calc-hero__art-glyph::before { content: 'П'; }
.snab-calc-hero--paint    .snab-calc-hero__art-glyph::before { content: 'К'; color: #6ee7b7; }
.snab-calc-hero__copy { position: relative; z-index: 1; }
.snab-calc-hero__kicker {
  display: inline-block;
  font-family: var(--font-heading); font-weight: 700; font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase;
  color: #fff;
  background: rgba(249,115,22,.22);
  padding: 6px 12px; border-radius: 4px;
  margin-bottom: 12px;
}
.snab-calc-hero__copy h1 {
  font-family: var(--font-heading); font-weight: 900;
  font-size: 32px; line-height: 1.1;
  color: #fff; margin: 0 0 8px;
}
.snab-calc-hero__copy p { color: rgba(255,255,255,.88); font-size: 15px; margin: 0; max-width: 580px; line-height: 1.5; }

/* === Хаб с плитками === */
.snab-calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 48px; }
.snab-calc-tile {
  position: relative; overflow: hidden;
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--brand-slate-100);
  border-radius: 12px;
  padding: 22px;
  text-decoration: none; color: var(--brand-slate);
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.snab-calc-tile:hover { box-shadow: 0 12px 28px rgba(15,23,42,.10); transform: translateY(-3px); border-color: var(--brand-blue); color: var(--brand-slate); }
.snab-calc-tile__icon {
  flex: 0 0 64px; width: 64px; height: 64px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-blue), #2747bf);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-heading); font-weight: 900; font-size: 28px;
  box-shadow: 0 4px 12px rgba(30,64,175,.25);
}
.snab-calc-tile__icon .snab-icon--calc { width: 32px; height: 32px; color: #fff; }
.snab-calc-tile__name { font-family: var(--font-heading); font-weight: 700; font-size: 18px; margin: 0 0 6px; color: var(--brand-slate); }
.snab-calc-tile__short { font-size: 13px; color: var(--brand-slate-500); margin: 0 0 10px; line-height: 1.4; }
.snab-calc-tile__cta { font-size: 13px; color: var(--brand-orange); font-weight: 600; }
.snab-calc__about { margin-top: 32px; padding: 28px; background: var(--brand-bg-soft); border-radius: 10px; }
.snab-calc__about h2 { font-size: 20px; margin: 0 0 12px; color: var(--brand-slate); }
.snab-calc__about h2:not(:first-child) { margin-top: 24px; }
.snab-calc__about p, .snab-calc__about li { font-size: 14px; color: var(--brand-slate-700); line-height: 1.55; }
.snab-calc__about ul { margin: 8px 0 0; padding-left: 20px; }
.snab-calc__layout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: flex-start; margin-bottom: 40px; }
.snab-calc__form-wrap, .snab-calc__result-wrap > * { background: #fff; border: 1px solid var(--brand-slate-100); border-radius: 12px; padding: 24px; }
.snab-calc__form-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--brand-slate-100); }
.snab-calc__form-head h2 { font-family: var(--font-heading); font-weight: 700; font-size: 18px; margin: 0; color: var(--brand-slate); }
.snab-calc__step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: var(--brand-blue); color: #fff;
  border-radius: 50%;
  font-family: var(--font-heading); font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.snab-calc__step--orange { background: var(--brand-orange); }
.snab-calc-result__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.snab-calc-form .snab-calc-field { margin-bottom: 18px; }
.snab-calc-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--brand-slate); }
.snab-calc-input { width: 100%; padding: 10px 12px; border: 1px solid var(--brand-slate-300); border-radius: 6px; font-size: 15px; color: var(--brand-slate); background: #fff; outline: none; transition: border-color .15s; }
.snab-calc-input:focus { border-color: var(--brand-blue); }
.snab-calc-input--inline { width: 60px; padding: 4px 8px; font-size: 14px; display: inline-block; margin: 0 6px; }
.snab-calc-hint { display: block; font-size: 12px; color: var(--brand-slate-500); margin-top: 4px; }
.snab-calc-checkbox { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 500; font-size: 14px; color: var(--brand-slate-700); }
.snab-calc-checkbox input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; }
.snab-calc-field--reserve { margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--brand-slate-100); }
.snab-calc-result { position: sticky; top: 16px; background: linear-gradient(160deg, #f8fafc 0%, #fff 50%); border: 2px solid var(--brand-blue); }
.snab-calc__result-wrap > * + * { margin-top: 16px; }
.snab-calc-result__label { font-size: 11px; text-transform: uppercase; letter-spacing: .15em; color: var(--brand-slate-500); font-weight: 700; }
.snab-calc-result__qty { font-family: var(--font-heading); font-weight: 900; font-size: 44px; color: var(--brand-blue); display: flex; align-items: baseline; gap: 8px; line-height: 1; margin-top: 6px; }
.snab-calc-result__qty span { font-size: 18px; color: var(--brand-slate-700); font-weight: 600; }
.snab-calc-result__pkg { font-size: 14px; color: var(--brand-slate-700); margin-top: 10px; padding: 10px 12px; background: var(--brand-bg-soft); border-radius: 6px; display: inline-block; }
.snab-calc-result__pkg span { font-weight: 700; color: var(--brand-slate); }
.snab-calc-buy__head { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--brand-slate); margin-bottom: 12px; }
.snab-calc-buy { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--brand-slate-100); }
.snab-calc-buy__card { display: flex; gap: 12px; text-decoration: none; color: var(--brand-slate); padding: 12px; border-radius: 6px; background: var(--brand-bg-soft); }
.snab-calc-buy__card img { width: 60px; height: 60px; object-fit: contain; flex-shrink: 0; background: #fff; border-radius: 4px; padding: 4px; }
.snab-calc-buy__name { font-size: 13px; line-height: 1.3; font-weight: 500; margin-bottom: 4px; }
.snab-calc-buy__price { font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--brand-slate); }
.snab-calc-buy__price small { font-weight: 400; color: var(--brand-slate-500); font-size: 11px; }
.snab-calc-buy__total { font-size: 13px; color: var(--brand-slate-700); margin-top: 4px; }
.snab-calc-buy__total strong { color: var(--brand-orange); font-size: 16px; font-weight: 700; }
.snab-calc-buy__btn { display: block; width: 100%; margin-top: 12px; background: var(--brand-orange); color: #fff; border: none; padding: 12px; border-radius: 6px; font-family: var(--font-heading); font-weight: 700; font-size: 14px; cursor: pointer; transition: background .15s; }
.snab-calc-buy__btn:hover { background: #ea6a0a; }
.snab-calc-buy__btn.is-in-cart { background: #16a34a; }
.snab-calc-buy__btn.is-in-cart:hover { background: #15803d; }
.snab-calc-empty { margin-top: 16px; padding: 16px; background: var(--brand-bg-soft); border-radius: 6px; font-size: 13px; color: var(--brand-slate-500); text-align: center; }
.snab-calc-empty a { color: var(--brand-blue); }
.snab-calc-other__head { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--brand-slate-500); margin-bottom: 10px; }
.snab-calc-other ul { list-style: none; margin: 0; padding: 0; }
.snab-calc-other li { padding: 6px 0; border-bottom: 1px dashed var(--brand-slate-100); }
.snab-calc-other li:last-child { border-bottom: 0; }
.snab-calc-other a { color: var(--brand-slate); text-decoration: none; font-size: 14px; }
.snab-calc-other a:hover { color: var(--brand-blue); }
.snab-calc-links,
.snab-calc-products,
.snab-calc-b2b {
  background: #fff;
  border: 1px solid var(--brand-slate-100);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 24px;
}
.snab-calc-links__head,
.snab-calc-products__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.snab-calc-links__head h2,
.snab-calc-products__head h2,
.snab-calc-b2b h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
  margin: 0;
  color: var(--brand-slate);
}
.snab-calc-links__head p {
  margin: 6px 0 0;
  max-width: 720px;
  color: var(--brand-slate-700);
  line-height: 1.55;
  font-size: 14px;
}
.snab-calc-links__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.snab-calc-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 6px;
  background: var(--brand-bg-soft);
  border: 1px solid var(--brand-slate-100);
  color: var(--brand-slate);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}
.snab-calc-link:hover {
  color: var(--brand-blue);
  border-color: rgba(30,64,175,.35);
  background: #eef4ff;
  text-decoration: none;
}
.snab-calc-products__head a {
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.snab-calc-products__head a:hover { text-decoration: underline; }
.snab-calc-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.snab-calc-product {
  display: grid;
  grid-template-rows: 120px auto auto;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--brand-slate-100);
  border-radius: 8px;
  color: var(--brand-slate);
  text-decoration: none;
  background: #fff;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.snab-calc-product:hover {
  color: var(--brand-slate);
  border-color: rgba(30,64,175,.35);
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
  transform: translateY(-2px);
  text-decoration: none;
}
.snab-calc-product__img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-bg-soft);
  border-radius: 6px;
  padding: 10px;
}
.snab-calc-product__img img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}
.snab-calc-product__name {
  min-height: 42px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.35;
}
.snab-calc-product__price {
  color: var(--brand-blue);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
}
.snab-calc-b2b {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background: linear-gradient(110deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  border: 0;
}
.snab-calc-b2b h2 { color: #fff; }
.snab-calc-b2b p {
  margin: 8px 0 0;
  max-width: 760px;
  color: rgba(255,255,255,.82);
  line-height: 1.55;
  font-size: 14px;
}
.snab-calc-b2b__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 0 0 auto;
}
.snab-calc-b2b__btn,
.snab-calc-b2b__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}
.snab-calc-b2b__btn {
  background: var(--brand-orange);
  color: #fff;
}
.snab-calc-b2b__btn:hover { background: #ea6a0a; color: #fff; text-decoration: none; }
.snab-calc-b2b__link {
  background: rgba(255,255,255,.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}
.snab-calc-b2b__link:hover { background: rgba(255,255,255,.16); color: #fff; text-decoration: none; }
.snab-calc__seo { background: #fff; border: 1px solid var(--brand-slate-100); border-radius: 10px; padding: 28px; }
.snab-calc__seo h2 { font-size: 20px; margin: 0 0 12px; color: var(--brand-slate); }
.snab-calc__seo h2:not(:first-child) { margin-top: 24px; }
.snab-calc__seo p { color: var(--brand-slate-700); line-height: 1.6; font-size: 14px; }
.snab-calc-faq details { border-bottom: 1px solid var(--brand-slate-100); padding: 12px 0; }
.snab-calc-faq summary { cursor: pointer; font-weight: 600; color: var(--brand-slate); font-size: 14px; list-style: none; padding-right: 24px; position: relative; }
.snab-calc-faq summary::-webkit-details-marker { display: none; }
.snab-calc-faq summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 20px; color: var(--brand-slate-500); transition: transform .15s; }
.snab-calc-faq details[open] summary::after { transform: rotate(45deg); }
.snab-calc-faq__body p { font-size: 13px; color: var(--brand-slate-700); margin: 8px 0 0; line-height: 1.55; }
/* Mobile sticky CTA — фиксированная плашка с итогом + кнопкой */
.snab-calc-mobile-cta { display: none; }

@media (max-width: 900px) {
  .snab-calc__layout { grid-template-columns: 1fr; gap: 16px; }
  .snab-calc-result { position: static; }
  .snab-calc-grid { grid-template-columns: 1fr; gap: 12px; }
  .snab-calc__head h1 { font-size: 24px; }

  /* HERO компактнее */
  .snab-calc-hero { grid-template-columns: 88px 1fr; padding: 20px 18px; gap: 16px; border-radius: 10px; }
  .snab-calc-hero__art { width: 88px; height: 88px; border-radius: 10px; }
  .snab-calc-hero__art-glyph { font-size: 48px; }
  .snab-calc-hero__copy h1 { font-size: 22px; line-height: 1.15; }
  .snab-calc-hero__copy p { font-size: 13px; }
  .snab-calc-hero__kicker { font-size: 10px; padding: 4px 8px; margin-bottom: 8px; }
  .snab-calc-hero__accent { width: 130px; height: 130px; top: -60px; right: -60px; }

  /* Результат сверху над формой */
  .snab-calc__result-wrap { order: -1; }
  .snab-calc__form-wrap, .snab-calc__result-wrap > * { padding: 18px; border-radius: 10px; }
  .snab-calc-result__qty { font-size: 36px; }

  /* Хаб — плитки в одну колонку */
  .snab-calc-tile { padding: 16px; }
  .snab-calc-tile__icon { flex: 0 0 52px; width: 52px; height: 52px; font-size: 22px; }
  .snab-calc-tile__name { font-size: 16px; }

  /* Sticky-CTA снизу для покупки */
  .snab-calc-mobile-cta {
    display: flex; align-items: center; gap: 12px;
    position: fixed; bottom: 64px; left: 0; right: 0; z-index: 90;
    background: #fff;
    padding: 10px 14px;
    border-top: 1px solid var(--brand-slate-100);
    box-shadow: 0 -4px 16px rgba(15,23,42,.08);
  }
  .snab-calc-mobile-cta__info { flex: 1; min-width: 0; }
  .snab-calc-mobile-cta__qty { font-size: 12px; color: var(--brand-slate-700); }
  .snab-calc-mobile-cta__qty strong { color: var(--brand-blue); font-family: var(--font-heading); font-weight: 700; }
  .snab-calc-mobile-cta__total { font-family: var(--font-heading); font-weight: 700; font-size: 16px; color: var(--brand-orange); margin-top: 2px; }
  .snab-calc-mobile-cta__btn {
    background: var(--brand-orange); color: #fff; border: none;
    padding: 12px 20px; border-radius: 6px;
    font-family: var(--font-heading); font-weight: 700; font-size: 14px;
    white-space: nowrap; cursor: pointer;
  }
  .snab-calc-mobile-cta__btn.is-in-cart { background: #16a34a; }

  /* Чтобы sticky-CTA не закрывал контент */
  .snab-calc-page--single { padding-bottom: 100px; }

  /* Меньше padding в SEO-блоке */
  .snab-calc-links,
  .snab-calc-products,
  .snab-calc-b2b { padding: 18px; margin-bottom: 16px; }
  .snab-calc-links__head,
  .snab-calc-products__head,
  .snab-calc-b2b { flex-direction: column; align-items: stretch; }
  .snab-calc-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .snab-calc-product { grid-template-rows: 104px auto auto; padding: 12px; }
  .snab-calc-product__img img { max-height: 86px; }
  .snab-calc-b2b__actions { justify-content: stretch; }
  .snab-calc-b2b__btn,
  .snab-calc-b2b__link { width: 100%; }
  .snab-calc__seo { padding: 18px; }
  .snab-calc__seo h2 { font-size: 18px; }

  /* Калькуляторы-other скрыть на мобильном (есть в bottom-nav) */
  .snab-calc-other { display: none; }
}

@media (max-width: 480px) {
  .snab-calc-page { overflow-x: hidden; }
  .snab-calc-hero {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 12px;
  }
  .snab-calc-hero__art {
    width: 76px;
    height: 76px;
  }
  .snab-calc-hero__copy h1 { font-size: 20px; }
  .snab-calc-hero__copy h1,
  .snab-calc-hero__copy p { overflow-wrap: anywhere; }
  .snab-calc-result__qty { font-size: 32px; }
  .snab-calc-products__grid { grid-template-columns: 1fr; }
  .snab-calc-buy__card img { width: 50px; height: 50px; }
  .snab-calc-buy__dd-name,
  .snab-calc-buy__dd-item-name { white-space: normal; }
  .snab-calc-buy__price-row { align-items: flex-start; gap: 6px; }
  .snab-calc-buy__price-total { font-size: 20px; }
  .snab-calc-input { font-size: 16px; /* предотвращает зум на iOS */ }
}

/* ============================================================
   Страница бренда (manufacturer/info)
   ============================================================ */
.snab-brand { padding: 24px 0 64px; }
.snab-brand__hero { display: grid; grid-template-columns: 180px 1fr; grid-template-rows: auto auto; gap: 24px; align-items: center; margin-bottom: 28px; }
.snab-brand__logo { width: 180px; height: 120px; background: #fff; border: 1px solid var(--brand-slate-100); border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 16px; grid-row: 1 / span 2; }
.snab-brand__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.snab-brand__logo-text { font-family: var(--font-heading); font-weight: 900; font-size: 64px; color: var(--brand-blue); letter-spacing: -0.04em; }
.snab-brand__head h1 { font-family: var(--font-heading); font-weight: 900; font-size: 36px; line-height: 1.05; margin: 0 0 10px; color: var(--brand-slate); }
.snab-brand__meta { font-size: 14px; color: var(--brand-slate-500); }
.snab-brand__count strong { color: var(--brand-slate); font-family: var(--font-heading); font-weight: 700; font-size: 16px; margin-right: 4px; }
.snab-brand__sep { margin: 0 8px; }
.snab-brand__utp { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.snab-brand-utp { background: #fff; border: 1px solid var(--brand-slate-100); border-radius: 10px; padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; transition: border-color .15s, box-shadow .15s; }
.snab-brand-utp:hover { border-color: var(--brand-blue); box-shadow: 0 4px 14px rgba(15,23,42,.06); }
.snab-brand-utp__icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, #dbeafe, #bfdbfe); display: flex; align-items: center; justify-content: center; color: var(--brand-blue); }
.snab-brand-utp__icon::before { font-size: 22px; line-height: 1; }
.snab-brand-utp__icon--check::before    { content: "✓"; }
.snab-brand-utp__icon--shield::before   { content: "⛨"; }
.snab-brand-utp__icon--truck::before    { content: "🚚"; font-size: 20px; }
.snab-brand-utp__icon--star::before     { content: "★"; }
.snab-brand-utp__icon--doc::before      { content: "📄"; font-size: 20px; }
.snab-brand-utp__icon--cert::before     { content: "🏅"; font-size: 20px; }
.snab-brand-utp__title { font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: var(--brand-slate); margin-bottom: 4px; }
.snab-brand-utp__text { font-size: 13px; color: var(--brand-slate-700); line-height: 1.45; }
.snab-brand__layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: flex-start; }
.snab-brand__sidebar { position: sticky; top: 16px; background: #fff; border: 1px solid var(--brand-slate-100); border-radius: 10px; padding: 16px; }
.snab-brand__sidebar-title { font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: var(--brand-slate); margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--brand-slate-100); }
.snab-brand__sidebar-list { list-style: none; margin: 0; padding: 0; }
.snab-brand__sidebar-list li { padding: 4px 0; }
.snab-brand__sidebar-list a { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 8px; border-radius: 6px; color: var(--brand-slate); text-decoration: none; font-size: 14px; transition: background .12s, color .12s; }
.snab-brand__sidebar-list a:hover { background: var(--brand-bg-soft); color: var(--brand-blue); }
.snab-brand__sidebar-num { font-size: 12px; color: var(--brand-slate-500); font-weight: 600; }
.snab-brand__toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; background: #fff; border: 1px solid var(--brand-slate-100); border-radius: 8px; padding: 10px 14px; }
.snab-brand__toolbar-label { font-size: 13px; color: var(--brand-slate-500); }
.snab-brand__sort { flex: 1; max-width: 280px; padding: 6px 10px; border: 1px solid var(--brand-slate-300); border-radius: 6px; font-size: 14px; color: var(--brand-slate); background: #fff; cursor: pointer; }
.snab-brand__grid { grid-template-columns: repeat(4, 1fr); }
.snab-brand__pagination { margin-top: 24px; text-align: center; }
.snab-brand__empty { background: var(--brand-bg-soft); padding: 32px; text-align: center; border-radius: 10px; color: var(--brand-slate-500); }
.snab-brand__empty a { color: var(--brand-blue); }
.snab-brand__description { margin-top: 32px; background: #fff; border: 1px solid var(--brand-slate-100); border-radius: 10px; padding: 28px; }
.snab-brand__description h2 { font-family: var(--font-heading); font-weight: 700; font-size: 22px; margin: 0 0 14px; color: var(--brand-slate); }
.snab-brand__description p { color: var(--brand-slate-700); line-height: 1.65; font-size: 14px; margin: 0 0 12px; }
.snab-brand__description h3 { font-family: var(--font-heading); font-weight: 700; font-size: 16px; margin: 18px 0 8px; color: var(--brand-slate); }
.snab-brand__description ul { padding-left: 22px; color: var(--brand-slate-700); }
.snab-brand__description li { margin-bottom: 4px; line-height: 1.5; }
@media (max-width: 991px) {
  .snab-brand__layout { grid-template-columns: 1fr; }
  .snab-brand__sidebar { position: static; }
  .snab-brand__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .snab-brand__hero { grid-template-columns: 100px 1fr; gap: 16px; }
  .snab-brand__logo { width: 100px; height: 80px; padding: 10px; }
  .snab-brand__logo-text { font-size: 40px; }
  .snab-brand__head h1 { font-size: 24px; }
  .snab-brand__utp { grid-template-columns: 1fr; gap: 10px; }
  .snab-brand__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* === СНАБ-МСК: бренды — описание сверху + заголовок каталога === */
.snab-brand__description--top {
  margin-top: 24px;
  margin-bottom: 32px;
  background: #fff;
  border: 1px solid var(--brand-slate-100);
  border-left: 4px solid var(--brand-blue);
  border-radius: 10px;
  padding: 24px 28px;
}
.snab-brand__description--top > *:first-child { margin-top: 0; }
.snab-brand__description--top > *:last-child  { margin-bottom: 0; }
.snab-brand__description--top h3:first-child  { margin-top: 0; }

.snab-brand__catalog-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--brand-slate-100);
}
.snab-brand__catalog-title h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--brand-slate);
  margin: 0;
}
.snab-brand__catalog-title .snab-brand__toolbar {
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

@media (max-width: 768px) {
  .snab-brand__description--top { padding: 18px 16px; }
  .snab-brand__catalog-title h2 { font-size: 18px; }
  .snab-brand__catalog-title { gap: 8px; }
}

/* ============================================================
   ABOUT page (snab/about)
   ============================================================ */

/* Reveal-on-scroll baseline */
[data-snab-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-snab-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- HERO ---------- */
.snab-about-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1d4f 0%, #1e40af 55%, #2451c4 100%);
  color: #fff;
  padding: 88px 0 96px;
  isolation: isolate;
}
.snab-about-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.snab-about-hero__grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}
.snab-about-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: snabAboutFloat 14s ease-in-out infinite;
}
.snab-about-hero__blob--1 {
  width: 480px; height: 480px;
  top: -160px; left: -120px;
  background: radial-gradient(circle, #f97316 0%, transparent 70%);
}
.snab-about-hero__blob--2 {
  width: 380px; height: 380px;
  bottom: -120px; right: -80px;
  background: radial-gradient(circle, #38bdf8 0%, transparent 70%);
  animation-delay: -5s;
}
.snab-about-hero__blob--3 {
  width: 260px; height: 260px;
  top: 30%; right: 18%;
  background: radial-gradient(circle, #a855f7 0%, transparent 70%);
  opacity: 0.35;
  animation-delay: -9s;
}
@keyframes snabAboutFloat {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  33%      { transform: translate3d(40px,-30px,0) scale(1.06); }
  66%      { transform: translate3d(-30px,40px,0) scale(0.95); }
}
.snab-about-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.snab-about-hero__crumbs {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.snab-about-hero__crumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  opacity: 0.5;
}
.snab-about-hero__crumbs a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.snab-about-hero__crumbs a:hover { border-color: rgba(255,255,255,0.5); }

.snab-about-hero__logo-wrap {
  position: relative;
  display: inline-block;
  padding: 40px 56px;
  margin-bottom: 36px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 22px;
  box-shadow: 0 36px 96px -28px rgba(0,0,0,0.55),
              inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease;
  transform-style: preserve-3d;
  animation: snabAboutLogoIn .9s cubic-bezier(.2,.8,.2,1) both;
}
.snab-about-hero__logo-wrap:hover {
  box-shadow: 0 36px 90px -24px rgba(249,115,22,0.55),
              0 0 0 1px rgba(249,115,22,0.35),
              inset 0 1px 0 rgba(255,255,255,0.95);
}
@keyframes snabAboutLogoIn {
  from { opacity: 0; transform: translateY(24px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.snab-about-hero__logo {
  display: block;
  width: 460px;
  max-width: 100%;
  height: auto;
  pointer-events: none;
}

/* ===== Bricks bounce on page load ===== */
.snab-about-hero__brick {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: snabAboutBrickDrop 0.85s cubic-bezier(.34, 1.56, .64, 1) both;
  animation-delay: 0.55s;
}
.snab-about-hero__brick--1 { animation-delay: 0.55s; }
.snab-about-hero__brick--2 { animation-delay: 0.75s; }
.snab-about-hero__brick--3 { animation-delay: 0.95s; }
@keyframes snabAboutBrickDrop {
  0%   { transform: translateY(-32px) scaleY(0.9); opacity: 0; }
  55%  { transform: translateY(0)     scaleY(1.05); opacity: 1; }
  72%  { transform: translateY(-6px)  scaleY(0.98); }
  86%  { transform: translateY(0)     scaleY(1.02); }
  100% { transform: translateY(0)     scaleY(1); opacity: 1; }
}

.snab-about-hero__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 22px;
  border: 2px solid rgba(249,115,22,0.55);
  opacity: 0;
  animation: snabAboutPulse 3.4s ease-out infinite;
  animation-delay: 1.6s;
  pointer-events: none;
}
@keyframes snabAboutPulse {
  0%   { opacity: 0; transform: scale(1); }
  18%  { opacity: 0.7; }
  100% { opacity: 0; transform: scale(1.16); }
}

.snab-about-hero__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: #fff;
  text-transform: uppercase;
}
.snab-about-hero__title-row {
  display: block;
}
.snab-about-hero__title-row--accent {
  background: linear-gradient(120deg, #f97316 0%, #fbbf24 60%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: lowercase;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.snab-about-hero__lead {
  max-width: 720px;
  margin: 0 auto 36px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}
.snab-about-hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 28px;
}
.snab-about-hero__btn {
  background: var(--brand-orange);
  font-size: 15px;
  padding: 14px 28px;
  letter-spacing: 0.08em;
}
.snab-about-hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: border-color .2s ease;
}
.snab-about-hero__phone:hover { color: #fff; border-color: var(--brand-orange); }

/* ---------- Common helpers ---------- */
.snab-about-block {
  padding: 80px 0;
}
.snab-about-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 14px;
}
.snab-about-h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--brand-slate, #0f172a);
  margin: 0 0 20px;
}

/* ---------- Intro ---------- */
.snab-about-intro { background: #fff; }
.snab-about-intro__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.snab-about-intro__copy p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--brand-slate-700, #334155);
  margin: 0 0 14px;
}
.snab-about-intro__pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.snab-about-pillar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  background: var(--brand-bg-soft, #f1f5f9);
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.snab-about-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -18px rgba(15,23,42,0.18);
  border-color: rgba(30,64,175,0.25);
}
.snab-about-pillar__ico {
  font-size: 28px;
  line-height: 1;
}
.snab-about-pillar__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  color: var(--brand-slate, #0f172a);
}
.snab-about-pillar__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--brand-slate-500, #64748b);
}

/* ---------- Stats ---------- */
.snab-about-stats {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: #fff;
  padding: 64px 0;
}
.snab-about-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.snab-about-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 8px;
}
.snab-about-stat__num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  background: linear-gradient(120deg, #ffffff 0%, #f97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.snab-about-stat__label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.02em;
}

/* ---------- Calc cards ---------- */
.snab-about-calc { background: #fff; scroll-margin-top: 90px; }
.snab-about-calc__head {
  text-align: center;
  margin-bottom: 40px;
}
.snab-about-calc__lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
  color: var(--brand-slate-700, #334155);
}
.snab-about-calc__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.snab-about-calc__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .25s ease;
}
.snab-about-calc__card::before {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,64,175,0.10) 0%, transparent 70%);
  transition: transform .4s ease;
}
.snab-about-calc__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 50px -22px rgba(30,64,175,0.32);
  border-color: rgba(30,64,175,0.35);
}
.snab-about-calc__card:hover::before { transform: scale(1.4); }
.snab-about-calc__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(30,64,175,0.10), rgba(249,115,22,0.10));
  color: var(--brand-blue, #1e40af);
  position: relative;
  z-index: 1;
  transition: transform .25s ease, color .2s ease, background .25s ease;
}
.snab-about-calc__ico .snab-icon--calc {
  width: 32px;
  height: 32px;
}
.snab-about-calc__card:hover .snab-about-calc__ico {
  transform: scale(1.06) rotate(-2deg);
  background: linear-gradient(135deg, var(--brand-blue, #1e40af), var(--brand-orange, #f97316));
  color: #fff;
}
.snab-about-calc__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  color: var(--brand-slate, #0f172a);
  position: relative;
  z-index: 1;
}
.snab-about-calc__short {
  font-size: 13px;
  color: var(--brand-slate-500, #64748b);
  line-height: 1.45;
  position: relative;
  z-index: 1;
}
.snab-about-calc__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--brand-blue, #1e40af);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.snab-about-calc__more svg { transition: transform .25s ease; }
.snab-about-calc__card:hover .snab-about-calc__more svg { transform: translateX(4px); }
.snab-about-calc__hint {
  text-align: center;
  font-size: 14px;
  color: var(--brand-slate-500, #64748b);
}
.snab-about-calc__hint a {
  color: var(--brand-blue, #1e40af);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* ---------- Principles ---------- */
.snab-about-principles { background: var(--brand-bg-soft, #f1f5f9); }
.snab-about-principles__head {
  text-align: center;
  margin-bottom: 40px;
}
.snab-about-principles__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: snab-step;
}
.snab-about-principles__list li {
  position: relative;
  padding: 28px 24px 24px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.snab-about-principles__list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -22px rgba(15,23,42,0.18);
}
.snab-about-principles__step {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 36px;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand-blue, #1e40af), var(--brand-orange, #f97316));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.snab-about-principles__list h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 17px;
  color: var(--brand-slate, #0f172a);
  margin: 0 0 8px;
  line-height: 1.25;
}
.snab-about-principles__list p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--brand-slate-500, #64748b);
  margin: 0;
}

/* ---------- Contacts ---------- */
.snab-about-contacts { background: #fff; }
.snab-about-contacts__head {
  text-align: center;
  margin-bottom: 40px;
}
.snab-about-contacts__lead {
  max-width: 640px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.55;
  color: var(--brand-slate-500, #64748b);
}
.snab-about-contacts__lead em {
  font-style: normal;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-blue, #1e40af);
  background: rgba(30,64,175,0.08);
  padding: 1px 7px;
  border-radius: 6px;
}
.snab-about-contacts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.snab-about-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 22px 22px 18px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .25s ease;
}
.snab-about-contact::after {
  content: "";
  position: absolute;
  inset: auto -30% -55% auto;
  width: 180px; height: 180px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.snab-about-contact[data-kind="phone"]::after { background: radial-gradient(circle, rgba(30,64,175,0.18), transparent 70%); }
.snab-about-contact[data-kind="wa"]::after    { background: radial-gradient(circle, rgba(37,211,102,0.20), transparent 70%); }
.snab-about-contact[data-kind="tg"]::after    { background: radial-gradient(circle, rgba(0,136,204,0.20), transparent 70%); }
.snab-about-contact[data-kind="max"]::after   { background: radial-gradient(circle, rgba(249,115,22,0.20), transparent 70%); }
.snab-about-contact[data-kind="email"]::after { background: radial-gradient(circle, rgba(100,116,139,0.18), transparent 70%); }
.snab-about-contact:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -22px rgba(15,23,42,0.25);
  border-color: rgba(30,64,175,0.30);
}
.snab-about-contact:hover::after { opacity: 1; }
.snab-about-contact__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--brand-bg-soft, #f1f5f9);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.snab-about-contact__ico svg { width: 22px; height: 22px; }
.snab-about-contact[data-kind="phone"] .snab-about-contact__ico { color: var(--brand-blue, #1e40af); }
.snab-about-contact[data-kind="wa"]    .snab-about-contact__ico { color: #25d366; }
.snab-about-contact[data-kind="tg"]    .snab-about-contact__ico { color: #0088cc; }
.snab-about-contact[data-kind="max"]   .snab-about-contact__ico { color: var(--brand-orange, #f97316); }
.snab-about-contact[data-kind="email"] .snab-about-contact__ico { color: var(--brand-slate, #0f172a); }
.snab-about-contact:hover .snab-about-contact__ico {
  transform: scale(1.06) rotate(-2deg);
}
.snab-about-contact[data-kind="phone"]:hover .snab-about-contact__ico { background: var(--brand-blue, #1e40af); color: #fff; }
.snab-about-contact[data-kind="wa"]:hover    .snab-about-contact__ico { background: #25d366; color: #fff; }
.snab-about-contact[data-kind="tg"]:hover    .snab-about-contact__ico { background: #0088cc; color: #fff; }
.snab-about-contact[data-kind="max"]:hover   .snab-about-contact__ico { background: var(--brand-orange, #f97316); color: #fff; }
.snab-about-contact[data-kind="email"]:hover .snab-about-contact__ico { background: var(--brand-slate, #0f172a); color: #fff; }
.snab-about-contact__role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-slate-500, #64748b);
  position: relative;
  z-index: 1;
}
.snab-about-contact__value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 17px;
  color: var(--brand-slate, #0f172a);
  line-height: 1.25;
  word-break: break-word;
  position: relative;
  z-index: 1;
}
.snab-about-contact__cta {
  margin-top: auto;
  padding-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-orange, #f97316);
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}
.snab-about-contacts__footer {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--brand-bg-soft, #f1f5f9);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--brand-slate-700, #334155);
  display: grid;
  gap: 6px;
}
.snab-about-contacts__footer strong {
  color: var(--brand-slate, #0f172a);
  font-family: var(--font-heading);
  font-weight: 700;
}

/* ---------- CTA ---------- */
.snab-about-cta {
  background: #fff;
  padding-bottom: 96px;
}
.snab-about-cta__inner {
  position: relative;
  background: linear-gradient(135deg, var(--brand-blue, #1e40af) 0%, #3b82f6 100%);
  border-radius: 18px;
  padding: 56px 48px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.snab-about-cta__inner::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.45) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.snab-about-cta__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0 0 12px;
  position: relative;
}
.snab-about-cta__text {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 28px;
  position: relative;
}
.snab-about-cta__actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  position: relative;
}
.snab-about-cta__btn {
  background: var(--brand-orange);
  font-size: 16px;
  padding: 14px 32px;
  letter-spacing: 0.04em;
}
.snab-about-cta__link {
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid rgba(255,255,255,0.45);
  font-weight: 700;
  font-size: 15px;
  padding-bottom: 2px;
  transition: border-color .2s ease;
}
.snab-about-cta__link:hover { color: #fff; border-color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .snab-about-hero { padding: 64px 0 72px; }
  .snab-about-hero__logo-wrap { padding: 32px 40px; }
  .snab-about-hero__logo { width: 340px; }
  .snab-about-block { padding: 64px 0; }
  .snab-about-intro__grid { grid-template-columns: 1fr; gap: 36px; }
  .snab-about-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .snab-about-calc__grid { grid-template-columns: repeat(3, 1fr); }
  .snab-about-principles__list { grid-template-columns: repeat(2, 1fr); }
  .snab-about-contacts__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .snab-about-hero { padding: 48px 0 56px; }
  .snab-about-hero__logo-wrap { padding: 22px 26px; }
  .snab-about-hero__logo { width: 240px; }
  .snab-about-hero__lead { font-size: 15px; }
  .snab-about-hero__btn { padding: 12px 20px; font-size: 13px; letter-spacing: 0.06em; }
  .snab-about-block { padding: 48px 0; }
  .snab-about-intro__pillars { grid-template-columns: 1fr; }
  .snab-about-calc__grid { grid-template-columns: 1fr 1fr; }
  .snab-about-principles__list { grid-template-columns: 1fr; }
  .snab-about-cta__inner { padding: 36px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-snab-reveal] { opacity: 1; transform: none; transition: none; }
  .snab-about-hero__blob,
  .snab-about-hero__pulse,
  .snab-about-hero__brick,
  .snab-contact-hero__blob,
  .snab-contact-chat__btn-pulse { animation: none; }
  .snab-about-hero__logo-wrap { animation: none; }
}

/* ============================================================
   BLOG (snab/blog)
   ============================================================ */

/* HERO списка / категории */
.snab-blog-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1d4f 0%, #1e40af 60%, #2451c4 100%);
  color: #fff;
  padding: 64px 0 56px;
  isolation: isolate;
}
.snab-blog-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.snab-blog-hero__inner { position: relative; z-index: 1; }
.snab-blog-hero__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: #fff;
}
.snab-blog-hero__lead {
  max-width: 720px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

/* Список */
.snab-blog-list { padding: 56px 0 80px; background: #fff; }

/* Чипы категорий */
.snab-blog-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.snab-blog-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--brand-bg-soft, #f1f5f9);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-slate-700, #334155);
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.snab-blog-cat span {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-slate-500, #94a3b8);
  background: rgba(15,23,42,0.06);
  padding: 1px 7px;
  border-radius: 999px;
}
.snab-blog-cat:hover { background: rgba(30,64,175,0.10); color: var(--brand-blue, #1e40af); border-color: rgba(30,64,175,0.20); }
.snab-blog-cat.is-active {
  background: var(--brand-blue, #1e40af);
  color: #fff;
  border-color: var(--brand-blue, #1e40af);
}
.snab-blog-cat.is-active span { background: rgba(255,255,255,0.2); color: #fff; }

/* Сетка карточек */
.snab-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.snab-blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .25s ease;
}
.snab-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -22px rgba(15,23,42,0.25);
  border-color: rgba(30,64,175,0.25);
}
.snab-blog-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  background: var(--brand-bg-soft, #f1f5f9);
  overflow: hidden;
}
.snab-blog-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.snab-blog-card:hover .snab-blog-card__media img { transform: scale(1.04); }
.snab-blog-card__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
  opacity: 0.4;
}
.snab-blog-card__cat {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.snab-blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
  gap: 8px;
}
.snab-blog-card__meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--brand-slate-500, #64748b);
}
.snab-blog-card__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.005em;
}
.snab-blog-card__title a {
  color: var(--brand-slate, #0f172a);
  text-decoration: none;
}
.snab-blog-card__title a:hover { color: var(--brand-blue, #1e40af); }
.snab-blog-card__excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--brand-slate-500, #64748b);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.snab-blog-card__more {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--brand-orange, #f97316);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.snab-blog-card__more span { display: inline-block; transition: transform .2s ease; }
.snab-blog-card:hover .snab-blog-card__more span { transform: translateX(4px); }

/* Пагинация */
.snab-blog-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.snab-blog-pager ul {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0; margin: 0;
}
.snab-blog-pager li a,
.snab-blog-pager li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  color: var(--brand-slate-700, #334155);
}
.snab-blog-pager li a:hover { background: var(--brand-bg-soft, #f1f5f9); }
.snab-blog-pager li.is-current span { background: var(--brand-blue, #1e40af); color: #fff; }
.snab-blog-pager__nav {
  font-size: 13px;
  color: var(--brand-slate-700, #334155);
  text-decoration: none;
  font-weight: 600;
}
.snab-blog-pager__nav:hover { color: var(--brand-blue, #1e40af); }

.snab-blog-empty {
  padding: 64px 20px;
  text-align: center;
  color: var(--brand-slate-500, #64748b);
}
.snab-blog-empty a { color: var(--brand-blue, #1e40af); }

/* === Страница статьи === */
.snab-blog-post { background: #fff; }
.snab-blog-post__hero {
  position: relative;
  padding: 56px 0 36px;
  background: linear-gradient(135deg, #0b1d4f 0%, #1e40af 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.snab-blog-post__hero--has-image {
  padding: 80px 0 56px;
}
.snab-blog-post__hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.snab-blog-post__hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.05);
}
.snab-blog-post__hero-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,29,79,0.3) 0%, rgba(11,29,79,0.85) 100%);
}
.snab-blog-post__hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}
.snab-blog-post__cat {
  display: inline-block;
  margin: 14px 0 12px;
  padding: 5px 12px;
  background: var(--brand-orange, #f97316);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
}
.snab-blog-post__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: #fff;
}
.snab-blog-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
}

/* Layout: контент + sidebar */
.snab-blog-post__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  padding: 48px 15px 80px;
}
.snab-blog-post__content { min-width: 0; }
.snab-blog-post__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--brand-slate-700, #334155);
  border-left: 3px solid var(--brand-orange, #f97316);
  padding: 4px 0 4px 18px;
  margin: 0 0 28px;
  font-weight: 500;
}

/* Типографика поста (.snab-prose) */
.snab-prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--brand-slate, #0f172a);
}
.snab-prose p { margin: 0 0 18px; }
.snab-prose h2, .snab-prose h3, .snab-prose h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--brand-slate, #0f172a);
  line-height: 1.2;
  margin: 36px 0 14px;
}
.snab-prose h2 { font-size: 26px; }
.snab-prose h3 { font-size: 22px; }
.snab-prose h4 { font-size: 18px; }
.snab-prose ul, .snab-prose ol { margin: 0 0 18px; padding-left: 22px; }
.snab-prose ul li, .snab-prose ol li { margin-bottom: 6px; }
.snab-prose a {
  color: var(--brand-blue, #1e40af);
  text-decoration: underline;
  text-decoration-color: rgba(30,64,175,0.35);
  text-underline-offset: 3px;
}
.snab-prose a:hover { color: var(--brand-orange, #f97316); }
.snab-prose blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--brand-bg-soft, #f1f5f9);
  border-left: 4px solid var(--brand-blue, #1e40af);
  border-radius: 0 12px 12px 0;
  color: var(--brand-slate-700, #334155);
  font-style: italic;
}
.snab-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 18px 0;
}
.snab-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14px;
}
.snab-prose th, .snab-prose td {
  border: 1px solid rgba(15,23,42,0.10);
  padding: 10px 12px;
  text-align: left;
}
.snab-prose th { background: var(--brand-bg-soft, #f1f5f9); font-weight: 700; }
.snab-prose code {
  background: var(--brand-bg-soft, #f1f5f9);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.snab-prose pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 16px 20px;
  border-radius: 12px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.55;
  margin: 18px 0;
}
.snab-prose hr {
  border: 0;
  height: 1px;
  background: rgba(15,23,42,0.10);
  margin: 32px 0;
}

/* Поделиться */
.snab-blog-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(15,23,42,0.10);
}
.snab-blog-share span {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-slate-500, #64748b);
  margin-right: 4px;
}
.snab-blog-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--brand-bg-soft, #f1f5f9);
  color: var(--brand-slate, #0f172a);
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.snab-blog-share a:hover { transform: translateY(-2px); }
.snab-blog-share a[aria-label="Telegram"]:hover { background: #0088cc; color: #fff; }
.snab-blog-share a[aria-label="WhatsApp"]:hover { background: #25d366; color: #fff; }
.snab-blog-share a[aria-label="ВКонтакте"]:hover { background: #0077FF; color: #fff; }

/* Sidebar поста */
.snab-blog-post__aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 16px;
  align-self: start;
}
.snab-blog-related {
  background: var(--brand-bg-soft, #f1f5f9);
  border-radius: 14px;
  padding: 20px;
}
.snab-blog-related__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-slate-500, #64748b);
  margin: 0 0 14px;
}
.snab-blog-related__item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15,23,42,0.08);
}
.snab-blog-related__item:last-child { border-bottom: 0; }
.snab-blog-related__item img {
  width: 90px; height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.snab-blog-related__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.snab-blog-related__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-orange, #f97316);
}
.snab-blog-related__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  color: var(--brand-slate, #0f172a);
}
.snab-blog-related__item:hover .snab-blog-related__name { color: var(--brand-blue, #1e40af); }
.snab-blog-related__body small {
  font-size: 12px;
  color: var(--brand-slate-500, #64748b);
}

.snab-blog-cta {
  background: linear-gradient(135deg, var(--brand-blue, #1e40af) 0%, #3b82f6 100%);
  color: #fff;
  border-radius: 14px;
  padding: 22px;
  text-align: center;
}
.snab-blog-cta h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  margin: 0 0 8px;
  color: #fff;
}
.snab-blog-cta p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  margin: 0 0 14px;
}
.snab-blog-cta .btn-cta {
  display: block;
  margin-bottom: 10px;
  background: var(--brand-orange, #f97316);
}
.snab-blog-cta__link {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}
.snab-blog-cta__link:hover { color: #fff; border-color: #fff; }

/* RESPONSIVE */
@media (max-width: 991px) {
  .snab-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .snab-blog-post__layout { grid-template-columns: 1fr; gap: 36px; padding: 36px 15px 60px; }
  .snab-blog-post__aside { position: static; }
}
@media (max-width: 600px) {
  .snab-blog-list { padding: 40px 0 60px; }
  .snab-blog-grid { grid-template-columns: 1fr; gap: 18px; }
  .snab-blog-cats { gap: 6px; margin-bottom: 24px; }
  .snab-blog-cat { font-size: 13px; padding: 7px 12px; }
  .snab-blog-post__hero { padding: 40px 0 28px; }
  .snab-blog-post__hero--has-image { padding: 56px 0 36px; }
  .snab-prose { font-size: 16px; }
  .snab-prose h2 { font-size: 22px; }
  .snab-prose h3 { font-size: 19px; }
}

/* ============================================================
   CONTACT page (snab/contact)
   ============================================================ */

/* HERO */
.snab-contact-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1d4f 0%, #1e40af 60%, #2451c4 100%);
  color: #fff;
  padding: 64px 0 56px;
  isolation: isolate;
}
.snab-contact-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.snab-contact-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: snabAboutFloat 16s ease-in-out infinite;
}
.snab-contact-hero__blob--1 {
  width: 380px; height: 380px; top: -140px; left: -100px;
  background: radial-gradient(circle, #f97316 0%, transparent 70%);
}
.snab-contact-hero__blob--2 {
  width: 320px; height: 320px; bottom: -120px; right: -80px;
  background: radial-gradient(circle, #38bdf8 0%, transparent 70%);
  animation-delay: -6s;
}
.snab-contact-hero__inner { position: relative; z-index: 1; }
.snab-contact-hero__crumbs {
  list-style: none; margin: 0 0 22px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
  font-size: 13px; color: rgba(255,255,255,0.7);
}
.snab-contact-hero__crumbs li:not(:last-child)::after {
  content: "›"; margin-left: 8px; opacity: 0.5;
}
.snab-contact-hero__crumbs a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.snab-contact-hero__crumbs a:hover { border-color: rgba(255,255,255,0.5); }
.snab-contact-hero__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: #fff;
}
.snab-contact-hero__lead {
  max-width: 620px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

/* COMMON */
.snab-contact-block { padding: 64px 0; }
.snab-contact-h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--brand-slate, #0f172a);
  margin: 0 0 14px;
}

/* GRID: callback + side */
.snab-contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: start;
}

/* CALLBACK FORM */
.snab-contact-callback {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 30px 60px -34px rgba(15,23,42,0.25);
}
.snab-contact-callback__head { margin-bottom: 22px; }
.snab-contact-callback__lead {
  font-size: 15px;
  line-height: 1.55;
  color: var(--brand-slate-500, #64748b);
  margin: 0;
}
.snab-callback {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 22px;
}
.snab-callback__hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.snab-callback__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.snab-callback__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.snab-callback__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-slate-700, #334155);
}
.snab-callback__label em {
  color: var(--brand-orange, #f97316);
  font-style: normal;
}
.snab-callback__field input,
.snab-callback__field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--brand-slate, #0f172a);
  padding: 12px 14px;
  background: #fff;
  border: 1.5px solid rgba(15,23,42,0.14);
  border-radius: 10px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  resize: vertical;
}
.snab-callback__field input::placeholder,
.snab-callback__field textarea::placeholder {
  color: var(--brand-slate-500, #94a3b8);
}
.snab-callback__field input:focus,
.snab-callback__field textarea:focus {
  border-color: var(--brand-blue, #1e40af);
  box-shadow: 0 0 0 3px rgba(30,64,175,0.15);
}
.snab-callback__field.is-error input,
.snab-callback__field.is-error textarea {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}
.snab-callback__err {
  min-height: 16px;
  font-size: 12px;
  color: #dc2626;
}
.snab-callback__submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 4px;
}
.snab-callback__btn {
  position: relative;
  padding: 14px 28px;
  font-size: 14px;
  background: var(--brand-orange, #f97316);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.06em;
  min-width: 200px;
  justify-content: center;
}
.snab-callback__btn[disabled] { opacity: 0.7; cursor: wait; }
.snab-callback__btn-loader {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: snabSpin 0.8s linear infinite;
}
.snab-callback__btn.is-loading .snab-callback__btn-loader { display: inline-block; }
.snab-callback__btn.is-loading .snab-callback__btn-text { opacity: 0.85; }
@keyframes snabSpin { to { transform: rotate(360deg); } }
.snab-callback__agreement {
  font-size: 12px;
  color: var(--brand-slate-500, #64748b);
  line-height: 1.4;
}
.snab-callback__agreement a {
  color: var(--brand-blue, #1e40af);
  text-decoration: underline;
  text-decoration-color: rgba(30,64,175,0.35);
}
.snab-callback__result {
  margin-top: 8px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.snab-callback__result.is-success {
  background: rgba(34,197,94,0.10);
  border: 1px solid rgba(34,197,94,0.30);
  color: #166534;
}
.snab-callback__result.is-success strong { color: #14532d; }
.snab-callback__result.is-error {
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.25);
  color: #991b1b;
}

/* SIDE (контакты) */
.snab-contact-side {
  position: sticky;
  top: 16px;
}
.snab-contact-side__head { margin-bottom: 18px; }
.snab-contact-side__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.snab-contact-side__list .snab-about-contact {
  padding: 18px 18px 14px;
  border-radius: 12px;
}
.snab-contact-side__list .snab-about-contact__ico {
  width: 38px; height: 38px;
  margin-bottom: 4px;
}
.snab-contact-side__list .snab-about-contact__ico svg { width: 19px; height: 19px; }
.snab-contact-side__list .snab-about-contact__value { font-size: 15px; }
.snab-contact-side__footer {
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--brand-bg-soft, #f1f5f9);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--brand-slate-700, #334155);
  display: grid;
  gap: 4px;
}
.snab-contact-side__footer strong {
  color: var(--brand-slate, #0f172a);
  font-family: var(--font-heading);
  font-weight: 700;
}

/* CHAT */
.snab-contact-chat {
  background: var(--brand-bg-soft, #f1f5f9);
}
.snab-contact-chat__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, var(--brand-blue, #1e40af) 0%, #3b82f6 100%);
  color: #fff;
  border-radius: 20px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.snab-contact-chat__inner::before {
  content: "";
  position: absolute;
  top: -120px; right: -80px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.4) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.snab-contact-chat__copy { position: relative; }
.snab-contact-chat .snab-about-eyebrow { color: #fbbf24; }
.snab-contact-chat .snab-contact-h2 { color: #fff; }
.snab-contact-chat__lead {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin: 0 0 18px;
}
.snab-contact-chat__bullets {
  display: grid;
  gap: 10px;
}
.snab-contact-chat__bullets > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.92);
}
.snab-contact-chat__bullets span { font-size: 18px; line-height: 1; }
.snab-contact-chat__widget {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.snab-contact-chat__btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 26px;
  background: #fff;
  color: var(--brand-slate, #0f172a);
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.45);
  transition: transform .2s ease, box-shadow .2s ease;
  width: 100%;
  max-width: 360px;
}
.snab-contact-chat__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -16px rgba(0,0,0,0.5);
}
.snab-contact-chat__btn-ico {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--brand-blue, #1e40af), var(--brand-orange, #f97316));
  border-radius: 14px;
  color: #fff;
  flex-shrink: 0;
}
.snab-contact-chat__btn-pulse {
  position: absolute; inset: 0;
  border-radius: 14px;
  border: 2px solid rgba(249,115,22,0.7);
  animation: snabAboutPulse 2.4s ease-out infinite;
}
.snab-contact-chat__btn-body strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.1;
  margin-bottom: 4px;
}
.snab-contact-chat__btn-body small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--brand-slate-500, #64748b);
}
.snab-contact-chat__btn-body small::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.18);
}
.snab-contact-chat__alts {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  justify-content: center;
}
.snab-contact-chat__alts a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(255,255,255,0.5);
  padding-bottom: 1px;
  transition: border-color .2s ease;
}
.snab-contact-chat__alts a:hover { border-color: var(--brand-orange, #f97316); }

/* RESPONSIVE */
@media (max-width: 991px) {
  .snab-contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .snab-contact-side { position: static; }
  .snab-contact-callback { padding: 28px; }
  .snab-contact-chat__inner { grid-template-columns: 1fr; gap: 28px; padding: 36px; }
}
@media (max-width: 600px) {
  .snab-contact-block { padding: 48px 0; }
  .snab-contact-callback { padding: 22px; }
  .snab-callback__row { grid-template-columns: 1fr; }
  .snab-contact-side__list { grid-template-columns: 1fr; }
  .snab-contact-chat__inner { padding: 28px 22px; border-radius: 16px; }
  .snab-callback__btn { width: 100%; }
  .snab-callback__agreement { font-size: 11px; }
}

/* ============================================================
   Floating chat-виджет (snab-chat) — диалоговое окно справа внизу
   ============================================================ */
.snab-chat[hidden],
.snab-chat__panel[hidden],
.snab-chat__btn-badge[hidden] { display: none !important; }
.snab-chat {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
}
.snab-chat__btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--brand-blue, #1e40af);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(30,64,175,0.40);
  transition: transform .15s, background .15s;
  position: relative;
}
.snab-chat__btn:hover { background: #1c3aa3; transform: scale(1.06); }
.snab-chat__btn-ico-close { display: none; }
.snab-chat.is-open .snab-chat__btn-ico-chat { display: none; }
.snab-chat.is-open .snab-chat__btn-ico-close { display: block; }
.snab-chat.is-open .snab-chat__btn { background: var(--brand-orange, #f97316); box-shadow: 0 8px 24px rgba(249,115,22,0.40); }
.snab-chat__btn-badge {
  position: absolute;
  top: -2px; right: -2px;
  min-width: 20px; height: 20px; padding: 0 6px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  line-height: 1;
}
.snab-chat__btn::before {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--brand-blue, #1e40af);
  animation: snabChatPulse 2.4s ease-out infinite;
  opacity: 0;
}
.snab-chat.is-open .snab-chat__btn::before { display: none; }
@keyframes snabChatPulse {
  0% { transform: scale(.95); opacity: .7; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

.snab-chat__panel {
  position: absolute;
  right: 0; bottom: 76px;
  width: 360px;
  height: 540px;
  max-height: calc(100vh - 110px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(15,23,42,0.18), 0 4px 12px rgba(15,23,42,0.06);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex; flex-direction: column;
  animation: snabChatIn .2s ease-out;
}
@keyframes snabChatIn {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.snab-chat__head {
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--brand-blue, #1e40af) 0%, #2856c8 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.snab-chat__head-left { display: flex; align-items: center; gap: 12px; }
.snab-chat__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  padding: 6px;
}
.snab-chat__avatar img { width: 100%; height: 100%; object-fit: contain; display: block; }
.snab-chat__title {
  font-family: var(--font-heading, "Montserrat", sans-serif);
  font-weight: 700; font-size: 16px; line-height: 1.2;
}
.snab-chat__status { font-size: 12px; opacity: 0.92; display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.snab-chat__status-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px rgba(74,222,128,0.8);
}
.snab-chat__head-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.snab-chat__head-close {
  background: transparent; border: 0;
  color: #fff; cursor: pointer;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.snab-chat__head-close:disabled { opacity: .55; cursor: default; }
.snab-chat__head-close:hover { background: rgba(255,255,255,0.15); }

.snab-chat__history {
  flex: 1;
  padding: 14px 14px 8px;
  overflow-y: auto;
  background: #f8fafc;
  display: flex; flex-direction: column; gap: 8px;
}
.snab-chat__history::-webkit-scrollbar { width: 6px; }
.snab-chat__history::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.snab-chat__loading {
  text-align: center;
  font-size: 13px;
  color: var(--brand-slate-500, #64748b);
  padding: 30px 12px;
}
.snab-chat__loading.is-error { color: #b91c1c; }
.snab-chat__loading a { color: var(--brand-blue, #1e40af); text-decoration: underline; }

.snab-msg { display: flex; max-width: 85%; }
.snab-msg__bubble {
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  word-wrap: break-word;
  white-space: pre-wrap;
}
.snab-msg--system,
.snab-msg--manager,
.snab-msg--assistant { align-self: flex-start; }
.snab-msg--system .snab-msg__bubble,
.snab-msg--manager .snab-msg__bubble,
.snab-msg--assistant .snab-msg__bubble {
  background: #fff;
  color: var(--brand-slate, #0f172a);
  border-top-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.06);
}
.snab-msg--assistant .snab-msg__bubble { border-left: 3px solid var(--brand-orange, #f97316); }
.snab-msg--typing .snab-msg__bubble { color: #64748b; font-size: 13px; }
.snab-typing-dots { display: inline-flex; gap: 3px; margin-left: 6px; vertical-align: middle; }
.snab-typing-dots i {
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
  opacity: .35;
  animation: snabTypingDot 1s infinite ease-in-out;
}
.snab-typing-dots i:nth-child(2) { animation-delay: .15s; }
.snab-typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes snabTypingDot {
  0%, 80%, 100% { opacity: .35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}
.snab-msg--system .snab-msg__bubble { background: #eff6ff; color: var(--brand-blue, #1e40af); border: 1px solid #dbeafe; }
.snab-msg--user { align-self: flex-end; }
.snab-msg--user .snab-msg__bubble {
  background: var(--brand-blue, #1e40af);
  color: #fff;
  border-top-right-radius: 4px;
}
.snab-msg__bubble a { color: inherit; text-decoration: underline; }

.snab-chat__messengers {
  display: flex;
  gap: 6px;
  padding: 8px 14px;
  border-top: 1px solid #f1f5f9;
  background: #fff;
  flex-shrink: 0;
}
.snab-chat__messenger {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-blue, #1e40af);
  text-decoration: none !important;
  transition: background .15s;
  padding: 4px;
}
.snab-chat__messenger:hover { background: #e2e8f0; }
.snab-chat__messenger img { width: 100%; height: 100%; object-fit: contain; display: block; }
.snab-chat__messenger svg { width: 18px; height: 18px; }

.snab-chat__input {
  display: flex; align-items: flex-end; gap: 6px;
  padding: 10px 12px 8px;
  border-top: 1px solid #f1f5f9;
  background: #fff;
  flex-shrink: 0;
}
.snab-chat__input textarea {
  flex: 1;
  min-height: 38px;
  max-height: 110px;
  padding: 9px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  resize: none;
  background: #f8fafc;
  color: var(--brand-slate, #0f172a);
  transition: border-color .15s, background .15s;
  overflow-y: auto;
}
.snab-chat__input textarea:focus {
  outline: none;
  border-color: var(--brand-blue, #1e40af);
  background: #fff;
}
.snab-chat__send {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--brand-blue, #1e40af);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .15s, transform .15s;
}
.snab-chat__send:hover:not(:disabled) { background: #1c3aa3; }
.snab-chat__send:active:not(:disabled) { transform: scale(0.95); }
.snab-chat__send:disabled { background: #cbd5e1; cursor: not-allowed; }
.snab-chat__send svg { transform: rotate(0deg); }

.snab-chat__hint {
  padding: 4px 14px 10px;
  font-size: 11px;
  color: var(--brand-slate-500, #94a3b8);
  text-align: center;
  background: #fff;
  border-top: 0;
  flex-shrink: 0;
}
.snab-chat__hint a { color: inherit; text-decoration: underline; }

@media (max-width: 600px) {
  .snab-chat { right: 16px; bottom: 84px; }
  .snab-chat__btn { width: 54px; height: 54px; }
  .snab-chat__panel {
    width: calc(100vw - 32px);
    height: calc(100vh - 110px);
    max-height: 600px;
    right: -4px;
    bottom: 66px;
  }
}

/* Иконки мессенджеров (МАКС, Telegram, WhatsApp) в футере и контакт-блоке */
.snab-footer__social-link--icon {
  padding: 4px !important;
  background: rgba(255,255,255,0.05);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0;
}
.snab-footer__social-link--icon:hover { background: rgba(255,255,255,0.15); }
.snab-footer__social-link--icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.snab-about-contact--max .snab-about-contact__ico img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ============================================================
   Информационные страницы (information/information)
   Юридические тексты: оферта, политика ПДн, условия, реквизиты, доставка, гарантии
   ============================================================ */
.snab-info-page { padding: 28px 0 64px; background: #f8fafc; }
.snab-info-page__crumbs { margin-bottom: 16px; }
.snab-info-page__crumbs ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 13px; }
.snab-info-page__crumbs li { display: flex; align-items: center; }
.snab-info-page__crumbs li:not(:last-child)::after { content: '/'; margin-left: 8px; color: #cbd5e1; }
.snab-info-page__crumbs a { color: var(--brand-slate-500, #64748b); text-decoration: none; }
.snab-info-page__crumbs a:hover { color: var(--brand-blue, #1e40af); text-decoration: underline; }

.snab-info-page__card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  max-width: 920px;
  margin: 0 auto;
  box-shadow: 0 2px 16px rgba(15,23,42,0.04);
  overflow: hidden;
}
.snab-info-page__header {
  padding: 32px 40px 0;
  border-bottom: 1px solid #f1f5f9;
}
.snab-info-page__title {
  font-family: var(--font-heading, "Montserrat", system-ui, sans-serif);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.2;
  color: var(--brand-slate, #0f172a);
  margin: 0 0 28px;
}
.snab-info-page__body {
  padding: 28px 40px 40px;
  color: #334155;
  font-size: 15px;
  line-height: 1.7;
}
.snab-info-page__body h2 {
  font-family: var(--font-heading, "Montserrat", system-ui, sans-serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: var(--brand-slate, #0f172a);
  margin: 32px 0 12px;
}
.snab-info-page__body h2:first-child { margin-top: 0; }
.snab-info-page__body h3 {
  font-family: var(--font-heading, "Montserrat", system-ui, sans-serif);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  color: var(--brand-slate, #0f172a);
  margin: 24px 0 8px;
}
.snab-info-page__body p { margin: 0 0 14px; }
.snab-info-page__body ul,
.snab-info-page__body ol { margin: 0 0 14px; padding-left: 22px; }
.snab-info-page__body li { margin-bottom: 6px; }
.snab-info-page__body a { color: var(--brand-blue, #1e40af); text-decoration: none; border-bottom: 1px solid rgba(30,64,175,0.25); transition: color .15s, border-color .15s; }
.snab-info-page__body a:hover { color: var(--brand-orange, #f97316); border-color: var(--brand-orange, #f97316); }
.snab-info-page__body strong { color: var(--brand-slate, #0f172a); font-weight: 600; }
.snab-info-page__body .text-muted { color: #94a3b8; font-size: 13px; margin-bottom: 28px; }
.snab-info-page__body code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--brand-slate, #0f172a);
}
.snab-info-page__body .btn,
.snab-info-page__body .btn-primary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 0;
  margin-top: 12px;
  transition: background .15s, transform .15s;
}
.snab-info-page__body .btn-primary { background: var(--brand-blue, #1e40af); color: #fff; }
.snab-info-page__body .btn-primary:hover { background: #1c3aa3; color: #fff; transform: translateY(-1px); }

@media (max-width: 768px) {
  .snab-info-page { padding: 16px 0 40px; }
  .snab-info-page__card { border-radius: 10px; }
  .snab-info-page__header { padding: 22px 20px 0; }
  .snab-info-page__title { font-size: 24px; margin-bottom: 20px; }
  .snab-info-page__body { padding: 22px 20px 28px; font-size: 14.5px; }
  .snab-info-page__body h2 { font-size: 19px; margin-top: 26px; }
  .snab-info-page__body h3 { font-size: 16px; }
}

/* ============================================================
   Страница «Вакансии» — снаб-стиль внутри info-page__body
   ============================================================ */
.snab-vac-hero {
  background: linear-gradient(135deg, var(--brand-blue, #1e40af) 0%, #2856c8 100%);
  color: #fff;
  padding: 36px 36px;
  border-radius: 12px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.snab-vac-hero::after {
  content: ""; position: absolute; right: -60px; top: -40px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(249,115,22,0.15);
  pointer-events: none;
}
.snab-vac-hero__eyebrow {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 700; opacity: 0.85; margin-bottom: 8px;
}
.snab-vac-hero__title {
  font-family: var(--font-heading, "Montserrat", sans-serif);
  font-weight: 800; font-size: 28px; line-height: 1.2;
  color: #fff; margin: 0 0 12px; position: relative; z-index: 1;
}
.snab-vac-hero__lead {
  font-size: 15px; line-height: 1.6; max-width: 620px;
  color: rgba(255,255,255,0.95); margin: 0; position: relative; z-index: 1;
}

.snab-vac-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}
.snab-vac-perk {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 20px;
  transition: border-color .15s, transform .15s;
}
.snab-vac-perk:hover { border-color: var(--brand-blue, #1e40af); transform: translateY(-2px); }
.snab-vac-perk__ico { font-size: 26px; line-height: 1; margin-bottom: 8px; }
.snab-vac-perk__title {
  font-family: var(--font-heading, "Montserrat", sans-serif);
  font-weight: 700; font-size: 15px;
  color: var(--brand-slate, #0f172a);
  margin-bottom: 4px;
}
.snab-vac-perk__text { font-size: 13.5px; line-height: 1.5; color: #475569; }

.snab-vac-empty {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 32px;
}
.snab-vac-empty__ico { font-size: 32px; margin-bottom: 8px; }
.snab-vac-empty__title {
  font-family: var(--font-heading, "Montserrat", sans-serif);
  font-weight: 700; font-size: 17px;
  color: var(--brand-slate, #0f172a); margin-bottom: 6px;
}
.snab-vac-empty__text { font-size: 14px; line-height: 1.55; color: #475569; max-width: 480px; margin: 0 auto; }

.snab-vac-cta {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 28px 30px;
  margin-top: 8px;
}
.snab-vac-cta__title {
  font-family: var(--font-heading, "Montserrat", sans-serif);
  font-weight: 800; font-size: 22px;
  color: var(--brand-slate, #0f172a); margin: 0 0 8px;
}
.snab-vac-cta__text {
  font-size: 14.5px; line-height: 1.6; color: #475569;
  margin: 0 0 18px;
}
.snab-vac-cta__buttons {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px;
}
.snab-vac-cta__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600; font-size: 14.5px;
  text-decoration: none !important;
  border: 0 !important;
  transition: transform .15s, box-shadow .15s;
}
.snab-vac-cta__btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(15,23,42,0.10); }
.snab-vac-cta__btn--primary { background: var(--brand-orange, #f97316); color: #fff !important; }
.snab-vac-cta__btn--primary:hover { background: #ea580c; color: #fff !important; }
.snab-vac-cta__btn--secondary { background: #fff; color: var(--brand-slate, #0f172a) !important; border: 1px solid #fed7aa !important; }
.snab-vac-cta__btn--secondary:hover { color: var(--brand-blue, #1e40af) !important; }
.snab-vac-cta__note { font-size: 12.5px; line-height: 1.5; color: #94a3b8; margin: 0; }

@media (max-width: 600px) {
  .snab-vac-hero { padding: 26px 22px; }
  .snab-vac-hero__title { font-size: 22px; }
  .snab-vac-hero__lead { font-size: 14px; }
  .snab-vac-perks { grid-template-columns: 1fr; gap: 10px; margin-bottom: 26px; }
  .snab-vac-empty { padding: 22px 18px; }
  .snab-vac-cta { padding: 22px 20px; }
  .snab-vac-cta__title { font-size: 19px; }
  .snab-vac-cta__buttons { flex-direction: column; }
  .snab-vac-cta__btn { justify-content: center; width: 100%; }
}


/* ============================================================
   Sticky footer — прижать .snab-footer к низу viewport на коротких страницах
   ============================================================ */
html { height: 100%; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.snab-footer { margin-top: auto; }

/* ============================================================
   Mobile-fix для плиток подкатегорий .snab-cat__tile
   На мобильном: иконка слева 52x52 + название справа (не full-bleed квадрат).
   ============================================================ */
@media (max-width: 991px) {
  .snab-cat__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-bottom: 24px;
  }
  .snab-cat__tile {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 10px 12px;
    min-height: 72px;
    gap: 10px;
    overflow: hidden;
  }
  .snab-cat__tile-icon {
    width: 52px;
    height: 52px;
    aspect-ratio: 1 / 1;
    flex: 0 0 52px;
    border: 1px solid var(--brand-slate-100);
    border-bottom: 1px solid var(--brand-slate-100);
    border-radius: 8px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .snab-cat__tile-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
  }
  .snab-cat__tile:hover .snab-cat__tile-icon img { transform: none; }
  .snab-cat__tile-name {
    padding: 0;
    font-size: 13px;
    line-height: 1.25;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .snab-cat__tile-count {
    padding: 2px 0 0;
    font-size: 11px;
    text-align: left;
  }
  .snab-cat__tile-count--empty { color: var(--brand-slate-300, #cbd5e1); }
  .snab-cat__tile:has(.snab-cat__tile-count--empty) { opacity: 0.6; }
}
@media (max-width: 380px) {
  .snab-cat__tiles { grid-template-columns: 1fr !important; }
  .snab-cat__tile { min-height: 68px; }
}

/* ============================================================
   H1 главной (SEO для Я.Директа) — компактный видимый заголовок
   ============================================================ */
.snab-h1-wrap { padding: 16px 0 4px; }
.snab-h1 {
  font-family: var(--font-heading, Montserrat, system-ui, sans-serif);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  color: var(--brand-slate, #0F172A);
  margin: 0;
  letter-spacing: -0.01em;
}
@media (max-width: 991px) {
  .snab-h1-wrap { padding: 12px 0 2px; }
  .snab-h1 { font-size: 18px; }
}
@media (max-width: 480px) {
  .snab-h1 { font-size: 16px; line-height: 1.25; }
}

/* ============================================================
   Sidebar subcategories card — отделяем от фильтров
   ============================================================ */
.snab-cat__sidebar--filters .snab-cat__sidebar-subs {
  background: #fff;
  border: 1px solid var(--brand-slate-100);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  padding: 0;
}
.snab-cat__sidebar--filters .snab-cat__sidebar-subs .snab-cat__sidebar-title {
  margin: 0;
  padding: 14px 16px;
  background: var(--brand-bg-soft);
  border-bottom: 1px solid var(--brand-slate-100);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-slate);
}
.snab-cat__sidebar--filters .snab-cat__sidebar-subs .snab-cat__sidebar-list {
  padding: 10px 12px;
  gap: 1px;
}
.snab-cat__sidebar--filters .snab-cat__sidebar-subs .snab-cat__sidebar-list a {
  padding: 7px 10px;
}
.snab-cat__sidebar--filters .snab-cat__sidebar-subs li.is-empty a {
  opacity: 0.45;
}
.snab-cat__sidebar--filters .snab-cat__sidebar-subs li.is-empty .snab-cat__sidebar-num {
  background: var(--brand-bg-soft);
  color: var(--brand-slate-400, #94a3b8);
}

/* ============================================================
   Photo disclaimer под галереей карточки товара
   ============================================================ */
.snab-gallery__disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 10px 0 0;
  padding: 8px 12px;
  background: var(--brand-bg-soft, #f5f7fa);
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--brand-slate-500, #64748b);
}
.snab-gallery__disclaimer svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-slate-400, #94a3b8);
}

/* ============ Калькулятор расхода: промо-блок ============ */
.snab-cat__calc-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 22px;
  padding: 14px 22px 14px 14px;
  background: linear-gradient(135deg, #1E40AF 0%, #2952d3 100%);
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(30,64,175,0.18);
  transition: transform .15s ease, box-shadow .15s ease;
}
.snab-cat__calc-banner:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30,64,175,0.28);
  color: #fff;
  text-decoration: none;
}
.snab-cat__calc-banner-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.18));
}
.snab-cat__calc-banner-body {
  flex: 1 1 auto;
  min-width: 0;
}
.snab-cat__calc-banner-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 4px;
}
.snab-cat__calc-banner-short {
  font-size: 14px;
  opacity: 0.92;
  line-height: 1.4;
}
.snab-cat__calc-banner-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: #F97316;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .snab-cat__calc-banner { flex-wrap: wrap; padding: 12px; gap: 12px; }
  .snab-cat__calc-banner-icon { width: 56px; height: 56px; }
  .snab-cat__calc-banner-title { font-size: 16px; }
  .snab-cat__calc-banner-short { font-size: 13px; }
  .snab-cat__calc-banner-cta { width: 100%; justify-content: center; padding: 9px 14px; }
}

/* Промо-блок в правой колонке карточки товара */
.snab-calc-promo {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  margin-top: 16px;
  background: #f1f5fb;
  border: 1px solid #d6e0f0;
  border-radius: 12px;
  text-decoration: none;
  color: #0F172A;
  transition: background .15s ease, border-color .15s ease;
}
.snab-calc-promo:hover {
  background: #e5edfa;
  border-color: #1E40AF;
  color: #0F172A;
  text-decoration: none;
}
.snab-calc-promo__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.snab-calc-promo__body { flex: 1 1 auto; min-width: 0; }
.snab-calc-promo__title { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.snab-calc-promo__short { font-size: 12px; color: #475569; line-height: 1.35; margin-bottom: 6px; }
.snab-calc-promo__cta { display: inline-block; color: #1E40AF; font-weight: 700; font-size: 13px; }

/* /calc страница — PNG-иконки вместо SVG */
.snab-calc-tile__icon img { max-width: 100%; height: auto; display: block; }

/* ============ Калькулятор-промо в карточке товара: переработка размеров ============ */
.snab-calc-promo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 18px 16px 16px;
  margin-top: 0;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #eef4ff 0%, #f7faff 100%);
  border: 1px solid #c9d8f0;
  border-radius: 14px;
  text-decoration: none;
  color: #0F172A;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.snab-calc-promo:hover {
  background: linear-gradient(135deg, #e2ecff 0%, #f0f6ff 100%);
  border-color: #1E40AF;
  color: #0F172A;
  text-decoration: none;
  transform: translateY(-1px);
}
.snab-calc-promo__icon {
  flex-shrink: 0;
  width: 128px;
  height: 128px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(30,64,175,0.18));
}
.snab-calc-promo__body { width: 100%; }
.snab-calc-promo__title {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 4px;
  color: #0F172A;
}
.snab-calc-promo__short {
  font-size: 13px;
  color: #475569;
  line-height: 1.4;
  margin-bottom: 10px;
}
.snab-calc-promo__cta {
  display: inline-block;
  padding: 8px 18px;
  background: #F97316;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}

/* ============ Калькулятор-промо: иконка занимает большую часть плитки ============ */
.snab-calc-promo {
  padding: 22px 18px 18px;
}
.snab-calc-promo__icon {
  width: 240px !important;
  height: 240px !important;
  max-width: 100%;
  margin: 0 auto;
}
@media (max-width: 1200px) {
  .snab-calc-promo__icon { width: 200px !important; height: 200px !important; }
}
@media (max-width: 640px) {
  .snab-calc-promo__icon { width: 160px !important; height: 160px !important; }
}

/* ============ Калькулятор-промо: компактные паддинги (иконка остаётся большой) ============ */
.snab-calc-promo {
  padding: 12px 14px 14px;
  gap: 6px;
}
.snab-calc-promo__title { font-size: 16px; margin-bottom: 2px; }
.snab-calc-promo__short { font-size: 12px; margin-bottom: 8px; }

/* ============ Калькулятор-промо: компактная плитка, иконка выходит за её рамки ============ */
.snab-calc-promo {
  padding: 4px 14px 12px !important;
  gap: 0 !important;
  overflow: visible;
}
.snab-calc-promo__icon {
  margin-top: -56px !important;
  margin-bottom: -10px !important;
  filter: drop-shadow(0 6px 12px rgba(30,64,175,0.22));
}
.snab-calc-promo__title { font-size: 15px; margin-bottom: 2px; }
.snab-calc-promo__short { font-size: 12px; line-height: 1.35; margin-bottom: 8px; }
.snab-calc-promo__cta { padding: 7px 16px; font-size: 13px; }

/* ============ Калькулятор-промо: убираем вылезание, плотные паддинги ============ */
.snab-calc-promo {
  padding: 10px 12px 12px !important;
  gap: 4px !important;
  overflow: hidden;
}
.snab-calc-promo__icon {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  display: block;
}

/* ============ Inline-калькулятор: модалка на карточке товара ============ */
button.snab-calc-promo { border: none; cursor: pointer; font-family: inherit; width: 100%; text-align: center; }
.snab-calc-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.snab-calc-modal[hidden] { display: none; }
.snab-calc-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.55); backdrop-filter: blur(2px); }
.snab-calc-modal__panel {
  position: relative; z-index: 2;
  width: 100%; max-width: 720px; max-height: calc(100vh - 40px);
  background: #fff; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  display: flex; flex-direction: column; overflow: hidden;
}
.snab-calc-modal__close {
  position: absolute; top: 10px; right: 12px; z-index: 3;
  width: 36px; height: 36px; border: none; background: rgba(255,255,255,0.9);
  border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 1; color: #475569;
  transition: background .15s ease, color .15s ease;
}
.snab-calc-modal__close:hover { background: #f1f5f9; color: #0F172A; }
.snab-calc-modal__head {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 60px 18px 22px;
  background: linear-gradient(135deg, #1E40AF 0%, #2952d3 100%);
  color: #fff;
}
.snab-calc-modal__icon { flex-shrink: 0; width: 80px; height: 80px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,.2)); }
.snab-calc-modal__head h3 { margin: 0 0 4px; font-size: 19px; line-height: 1.25; color: #fff; }
.snab-calc-modal__lead { margin: 0; opacity: 0.92; font-size: 13px; line-height: 1.35; }

.snab-calc-modal__body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  padding: 22px;
  overflow-y: auto;
}
.snab-calc-modal__body .snab-calc-form { display: flex; flex-direction: column; gap: 14px; }
.snab-calc-modal__body .snab-calc-field { display: flex; flex-direction: column; gap: 5px; }
.snab-calc-modal__body .snab-calc-field label { font-size: 13px; font-weight: 600; color: #0F172A; }
.snab-calc-modal__body .snab-inline-calc-input {
  width: 100%; padding: 9px 12px; border: 1px solid #d6dde7; border-radius: 8px;
  font-size: 14px; background: #fff; color: #0F172A; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.snab-calc-modal__body .snab-inline-calc-input:focus { border-color: #1E40AF; box-shadow: 0 0 0 3px rgba(30,64,175,0.12); }
.snab-calc-modal__body .snab-calc-input--inline { width: 64px; display: inline-block; padding: 4px 8px; }
.snab-calc-modal__body .snab-calc-hint { font-size: 11px; color: #64748b; }
.snab-calc-modal__body .snab-calc-checkbox { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; }

.snab-calc-modal__result {
  background: #f7faff; border: 1px solid #d6e0f0; border-radius: 12px;
  padding: 18px; display: flex; flex-direction: column; gap: 14px;
}
.snab-calc-modal__qty-label { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #475569; font-weight: 600; }
.snab-calc-modal__qty-row { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.snab-calc-modal__qty-row strong { font-size: 36px; font-weight: 800; color: #1E40AF; line-height: 1; }
.snab-calc-modal__qty-row span { font-size: 16px; color: #475569; }
.snab-calc-modal__pkg { font-size: 13px; color: #475569; margin-top: 4px; }
.snab-calc-modal__total {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-top: 14px; border-top: 1px dashed #c9d8f0;
  font-size: 14px; color: #475569;
}
.snab-calc-modal__total strong { font-size: 22px; font-weight: 800; color: #0F172A; }
.snab-calc-modal__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; background: #F97316; color: #fff; border: none; border-radius: 8px;
  font-weight: 700; font-size: 15px; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.snab-calc-modal__cta:hover:not(:disabled) { background: #ea6307; transform: translateY(-1px); }
.snab-calc-modal__cta:disabled { opacity: 0.7; cursor: wait; }
.snab-calc-modal__note { font-size: 11px; color: #64748b; text-align: center; }

@media (max-width: 720px) {
  .snab-calc-modal { padding: 0; }
  .snab-calc-modal__panel { max-width: 100%; height: 100vh; max-height: 100vh; border-radius: 0; }
  .snab-calc-modal__head { padding: 18px 56px 14px 16px; }
  .snab-calc-modal__head h3 { font-size: 16px; }
  .snab-calc-modal__icon { width: 56px; height: 56px; }
  .snab-calc-modal__body { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
  .snab-calc-modal__qty-row strong { font-size: 30px; }
}

/* ============ /calc/* — hero PNG-иконка вместо SVG-glyph ============ */
.snab-calc-hero__art { position: relative; }
.snab-calc-hero__art-img {
  width: 100%;
  height: auto;
  max-width: 240px;
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.25));
  display: block;
}
.snab-calc-hero__art-glyph { display: none !important; }

/* ============ Выбор товара в snab-calc-buy ============ */
.snab-calc-buy__select-wrap { margin-bottom: 12px; display: flex; flex-direction: column; gap: 4px; }
.snab-calc-buy__select-label { font-size: 12px; font-weight: 600; color: #475569; text-transform: uppercase; letter-spacing: .04em; }
.snab-calc-buy__select {
  width: 100%; padding: 9px 12px; border: 1px solid #d6dde7; border-radius: 8px;
  background: #fff; color: #0F172A; font-size: 14px; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%231E40AF' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.snab-calc-buy__select:focus { border-color: #1E40AF; box-shadow: 0 0 0 3px rgba(30,64,175,0.12); }

/* ============ Calc-buy: custom dropdown с миниатюрами ============ */
.snab-calc-buy__select-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.snab-calc-buy__dd { position: relative; }
.snab-calc-buy__dd-trigger {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 8px 14px 8px 8px;
  background: #fff; border: 1px solid #d6dde7; border-radius: 8px;
  cursor: pointer; text-align: left; font: inherit; color: #0F172A;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.snab-calc-buy__dd-trigger:hover,
.snab-calc-buy__dd-trigger:focus { border-color: #1E40AF; outline: none; box-shadow: 0 0 0 3px rgba(30,64,175,0.1); }
.snab-calc-buy__dd-thumb {
  flex-shrink: 0; width: 40px; height: 40px;
  object-fit: contain; background: #f7faff; border-radius: 6px;
}
.snab-calc-buy__dd-name {
  flex: 1 1 auto; min-width: 0;
  font-size: 13px; line-height: 1.3; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.snab-calc-buy__dd-caret { flex-shrink: 0; color: #1E40AF; font-size: 12px; transition: transform .15s ease; }
.snab-calc-buy__dd.is-open .snab-calc-buy__dd-caret { transform: rotate(180deg); }

.snab-calc-buy__dd-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 10;
  margin: 0; padding: 4px; list-style: none;
  background: #fff; border: 1px solid #d6dde7; border-radius: 10px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.18);
  max-height: 320px; overflow-y: auto;
  display: none;
}
.snab-calc-buy__dd.is-open .snab-calc-buy__dd-list { display: block; }
.snab-calc-buy__dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px; border-radius: 6px; cursor: pointer;
  transition: background .12s ease;
}
.snab-calc-buy__dd-item:hover { background: #f1f5fb; }
.snab-calc-buy__dd-item.is-selected { background: #eef4ff; }
.snab-calc-buy__dd-item-body { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.snab-calc-buy__dd-item-name {
  font-size: 13px; line-height: 1.3; font-weight: 600; color: #0F172A;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.snab-calc-buy__dd-item-price { font-size: 12px; color: #1E40AF; font-weight: 700; margin-top: 2px; }

/* ============ Calc-buy: pricebox под dropdown (вместо удалённой карточки) ============ */
.snab-calc-buy__card { display: none !important; }
.snab-calc-buy__pricebox {
  margin: 12px 0 14px;
  padding: 12px 14px;
  background: #f7faff;
  border: 1px solid #d6e0f0;
  border-radius: 10px;
  display: flex; flex-direction: column; gap: 8px;
}
.snab-calc-buy__price-row {
  display: flex; align-items: baseline; justify-content: space-between;
  font-size: 14px; color: #475569;
}
.snab-calc-buy__price-label { font-weight: 500; }
.snab-calc-buy__price-val { font-weight: 700; color: #0F172A; font-size: 15px; }
.snab-calc-buy__price-row--total {
  padding-top: 8px; border-top: 1px dashed #c9d8f0;
}
.snab-calc-buy__price-total {
  font-weight: 800; font-size: 22px; color: #F97316;
  line-height: 1; font-variant-numeric: tabular-nums;
}

/* ============ Активное состояние кнопок «В избранное» / «Сравнить» на карточке товара ============ */
.snab-product__act.js-snab-fav.is-active,
.snab-product__act.js-snab-cmp.is-active {
  color: #F97316;
  font-weight: 700;
}
.snab-product__act.js-snab-fav.is-active .ico-fav,
.snab-product__act.js-snab-cmp.is-active .ico-cmp {
  color: #F97316;
  filter: drop-shadow(0 0 4px rgba(249,115,22,0.25));
}
.snab-product__act.js-snab-fav.is-active .ico-fav::before { content: '♥'; }
.snab-product__act.js-snab-fav .ico-fav,
.snab-product__act.js-snab-cmp .ico-cmp {
  transition: color .15s ease, filter .15s ease;
}
.snab-product__act { transition: color .15s ease; cursor: pointer; }
.snab-product__act:hover { color: #1E40AF; }

/* ============ Category related links ============ */
.snab-cat__related {
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid #e5edf7;
}
.snab-cat__related-title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.25;
  color: #0F172A;
  font-weight: 800;
}
.snab-cat__related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.snab-cat__related-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #d7e2f2;
  border-radius: 8px;
  background: #fff;
  color: #1E40AF;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.snab-cat__related-link:hover,
.snab-cat__related-link:focus {
  color: #F97316;
  border-color: #F97316;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
  text-decoration: none;
}
@media (max-width: 640px) {
  .snab-cat__related { margin-top: 22px; padding-top: 18px; }
  .snab-cat__related-title { font-size: 18px; }
  .snab-cat__related-list { gap: 8px; }
  .snab-cat__related-link { width: 100%; justify-content: center; text-align: center; }
}

/* ============ Calc mobile overflow guard ============ */
@media (max-width: 900px) {
  .snab-calc-page,
  .snab-calc-page * { box-sizing: border-box; }
  .snab-calc-page,
  .snab-calc-page .container { max-width: 100%; overflow-x: hidden; }
  .snab-calc__layout,
  .snab-calc__form-wrap,
  .snab-calc__result-wrap,
  .snab-calc-result,
  .snab-calc-buy,
  .snab-calc-buy__pricebox { min-width: 0; max-width: 100%; }
  .snab-calc-hero {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 18px !important;
  }
  .snab-calc-hero__art {
    width: 76px !important;
    height: 76px !important;
  }
  .snab-calc-hero__copy {
    min-width: 0;
    max-width: 100%;
  }
  .snab-calc-hero__copy h1 {
    font-size: 20px !important;
    max-width: 290px;
    overflow-wrap: anywhere;
  }
  .snab-calc-hero__copy p { overflow-wrap: anywhere; }
  .snab-calc-buy__dd-trigger {
    align-items: flex-start;
    min-width: 0;
    max-width: 100%;
  }
  .snab-calc-buy__dd-name,
  .snab-calc-buy__dd-item-name {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  .snab-calc-buy__price-row {
    flex-wrap: wrap;
    align-items: flex-start !important;
    gap: 6px;
  }
  .snab-calc-buy__price-total {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 20px !important;
  }
}

@media (max-width: 360px) {
  .snab-calc-hero__copy h1 {
    max-width: 260px;
    font-size: 18px !important;
  }
  .snab-calc-buy__price-row {
    flex-direction: column;
    align-items: flex-start !important;
  }
}
