/*
 * Milano — переопределения темы (грузится последним; ?v= в Blade сбрасывает кэш браузера).
 * Правки визуала вносите сюда; Vite / npm run build не трогает этот файл.
 */

/* Тема (style.css): у .new-price часто margin-right — сбрасываем всегда, даже если подтянулась старая копия CSS. */
.new-price {
  margin: 0 !important;
}

.cart-discount .cart-discount-remove-btn {
  min-width: 152px;
  padding-left: 2rem;
  padding-right: 2rem;
  margin-left: 0;
}

.cart-discount-active-notice {
  font-size: 1.3rem;
  line-height: 1.55;
  border-left: 4px solid #c57f00;
}

/* Оформление заказа: поле телефона intl-tel-input на всю ширину */
.checkout .iti {
  width: 100%;
}

.checkout .iti__country-list {
  z-index: 2000;
}

/* Боковое меню на главной: шрифт мегаменю каталога чуть крупнее и жирнее */
.header.sidebar .menu .megamenu .menu-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.header.sidebar .menu .megamenu.demo.left .menu-col li a {
  font-size: 1.35rem;
  font-weight: 600;
}

/* Выпадающие «Каталог» и «Наши бренды» в шапке магазина: шрифт темнее */
.header:not(.sidebar) .menu .megamenu .menu-col li a {
  color: #111 !important;
}

.header:not(.sidebar) .menu .megamenu .menu-col li a:hover {
  color: #565656 !important;
}

/* Верхнее подменю шапки магазина: жирный чёрный текст и иконки Font Awesome */
/* Как у главного меню (.header-middle .menu > li > a): Montserrat, 1.4rem, uppercase, letter-spacing */
.header-top .top-menu ul ul a.header-top-quick-link {
  color: #000 !important;
  font-family: inherit;
  font-size: 1.4rem;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  line-height: 1.5;
  text-transform: uppercase;
}

.header-top .top-menu ul ul a.header-top-quick-link:hover,
.header-top .top-menu ul ul a.header-top-quick-link:focus {
  color: #565656 !important;
  font-size: 1.4rem;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* Как у .top-menu i в теме Molla */
.header-top .top-menu ul ul a.header-top-quick-link i {
  color: inherit;
  font-size: 1.5rem;
  line-height: 1;
  margin-right: 0.8rem;
}

/* Боковое меню на главной: пункты «Наши бренды» без жирного */
.header.sidebar .menu .megamenu-brands .menu-col li a {
  color: #e8e8e8;
  font-weight: 400;
}

.header.sidebar .menu .megamenu-brands .menu-col li a:hover {
  color: #565656;
}

/* Единый цвет и размер иконок в шапке каталога/магазина: поиск, избранное, корзина */
.header .header-middle .header-right .wishlist>a,
.header .header-middle .header-right .wishlist>a i,
.header .header-middle .header-right .header-cart .cart-header-link,
.header .header-middle .header-right .header-cart .cart-header-link i {
  color: #000;
}

/* Одинаковые отступы между иконками в шапке (как у корзины: 2.5rem) */
.header .header-middle .header-right .header-search {
  padding-left: 2.5rem;
}

.header .header-middle .header-right .wishlist {
  padding-left: 2.5rem;
}

.header .header-middle .header-right .header-cart {
  padding-left: 2.5rem;
}

/* Избранное в шапке каталога — как на главной: иконка 2.8rem, бейдж на углу иконки */
.header .header-middle .header-right .wishlist>a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  line-height: 1;
  text-decoration: none !important;
}

.header .header-middle .header-right .wishlist>a i {
  display: inline-block;
  margin-top: -2px;
}

/* Бейдж избранного — как на главной (.home-page-header-wrap) */
.header .header-middle .header-right .wishlist .wishlist-count {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.8rem;
  height: 1.8rem;
  padding: 0;
  border-radius: 50% !important;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  margin-left: -1rem;
  margin-bottom: 1.5rem;
  margin-top: 0.1rem;
  color: #ffffff !important;
  background-color: #000000 !important;
}

.header .header-middle .header-right .wishlist>a:hover,
.header .header-middle .header-right .wishlist>a:focus,
.header .header-middle .header-right .wishlist>a:hover i,
.header .header-middle .header-right .wishlist>a:focus i {
  color: #565656;
}

.header .header-middle .header-right .header-cart .cart-header-link:hover,
.header .header-middle .header-right .header-cart .cart-header-link:focus,
.header .header-middle .header-right .header-cart .cart-header-link:hover i,
.header .header-middle .header-right .header-cart .cart-header-link:focus i {
  color: #565656;
}

/* Отступы для карты на странице контактов, чтобы не прилипала к футеру */
.contact-map {
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.contact-map-leaflet {
  height: 400px;
  min-height: 280px;
}

/* Попап карты на странице контактов — крупнее текст */
.leaflet-popup-content .map-marker-popup {
  font-size: 1.4rem;
  line-height: 1.55;
  padding: 0.6rem 0.2rem 0.2rem;
  min-width: 200px;
}

.leaflet-popup-content .map-marker-popup strong {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.4rem;
}

.leaflet-popup-content .map-marker-popup a {
  font-size: 1.4rem;
}

.leaflet-popup-content .map-marker-popup small {
  font-size: 1.25rem;
  display: block;
  margin-top: 0.5rem;
  color: #000;
}

/* Одинаковый отступ после «Главная», как после остальных пунктов (у них padding-right: 2rem из-за sf-with-ul) */
.header .header-middle .menu>li:first-child>a {
  padding-right: 2rem;
}

/* Убираем чёрное выделение (focus/outline) у кнопки избранного — как в стоке */
.btn-product.btn-wishlist,
.btn-product-icon.btn-wishlist {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  -webkit-tap-highlight-color: transparent;
}

.btn-product.btn-wishlist:focus,
.btn-product.btn-wishlist:active,
.btn-product-icon.btn-wishlist:focus,
.btn-product-icon.btn-wishlist:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.btn-wishlist::before {
  -webkit-text-stroke-width: 0;
}

/* Анимация при добавлении в избранное */
@keyframes wishlist-added-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.25);
    opacity: 0.9;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.btn-wishlist.wishlist-just-added {
  animation: wishlist-added-pulse 0.5s ease;
}

