/**
 * Zolotoff-Gold — визуальная полировка (светлая тема)
 * Логика и тексты не затрагиваются.
 */
:root {
  --zg-bg: #ffffff;
  --zg-bg-soft: #f7f7f7;
  --zg-bg-muted: #f3f1ee;
  --zg-border: #e6e6e6;
  --zg-border-strong: #d0d0d0;
  --zg-text: #1c1c1c;
  --zg-text-muted: #6f6f6f;
  --zg-text-light: #9a9a9a;
  --zg-accent: #8c7355;
  --zg-radius: 6px;
  --zg-radius-lg: 10px;
  --zg-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --zg-container: 1170px;
  --zg-section-gap: 48px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--zg-bg);
  color: var(--zg-text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--zg-text);
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover,
a:focus {
  color: var(--zg-accent);
  opacity: 0.9;
}

.container {
  max-width: var(--zg-container);
}

/* Старый баннер из кода аналитики в <head> (дубликат) */
p.warning {
  display: none !important;
}

/* ——— Шапка ——— */
.vocation {
  border-bottom: 1px solid var(--zg-border) !important;
  background: var(--zg-bg-soft);
  color: var(--zg-text-muted);
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 16px !important;
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 100%;
}

.site-header {
  align-items: center !important;
  padding: 10px 0 !important;
}

#logo {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  align-self: center !important;
}

#logo a {
  display: flex;
  align-items: center;
  line-height: 0;
}

#logo img {
  height: 72px !important;
  width: auto;
  object-fit: contain;
  display: block;
}

.site-header__other {
  align-self: center !important;
}

.header-categories-nav {
  align-self: center !important;
}

.header-categories-more {
  align-self: center !important;
}

.header-categories-more__dropdown {
  top: 100% !important;
  padding-top: 12px !important;
  margin-top: 0 !important;
}

@media screen and (min-width: 768px) {
  .site-header .menu-text {
    display: none !important;
  }
}

.header-categories-nav {
  flex: 1;
  min-width: 0;
}

.header-categories-list {
  gap: 16px !important;
  flex: 0 1 auto !important;
  flex-wrap: nowrap !important;
  overflow: visible !important;
  min-width: 0;
  justify-content: flex-start !important;
}

.header-categories-nav {
  gap: 16px !important;
}

.header-categories-more__toggle {
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 2px !important;
}

.header-category {
  font-size: 13px !important;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--zg-text) !important;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.header-category:hover {
  color: var(--zg-accent) !important;
  border-bottom-color: var(--zg-accent);
  text-decoration: none;
}

.header-search {
  color: var(--zg-text) !important;
  font-size: 17px;
  padding: 6px;
}

.menu-text {
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.site-header__mobile-menu div {
  background: var(--zg-text) !important;
  border-radius: 1px;
}

/* ——— Боковое меню ——— */
#menu {
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
  border-left: 1px solid var(--zg-border);
}

#menu .nav > li > a,
.dropdown-toggler > a {
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

#menu .dropdown-inner a {
  color: var(--zg-text-muted) !important;
  font-size: 14px !important;
  padding: 4px 0 !important;
}

.mobile-background.active {
  background: rgba(0, 0, 0, 0.35) !important;
}

/* ——— Слайдер главной (ПК) ——— */
.home-hero,
.fullwidth {
  width: 100% !important;
  max-width: 100vw;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow: hidden;
}

#banner-slider .splide__arrow {
  background: rgba(255, 255, 255, 0.92);
  opacity: 1;
  box-shadow: var(--zg-shadow);
}

#banner-slider .splide__arrow svg {
  fill: var(--zg-text);
}

.main-page-banner .banner-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media screen and (min-width: 768px) {
  .home-hero {
    padding: 0 0 20px;
  }

  .home-hero__slider,
  #banner-slider {
    border-radius: 10px;
    overflow: hidden;
    background: var(--zg-bg-muted);
  }

  .main-page-banner {
    height: auto;
    background: var(--zg-bg-muted);
  }
}

