/* =====================================================================
   DSH-GEMINI — дизайн по макету Меломолл
   Файл целиком вставляется в style.css (см. scripts/build_css.ps1)
   ===================================================================== */

/* ============================ A. Верхняя красная полоса ============================ */
.desktop-header-active .header .top-bar {
  height: 28px !important;
  min-height: 28px !important;
  padding: 0 10px !important;
  display: flex !important;
  align-items: center !important;
  border: 0 !important;
  background: linear-gradient(90deg, #E8232A 0%, #F97316 50%, #E8232A 100%) !important;
}
.desktop-header-active .header .top-bar .j-menu { display: flex; align-items: center; height: 28px; }
.desktop-header-active .header .top-bar .j-menu > li > a {
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 7px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #fff !important;
  background: transparent !important;
}
.desktop-header-active .header .top-bar .j-menu > li > a:hover,
.desktop-header-active .header .top-bar .j-menu > li > a:hover .links-text { color: #FFE7C2 !important; background: transparent !important; }
.desktop-header-active .header .top-bar .top-menu-283 { margin-right: auto; }
.desktop-header-active .header .top-bar .third-menu { margin-left: auto; }
.desktop-header-active .header .top-menu-283 .j-menu > li > a::before {
  content: '' !important;
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  font-family: inherit !important;
  vertical-align: middle;
  opacity: .95;
}
.desktop-header-active .header .top-menu-283 li.top-menu-item-1 > a::before { background-image: url('/image/catalog/icons/telegram-white.png') !important; }
.desktop-header-active .header .top-menu-283 li.top-menu-item-2 > a::before { background-image: url('/image/catalog/icons/ozon-white.png') !important; }
.desktop-header-active .header .top-menu-283 li.top-menu-item-3 > a::before { background-image: url('/image/catalog/icons/yandex-white.png') !important; }
.desktop-header-active .header .top-menu-283 .j-menu > li > a:hover::before { opacity: 1; }

/* ============================ B. Шапка: лого / поиск / профиль · избранное · корзина ============================ */
.desktop-header-active .header .mid-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  padding: 10px 0 0 !important;
  background-color: #0E1B2C !important;
  border: 0 !important;
  height: auto !important;
  min-height: 0 !important;
}
.desktop-header-active .header .mid-bar > .desktop-logo-wrapper {
  order: 1;
  flex: 0 0 auto;
  margin: 0 20px 0 0;
  height: auto !important;
}
.desktop-header-active .header .mid-bar > .header-cart-group {
  order: 2;
  flex: 1 1 auto;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}
.desktop-header-active .header .mid-bar > .mm-filterbar { order: 3; flex: 1 1 100%; }
.desktop-header-active .header .mid-bar > .desktop-main-menu-wrapper {
  order: 4;
  flex: 1 1 100%;
  margin: 8px 0 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: transparent !important;
}

/* порядок внутри правой группы: поиск → профиль → избранное → корзина */
.desktop-header-active .header .header-cart-group .desktop-search-wrapper { order: 1; flex: 1 1 auto; min-width: 0; }
.desktop-header-active .header .header-cart-group .top-menu.secondary-menu { order: 2; }
.desktop-header-active .header .header-cart-group .mm-fav { order: 3; }
.desktop-header-active .header .header-cart-group .desktop-cart-wrapper { order: 4; }

/* логотип */
.desktop-header-active .header .desktop-logo-wrapper #logo { height: auto !important; }
.desktop-header-active .header .desktop-logo-wrapper #logo a { height: auto !important; display: inline-flex; align-items: center; }
.desktop-header-active .header .desktop-logo-wrapper #logo a > img {
  width: auto !important;
  height: 44px !important;
  max-height: 44px !important;
  max-width: 100% !important;
  display: block;
}