.btn-wishlist.wishlist-just-added::before {
  color: #565656;
}

/* Состояние «в избранном» — заполненное сердечко, без обводки как в стоке */
.btn-wishlist.in-wishlist::before {
  content: '\f233' !important;
}

.btn-product-icon.btn-wishlist.in-wishlist,
.btn-product.btn-wishlist.in-wishlist {
  color: #565656;
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.btn-product-icon.btn-wishlist.in-wishlist:hover,
.btn-product-icon.btn-wishlist.in-wishlist:focus,
.btn-product-icon.btn-wishlist.in-wishlist:active,
.btn-product.btn-wishlist.in-wishlist:hover,
.btn-product.btn-wishlist.in-wishlist:focus,
.btn-product.btn-wishlist.in-wishlist:active {
  color: #565656;
  background-color: rgba(86, 86, 86, 0.15);
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* --- Каталог: прокрутка внутри каждого блока фильтра --- */
.page-content .sidebar.sidebar-shop .widget-collapsible .widget-body {
  max-height: 20rem;
  overflow-y: auto;
  overflow-x: hidden;
  -ms-overflow-style: auto;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.2rem;
  margin-right: -0.2rem;
}

.page-content .sidebar.sidebar-shop .widget-collapsible .widget-body::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  display: block;
}

.page-content .sidebar.sidebar-shop .widget-collapsible .widget-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.page-content .sidebar.sidebar-shop .widget-collapsible .widget-body::-webkit-scrollbar-thumb {
  background: #565656;
  border-radius: 3px;
}

.page-content .sidebar.sidebar-shop .widget-collapsible .widget-body::-webkit-scrollbar-thumb:hover {
  background: #565656;
}

@media (min-width: 992px) {
  .page-content aside.col-lg-3 {
    position: sticky;
    top: 9rem;
    align-self: flex-start;
  }

  .page-content .sidebar.sidebar-shop {
    max-height: calc(100vh - 11rem);
    overflow-y: auto;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-right: 0.4rem;
  }

  .page-content .sidebar.sidebar-shop::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }
}

/* --- Главная: одинаковая высота карточек в блоках new-women / new-men --- */
.new-women .products,
.new-men .products {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.new-women .products>div,
.new-men .products>div {
  display: flex;
  width: 50%;
  flex: 0 0 50%;
}

.new-women .products .product,
.new-men .products .product {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.new-women .products .product-media,
.new-men .products .product-media {
  flex-shrink: 0;
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  background-color: transparent;
}

.new-women .products .product-media>a,
.new-men .products .product-media>a {
  position: relative;
  display: block;
  height: 100%;
}

.new-women .products .product-media .product-image-wrapper,
.new-men .products .product-media .product-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.new-women .products .product-media .product-image-wrapper .product-image-preloader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
}

.new-women .products .product-media .product-image-preloader::after,
.new-men .products .product-media .product-image-preloader::after {
  content: '';
  width: 32px;
  height: 32px;
  border: 2px solid #e0e0e0;
  border-top-color: #999;
  border-radius: 50%;
  animation: product-image-spin-home 0.7s linear infinite;
}

@keyframes product-image-spin-home {
  to {
    transform: rotate(360deg);
  }
}

.new-women .products .product-media .product-image-wrapper.loaded .product-image-preloader,
.new-men .products .product-media .product-image-wrapper.loaded .product-image-preloader {
  display: none;
}

.new-women .products .product-media .product-image,
.new-men .products .product-media .product-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.new-women .products .product-media .product-image-wrapper.loaded .product-image,
.new-men .products .product-media .product-image-wrapper.loaded .product-image {
  opacity: 1;
}

.new-women .products .product-body,
.new-men .products .product-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.new-women .products .product-body .product-price,
.new-men .products .product-body .product-price {
  margin-top: auto;
  min-height: 5.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.new-women .products .product-price-eur,
.new-men .products .product-price-eur {
  font-size: 0.75em;
  font-weight: 400;
  margin-top: 0.15rem;
}

.new-women .products .product-price-eur-old,
.new-men .products .product-price-eur-old {
  text-decoration: line-through;
  margin-left: 0.2rem !important;
}

.new-women .products .product-price-rup .old-price,
.new-men .products .product-price-rup .old-price {
  margin-left: 0.2rem;
}

/* --- Главная: блок «В тренде» — одинаковая высота карусели и карточек --- */
.tranding .owl-stage {
  display: flex;
  align-items: stretch;
}

.tranding .owl-item {
  align-self: stretch;
  flex: 1 1 0;
  min-width: 0;
}

.tranding .owl-item>div,
.tranding .owl-item>.tranding-slide {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}

.tranding .product {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
}

/* Блок изображения — фиксированное соотношение 3:4, высота одинаковая у всех карточек */
.tranding .product-media {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background-color: transparent;
  width: 100%;
  aspect-ratio: 3 / 4;
}

.tranding .product-media>a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
}

.tranding .product-media .product-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tranding .product-media .product-image-wrapper .product-image-preloader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
}