.main-page-banner .banner-content--desktop {
  background: none;
}

.main-page-banner h2.carisma,
.main-page-banner h2 {
  color: var(--zg-text) !important;
  font-size: clamp(28px, 4vw, 48px) !important;
  line-height: 1.15 !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em;
}

.main-page-banner p {
  color: var(--zg-text-muted) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  line-height: 1.5;
  max-width: 480px;
}

.main-page-banner .banner-cta {
  background: var(--zg-text) !important;
  color: #fff !important;
  border-radius: var(--zg-radius);
  width: auto !important;
  max-width: 280px;
  padding: 14px 24px !important;
  font-size: 13px !important;
  margin-top: 24px !important;
}

/* ——— Категории на главной ——— */
.main-category__header,
.category-header {
  font-size: 22px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-align: center;
  margin-bottom: 8px;
  color: var(--zg-text);
}

.main-category__list {
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px !important;
  margin-bottom: var(--zg-section-gap) !important;
}

.main-category__item {
  font-size: 13px !important;
  padding: 10px 18px !important;
  border: 1px solid var(--zg-border-strong) !important;
  border-radius: var(--zg-radius);
  background: var(--zg-bg);
  min-width: 120px;
}

.main-category__item:hover {
  background: var(--zg-text) !important;
  border-color: var(--zg-text) !important;
}

/* ——— Сетка товаров ——— */
.catalog-grid,
.product-list {
  border: 1px solid var(--zg-border) !important;
  border-radius: var(--zg-radius-lg);
  padding: 24px !important;
  gap: 24px !important;
  background: var(--zg-bg);
}

.product-item {
  background: var(--zg-bg);
  border-radius: var(--zg-radius);
  transition: box-shadow 0.2s ease;
}

.product-item:hover {
  box-shadow: var(--zg-shadow);
}

.product-item .image {
  background: var(--zg-bg-soft);
  border-radius: var(--zg-radius);
  overflow: hidden;
  aspect-ratio: 1;
}

.product-item .image img {
  height: 100%;
  object-fit: cover;
}

.product-details {
  padding-top: 12px !important;
}

.product-details .caption {
  gap: 6px;
  align-items: flex-start !important;
}

.product-details .name,
.product-details .name a {
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.35;
  width: 100% !important;
  max-width: none !important;
  text-align: left !important;
  letter-spacing: 0.02em;
  text-transform: none;
}

.product-details .price {
  flex-wrap: wrap;
  gap: 8px !important;
}

.price-current {
  font-size: 15px;
  font-weight: 600;
  color: var(--zg-text);
}

.price-before {
  opacity: 0.55 !important;
  font-size: 12px !important;
}

.price-percent {
  font-size: 12px;
  color: var(--zg-accent);
  font-weight: 600;
}

.product-details .buttons button {
  flex: 1;
  border: 1px solid var(--zg-border-strong) !important;
  border-radius: var(--zg-radius) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  padding: 10px 12px !important;
  height: auto !important;
  min-height: 40px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.product-details .buttons button:hover {
  background: var(--zg-text) !important;
  color: #fff !important;
  border-color: var(--zg-text) !important;
}

.show-all {
  border: 1px solid var(--zg-border-strong) !important;
  border-radius: var(--zg-radius) !important;
  font-size: 12px !important;
  letter-spacing: 0.06em;
  padding: 12px 24px !important;
}

.show-all:hover {
  background: var(--zg-text) !important;
  border-color: var(--zg-text) !important;
}

/* ——— Преимущества ——— */
.advantages {
  margin-top: var(--zg-section-gap) !important;
  padding: 0 16px;
}

.features-title {
  font-size: 22px !important;
  letter-spacing: 0.1em !important;
  margin: 32px 0 24px !important;
  font-weight: 500 !important;
}

.features {
  padding: 32px 24px !important;
  column-gap: 48px !important;
  row-gap: 28px !important;
  background: var(--zg-bg-soft);
  border-radius: var(--zg-radius-lg);
  border: 1px solid var(--zg-border);
}

.feature-circle {
  background-color: var(--zg-bg-muted) !important;
}

.feature__caption h3 {
  color: var(--zg-text) !important;
  font-size: 15px !important;
}

.feature__caption p {
  color: var(--zg-text-muted) !important;
  line-height: 1.5 !important;
}

/* ——— Подборки на главной ——— */
.home-selections__section + .home-selections__section {
  margin-top: var(--zg-section-gap);
}

.home-selections__section .mobile-container {
  padding-top: 0;
}

/* ——— Видео на главной (модуль HTML: .main-page-video2-block) ——— */
body.is-home #content > div:has(.main-page-video2-block) {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
}