/* поиск — всегда раскрыт */
.desktop-header-active .header .mini-search { position: static !important; flex: 1 1 auto; max-width: 560px; min-width: 180px; margin: 0 !important; }
.desktop-header-active .header .mini-search #search { position: static !important; }
.desktop-header-active .header .mini-search .search-trigger { display: none !important; }
.desktop-header-active .header .mini-search .dropdown-menu {
  display: block !important;
  position: static !important;
  transform: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  box-shadow: none !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  left: auto !important;
  top: auto !important;
  min-width: 0 !important;
  width: 100% !important;
}
.desktop-header-active .header .mini-search .dropdown-menu::before { display: none !important; }
.desktop-header-active .header .header-search {
  display: flex !important;
  align-items: center !important;
  height: 42px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: 12px !important;
  padding: 0 !important;
  overflow: hidden;
}
.desktop-header-active .header .header-search .search-categories { display: none !important; }
.desktop-header-active .header .header-search input.search-input,
.desktop-header-active .header .header-search input.tt-input {
  flex: 1 1 auto;
  height: 40px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 14px !important;
  padding: 0 14px !important;
}
.desktop-header-active .header .header-search input.search-input::placeholder { color: rgba(255, 255, 255, 0.55) !important; }
.desktop-header-active .header .header-search .search-button {
  flex: 0 0 46px;
  width: 46px;
  height: 42px !important;
  min-width: 46px !important;
  background: #E8232A !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.desktop-header-active .header .header-search .search-button::before { color: #fff !important; font-size: 16px !important; }
.desktop-header-active .header .header-search .search-button:hover { background: #F04A50 !important; }

/* профиль */
.desktop-header-active .header .secondary-menu .j-menu > li > a {
  width: 40px; height: 40px;
  display: inline-flex !important; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}
.desktop-header-active .header .secondary-menu .j-menu > li > a:hover { background: rgba(255, 255, 255, 0.18); }
.desktop-header-active .header .secondary-menu .j-menu > li > a::before { color: #fff !important; font-size: 18px !important; }

/* корзина */
.desktop-header-active .header #cart > a.cart-heading {
  height: 40px !important;
  padding: 0 14px !important;
  border-radius: 12px !important;
  background: #E8232A !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
}
.desktop-header-active .header #cart > a.cart-heading:hover { background: #F04A50 !important; }
.desktop-header-active .header #cart > a > i { height: auto !important; }

/* избранное */
.mm-fav {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none !important; flex: 0 0 auto;
  transition: background .15s ease;
}
.mm-fav:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.mm-fav svg { width: 19px; height: 19px; }
.mm-fav-count {
  position: absolute; top: 3px; right: 2px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: #F59E0B; color: #0E1B2C;
  font-size: 10px; font-weight: 800; line-height: 16px; text-align: center;
}
.mm-fav-count:empty, .mm-fav-count[data-count="0"] { display: none; }

/* ============================ C. Строка фильтров: формат | исполнители ============================ */
.mm-filterbar { width: 100%; padding: 6px 0 0; }
.mm-frow { display: flex; align-items: center; gap: 10px; min-width: 0; height: 38px; }
.mm-flabel {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: #94A3B8;
  white-space: nowrap;
}
.mm-flabel::before {
  content: '';
  width: 13px; height: 13px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2394A3B8' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M2 4h12M4.5 8h7M6.8 12h2.4'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.mm-flabel-artists::before {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2394A3B8' stroke-width='1.8'%3E%3Ccircle cx='8' cy='6' r='2.6'/%3E%3Cpath d='M3 13.5c.9-2.2 2.7-3.3 5-3.3s4.1 1.1 5 3.3'/%3E%3C/svg%3E");
}
.mm-divider { flex: 0 0 auto; width: 1px; height: 18px; background: rgba(255, 255, 255, .16); margin: 0 2px; }
.mm-scroll {
  display: flex; align-items: center; gap: 6px;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -ms-overflow-style: none;
  flex: 1 1 auto; min-width: 0;
  padding: 3px 0;
  scroll-behavior: smooth;
}
.mm-scroll::-webkit-scrollbar { display: none; }
.mm-chip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 5px;
  height: 28px; padding: 0 11px;
  border: 0; border-radius: 8px;
  background: #1E293B;
  color: #CBD5E1;
  font-family: inherit; font-size: 12px; font-weight: 500; line-height: 1;
  white-space: nowrap; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.mm-chip svg { width: 13px; height: 13px; opacity: .8; }
.mm-chip:hover { background: #334155; color: #fff; }
.mm-chip.is-active { background: #DC2626; color: #fff; font-weight: 700; }
.mm-chip.is-active svg { opacity: 1; }
.mm-chip-off { opacity: .4; }
.mm-arrows { display: flex; gap: 4px; flex: 0 0 auto; }
.mm-arrow {
  display: none;
  width: 26px; height: 26px;
  border: 0; border-radius: 7px;
  background: #1E293B; color: #CBD5E1;
  cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.mm-arrow svg { width: 14px; height: 14px; }
.mm-arrow:hover { background: #334155; color: #fff; }
.mm-arrows.has-next .mm-arrow-next { display: inline-flex; }
.mm-arrows.has-prev .mm-arrow-prev { display: inline-flex; }
.mm-empty {
  grid-column: 1 / -1; width: 100%; padding: 26px; text-align: center;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 16px;
  color: #64748B; font-size: 13px;
}

/* ============================ D. Меню: «Каталог» как «Магазин (Витрина)» ============================ */
.desktop-header-active .header .main-menu > .j-menu { display: flex !important; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 0 !important; }
.desktop-header-active .header .main-menu > .j-menu > li { margin: 0 !important; display: flex !important; align-items: center !important; }
.desktop-header-active .header .main-menu > .j-menu > li > a {
  height: auto !important; min-height: 0 !important;
  padding: 7px 13px !important;
  border-radius: 9px !important;
  line-height: 1.2 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #CBD5E1 !important;
  display: inline-flex !important; align-items: center !important;
  text-transform: none !important;
}
.desktop-header-active .header .main-menu > .j-menu > li > a .links-text { background: transparent !important; padding: 0 !important; }
.desktop-header-active .header .main-menu > .j-menu > li > a:hover { background: rgba(255, 255, 255, 0.14) !important; color: #fff !important; }
.desktop-header-active .header .main-menu > .j-menu > li.main-menu-item-1 > a,
.desktop-header-active .header .main-menu > .j-menu > li.main-menu-item-1 > a .links-text {
  background: rgba(232, 35, 42, 0.14) !important;
  border: 1px solid rgba(232, 35, 42, 0.55) !important;
  color: #FF6B70 !important;
  font-weight: 700 !important;
}
.desktop-header-active .header .main-menu > .j-menu > li.main-menu-item-1 > a:hover,
.desktop-header-active .header .main-menu > .j-menu > li.main-menu-item-1.open > a {
  background: rgba(232, 35, 42, 0.24) !important;
  color: #fff !important;
}
.desktop-header-active .header .main-menu .j-dropdown,
.desktop-header-active .header .main-menu .dropdown-menu {
  border-radius: 12px !important; overflow: hidden;
  background-color: #FBF6EE !important;
  border: 1px solid #E9DFD0 !important;
}
.desktop-header-active .header .main-menu .j-dropdown .j-menu > li > a { color: #1A2230 !important; }
.desktop-header-active .header .main-menu .j-dropdown .j-menu > li:hover > a { background-color: #F2E8D9 !important; color: #E8232A !important; }

.desktop-header-active .header-compact,
.desktop-header-active .header.header-compact,
.desktop-header-active .header-compact .mid-bar,
.desktop-header-active .header-compact .top-bar { height: auto !important; min-height: 0 !important; }
.desktop-header-active .header-compact .mid-bar { padding-bottom: 6px !important; }
.desktop-header-active .header.is-sticky .mid-bar { padding-top: 6px !important; padding-bottom: 6px !important; }
.desktop-header-active .header.is-sticky .desktop-logo-wrapper #logo a > img { height: 32px !important; }

/* ============================ E. Страница каталога ============================ */
.route-product-catalog h1.page-title,
.route-product-catalog .page-title,
.route-product-catalog .breadcrumb { display: none !important; }
.route-product-catalog #content { padding-top: 12px !important; }
.route-product-catalog .grid-row-top-1,
.grid-row-top-1, .grid-row-top-1::before, .grid-row-top-1::after { background: transparent !important; padding-top: 0 !important; }

/* ============================ G. Панель сортировки ============================ */
.main-products-wrapper .products-filter {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 6px 10px !important;
  margin-bottom: 12px !important;
}
.main-products-wrapper .products-filter .input-group,
.main-products-wrapper .products-filter select,
.main-products-wrapper .products-filter .input-group-addon { border-radius: 10px !important; }
.main-products-wrapper .products-filter select {
  height: 34px !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: none !important;
  font-size: 12.5px !important;
  color: #334155 !important;
  background-color: #F8FAFC !important;
  padding: 0 10px !important;
}
.main-products-wrapper .products-filter .input-group-addon {
  height: 34px;
  background: transparent !important;
  border: 0 !important;
  font-size: 12px !important;
  color: #64748B !important;
}
select.form-control, input.form-control, textarea.form-control {
  border-radius: 10px !important;
  box-shadow: none !important;
  border-color: #E2E8F0 !important;
}

/* ============================ H. Плитка товаров ============================ */
@media (min-width: 1080px) {
  .one-column #content .main-products.product-grid .product-layout:not(.swiper-slide),
  .main-products.product-grid .product-layout:not(.swiper-slide) { width: calc(100% / 4 - 0.01px) !important; padding: 7px !important; }
}
@media (min-width: 760px) and (max-width: 1079px) {
  .one-column #content .main-products.product-grid .product-layout:not(.swiper-slide),
  .main-products.product-grid .product-layout:not(.swiper-slide) { width: calc(100% / 3 - 0.01px) !important; padding: 6px !important; }
}

.main-products .product-layout { margin-bottom: 0 !important; }
.main-products .product-thumb {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: none;
  padding: 0 !important;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.main-products .product-thumb:hover { border-color: #FCA5A5; box-shadow: 0 10px 26px rgba(14, 27, 44, .10); }
.main-products .product-thumb .image { margin: 0 !important; padding: 0 !important; background: #F1F5F9; overflow: hidden; }
.main-products .product-thumb .image a.product-img { display: block; }
.main-products .product-thumb .image img { display: block; width: 100%; height: auto; border-radius: 0 !important; transition: transform .35s ease; }
.main-products .product-thumb:hover .image img { transform: scale(1.02); }
.main-products .product-thumb .image .img-second { display: none !important; }
.main-products .product-thumb .image .quickview-button { display: none !important; }
.main-products .product-thumb .product-labels { top: 8px; left: 8px; }
.main-products .product-thumb .product-label b { font-size: 10px !important; padding: 3px 7px !important; border-radius: 6px !important; }

.main-products .product-thumb .caption {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  background: #fff !important;
  padding: 11px 12px 12px !important;
  gap: 0;
  flex: 1 1 auto;
}
.main-products .product-thumb .caption > .name { order: 1 !important; }
.main-products .product-thumb .caption > .stats { order: 2 !important; }
.main-products .product-thumb .caption > .price { order: 3 !important; }
.main-products .product-thumb .caption > .buttons-wrapper { order: 4 !important; }
.main-products .product-thumb .caption > .description,
.main-products .product-thumb .caption > .rating,
.main-products .product-thumb .caption > .extra-group { order: 5 !important; }

.main-products .product-thumb .name {
  flex: 1 1 100%;
  margin: 0 0 6px !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  min-height: calc(3 * 1.3em);
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden;
}
.main-products .product-thumb .name a { color: #0F172A !important; text-decoration: none !important; }
.main-products .product-thumb:hover .name a { color: #E8232A !important; }

.main-products .product-thumb .stats {
  flex: 1 1 100%;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 0 0 10px !important;
  padding: 0 !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  color: #64748B !important;
  min-height: 18px;
  justify-content: flex-start !important;
}
.main-products .product-thumb .stats .stats-label { display: none !important; }
.main-products .product-thumb .stats .stat-1 {
  background: #F1F5F9;
  color: #334155;
  font-weight: 700;
  border-radius: 6px;
  padding: 2px 6px;
  white-space: nowrap;
}
.main-products .product-thumb .stats .stat-1::after { content: ''; }
.main-products .product-thumb .stats .stat-2 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.main-products .product-thumb .stats a { color: #64748B !important; text-decoration: none !important; }
.main-products .product-thumb .stats a:hover { color: #E8232A !important; }

.main-products .product-thumb .price {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 8px 0 0 !important;
  padding: 9px 0 0 !important;
  border-top: 1px solid #E2E8F0;
  width: auto !important;
  text-align: center;
}
.main-products .product-thumb .price > div { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.main-products .product-thumb .price .price-normal,
.main-products .product-thumb .price .price-new { font-size: 15px !important; font-weight: 800 !important; color: #0F172A !important; white-space: nowrap; }
.main-products .product-thumb .price .price-old { font-size: 12px; color: #94A3B8; }
.main-products .product-thumb .price-tax { display: none !important; }
.main-products .product-thumb .price::after {
  content: 'В наличии';
  display: block; margin-top: 1px;
  font-size: 10.5px; font-weight: 600; color: #16A34A;
  text-align: center;
}
.main-products .product-layout.out-of-stock .product-thumb .price::after { content: 'Нет в наличии'; color: #F59E0B; }

.main-products .product-thumb .buttons-wrapper {
  flex: 0 0 auto;
  width: auto !important;
  margin: 0 !important;
  padding: 9px 0 0 !important;
  border-top: 1px solid #E2E8F0;
  background: transparent !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  position: static !important;
}
.main-products .product-thumb .button-group {
  display: flex; align-items: center; gap: 6px;
  position: static !important; opacity: 1 !important; visibility: visible !important; transform: none !important;
  background: transparent !important;
  padding: 0 !important;
}
.main-products .product-thumb .cart-group { background: transparent !important; display: flex; }
.main-products .product-thumb .stepper { display: none !important; }
.main-products .product-thumb .btn-cart {
  width: 36px; height: 36px; min-width: 36px;
  padding: 0 !important;
  border-radius: 10px !important;
  background: #DC2626 !important;
  border: 0 !important;
  color: #fff !important;
  font-size: 0 !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h2.5l2.6 11.2a1.5 1.5 0 0 0 1.5 1.2h8.6a1.5 1.5 0 0 0 1.5-1.2L20.5 7H5.3'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 19px 19px !important;
}
.main-products .product-thumb .btn-cart:hover { background-color: #F04A50 !important; }
.main-products .product-thumb .btn-cart .btn-text { display: none !important; }

.main-products .product-thumb .wish-group {
  position: absolute; top: 8px; right: 8px; z-index: 4;
  display: flex; gap: 4px; background: transparent !important;
}
.main-products .product-thumb .btn-wishlist,
.main-products .product-thumb .btn-compare {
  width: 30px; height: 30px; min-width: 30px;
  padding: 0 !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 2px 8px rgba(14, 27, 44, .14);
  font-size: 0 !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 16px 16px !important;
  border: 0 !important;
}
.main-products .product-thumb .btn-wishlist {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.4 5.6a5.1 5.1 0 0 0-7.2 0L12 6.8l-1.2-1.2a5.1 5.1 0 0 0-7.2 7.2L12 21.2l8.4-8.4a5.1 5.1 0 0 0 0-7.2Z'/%3E%3C/svg%3E") !important;
}
.main-products .product-thumb .btn-wishlist:hover { background-color: #fff !important; }
.main-products .product-thumb .btn-wishlist.mm-fav-on {
  background-color: #DC2626 !important;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%23ffffff' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.4 5.6a5.1 5.1 0 0 0-7.2 0L12 6.8l-1.2-1.2a5.1 5.1 0 0 0-7.2 7.2L12 21.2l8.4-8.4a5.1 5.1 0 0 0 0-7.2Z'/%3E%3C/svg%3E") !important;
}
.main-products .product-thumb .btn-compare { display: none !important; }
.main-products .product-thumb .btn-wishlist .btn-text { display: none !important; }

/* ============================ I. Боковая панель фильтров ============================ */
.side-column .module-filter { background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 14px 14px 6px; margin-bottom: 14px; }
.module-filter-36 .title.module-title {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 0 10px !important; padding: 0 0 10px !important;
  border-bottom: 1px solid #F1F5F9;
  font-size: 14px !important; font-weight: 800 !important; color: #0F172A !important;
  text-transform: none !important;
}
.module-filter-36 .title.module-title > span { font-size: 14px !important; order: 2; margin-right: auto; }
.module-filter-36 .title.module-title > span::before { content: none !important; }
.module-filter-36 .title.module-title::before {
  content: '';
  width: 16px; height: 16px; margin-right: 8px;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23DC2626' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M2 4h12M4.5 8h7M6.8 12h2.4'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.module-filter-36 .reset-filter.btn { font-size: 0 !important; background: transparent !important; border: 0 !important; padding: 0 !important; margin: 0 !important; }
.module-filter-36 .reset-filter.btn::before { content: 'Сбросить' !important; font-size: 11px !important; font-weight: 600 !important; color: #DC2626 !important; }
.module-filter-36 .panel { border: 0 !important; box-shadow: none !important; margin: 0 !important; background: transparent !important; }
.module-filter-36 .panel-heading { border: 0 !important; background: transparent !important; padding: 0 !important; }
.module-filter-36 .panel-title > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0 !important;
  font-size: 12.5px !important; font-weight: 700 !important; color: #0F172A !important;
  text-transform: none !important; border-top: 1px solid #F1F5F9;
}
.module-filter-36 .panel-title > a i { color: #94A3B8 !important; font-size: 12px !important; }
.module-filter-36 .panel-body { padding: 0 0 8px !important; }
.module-filter-36 label { display: flex; align-items: center; gap: 7px; padding: 5px 7px; margin: 0 0 2px; border-radius: 8px; font-size: 12px; color: #334155; cursor: pointer; }
.module-filter-36 label:hover { background: #F8FAFC; }
.module-filter-36 label input { margin: 0; accent-color: #DC2626; }
.module-filter-36 label .links-text { flex: 1 1 auto; }
.module-filter-36 label .count-badge { background: #F1F5F9 !important; color: #64748B !important; font-size: 10px !important; font-weight: 700; border-radius: 6px; padding: 1px 6px !important; }
.module-filter-36 label input:checked ~ .links-text { color: #DC2626; font-weight: 700; }

/* ============================ J. Подвал ============================ */
footer > div, footer { background: #0E1B2C !important; }
footer .grid-row-1 { background: #0E1B2C !important; padding: 26px 0 !important; }
footer .grid-row-1::before { display: none !important; }
footer .grid-row-2 { background: linear-gradient(90deg, #E8232A 0%, #F97316 50%, #E8232A 100%) !important; padding: 10px 0 !important; }
footer .grid-row-2::before { display: none !important; }
footer .grid-row-2 .grid-cols { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; }
footer .grid-row-2 .grid-col { width: auto !important; flex: 0 0 auto; padding: 0 !important; }
footer .grid-row-2 .grid-col-2 { margin-left: auto; }
footer .info-block { margin: 0 0 10px !important; display: flex; gap: 10px; align-items: flex-start; }
footer .info-block::before, footer .info-block-title::before { display: none !important; }
footer .info-block-title { font-size: 12.5px !important; font-weight: 700 !important; color: #fff !important; line-height: 1.35 !important; text-transform: none !important; }
footer .info-block-text { font-size: 11.5px !important; color: #9AA6B6 !important; line-height: 1.35 !important; }
footer .info-block-content { display: flex; flex-direction: column; gap: 2px; }
footer .module-info_blocks-215 .grid-item:first-child .info-block-title { font-size: 17px !important; font-weight: 800 !important; letter-spacing: -.2px; }
footer .module-info_blocks-215 .grid-item:first-child .info-block-text { color: #CBD5E1 !important; }
footer .links-menu .module-body { margin: 0 !important; padding: 0 !important; list-style: none !important; }
footer .links-menu .title.module-title { font-size: 13px !important; font-weight: 800 !important; color: #fff !important; text-transform: none !important; margin: 0 0 8px !important; letter-spacing: 0 !important; }
footer .links-menu .module-body > li > a,
footer .links-menu .module-body > li > a .links-text,
footer .links-menu .module-body li a { color: #9AA6B6 !important; font-size: 12px !important; font-weight: 500 !important; padding: 3px 0 !important; text-transform: none !important; }
footer .links-menu .module-body > li > a:hover { color: #fff !important; background: transparent !important; }
footer .links-menu .module-body > li > a::before { content: none !important; display: none !important; }
footer .links-menu-77 .module-body > li > a { color: rgba(255,255,255,.95) !important; font-size: 11.5px !important; }
footer .module-icons_menu .j-menu { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
footer .module-icons_menu .j-menu > li > a,
footer .module-links_menu-78 .j-menu > li > a { color: #fff !important; background: transparent !important; }
footer .module-icons_menu .j-menu > li > a::before,
footer .module-links_menu-78 .j-menu > li > a::before { font-size: 22px !important; color: #fff !important; }

/* ============================ K. Страница товара ============================ */
.route-product-product h1.page-title,
.route-product-product .page-title > span {
  background: transparent !important; text-align: left !important;
  font-size: 26px !important; line-height: 1.25 !important; padding: 0 0 6px !important; color: #0F172A !important;
}
.route-product-product #content { padding-top: 18px !important; }
.route-product-product .product-info { display: flex; flex-wrap: wrap; gap: 26px; align-items: flex-start; }
.route-product-product .product-info .product-left { width: 42% !important; }
.route-product-product .product-info .product-right { width: calc(58% - 26px) !important; padding-left: 0 !important; }
.route-product-product .product-image img { border-radius: 14px; }
.route-product-product .product-image .swiper-container { border-radius: 14px; overflow: hidden; background: #fff; }
.route-product-product .product-price { font-size: 26px !important; font-weight: 800 !important; color: #0F172A !important; }
.route-product-product .product-tax, .route-product-product .price-tax { display: none !important; }
.route-product-product .product-stats { margin: 10px 0 12px !important; }
.route-product-product .product-stats ul { list-style: none; margin: 0; padding: 0; }
.route-product-product .product-stats li { font-size: 12.5px; color: #64748B; margin: 0 0 3px; }
.route-product-product .product-stats li b { display: none !important; }
.route-product-product .product-stats li.product-upc,
.route-product-product .product-stats li.product-jan,
.route-product-product .product-stats li.product-isbn,
.route-product-product .product-stats li.product-mpn { display: none !important; }
.route-product-product .product-stats li.product-stock span { display: none !important; }
.route-product-product .product-stats li.product-stock::after { content: 'В наличии'; color: #16A34A; font-weight: 700; }
.route-product-product .product-stats li.product-stock.out-of-stock::after { content: 'Нет в наличии'; color: #F59E0B; }
.route-product-product .product-stats li.product-model::before { content: 'Артикул: '; color: #94A3B8; }
.route-product-product .product-stats li.product-sku::before { content: 'Артикул Ozon: '; color: #94A3B8; }
.route-product-product .product-info .button-group-page { margin: 14px 0 10px !important; }
.route-product-product .product-info .btn-cart,
.route-product-product .product-info .button-group-page .btn-primary {
  height: 46px !important; border-radius: 11px !important;
  background: #DC2626 !important; border: 0 !important; color: #fff !important;
  font-size: 14px !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important;
  padding: 0 26px !important;
}
.route-product-product .product-info .btn-cart:hover { background: #F04A50 !important; }
.route-product-product .extra-group { display: none !important; }
.route-product-product .nav-tabs { border-bottom: 1px solid #E2E8F0 !important; margin: 26px 0 0 !important; }
.route-product-product .nav-tabs > li > a { font-size: 13.5px !important; font-weight: 700 !important; text-transform: none !important; color: #64748B !important; padding: 8px 2px !important; }
.route-product-product .nav-tabs > li.active > a { color: #DC2626 !important; }
.route-product-product .nav-tabs > li { border-bottom-width: 2px !important; }
.route-product-product .nav-tabs > li.active { border-color: #DC2626 !important; }
.route-product-product .tab-content { background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 18px 20px; font-size: 14px; line-height: 1.6; }
.route-product-product .product-description h3 { font-size: 17px; font-weight: 800; margin: 16px 0 8px; }

/* ============================ L. Блог ============================ */
.main-posts.post-grid { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.one-column #content .main-posts.post-grid .post-layout:not(.swiper-slide),
.main-posts.post-grid .post-layout:not(.swiper-slide) { width: calc(100% / 3 - 0.01px) !important; padding: 8px !important; }
@media (max-width: 1080px) {
  .one-column #content .main-posts.post-grid .post-layout:not(.swiper-slide),
  .main-posts.post-grid .post-layout:not(.swiper-slide) { width: calc(100% / 2 - 0.01px) !important; }
}
@media (max-width: 640px) {
  .one-column #content .main-posts.post-grid .post-layout:not(.swiper-slide),
  .main-posts.post-grid .post-layout:not(.swiper-slide) { width: 100% !important; }
}
.main-posts.post-grid .post-thumb {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; overflow: hidden;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.main-posts.post-grid .post-thumb:hover { border-color: #FCA5A5; box-shadow: 0 10px 26px rgba(14, 27, 44, .10); }
.main-posts.post-grid .post-thumb .image { position: relative; overflow: hidden; background: #F1F5F9; aspect-ratio: 3 / 2; }
.main-posts.post-grid .post-thumb .image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.main-posts.post-grid .post-thumb:hover .image img { transform: scale(1.03); }
.main-posts.post-grid .post-thumb .p-date-image { position: absolute; top: 8px; left: 8px; background: #F59E0B; color: #0E1B2C; font-size: 10px; font-weight: 800; line-height: 1.15; padding: 4px 7px; border-radius: 7px; text-align: center; text-transform: none; }
.main-posts.post-grid .post-thumb .caption { display: flex; flex-direction: column; padding: 11px 12px 13px; flex: 1 1 auto; }
.main-posts.post-grid .post-thumb .post-stats { display: none; }
.main-posts.post-grid .post-thumb .name { margin: 0 0 6px; font-size: 13.5px; line-height: 1.32; font-weight: 700; }
.main-posts.post-grid .post-thumb .name a { color: #0F172A !important; text-decoration: none !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal !important; text-overflow: clip !important; }
.main-posts.post-grid .post-thumb:hover .name a { color: #E8232A !important; }
.main-posts.post-grid .post-thumb .description { font-size: 12px; line-height: 1.45; color: #64748B; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.main-posts.post-grid .post-thumb .button-group { margin-top: auto; }
.main-posts.post-grid .post-thumb .btn-read-more { display: inline-flex; align-items: center; height: 32px; padding: 0 12px !important; border-radius: 9px !important; background: #DC2626 !important; border: 0 !important; color: #fff !important; font-size: 12px !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; }
.main-posts.post-grid .post-thumb .btn-read-more:hover { background: #F04A50 !important; }
.route-journal3-blog .side-column .module,
.route-journal3-blog-post .side-column .module { background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 12px 14px; margin-bottom: 12px; }
.route-journal3-blog .side-column .title.module-title,
.route-journal3-blog-post .side-column .title.module-title { font-size: 13px !important; font-weight: 800 !important; color: #0F172A !important; text-transform: none !important; margin: 0 0 8px !important; padding: 0 0 8px !important; border-bottom: 1px solid #F1F5F9; }
.route-journal3-blog .side-column .j-menu > li > a,
.route-journal3-blog .side-column .module-body a { font-size: 12.5px !important; color: #334155 !important; text-transform: none !important; padding: 4px 0 !important; }
.route-journal3-blog .side-column .j-menu > li > a:hover { color: #DC2626 !important; }
.route-journal3-blog .blog-feed span { font-size: 11px !important; text-transform: none !important; }
.route-journal3-blog-post .post-content, .route-journal3-blog-post .post-details { max-width: 820px; }
.route-journal3-blog-post .post-content { background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 18px 20px; }
.route-journal3-blog-post .post-content h3 { font-size: 18px !important; font-weight: 800 !important; margin: 22px 0 8px !important; color: #0F172A; }
.route-journal3-blog-post .post-content p { font-size: 14.5px; line-height: 1.62; margin: 0 0 12px; }
.route-journal3-blog-post .post-image img { border-radius: 16px; }
.route-journal3-blog-post .post-stats { font-size: 12px; color: #94A3B8; margin-bottom: 8px; }

/* ============================ M. Вход / кабинет / оформление ============================ */
.route-account-login .login-box { display: flex; gap: 16px; align-items: flex-start; }
.route-account-login .login-box > div { background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 18px 20px; flex: 1 1 0; }
.route-account-login .login-box .title,
.route-account-register legend { font-size: 17px !important; font-weight: 800 !important; color: #0F172A !important; text-transform: none !important; margin: 0 0 10px !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
.route-account-login .login-box p { font-size: 13px; color: #64748B; line-height: 1.5; }
.route-account-login .form-control,
.route-account-register .form-control,
.route-account-edit .form-control,
.route-account-address .form-control { height: 42px; border: 1px solid #E2E8F0; border-radius: 10px; box-shadow: none; font-size: 13.5px; padding: 0 12px; }
.route-account-login .btn, .route-account-register .btn, .route-account-edit .btn, .route-account-address .btn, .route-account-logout .btn {
  height: 42px; padding: 0 22px !important; border-radius: 10px !important; border: 0 !important;
  background: #DC2626 !important; color: #fff !important; font-size: 13.5px !important; font-weight: 700 !important;
  text-transform: none !important; letter-spacing: 0 !important; display: inline-flex; align-items: center; justify-content: center;
}
.route-account-login .btn:hover, .route-account-register .btn:hover { background: #F04A50 !important; }
.route-account-login .side-column .module,
.route-account-account .side-column .module,
.route-account-order .side-column .module { background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 10px 12px; }
.route-account-login .side-column .accordion-menu .title,
.route-account-account .side-column .accordion-menu .title { font-size: 13px !important; font-weight: 800 !important; text-transform: none !important; margin: 0 0 6px !important; color: #0F172A !important; }
.route-account-login .side-column .j-menu > li > a,
.route-account-account .side-column .j-menu > li > a { font-size: 12.5px !important; color: #334155 !important; text-transform: none !important; padding: 5px 0 !important; }
.route-account-login .side-column .j-menu > li > a:hover { color: #DC2626 !important; }
.route-checkout-checkout .checkout-section { background: #fff !important; border: 1px solid #E2E8F0 !important; border-radius: 16px !important; padding: 16px 18px !important; margin-bottom: 12px !important; }
.route-checkout-checkout .section-title { font-size: 15px !important; font-weight: 800 !important; color: #0F172A !important; text-transform: none !important; letter-spacing: 0 !important; margin: 0 0 10px !important; padding: 0 !important; border: 0 !important; }
.route-checkout-checkout .checkout-section .form-control { height: 42px; border-radius: 10px; border: 1px solid #E2E8F0; box-shadow: none; }
.route-checkout-checkout .checkout-section .btn { border-radius: 10px !important; text-transform: none !important; font-weight: 700 !important; letter-spacing: 0 !important; }
.route-checkout-checkout .checkout-section .btn-primary { background: #DC2626 !important; border: 0 !important; }
.route-checkout-checkout .checkout-section .btn-primary:hover { background: #F04A50 !important; }
.route-checkout-checkout .quick-checkout-wrapper { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.route-checkout-checkout .quick-checkout-wrapper > div { flex: 1 1 380px; min-width: 300px; }
.route-checkout-cart #content .buttons .btn,
.route-checkout-checkout #content .buttons .btn {
  display: inline-flex !important; align-items: center; justify-content: center;
  height: 42px; padding: 0 22px !important; border-radius: 10px !important;
  text-transform: none !important; letter-spacing: 0 !important; font-weight: 700 !important; font-size: 13.5px !important;
  width: auto !important; flex-basis: auto !important;
}

/* ============================ N. Избранное ============================ */
.mm-fav-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 1080px) { .mm-fav-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .mm-fav-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.mm-fav-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.mm-fav-img { display: block; aspect-ratio: 3 / 4; background: #F1F5F9; }
.mm-fav-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-fav-body { padding: 10px; display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; }
.mm-fav-name { font-size: 12.5px; font-weight: 600; color: #0F172A !important; text-decoration: none !important; line-height: 1.3; }
.mm-fav-price { font-size: 14px; font-weight: 800; color: #0F172A; }
.mm-fav-remove { margin-top: auto; align-self: flex-start; border: 1px solid #E2E8F0; background: #fff; color: #64748B; font-size: 11px; font-weight: 600; padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.mm-fav-remove:hover { border-color: #DC2626; color: #DC2626; }
.mm-fav-empty { text-align: center; padding: 40px 16px; }
.mm-fav-empty-ico { width: 54px; height: 54px; margin: 0 auto 14px; color: #E2E8F0; }
.mm-fav-empty-ico svg { width: 54px; height: 54px; }
.mm-fav-empty h2 { font-size: 18px; font-weight: 800; margin: 0 0 6px; }
.mm-fav-empty p { font-size: 13px; color: #64748B; margin: 0 0 16px; }
.mm-btn { display: inline-block; background: #DC2626; color: #fff !important; font-size: 13px; font-weight: 700; padding: 10px 18px; border-radius: 10px; text-decoration: none !important; }

/* ============================ O. Мобильная версия ============================ */
.mm-bottom-nav { display: none; }
.mm-hero-wrap { display: none; }

@media (max-width: 760px) {
  .mobile-header-active .mobile-header .mobile-bar,
  .mobile-header-active .mobile-bar .mobile-bar-group,
  .mobile-header-active .mobile-1 .mobile-bar { background: #0E1B2C !important; box-shadow: none !important; border: 0 !important; }
  .mobile-header-active .mobile-header .mobile-bar { border-bottom: 1px solid rgba(255, 255, 255, .08) !important; }
  .mobile-header-active .mobile-top-bar { background: linear-gradient(90deg, #E8232A 0%, #F97316 50%, #E8232A 100%) !important; height: 30px !important; }
  .mobile-header-active .mobile-top-bar .j-menu > li > a,
  .mobile-header-active .mobile-top-bar .j-menu > li > a .links-text { color: #fff !important; font-size: 11px !important; font-weight: 600 !important; text-transform: none !important; }
  .mobile-header-active .menu-trigger::before,
  .mobile-header-active .mini-search .search-trigger::before,
  .mobile-header-active #cart > a > i::before,
  .mobile-header-active .mobile-custom-menu::before { color: #FFFFFF !important; }
  .mobile-header-active #cart-items.count-badge { background: #E8232A !important; color: #fff !important; font-weight: 800 !important; }
  .mobile-header-active #logo a { padding: 0 !important; display: inline-flex; align-items: center; }
  .mobile-header-active #logo img { height: 30px !important; width: auto !important; max-width: 100% !important; top: 0 !important; position: static !important; }
  .mobile-header-active .mobile-logo-wrapper { padding-left: 10px !important; }

  .bottom-menu, .has-bottom-menu .bottom-menu { display: none !important; }
  .mm-bottom-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: rgba(14, 27, 44, .97); backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 6px 0 5px; padding-bottom: calc(5px + env(safe-area-inset-bottom, 0px));
  }
  .mm-bn-item { display: flex; flex-direction: column; align-items: center; gap: 2px; color: rgba(255, 255, 255, .6); font-size: 10px; font-weight: 500; text-decoration: none !important; line-height: 1.2; }
  .mm-bn-item.is-active { color: #fff; }
  .mm-bn-item.is-active .mm-bn-ico { color: #E8232A; }
  .mm-bn-ico { position: relative; display: inline-flex; }
  .mm-bn-ico svg { width: 21px; height: 21px; }
  .mm-bn-badge, .mm-bn-ico .mm-fav-count {
    position: absolute; top: -4px; right: -8px; min-width: 15px; height: 15px; padding: 0 4px;
    border-radius: 8px; background: #E8232A; color: #fff; font-size: 9px; font-weight: 800;
    line-height: 15px; text-align: center; font-style: normal;
  }
  .mm-bn-ico .mm-fav-count { background: #F59E0B; color: #0E1B2C; }
  body { padding-bottom: 58px; }

  .mm-filterbar { background: #0E1B2C; padding: 2px 10px 6px; margin: 0; display: block; }
  .mm-frow { flex-wrap: wrap; height: auto; gap: 4px 8px; }
  .mm-scroll { flex: 1 1 100%; }
  .mm-divider { display: none; }
  .mm-flabel { font-size: 0; }
  .mm-flabel::before { width: 15px; height: 15px; background-size: 15px; }
  .mm-chip { height: 27px; padding: 0 10px; font-size: 11.5px; border-radius: 7px; }
  .mm-filterbar .mm-arrows { display: none; }
  .mm-hero-wrap { display: block; margin: 10px 0 4px; position: relative; }
  .mm-hero-car { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .mm-hero-car::-webkit-scrollbar { display: none; }
  .mm-hero { flex: 0 0 100%; scroll-snap-align: start; display: block; background: linear-gradient(135deg, #C41C22 0%, #1B2E45 55%, #0E1B2C 100%); border-radius: 16px; overflow: hidden; text-decoration: none !important; color: #fff; }
  .mm-hero-img { position: relative; height: 150px; overflow: hidden; }
  .mm-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; display: block; opacity: .95; }
  .mm-hero-body { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
  .mm-hero-pill { background: #F59E0B; color: #0E1B2C; font-size: 9.5px; font-weight: 800; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; }
  .mm-hero-artist { font-size: 12px; font-weight: 700; color: #FFD9D9; text-transform: uppercase; letter-spacing: .02em; }
  .mm-hero-title { font-size: 19px; font-weight: 800; line-height: 1.15; color: #fff; }
  .mm-hero-sub { font-size: 11.5px; color: rgba(255, 255, 255, .78); line-height: 1.3; }
  .mm-hero-btn { margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; background: #E8232A; color: #fff; font-size: 12px; font-weight: 700; padding: 8px 14px; border-radius: 9px; }
  .mm-hero-btn svg { width: 14px; height: 14px; }
  .mm-hero-dots { display: flex; justify-content: center; gap: 6px; padding: 8px 0 2px; }
  .mm-hero-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(14, 27, 44, .22); transition: background .2s ease, width .2s ease; }
  .mm-hero-dot.is-active { background: #E8232A; width: 18px; border-radius: 4px; }

  .main-products .product-thumb .name { font-size: 12.5px !important; }
  .main-products .product-thumb .price { margin-right: 6px !important; }
  .main-products .product-thumb .price .price-normal { font-size: 14px !important; }

  .mobile-filter-trigger.btn {
    position: fixed !important; left: auto !important; right: 12px !important; bottom: 70px !important; top: auto !important;
    z-index: 55; display: inline-flex !important; align-items: center; gap: 6px;
    height: 40px; padding: 0 14px !important; border-radius: 12px !important;
    background: #DC2626 !important; color: #fff !important;
    font-size: 12px; font-weight: 700; box-shadow: 0 8px 20px rgba(14, 27, 44, .28);
  }
  .mobile-filter-trigger.btn::before { color: #fff !important; }

  .mobile-header-active .mini-search { position: relative !important; z-index: 90 !important; }
  .mobile-header-active .mini-search .j-dropdown,
  .mobile-header-active .mini-search .dropdown-menu {
    background: #0E1B2C !important; border: 0 !important; border-radius: 0 0 14px 14px !important;
    box-shadow: 0 16px 28px rgba(14, 27, 44, .18) !important; padding: 10px !important;
    z-index: 95 !important; min-width: 300px !important; height: auto !important; overflow: visible !important;
  }
  .mobile-header-active .mini-search .header-search { display: flex !important; align-items: center !important; height: 44px !important; width: 100% !important; background: rgba(255,255,255,.12) !important; border-radius: 11px !important; overflow: hidden; }
  .mobile-header-active .mini-search .header-search .search-categories { display: none !important; }
  .mobile-header-active .mini-search .header-search input.tt-input,
  .mobile-header-active .mini-search .header-search input.search-input { flex: 1 1 auto; display: block !important; height: 44px !important; background: transparent !important; border: 0 !important; color: #fff !important; font-size: 14px !important; padding: 0 12px !important; }
  .mobile-header-active .mini-search .header-search .search-button { flex: 0 0 46px; width: 46px; height: 44px !important; background: #E8232A !important; border-radius: 0 !important; }
  .mobile-header-active .mini-search .header-search .search-button::before { color: #fff !important; }

  .mobile-filter-wrapper .module-filter .title.module-title { display: none !important; }
  .mobile-filter-wrapper .module-filter { border: 0 !important; background: transparent !important; padding: 0 !important; }

  html:not(.popup) .page-title { font-size: 20px !important; padding: 14px !important; }
  .route-product-product h1.page-title,
  .route-product-product .page-title > span { font-size: 19px !important; line-height: 1.28 !important; padding-bottom: 4px !important; }
  .route-product-product .product-info { gap: 14px !important; }
  .route-product-product .product-price { font-size: 22px !important; }
  .route-product-product .product-info .btn-cart,
  .route-product-product .product-info .button-group-page .btn-primary { width: 100% !important; }
  .route-product-product .tab-content { padding: 14px !important; font-size: 13.5px !important; }
  .route-product-product .nav-tabs > li > a { font-size: 12.5px !important; }
  .route-account-login .login-box { flex-direction: column; }
}
.module-master_slider-26 .ms-bullets {
  left: 50% !important;
  top: 14px !important;
  bottom: auto !important;
  transform: translateX(-50%) !important;
  z-index: 5 !important;
}
/* ---------- 37. Поиск по центру между логотипом и профилем ---------- */
.desktop-header-active .header .header-cart-group .desktop-search-wrapper {
  flex: 0 1 560px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.desktop-header-active .header .header-cart-group .mini-search { max-width: 560px; width: 100%; }

/* =====================================================================
   v3 � ������ �� ���������� ��������� (�����, �����, ������)
   ===================================================================== */

/* --- 1. ��������� ����� ��� � ������ --- */
.desktop-header-active .header .mid-bar {
  padding: 6px 0 0 !important;
}
.desktop-header-active .header .mid-bar > .mm-filterbar {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 6px;
  padding: 5px 0 0 !important;
}
.desktop-header-active .header .mid-bar > .desktop-main-menu-wrapper {
  margin-top: 5px !important;
  border-top: 0 !important;
}
.desktop-header-active .header .main-menu > .j-menu { padding: 4px 0 6px !important; }
.desktop-header-active .header .top-bar + .mid-bar { margin-top: 0 !important; }

/* --- 2. ��������: ������ ������ ����� --- */
.desktop-header-active .header .main-menu > .j-menu > li.main-menu-item-1 > a {
  border: 1px solid rgba(232, 35, 42, .55) !important;
  box-shadow: none !important;
  outline: 0 !important;
}
.desktop-header-active .header .main-menu > .j-menu > li.main-menu-item-1 > a .links-text {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.desktop-header-active .header .main-menu > .j-menu > li.main-menu-item-1 > a::after,
.desktop-header-active .header .main-menu > .j-menu > li.main-menu-item-1 > a::before {
  box-shadow: none !important;
}

/* --- 3. ���������� ���� ������ ��� ���� �������� --- */
.desktop-header-active .header .mini-search { position: relative !important; }
.desktop-header-active .header .mini-search .tt-menu {
  border-radius: 12px !important;
  border: 1px solid #E9DFD0 !important;
  background-color: #FBF6EE !important;
  box-shadow: 0 18px 34px rgba(14, 27, 44, .16) !important;
  padding: 6px !important;
  margin-top: 8px !important;
  overflow: hidden;
  z-index: 120 !important;
  min-width: 100% !important;
}
.desktop-header-active .header .mini-search .tt-menu > div { padding: 0 !important; }
.desktop-header-active .header .mini-search .tt-menu > div > div > a {
  border-radius: 8px !important;
  color: #1A2230 !important;
  padding: 7px 10px !important;
  display: block;
}
.desktop-header-active .header .mini-search .tt-menu > div > div > a:hover,
.desktop-header-active .header .mini-search .tt-menu > div > div > a.tt-cursor {
  background: #F2E8D9 !important;
  color: #E8232A !important;
}
/* ��������� ��������� �� ������ ������ ������ */
.desktop-header-active .header .mini-search .tt-menu::before {
  left: 22px !important;
  right: auto !important;
  border-width: 0 8px 8px 8px !important;
  border-color: transparent transparent #E9DFD0 transparent !important;
  content: '' !important;
  display: block !important;
  position: absolute;
  top: -8px;
  width: 0;
  height: 0;
  border-style: solid;
}

/* --- 4. ���� ������� ��������� ������� --- */
.mm-chip { font-size: 11.5px; padding: 0 9px; }
.mm-frow { gap: 8px; }
.mm-scroll { gap: 5px; }
.mm-filterbar .mm-frow .mm-scroll:nth-of-type(1) { flex: 0 0 auto; }

/* --- 5. ������� ��� ������ � ������ ������� --- */
.grid-row-top-1 { padding: 14px 0 16px !important; background: transparent !important; }
.route-product-catalog #content { padding-top: 0 !important; }
.grid-row-top-1 + .grid-row #content,
.two-column #content > .row { margin-top: 0; }

/* --- 6. ������� � ������ ���������� �� ����� ������ --- */
.side-column .grid-row-column-left-1 { padding-top: 0 !important; margin-top: 0 !important; }
.side-column .grid-row-column-left-1 > .grid-cols { padding-top: 0 !important; }
.main-products-wrapper .products-filter { margin-top: 0 !important; }

/* --- 7. ������: ������ ������ �������� � ������ �������� --- */
.main-products .product-thumb .name,
.main-products .product-thumb .name a { font-size: 13px !important; line-height: 1.3 !important; }
.main-products .product-thumb .stats { min-height: 20px !important; }

/* --- 8. ������ ��� ��������� --- */
.main-products .product-thumb .btn-cart::before,
.main-products .product-thumb .btn-wishlist::before,
.main-products .product-thumb .btn-compare::before,
.main-products .product-thumb .btn-cart::after,
.main-products .product-thumb .btn-wishlist::after { display: none !important; content: none !important; }

/* --- 9. �������� �� ����, ������ ������� ����, �������� � �������� --- */
.main-products.product-grid .product-thumb .wish-group,
.main-products .product-thumb .wish-group {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 6 !important;
  display: flex !important;
  gap: 4px;
  background: transparent !important;
  padding: 0 !important;
  width: auto !important;
}
.main-products.product-grid .product-thumb .wish-group .btn-wishlist,
.main-products .product-thumb .wish-group .btn-wishlist {
  width: 30px !important; height: 30px !important; min-width: 30px !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, .92) !important;
  box-shadow: 0 2px 8px rgba(14, 27, 44, .16) !important;
}
.main-products .product-thumb .btn-wishlist.mm-fav-on {
  background-color: #F59E0B !important;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%23ffffff' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.4 5.6a5.1 5.1 0 0 0-7.2 0L12 6.8l-1.2-1.2a5.1 5.1 0 0 0-7.2 7.2L12 21.2l8.4-8.4a5.1 5.1 0 0 0 0-7.2Z'/%3E%3C/svg%3E") !important;
}
/* --- 10. «Каталог»: убрать двойную заливку (внутренняя плашка .links-text) --- */
.desktop-header-active .header .main-menu > .j-menu > li.main-menu-item-1 > a .links-text {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

/* --- 11. Сердечко якорится к карточке, а не к подписи --- */
.main-products .product-thumb .caption { position: static !important; }
.main-products.product-grid.product-grid .product-thumb { position: relative !important; }

/* --- 12. Сайдбар и панель сортировки на одном уровне --- */
.side-column,
.side-column .grid-rows,
.side-column .grid-row,
.side-column .grid-cols,
.side-column .grid-col,
.side-column .grid-items { padding-top: 0 !important; margin-top: 0 !important; }
.side-column .module-filter:first-child { margin-top: 0 !important; }
#content > .row > .side-column { padding-top: 0 !important; }

@media (max-width: 760px) {
  /* --- верхняя полоса: ссылки слева, соцсети справа --- */
  .mobile-header-active .mobile-top-bar { padding: 0 10px !important; }
  .mobile-header-active .mobile-top-bar .mobile-top-menu-wrapper { width: 100%; }
  .mobile-header-active .mobile-top-bar .j-menu {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
  }
  .mobile-header-active .mobile-top-bar .j-menu > li > a { font-size: 11px !important; padding: 0 4px !important; }
  .mobile-header-active .mobile-top-bar .j-menu > li > a::before {
    content: '' !important;
    display: inline-block !important;
    width: 15px !important;
    height: 15px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    vertical-align: middle;
  }
  .mobile-header-active .mobile-top-bar .j-menu > li:nth-last-child(3) > a::before { background-image: url('/image/catalog/icons/telegram-white.png') !important; }
  .mobile-header-active .mobile-top-bar .j-menu > li:nth-last-child(2) > a::before { background-image: url('/image/catalog/icons/ozon-white.png') !important; }
  .mobile-header-active .mobile-top-bar .j-menu > li:nth-last-child(1) > a::before { background-image: url('/image/catalog/icons/yandex-white.png') !important; }

  /* --- шапка: лого слева, справа корзина → фильтр → бургер, ниже поиск --- */
  .mobile-header-active .mobile-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    padding: 6px 10px 8px !important;
    gap: 0;
  }
  .mobile-header-active .mobile-logo-wrapper {
    order: 1;
    flex: 1 1 auto;
    padding-left: 0 !important;
    min-width: 0;
  }
  .mobile-header-active .mobile-bar-group {
    order: 2;
    flex: 0 0 auto;
    display: flex !important;
    align-items: center;
    gap: 6px;
  }
  .mobile-header-active .mobile-bar-group .mobile-cart-wrapper { order: 1; }
  .mobile-header-active .mm-mfilter-btn { order: 2; }
  .mobile-header-active .mobile-bar-group .menu-trigger { order: 3; }
  .mobile-header-active .mobile-bar-group .menu-trigger::before { font-size: 26px !important; }
  .mobile-header-active #logo img { height: 28px !important; }

  /* кнопка фильтра в шапке */
  .mm-mfilter-btn {
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 9px;
    background: rgba(255, 255, 255, .08);
    color: #fff; padding: 0; cursor: pointer;
  }
  .mm-mfilter-btn svg { width: 18px; height: 18px; }
  .mm-mfilter-btn:active { background: rgba(255, 255, 255, .2); }

  /* поиск во всю ширину */
  .mm-msearch {
    order: 3;
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    margin: 8px 0 0 !important;
    height: 40px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 11px;
    overflow: hidden;
  }
  .mm-msearch input[type="search"] {
    flex: 1 1 auto;
    height: 40px;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 13.5px;
    padding: 0 12px !important;
    box-shadow: none !important;
    -webkit-appearance: none;
  }
  .mm-msearch input[type="search"]::placeholder { color: rgba(255, 255, 255, .55); }
  .mm-msearch button {
    flex: 0 0 44px;
    width: 44px; height: 40px;
    border: 0; border-radius: 0;
    background: #E8232A; color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
  }
  .mm-msearch button svg { width: 17px; height: 17px; }

  /* убираем плавающую кнопку фильтра — она теперь в шапке */
  .mobile-filter-trigger.btn { display: none !important; }
  /* полосы фильтров на мобильном нет */
  .mm-filterbar { display: none !important; }

  /* --- баннер: текст поверх картинки --- */
  .mm-hero-wrap { margin: 10px 0 6px !important; }
  .mm-hero {
    position: relative;
    height: 190px;
    display: block;
    overflow: hidden;
  }
  .mm-hero-img { position: absolute; inset: 0; height: 100%; }
  .mm-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; opacity: 1; }
  .mm-hero-body {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
    background: linear-gradient(90deg, rgba(14, 27, 44, .82) 0%, rgba(14, 27, 44, .55) 45%, rgba(14, 27, 44, 0) 75%);
  }
  .mm-hero-pill { font-size: 9px; padding: 3px 9px; }
  .mm-hero-artist { font-size: 11.5px; }
  .mm-hero-title { font-size: 18px; }
  .mm-hero-sub { font-size: 11px; }
  .mm-hero-btn { margin-top: 5px; padding: 7px 12px; font-size: 11.5px; }
  .mm-hero-dots { padding: 6px 0 0; }

  /* --- шторка фильтров: отступы и прокрутка длинных списков --- */
  .mobile-filter-wrapper { padding: 0 12px 12px !important; }
  .mobile-filter-wrapper .panel-title > a { padding: 10px 0 !important; }
  .mobile-filter-wrapper .module-filter .panel-body { padding: 0 0 10px !important; }
  .mobile-filter-wrapper .module-item[class*="module-item-f"] .panel-body {
    max-height: 250px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-filter-wrapper .mobile-filter-wrapper .panel-body::-webkit-scrollbar { width: 3px; }
  .mobile-filter-wrapper .module-item[class*="module-item-f"] .panel-body::-webkit-scrollbar { width: 3px; }
  .mobile-filter-wrapper .module-item[class*="module-item-f"] .panel-body::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 2px; }

  /* --- плитка на телефоне: две в ряд, минимальные отступы --- */
  .main-products.product-grid { padding: 0 1px !important; }
  .main-products.product-grid .product-layout:not(.swiper-slide) {
    width: calc(50% - 2px) !important;
    padding: 1px !important;
    margin: 0 1px 2px !important;
  }
  .main-products .product-thumb { border-radius: 10px !important; }
  .main-products .product-thumb .caption { padding: 8px 8px 9px !important; }
  .main-products .product-thumb .name { font-size: 11.5px !important; min-height: calc(3 * 1.3em) !important; }
  .main-products .product-thumb .name a { font-size: 11.5px !important; }
  .main-products .product-thumb .stats { font-size: 10px !important; gap: 4px; margin-bottom: 7px !important; min-height: 16px !important; }
  .main-products .product-thumb .stats .stat-1 { padding: 1px 5px; font-size: 10px; }
  .main-products .product-thumb .price .price-normal,
  .main-products .product-thumb .price .price-new { font-size: 14px !important; }
  .main-products .product-thumb .price { margin-right: 5px !important; padding-top: 7px !important; }
  .main-products .product-thumb .buttons-wrapper { padding-top: 7px !important; }
  .main-products .product-thumb .btn-cart { width: 32px !important; height: 32px !important; min-width: 32px !important; background-size: 17px 17px !important; }
  .main-products .product-thumb .btn-wishlist { width: 27px !important; height: 27px !important; min-width: 27px !important; background-size: 14px 14px !important; }
  .main-products .product-thumb .wish-group { top: 6px !important; right: 6px !important; }

  /* --- стрелка вверх над нижней панелью --- */
  .scroll-top { bottom: 70px !important; }

  /* --- не показывать нижнюю навигацию поверх модальных окон --- */
  body.modal-open .mm-bottom-nav,
  body.overflow-mobile .mm-bottom-nav { display: none !important; }
}
/* --- v4.1: починка высоты мобильной шапки --- */
@media (max-width: 760px) {
  .mobile-header-active .mobile-bar,
  .mobile-header-active .mobile-1 .mobile-bar {
    height: auto !important;
    min-height: 0 !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
  }
  .mobile-header-active .mobile-bar-group { flex-wrap: nowrap !important; min-width: 0; }
  .mobile-header-active #logo { max-width: 210px; overflow: hidden; }
  .mobile-header-active #logo img { max-width: 100% !important; }
  .mm-msearch input[type="search"] { min-width: 0 !important; width: 100% !important; }
  .mm-msearch button { min-width: 44px; }
  html, body { overflow-x: hidden !important; max-width: 100% !important; }
  body { position: relative; }
  .site-wrapper, .container, .wrapper { max-width: 100% !important; overflow-x: hidden; }
}
/* --- v4.2: вид «список» только на мобильном, панель сортировки на телефоне --- */
.desktop #btn-list-view { display: none !important; }
.desktop .products-filter .grid-list { gap: 0; }

@media (max-width: 760px) {
  .main-products-wrapper .products-filter {
    flex-wrap: wrap !important;
    padding: 6px 8px !important;
    gap: 6px;
  }
  .main-products-wrapper .products-filter .select-group {
    flex: 1 1 100%;
    display: flex;
    gap: 6px;
    margin-top: 4px;
  }
  .main-products-wrapper .products-filter .select-group .input-group { flex: 1 1 50%; min-width: 0; }
  .main-products-wrapper .products-filter .input-group-addon { display: none !important; }
  .main-products-wrapper .products-filter select { width: 100% !important; height: 32px !important; font-size: 12px !important; }
  .main-products-wrapper .products-filter .compare-btn { display: none !important; }
  .main-products-wrapper .products-filter .grid-list { flex: 0 0 auto; }
}
/* =====================================================================
   v5 — логотип без сжатия + кнопка «В корзину» во всю ширину плитки
   ===================================================================== */

/* --- логотип: не даём контейнеру сжимать картинку --- */
.desktop-header-active .header .desktop-logo-wrapper,
.desktop-header-active .header .desktop-logo-wrapper #logo,
.desktop-header-active .header .desktop-logo-wrapper #logo a {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  overflow: visible !important;
}
.desktop-header-active .header .desktop-logo-wrapper #logo a > img {
  width: auto !important;
  height: 44px !important;
  max-width: none !important;
  max-height: 44px !important;
  object-fit: contain !important;
  display: block !important;
}

@media (max-width: 760px) {
  .mobile-header-active .mobile-logo-wrapper,
  .mobile-header-active .mobile-logo-wrapper #logo,
  .mobile-header-active .mobile-logo-wrapper #logo a {
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    overflow: visible !important;
  }
  .mobile-header-active .mobile-logo-wrapper #logo a > img,
  .mobile-header-active #logo img {
    width: auto !important;
    height: 30px !important;
    max-width: none !important;
    max-height: 30px !important;
    object-fit: contain !important;
    display: block !important;
    position: static !important;
    top: auto !important;
  }
}

/* --- цена слева, наличие справа, ниже кнопка «В корзину» во всю ширину --- */
.main-products .product-thumb .price {
  flex: 1 1 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px;
  margin: 0 !important;
  padding: 9px 0 0 !important;
  border-top: 1px solid #E2E8F0;
  text-align: left !important;
  min-width: 0;
}
.main-products .product-thumb .price > div {
  display: flex;
  align-items: baseline;
  gap: 6px;
  justify-content: flex-start !important;
}
.main-products .product-thumb .price::after {
  margin: 0 !important;
  text-align: right !important;
  white-space: nowrap;
}
.main-products .product-thumb .buttons-wrapper {
  flex: 1 1 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 8px 0 0 !important;
  border-top: 0 !important;
}
.main-products .product-thumb .button-group { display: block !important; width: 100% !important; }
.main-products .product-thumb .cart-group { display: block !important; width: 100% !important; }
.main-products .product-thumb .btn-cart {
  width: 100% !important;
  min-width: 0 !important;
  height: 36px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background-image: none !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.main-products .product-thumb .btn-cart::before,
.main-products .product-thumb .btn-cart::after { display: none !important; }
.main-products .product-thumb .btn-cart .btn-text {
  display: inline !important;
  font-size: 0 !important;
}
.main-products .product-thumb .btn-cart .btn-text::before {
  content: 'В корзину';
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0;
}

@media (max-width: 760px) {
  .main-products .product-thumb .price { padding-top: 7px !important; }
  .main-products .product-thumb .price .price-normal,
  .main-products .product-thumb .price .price-new { font-size: 13.5px !important; }
  .main-products .product-thumb .price::after { font-size: 9.5px !important; }
  .main-products .product-thumb .buttons-wrapper { padding-top: 6px !important; }
  .main-products .product-thumb .btn-cart { height: 32px !important; }
  .main-products .product-thumb .btn-cart .btn-text::before { font-size: 11.5px; }
}
/* --- v5.1: «В корзину» обычным регистром --- */
.main-products .product-thumb .btn-cart,
.main-products .product-thumb .btn-cart .btn-text,
.main-products .product-thumb .btn-cart .btn-text::before {
  text-transform: none !important;
  letter-spacing: 0 !important;
}
/* =====================================================================
   v6 — свои шрифты (без Google Fonts), логотип 3x
   ===================================================================== */
@font-face { font-family: 'Inter'; src: url('/catalog/view/theme/journal3/fonts_custom/Manrope-400.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/catalog/view/theme/journal3/fonts_custom/Manrope-700.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/catalog/view/theme/journal3/fonts_custom/Manrope-400.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/catalog/view/theme/journal3/fonts_custom/Manrope-700.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/catalog/view/theme/journal3/fonts_custom/Manrope-800.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
/* =====================================================================
   v7 — правки по замечаниям (шапка, баннер, плитка, подвал, мобильная)
   ===================================================================== */

/* --- 3. полосы под и над фильтрами --- */
.desktop-header-active .header .main-menu > .j-menu { border-top: 1px solid rgba(255,255,255,.08); }
.desktop-header-active .header .mid-bar > .desktop-main-menu-wrapper { border-top: 1px solid rgba(255,255,255,.08) !important; }
.desktop-header-active .header .mid-bar > .mm-filterbar { border-top: 1px solid rgba(255,255,255,.08); }
.module-master_slider-26 .ms-bullets { top: 7px !important; }

/* --- 6. одинаковые отступы вокруг баннера --- */
.grid-row-top-1 { padding: 16px 0 !important; }

/* --- 7. убрать «Сравнение» --- */
.main-products-wrapper .products-filter .compare-btn,
.main-products-wrapper .products-filter #compare-total { display: none !important; }

/* --- 9. подсказка избранного + активное состояние --- */
.tooltip.wishlist-tooltip .tooltip-inner,
.tooltip[class*="wishlist"] .tooltip-inner {
  background: #F59E0B !important;
  color: #0E1B2C !important;
  border-radius: 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 6px 10px !important;
  box-shadow: 0 8px 18px rgba(14, 27, 44, .18) !important;
}
.tooltip.wishlist-tooltip .tooltip-arrow,
.tooltip[class*="wishlist"] .tooltip-arrow { border-top-color: #F59E0B !important; border-bottom-color: #F59E0B !important; }
.main-products .product-thumb .btn-wishlist.mm-fav-on,
.main-products.product-grid .product-thumb .btn-wishlist.mm-fav-on {
  background-color: #F59E0B !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .35), 0 2px 8px rgba(14, 27, 44, .16) !important;
}

/* --- 11. одинаковая высота строк в карточке --- */
.main-products .product-thumb .stats {
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  overflow: hidden;
  align-items: center !important;
  margin-bottom: 8px !important;
}
.main-products .product-thumb .name { min-height: calc(3 * 1.3em) !important; }
.main-products .product-thumb .price { height: 22px !important; }
.main-products .product-thumb .buttons-wrapper { height: 44px !important; }

/* --- 13. нет в наличии: кнопка неактивна --- */
.main-products .product-layout.out-of-stock .product-thumb .btn-cart {
  background: #E2E8F0 !important;
  color: #94A3B8 !important;
  pointer-events: none;
  cursor: default;
}
.main-products .product-layout.out-of-stock .product-thumb .btn-cart .btn-text::before { content: 'Нет в наличии'; color: #94A3B8; }

/* --- 15. подвал компактнее --- */
footer .links-menu .module-body > li > a { padding: 1px 0 !important; font-size: 11.5px !important; }
footer .links-menu .title.module-title { margin-bottom: 6px !important; font-size: 12.5px !important; }
footer .grid-row-1 { padding: 18px 0 !important; }
footer .info-block { margin-bottom: 7px !important; }
footer .grid-row-2 { padding: 6px 0 !important; }
footer .links-menu-77 .module-body > li > a { font-size: 11px !important; }

@media (max-width: 760px) {
  /* --- 1. соцсети справа, плотнее --- */
  .mobile-header-active .mobile-top-bar .j-menu { justify-content: flex-end !important; gap: 2px !important; }
  .mobile-header-active .mobile-top-bar .j-menu > li > a { padding: 0 3px !important; }
  .mobile-header-active .mobile-top-bar .j-menu > li:not(:nth-last-child(-n+3)) { margin-right: auto !important; }

  /* --- 6. сортировка в одну строку --- */
  .main-products-wrapper .products-filter { flex-wrap: nowrap !important; align-items: center; gap: 4px; padding: 5px 6px !important; }
  .main-products-wrapper .products-filter .select-group { flex: 1 1 auto; margin-top: 0 !important; display: flex; gap: 4px; min-width: 0; }
  .main-products-wrapper .products-filter .select-group .input-group { flex: 1 1 50%; min-width: 0; }
  .main-products-wrapper .products-filter select { height: 30px !important; font-size: 11.5px !important; padding: 0 6px !important; }
  .main-products-wrapper .products-filter .grid-list { flex: 0 0 auto; }
  .main-products-wrapper .products-filter .view-btn { width: 26px; height: 26px; }

  .main-products .product-thumb .buttons-wrapper { height: 38px !important; }
}
/* =====================================================================
   v8 — поиск, корзина в шапке, мини-корзина, кнопка «В корзину», подсказки
   ===================================================================== */

/* --- 2. окно поиска: строки разных оттенков, скругление только при наведении --- */
.desktop-header-active .header .mini-search .tt-menu { background: #FBF6EE !important; }
.desktop-header-active .header .mini-search .tt-menu .tt-dataset,
.desktop-header-active .header .mini-search .tt-menu > div { background: #F5EFE3 !important; border-radius: 10px !important; padding: 4px !important; }
.desktop-header-active .header .mini-search .tt-menu .tt-suggestion,
.desktop-header-active .header .mini-search .tt-menu > div > div > a {
  background: transparent !important;
  border-radius: 0 !important;
  color: #1A2230 !important;
  padding: 7px 10px !important;
}
.desktop-header-active .header .mini-search .tt-menu .tt-suggestion:hover,
.desktop-header-active .header .mini-search .tt-menu .tt-suggestion.tt-cursor,
.desktop-header-active .header .mini-search .tt-menu > div > div > a:hover {
  background: #EADFCB !important;
  border-radius: 8px !important;
  color: #0E1B2C !important;
}

/* --- 2d. счётчик корзины справа от слова «Корзина» --- */
.desktop-header-active .header #cart > a.cart-heading { display: inline-flex !important; align-items: center !important; gap: 6px !important; position: relative; }
.desktop-header-active .header #cart > a.cart-heading > i { order: 1 !important; }
.desktop-header-active .header #cart > a.cart-heading .cart-label { order: 2 !important; }
.desktop-header-active .header #cart > a.cart-heading #cart-items,
.desktop-header-active .header #cart > a.cart-heading .count-badge {
  order: 3 !important;
  position: static !important;
  transform: none !important;
  top: auto !important;
  right: auto !important;
  background: #fff !important;
  color: #E8232A !important;
  font-weight: 800 !important;
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  border-radius: 10px;
  font-size: 11px;
  padding: 0 6px;
  margin-left: 2px;
}

/* --- 2c. мини-корзина --- */
.desktop-header-active .header .mini-cart .j-dropdown,
.desktop-header-active .header .mini-cart .dropdown-menu,
.header #cart .dropdown-menu {
  border-radius: 14px !important;
  overflow: hidden;
  width: 420px !important;
  min-width: 420px !important;
  border: 1px solid #E9DFD0 !important;
  background: #fff !important;
  box-shadow: 0 18px 40px rgba(14, 27, 44, .16) !important;
}
.header #cart .dropdown-menu .cart-products { max-height: 420px !important; overflow-y: auto; }
.header #cart .dropdown-menu .cart-product { display: flex; gap: 10px; padding: 10px; border-bottom: 1px solid #F1F5F9; }
.header #cart .dropdown-menu .cart-product .image { flex: 0 0 48px; width: 48px; }
.header #cart .dropdown-menu .cart-product .image img { width: 48px; height: 64px; object-fit: cover; border-radius: 8px; }
.header #cart .dropdown-menu .cart-product .name { font-size: 12.5px; line-height: 1.3; }
.header #cart .dropdown-menu .cart-product .price,
.header #cart .dropdown-menu .cart-product .quantity,
.header #cart .dropdown-menu .cart-product .total { white-space: nowrap; }
.header #cart .dropdown-menu .cart-product .price { font-size: 12.5px; }
.header #cart .dropdown-menu .cart-totals { padding: 8px 12px; font-size: 12.5px; }
/* v11: старый блок кнопок мини-корзины удалён — он перебивал оранжевую
   «Оформить заказ» по специфичности (1 id + 5 классов > 1 id + 3 класса).
   Актуальные правила — в блоке #cart-content.cart-content ниже. */

/* --- 10. фото не должно пропадать при наведении --- */
.main-products .product-thumb .product-img.has-second-image .img-first,
.main-products .product-thumb .product-img:hover .img-first { opacity: 1 !important; }
.main-products .product-thumb .product-img .img-second { display: none !important; }

/* --- 12. «В корзину» на самой кнопке (не пропадает при загрузке) --- */
.main-products .product-thumb .btn-cart { font-size: 0 !important; }
.main-products .product-thumb .btn-cart .btn-text { display: none !important; }
.main-products .product-thumb .btn-cart::after {
  content: 'В корзину';
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  display: inline-block;
}
.main-products .product-layout.out-of-stock .product-thumb .btn-cart::after { content: 'Нет в наличии'; color: #94A3B8; }

/* --- 12. уведомление о добавлении: кнопки в стиле сайта --- */
.notification .btn,
.notification-popup .btn,
.j-notification .btn {
  border-radius: 10px !important;
  text-transform: none !important;
  font-weight: 700 !important;
  background: #E8232A !important;
  color: #fff !important;
  border: 0 !important;
}
.notification .btn + .btn { background: #F59E0B !important; color: #221703 !important; }

/* --- 2b. выпадающее меню профиля: подписи пунктов --- */
.desktop-header-active .header .secondary-menu .j-dropdown,
.desktop-header-active .header .secondary-menu .dropdown-menu {
  border-radius: 12px !important;
  border: 1px solid #E9DFD0 !important;
  background: #FBF6EE !important;
  padding: 6px !important;
  min-width: 170px;
}
.desktop-header-active .header .secondary-menu .j-dropdown .j-menu > li > a {
  border-radius: 8px;
  color: #1A2230 !important;
  font-size: 13px !important;
  padding: 8px 10px !important;
}
.desktop-header-active .header .secondary-menu .j-dropdown .j-menu > li > a:hover { background: #F2E8D9 !important; color: #E8232A !important; }
.desktop-header-active .header .secondary-menu .links-text { font-size: 13px !important; }
/* --- 5. точки карусели выше, исполнитель ближе к названию --- */
.module-master_slider-26 .ms-bullets,
.module-master_slider-26 .ms-bullets.ms-bullets-2,
.module-master_slider-26 .ms-bullets-hori {
  top: 12px !important;
  margin-top: 0 !important;
}
.module-master_slider-26 .ms-bullets > div { margin-top: 0 !important; }
/* --- M1: соцсети справа вплотную --- */
@media (max-width: 760px) {
  .mobile-header-active .mobile-top-bar .j-menu { gap: 0 !important; }
  .mobile-header-active .mobile-top-bar .j-menu > li { margin: 0 !important; padding: 0 2px !important; }
  .mobile-header-active .mobile-top-bar .j-menu > li > a { padding: 0 !important; }
  .mobile-header-active .mobile-top-bar .j-menu > li > a::before { width: 16px !important; height: 16px !important; }
}
/* =====================================================================
   v9 — кнопка «В корзину» в плитке + мини-корзина
   ===================================================================== */

/* --- 1. надпись «В корзину» вернулась на кнопку --- */
.main-products .product-thumb .btn-cart {
  font-size: 0 !important;
  position: relative;
}
.main-products .product-thumb .btn-cart::after {
  content: 'В корзину' !important;
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.main-products .product-layout.out-of-stock .product-thumb .btn-cart::after {
  content: 'Нет в наличии' !important;
  color: #94A3B8 !important;
}
.main-products .product-thumb .btn-cart .btn-text { display: none !important; }

/* --- 2. мини-корзина: ширина, миниатюры 3:4, цена в строку --- */
.header #cart .cart-content.j-dropdown,
#cart-content.cart-content {
  width: 540px !important;
  min-width: 540px !important;
  max-width: 540px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  box-shadow: 0 24px 48px rgba(8, 15, 26, .45) !important;
  padding: 0 !important;
  background: #132234 !important;
}
#cart-content.cart-content > ul,
#cart-content.cart-content ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
#cart-content.cart-content .cart-products { padding: 0 !important; }

#cart-content.cart-content .cart-products table { margin: 0 !important; border-collapse: collapse !important; width: 100% !important; }
#cart-content.cart-content .cart-products tr { border-bottom: 1px solid rgba(255, 255, 255, .07) !important; }
#cart-content.cart-content .cart-products td { border: 0 !important; padding: 10px 10px !important; vertical-align: middle !important; }

#cart-content.cart-content .td-image { width: 58px !important; padding-right: 0 !important; }
#cart-content.cart-content .td-image img {
  width: 52px !important;
  height: 69px !important;
  max-width: none !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  display: block;
}

#cart-content.cart-content .td-name { width: auto !important; }
#cart-content.cart-content .td-name > a {
  font-size: 12.5px !important;
  line-height: 1.35 !important;
  color: #fff !important;
  display: block;
}
#cart-content.cart-content .td-name span,
#cart-content.cart-content .td-name small { font-size: 11px !important; color: #93A1B5 !important; }

#cart-content.cart-content .td-qty {
  width: 44px !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  color: #93A1B5 !important;
  text-align: right !important;
}
#cart-content.cart-content .td-total {
  width: 90px !important;
  white-space: nowrap !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-align: right !important;
}
#cart-content.cart-content .td-remove { width: 30px !important; padding-left: 0 !important; }
#cart-content.cart-content .cart-remove {
  background: transparent !important;
  border: 0 !important;
  color: #7C8CA3 !important;
  font-size: 13px !important;
  padding: 0 !important;
  cursor: pointer;
}
#cart-content.cart-content .cart-remove:hover { color: #E8232A !important; }

/* итоги */
#cart-content.cart-content .cart-totals { padding: 0 !important; }
#cart-content.cart-content .cart-totals > div {
  background: #0E1B2C !important;
  border-radius: 14px !important;
  margin: 6px !important;
  padding: 10px 12px 12px !important;
}
#cart-content.cart-content .cart-totals table { margin: 0 !important; width: 100% !important; border: 0 !important; }
#cart-content.cart-content .cart-totals td { border: 0 !important; padding: 3px 0 !important; }
#cart-content.cart-content .cart-totals .td-total-title { font-size: 12px !important; color: #93A1B5 !important; }
#cart-content.cart-content .cart-totals .td-total-text { font-size: 13px !important; font-weight: 700 !important; color: #fff !important; white-space: nowrap !important; }

/* кнопки в одну строку, «Оформить заказ» — оранжевая */
#cart-content.cart-content .cart-buttons {
  display: flex !important;
  gap: 8px !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
}
#cart-content.cart-content .cart-buttons .btn {
  flex: 1 1 0 !important;
  height: 38px !important;
  border-radius: 10px !important;
  border: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  padding: 0 8px !important;
  box-shadow: none !important;
}
#cart-content.cart-content .cart-buttons .btn-cart {
  background: #E8232A !important;
  color: #fff !important;
}
#cart-content.cart-content .cart-buttons .btn-checkout {
  background: #F59E0B !important;
  color: #221703 !important;
}
#cart-content.cart-content .cart-buttons .btn:hover { opacity: .92; }
#cart-content.cart-content .cart-buttons .btn i { display: none !important; }
/* --- v9.1: мини-корзина — фон и паддинги по всей цепочке --- */
#cart-content.cart-content,
#cart-content.cart-content ul,
#cart-content.cart-content li,
#cart-content.cart-content table,
#cart-content.cart-content tbody,
#cart-content.cart-content tr,
#cart-content.cart-content td,
#cart-content.cart-content .cart-products,
#cart-content.cart-content .cart-products table { background: #132234 !important; }
#cart-content.cart-content { padding: 0 !important; margin: 0 !important; }
#cart-content.cart-content > ul { margin: 0 !important; padding: 0 !important; }
#cart-content.cart-content .cart-products { margin: 0 !important; padding: 0 !important; }
#cart-content.cart-content .cart-products table { margin: 0 !important; border: 0 !important; }
#cart-content.cart-content .td-name,
#cart-content.cart-content .td-name a,
#cart-content.cart-content .td-total { color: #fff !important; }
#cart-content.cart-content .cart-totals table,
#cart-content.cart-content .cart-totals tr,
#cart-content.cart-content .cart-totals td { background: transparent !important; }
/* --- v9.2: название в мини-корзине без подчёркивания --- */
#cart-content.cart-content .td-name a { text-decoration: none !important; }

/* --- M3: на телефоне иконка корзины — тележка --- */
@media (max-width: 760px) {
  .mobile-header-active #cart > a > i::before {
    content: '' !important;
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 0 !important;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11.2a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.6L21 8H6'/%3E%3Ccircle cx='10' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 24px 24px !important;
    margin: 0 auto;
  }
  .mobile-header-active #cart > a > i {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    font-size: 0 !important;
  }
  .mobile-header-active #cart > a .cart-label { display: none !important; }
}
/* =====================================================================
   v10 — кнопка «Оформить заказ», выравнивание плитки, подвал, мобильная
   ===================================================================== */

/* --- кнопка оформления: у темы поверх фона градиент --- */
#cart-content.cart-content .cart-buttons .btn,
#cart-content.cart-content .cart-buttons .btn:hover,
#cart-content.cart-content .cart-buttons .btn:focus {
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
#cart-content.cart-content .cart-buttons .btn-checkout,
#cart-content.cart-content .cart-buttons .btn-checkout:hover,
#cart-content.cart-content .cart-buttons .btn-checkout:focus {
  background-color: #F59E0B !important;
  color: #221703 !important;
  border: 0 !important;
}
#cart-content.cart-content .cart-buttons .btn-cart,
#cart-content.cart-content .cart-buttons .btn-cart:hover,
#cart-content.cart-content .cart-buttons .btn-cart:focus {
  background-color: #E8232A !important;
  color: #fff !important;
}

/* --- плитка: жёсткие высоты строк, чтобы линия, цена и кнопка стояли на одном уровне --- */
.main-products .product-thumb .caption {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
}
.main-products .product-thumb .name {
  height: 51px !important;
  min-height: 51px !important;
  max-height: 51px !important;
  overflow: hidden !important;
  margin-bottom: 6px !important;
}
.main-products .product-thumb .stats {
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  overflow: hidden !important;
  margin-bottom: 8px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px;
}
.main-products .product-thumb .price {
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  overflow: hidden !important;
}
.main-products .product-thumb .buttons-wrapper {
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
}
.main-products .product-thumb .btn-cart {
  height: 36px !important;
  padding: 0 !important;
}

/* --- подвал: компактнее --- */
footer .links-menu .module-body > li,
.footer .links-menu .module-body > li { margin: 0 !important; }
footer .links-menu .module-body > li > a,
.footer .links-menu .module-body > li > a {
  padding: 1px 0 !important;
  line-height: 1.45 !important;
  font-size: 11.5px !important;
  display: block;
}
footer .links-menu .module-title,
.footer .links-menu .module-title { margin-bottom: 5px !important; font-size: 12.5px !important; }
footer .grid-item, .footer .grid-item { margin-bottom: 0 !important; }
footer .grid-row-1, .footer .grid-row-1 { padding-top: 16px !important; padding-bottom: 10px !important; }
footer .grid-row-2, .footer .grid-row-2 { padding-top: 4px !important; padding-bottom: 4px !important; }
footer .icons-menu .module-body, .footer .icons-menu .module-body { margin: 0 !important; }
footer .links-menu-77 .module-body > li > a, .footer .links-menu-77 .module-body > li > a { font-size: 11px !important; padding: 0 !important; }

/* --- мобильная: соцсети справа вплотную --- */
@media (max-width: 760px) {
  .mobile-header-active .mobile-top-bar .j-menu { justify-content: flex-end !important; gap: 0 !important; }
  .mobile-header-active .mobile-top-bar .j-menu > li { margin: 0 !important; padding: 0 2px !important; }
  .mobile-header-active .mobile-top-bar .j-menu > li:nth-last-child(3) { margin-left: auto !important; }
  .mobile-header-active .mobile-top-bar .j-menu > li > a { padding: 0 2px !important; }
  .mobile-header-active .mobile-top-bar .j-menu > li > a::before { width: 16px !important; height: 16px !important; margin-right: 0 !important; }

  /* кнопка фильтра: не скрываем триггер, а уводим за экран (иначе не кликается) */
  .mobile-filter-trigger.btn {
    display: block !important;
    position: fixed !important;
    left: -9999px !important;
    top: 0 !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
  }
}
/* --- профиль: подписи пунктов в выпадающем списке --- */
.secondary-menu .menu-item.dropdown .j-menu > li > a .links-text,
.desktop-header-active .header .secondary-menu .j-menu.jsonly > li > a .links-text {
  display: inline-block !important;
  font-size: 12px !important;
  text-transform: none !important;
  color: #E7EEF7 !important;
  letter-spacing: 0 !important;
}
.secondary-menu .menu-item.dropdown .j-menu > li > a {
  gap: 8px !important;
  padding: 9px 12px !important;
  border-radius: 8px !important;
  background: transparent !important;
}
.secondary-menu .menu-item.dropdown .j-menu > li > a:hover { background: rgba(255, 255, 255, .07) !important; }
.secondary-menu .menu-item.dropdown .j-menu > li > a::before { font-size: 14px !important; }
/* --- подвал: тонкая красная линия снизу, как сверху --- */
footer .grid-row-2,
.footer .grid-row-2 { padding: 0 !important; min-height: 0 !important; }
footer .grid-row-2 .grid-cols,
footer .grid-row-2 .grid-items,
footer .grid-row-2 .grid-item,
footer .grid-row-2 .links-menu,
footer .grid-row-2 .icons-menu,
.footer .grid-row-2 .grid-cols,
.footer .grid-row-2 .grid-items,
.footer .grid-row-2 .grid-item {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
footer .grid-row-2 .links-menu .module-body > li > a,
.footer .grid-row-2 .links-menu .module-body > li > a {
  padding: 4px 0 !important;
  line-height: 1.2 !important;
  font-size: 10.5px !important;
}
footer .grid-row-2 .icons-menu .module-body,
.footer .grid-row-2 .icons-menu img,
.footer .grid-row-2 .icons-menu .module-body {
  margin: 0 !important;
  height: 16px !important;
  width: auto !important;
}
footer .grid-row-2 .module-item,
.footer .grid-row-2 .module-item { margin: 0 !important; }
/* --- мобильная полоса: соцсети у правого края --- */
@media (max-width: 760px) {
  .mobile-header-active .mobile-top-bar .mobile-top-menu-wrapper {
    width: 100% !important;
    flex: 1 1 100% !important;
    max-width: none !important;
  }
  .mobile-header-active .mobile-top-bar .j-menu {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
  }
  .mobile-header-active .mobile-top-bar .j-menu > li {
    margin: 0 !important;
    padding: 0 3px !important;
    flex: 0 0 auto !important;
  }
  .mobile-header-active .mobile-top-bar .j-menu > li:nth-last-child(3) { margin-left: auto !important; }
  .mobile-header-active .mobile-top-bar .j-menu > li > a { padding: 0 2px !important; }
  .mobile-header-active .mobile-top-bar .j-menu > li > a::before {
    width: 17px !important;
    height: 17px !important;
    margin-right: 0 !important;
  }
  .mobile-header-active .mobile-top-bar .j-menu > li > a .links-text { margin: 0 !important; }
}
.module-master_slider-26 .ms-bullets { top: 12px !important; margin-top: 0 !important; }
/* --- баннер: только точки карусели, никакого вмешательства в слайды --- */
.module-master_slider-26 .ms-bullets { top: 12px !important; margin-top: 0 !important; }

/* v11: страница корзины — главная кнопка тоже янтарная, как в мини-корзине */.route-checkout-cart #checkout-cart .buttons .pull-right > a.btn,
.route-checkout-cart .cart-panels .buttons .pull-right > a.btn {
  background: #F59E0B !important;
  color: #221703 !important;
  border: 0 !important;
  background-image: none !important;
}

/* =====================================================================
   v11. Поиск: выпадающие подсказки — миниатюра 3:4, название справа от
   неё, цена под названием, товары разделены тонкой линией.
   ===================================================================== */
.header .mini-search .tt-menu .search-result {
  border-top: 1px solid rgba(14, 27, 44, .10) !important;
}
.header .mini-search .tt-menu .search-result:first-child,
.header .mini-search .tt-menu .search-result.view-more,
.header .mini-search .tt-menu .search-result.no-results {
  border-top: 0 !important;
}
.header .mini-search .tt-menu .search-result > a {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 9px 10px !important;
  border-radius: 8px !important;
}
.header .mini-search .tt-menu .search-result img {
  display: block !important;
  flex: 0 0 45px !important;
  width: 45px !important;
  height: 60px !important;
  min-width: 45px !important;
  max-width: 45px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
  margin: 0 !important;
}
.header .mini-search .tt-menu .search-result > a > span {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 3px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: none !important;
}
.header .mini-search .tt-menu .search-result .product-name {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  white-space: normal !important;
  word-break: break-word !important;
  font-size: 12.5px !important;
  line-height: 1.32 !important;
  color: #1A2230 !important;
  max-width: 100% !important;
}
.header .mini-search .tt-menu .search-result .price,
.header .mini-search .tt-menu .search-result .price-new {
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: #0E1B2C !important;
}
.header .mini-search .tt-menu .search-result .price-old {
  font-size: 11px !important;
  color: #94A3B8 !important;
  text-decoration: line-through !important;
  margin-right: 6px !important;
}
.header .mini-search .tt-menu .search-result.no-results > a {
  color: #64748B !important;
  font-size: 12.5px !important;
  padding: 10px !important;
}
.header .mini-search .tt-menu .search-result.view-more > a {
  color: #E8232A !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  justify-content: center !important;
  text-align: center !important;
}

/* =====================================================================
   v12. Мини-корзина: кнопки строго на одной линии (тема давала
   «Просмотр корзины» margin-bottom:10px — из-за него вторая кнопка
   съезжала вниз).
   ===================================================================== */
#cart-content.cart-content .cart-buttons { align-items: stretch !important; }
#cart-content.cart-content .cart-buttons .btn {
  margin: 0 !important;
  align-self: stretch !important;
  height: 38px !important;
  line-height: 1 !important;
  vertical-align: top !important;
}

/* =====================================================================
   v12. Счётчик «− N +» на кнопке «В корзину»
   ===================================================================== */
.main-products .product-thumb .btn-cart.mm-step {
  font-size: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}
.main-products .product-thumb .btn-cart.mm-step::after { content: none !important; }
.main-products .product-thumb .btn-cart.mm-step .mm-step-in {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 0 2px !important;
}
.mm-step-btn {
  flex: 0 0 36px !important;
  height: 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  color: #fff !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
.mm-step-btn:hover { background: rgba(255, 255, 255, .20) !important; }
.mm-step-btn:active { background: rgba(255, 255, 255, .32) !important; }
.mm-step-val {
  flex: 1 1 auto !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #fff !important;
  text-align: center !important;
}

/* =====================================================================
   v13. Плитка: счётчик синий, сердечко с оранжевой подсветкой,
   без «крутящегося» текста при добавлении
   ===================================================================== */

/* --- 1. «− N +» синий: товары, которые уже в корзине, видно сразу --- */
.main-products.product-grid .product-thumb .btn-cart.btn,
.main-products .product-thumb .btn-cart.btn {
  transition: none !important;
}
.main-products.product-grid .product-thumb .btn-cart.btn.mm-step,
.main-products .product-thumb .btn-cart.btn.mm-step {
  background: #0E1B2C !important;
  background-color: #0E1B2C !important;
  background-image: none !important;
  box-shadow: 0 2px 8px rgba(14, 27, 44, .28) !important;
  border: 0 !important;
}
.main-products.product-grid .product-thumb .btn-cart.btn.mm-step:hover,
.main-products .product-thumb .btn-cart.btn.mm-step:hover {
  background: #1A3352 !important;
  background-color: #1A3352 !important;
  background-image: none !important;
  box-shadow: 0 3px 10px rgba(14, 27, 44, .34) !important;
  border: 0 !important;
}
.main-products.product-grid .product-thumb .btn-cart.btn.mm-step:active,
.main-products .product-thumb .btn-cart.btn.mm-step:active {
  background: #223D5E !important;
  background-color: #223D5E !important;
  background-image: none !important;
  border: 0 !important;
}

/* --- 2. сердечко: не чёрный круг при наведении, а оранжевая подсветка --- */
.main-products.product-grid .product-thumb .wish-group .btn-wishlist.btn,
.main-products .product-thumb .wish-group .btn-wishlist.btn {
  background-color: rgba(255, 255, 255, .94) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: 16px 16px !important;
  border: 1px solid rgba(14, 27, 44, .10) !important;
  box-shadow: 0 2px 8px rgba(14, 27, 44, .14) !important;
  transform: scale(1) !important;
  transform-origin: center center !important;
  transition: background-color .16s ease, box-shadow .16s ease, border-color .16s ease, transform .16s ease !important;
}
.main-products.product-grid .product-thumb .wish-group .btn-wishlist.btn:hover,
.main-products.product-grid .product-thumb .wish-group .btn-wishlist.btn:focus,
.main-products .product-thumb .wish-group .btn-wishlist.btn:hover {
  background-color: #fff !important;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23F59E0B' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.4 5.6a5.1 5.1 0 0 0-7.2 0L12 6.8l-1.2-1.2a5.1 5.1 0 0 0-7.2 7.2L12 21.2l8.4-8.4a5.1 5.1 0 0 0 0-7.2Z'/%3E%3C/svg%3E") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: 16px 16px !important;
  border-color: #F59E0B !important;
  box-shadow: 0 0 0 2px #F59E0B, 0 3px 10px rgba(245, 158, 11, .28) !important;
  color: #F59E0B !important;
  transform: scale(1.09) !important;
}
/* выбранное: янтарный круг с белым сердцем + белая окантовка, чтобы не сливалось с фото */
.main-products.product-grid .product-thumb .wish-group .btn-wishlist.btn.mm-fav-on,
.main-products .product-thumb .wish-group .btn-wishlist.btn.mm-fav-on {
  background-color: #F59E0B !important;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%23ffffff' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.4 5.6a5.1 5.1 0 0 0-7.2 0L12 6.8l-1.2-1.2a5.1 5.1 0 0 0-7.2 7.2L12 21.2l8.4-8.4a5.1 5.1 0 0 0 0-7.2Z'/%3E%3C/svg%3E") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: 16px 16px !important;
  border-color: #fff !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .95), 0 3px 10px rgba(245, 158, 11, .35) !important;
}
.main-products.product-grid .product-thumb .wish-group .btn-wishlist.btn.mm-fav-on:hover,
.main-products .product-thumb .wish-group .btn-wishlist.btn.mm-fav-on:hover {
  background-color: #F59E0B !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: 16px 16px !important;
  border-color: #fff !important;
  transform: scale(1.09) !important;
}

/* --- 3. убираем «крутящийся» текст при добавлении в корзину --- */
.main-products .product-thumb .btn-cart.disabled,
.main-products .product-thumb .btn-cart.btn.disabled {
  opacity: 1 !important;
  pointer-events: none !important;
}
.main-products.product-grid .product-thumb .btn-cart.btn.disabled::after,
.main-products .product-thumb .btn-cart.disabled::after {
  content: 'В корзину' !important;
  animation: none !important;
  -webkit-animation: none !important;
  font-family: inherit !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #fff !important;
}
.main-products .product-thumb .btn-cart.mm-step.disabled::after,
.main-products .product-thumb .btn-cart.mm-step::after {
  content: none !important;
  animation: none !important;
}
.main-products .product-thumb .btn-cart::after,
.main-products .product-thumb .btn-cart::before,
.main-products .product-thumb .btn-wishlist::after,
.main-products .product-thumb .btn-wishlist::before {
  animation: none !important;
  -webkit-animation: none !important;
}
.main-products .product-layout.out-of-stock .product-thumb .btn-cart.disabled::after {
  content: 'Нет в наличии' !important;
  color: #94A3B8 !important;
}

/* =====================================================================
   v15. Мобильная мини-корзина: фото 3:4 слева, название справа (3 строки),
   под ним количество · цена · крестик; итоги без «Промежуточный итог»;
   кнопки друг под другом, скруглённые, красная + янтарная.
   ===================================================================== */
@media (max-width: 1024px) {
  .mobile-cart-content-wrapper { background: #132234 !important; padding: 0 !important; }

  .mobile-cart-content-wrapper > #cart-content,
  .mobile-cart-content-wrapper > .cart-content { display: none !important; height: 0 !important; padding: 0 !important; margin: 0 !important; }

  .mobile-cart-content-wrapper > ul {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .mobile-cart-content-wrapper .cart-products {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }

  .mobile-cart-content-wrapper .cart-products table,
  .mobile-cart-content-wrapper .cart-products tbody {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .mobile-cart-content-wrapper .cart-products tr {
    display: grid !important;
    grid-template-columns: 54px minmax(0, 1fr) auto 30px;
    grid-template-rows: auto auto;
    column-gap: 9px !important;
    row-gap: 5px !important;
    align-items: start !important;
    padding: 11px 12px !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
    background: transparent !important;
  }

  .mobile-cart-content-wrapper .cart-products td {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left !important;
  }

  /* фото 3:4 слева на две строки */
  .mobile-cart-content-wrapper .td-image {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
  }
  .mobile-cart-content-wrapper .td-image a { display: block !important; }
  .mobile-cart-content-wrapper .td-image img {
    width: 51px !important;
    height: 68px !important;
    max-width: none !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    display: block !important;
  }

  /* название справа, максимум три строки */
  .mobile-cart-content-wrapper .td-name {
    grid-column: 2 / span 3 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
  }
  .mobile-cart-content-wrapper .td-name a {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    font-size: 12.5px !important;
    line-height: 1.3 !important;
    color: #fff !important;
    text-decoration: none !important;
  }

  /* количество · цена · крестик второй строкой */
  .mobile-cart-content-wrapper .td-qty {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: center !important;
    font-size: 12px !important;
    color: #93A1B5 !important;
    white-space: nowrap !important;
  }
  .mobile-cart-content-wrapper .td-total {
    grid-column: 3 !important;
    grid-row: 2 !important;
    align-self: center !important;
    justify-self: end !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #fff !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
  }
  .mobile-cart-content-wrapper .td-remove {
    grid-column: 4 !important;
    grid-row: 2 !important;
    align-self: center !important;
    justify-self: end !important;
  }
  .mobile-cart-content-wrapper .td-remove button,
  .mobile-cart-content-wrapper .td-remove .cart-remove {
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #93A1B5 !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }

  /* итоги */
  .mobile-cart-content-wrapper .cart-totals { padding: 0 !important; margin: 0 !important; }
  .mobile-cart-content-wrapper .cart-totals > div {
    background: #0E1B2C !important;
    border-radius: 14px !important;
    margin: 8px !important;
    padding: 10px 12px 14px !important;
  }
  .mobile-cart-content-wrapper .cart-totals table { width: 100% !important; margin: 0 !important; border: 0 !important; }
  .mobile-cart-content-wrapper .cart-totals td { padding: 3px 0 !important; border: 0 !important; }
  .mobile-cart-content-wrapper .cart-totals .td-total-title {
    font-size: 12px !important;
    color: #93A1B5 !important;
    text-align: left !important;
  }
  .mobile-cart-content-wrapper .cart-totals .td-total-text {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #fff !important;
    white-space: nowrap !important;
    text-align: right !important;
  }

  /* кнопки: друг под другом, скруглённые, красная и янтарная */
  .mobile-cart-content-wrapper .cart-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }
  .mobile-cart-content-wrapper .cart-buttons .btn {
    width: 100% !important;
    flex: 0 0 auto !important;
    height: 44px !important;
    border-radius: 12px !important;
    border: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    padding: 0 !important;
    background-image: none !important;
    box-shadow: none !important;
  }
  .mobile-cart-content-wrapper .cart-buttons .btn-cart {
    background: #E8232A !important;
    color: #fff !important;
  }
  .mobile-cart-content-wrapper .cart-buttons .btn-checkout {
    background: #F59E0B !important;
    color: #221703 !important;
  }
  .mobile-cart-content-wrapper .cart-buttons .btn:hover,
  .mobile-cart-content-wrapper .cart-buttons .btn:focus {
    opacity: .94;
  }
  .mobile-cart-content-wrapper .cart-buttons .btn i { display: none !important; }
}

/* =====================================================================
   v15. Шапка телефона: соцсети прижаты к правому краю, кнопка фильтра
   ===================================================================== */
@media (max-width: 1024px) {
  html.mobile-header-active .mobile-top-bar {
    justify-content: flex-start !important;
    padding-right: 8px !important;
  }
  html.mobile-header-active .mobile-top-bar .mobile-top-menu-wrapper {
    width: 100% !important;
    max-width: none !important;
    flex: 1 1 100% !important;
  }
  html.mobile-header-active .mobile-top-bar .j-menu {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
  }
  html.mobile-header-active .mobile-top-bar .j-menu > li {
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 3px !important;
  }
  /* первый из трёх значков уезжает вправо, остальные — следом */
  html.mobile-header-active .mobile-top-bar .j-menu > li:nth-last-child(3) {
    margin-left: auto !important;
    padding-left: 6px !important;
  }
  html.mobile-header-active .mobile-top-bar .j-menu > li:last-child {
    padding-right: 0 !important;
  }
  html.mobile-header-active .mobile-top-bar .j-menu > li > a { padding: 0 2px !important; }
  html.mobile-header-active .mobile-top-bar .j-menu > li > a .links-text { margin: 0 !important; }

  /* кнопка фильтра в полосе */
  .mobile-header-active .mm-mfilter-btn {
    order: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #fff !important;
    cursor: pointer !important;
  }
  .mobile-header-active .mm-mfilter-btn svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    color: #fff !important;
    stroke: #fff !important;
  }
  .mobile-header-active .mm-mfilter-btn:active { background: rgba(255, 255, 255, .16) !important; }

  /* открытая шторка фильтра */
  html.mobile-filter-container-open .mobile-filter-container {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: 88% !important;
    max-width: 360px !important;
    background: #fff !important;
    opacity: 1 !important;
    transform: none !important;
    -webkit-transform: none !important;
    z-index: 1200 !important;
    overflow-y: auto !important;
    box-shadow: -10px 0 30px rgba(14, 27, 44, .28) !important;
  }
  html.mobile-filter-container-open .mobile-filter-wrapper {
    padding: 8px 12px 24px !important;
    display: block !important;
  }
  html.mobile-filter-container-open .mobile-filter-wrapper .module-filter {
    display: block !important;
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
  }
  .mobile-filter-container-open .mobile-wrapper-header .mm-filter-close { display: none !important; }
  html.mobile-filter-container-open .mobile-wrapper-header .x,
  html.mobile-filter-container-open .mobile-wrapper-header .close {
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 20px !important;
    line-height: 1 !important;
    text-decoration: none !important;
  }
  .mobile-filter-container-open .mobile-wrapper-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 48px !important;
    padding: 0 12px !important;
    border-bottom: 1px solid #E2E8F0 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0E1B2C !important;
  }
}
/* =====================================================================
   v16. Правки по телефону
   ===================================================================== */

/* --- 1. карточка: ровно три строки названия, без «полоски» четвёртой --- */
.main-products .product-thumb .name {
  max-height: calc(3 * 1.3em) !important;
  overflow: hidden !important;
}
.main-products .product-thumb .name a {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  max-height: calc(3 * 1.3em) !important;
}

/* --- 2. шторка корзины: блок итогов и кнопок поднят выше --- */
@media (max-width: 1024px) {
  .mobile-cart-content-wrapper .cart-totals { padding-bottom: 46px !important; }
  .mobile-cart-content-wrapper .cart-totals > div { margin: 6px 8px 0 !important; padding: 8px 12px 10px !important; }
  .mobile-cart-content-wrapper .cart-buttons { gap: 6px !important; margin-top: 6px !important; }
  .mobile-cart-content-wrapper .cart-buttons .btn { height: 40px !important; }
  .mobile-cart-content-wrapper .cart-totals .td-total-title,
  .mobile-cart-content-wrapper .cart-totals .td-total-text { font-size: 13px !important; }
}

/* --- 3. шторка фильтра: своё открытие, слева, без затемнения темы --- */
.mm-filter-backdrop {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 27, 44, .45);
  z-index: 1990;
  display: none;
}
html.mm-filter-open .mm-filter-backdrop { display: block; }

html.mm-filter-open .mobile-filter-container {
  display: block !important;
  position: fixed !important;
  left: 0 !important;
  right: auto !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 88% !important;
  max-width: 380px !important;
  height: 100dvh !important;
  background: #fff !important;
  opacity: 1 !important;
  transform: none !important;
  -webkit-transform: none !important;
  z-index: 2000 !important;
  overflow-y: auto !important;
  box-shadow: 10px 0 30px rgba(14, 27, 44, .28) !important;
}
html.mm-filter-open .mobile-filter-wrapper {
  display: block !important;
  padding: 8px 12px 30px !important;
}
html.mm-filter-open .mobile-filter-wrapper .module-filter {
  display: block !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}
html.mm-filter-open .mobile-wrapper-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 52px !important;
  padding: 0 14px !important;
  background: #0E1B2C !important;
  border-bottom: 1px solid rgba(255, 255, 255, .10) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #fff !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 2 !important;
}
/* крестик темы внутри шторки скрываем — у нас свой */
html.mm-filter-open .mobile-filter-container .x,
html.mm-filter-open .mobile-filter-container .close { display: none !important; }

html.mm-filter-open .mobile-wrapper-header .mm-filter-close {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  color: #fff !important;
  background: rgba(255, 255, 255, .12) !important;
  border: 0 !important;
  border-radius: 10px !important;
  font-size: 20px !important;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

/* =====================================================================
   v17b. Мини-корзина на телефоне: одна прокручиваемая область,
   «Всего» и кнопки — последним блоком, под ними ничего нет.
   ===================================================================== */
@media (max-width: 1024px) {
  .mobile-cart-content-wrapper {
    display: block !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 0 !important;
  }

  .mobile-cart-content-wrapper > ul {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .mobile-cart-content-wrapper .cart-products {
    display: block !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .mobile-cart-content-wrapper .cart-totals {
    position: static !important;
    margin: 0 !important;
    padding: 0 0 14px !important;
    background: #132234 !important;
  }

  .mobile-cart-content-wrapper .cart-totals > div {
    margin: 6px 8px 0 !important;
    padding: 8px 12px 10px !important;
  }
}

/* фильтр: отступ под полосу прокрутки */
html.mm-filter-open .mobile-filter-wrapper {
  padding: 8px 22px 30px 14px !important;
}

/* --- v18: в шапке шторки только наш крестик, остальные скрыть --- */
html.mm-filter-open .mobile-filter-container [class*="close"]:not(.mm-filter-close),
html.mm-filter-open .mobile-filter-container [class*="popup-close"],
html.mm-filter-open .mobile-filter-container > .x {
  display: none !important;
}

/* --- v19: второй крестик в шапке фильтра — это псевдоэлемент темы --- */
html.mm-filter-open .mobile-wrapper-header::before,
html.mm-filter-open .mobile-wrapper-header::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* --- v20: перекрываем «фантомный» второй крестик темы полосой того же цвета --- */
html.mm-filter-open .mobile-wrapper-header {
  position: sticky !important;
  overflow: hidden !important;
}
html.mm-filter-open .mobile-wrapper-header::after {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 56px !important;
  height: 100% !important;
  background: #0E1B2C !important;
  z-index: 1 !important;
  pointer-events: none !important;
}
html.mm-filter-open .mobile-wrapper-header .mm-filter-close {
  position: relative !important;
  z-index: 2 !important;
}

/* --- v21: своя шапка шторки, шапку темы скрываем целиком --- */
html.mm-filter-open .mobile-filter-container .mobile-wrapper-header {
  display: none !important;
}
html.mm-filter-open .mm-filter-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 52px !important;
  padding: 0 12px 0 16px !important;
  background: #0E1B2C !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 5 !important;
}
html.mm-filter-open .mm-filter-head .mm-filter-title {
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  color: #fff !important;
  text-transform: uppercase !important;
}
html.mm-filter-open .mm-filter-head .mm-filter-close {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  color: #fff !important;
  background: rgba(255, 255, 255, .12) !important;
  border-radius: 10px !important;
  font-size: 20px !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

/* =====================================================================
   v22. Мини-корзина: список товаров прокручивается внутри,
   итоги и кнопки всегда ниже списка и видны. Фильтр: один скроллбар.
   ===================================================================== */
@media (max-width: 1024px) {
  .mobile-cart-content-wrapper {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }
  .mobile-cart-content-wrapper .cart-products {
    max-height: calc(100dvh - 365px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 0 !important;
  }
}

/* фильтр: скроллится только внутренняя часть, край панели — без скроллбара */
html.mm-filter-open .mobile-filter-container {
  overflow: hidden !important;
  overflow-y: hidden !important;
}
html.mm-filter-open .mobile-filter-wrapper {
  height: calc(100dvh - 52px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 8px 20px 30px 14px !important;
  box-sizing: border-box !important;
}
html.mm-filter-open .mobile-filter-wrapper .module-filter,
html.mm-filter-open .mobile-filter-wrapper .panel-body,
html.mm-filter-open .mobile-filter-wrapper .module-body {
  max-height: none !important;
  overflow: visible !important;
}

/* =====================================================================
   v23. Тема добавляет списку товаров padding-bottom = высоте блока итогов,
   из-за этого «Оформить заказ» уезжает вниз. Гасим этот отступ.
   ===================================================================== */
@media (max-width: 1024px) {
  .mobile-cart-content-wrapper .cart-products {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  .mobile-cart-content-wrapper .cart-products table {
    margin-bottom: 0 !important;
  }
}

/* =====================================================================
   v24. Фильтр на телефоне: длинные списки ограничены по высоте и
   прокручиваются внутри, как на десктопе.
   ===================================================================== */
html.mm-filter-open .mobile-filter-wrapper .module-item[class*="module-item-f"] .panel-body,
html.mm-filter-open .mobile-filter-wrapper .module-item .panel-body {
  max-height: 240px !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}
html.mm-filter-open .mobile-filter-wrapper .module-filter,
html.mm-filter-open .mobile-filter-wrapper .module-body {
  max-height: none !important;
  overflow: visible !important;
}
html.mm-filter-open .mobile-filter-wrapper .panel-body::-webkit-scrollbar { width: 4px !important; }
html.mm-filter-open .mobile-filter-wrapper .panel-body::-webkit-scrollbar-thumb {
  background: #CBD5E1 !important;
  border-radius: 2px !important;
}

/* =====================================================================
   v25. Галерея в плитке: до 5 фото, переключение точками
   ===================================================================== */
.main-products .product-thumb .image { position: relative !important; }

.mm-gal-dots {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 9px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  z-index: 5 !important;
  pointer-events: auto !important;
}
.mm-gal-dot {
  display: block !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .82) !important;
  box-shadow: 0 0 0 1px rgba(14, 27, 44, .20) !important;
  cursor: pointer !important;
  transition: width .15s ease, background .15s ease !important;
}
.mm-gal-dot.is-active {
  width: 16px !important;
  border-radius: 4px !important;
  background: #F59E0B !important;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, .55) !important;
}

@media (max-width: 760px) {
  .mm-gal-dots { bottom: 6px !important; gap: 4px !important; }
  .mm-gal-dot { width: 6px !important; height: 6px !important; }
  .mm-gal-dot.is-active { width: 14px !important; }
}

/* =====================================================================
   v26. Плитка: убираем «белый экран» при наведении.
   Тема на hover прячет все картинки в .has-second-image и показывает
   только .img-second, а мы его скрываем — получался пустой блок.
   ===================================================================== */
.product-thumb:hover .has-second-image img.img-first,
.product-thumb:hover .has-second-image img.img-responsive.img-first,
.main-products .product-thumb:hover .has-second-image img.img-first,
.main-products .product-thumb .product-img .img-first {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}
.product-thumb:hover .has-second-image img.img-second,
.main-products .product-thumb .product-img .img-second {
  visibility: hidden !important;
  display: none !important;
}

/* =====================================================================
   v27. Плитка: анимация перелистывания фото (свайп на телефоне)
   ===================================================================== */
.main-products .product-thumb .product-img > div {
  position: relative !important;
  overflow: hidden !important;
}
.main-products .product-thumb .product-img .img-first {
  will-change: transform;
}
.mm-gal-ghost {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  opacity: 0;
  pointer-events: none !important;
  will-change: transform;
  z-index: 1;
}

/* =====================================================================
   v28. При наведении тема скрывает ВСЕ картинки в .has-second-image
   (visibility:hidden), включая подложку анимации — на компьютере
   перелистывание шло через белый экран. Возвращаем видимость подложке.
   ===================================================================== */
.main-products .product-thumb:hover .has-second-image img.mm-gal-ghost,
.main-products .product-thumb .product-img .mm-gal-ghost,
.main-products .product-thumb .image .mm-gal-ghost,
.mm-gal-ghost {
  visibility: visible !important;
  display: block !important;
}

/* =====================================================================
   v29. Телефон, режим «по одной карточке» (список): крупный шрифт
   для слабовидящих, три строки названия, без описания и доп. ссылок.
   ===================================================================== */
@media (max-width: 760px) {
  .main-products.product-list .product-layout {
    width: 100% !important;
    float: none !important;
  }

  /* название — три строки, крупно */
  .main-products.product-list .product-thumb .name {
    min-height: 0 !important;
    max-height: calc(3 * 1.25em) !important;
    overflow: hidden !important;
    margin: 8px 0 10px !important;
  }
  .main-products.product-list .product-thumb .name a {
    font-size: 20px !important;
    line-height: 1.25 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* год и издатель */
  .main-products.product-list .product-thumb .stats {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-bottom: 8px !important;
  }
  .main-products.product-list .product-thumb .stats span,
  .main-products.product-list .product-thumb .stats a,
  .main-products.product-list .product-thumb .stats .stats-label {
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  /* цена и наличие */
  .main-products.product-list .product-thumb .price {
    height: auto !important;
    min-height: 0 !important;
  }
  .main-products.product-list .product-thumb .price .price-normal,
  .main-products.product-list .product-thumb .price .price-new,
  .main-products.product-list .product-thumb .price .price-old {
    font-size: 26px !important;
    line-height: 1.2 !important;
  }
  .main-products.product-list .product-thumb .price::after,
  .main-products.product-list .product-thumb .price-tax,
  .main-products.product-list .product-thumb .product-stock {
    font-size: 16px !important;
  }

  /* кнопка «В корзину» */
  .main-products.product-list .product-thumb .btn-cart {
    height: 52px !important;
  }
  .main-products.product-list .product-thumb .btn-cart::after {
    font-size: 17px !important;
  }
  .main-products.product-list .product-thumb .btn-cart.mm-step .mm-step-val {
    font-size: 18px !important;
  }
  .main-products.product-list .product-thumb .btn-cart.mm-step .mm-step-btn {
    font-size: 26px !important;
  }

  /* убираем описание и дополнительные ссылки */
  .main-products.product-list .product-thumb .description,
  .main-products.product-list .product-thumb .extra-group {
    display: none !important;
  }
}

/* --- v30: название в режиме списка — нормальный перенос и три строки --- */
@media (max-width: 760px) {
  .main-products.product-list .product-thumb .name a {
    white-space: normal !important;
    word-break: break-word !important;
    text-overflow: clip !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
    max-height: calc(3 * 1.25em) !important;
  }
  .main-products.product-list .product-thumb .name {
    max-height: calc(3 * 1.25em) !important;
    overflow: hidden !important;
  }
}

/* --- v31: правильная высота блока названия (em считался от мелкого шрифта) --- */
@media (max-width: 760px) {
  .main-products.product-list .product-thumb .name {
    font-size: 20px !important;
    line-height: 1.25 !important;
    max-height: 75px !important;
    overflow: hidden !important;
  }
  .main-products.product-list .product-thumb .name a {
    font-size: 20px !important;
    line-height: 1.25 !important;
    max-height: 75px !important;
  }
}

/* =====================================================================
   v32. Режим списка на телефоне: кнопка «В корзину» не обрезается.
   В сеточном режиме высоты обёрток кнопки жёстко зафиксированы (38/44 px)
   ради ровных рядов — в списке это обрезало высокую кнопку.
   ===================================================================== */
@media (max-width: 760px) {
  .main-products.product-list .product-thumb .buttons-wrapper,
  .main-products.product-list .product-thumb .button-group,
  .main-products.product-list .product-thumb .cart-group {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 6px !important;
  }
  .main-products.product-list .product-thumb .caption {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 12px !important;
  }
  .main-products.product-list .product-thumb .btn-cart {
    overflow: visible !important;
    max-height: none !important;
  }
}

/* =====================================================================
   v33. Список на телефоне: пропорции и отступы как в сетке (только крупнее).
   Убираем лишнее белое поле под кнопкой, цену отодвигаем от линии.
   ===================================================================== */
@media (max-width: 760px) {
  .main-products.product-list .product-thumb .caption {
    padding: 12px 12px 12px !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .main-products.product-list .product-thumb .price {
    padding-top: 12px !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .main-products.product-list .product-thumb .buttons-wrapper {
    padding: 12px 0 0 !important;
    padding-bottom: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .main-products.product-list .product-thumb .button-group,
  .main-products.product-list .product-thumb .cart-group {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  .main-products.product-list .product-thumb .btn-cart {
    margin-bottom: 0 !important;
  }
}

/* --- v34: цена в режиме списка не обрезается снизу --- */
@media (max-width: 760px) {
  .main-products.product-list .product-thumb .price,
  .main-products.product-list .product-thumb .price > div,
  .main-products.product-list .product-thumb .price .price-normal,
  .main-products.product-list .product-thumb .price .price-new,
  .main-products.product-list .product-thumb .price::after {
    line-height: 1.45 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .main-products.product-list .product-thumb .price {
    padding-bottom: 2px !important;
    align-items: center !important;
  }
}

/* =====================================================================
   v35. Мобильный баннер: не сдвиг, а наложение — новый проявляется
   поверх неподвижного старого (углы картинок не «срезаются»).
   ===================================================================== */
@media (max-width: 1024px) {
  .mm-hero-car {
    display: block !important;
    position: relative !important;
    height: 190px !important;
    overflow: hidden !important;
    scroll-snap-type: none !important;
    touch-action: pan-y !important;
  }
  .mm-hero {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    flex: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 1 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }
  .mm-hero.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2 !important;
  }
  .mm-hero.is-in {
    z-index: 3 !important;
    will-change: clip-path;
  }
}

/* =====================================================================
   v36. Баннер на компьютере: рамка со скруглением клипует кадр,
   поэтому при сдвиге слайдов прямых углов больше не видно.
   ===================================================================== */
.module-master_slider-26 {
  border-radius: 20px !important;
  overflow: hidden !important;
}
.module-master_slider-26 .ms-view,
.module-master_slider-26 .master-slider,
.module-master_slider-26 .ms-container,
.module-master_slider-26 .ms-slide,
.module-master_slider-26 .ms-slide-bg {
  border-radius: 20px !important;
  overflow: hidden !important;
}

/* =====================================================================
   v37. Телефон: кнопка «Сбросить» в шапке фильтра + ровные карточки
   в сетке, когда у товара нет года и издателя.
   ===================================================================== */

/* кнопка сброса в шапке шторки */
html.mm-filter-open .mm-filter-head .mm-filter-reset,
html.mm-filter-open .mm-filter-head .reset-filter {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 30px !important;
  padding: 0 12px !important;
  margin: 0 8px 0 auto !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: rgba(245, 158, 11, .16) !important;
  color: #FFD08A !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  cursor: pointer !important;
}
html.mm-filter-open .mm-filter-head .mm-filter-reset:hover,
html.mm-filter-open .mm-filter-head .reset-filter:hover {
  background: rgba(245, 158, 11, .26) !important;
}

/* сетка на телефоне: строка «год/издатель» занимает место всегда */
@media (max-width: 760px) {
  .main-products.product-grid .product-thumb .stats,
  .main-products.product-grid .product-thumb .stats.mm-stats-empty {
    display: block !important;
    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    overflow: hidden !important;
    margin: 6px 0 6px !important;
    line-height: 20px !important;
  }
  .main-products.product-grid .product-thumb .stats span {
    line-height: 20px !important;
  }
}

/* =====================================================================
   v38. Карточка товара: кнопки видео и встроенный плеер в окне фото
   ===================================================================== */
.route-product-product .product-info .main-image { position: relative !important; }

.mm-pvideo-btns {
  position: absolute !important;
  left: 10px !important;
  top: 10px !important;
  z-index: 12 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}
.mm-pvideo-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 32px !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(14, 27, 44, .82) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 10px rgba(14, 27, 44, .28) !important;
  transition: background .15s ease !important;
}
.mm-pvideo-btn:hover { background: #E8232A !important; }
.mm-pvideo-btn-cover { background: rgba(245, 158, 11, .92) !important; color: #221703 !important; }
.mm-pvideo-btn-cover:hover { background: #F59E0B !important; }
.mm-pvideo-ico { font-size: 10px !important; line-height: 1 !important; }

.mm-pvideo {
  position: absolute !important;
  inset: 0 !important;
  display: none !important;
  background: #000 !important;
  z-index: 20 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}
.mm-pvideo.is-open { display: block !important; }
.mm-pvideo video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  background: #000 !important;
}
.mm-pvideo-close {
  position: absolute !important;
  right: 8px !important;
  top: 8px !important;
  width: 32px !important;
  height: 32px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .9) !important;
  color: #0E1B2C !important;
  font-size: 20px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  z-index: 2 !important;
}

/* =====================================================================
   v39. Видео: переключатель нескольких обзоров и видеообложка
   при наведении на карточку в плитке.
   ===================================================================== */

/* переключатель обзоров внутри плеера */
.mm-pvideo-list {
  position: absolute !important;
  left: 10px !important;
  bottom: 44px !important;
  display: none !important;
  gap: 6px !important;
  z-index: 3 !important;
}
.mm-pvideo-list.is-shown { display: flex !important; }
.mm-pvideo-item {
  width: 30px !important;
  height: 30px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .85) !important;
  color: #0E1B2C !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}
.mm-pvideo-item.is-active {
  background: #F59E0B !important;
  color: #221703 !important;
}

/* видеообложка поверх фото в плитке */
.main-products .product-thumb .product-img > div { position: relative !important; overflow: hidden !important; }
.mm-card-cover {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: 3 !important;
  transition: opacity .18s ease !important;
}
.mm-card-cover.is-on {
  opacity: 1 !important;
  visibility: visible !important;
}

/* =====================================================================
   v40. Видеообложка в плитке: не увеличивается вместе с фото и
   прячет точки галереи, пока идёт проигрывание.
   ===================================================================== */
.main-products .product-thumb .image { position: relative !important; }

.main-products .product-thumb .mm-card-cover {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  transform: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: 3 !important;
  transition: opacity .18s ease !important;
}
.main-products .product-thumb .mm-card-cover.is-on {
  opacity: 1 !important;
  visibility: visible !important;
}

/* пока играет обложка — точки скрыты */
.main-products .product-thumb.mm-cover-on .mm-gal-dots {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