.tranding .product-media .product-image-preloader::after {
  content: '';
  width: 32px;
  height: 32px;
  border: 2px solid #e0e0e0;
  border-top-color: #999;
  border-radius: 50%;
  animation: product-image-spin-home 0.7s linear infinite;
}

.tranding .product-media .product-image-wrapper.loaded .product-image-preloader {
  display: none;
}

.tranding .product-media .product-image {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tranding .product-media .product-image-wrapper.loaded .product-image {
  opacity: 1;
}

.tranding .product-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.tranding .product-body .product-price {
  margin-top: auto;
  min-height: 5.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tranding .product-price-eur {
  font-size: 0.75em;
  font-weight: 400;
  margin-top: 0.15rem;
}

.tranding .product-price-eur-old {
  text-decoration: line-through;
  margin-left: 0.2rem !important;
}

.tranding .product-price-rup .old-price {
  margin-left: 0.2rem;
}

/* --- Каталог (index и sale): максимальная высота изображения, маленькие по центру — как в блоке «В тренде» --- */
.products-category .product-media {
  position: relative;
  overflow: hidden;
}

.products-category .product-media>a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
}

.products-category .product-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.products-category .product-image-wrapper .product-image {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* --- Единый шрифт Montserrat на всём сайте --- */
body {
  font-family: 'Montserrat', sans-serif !important;
}

/* Корзина: ссылка в шапке (без dropdown) */
.page-container .header-cart .cart-header-link,
.header .header-cart .cart-header-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  line-height: 1;
  font-size: 3.2rem;
  color: #000;
}

/* Шапка каталога: корзина — выравнивание как на главной */
.header .header-middle .header-right .header-cart .cart-header-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  line-height: 1;
  font-size: 3.2rem;
  color: #000;
}

.header .header-middle .header-right .header-cart .cart-header-link i {
  display: inline-block;
  margin-top: -2px;
}

/* Бейдж количества в корзине — круг, чёрный фон, белый текст */
.header .cart-header-link .cart-count,
.page-container .header-cart .cart-header-link .cart-count {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 50% !important;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  margin-left: 0.2rem;
  margin-top: 0.1rem;
  color: #ffffff !important;
  background-color: #000000;
}

/* Шапка каталога: бейдж корзины — как на главной (угол иконки) */
.header .header-middle .header-right .header-cart .cart-header-link .cart-count {
  min-width: 1.8rem;
  height: 1.8rem;
  margin-left: -1rem;
  margin-bottom: 1.5rem;
  margin-top: 0.1rem;
  background-color: #000000 !important;
}

.header .cart-header-link:hover .cart-count,
.header .cart-header-link:focus .cart-count,
.page-container .header-cart .cart-header-link:hover .cart-count,
.page-container .header-cart .cart-header-link:focus .cart-count {
  color: #ffffff !important;
  background-color: #000000 !important;
  font-weight: 600;
}

/* Таблица корзины: итог строки — без переноса; цена — может быть несколько строк (скидка) */
.table.table-cart .price-col {
  white-space: normal;
}

.table.table-cart .total-col {
  white-space: nowrap;
}

/* Корзина: товар со скидкой — бейдж на превью и старая цена */
.table.table-cart .product-col .product-media {
  position: relative;
}

.table.table-cart .product-col .product-label.cart-line-sale-badge {
  top: 0.35rem;
  left: 0.35rem;
  font-size: 1rem;
  line-height: 1.2rem;
  padding: 0.2rem 0.45rem;
  min-width: 0;
  letter-spacing: 0;
}

.table.table-cart .cart-line-old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 1.3rem;
  white-space: nowrap;
}

.table.table-cart .cart-line-old-price-eur {
  text-decoration: line-through;
}

.table.table-cart .cart-line-sale-price {
  color: #c60c0c;
  font-weight: 600;
}

.summary.summary-cart .summary-subtotal td:last-child,
.summary.summary-cart .summary-total td:last-child,
.summary.summary-cart .summary-shipping-row td:last-child {
  white-space: nowrap;
}

/* Карточка каталога: минимальный зазор между названием товара и строкой с брендом */
.product.product-7 .product-title {
  margin-bottom: -0.2rem;
  line-height: 1.12;
}

/* Карточка каталога: размеры с новой строки, минимальный зазор от бренда */
.product.product-7 .product-card-sizes-line {
  margin-top: 1px;
}

/* Карточка каталога: минимальный зазор между опциями (размеры и т.д.) и ценой */
.product.product-7 .product-body .product-options {
  margin-bottom: 1px;
}

/* Карточка product-7: без скидки — в разметке только одна цена (нет .old-price) */
.product.product-7 .product-price-rup .new-price:only-child {
  color: #000 !important;
}

/* Карточка product-7: одна колонка — кнопка на всю ширину полосы (как «В корзину») */
.product.product-7 .product-action {
  flex-direction: column;
  align-items: stretch;
}