body.is-home .main-page-video2-block {
  margin: var(--zg-section-gap) auto 0;
  max-width: var(--zg-container);
  padding: 0 16px;
  box-sizing: border-box;
  border-radius: var(--zg-radius-lg);
  overflow: hidden;
  background: var(--zg-bg-muted);
  border: 1px solid var(--zg-border);
  box-shadow: var(--zg-shadow);
}

body.is-home video.main-page-video2 {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: min(56vw, 480px);
  object-fit: contain !important;
  object-position: center center;
  background: var(--zg-bg-muted) !important;
  vertical-align: top;
}

body.is-home .advantages .main-page-video2-block {
  margin-top: 28px;
  padding: 0;
  max-width: 100%;
}

/* ——— Витрина / also viewed ——— */
.also-viewed-slider h3 {
  font-size: 22px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  margin-top: var(--zg-section-gap) !important;
  margin-bottom: 16px !important;
}

.vitrina-text {
  font-size: 12px !important;
  font-weight: 500 !important;
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* ——— Каталог / карточка ——— */
.page-title {
  font-size: 26px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  margin-top: 32px !important;
  margin-bottom: 8px !important;
  color: var(--zg-text);
}

.breadcrumbs {
  font-size: 12px !important;
  margin-bottom: 28px !important;
  letter-spacing: 0.04em;
}

.breadcrumbs > span > a {
  color: var(--zg-text-muted) !important;
}

.product-page__price {
  font-size: 28px !important;
  letter-spacing: 0.02em !important;
  font-weight: 600 !important;
}

.product-page__price__before {
  font-size: 18px !important;
  letter-spacing: 0.02em !important;
}

.product-page__price__percent {
  color: var(--zg-accent);
}

.buy-button {
  border: 1px solid var(--zg-border-strong) !important;
  border-radius: var(--zg-radius) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  padding: 12px 20px !important;
  flex: 1;
}

.buy-button:hover {
  background: var(--zg-text) !important;
  color: #fff !important;
}

.buy-button--primary {
  background: var(--zg-text) !important;
  color: #fff !important;
  border-color: var(--zg-text) !important;
}

.buy-button--primary:hover {
  background: var(--zg-accent) !important;
  border-color: var(--zg-accent) !important;
}

.product-card__summary {
  margin-bottom: 8px;
}

.product-card__gallery {
  max-width: 100%;
}

.product-card__main-slider {
  position: relative;
  width: 100%;
  height: min(92vw, 520px);
  max-height: min(92vw, 520px);
  border-radius: var(--zg-radius-lg);
  overflow: hidden;
  background: var(--zg-bg-muted);
}

.product-card__main-slider .splide__track {
  height: 100% !important;
}

.product-card__main-slider .splide__list {
  display: flex !important;
  height: 100% !important;
}

.product-card__main-slider.is-initialized:not(.is-active) .splide__list {
  display: flex !important;
}

.product-card__main-slider:not(.is-initialized) .splide__slide:not(:first-child) {
  display: none;
}

.product-card__main-slider.splide--fade .splide__track > .splide__list > .splide__slide {
  position: absolute;
  inset: 0;
  width: 100%;
}

.product-card__main-slider .splide__slide {
  height: 100% !important;
  opacity: 1 !important;
}

.product-card__main-slider .splide__slide img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: var(--zg-bg-muted);
}