/* Карточка: «В корзину», «Выбрать размер», disabled — явно на всю ширину */
.product.product-7 .product-action>a.btn-product.btn-cart {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.product.product-7 .product-action>span.btn-product.btn-cart.disabled {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

/* Карточка: форма «В корзину» — без лишней рамки у <button> */
.product.product-7 .product-action>form.cart-add-form {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.product.product-7 .product-action .cart-add-form button.btn-product.btn-cart {
  width: 100%;
  margin: 0;
  border: none;
  border-bottom: 0.1rem solid #ebebeb;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font: inherit;
  text-align: center;
  vertical-align: middle;
}

/*
 * Все карточки product-7 (каталог, главная и т.д.): «В корзину» / «Выбрать размер» —
 * чёрный фон и белый текст; при hover/focus фон остаётся чёрным (перебиваем золото темы).
 */
.product.product-7 .product-action>a.btn-product.btn-cart,
.product.product-7 .product-action .cart-add-form button.btn-product.btn-cart {
  background-color: #000 !important;
  color: #fff !important;
  border-bottom-color: #000 !important;
}

.product.product-7 .product-action>span.btn-product.btn-cart.disabled {
  background-color: #444 !important;
  border-bottom-color: #444 !important;
  color: #fff !important;
  cursor: not-allowed;
}

.product.product-7 .product-action>a.btn-product.btn-cart span,
.product.product-7 .product-action>span.btn-product.btn-cart.disabled span,
.product.product-7 .product-action .cart-add-form button.btn-product.btn-cart span {
  color: #fff !important;
  box-shadow: none !important;
  display: inline-block;
}

.product.product-7 .product-action>a.btn-product.btn-cart:hover,
.product.product-7 .product-action>a.btn-product.btn-cart:focus,
.product.product-7 .product-action .cart-add-form button.btn-product.btn-cart:hover,
.product.product-7 .product-action .cart-add-form button.btn-product.btn-cart:focus {
  background-color: #000 !important;
  color: #fff !important;
  border-bottom-color: #000 !important;
}

.product.product-7 .product-action>a.btn-product.btn-cart:focus-visible,
.product.product-7 .product-action .cart-add-form button.btn-product.btn-cart:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.product.product-7 .product-action>span.btn-product.btn-cart.disabled span {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Анимация «в корзину» */
.cart-fly-ghost {
  position: fixed;
  z-index: 99999;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #565656;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: left 0.45s ease, top 0.45s ease, opacity 0.35s ease;
  opacity: 0.95;
}

.cart-count.cart-animate-pop {
  animation: cart-badge-pop 0.5s cubic-bezier(0.34, 1.3, 0.64, 1);
}

@keyframes cart-badge-pop {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.25);
  }

  100% {
    transform: scale(1);
  }
}

/* --- Главная: без левого сайдбара, меню в бургере, hero на всю ширину viewport (вне .container) --- */
.home-page .page-wrapper {
  overflow-x: hidden;
}

.home-page .home-page-header-wrap.page-container>.header.sticky-header,
.home-page .home-page-header-wrap.page-container>.sticky-wrapper {
  flex: 0 0 100%;
  max-width: 100%;
}

/* Шапка на всю ширину окна (demo-23 .container = 1800px — иначе по бокам тёмный фон first-screen) */
.home-page .home-page-header-wrap.page-container.container {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
  background-color: #fff;
}

@media screen and (min-width: 992px) {

  .home-page .home-page-header-wrap .sticky-header.fixed,
  .home-page .home-page-header-wrap .header.sticky-header {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  /* Поиск в шапке уже виден на десктопе — в выезжающем меню дубль не показываем */
  .mobile-menu-container.mobile-menu-light .mobile-search {
    display: none !important;
  }

  /* Светлое боковое меню — шире панель (как на главной) */
  body .mobile-menu-container.mobile-menu-light {
    left: -400px;
    max-width: 400px;
  }

  body.mmenu-active .mobile-menu-container.mobile-menu-light {
    transform: translateX(400px);
  }
}

/* Светлое боковое меню: пункты чёрные и жирнее (все страницы магазина) */
.mobile-menu-container.mobile-menu-light .mobile-menu>li>a,
.mobile-menu-container.mobile-menu-light .mobile-menu li a {
  color: #000 !important;
  font-weight: 600;
}

.mobile-menu-container.mobile-menu-light .mobile-menu li ul li a:not(:hover):not(:focus) {
  color: #000 !important;
  font-weight: 600;
}

.mobile-menu-container.mobile-menu-light .mobile-menu li.open>a,
.mobile-menu-container.mobile-menu-light .mobile-menu li.active>a {
  color: #000 !important;
  font-weight: 700;
}

.mobile-menu-container.mobile-menu-light .mobile-menu li a:hover,
.mobile-menu-container.mobile-menu-light .mobile-menu li a:focus {
  color: #565656 !important;
}

.mobile-menu-container.mobile-menu-light .mmenu-btn:not(:hover):not(:focus) {
  color: #000 !important;
}

.mobile-menu-container.mobile-menu-light .mmenu-btn:hover,
.mobile-menu-container.mobile-menu-light .mmenu-btn:focus {
  color: #565656 !important;
}

/* Логотип по центру шапки (demo-23: flex + .header-center), без больших отступов от .logo в style.css */
.home-page .home-page-header-wrap .header .header-center {
  flex: 0 0 auto;
  justify-content: center;
  min-width: 0;
}

.home-page .home-page-header-wrap .header .home-page-header-logo {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.home-page .home-page-header-wrap .header .home-page-header-logo img {
  display: block;
  max-width: 110px;
  width: auto;
  height: auto;
}

/* Главная: иконки шапки — #000, при наведении #585858 (поиск, бургер, локаль, избранное, корзина) */
.home-page .home-page-header-wrap .header .mobile-menu-toggler,
.home-page .home-page-header-wrap .header .mobile-menu-toggler i,
.home-page .home-page-header-wrap .header .search-toggle,
.home-page .home-page-header-wrap .header .search-toggle i,
.home-page .home-page-header-wrap .header-right .wishlist>a,
.home-page .home-page-header-wrap .header-right .wishlist>a i,
.home-page .home-page-header-wrap .header-right .header-cart .cart-header-link,
.home-page .home-page-header-wrap .header-right .header-cart .cart-header-link i,
.home-page .home-page-header-wrap .header-right .header-dropdown-locale>a {
  color: #000000;
}

.home-page .home-page-header-wrap .header .mobile-menu-toggler:hover,
.home-page .home-page-header-wrap .header .mobile-menu-toggler:hover i,
.home-page .home-page-header-wrap .header .mobile-menu-toggler:focus,
.home-page .home-page-header-wrap .header .mobile-menu-toggler:focus i,
.home-page .home-page-header-wrap .header .search-toggle:hover,
.home-page .home-page-header-wrap .header .search-toggle:hover i,
.home-page .home-page-header-wrap .header .search-toggle:focus,
.home-page .home-page-header-wrap .header .search-toggle:focus i,
.home-page .home-page-header-wrap .header-right .wishlist>a:hover,
.home-page .home-page-header-wrap .header-right .wishlist>a:hover i,
.home-page .home-page-header-wrap .header-right .wishlist>a:focus,
.home-page .home-page-header-wrap .header-right .wishlist>a:focus i,
.home-page .home-page-header-wrap .header-right .header-cart .cart-header-link:hover,
.home-page .home-page-header-wrap .header-right .header-cart .cart-header-link:hover i,
.home-page .home-page-header-wrap .header-right .header-cart .cart-header-link:focus,
.home-page .home-page-header-wrap .header-right .header-cart .cart-header-link:focus i,
.home-page .home-page-header-wrap .header-right .header-dropdown-locale>a:hover,
.home-page .home-page-header-wrap .header-right .header-dropdown-locale>a:focus {
  color: #585858;
}

/*
 * Главная: корзина без .cart-dropdown — бейдж как у избранного (demo-23).
 * Иконка корзины остаётся 3.2rem (как в шапке каталога), избранное — 2.8rem (demo-23).
 */
.home-page .home-page-header-wrap .header-right .wishlist>a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  line-height: 1;
  text-decoration: none !important;
}

.home-page .home-page-header-wrap .header-right .header-cart .cart-header-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  line-height: 1;
  text-decoration: none !important;
}

.home-page .home-page-header-wrap .header-right .wishlist>a i,
.home-page .home-page-header-wrap .header-right .header-cart .cart-header-link i {
  display: inline-block;
  margin-top: -2px;
}

.home-page .home-page-header-wrap .header-right .wishlist .wishlist-count,
.home-page .home-page-header-wrap .header-right .header-cart .cart-count {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.8rem;
  height: 1.8rem;
  padding: 0;
  border-radius: 50% !important;
  font-size: 1rem;
  line-height: 1;
  margin-left: -1rem;
  margin-bottom: 1.5rem;
  margin-top: 0.1rem;
  color: #ffffff !important;
  font-weight: 600 !important;
  background-color: #000000 !important;
}

/* Если в избранном/корзине есть товары, красим только кружок-счётчик */
.header .header-middle .header-right .wishlist>a.has-items .wishlist-count,
.header .header-middle .header-right .header-cart .cart-header-link.has-items .cart-count,
.home-page .home-page-header-wrap .header-right .wishlist>a.has-items .wishlist-count,
.home-page .home-page-header-wrap .header-right .header-cart .cart-header-link.has-items .cart-count {
  color: #ffffff !important;
  background-color: #c60c0c !important;
}

/* Отступ после первого экрана вместо margin у hero (иначе зазор под тёмным блоком) */
.home-page .home-page-body-wrap.page-container {
  padding-top: 2rem;
}

/* Контент главной: полная ширина (demo-23 даёт ~83% у .page-content-div под сайдбар) */
.home-page .home-page-body-wrap.page-container>.page-content-div {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Боковые поля контентной области главной */
.home-page {
  --home-page-gutter-x: 1.5rem;
  /* Высота белой полосы под видео со слайдером логотипов (px); ~1.5× от исходных 100px под увеличенные лого */
  --home-hero-video-trim-bottom: 100px;
}

.home-page .home-page-body-wrap.page-container.container {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: var(--home-page-gutter-x);
  padding-right: var(--home-page-gutter-x);
  box-sizing: border-box;
}

/* Контент между hero и футером — не шире 1480px, по центру (main + блок брендов под видео) */
.home-page .home-page-body-wrap .page-content-div>.main,
.home-page .home-page-body-wrap .page-content-div>.home-page-brands-below-hero {
  width: 100%;
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

.home-page .banner-section {
  margin-bottom: 50px;
}

/*
 * Футер: только фон (#222 как в demo-23) на всю ширину вьюпорта.
 * Раскладка колонок и .footer-bottom — без изменений (80% + auto margin из demo-23).
 */
.home-page .footer {
  position: relative;
  background-color: transparent;
}

.home-page .footer::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: none;
  background-color: #222;
  z-index: 0;
  pointer-events: none;
}

.home-page .footer>* {
  position: relative;
  z-index: 1;
}

/* Hover ссылок в списках футера — как цвет заголовка колонки (.widget-title = #fff в demo-23) */
.footer .widget-list a:hover,
.footer .widget-list a:focus {
  color: #000 !important;
}

.home-page .sticky-header .mobile-menu-toggler {
  display: flex !important;
}

/* Прямой потомок .page-wrapper — не flex-item ограниченный max-width контейнера */
.home-hero-fullbleed {
  width: 100%;
  max-width: none;
  margin: 0 0 2rem;
  position: relative;
  display: block;
}

/* Первый экран: горизонтальное меню + hero = ровно высота вьюпорта; hero — всё место под шапкой */
.home-page .home-page-first-screen {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  /* На стыке flex/округления vh не даёт 1px щель с белым body */
  background-color: #1a1a1a;
}

/*
 * Видео hero: короче на 150px по высоте первого экрана.
 * Не через padding-bottom — иначе под полоской брендов остаётся пустой тёмный зазор до карусели.
 */
.home-page .home-page-first-screen:has(.home-hero-bg-video-banner--has-video) {
  min-height: calc(100vh - 150px);
  min-height: calc(100dvh - 150px);
}

.home-page .home-page-first-screen>.home-page-header-wrap {
  flex: 0 0 auto;
  width: 100%;
}

.home-page .home-page-first-screen>.home-hero-fullbleed {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  /* margin-bottom у .home-hero-fullbleed даёт белую полосу внутри first-screen (фон body) */
  margin-bottom: 0 !important;
}

/* Hero-баннер растягивается на оставшуюся высоту, контент по центру */
.home-page .home-hero-bg-video-banner.video-banner-bg {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  box-sizing: border-box;
  padding-top: 0rem !important;
  padding-bottom: 2rem !important;
}

/* С видео: колонка — сцена (видео) + полоса слайдера логотипов */
.home-page .home-hero-bg-video-banner--has-video.video-banner-bg {
  justify-content: flex-start;
  padding-bottom: 0 !important;
}

/* Статичный hero + та же полоса логотипов под картинкой */
.home-page .home-hero-bg-static-column.video-banner-bg {
  justify-content: flex-start;
  padding-bottom: 0 !important;
  background-color: #ffffff;
}

.home-page .home-hero-bg-static-visual {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

/* Область только под видео (без нижней полосы со слайдером) */
.home-page .home-hero-bg-video-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow: hidden;
}

/* Скелетон-преLOADER поверх видео до canplay / load iframe */
.home-page .home-hero-video-skeleton {
  position: absolute;
  inset: 0;
  z-index: 4;
  background-color: #e6e6e6;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.45s ease;
}

.home-page .home-hero-video-skeleton-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      #e6e6e6 0%,
      #e6e6e6 40%,
      #f2f2f2 50%,
      #e6e6e6 60%,
      #e6e6e6 100%);
  background-size: 200% 100%;
  animation: home-hero-skeleton-shimmer 1.35s ease-in-out infinite;
}

@keyframes home-hero-skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

.home-page .home-hero-bg-video-stage.home-hero-video-ready .home-hero-video-skeleton {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-hero-video-skeleton-shimmer {
    animation: none;
  }

  .home-page .home-hero-video-skeleton {
    transition-duration: 0.15s;
  }
}

/* Фоновое видео / iframe без звука */
.home-page .home-hero-bg-video-banner--has-video {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  background-image: none !important;
  box-shadow: none !important;
}

.home-page .home-hero-bg-youtube-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-page .home-hero-bg-youtube {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
}

.home-page .home-hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

/* Без затемняющего слоя поверх видео (раньше выглядело как «тень») */
.home-page .home-hero-bg-video-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
  pointer-events: none;
}

.home-page .home-hero-bg-video-inner {
  position: relative;
  z-index: 2;
}

/* Полоса под видео: слайдер брендов на всю ширину */
.home-page .home-hero-logo-slider-strip {
  flex: 0 0 var(--home-hero-video-trim-bottom);
  min-height: var(--home-hero-video-trim-bottom);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-top: 1px solid #ebebeb;
  z-index: 3;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.home-page .home-hero-logo-slider {
  width: 100%;
  margin: 0;
}

/* Не трогаем .owl-stage display — у Owl Carousel своя вёрстка; flex там ломает ширину слайдов */
.home-page .home-hero-logo-slider .owl-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-page .home-hero-logo-slider .owl-stage-outer {
  overflow: hidden;
}

.home-page .home-hero-logo-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: calc(var(--home-hero-video-trim-bottom) - 16px);
}

.home-page .home-hero-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  opacity: 0.88;
  transition: opacity 0.25s ease;
}

.home-page .home-hero-logo-link:hover,
.home-page .home-hero-logo-link:focus {
  opacity: 1;
}

.home-page .home-hero-logo-link img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 78px;
  /* было 52px; ×1.5 */
  object-fit: contain;
}

/* Кнопки под блоком Fullwidth Banner (шаблон Molla) */
.home-page .home-video-banner-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.home-page .home-video-banner-cta .btn {
  margin: 0.4rem;
}

.home-page .home-video-banner-cta .btn-primary i {
  margin-left: 0.5rem;
}

/* Нижний баннер: во flex-ряду .banner-lg без img схлопывался по ширине (дети video absolute) */
.home-page .banner-section.banner-section--footer-video {
  width: 100%;
}

.home-page .banner-section.banner-section--footer-video .home-footer-banner-lg {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}

.home-page .banner-section .home-footer-video-fallback {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.home-page .banner-section.banner-section--footer-video .home-footer-video-fallback img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0 !important;
  /* перебить demo-23: .banner-section .banner-lg img { min-height: 40rem } */
  object-fit: contain;
}

/* Нижний видео-баннер: ширина контейнера, высота по натуральному соотношению ролика */
.home-page .banner-section .home-footer-video-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #e6e6e6;
}

.home-page .banner-section .home-footer-video-skeleton {
  position: absolute;
  inset: 0;
  z-index: 4;
  background-color: #e6e6e6;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.45s ease;
}