.product-card__thumb-slider {
  margin-top: 12px;
  height: 100px;
}

.product-card__thumb-slider .splide__track,
.product-card__thumb-slider .splide__list {
  height: 100px !important;
}

.product-card__thumb-slider .splide__slide {
  opacity: 0.55;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--zg-border);
}

.product-card__thumb-slider .splide__slide.is-active {
  opacity: 1;
  border-color: var(--zg-text);
}

.product-card__gallery--single .splide__arrow {
  display: none !important;
}

.product-page__line {
  background: var(--zg-border) !important;
}

.description__title {
  font-size: 14px !important;
  letter-spacing: 0.12em !important;
  color: var(--zg-text);
}

.description__text {
  text-transform: none !important;
  line-height: 1.6 !important;
  color: var(--zg-text-muted) !important;
}

.contact-us {
  border: 1px solid var(--zg-border) !important;
  border-radius: var(--zg-radius-lg) !important;
  padding: 10px 14px !important;
  background: var(--zg-bg-soft);
}

.article {
  color: var(--zg-text-light) !important;
  font-size: 13px;
  margin-bottom: 8px;
}

/* ——— Пагинация ——— */
.pagination > li > a {
  border-color: var(--zg-border-strong) !important;
  border-radius: var(--zg-radius) !important;
  color: var(--zg-text) !important;
}

.pagination > li > span {
  background: var(--zg-text) !important;
  border-color: var(--zg-text) !important;
}

/* ——— Подвал ——— */
.site-footer {
  margin-top: 48px;
  background: var(--zg-bg-soft);
  border-top: 1px solid var(--zg-border);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 40px 32px;
  padding: 48px 0 40px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.site-footer__logo {
  display: block;
  line-height: 0;
}

.site-footer__logo img {
  height: 52px;
  width: auto;
}

.site-footer__logo-text {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--zg-text);
}

.site-footer__tagline {
  margin: 0;
  max-width: 240px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--zg-text-muted);
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--zg-bg);
  border: 1px solid var(--zg-border);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-footer__social-link:hover {
  border-color: var(--zg-border-strong);
  background: var(--zg-bg-muted);
  transform: translateY(-1px);
}

.site-footer__social-link--icon {
  color: var(--zg-text);
  font-size: 16px;
}

.site-footer__title {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zg-text);
}

.site-footer__links,
.site-footer__contacts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links li + li,
.site-footer__contacts li + li {
  margin-top: 10px;
}

.site-footer__links a,
.site-footer__contact-link {
  font-size: 14px;
  line-height: 1.45;
  color: var(--zg-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__links a:hover,
.site-footer__contact-link:hover {
  color: var(--zg-accent);
}

.site-footer__contact-link {
  color: var(--zg-text);
  font-weight: 500;
}

.site-footer__contact-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--zg-text-muted);
}

.site-footer__contact-text--muted {
  font-size: 13px;
  color: var(--zg-text-light);
}

.site-footer__bottom {
  padding: 20px 0 28px;
  border-top: 1px solid var(--zg-border);
  text-align: center;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  font-size: 12px;
  color: var(--zg-text-muted);
}

.site-footer__legal-sep {
  color: var(--zg-text-light);
}

.site-footer__requisites {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: var(--zg-text-light);
}

/* Legacy footer classes (если остались в других шаблонах) */
footer {
  margin-top: 48px;
  background: var(--zg-bg-soft);
}

.footer {
  border-top: 1px solid var(--zg-border) !important;
  padding: 32px 0 40px !important;
  gap: 20px;
}

.footer__logo img {
  height: 56px !important;
}