.home-page .banner-section .home-footer-video-stage.home-footer-video-ready .home-footer-video-skeleton {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .home-page .banner-section .home-footer-video-skeleton {
    transition-duration: 0.15s;
  }
}

.home-page .banner-section .home-footer-bg-video {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  pointer-events: none;
}

/* Страница товара + Elevate Zoom (lens): тема тянет img на 100% ширины колонки с max-width: none.
   Если файл по пикселям уже́ уже контейнера, браузер апскейлит картинку, а плагин считает
   widthRatio = naturalWidth / displayedWidth < 1 — в круглой линзе фрагмент выглядит «уменьшенным».
   Ограничиваем отображаемый размер натуральной шириной (не шире колонки). */
.product-main-image img#product-zoom {
  width: min(100%, max-content) !important;
  max-width: 100% !important;
  height: auto !important;
  margin-left: auto;
  margin-right: auto;
}

.page-product-detail .product-main-image {
  position: relative;
}

.page-product-detail .product-image-sku-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.4rem 0.85rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  color: #333;
  border: 1px solid #c8c8c8;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(1px);
}

/* Лупа на странице товара (свой скрипт; elevateZoom lens без background-size даёт масштаб 1:1) */
.product-detail-zoom-host {
  cursor: crosshair;
}

.product-detail-zoom-lens {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.22);
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s ease;
}

.product-detail-zoom-lens.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Страница товара: блок размер / количество / в корзину / избранное */

.page-product-detail .product-detail-specs p {
  margin-bottom: 0.2rem;
  font-size: 1.35rem;
  line-height: 1.45;
}

.page-product-detail .product-detail-specs p:last-child {
  margin-bottom: 0;
}

.page-product-detail .product-detail-specs {
  margin-top: -0.35rem;
  margin-bottom: 0.7rem !important;
}

.page-product-detail .product-detail-order {
  margin-top: 1.25rem;
  padding: 1.35rem 1.4rem 1.5rem;
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  border-radius: 2px;
}

.page-product-detail .product-detail-order-fields {
  margin-bottom: 0.25rem;
}

.page-product-detail .product-detail-field {
  margin-bottom: 1.15rem;
}

.page-product-detail .product-detail-field:last-child {
  margin-bottom: 1.35rem;
}

.page-product-detail .product-detail-label {
  display: block;
  width: 100%;
  margin-bottom: 0.45rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #222;
  letter-spacing: 0.01em;
}

.page-product-detail .product-detail-order .product-detail-control {
  width: 100%;
  max-width: 100%;
  min-height: 4.2rem;
  padding: 0.55rem 1rem;
  font-size: 1.4rem;
  border-radius: 2px;
  border-color: #cfcfcf;
  background-color: #fff;
}

.page-product-detail .product-detail-order select.product-detail-control {
  cursor: pointer;
}

.page-product-detail .product-detail-field-qty .product-detail-qty-wrap {
  max-width: 18rem;
}

.page-product-detail .product-detail-field-qty .product-detail-qty-wrap .form-control,
.page-product-detail .product-detail-field-qty .product-detail-qty-wrap .input-group {
  max-width: none;
}

.page-product-detail .product-detail-field-qty .product-detail-qty-wrap .input-group .form-control {
  min-height: 4.2rem;
  text-align: center;
}

.page-product-detail .product-detail-order-primary {
  margin-top: 0.25rem;
}

.page-product-detail .product-price-rup .product-price-regular {
  color: #000000 !important;
}

.page-product-detail .product-detail-btn-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 4.8rem;
  margin: 0 !important;
  padding: 0.85rem 1.25rem !important;
  border: none !important;
  border-radius: 2px !important;
  background: #000 !important;
  color: #fff !important;
  font-size: 1.35rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.page-product-detail .product-detail-btn-cart:hover,