.requisites {
  position: static !important;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
  color: var(--zg-text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ——— Корзина в шапке ——— */
.header-cart-container .fa-shopping-cart,
.cart-container .fa-shopping-cart {
  font-size: 18px;
}

#common-home,
.home-page {
  padding-top: 24px;
}

#common-home .row,
.home-page .row {
  margin-left: 0;
  margin-right: 0;
}

.mobile-container {
  max-width: 100%;
}

@media screen and (max-width: 991px) {
  .site-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding: 40px 0 32px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

/* ——— Мобильная версия ——— */
@media screen and (max-width: 767px) {
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .col-sm-12 {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .mobile-container {
    padding: 0 8px !important;
  }

  #logo img {
    height: 48px !important;
  }

  .catalog-grid,
  .product-list {
    padding: 12px !important;
    gap: 12px !important;
    border-radius: var(--zg-radius);
  }

  .product-list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .product-item .image {
    aspect-ratio: 0.85;
  }

  .product-details .name,
  .product-details .name a {
    font-size: 11px !important;
    line-height: 1.3;
  }

  .price-current {
    font-size: 12px;
  }

  .features {
    padding: 20px 16px !important;
  }

  .features-title {
    font-size: 16px !important;
    margin: 24px 0 16px !important;
  }

  .main-page-banner .banner-content {
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
  }

  .main-page-banner h2.carisma,
  .main-page-banner h2 {
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
  }

  .main-page-banner p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 13px !important;
  }

  .page-title {
    font-size: 18px !important;
  }

  .breadcrumbs {
    margin-bottom: 16px !important;
    padding: 0 8px;
  }

  .site-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding: 32px 0 28px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }

  .site-footer__tagline {
    max-width: 280px;
  }

  .site-footer__social {
    justify-content: center;
  }

  .site-footer__col--contacts {
    grid-column: 1 / -1;
  }

  .site-footer__legal-sep--hide-mobile,
  .site-footer__legal-detail--hide-mobile {
    display: none;
  }

  .site-footer__bottom {
    padding: 16px 0 24px;
  }

  .footer {
    padding: 24px 12px 32px !important;
  }

  .requisites {
    font-size: 11px;
  }

  /* ——— Главная на мобильном: отдельный первый экран ——— */
  body.is-home header {
    background: var(--zg-bg);
    border-bottom: 1px solid var(--zg-border);
  }

  body.is-home .vocation {
    font-size: 11px !important;
    line-height: 1.4;
    padding: 7px 12px !important;
  }

  body.is-home .special-main-page-header {
    position: static !important;
    background: none !important;
    padding: 0 !important;
  }

  body.is-home .special-main-page-header.site-header {
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 0 !important;
  }

  body.is-home .special-main-page-header #logo {
    display: block !important;
    flex: 0 0 auto;
  }

  body.is-home .special-main-page-header #logo img {
    height: 42px !important;
    width: auto;
    margin-left: 0 !important;
  }

  body.is-home .special-main-page-header .header-search,
  body.is-home .special-main-page-header .fa-shopping-cart {
    color: var(--zg-text) !important;
  }

  body.is-home .special-main-page-header .site-header__mobile-menu div {
    background: var(--zg-text) !important;
  }

  body.is-home header > .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Баннер — крупная карточка */
  body.is-home .home-hero {
    padding: 10px 8px 8px !important;
    margin: 0 !important;
    max-width: 100% !important;
    background: var(--zg-bg);
  }

  body.is-home .home-hero__slider,
  body.is-home #banner-slider {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--zg-shadow);
    background: var(--zg-bg-muted);
    width: 100%;
  }

  body.is-home #banner-slider .splide__arrow {
    display: none !important;
  }

  body.is-home #banner-slider .splide__pagination {
    bottom: 10px;
  }

  body.is-home #banner-slider .splide__pagination__page {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.55);
    opacity: 1;
  }

  body.is-home #banner-slider .splide__pagination__page.is-active {
    background: #fff;
    transform: scale(1.2);
  }

  body.is-home .main-page-banner .banner-img {
    object-fit: contain !important;
    object-position: center center !important;
  }

  #common-home,
  .home-page {
    padding-top: 0 !important;
  }

  /* Заголовки блоков («Новинки» и т.д.) */
  .category-header,
  .mobile-container > h3 {
    font-size: 18px !important;
    font-weight: 500 !important;
    letter-spacing: 0.12em !important;
    color: var(--zg-text) !important;
    text-align: center;
    margin: 16px 0 12px !important;
    padding: 0 12px;
  }

  .mobile-container {
    padding: 0 12px !important;
  }

  body.is-home .main-page-video2-block {
    margin-top: 28px;
    padding: 0 12px;
    border-radius: 10px;
  }

  body.is-home video.main-page-video2 {
    max-height: none;
  }

  /* ——— Карточка товара (мобильная) ——— */
  #product-product .page-title {
    font-size: 18px !important;
    margin-top: 12px !important;
    padding: 0 4px;
  }

  #product-product .breadcrumbs {
    margin-bottom: 12px !important;
    padding: 0 4px;
  }

  .product-card > [class*="col-"] {
    width: 100%;
    float: none;
    padding-left: 12px;
    padding-right: 12px;
  }

  .product-card__gallery {
    margin-bottom: 0;
  }

  .product-card__main-slider {
    height: min(calc(100vw - 40px), 360px) !important;
    max-height: min(calc(100vw - 40px), 360px) !important;
  }

  #product-product .product-card__main-slider .splide__arrow {
    width: 28px !important;
    height: 28px !important;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.92);
  }

  #product-product .product-card__main-slider .splide__arrow svg {
    width: 12px !important;
    height: 12px !important;
  }

  #product-product .product-card__main-slider .splide__arrow--prev {
    left: 6px !important;
  }

  #product-product .product-card__main-slider .splide__arrow--next {
    right: 6px !important;
  }

  .product-card__thumb-slider {
    margin-top: 8px !important;
    height: 56px !important;
  }

  .product-card__thumb-slider .splide__track,
  .product-card__thumb-slider .splide__list {
    height: 56px !important;
  }

  .product-card__details {
    padding-top: 12px;
  }

  .product-card__summary {
    padding-bottom: 4px;
  }

  .product-page__price {
    font-size: 26px !important;
    margin-top: 0 !important;
    letter-spacing: 0.02em !important;
  }

  .product-page__price__before {
    font-size: 16px !important;
  }

  .product-page__price__percent {
    font-size: 16px !important;
    margin-bottom: 6px !important;
  }

  .product-card__summary .article {
    font-size: 12px;
    margin-bottom: 0;
  }

  .product-card__summary .buy-buttons {
    position: static !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    margin: 14px 0 10px !important;
  }

  .product-card__summary .buy-button {
    flex: none !important;
    width: 100%;
    font-size: 12px !important;
    padding: 12px 6px !important;
    letter-spacing: 0.04em !important;
  }

  .product-card__extras {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--zg-border);
  }

  .product-card__extras .test556 {
    margin-top: 0;
  }

  /* ——— Мобильное меню ——— */
  body.mobile-nav-open {
    overflow: hidden;
  }

  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(28, 28, 28, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .mobile-nav-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
    width: min(100%, 320px);
    height: 100%;
    height: 100dvh;
    background: var(--zg-bg);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .mobile-nav.active {
    transform: translateX(0);
  }

  .mobile-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--zg-border);
    flex-shrink: 0;
  }

  .mobile-nav__title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--zg-text-muted);
  }

  .mobile-nav__close {
    position: relative;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--zg-border);
    border-radius: 50%;
    background: var(--zg-bg-soft);
    cursor: pointer;
    flex-shrink: 0;
  }

  .mobile-nav__close::before,
  .mobile-nav__close::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 1.5px;
    margin-left: -7px;
    background: var(--zg-text);
  }

  .mobile-nav__close::before {
    transform: translateY(-0.5px) rotate(45deg);
  }

  .mobile-nav__close::after {
    transform: translateY(-0.5px) rotate(-45deg);
  }

  .mobile-nav__contacts {
    padding: 16px;
    background: var(--zg-bg-soft);
    border-bottom: 1px solid var(--zg-border);
    flex-shrink: 0;
  }

  .mobile-nav__phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--zg-text);
    text-decoration: none;
    margin-bottom: 0;
  }

  .mobile-nav__phone i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--zg-bg);
    border: 1px solid var(--zg-border);
    font-size: 14px;
    color: var(--zg-accent);
  }

  .mobile-nav__meta {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 8px;
    padding-left: 2px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--zg-text-muted);
  }

  .mobile-nav__meta:last-child {
    margin-bottom: 0;
  }

  .mobile-nav__meta i {
    width: 16px;
    margin-top: 2px;
    text-align: center;
    color: var(--zg-text-light);
    flex-shrink: 0;
  }

  .mobile-nav__meta--link {
    text-decoration: none;
    color: var(--zg-text-muted);
  }

  .mobile-nav__meta--link:hover {
    color: var(--zg-accent);
  }

  .mobile-nav__quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 8px 16px 10px;
    border-bottom: 1px solid var(--zg-border);
    flex-shrink: 0;
  }

  .mobile-nav__quick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 5px 8px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: var(--zg-text);
    border-radius: 4px;
    border: 1px solid var(--zg-text);
  }

  .mobile-nav__quick-btn--outline {
    color: var(--zg-text);
    background: var(--zg-bg);
  }

  .mobile-nav__body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 16px;
  }

  .mobile-nav__section-title {
    margin: 0;
    padding: 12px 16px 8px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--zg-text-light);
  }

  .mobile-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-nav__link,
  .mobile-nav__toggler {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--zg-text);
    text-decoration: none;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
  }

  .mobile-nav__toggler-label {
    flex: 1;
  }

  .mobile-nav__chevron {
    font-size: 11px;
    color: var(--zg-text-light);
    transition: transform 0.2s ease;
  }

  .mobile-nav__item--dropdown.is-open .mobile-nav__chevron {
    transform: rotate(180deg);
  }

  .mobile-nav__submenu {
    display: none;
    padding: 0 16px 8px 24px;
    background: var(--zg-bg-soft);
  }

  .mobile-nav__item--dropdown.is-open .mobile-nav__submenu {
    display: block;
  }

  .mobile-nav__sublink {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    color: var(--zg-text-muted);
    text-decoration: none;
    border-bottom: 1px solid var(--zg-border);
  }

  .mobile-nav__sublink:last-child {
    border-bottom: none;
  }

  .mobile-nav__sublink--all {
    font-weight: 600;
    color: var(--zg-text);
  }

  .mobile-nav__sublink:hover,
  .mobile-nav__link:hover {
    color: var(--zg-accent);
  }

  .mobile-nav__footer {
    flex-shrink: 0;
    padding: 14px 16px 20px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--zg-border);
    background: var(--zg-bg);
  }

  .mobile-nav__addresses {
    margin: 14px 0 12px;
    padding-top: 14px;
    border-top: 1px solid var(--zg-border);
  }

  .mobile-nav__meta--legal {
    font-size: 12px;
    color: var(--zg-text-light);
  }

  .mobile-nav__social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
  }

  .mobile-nav__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--zg-bg-soft);
    border: 1px solid var(--zg-border);
    color: var(--zg-text);
    font-size: 16px;
  }

  .mobile-nav__footer-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--zg-text-muted);
    text-decoration: none;
  }

  .mobile-nav__footer-link:hover {
    color: var(--zg-accent);
  }
}

@media screen and (min-width: 768px) {
  .mobile-nav,
  .mobile-nav-backdrop {
    display: none !important;
  }

  .product-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 1200px) {
  .product-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