.page-product-detail .product-detail-btn-cart:focus {
  background: #565656 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.page-product-detail .product-detail-btn-cart span,
.page-product-detail .product-detail-btn-cart::before {
  color: #fff !important;
  text-decoration: none !important;
}

.page-product-detail .product-detail-order-secondary form {
  margin: 0;
}

.page-product-detail .product-detail-btn-wishlist {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 4.2rem;
  margin: 0 !important;
  padding: 0.75rem 1.15rem !important;
  border: 2px solid #565656 !important;
  border-radius: 2px !important;
  background: #fff !important;
  color: #333 !important;
  font-size: 1.32rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  line-height: 1.2;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.page-product-detail .product-detail-btn-wishlist:hover,
.page-product-detail .product-detail-btn-wishlist:focus {
  background: #f0f0f0 !important;
  border-color: #444 !important;
  color: #222 !important;
}

.page-product-detail .product-detail-btn-wishlist.in-wishlist {
  background: rgba(86, 86, 86, 0.07) !important;
  border-color: #8a8a8a !important;
  color: #565656 !important;
}

/* Размеры на странице товара: кликабельные бейджи → синхронизация с select */
.page-product-detail .product-detail-size-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  align-items: center;
}

.page-product-detail .product-detail-size-badge {
  min-width: 3.4rem;
  margin: 0 !important;
  padding: 0.5rem 0.95rem !important;
  font-size: 1.3rem !important;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid #c8c8c8 !important;
  border-radius: 2px !important;
  background: #fff !important;
  color: #333 !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.page-product-detail .product-detail-size-badge:hover,
.page-product-detail .product-detail-size-badge:focus {
  border-color: #565656 !important;
  background: #fafafa !important;
  color: #565656 !important;
  outline: none !important;
  box-shadow: none !important;
}

.page-product-detail .product-detail-size-badge.is-selected {
  border-color: #565656 !important;
  background: #565656 !important;
  color: #fff !important;
}

.page-product-detail .product-detail-size-badge.is-selected:hover,
.page-product-detail .product-detail-size-badge.is-selected:focus {
  background: #4a4a4a !important;
  border-color: #4a4a4a !important;
  color: #fff !important;
}

.page-product-detail .product-detail-size-badge.is-invalid-choice {
  border-color: #dc3545 !important;
}

.page-product-detail .product-detail-size-error {
  display: none;
  margin: 0.65rem 0 0;
  font-size: 1.25rem;
  line-height: 1.35;
  color: #dc3545;
}

.page-product-detail .product-detail-size-error.is-visible {
  display: block;
}

/* Страница «заказ оформлен» / «заказ не найден» */
.checkout-thanks-page .checkout-thanks-wrap {
  max-width: 1320px;
}

.checkout-thanks-page .checkout-thanks-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-direction: column;
  align-items: stretch;
}

@media (min-width: 576px) {
  .checkout-thanks-page .checkout-thanks-btn-row:not(.checkout-thanks-btn-row--success) {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .checkout-thanks-page .checkout-thanks-btn-row--success {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .checkout-thanks-page .checkout-thanks-btn-row--success {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 1200px) {
  .checkout-thanks-page .checkout-thanks-btn-row--success {
    flex-direction: row;
    align-items: center;
  }
}

.checkout-thanks-page .checkout-thanks-card {
  max-width: none;
}

@media (min-width: 992px) {
  .checkout-thanks-page .checkout-thanks-grid {
    min-height: 0;
  }
}

.checkout-thanks-page .checkout-thanks-sublead {
  font-size: 1.05rem;
  line-height: 1.45;
}

.checkout-thanks-page .checkout-thanks-icon {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 1.65rem;
  color: #fff;
  background: linear-gradient(145deg, #2d6a4f 0%, #40916c 100%);
  box-shadow: 0 6px 18px rgba(45, 106, 79, 0.3);
}

.checkout-thanks-page .checkout-thanks-icon--warn {
  background: linear-gradient(145deg, #856404 0%, #c57f00 100%);
  box-shadow: 0 8px 24px rgba(133, 100, 4, 0.25);
}

.checkout-thanks-page .checkout-thanks-order-box {
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1rem 1.25rem;
  text-align: center;
}

@media (min-width: 992px) {
  .checkout-thanks-page .text-lg-left .checkout-thanks-order-box {
    text-align: left;
  }
}

.checkout-thanks-page .checkout-thanks-order-number {
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.checkout-thanks-page .checkout-thanks-stat {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.checkout-thanks-page .checkout-thanks-steps {
  background: #fafafa;
  border: 1px dashed rgba(0, 0, 0, 0.08);
}

.checkout-thanks-page .checkout-thanks-step-list li {
  line-height: 1.4;
}

.checkout-thanks-page .checkout-thanks-code {
  font-size: 0.95rem;
  background: #f1f3f5;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Инфо-страницы (layout info_dashboard) */
.info-dashboard-container {
  max-width: 1320px;
}

.info-dashboard-body {
  padding: 2rem 2.25rem;
}

@media (max-width: 575.98px) {
  .info-dashboard-body {
    padding: 1.5rem 1.25rem;
  }
}

.dashboard .card-dashboard .card-body p {
  line-height: 1.7;
}

.dashboard .card-dashboard .card-body ul li,
.dashboard .card-dashboard .card-body ol li {
  line-height: 1.65;
  margin-bottom: 0.35rem;
}

/* Таблица размеров: приятнее + интерактивность */
.size-guide-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #111;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.size-guide-toggle:hover,
.size-guide-toggle:focus {
  color: #111;
  text-decoration: underline;
}

.size-guide-toggle-title {
  font-size: 1.4rem;
}

.size-guide-toggle-icon {
  font-size: 1.35rem;
  line-height: 1;
  opacity: 0.75;
  transition: transform 180ms ease, opacity 180ms ease;
}

.size-guide-toggle.collapsed .size-guide-toggle-icon {
  transform: rotate(-90deg);
  opacity: 0.55;
}

.size-guide-section {
  border: 0;
  border-radius: 0.6rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.size-guide-section .card-header {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.size-guide-section .card-header {
  padding: 1rem 1.25rem;
}

@media (max-width: 575.98px) {
  .size-guide-section .card-header {
    padding: 0.9rem 1rem;
  }
}

.size-guide-section .card-header:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f3f3f3 100%);
}

.size-guide-section .card-header {
  position: relative;
}

.size-guide-section .card-header::after {
  content: "Нажмите, чтобы открыть";
  position: absolute;
  right: 3.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 160ms ease;
  pointer-events: none;
}

.size-guide-section .collapse:not(.show)+.card-body,
.size-guide-section .collapse:not(.show) {
  background: transparent;
}

.size-guide-toggle.collapsed+.size-guide-toggle-icon {
  /* no-op: kept for safety */
}

.size-guide-toggle.collapsed {
  text-decoration: none;
}

.size-guide-toggle.collapsed .size-guide-toggle-title {
  opacity: 0.92;
}

.size-guide-toggle.collapsed:hover .size-guide-toggle-title,
.size-guide-toggle.collapsed:focus .size-guide-toggle-title {
  opacity: 1;
}

.size-guide-section .card-header:hover::after {
  opacity: 1;
}

.size-guide-section .collapse.show~.card-body .size-guide-table,
.size-guide-section .collapse.show .size-guide-table {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.size-guide-table {
  max-height: 460px;
  overflow: auto;
  border-radius: 0.4rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}

.size-guide-table .table {
  margin-bottom: 0;
  font-size: 1.15rem;
  color: #111;
}

.size-guide-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f4f4f4;
  color: #111;
  white-space: nowrap;
}

.size-guide-table td,
.size-guide-table th {
  padding: 0.85rem 0.75rem;
  vertical-align: middle;
}

.size-guide-table tbody td {
  white-space: nowrap;
}

.size-guide-table tbody td:first-child,
.size-guide-table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
}

.size-guide-table thead th:first-child {
  z-index: 3;
  background: #f4f4f4;
}

.size-guide-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.035);
}

.size-guide-table tbody tr.is-hidden {
  display: none;
}

.size-guide-mark {
  padding: 0 0.15em;
  border-radius: 0.2em;
  background: #fff3bf;
}