/* =====================================================
   00. БАЗА / ПЕРЕМЕННЫЕ / ОБЩИЙ СТИЛЬ
===================================================== */
:root {
  --sv-width: 1140px;
  --sv-bg: #FAFAFA;
  --sv-white: #FFFFFF;
  --sv-text: #1E183A;
  --sv-muted: #5A5A5A;
  --sv-light-text: #838383;
  --sv-pink: #FF2A57;
  --sv-yellow: #FFB200;
  --sv-yellow-light: #FFFFFF;
  --sv-gray-bg: #F7F5F4;
  --sv-gray-hover: #EFEAE6;
  --sv-border: #D9D9D9;
  --sv-border-soft: #E8E2DC;
  --sv-radius-small: 6px;
  --sv-radius-medium: 8px;
  --sv-radius-large: 16px;
  --sv-radius-pill: 999px;
  --sv-shadow-card: 0 4px 10px rgba(0,0,0,0.08);
  --sv-shadow-soft: 0 4px 12px rgba(30,24,58,0.06);
  --sv-shadow-hover: 0 10px 25px rgba(0,0,0,0.15);
  --sv-font: Inter, sans-serif;
}
html,
body {
  background: var(--sv-bg) !important;
  font-family: var(--sv-font) !important;
  color: var(--sv-text) !important;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
a {
  text-decoration: none;
}
.site,
.site-content,
.content-area,
.site-main,
main,
.elementor,
.elementor-section,
.elementor-container,
.elementor-widget-wrap {
  background-color: transparent !important;
}
.elementor-location-single,
.elementor-location-archive,
.elementor-location-footer,
.elementor-location-header {
  background: var(--sv-bg) !important;
}
/* Скрыть стандартную ссылку WooCommerce "Мои заявки / View cart" после добавления */
.woocommerce a.added_to_cart,
.woocommerce a.added_to_cart.wc-forward,
ul.products li.product a.added_to_cart,
ul.products li.product a.added_to_cart.wc-forward {
  display: none !important;
}
/* Убрать стандартные result count и sorting */
.woocommerce-result-count,
.woocommerce-ordering {
  display: none !important;
}
/* =====================================================
   01. ТОПБАР И ШАПКА
===================================================== */
.site-header-wrap {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  background: var(--sv-bg) !important;
  position: relative !important;
  z-index: 9999 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
/* Верхний серый топбар */
.header-topbar {
  width: var(--sv-width) !important;
  max-width: var(--sv-width) !important;
  height: 36px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-family: var(--sv-font) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--sv-muted) !important;
  background: var(--sv-bg) !important;
  position: relative !important;
  z-index: 99998 !important;
  box-sizing: border-box !important;
}
.header-topbar::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: calc(50% - 50vw) !important;
  width: 100vw !important;
  background: var(--sv-bg) !important;
  z-index: -1 !important;
}
.header-topbar a {
  color: var(--sv-muted) !important;
  text-decoration: none !important;
}
.header-topbar a:hover {
  color: var(--sv-text) !important;
}
.topbar-location {
  display: inline-flex !important;
  align-items: center !important;
  gap: 16px !important;
}
.topbar-pin {
  width: 14px !important;
  height: 18px !important;
  display: inline-block !important;
  position: relative !important;
  flex: 0 0 14px !important;
  margin-right: 0 !important;
  top: 1px !important;
}
.topbar-pin::before {
  content: "" !important;
  width: 14px !important;
  height: 14px !important;
  border: 1.5px solid #8C8C8C !important;
  border-radius: 50% 50% 50% 0 !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  transform: rotate(-45deg) !important;
  box-sizing: border-box !important;
}
.topbar-pin::after {
  content: "" !important;
  width: 4px !important;
  height: 4px !important;
  background: #8C8C8C !important;
  border-radius: 50% !important;
  position: absolute !important;
  left: 5px !important;
  top: 5px !important;
}
.topbar-right {
  display: inline-flex !important;
  align-items: center !important;
  gap: 28px !important;
}
.topbar-phone {
  font-weight: 700 !important;
  color: var(--sv-text) !important;
}
/* Белая основная шапка на всю ширину */
.header-full-bg {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  background: var(--sv-white) !important;
  position: relative !important;
  z-index: 99997 !important;
  box-sizing: border-box !important;
}
.header-full-bg .headerflexbox,
.headerflexbox {
  width: var(--sv-width) !important;
  max-width: var(--sv-width) !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  background: var(--sv-white) !important;
  padding: 10px 14px !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 10 !important;
}
/* Логотип */
.headerflexbox .glog img,
.glog img,
.headerflexbox img[src*="logo"],
.headerflexbox img[alt*="Страшно"],
.headerflexbox img[alt*="лого"] {
  width: 110px !important;
  max-width: 110px !important;
  height: auto !important;
  display: block !important;
  transform: none !important;
  cursor: pointer !important;
}
/* Иконки в шапке и каталоге */
.headerflexbox .menu-item-with-image img,
.headerflexbox .mega-sub-menu img,
.headerflexbox .mega-menu img,
.home .menu-item-with-image img,
.home .mega-sub-menu img,
.home .mega-menu img {
  width: 30px !important;
  max-width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  object-fit: contain !important;
  display: block !important;
  position: static !important;
  transform: none !important;
}
/* =====================================================
   02. КНОПКА КАТАЛОГ И ВЫПАДАЮЩЕЕ МЕНЮ
===================================================== */
.menu-catalog,
.menu-catalog:hover,
.menu-catalog:focus,
.menu-catalog.mega-toggle-on,
.menu-catalog > a,
.menu-catalog > a:hover,
.menu-catalog > a:focus,
.menu-catalog .mega-menu-link,
.menu-catalog .mega-menu-link:hover,
.menu-catalog .mega-menu-link:focus {
  background: var(--sv-white) !important;
  background-color: var(--sv-white) !important;
  box-shadow: none !important;
  border: none !important;
}
.menu-catalog {
  position: relative !important;
}
.menu-catalog > a,
.menu-catalog .mega-menu-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  height: 44px !important;
  padding: 0 12px 0 42px !important;
  margin: 0 !important;
  font-family: var(--sv-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-transform: none !important;
  color: var(--sv-pink) !important;
  white-space: nowrap !important;
  width: auto !important;
  position: relative !important;
}
.menu-catalog > a::after,
.menu-catalog .mega-menu-link::after {
  content: none !important;
}
/* Бургер */
.menu-catalog > a::before,
.menu-catalog .mega-menu-link::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 24px !important;
  height: 14px !important;
  background:
    linear-gradient(var(--sv-pink), var(--sv-pink)) 0 0 / 24px 3px no-repeat,
    linear-gradient(var(--sv-pink), var(--sv-pink)) 0 50% / 24px 3px no-repeat,
    linear-gradient(var(--sv-pink), var(--sv-pink)) 0 100% / 24px 3px no-repeat !important;
}
.menu-catalog > a .mega-indicator,
.menu-catalog .mega-menu-link .mega-indicator {
  margin-left: 6px !important;
}
.menu-catalog .mega-indicator::after {
  color: var(--sv-pink) !important;
  font-size: 12px !important;
}
/* Белое выпадающее меню */
.menu-catalog .mega-sub-menu {
  width: 1200px !important;
  min-width: 1200px !important;
  max-width: 1200px !important;
  left: -158px !important;
  right: auto !important;
  transform: translateX(-20px) !important;
  padding: 18px 22px !important;
  margin-top: 10px !important;
  min-height: 200px !important;
  background: var(--sv-white) !important;
  border: none !important;
  border-radius: var(--sv-radius-medium) !important;
  box-shadow: 0 4px 9px rgba(0,0,0,0.11) !important;
  z-index: 9999 !important;
}
/* Убрать лишние фоны внутри */
.menu-catalog .mega-sub-menu *,
.menu-catalog .mega-sub-menu ul,
.menu-catalog .mega-sub-menu li,
.menu-catalog .mega-sub-menu > li,
.menu-catalog .mega-sub-menu > li.mega-menu-column {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
.menu-catalog .mega-sub-menu > li.mega-menu-column {
  position: relative !important;
  left: 35px !important;
  transform: none !important;
  float: left !important;
  width: 220px !important;
  min-width: 220px !important;
  max-width: 220px !important;
  vertical-align: top !important;
}
.menu-catalog .mega-sub-menu ul {
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  left: 0 !important;
  transform: none !important;
}
.menu-catalog .mega-sub-menu li {
  list-style: none !important;
  margin: 0 0 2px 0 !important;
  padding: 0 !important;
  position: relative !important;
  left: 0 !important;
  transform: none !important;
}
.menu-catalog .menu-item-with-image {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  padding: 5px 10px !important;
  margin-bottom: 2px !important;
  border-radius: var(--sv-radius-small) !important;
  background: transparent !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease !important;
}
.menu-catalog .menu-item-with-image:hover {
  background: #f2f2f2 !important;
}
.menu-catalog .menu-item-with-image img {
  width: 30px !important;
  height: 30px !important;
  object-fit: contain !important;
  flex: 0 0 30px !important;
}
.menu-catalog .menu-item-with-image span,
.menu-catalog .mega-sub-menu a,
.menu-catalog .mega-sub-menu span,
.menu-catalog .mega-sub-menu a:hover,
.menu-catalog .mega-sub-menu a:focus {
  font-family: var(--sv-font) !important;
  color: var(--sv-text) !important;
}
.menu-catalog .menu-item-with-image span {
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  text-transform: none !important;
}
/* =====================================================
   03. ПОИСК В ШАПКЕ
===================================================== */
.sv-header-search-wrap {
  position: relative !important;
  z-index: 99999 !important;
  width: 420px !important;
  min-width: 420px !important;
  max-width: 420px !important;
  flex: 0 0 420px !important;
  margin-left: auto !important;
}
.header-search-figma,
.sv-header-search-wrap .header-search-figma {
  display: flex !important;
  align-items: center !important;
  width: 420px !important;
  min-width: 420px !important;
  max-width: 420px !important;
  height: 40px !important;
  background: var(--sv-gray-bg) !important;
  border-radius: var(--sv-radius-small) !important;
  padding: 3px !important;
  box-sizing: border-box !important;
  gap: 3px !important;
  margin: 0 !important;
  border: none !important;
  box-shadow: none !important;
}
.header-search-figma input[type="search"] {
  flex: 1 !important;
  min-width: 0 !important;
  height: 34px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 0 12px !important;
  margin: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  font-family: var(--sv-font) !important;
  font-size: 12px !important;
  color: #817F7E !important;
}
.header-search-figma input[type="search"]::placeholder {
  color: #817F7E !important;
  opacity: 1 !important;
}
.header-search-figma button {
  width: 68px !important;
  min-width: 68px !important;
  height: 34px !important;
  background: var(--sv-white) !important;
  color: #817F7E !important;
  border: none !important;
  border-radius: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  font-family: var(--sv-font) !important;
  font-size: 12px !important;
  cursor: pointer !important;
}
/* История поиска */
.sv-search-history-dropdown {
  display: none !important;
  position: absolute !important;
  left: 0 !important;
  top: calc(100% + 8px) !important;
  z-index: 999999 !important;
  width: 420px !important;
  padding: 12px 14px !important;
  box-sizing: border-box !important;
  background: var(--sv-white) !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10) !important;
  font-family: var(--sv-font) !important;
  pointer-events: auto !important;
}
.sv-header-search-wrap:focus-within .sv-search-history-dropdown {
  display: block !important;
}
.sv-search-history-title {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--sv-text) !important;
  margin: 0 0 8px !important;
}
.sv-search-history-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  pointer-events: auto !important;
}
.sv-search-history-list a,
.sv-search-history-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 28px !important;
  padding: 0 12px !important;
  background: var(--sv-gray-bg) !important;
  border-radius: var(--sv-radius-pill) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--sv-muted) !important;
  text-decoration: none !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 999999 !important;
}
.sv-search-history-list a:hover,
.sv-search-history-link:hover {
  background: var(--sv-gray-hover) !important;
  color: var(--sv-text) !important;
}
/* =====================================================
   04. ССЫЛКА "МОИ ЗАЯВКИ" И КНОПКА В ШАПКЕ
===================================================== */
.elementor-widget-html:has(.header-link) {
  margin-left: 40px !important;
  width: auto !important;
  max-width: max-content !important;
  flex: 0 0 auto !important;
}
.header-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  width: auto !important;
  font-family: var(--sv-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--sv-text) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.header-link:hover {
  color: var(--sv-text) !important;
  text-decoration: none !important;
}
.header-link .icon,
.header-link-icon {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.header-link .icon img,
.header-link-icon img,
.home .header-link img {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  object-fit: contain !important;
  display: block !important;
}
.header-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 180px !important;
  height: 40px !important;
  flex: 0 0 180px !important;
  background: var(--sv-pink) !important;
  color: var(--sv-white) !important;
  font-family: var(--sv-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border-radius: var(--sv-radius-pill) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.elementor-widget-html:has(.header-btn) {
  width: 180px !important;
  max-width: 180px !important;
  flex: 0 0 180px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.sv-header-request-count {
  display: none !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 5px !important;
  border-radius: var(--sv-radius-pill) !important;
  background: var(--sv-pink) !important;
  color: var(--sv-white) !important;
  font-family: var(--sv-font) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 18px !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
.sv-header-request-count.active {
  display: inline-flex !important;
}
/* =====================================================
   05. СЛАЙДЕРЫ / СТРЕЛКИ
===================================================== */
.home .n2-ss-slider,
.home .sv-home-banner {
  margin-top: 24px !important;
}
.n2-ss-slider {
  position: relative !important;
  overflow: visible !important;
}
.n2-ss-slider .nextend-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
  width: 42px !important;
  height: 42px !important;
  background: var(--sv-white) !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.n2-ss-slider .nextend-arrow img,
.n2-ss-slider .nextend-arrow svg {
  display: none !important;
}
.n2-ss-slider .nextend-arrow::before {
  content: "" !important;
  width: 10px !important;
  height: 10px !important;
  border-top: 2px solid #817F7E !important;
  border-right: 2px solid #817F7E !important;
}
.n2-ss-slider .nextend-arrow-previous {
  left: -20px !important;
}
.n2-ss-slider .nextend-arrow-next {
  right: -20px !important;
}
.n2-ss-slider .nextend-arrow-previous::before {
  transform: rotate(-135deg) translateX(-1px) !important;
}
.n2-ss-slider .nextend-arrow-next::before {
  transform: rotate(45deg) translateX(-1px) translateY(0px) !important;
}
/* Хиты / Owl carousel */
.ywcps-wrapper {
  width: 1220px !important;
  max-width: 1220px !important;
  margin-left: calc((100% - 1220px) / 2) !important;
  margin-right: calc((100% - 1220px) / 2) !important;
  position: relative !important;
  overflow: visible !important;
  padding-bottom: 10px !important;
}
.ywcps-wrapper .owl-stage-outer {
  width: 1140px !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  padding: 10px 0 20px !important;
}
.ywcps-wrapper .owl-stage {
  display: flex !important;
  gap: 16px !important;
}
.ywcps-wrapper .owl-item {
  width: auto !important;
  overflow: visible !important;
}
.ywcps-wrapper li.product {
  width: 260px !important;
  margin-left: 8px !important;
  margin-right: 8px !important;
}
.ywcps-wrapper .owl-nav {
  display: block !important;
}
.ywcps-wrapper .owl-prev,
.ywcps-wrapper .owl-next {
  position: absolute !important;
  top: 45% !important;
  transform: translateY(-50%) !important;
  z-index: 50 !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  border-radius: 50% !important;
  background: var(--sv-white) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
}
.ywcps-wrapper .owl-prev {
  left: 24px !important;
}
.ywcps-wrapper .owl-next {
  right: 24px !important;
}
.ywcps-wrapper .owl-prev span,
.ywcps-wrapper .owl-next span {
  display: none !important;
}
.ywcps-wrapper .owl-prev::before,
.ywcps-wrapper .owl-next::before {
  content: "" !important;
  width: 10px !important;
  height: 10px !important;
  border-top: 2px solid #9A9795 !important;
  border-right: 2px solid #9A9795 !important;
  display: block !important;
}
.ywcps-wrapper .owl-prev::before {
  transform: translate(0px, -5px) rotate(-135deg) !important;
}
.ywcps-wrapper .owl-next::before {
  transform: translate(0px, -5px) rotate(45deg) !important;
}
.ywcps-wrapper .owl-dots {
  position: static !important;
  display: block !important;
  text-align: center !important;
  margin-top: 16px !important;
}
.ywcps-wrapper .owl-dot span {
  width: 9px !important;
  height: 9px !important;
  background: #D7D7D7 !important;
  border-radius: 50% !important;
  display: inline-block !important;
  margin: 0 5px !important;
}
.ywcps-wrapper .owl-dot.active span {
  background: #FFBF30 !important;
}
/* =====================================================
   06. КАРТОЧКИ ТОВАРОВ ОБЩИЕ
===================================================== */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 270px) !important;
  gap: 20px !important;
  justify-content: center !important;
  width: 1140px !important;
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
  clear: both !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
  content: none !important;
}
.woocommerce ul.products li.product {
  width: 270px !important;
  max-width: 270px !important;
  min-width: 270px !important;
  height: 426px !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  background: var(--sv-white) !important;
  border-radius: var(--sv-radius-large) !important;
  padding: 13px 14px 20px !important;
  box-sizing: border-box !important;
  box-shadow: var(--sv-shadow-card) !important;
  display: flex !important;
  flex-direction: column !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: block !important;
  text-decoration: none !important;
}
.woocommerce ul.products li.product img {
  width: 100% !important;
  height: 210px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #FFFFFF !important;
  border-radius: var(--sv-radius-medium) !important;
  margin: 0 0 20px !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--sv-font) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: var(--sv-text) !important;
  height: auto !important;
  min-height: 10px !important;
  max-height: 42px !important;
  overflow: hidden !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
}
.woocommerce ul.products li.product .price {
  display: none !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__link::after {
  content: "Подробнее →" !important;
  display: block !important;
  font-family: var(--sv-font) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--sv-text) !important;
  margin-top: 0 !important;
}
.woocommerce ul.products li.product .button {
  margin-top: auto !important;
  width: 100% !important;
  height: 40px !important;
  border-radius: var(--sv-radius-pill) !important;
  background: var(--sv-yellow) !important;
  color: var(--sv-white) !important;
  border: none !important;
  padding: 0 !important;
  font-size: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
}
.woocommerce ul.products li.product .button::before {
  content: "Добавить в заявку" !important;
  font-family: var(--sv-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--sv-white) !important;
}
/* Hover карточек Elementor */
.elementor .e-grid .e-con:not(.e-grid) {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.elementor .e-grid .e-con:not(.e-grid):hover {
  transform: translateY(-5px) !important;
  box-shadow: var(--sv-shadow-hover) !important;
}
/* Карточка, если товар уже в заявке */
/* Карточка, если товар уже в заявке */
ul.products li.product.sv-product-in-request .button,
.single-product ul.products li.product.sv-product-in-request .button {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

/* Счётчик в карточке */
ul.products li.product .sv-card-qty-control,
.single-product ul.products li.product .sv-card-qty-control {
  margin-top: auto !important;
  width: 100% !important;
  height: 40px !important;
  display: grid !important;
  grid-template-columns: 48px 1fr 48px !important;
  align-items: center !important;
  border-radius: var(--sv-radius-pill) !important;
  border: 1px solid var(--sv-border) !important;
  background: var(--sv-white) !important;
  overflow: hidden !important;
  font-family: var(--sv-font) !important;
  box-sizing: border-box !important;
}

ul.products li.product .sv-card-qty-control button,
.single-product ul.products li.product .sv-card-qty-control button {
  width: 48px !important;
  height: 40px !important;
  border: none !important;
  background: transparent !important;
  color: var(--sv-text) !important;
  font-family: var(--sv-font) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

ul.products li.product .sv-card-qty-number,
.single-product ul.products li.product .sv-card-qty-number {
  text-align: center !important;
  color: var(--sv-text) !important;
  font-family: var(--sv-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

/* Мобилка — счётчик компактнее */
@media (max-width: 767px) {
  ul.products li.product .sv-card-qty-control,
  .single-product ul.products li.product .sv-card-qty-control {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    grid-template-columns: 36px 1fr 36px !important;
  }

  ul.products li.product .sv-card-qty-control button,
  .single-product ul.products li.product .sv-card-qty-control button {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    font-size: 17px !important;
    line-height: 34px !important;
  }

  ul.products li.product .sv-card-qty-number,
  .single-product ul.products li.product .sv-card-qty-number {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    font-size: 13px !important;
    line-height: 34px !important;
  }
}
/* =====================================================
   07. СТРАНИЦА КАТЕГОРИИ
===================================================== */
.cat-products .woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 260px) !important;
  gap: 20px !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}
.cat-products .woocommerce ul.products::before,
.cat-products .woocommerce ul.products::after {
  display: none !important;
  content: none !important;
}
.cat-products .woocommerce ul.products li.product {
  width: 260px !important;
  max-width: 260px !important;
  min-width: 260px !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
}
.cat-products .woocommerce-result-count,
.cat-products .woocommerce-ordering {
  display: none !important;
}
.cat-heading {
  display: flex !important;
  align-items: baseline !important;
  gap: 10px !important;
}
.cat-heading-title {
  font-family: var(--sv-font) !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  color: var(--sv-text) !important;
}
.cat-heading-count {
  font-family: var(--sv-font) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--sv-light-text) !important;
}
/* Пагинация категории */
.cat-products .woocommerce-pagination {
  margin-top: 34px !important;
  margin-bottom: 38px !important;
  text-align: center !important;
}
.cat-products .woocommerce-pagination ul {
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}
.cat-products .woocommerce-pagination ul li {
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.cat-products .woocommerce-pagination ul li a,
.cat-products .woocommerce-pagination ul li span {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--sv-font) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  padding: 0 4px !important;
  margin: 0 !important;
  min-width: 20px !important;
  width: auto !important;
  height: auto !important;
  color: var(--sv-text) !important;
}
.cat-products .woocommerce-pagination ul li span.current {
  background: transparent !important;
  color: #000000 !important;
  font-weight: 400 !important;
}
.cat-products .woocommerce-pagination .prev,
.cat-products .woocommerce-pagination .next {
  font-size: 0 !important;
  line-height: 0 !important;
  width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  position: relative !important;
}
.cat-products .woocommerce-pagination .prev::before,
.cat-products .woocommerce-pagination .next::before {
  content: "" !important;
  width: 8px !important;
height: 8px !important;
border-top: 2px solid #1E183A !important;
border-right: 2px solid #1E183A !important;
  display: block !important;
  background: transparent !important;
  box-shadow: none !important;
  position: relative !important;
}
.cat-products .woocommerce-pagination .prev::before {
  transform: rotate(-135deg) !important;
  left: 2px !important;
}
.cat-products .woocommerce-pagination .next::before {
  transform: rotate(45deg) !important;
  left: -2px !important;
}
/* Боковые категории */
.cat-sidebar-menu > .e-con {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.cat-sidebar-menu > .e-con:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--sv-shadow-hover) !important;
}
.cat-active {
  background: var(--sv-gray-bg) !important;
  box-shadow: var(--sv-shadow-hover) !important;
}
/* Кликабельная карточка категории */
.cat-card-click {
  position: relative !important;
  cursor: pointer !important;
}
.cat-card-click .elementor-widget-html {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 999 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.cat-card-click .cat-card-link {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
  text-decoration: none !important;
}
/* Хлебные крошки */
.breadcrumbs-custom {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: var(--sv-font) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--sv-muted) !important;
}
.breadcrumbs-custom a {
  color: var(--sv-muted) !important;
  text-decoration: none !important;
  font-weight: 400 !important;
  transition: color 0.2s ease, font-weight 0.2s ease !important;
}
.breadcrumbs-custom a:hover {
  color: var(--sv-text) !important;
  font-weight: 700 !important;
}
.breadcrumbs-custom .current {
  color: var(--sv-text) !important;
  font-weight: 400 !important;
}
/* =====================================================
   08. СТРАНИЦА ТОВАРА
===================================================== */
.single-product main,
.single-product .site-main {
  width: var(--sv-width) !important;
  max-width: var(--sv-width) !important;
  margin: 0 auto !important;
  padding: 30px 0 60px !important;
  box-sizing: border-box !important;
}
.single-product .sv-back-wrap {
  width: var(--sv-width) !important;
  max-width: var(--sv-width) !important;
  margin: 24px auto 20px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
.single-product .sv-product-back {
  margin: 0 !important;
  transform: translateX(0px) translateY(0px) !important;
}
/* Уведомление */
.single-product .woocommerce-notices-wrapper {
  width: var(--sv-width) !important;
  max-width: var(--sv-width) !important;
  margin: 0 auto 24px !important;
  padding: 0 !important;
}
.single-product .woocommerce-message {
  width: 100% !important;
  min-height: 64px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 14px 20px !important;
  background: var(--sv-white) !important;
  border: none !important;
  outline: none !important;
  border-radius: var(--sv-radius-large) !important;
  box-shadow: var(--sv-shadow-card) !important;
  font-family: var(--sv-font) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--sv-text) !important;
  box-sizing: border-box !important;
}
.single-product .woocommerce-message::before,
.single-product .woocommerce-message::after {
  display: none !important;
  content: none !important;
}
.single-product .sv-cart-message-text {
  flex: 1 1 auto !important;
  display: inline-block !important;
  text-align: center !important;
}
.single-product .woocommerce-message .button {
  position: static !important;
  float: none !important;
  width: 160px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: var(--sv-radius-pill) !important;
  border: 1px solid #E7E2DD !important;
  background: var(--sv-gray-bg) !important;
  color: var(--sv-muted) !important;
  font-family: var(--sv-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.single-product .woocommerce-message .button:hover {
  background: var(--sv-gray-hover) !important;
  color: var(--sv-text) !important;
}
/* Хлебные крошки товара */
.single-product .woocommerce-breadcrumb {
  width: var(--sv-width) !important;
  max-width: var(--sv-width) !important;
  margin: 26px auto 24px !important;
  padding: 0 !important;
  font-family: var(--sv-font) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--sv-muted) !important;
  box-sizing: border-box !important;
}
.single-product .woocommerce-breadcrumb a {
  color: var(--sv-muted) !important;
  text-decoration: none !important;
  transition: all .2s ease !important;
}
.single-product .woocommerce-breadcrumb a:hover {
  color: var(--sv-text) !important;
  font-weight: 700 !important;
}
/* Верхний блок товара */
.single-product div.product {
  width: var(--sv-width) !important;
  max-width: var(--sv-width) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 560px 560px !important;
  column-gap: 20px !important;
  align-items: start !important;
  box-sizing: border-box !important;
  float: none !important;
  clear: both !important;
}
.single-product div.product::before,
.single-product div.product::after {
  display: none !important;
  content: none !important;
}
/* Галерея */
.single-product div.product div.images,
.single-product .woocommerce-product-gallery {
  width: 560px !important;
  max-width: 560px !important;
  margin: 0 !important;
  float: none !important;
  position: relative !important;
}
.single-product div.product div.images,
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery .flex-viewport,
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image a {
  border-radius: var(--sv-radius-large) !important;
}
.single-product .woocommerce-product-gallery .flex-viewport {
  width: 560px !important;
  height: 524px !important;
  background: #FFFFFF !important;
  border-radius: var(--sv-radius-large) !important;
  overflow: hidden !important;
}
.single-product .woocommerce-product-gallery__wrapper {
  margin: 0 !important;
  background: #FFFFFF !important;
  border-radius: var(--sv-radius-large) !important;
  overflow: hidden !important;
}
.single-product .woocommerce-product-gallery__image {
  height: 524px !important;
  background: #FFFFFF !important;
}
.single-product .woocommerce-product-gallery__image a {
  width: 560px !important;
  height: 524px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #FFFFFF !important;
  overflow: hidden !important;
}
.single-product .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: 524px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #FFFFFF !important;
  border-radius: var(--sv-radius-large) !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.single-product .woocommerce-product-gallery__trigger {
  display: none !important;
}
.single-product .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper {
  width: 560px !important;
  height: 524px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
/* Миниатюры */
.single-product .flex-control-thumbs {
  display: flex !important;
  gap: 16px !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.single-product .flex-control-thumbs li {
  width: 92px !important;
  height: 92px !important;
  margin: 0 !important;
  float: none !important;
  list-style: none !important;
}
.single-product .flex-control-thumbs img {
  width: 92px !important;
  height: 92px !important;
  object-fit: contain !important;
  background: #FFFFFF !important;
  border-radius: 10px !important;
  padding: 6px !important;
  border: 1px solid #F1ECE1 !important;
  opacity: 1 !important;
}
/* Стрелки галереи */
.single-product .sv-gallery-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 999 !important;
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  background: var(--sv-white) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
  cursor: pointer !important;
}
.single-product .sv-gallery-prev {
  left: -8px !important;
}
.single-product .sv-gallery-next {
  right: -8px !important;
}
.single-product .sv-gallery-arrow::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 10px !important;
  height: 10px !important;
  border-top: 2px solid #9A9795 !important;
  border-right: 2px solid #9A9795 !important;
}
.single-product .sv-gallery-prev::before {
  transform: translate(-35%, -50%) rotate(-135deg) !important;
}
.single-product .sv-gallery-next::before {
  transform: translate(-65%, -50%) rotate(45deg) !important;
}
/* Правая карточка */
.single-product div.product .summary {
  width: 560px !important;
  max-width: 560px !important;
  min-height: 520px !important;
  margin: 0 !important;
  float: none !important;
  display: flex !important;
  flex-direction: column !important;
  background: var(--sv-white) !important;
  border-radius: var(--sv-radius-large) !important;
  box-shadow: var(--sv-shadow-card) !important;
  padding: 34px !important;
  box-sizing: border-box !important;
}
.single-product .product_title {
  font-family: var(--sv-font) !important;
  font-size: 32px !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  color: var(--sv-text) !important;
  margin: 0 0 24px !important;
  word-break: break-word !important;
}
.single-product .summary .price,
.single-product .summary .product_meta {
  display: none !important;
}
/* Характеристики */
.sv-product-attrs {
  width: 100% !important;
  margin: 0 0 30px !important;
}
.sv-attr-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  min-height: 28px !important;
  border-bottom: 1px solid var(--sv-border) !important;
  font-family: var(--sv-font) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}
.sv-attr-label {
  font-weight: 700 !important;
  color: var(--sv-text) !important;
}
.sv-attr-value {
  font-weight: 400 !important;
  color: var(--sv-text) !important;
  text-align: right !important;
}
/* Описание */
.single-product .woocommerce-product-details__short-description {
  margin: 0 !important;
  font-family: var(--sv-font) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  color: var(--sv-text) !important;
}
.single-product .woocommerce-product-details__short-description p {
  margin: 0 0 10px !important;
}
/* Количество + кнопка */
.single-product div.product .summary form.cart {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  margin-top: auto !important;
  padding-top: 0 !important;
  transform: translateX(-18px) translateY(30px) !important;
}
.single-product form.cart .quantity.sv-qty-ready {
  display: grid !important;
  grid-template-columns: 55px 80px 55px !important;
  align-items: center !important;
  width: 190px !important;
  min-width: 190px !important;
  flex: 0 0 190px !important;
  height: 48px !important;
  min-height: 48px !important;
  border: 1px solid var(--sv-border) !important;
  border-radius: 12px !important;
  background: var(--sv-white) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
}
.single-product form.cart .quantity.sv-qty-ready .sv-qty-btn {
  width: 55px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  color: var(--sv-text) !important;
  font-family: var(--sv-font) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}
.single-product form.cart .quantity.sv-qty-ready input.qty {
  width: 80px !important;
  min-width: 80px !important;
  max-width: 80px !important;
  height: 48px !important;
  display: block !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  color: var(--sv-text) !important;
  -webkit-text-fill-color: var(--sv-text) !important;
  font-family: var(--sv-font) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 !important;
  -moz-appearance: textfield !important;
}
.single-product form.cart .quantity.sv-qty-ready input.qty::-webkit-outer-spin-button,
.single-product form.cart .quantity.sv-qty-ready input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
.single-product .single_add_to_cart_button {
  width: 280px !important;
  min-width: 280px !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: var(--sv-radius-pill) !important;
  border: none !important;
  background: var(--sv-yellow) !important;
  color: var(--sv-white) !important;
  font-family: var(--sv-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
/* Убрать стандартные табы */
.single-product .woocommerce-tabs,
.single-product .tabs,
.single-product .wc-tabs {
  display: none !important;
}
/* Нижние блоки товара */
.single-product div.product .related.products,
.single-product div.product .sv-cross-sells,
.single-product div.product .upsells.products {
  grid-column: 1 / -1 !important;
  width: var(--sv-width) !important;
  max-width: var(--sv-width) !important;
  display: block !important;
  clear: both !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.single-product div.product .related.products {
  margin-top: 64px !important;
  margin-bottom: 0 !important;
}
.single-product div.product .sv-cross-sells,
.single-product div.product .upsells.products {
  margin-top: 70px !important;
  margin-bottom: 0 !important;
}
.single-product div.product .related.products > h2,
.single-product div.product .sv-cross-sells > h2,
.single-product div.product .upsells.products > h2 {
  width: var(--sv-width) !important;
  font-family: var(--sv-font) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--sv-text) !important;
  margin: 0 0 24px !important;
}
.single-product div.product .related.products ul.products,
.single-product div.product .sv-cross-sells ul.products,
.single-product div.product .upsells.products ul.products {
  width: var(--sv-width) !important;
  max-width: var(--sv-width) !important;
  display: grid !important;
  grid-template-columns: repeat(4, 270px) !important;
  gap: 20px !important;
  justify-content: center !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
.single-product .sv-product-mini-notice {
  margin-top: 18px !important;
  padding: 12px 16px !important;
  background: var(--sv-gray-bg) !important;
  border-radius: 12px !important;
  font-family: var(--sv-font) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--sv-text) !important;
}
/* =====================================================
   09. КНОПКА НАЗАД
===================================================== */
.sv-back-wrap {
  width: var(--sv-width) !important;
  max-width: var(--sv-width) !important;
  margin: 24px auto 20px !important;
}
.sv-back-button,
.sv-back-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 34px !important;
  padding: 0 14px !important;
  margin-top: 24px !important;
  margin-bottom: 18px !important;
  border: none !important;
  background: transparent !important;
  font-family: var(--sv-font) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--sv-muted) !important;
  cursor: pointer !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
.sv-back-button:hover,
.sv-back-link:hover {
  color: var(--sv-text) !important;
  background: transparent !important;
}
.sv-back-arrow {
  width: 8px !important;
  height: 8px !important;
  border-left: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: rotate(45deg) !important;
  display: inline-block !important;
}
/* =====================================================
   10. СТРАНИЦА "МОИ ЗАЯВКИ"
===================================================== */
.sv-requests-page {
  width: var(--sv-width) !important;
  max-width: var(--sv-width) !important;
  margin: 0 auto !important;
  padding: 0 0 24px !important;
  font-family: var(--sv-font) !important;
  color: var(--sv-text) !important;
  box-sizing: border-box !important;
}
.sv-requests-title {
  margin: 0 0 18px 0 !important;
  font-family: var(--sv-font) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--sv-text) !important;
}
.sv-requests-layout {
  display: grid !important;
  grid-template-columns: 820px 300px !important;
  gap: 20px !important;
  align-items: start !important;
  margin-left: 0 !important;
}
.sv-requests-left {
  width: 820px !important;
  min-height: 360px !important;
  padding: 24px !important;
  background: var(--sv-white) !important;
  border-radius: var(--sv-radius-small) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06) !important;
  box-sizing: border-box !important;
}
.sv-requests-left,
.sv-request-block,
.sv-sent-request,
.sv-request-items,
.sv-sent-request-body {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
/* Блок заявки */
.sv-request-block {
  display: block !important;
  margin-bottom: 24px !important;
  background: var(--sv-white) !important;
  border: 1px solid var(--sv-border-soft) !important;
  border-radius: var(--sv-radius-small) !important;
  box-shadow: var(--sv-shadow-soft) !important;
  padding: 30px !important;
  box-sizing: border-box !important;
}
.sv-request-block + .sv-request-block {
  margin-top: 20px !important;
}
.sv-request-head {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  font-family: var(--sv-font) !important;
}
.sv-request-dot {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  border: 1px solid var(--sv-text) !important;
  background: var(--sv-white) !important;
  box-sizing: border-box !important;
  flex: 0 0 18px !important;
}
.sv-request-selector.active .sv-request-dot {
  background: var(--sv-text) !important;
}
.sv-request-name {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--sv-text) !important;
}
.sv-request-status {
  font-size: 12px !important;
  color: var(--sv-light-text) !important;
}
/* Товары заявки */
.sv-request-block .sv-request-items {
  display: none !important;
}
.sv-request-block.active .sv-request-items {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin-top: 20px !important;
}
.sv-request-item {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 134px !important;
  display: grid !important;
  grid-template-columns: 131px 1fr 96px 24px !important;
  align-items: center !important;
  column-gap: 40px !important;
  padding: 12px 14px 12px 12px !important;
  background: var(--sv-white) !important;
  border: 1px solid var(--sv-border-soft) !important;
  border-radius: var(--sv-radius-small) !important;
  box-shadow: var(--sv-shadow-soft) !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}
.sv-request-item:hover {
  box-shadow: 0 6px 14px rgba(0,0,0,0.08) !important;
}
.sv-request-img {
  width: 131px !important;
  height: 110px !important;
  background: var(--sv-yellow-light) !important;
  border-radius: var(--sv-radius-small) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
.sv-request-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  pointer-events: none !important;
}
.sv-request-product-name {
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: var(--sv-text) !important;
}
.sv-request-qty {
  display: grid !important;
  grid-template-columns: 24px 28px 24px !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
}
.sv-qty-btn {
  width: 20px !important;
  height: 20px !important;
  border: 1px solid var(--sv-border) !important;
  background: var(--sv-white) !important;
  color: var(--sv-text) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.sv-qty-number {
  width: 28px !important;
  height: 20px !important;
  border: 1px solid var(--sv-border) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
}
.sv-request-remove a {
  color: var(--sv-light-text) !important;
  font-size: 16px !important;
  text-decoration: none !important;
}
/* Пустая заявка */
.sv-empty-request,
.sv-empty-request-big {
  width: 100% !important;
  min-height: 134px !important;
  display: flex !important;
  align-items: center !important;
  background: var(--sv-white) !important;
  border: 1px solid var(--sv-border-soft) !important;
  border-radius: var(--sv-radius-small) !important;
  box-shadow: var(--sv-shadow-soft) !important;
  padding: 22px 30px !important;
  box-sizing: border-box !important;
  font-family: var(--sv-font) !important;
  font-size: 14px !important;
  color: var(--sv-text) !important;
}
.sv-empty-title {
  font-family: var(--sv-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--sv-text) !important;
  margin: 0 0 6px !important;
}
.sv-empty-text {
  font-family: var(--sv-font) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--sv-muted) !important;
  margin: 0 0 14px !important;
}
.sv-empty-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 34px !important;
  padding: 0 18px !important;
  border-radius: var(--sv-radius-pill) !important;
  background: var(--sv-gray-bg) !important;
  color: var(--sv-text) !important;
  font-family: var(--sv-font) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
.sv-empty-btn:hover {
  background: var(--sv-gray-hover) !important;
  color: var(--sv-text) !important;
}
/* Правая сводка */
.sv-requests-summary {
  width: 300px !important;
  min-height: 220px !important;
  height: auto !important;
  padding: 30px !important;
  background: var(--sv-white) !important;
  border-radius: var(--sv-radius-small) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06) !important;
  box-sizing: border-box !important;
}
.sv-requests-summary h2 {
  font-size: 16px !important;
  font-weight: 700 !important;
  margin: 0 0 16px 0 !important;
}
.sv-summary-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  margin: 0 0 4px 0 !important;
}
.sv-summary-count {
  font-size: 14px !important;
  margin: 0 !important;
}
.sv-open-request-popup {
  width: 240px !important;
  height: 40px !important;
  margin-top: 44px !important;
  margin-bottom: 6px !important;
  border: none !important;
  border-radius: var(--sv-radius-pill) !important;
  background: var(--sv-pink) !important;
  color: var(--sv-white) !important;
  font-family: var(--sv-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}
/* Отправленные заявки */
.sv-sent-request-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
}
.sv-sent-request-row .sv-request-head {
  margin: 0 !important;
}
.sv-delete-sent-request {
  width: 24px !important;
  height: 24px !important;
  flex: 0 0 auto !important;
  margin-left: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--sv-light-text) !important;
  text-decoration: none !important;
  font-size: 22px !important;
  line-height: 1 !important;
}
.sv-delete-sent-request:hover {
  color: var(--sv-pink) !important;
}
.sv-sent-request:not(.active) .sv-sent-request-body {
  display: none !important;
}
.sv-sent-request.active .sv-sent-request-body {
  display: block !important;
  padding-top: 6px !important;
}
.sv-sent-request-item {
  width: 100% !important;
  max-width: 100% !important;
  height: 134px !important;
  display: grid !important;
  grid-template-columns: 131px 1fr 96px !important;
  align-items: center !important;
  column-gap: 40px !important;
  padding: 12px 14px 12px 12px !important;
  margin-bottom: 12px !important;
  box-sizing: border-box !important;
  background: var(--sv-white) !important;
  border-radius: var(--sv-radius-small) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06) !important;
  cursor: pointer !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}
.sv-sent-request-item:hover {
  box-shadow: 0 6px 14px rgba(0,0,0,0.08) !important;
}
.sv-sent-request-img {
  width: 131px !important;
  height: 110px !important;
  background: var(--sv-yellow-light) !important;
  border-radius: var(--sv-radius-small) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
.sv-sent-request-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  pointer-events: none !important;
}
.sv-sent-request-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: var(--sv-text) !important;
}
.sv-sent-request-qty,
.sv-request-sent-qty {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--sv-text) !important;
}
/* Попап заявки */
.sv-request-popup {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
}
.sv-request-popup.active {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.sv-popup-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0,0,0,0.58) !important;
}
.sv-popup-box {
  position: relative !important;
  z-index: 2 !important;
  width: 360px !important;
  background: var(--sv-white) !important;
  border-radius: 24px !important;
  padding: 28px 34px 34px !important;
  box-shadow: 0 10px 35px rgba(0,0,0,0.18) !important;
  font-family: var(--sv-font) !important;
}
.sv-popup-close {
  position: absolute !important;
  right: 16px !important;
  top: 14px !important;
  border: none !important;
  background: transparent !important;
  font-size: 22px !important;
  cursor: pointer !important;
}
.sv-popup-tabs {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 24px !important;
  margin-bottom: 24px !important;
}
.sv-popup-tabs button {
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid var(--sv-border) !important;
  color: var(--sv-text) !important;
  font-family: var(--sv-font) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 0 0 8px !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
.sv-popup-tabs button:hover,
.sv-popup-tabs button:focus {
  background: transparent !important;
  color: var(--sv-text) !important;
  border-bottom-color: var(--sv-border) !important;
  box-shadow: none !important;
  outline: none !important;
}
.sv-popup-tabs button.active {
  background: transparent !important;
  color: var(--sv-text) !important;
  border-bottom-color: var(--sv-pink) !important;
}
.sv-popup-top {
  display: flex !important;
  justify-content: space-between !important;
  margin-bottom: 16px !important;
  font-size: 14px !important;
}
.sv-popup-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.sv-popup-form input,
.sv-popup-form textarea {
  width: 100% !important;
  height: 42px !important;
  border: 1px solid #E7E2DD !important;
  border-radius: var(--sv-radius-medium) !important;
  padding: 0 14px !important;
  box-sizing: border-box !important;
  font-size: 12px !important;
}
.sv-popup-form textarea {
  height: 50px !important;
  padding-top: 12px !important;
  resize: none !important;
}
.sv-popup-form button {
  width: 100% !important;
  height: 46px !important;
  margin-top: 14px !important;
  border: none !important;
  border-radius: var(--sv-radius-pill) !important;
  background: var(--sv-pink) !important;
  color: var(--sv-white) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}
.sv-popup-note {
  display: none !important;
}
.sv-legal-field,
.sv-hidden-field,
.sv-legal-only {
  display: none !important;
}
.sv-popup-box--legal .sv-legal-only {
  display: block !important;
}
.sv-policy-check {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin-top: 2px !important;
  font-family: var(--sv-font) !important;
  font-size: 10px !important;
  line-height: 1.25 !important;
  color: var(--sv-light-text) !important;
}
.sv-policy-check input {
  width: 14px !important;
  height: 14px !important;
  margin: 1px 0 0 !important;
  flex: 0 0 14px !important;
}
/* =====================================================
   11. СТРАНИЦА ПОИСКА
===================================================== */
body.search,
body.search-results {
  background: var(--sv-bg) !important;
}
body.search .site,
body.search-results .site,
body.search .site-content,
body.search-results .site-content,
body.search .content-area,
body.search-results .content-area,
body.search main,
body.search-results main,
body.search .site-main,
body.search-results .site-main,
body.search .woocommerce,
body.search-results .woocommerce {
  background: var(--sv-bg) !important;
}
body.search main,
body.search .site-main,
body.search .content-area,
body.search .woocommerce,
body.search-results main,
body.search-results .site-main,
body.search-results .content-area,
body.search-results .woocommerce {
  width: var(--sv-width) !important;
  max-width: var(--sv-width) !important;
  margin: 0 auto !important;
  padding: 0 0 80px !important;
  box-sizing: border-box !important;
}
body.search .sv-search-back-wrap,
body.search-results .sv-search-back-wrap {
  width: var(--sv-width) !important;
  max-width: var(--sv-width) !important;
  margin: 48px auto 24px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
}
body.search .sv-search-back-wrap .sv-back-button,
body.search-results .sv-search-back-wrap .sv-back-button {
  transform: translateX(16px) translateY(0px) !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-family: var(--sv-font) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--sv-muted) !important;
  text-decoration: none !important;
}
body.search .sv-search-back-wrap .sv-back-arrow,
body.search-results .sv-search-back-wrap .sv-back-arrow {
  width: 8px !important;
  height: 8px !important;
  border-left: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: rotate(45deg) !important;
  display: inline-block !important;
}
body.search .page-title,
body.search-results .page-title,
body.search h1,
body.search-results h1 {
  font-family: var(--sv-font) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--sv-text) !important;
  margin: 0 0 24px !important;
}
body.search ul.products,
body.search-results ul.products,
body.search .woocommerce ul.products,
body.search-results .woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 270px) !important;
  gap: 20px !important;
  justify-content: start !important;
  width: var(--sv-width) !important;
  max-width: var(--sv-width) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
  clear: both !important;
}
body.search ul.products::before,
body.search ul.products::after,
body.search-results ul.products::before,
body.search-results ul.products::after {
  display: none !important;
  content: none !important;
}
body.search ul.products li.product,
body.search-results ul.products li.product,
body.search .woocommerce ul.products li.product,
body.search-results .woocommerce ul.products li.product {
  width: 270px !important;
  max-width: 270px !important;
  min-width: 270px !important;
  height: 426px !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  background: var(--sv-white) !important;
  border-radius: var(--sv-radius-large) !important;
  padding: 13px 14px 20px !important;
  box-sizing: border-box !important;
  box-shadow: var(--sv-shadow-card) !important;
  display: flex !important;
  flex-direction: column !important;
}
body.search ul.products li.product img,
body.search-results ul.products li.product img {
  width: 100% !important;
  height: 210px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: var(--sv-yellow-light) !important;
  border-radius: var(--sv-radius-medium) !important;
  margin: 0 0 20px !important;
}
body.search ul.products li.product .woocommerce-loop-product__title,
body.search-results ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--sv-font) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: var(--sv-text) !important;
  height: auto !important;
  min-height: 10px !important;
  max-height: 42px !important;
  overflow: hidden !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
}
body.search ul.products li.product .price,
body.search-results ul.products li.product .price {
  display: none !important;
}
body.search ul.products li.product .woocommerce-loop-product__link::after,
body.search-results ul.products li.product .woocommerce-loop-product__link::after {
  content: "Подробнее →" !important;
  display: block !important;
  font-family: var(--sv-font) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--sv-text) !important;
  margin-top: 0 !important;
}
body.search ul.products li.product .button,
body.search-results ul.products li.product .button {
  margin-top: auto !important;
  width: 100% !important;
  height: 40px !important;
  border-radius: var(--sv-radius-pill) !important;
  background: var(--sv-yellow) !important;
  color: var(--sv-white) !important;
  border: none !important;
  padding: 0 !important;
  font-size: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
}
body.search ul.products li.product .button::before,
body.search-results ul.products li.product .button::before {
  content: "Добавить в заявку" !important;
  font-family: var(--sv-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--sv-white) !important;
}
body.search footer,
body.search-results footer {
  margin-top: 70px !important;
  clear: both !important;
}
/* Ничего не найдено */
body.search .woocommerce-info,
body.search-results .woocommerce-info,
body.search .no-results,
body.search-results .no-results {
  width: 100% !important;
  background: var(--sv-white) !important;
  border: none !important;
  border-radius: var(--sv-radius-large) !important;
  box-shadow: var(--sv-shadow-card) !important;
  padding: 24px !important;
  font-family: var(--sv-font) !important;
  font-size: 14px !important;
  color: var(--sv-text) !important;
}
.woocommerce-info::before,
.woocommerce-no-products-found .woocommerce-info::before,
.woocommerce-no-products-found::before {
  display: none !important;
  content: none !important;
}
.woocommerce-info,
.woocommerce-no-products-found .woocommerce-info {
  padding-left: 24px !important;
}
/* =====================================================
   12. ФУТЕР — ПК ФИНАЛ
===================================================== */

.footer-fix {
  max-width: var(--sv-width) !important;
  width: var(--sv-width) !important;
  margin: 0 auto !important;
  padding: 20px 14px 20px !important;

  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;

  font-family: var(--sv-font) !important;

  position: relative !important;
}

.footer-fix,
.footer-fix * {
  font-size: 12px !important;
  line-height: 1.1 !important;
  font-weight: 400 !important;
  color: var(--sv-text) !important;
  box-sizing: border-box !important;
}

.footer-fix .elementor-widget,
.footer-fix .elementor-widget-container,
.footer-fix p,
.footer-fix a,
.footer-fix span,
.footer-fix .elementor-heading-title {
  margin: 0 !important;
  padding: 0 !important;
}

.footer-fix .glog img,
.footer-fix .footer-logo img {
  width: 90px !important;
  max-width: 90px !important;
  height: auto !important;
  display: block !important;
}

/* КОПИРАЙТ — под логотипом */
.footer-fix .cop {
  position: absolute !important;

  left: 14px !important;
  top: 100px !important;

  margin: 0 !important;
  padding: 0 !important;

  width: max-content !important;
  max-width: none !important;

  text-align: left !important;
  white-space: nowrap !important;

  z-index: 20 !important;
}

.footer-fix .cop,
.footer-fix .cop * {
  font-family: var(--sv-font) !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  font-weight: 400 !important;
  color: var(--sv-text) !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  white-space: nowrap !important;
}

.footer-fix .rec {
  margin-bottom: -3px !important;
}

.footer-fix .pol {
  margin-top: -3px !important;
}

.footer-fix .nom {
  margin-bottom: 1px !important;
}

.footer-fix .poch {
  margin-top: 0 !important;
  margin-bottom: -10px !important;
}

.footer-fix .add {
  margin-top: -3px !important;
}

.footer-fix a {
  text-decoration: none !important;
}

/* Telegram */
.footer-fix .footer-left-tg {
  position: relative !important;
  top: 0 !important;
}

.footer-fix .tg-icon img,
.footer-fix img.tg-icon,
.footer-fix .elementor-widget-image.tg-icon img {
  width: 35px !important;
  height: 35px !important;
  max-width: 35px !important;
  max-height: 35px !important;
  min-width: 35px !important;
  min-height: 35px !important;

  object-fit: contain !important;
  display: block !important;
}

/* иконка */
.footer-fix .tg-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  position: relative !important;

  left: 0 !important;
  top: 0px !important;
}

/* слово Телеграм */
.footer-fix .tg {
  display: inline-flex !important;
  align-items: center !important;

  position: relative !important;

  margin-left: 20px !important;
  left: 46px !important;
  top: -55px !important;

  height: 35px !important;
  line-height: 1 !important;
}

.footer-fix .tg,
.footer-fix .tg * {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--sv-text) !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* =====================================================
   13. ПЛАВАЮЩИЕ КНОПКИ
===================================================== */
.sv-floating-buttons {
  position: fixed !important;
  right: calc((100vw - 1140px) / 2 + 10px) !important;
  bottom: 28px !important;
  z-index: 999999 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  align-items: center !important;
  pointer-events: auto !important;
}
.sv-floating-up,
.sv-floating-phone {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12) !important;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative !important;
  pointer-events: auto !important;
}
.sv-floating-up {
  background: var(--sv-pink) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(10px) !important;
  pointer-events: none !important;
}
.sv-floating-up.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}
.sv-floating-up span {
  width: 10px !important;
  height: 10px !important;
  border-top: 2.5px solid var(--sv-white) !important;
  border-left: 2.5px solid var(--sv-white) !important;
  border-radius: 2px 0 0 0 !important;
  transform: rotate(45deg) translate(2px, 2px) !important;
  display: block !important;
  box-sizing: border-box !important;
}
.sv-floating-up::before {
  content: none !important;
  display: none !important;
}
.sv-floating-phone {
  background: #63D7A0 !important;
}
.sv-floating-phone svg {
  width: 24px !important;
  height: 24px !important;
  fill: var(--sv-white) !important;
  display: block !important;
  transform: none !important;
}
.sv-floating-up:hover,
.sv-floating-phone:hover {
  transform: translateY(-2px) !important;
}
/* =====================================================
   14. СЛУЖЕБНОЕ
===================================================== */
/* Скрыть полосу Coming Soon для админа */
body > div:has(a[href*="change_visibility_settings"]),
body > div:has(a[href*="visibility"]) {
  display: none !important;
}
/* =====================================================
   15. АДАПТИВ
===================================================== */
@media (max-width: 1200px) {
  .header-topbar,
  .header-full-bg .headerflexbox,
  .headerflexbox,
  .footer-fix,
  .sv-requests-page,
  .sv-back-wrap,
  body.search .sv-search-back-wrap,
  body.search-results .sv-search-back-wrap,
  .single-product main,
  .single-product .site-main,
  .single-product .woocommerce-breadcrumb,
  .single-product .woocommerce-notices-wrapper,
  .single-product div.product,
  .single-product .sv-back-wrap,
  .single-product div.product .related.products,
  .single-product div.product .sv-cross-sells,
  .single-product div.product .upsells.products,
  body.search main,
  body.search .site-main,
  body.search .content-area,
  body.search .woocommerce,
  body.search-results main,
  body.search-results .site-main,
  body.search-results .content-area,
  body.search-results .woocommerce,
  body.search ul.products,
  body.search-results ul.products {
    width: calc(100% - 28px) !important;
    max-width: 1140px !important;
  }
  .woocommerce ul.products {
    width: calc(100% - 28px) !important;
    max-width: 1140px !important;
  }
  .ywcps-wrapper {
    width: calc(100% - 28px) !important;
    max-width: 1140px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .ywcps-wrapper .owl-stage-outer {
    width: 100% !important;
  }
  .sv-floating-buttons {
    right: 18px !important;
  }
}
@media (max-width: 1024px) {
  .headerflexbox {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
  .sv-header-search-wrap,
  .header-search-figma,
  .sv-header-search-wrap .header-search-figma {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    margin-left: 0 !important;
  }
  .sv-search-history-dropdown {
    width: 100% !important;
  }
  .woocommerce ul.products,
  body.search ul.products,
  body.search-results ul.products,
  .single-product div.product .related.products ul.products,
  .single-product div.product .sv-cross-sells ul.products,
  .single-product div.product .upsells.products ul.products {
    grid-template-columns: repeat(2, 270px) !important;
    justify-content: center !important;
    width: 100% !important;
  }
  .single-product div.product {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .single-product div.product div.images,
  .single-product .woocommerce-product-gallery,
  .single-product .woocommerce-product-gallery .flex-viewport,
  .single-product .woocommerce-product-gallery__wrapper,
  .single-product .woocommerce-product-gallery__image,
  .single-product .woocommerce-product-gallery__image a,
  .single-product div.product .summary {
    width: 100% !important;
    max-width: 100% !important;
  }
  .single-product .woocommerce-product-gallery .flex-viewport,
  .single-product .woocommerce-product-gallery__image,
  .single-product .woocommerce-product-gallery__image a,
  .single-product .woocommerce-product-gallery__image img {
    height: 460px !important;
  }
  .sv-requests-layout {
    grid-template-columns: 1fr !important;
  }
  .sv-requests-left,
  .sv-requests-summary {
    width: 100% !important;
  }
}
@media (max-width: 767px) {
  .header-topbar {
    height: auto !important;
    min-height: 36px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    padding: 8px 0 !important;
  }
  .topbar-right {
    gap: 14px !important;
    flex-wrap: wrap !important;
  }
  .headerflexbox {
    padding: 10px 0 !important;
  }
  .headerflexbox .glog img,
  .glog img {
    width: 96px !important;
    max-width: 96px !important;
  }
  .elementor-widget-html:has(.header-link) {
    margin-left: 0 !important;
  }
  .header-btn,
  .elementor-widget-html:has(.header-btn) {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }
  .menu-catalog .mega-sub-menu {
    width: calc(100vw - 28px) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 28px) !important;
    left: 0 !important;
    transform: none !important;
  }
  .menu-catalog .mega-sub-menu > li.mega-menu-column {
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    left: 0 !important;
  }
  .woocommerce ul.products,
  body.search ul.products,
  body.search-results ul.products,
  .cat-products .woocommerce ul.products,
  .single-product div.product .related.products ul.products,
  .single-product div.product .sv-cross-sells ul.products,
  .single-product div.product .upsells.products ul.products {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
  .woocommerce ul.products li.product,
  body.search ul.products li.product,
  body.search-results ul.products li.product,
  .cat-products .woocommerce ul.products li.product,
  .single-product div.product ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .single-product .woocommerce-product-gallery .flex-viewport,
  .single-product .woocommerce-product-gallery__image,
  .single-product .woocommerce-product-gallery__image a,
  .single-product .woocommerce-product-gallery__image img {
    height: 340px !important;
  }
  .single-product div.product .summary {
    padding: 24px !important;
  }
  .single-product .product_title {
    font-size: 24px !important;
  }
  .single-product div.product .summary form.cart {
    transform: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-top: 24px !important;
  }
  .single-product form.cart .quantity.sv-qty-ready,
  .single-product .single_add_to_cart_button {
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
  .sv-request-item,
  .sv-sent-request-item {
    grid-template-columns: 90px 1fr !important;
    column-gap: 16px !important;
    row-gap: 12px !important;
    height: auto !important;
    min-height: 120px !important;
  }
  .sv-request-img,
  .sv-sent-request-img {
    width: 90px !important;
    height: 90px !important;
  }
  .sv-request-qty,
  .sv-request-remove,
  .sv-sent-request-qty {
    grid-column: 2 !important;
  }
  .sv-popup-box {
    width: calc(100% - 28px) !important;
    padding: 26px 22px 28px !important;
  }
  .footer-fix {
    flex-direction: column !important;
    gap: 24px !important;
    width: calc(100% - 28px) !important;
  }
  .footer-fix .cop,
  .footer-fix .rec,
  .footer-fix .pol,
  .footer-fix .nom,
  .footer-fix .poch,
  .footer-fix .add,
  .footer-fix .tg {
    margin: 0 !important;
    left: 0 !important;
    top: 0 !important;
  }
  .sv-floating-buttons {
    right: 14px !important;
    bottom: 18px !important;
    gap: 8px !important;
  }
  .sv-floating-up,
  .sv-floating-phone {
    width: 48px !important;
    height: 48px !important;
  }
  .sv-floating-phone svg {
    width: 23px !important;
    height: 23px !important;
  }
  .sv-back-wrap {
    width: calc(100% - 28px) !important;
    margin: 18px auto 16px !important;
  }
  .sv-back-button {
    height: 32px !important;
    padding: 0 !important;
    font-size: 12px !important;
  }
}
/* =====================================================
   ФИНАЛЬНЫЙ ФИКС ПОСЛЕ ОСНОВНОГО КОДА
   ВСТАВИТЬ В САМЫЙ НИЗ CSS
===================================================== */
/* =====================================================
   1. КНОПКА "НАЗАД" — ОДИНАКОВО НА ВСЕХ СТРАНИЦАХ
===================================================== */
/*
  Настройка:
  --sv-back-top: расстояние от шапки до кнопки Назад
  --sv-back-bottom: расстояние от кнопки Назад до контента
  --sv-back-x: двигать кнопку вправо/влево
  --sv-back-y: двигать кнопку вверх/вниз
*/
:root {
  --sv-back-top: 42px;
  --sv-back-bottom: 28px;
  --sv-back-x: 0px;
  --sv-back-y: 0px;
}
.sv-back-wrap,
.single-product .sv-back-wrap,
body.search .sv-search-back-wrap,
body.search-results .sv-search-back-wrap,
body:has(.sv-requests-page) .sv-back-wrap {
  width: var(--sv-container) !important;
  max-width: var(--sv-container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: var(--sv-back-top) !important;
  margin-bottom: var(--sv-back-bottom) !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
.sv-back-button,
.sv-back-link,
.single-product .sv-product-back,
body.search .sv-search-back-wrap .sv-back-button,
body.search-results .sv-search-back-wrap .sv-back-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-family: Inter, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: var(--sv-muted) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transform: translate(var(--sv-back-x), var(--sv-back-y)) !important;
}
.sv-back-arrow {
  width: 8px !important;
  height: 8px !important;
  border-left: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: rotate(45deg) !important;
  display: inline-block !important;
}
.sv-back-button:hover,
.sv-back-link:hover {
  color: var(--sv-text) !important;
  background: transparent !important;
}
/* =====================================================
   2. СТРАНИЦЫ КАТЕГОРИЙ — УБРАТЬ ВТОРУЮ ПОДЛОЖКУ
===================================================== */
/*
  Важно:
  здесь убираем лишний внутренний белый прямоугольник,
  который появлялся под названием категории.
*/
.cat-heading,
.cat-heading * {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
/* сама большая белая плашка должна быть у контейнера Elementor,
   а не у текста внутри */
.cat-heading {
  display: flex !important;
  align-items: baseline !important;
  gap: 10px !important;
  width: auto !important;
  min-height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
/* размер как раньше */
.cat-heading-title {
  font-family: Inter, sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  color: var(--sv-text) !important;
}
.cat-heading-count {
  font-family: Inter, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  color: var(--sv-light) !important;
}
/* =====================================================
   3. ВЫРАВНИВАНИЕ КАТЕГОРИИ: ЛЕВОЕ МЕНЮ + ПРАВЫЙ БЛОК
===================================================== */
/*
  Если надо двигать:
  --sv-category-sidebar-x: левое меню категорий
  --sv-category-products-x: блок с товарами и названием категории
*/
:root {
  --sv-category-sidebar-x: 0px;
  --sv-category-products-x: 0px;
}
.cat-sidebar-menu {
  transform: translateX(var(--sv-category-sidebar-x)) !important;
}
.cat-products {
  transform: translateX(var(--sv-category-products-x)) !important;
}
/* правая зона категории */
.cat-products {
  width: 820px !important;
  max-width: 820px !important;
}
/* сетка товаров */
.cat-products .woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 260px) !important;
  gap: 20px !important;
  justify-content: start !important;
  width: 820px !important;
  max-width: 820px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
/* карточки */
.cat-products .woocommerce ul.products li.product {
  width: 260px !important;
  max-width: 260px !important;
  min-width: 260px !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
}
/* =====================================================
   4. СТРЕЛКИ НА СТРАНИЦЕ ТОВАРА
===================================================== */
/*
  Двигать стрелки товара:
  --sv-product-arrow-y: выше/ниже
  --sv-product-arrow-left-x: левая стрелка вправо/влево
  --sv-product-arrow-right-x: правая стрелка вправо/влево
*/
:root {
  --sv-product-arrow-y: 42%;
  --sv-product-arrow-left-x: -10px;
  --sv-product-arrow-right-x: -10px;
}
.single-product div.product div.images,
.single-product .woocommerce-product-gallery {
  position: relative !important;
}
.single-product .sv-gallery-arrow {
  position: absolute !important;
  top: var(--sv-product-arrow-y) !important;
  transform: translateY(-50%) !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  border: none !important;
  background: var(--sv-white) !important;
  box-shadow: var(--sv-shadow) !important;
  z-index: 999 !important;
  cursor: pointer !important;
}
.single-product .sv-gallery-prev {
  left: var(--sv-product-arrow-left-x) !important;
}
.single-product .sv-gallery-next {
  right: var(--sv-product-arrow-right-x) !important;
}
/* =====================================================
   5. СТРЕЛКИ КАРУСЕЛИ "ХИТЫ"
===================================================== */
/*
  Двигать стрелки хитов:
  --sv-hits-arrow-y: выше/ниже
  --sv-hits-arrow-left-x: левая стрелка
  --sv-hits-arrow-right-x: правая стрелка
*/
:root {
  --sv-hits-arrow-y: 50%;
  --sv-hits-arrow-left-x: 24px;
  --sv-hits-arrow-right-x: 24px;
}
.ywcps-wrapper {
  position: relative !important;
  overflow: visible !important;
}
.ywcps-wrapper .owl-prev,
.ywcps-wrapper .owl-next {
  position: absolute !important;
  top: var(--sv-hits-arrow-y) !important;
  transform: translateY(-50%) !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  border: none !important;
  background: var(--sv-white) !important;
  box-shadow: var(--sv-shadow) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  z-index: 50 !important;
}
.ywcps-wrapper .owl-prev {
  left: var(--sv-hits-arrow-left-x) !important;
}
.ywcps-wrapper .owl-next {
  right: var(--sv-hits-arrow-right-x) !important;
}
/* =====================================================
   6. ПОИСК: ЕСЛИ НИЧЕГО НЕ НАЙДЕНО
===================================================== */
/*
  Двигать плашку "ничего не найдено":
  --sv-search-empty-top: ниже/выше
*/
:root {
  --sv-search-empty-top: 24px;
}
body.search .woocommerce-info,
body.search-results .woocommerce-info,
body.search .woocommerce-no-products-found,
body.search-results .woocommerce-no-products-found,
body.search .no-results,
body.search-results .no-results {
  margin-top: var(--sv-search-empty-top) !important;
  margin-bottom: 60px !important;
  background: var(--sv-white) !important;
  border: none !important;
  border-radius: 16(--sv-radius-card) !important;
  box-shadow: var(--sv-shadow-card) !important;
  padding: 24px !important;
  font-family: Inter, sans-serif !important;
  font-size: 14px !important;
  color: var(--sv-text) !important;
}
body.search .woocommerce-info::before,
body.search-results .woocommerce-info::before {
  display: none !important;
  content: none !important;
}
/* =====================================================
   7. ШАПКА: УБРАТЬ ПРОЗРАЧНОСТЬ ПРИ СКРОЛЛЕ
===================================================== */
.site-header-wrap,
.elementor-location-header,
.header-topbar,
.header-full-bg,
.headerflexbox {
  opacity: 1 !important;
}
.site-header-wrap {
  background: var(--sv-bg) !important;
}
.header-topbar {
  background: var(--sv-bg) !important;
}
.header-full-bg,
.headerflexbox {
  background: var(--sv-white) !important;
}
/* подложка сверху на всю ширину */
.site-header-wrap::before,
.elementor-location-header::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 0 !important;
  width: 100vw !important;
  height: 100% !important;
  transform: translateX(-50%) !important;
  background: var(--sv-bg) !important;
  z-index: -1 !important;
}
/* =====================================================
   8. АДАПТИВ ДО МОБИЛЬНОЙ ВЕРСИИ
===================================================== */
@media (max-width: 1200px) {
  .sv-back-wrap,
  .single-product .sv-back-wrap,
  body.search .sv-search-back-wrap,
  body.search-results .sv-search-back-wrap,
  body:has(.sv-requests-page) .sv-back-wrap {
    width: calc(100% - 28px) !important;
    max-width: var(--sv-container) !important;
  }
}
/* =====================================================
   СРОЧНЫЙ ФИНАЛЬНЫЙ ФИКС
   ВСТАВИТЬ В САМЫЙ НИЗ CSS
===================================================== */
:root {
  /* ===== КНОПКА НАЗАД ===== */
  --sv-back-product-top: 44px;      /* страница товара: от шапки до Назад */
  --sv-back-product-bottom: 26px;   /* страница товара: от Назад до товара */
  --sv-back-product-x: 0px;         /* страница товара: вправо/влево */
  --sv-back-product-y: 0px;         /* страница товара: вниз/вверх */
  --sv-back-category-top: 44px;     /* категории: от шапки до Назад */
  --sv-back-category-bottom: 28px;  /* категории: от Назад до контента */
  --sv-back-category-x: 0px;
  --sv-back-category-y: 0px;
  --sv-back-search-top: 44px;       /* поиск: от шапки до Назад */
  --sv-back-search-bottom: 28px;    /* поиск: от Назад до товаров/плашки */
  --sv-back-search-x: 0px;
  --sv-back-search-y: 0px;
  --sv-back-requests-top: 44px;     /* мои заявки: от шапки до Назад */
  --sv-back-requests-bottom: 28px;
  --sv-back-requests-x: 0px;
  --sv-back-requests-y: 0px;
  /* ===== КАТЕГОРИЯ ===== */
  --sv-cat-title-y: 4px;            /* название категории ниже/выше */
  --sv-cat-title-x: 0px;            /* название категории вправо/влево */
  /* ===== ПОИСК НИЧЕГО НЕ НАЙДЕНО ===== */
  --sv-empty-search-radius: 16px;   /* радиус большой белой плашки */
  --sv-empty-search-y: 0px;         /* плашку ниже/выше */
}
/* =====================================================
   1. УБРАТЬ ПРОЗРАЧНОСТЬ ЗА ШАПКОЙ
===================================================== */
.elementor-location-header,
.site-header-wrap,
.header-topbar,
.header-full-bg,
.headerflexbox {
  position: relative !important;
  z-index: 99999 !important;
  opacity: 1 !important;
}
.elementor-location-header {
  background: #FAFAFA !important;
}
.site-header-wrap,
.header-topbar {
  background: #FAFAFA !important;
}
.header-full-bg,
.headerflexbox {
  background: #ffffff !important;
}
/* широкая подложка верхней серой части */
.header-topbar::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 0 !important;
  width: 100vw !important;
  height: 100% !important;
  transform: translateX(-50%) !important;
  background: #FAFAFA !important;
  z-index: -1 !important;
}
/* широкая подложка белой части шапки */
.header-full-bg::before,
.headerflexbox::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 0 !important;
  width: 100vw !important;
  height: 100% !important;
  transform: translateX(-50%) !important;
  background: #ffffff !important;
  z-index: -1 !important;
}
/* =====================================================
   2. КНОПКА НАЗАД — ОБЩИЙ ВИД
===================================================== */
.sv-back-button,
.sv-back-link,
.single-product .sv-product-back {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-family: Inter, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: #5A5A5A !important;
  text-decoration: none !important;
  cursor: pointer !important;
}
.sv-back-arrow {
  width: 8px !important;
  height: 8px !important;
  border-left: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: rotate(45deg) !important;
  display: inline-block !important;
}
/* =====================================================
   3. КНОПКА НАЗАД — СТРАНИЦА ТОВАРА
   МЕНЯТЬ ТУТ:
   --sv-back-product-top
   --sv-back-product-bottom
   --sv-back-product-x
   --sv-back-product-y
===================================================== */
.single-product .sv-back-wrap {
  width: 1140px !important;
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: var(--sv-back-product-top) !important;
  margin-bottom: var(--sv-back-product-bottom) !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
.single-product .sv-back-wrap .sv-back-button,
.single-product .sv-product-back {
  transform: translate(var(--sv-back-product-x), var(--sv-back-product-y)) !important;
}
/* =====================================================
   4. КНОПКА НАЗАД — КАТЕГОРИИ
===================================================== */
body:not(.single-product):not(.search):not(.search-results):not(:has(.sv-requests-page)) .sv-back-wrap,
body:not(.single-product):not(.search):not(.search-results):not(:has(.sv-requests-page)) .elementor-widget-shortcode:has(.sv-back-button),
body:not(.single-product):not(.search):not(.search-results):not(:has(.sv-requests-page)) .elementor-widget-html:has(.sv-back-button) {
  width: 1140px !important;
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: var(--sv-back-category-top) !important;
  margin-bottom: var(--sv-back-category-bottom) !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
body:not(.single-product):not(.search):not(.search-results):not(:has(.sv-requests-page)) .sv-back-button {
  transform: translate(var(--sv-back-category-x), var(--sv-back-category-y)) !important;
}
/* =====================================================
   5. КНОПКА НАЗАД — ПОИСК
===================================================== */
body.search .sv-back-wrap,
body.search-results .sv-back-wrap,
body.search .sv-search-back-wrap,
body.search-results .sv-search-back-wrap {
  width: 1140px !important;
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: var(--sv-back-search-top) !important;
  margin-bottom: var(--sv-back-search-bottom) !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
body.search .sv-back-button,
body.search-results .sv-back-button {
  transform: translate(var(--sv-back-search-x), var(--sv-back-search-y)) !important;
}
/* =====================================================
   6. КНОПКА НАЗАД — МОИ ЗАЯВКИ
===================================================== */
body:has(.sv-requests-page) .sv-back-wrap,
body:has(.sv-requests-page) .elementor-widget-shortcode:has(.sv-back-button),
body:has(.sv-requests-page) .elementor-widget-html:has(.sv-back-button) {
  width: 1140px !important;
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: var(--sv-back-requests-top) !important;
  margin-bottom: var(--sv-back-requests-bottom) !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
body:has(.sv-requests-page) .sv-back-button {
  transform: translate(var(--sv-back-requests-x), var(--sv-back-requests-y)) !important;
}
/* =====================================================
   7. ПОИСК: ПЛАШКА "НИЧЕГО НЕ НАЙДЕНО"
===================================================== */
body.search .woocommerce-no-products-found,
body.search-results .woocommerce-no-products-found {
  width: 1140px !important;
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  transform: translateY(var(--sv-empty-search-y)) !important;
}
body.search .woocommerce-info,
body.search-results .woocommerce-info,
body.search .woocommerce-no-products-found .woocommerce-info,
body.search-results .woocommerce-no-products-found .woocommerce-info {
  width: 100% !important;
  background: #ffffff !important;
  border: none !important;
  border-radius: var(--sv-empty-search-radius) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
  padding: 24px !important;
  margin: 0 !important;
  font-family: Inter, sans-serif !important;
  font-size: 14px !important;
  color: #1E183A !important;
  box-sizing: border-box !important;
}
body.search .woocommerce-info::before,
body.search-results .woocommerce-info::before {
  display: none !important;
  content: none !important;
}
/* =====================================================
   8. НАЗВАНИЕ КАТЕГОРИИ — ОПУСТИТЬ ТЕКСТ НИЖЕ
===================================================== */
.cat-heading {
  transform: translate(var(--sv-cat-title-x), var(--sv-cat-title-y)) !important;
}
.cat-heading,
.cat-heading * {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
.cat-heading-title {
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  color: #1E183A !important;
}
.cat-heading-count {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #838383 !important;
}
/* =====================================================
   9. МОИ ЗАЯВКИ — СЧЁТЧИК - 3 +
   одинаковые квадратики и расстояния
===================================================== */
.sv-request-qty {
  width: 88px !important;
  display: grid !important;
  grid-template-columns: 24px 24px 24px !important;
  gap: 4px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}
.sv-request-qty .sv-qty-btn,
.sv-request-qty .sv-qty-number {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #D9D9D9 !important;
  background: #ffffff !important;
  color: #1E183A !important;
  font-family: Inter, sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}
/* =====================================================
   10. АДАПТИВ ДО МОБИЛЬНОЙ
===================================================== */
@media (max-width: 1200px) {
  .single-product .sv-back-wrap,
  body.search .sv-back-wrap,
  body.search-results .sv-back-wrap,
  body.search .sv-search-back-wrap,
  body.search-results .sv-search-back-wrap,
  body:has(.sv-requests-page) .sv-back-wrap,
  body.search .woocommerce-no-products-found,
  body.search-results .woocommerce-no-products-found {
    width: calc(100% - 28px) !important;
    max-width: 1140px !important;
  }
}
/* =====================================================
   ФИНАЛ: ПОПАП ВКЛАДКИ + СТРЕЛКИ В ХИТАХ
   ВСТАВИТЬ В САМЫЙ НИЗ CSS
===================================================== */
:root {
  /* ХИТЫ: двигать ТОЛЬКО серую стрелочку внутри кружка */
  --sv-hits-arrow-icon-y: 1px;   /* больше = ниже, меньше = выше */
  --sv-hits-arrow-icon-x: 0px;   /* вправо/влево */
}
/* =====================================================
   1. ПОПАП: ФИЗ. ЛИЦО / ЮР. ЛИЦО, ИП
   нормальные ровные палочки под вкладками
===================================================== */
.sv-popup-tabs {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important;
  gap: 34px !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
}
.sv-popup-tabs button {
  position: relative !important;
  width: auto !important;
  min-width: 112px !important;
  margin: 0 !important;
  padding: 0 0 10px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  color: #1E183A !important;
  text-align: center !important;
  cursor: pointer !important;
}
/* убираем старые линии, если они были через border */
.sv-popup-tabs button,
.sv-popup-tabs button:hover,
.sv-popup-tabs button:focus,
.sv-popup-tabs button.active {
  border: none !important;
  border-bottom: none !important;
  outline: none !important;
}
/* сама палочка */
.sv-popup-tabs button::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 3px !important;
  transform: translateX(-50%) !important;
  border-radius: 999px !important;
  background: #D9D9D9 !important;
  display: block !important;
}
/* активная палочка */
.sv-popup-tabs button.active::after {
  background: #FF2A57 !important;
}
/* если у темы/Elementor были before-линии — убрать */
.sv-popup-tabs button::before {
  display: none !important;
  content: none !important;
}
/* =====================================================
   2. ХИТЫ: ДВИГАЕМ ТОЛЬКО СЕРУЮ СТРЕЛКУ ВНУТРИ КРУЖКА
===================================================== */
.ywcps-wrapper .owl-prev,
.ywcps-wrapper .owl-next {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
/* убираем стандартный текст/символы */
.ywcps-wrapper .owl-prev span,
.ywcps-wrapper .owl-next span {
  display: none !important;
}
/* сама серая стрелочка */
.ywcps-wrapper .owl-prev::before,
.ywcps-wrapper .owl-next::before {
  content: "" !important;
  width: 10px !important;
  height: 10px !important;
  border-top: 2px solid #9A9795 !important;
  border-right: 2px solid #9A9795 !important;
  display: block !important;
  margin: 0 !important;
  position: relative !important;
}
/* левая стрелка — серую стрелку чуть вниз */
.ywcps-wrapper .owl-prev::before {
  transform:
    translate(var(--sv-hits-arrow-icon-x), var(--sv-hits-arrow-icon-y))
    rotate(-135deg) !important;
}
/* правая стрелка — серую стрелку чуть вниз */
.ywcps-wrapper .owl-next::before {
  transform:
    translate(var(--sv-hits-arrow-icon-x), var(--sv-hits-arrow-icon-y))
    rotate(45deg) !important;
}
/* =====================================================
   ФИНАЛЬНАЯ РЕГУЛИРОВКА КНОПКИ "НАЗАД"
   ВСТАВИТЬ В САМЫЙ НИЗ CSS
===================================================== */
:root {
  /* ОБЩЕЕ: левый край кнопки Назад.
     0px = как контейнер 1140.
     0px = правее.
     0px = левее. */
  --sv-back-left-x: -542px;
  /* 1. Страница категории: /novinki/, /konfety/, /ovsyanoe/ и т.д. */
  --sv-back-category-top: 20px;     /* меньше = выше, больше = ниже */
  --sv-back-category-bottom: 20px;  /* расстояние до блока категорий/товаров */
  /* 2. Страница поиска, когда ввела товар и показались карточки */
  --sv-back-search-top: 45px;       /* меньше = выше, больше = ниже */
  --sv-back-search-bottom: 28px;
  /* 3. Страница товара */
  --sv-back-product-top: 18px;      /* меньше = выше, больше = ниже */
  --sv-back-product-bottom: 26px;
  /* 4. Страница "Мои заявки" */
  --sv-back-requests-top: 18px;     /* меньше = выше, больше = ниже */
  --sv-back-requests-bottom: 26px;
}
/* =====================================================
   ОБЩИЙ ВИД КНОПКИ
===================================================== */
.sv-back-wrap,
.sv-search-back-wrap {
  width: var(--sv-container) !important;
  max-width: var(--sv-container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
.sv-back-button,
.sv-back-link,
.sv-product-back {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-family: Inter, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: #5A5A5A !important;
  text-decoration: none !important;
  cursor: pointer !important;
}
.sv-back-button:hover,
.sv-back-link:hover,
.sv-product-back:hover {
  background: transparent !important;
  color: #1E183A !important;
}
.sv-back-arrow {
  width: 8px !important;
  height: 8px !important;
  border-left: 2px solid currentColor !important;
  border-bottom: 2px solid currentColor !important;
  transform: rotate(45deg) !important;
  display: inline-block !important;
}
/* =====================================================
   1. НАЗАД НА СТРАНИЦАХ КАТЕГОРИЙ
   Новинки / Конфеты / Овсяное / Печенье и т.д.
===================================================== */
body:not(.single-product):not(.search):not(.search-results):not(:has(.sv-requests-page)) .sv-back-wrap,
body:not(.single-product):not(.search):not(.search-results):not(:has(.sv-requests-page)) .elementor-widget-shortcode:has(.sv-back-button),
body:not(.single-product):not(.search):not(.search-results):not(:has(.sv-requests-page)) .elementor-widget-html:has(.sv-back-button) {
  width: var(--sv-container) !important;
  max-width: var(--sv-container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: var(--sv-back-category-top) !important;
  margin-bottom: var(--sv-back-category-bottom) !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
body:not(.single-product):not(.search):not(.search-results):not(:has(.sv-requests-page)) .sv-back-button {
  transform: translateX(var(--sv-back-left-x)) !important;
}
/* =====================================================
   2. НАЗАД НА СТРАНИЦЕ ПОИСКА
   Например когда ввела "безе"
===================================================== */
body.search .sv-search-back-wrap,
body.search-results .sv-search-back-wrap,
body.search .sv-back-wrap,
body.search-results .sv-back-wrap {
  width: var(--sv-container) !important;
  max-width: var(--sv-container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: var(--sv-back-search-top) !important;
  margin-bottom: var(--sv-back-search-bottom) !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
body.search .sv-back-button,
body.search-results .sv-back-button {
  transform: translateX(var(--sv-back-left-x)) !important;
}
/* =====================================================
   3. НАЗАД НА СТРАНИЦЕ ТОВАРА
===================================================== */
.single-product .sv-back-wrap {
  width: var(--sv-container) !important;
  max-width: var(--sv-container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: var(--sv-back-product-top) !important;
  margin-bottom: var(--sv-back-product-bottom) !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
.single-product .sv-back-button,
.single-product .sv-product-back {
  transform: translateX(var(--sv-back-left-x)) !important;
}
/* =====================================================
   4. НАЗАД НА СТРАНИЦЕ "МОИ ЗАЯВКИ"
===================================================== */
body:has(.sv-requests-page) .sv-back-wrap,
body:has(.sv-requests-page) .elementor-widget-shortcode:has(.sv-back-button),
body:has(.sv-requests-page) .elementor-widget-html:has(.sv-back-button) {
  width: var(--sv-container) !important;
  max-width: var(--sv-container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: var(--sv-back-requests-top) !important;
  margin-bottom: var(--sv-back-requests-bottom) !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
body:has(.sv-requests-page) .sv-back-button {
  transform: translateX(var(--sv-back-left-x)) !important;
}
/* =====================================================
   ЕСЛИ НУЖНО ЕЩЁ ТОЧНЕЕ ДВИГАТЬ ТОЛЬКО ОДНУ СТРАНИЦУ
===================================================== */
/* Категории отдельно вправо/влево */
body:not(.single-product):not(.search):not(.search-results):not(:has(.sv-requests-page)) .sv-back-button {
  /* translateX(0px) — норм
     translateX(10px) — правее
     translateX(-10px) — левее */
}
/* Поиск отдельно */
body.search .sv-back-button,
body.search-results .sv-back-button {
  /* сюда можно добавить transform отдельно, если надо */
}
/* Товар отдельно */
.single-product .sv-back-button,
.single-product .sv-product-back {
  /* сюда можно добавить transform отдельно, если надо */
}
/* Мои заявки отдельно */
body:has(.sv-requests-page) .sv-back-button {
  /* сюда можно добавить transform отдельно, если надо */
}
/* =====================================================
   ШАПКА НА СТРАНИЦЕ ПОИСКА — ВЫСОТА КАК НА КАТЕГОРИЯХ
   ВСТАВИТЬ В САМЫЙ НИЗ CSS
===================================================== */
body.search .header-full-bg,
body.search-results .header-full-bg {
  min-height: 62px !important; /* МЕНЯТЬ: высота белой шапки */
  display: flex !important;
  align-items: center !important;
}
body.search .headerflexbox,
body.search-results .headerflexbox,
body.search .header-full-bg .headerflexbox,
body.search-results .header-full-bg .headerflexbox {
  min-height: 62px !important; /* МЕНЯТЬ: должно быть такое же число */
  height: 62px !important;     /* МЕНЯТЬ: высота самой строки шапки */
  display: flex !important;
  align-items: center !important;
}
/* если нужно чуть опустить/поднять элементы внутри шапки поиска */
body.search .headerflexbox > *,
body.search-results .headerflexbox > * {
  transform: translateY(0px) !important;
  /*
    translateY(4px)  = элементы ниже
    translateY(-4px) = элементы выше
  */
}
/* =====================================================
   ПОД ЗАКАЗ — КНОПКА "ХОЧУ ЗАКАЗАТЬ"
===================================================== */
/* карточки товаров из категории Под заказ */
li.product.product_cat-zakaz .button::before {
  content: "Хочу заказать" !important;
}
/* страница товара из категории Под заказ */
body.sv-single-zakaz-product .single_add_to_cart_button {
  font-size: 0 !important;
}
body.sv-single-zakaz-product .single_add_to_cart_button::before {
  content: "Хочу заказать" !important;
  font-family: Inter, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}
/* =====================================================
   ПОД ЗАКАЗ — КНОПКА "ХОЧУ ЗАКАЗАТЬ"
   ВСТАВИТЬ В САМЫЙ НИЗ CSS
===================================================== */
/* страница /zakaz/ — все кнопки карточек */
body.sv-zakaz-page ul.products li.product .button::before,
body.sv-zakaz-page .woocommerce ul.products li.product .button::before,
body.sv-zakaz-page .cat-products ul.products li.product .button::before {
  content: "Хочу заказать" !important;
}
/* если у товаров есть класс категории product_cat-zakaz */
ul.products li.product.product_cat-zakaz .button::before,
.woocommerce ul.products li.product.product_cat-zakaz .button::before {
  content: "Хочу заказать" !important;
}
/* если slug категории вдруг pod-zakaz */
ul.products li.product.product_cat-pod-zakaz .button::before,
.woocommerce ul.products li.product.product_cat-pod-zakaz .button::before {
  content: "Хочу заказать" !important;
}
/* страница товара под заказ */
body.sv-single-zakaz-product .single_add_to_cart_button {
  font-size: 0 !important;
}
body.sv-single-zakaz-product .single_add_to_cart_button::before {
  content: "Хочу заказать" !important;
  font-family: Inter, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}
/* =====================================================
   МОБИЛЬНАЯ ШАПКА
===================================================== */
.sv-mobile-header {
  display: none;
}
@media (max-width: 767px) {
  .sv-mobile-header {
    width: 100%;
    height: 72px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-sizing: border-box;
    background: #ffffff;
    position: relative;
    z-index: 99999;
    box-shadow: 0 2px 8px rgba(30, 24, 58, 0.04);
  }
  /* бургер */
  .sv-mobile-burger {
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
  }
  .sv-mobile-burger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #E71D4F;
    border-radius: 999px;
  }
  /* логотип */
  .sv-mobile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }
  .sv-mobile-logo img {
    width: 112px;
    height: auto;
    display: block;
  }
  /* правые иконки */
  .sv-mobile-actions {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .sv-mobile-search-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    position: relative;
    cursor: pointer;
  }
  .sv-mobile-search-btn::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 15px;
    height: 15px;
    border: 3px solid #1E183A;
    border-radius: 50%;
  }
  .sv-mobile-search-btn::after {
    content: "";
    position: absolute;
    right: 3px;
    bottom: 4px;
    width: 10px;
    height: 3px;
    background: #1E183A;
    border-radius: 999px;
    transform: rotate(45deg);
    transform-origin: center;
  }
  .sv-mobile-request-link {
    width: 28px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
  }
  .sv-mobile-request-link::before {
    content: "";
    width: 19px;
    height: 24px;
    border: 3px solid #1E183A;
    border-radius: 2px;
    box-sizing: border-box;
  }
  .sv-mobile-request-link::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    width: 10px;
    height: 3px;
    background: #1E183A;
    box-shadow: 0 6px 0 #1E183A;
  }
  .sv-mobile-request-count {
    position: absolute;
    right: -8px;
    top: -5px;
    width: 18px;
    height: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F72555;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
  }
  .sv-mobile-request-count.active {
    display: flex;
  }
}
/* =====================================================
   МОБИЛЬНАЯ ШАПКА — ПРАВКИ ПО ПОЛОЖЕНИЮ
===================================================== */
@media (max-width: 767px) {
  /* вся шапка */
  .sv-mobile-header {
    height: 72px !important;
    padding: 0 14px !important;
    background: #ffffff !important;
  }
  /* бургер */
  .sv-mobile-burger {
    margin-left: 0 !important;
  }
  /* логотип двигаем ближе к бургеру */
  .sv-mobile-logo {
    margin-left: -74px !important;
    transform: translateX(0px) !important;
  }
  /*
    Чтобы двигать логотип:
    margin-left: -74px;  ближе к бургеру
    margin-left: -60px;  правее
    margin-left: -90px;  левее
  */
  .sv-mobile-logo img {
    width: 118px !important;
  }
  .sv-mobile-actions {
    gap: 18px !important;
  }
  /* лупа */
  .sv-mobile-search-btn {
    width: 32px !important;
    height: 32px !important;
  }
  /* иконка заявки — аккуратнее, ближе к десктопной */
  .sv-mobile-request-link {
    width: 32px !important;
    height: 34px !important;
  }
  .sv-mobile-request-link::before {
    width: 21px !important;
    height: 26px !important;
    border: 2.4px solid #1E183A !important;
    border-radius: 3px !important;
    background: transparent !important;
  }
  .sv-mobile-request-link::after {
    width: 10px !important;
    height: 2px !important;
    left: 10px !important;
    top: 10px !important;
    background: #1E183A !important;
    box-shadow: 0 6px 0 #1E183A, 0 12px 0 #1E183A !important;
  }
  .sv-mobile-request-count {
    right: -6px !important;
    top: -3px !important;
  }
}
/* =====================================================
   МОБИЛЬНОЕ МЕНЮ КАТЕГОРИЙ
===================================================== */
.sv-mobile-menu-panel,
.sv-mobile-search-panel {
  display: none;
}
@media (max-width: 767px) {
  .sv-mobile-menu-panel.active,
  .sv-mobile-search-panel.active {
    display: block !important;
  }
  .sv-mobile-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(30, 24, 58, 0.35) !important;
    z-index: 999998 !important;
  }
  .sv-mobile-menu-box {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 78vw !important;
    max-width: 310px !important;
    height: 100vh !important;
    background: #ffffff !important;
    z-index: 999999 !important;
    padding: 18px 16px 26px !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    box-shadow: 8px 0 24px rgba(30, 24, 58, 0.16) !important;
  }
  .sv-mobile-menu-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 18px !important;
  }
  .sv-mobile-menu-title {
    font-family: Inter, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1E183A !important;
  }
  .sv-mobile-menu-close,
  .sv-mobile-search-close {
    width: 32px !important;
    height: 32px !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 28px !important;
    line-height: 1 !important;
    color: #1E183A !important;
    padding: 0 !important;
    cursor: pointer !important;
  }
  .sv-mobile-menu-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }
  .sv-mobile-menu-list a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 42px !important;
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1E183A !important;
    text-decoration: none !important;
    border-radius: 10px !important;
    padding: 8px 10px !important;
    background: transparent !important;
  }
  .sv-mobile-menu-list a:hover {
    background: #F6F6F6 !important;
  }
  .sv-mobile-menu-list span {
    width: 24px !important;
    min-width: 24px !important;
    text-align: center !important;
    font-size: 20px !important;
  }
}
/* =====================================================
   МОБИЛЬНЫЙ ПОИСК
===================================================== */
@media (max-width: 767px) {
  .sv-mobile-search-box {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    z-index: 999999 !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    box-shadow: 0 8px 24px rgba(30, 24, 58, 0.14) !important;
  }
  .sv-mobile-search-form {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .sv-mobile-search-form input {
    flex: 1 !important;
    height: 44px !important;
    border: 1px solid #E3E0DD !important;
    border-radius: 10px !important;
    background: #F7F7F7 !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    color: #1E183A !important;
    outline: none !important;
  }
  .sv-mobile-search-form button[type="submit"] {
    width: 72px !important;
    height: 44px !important;
    border: none !important;
    border-radius: 10px !important;
    background: #F5B400 !important;
    color: #ffffff !important;
    font-family: Inter, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 0 !important;
  }
}
/* =====================================================
   МОБИЛЬНОЕ МЕНЮ — ИКОНКИ КАРТИНКАМИ
===================================================== */
@media (max-width: 767px) {
  .sv-mobile-menu-list-img a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 44px !important;
    padding: 8px 10px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1E183A !important;
  }
  .sv-mobile-menu-list-img a:hover {
    background: #F6F6F6 !important;
  }
  .sv-mobile-menu-list-img img {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !important;
    object-position: center !important;
    flex: 0 0 28px !important;
    display: block !important;
  }
  .sv-mobile-menu-list-img span {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    text-align: left !important;
  }
}
/* =====================================================
   МОБИЛЬНАЯ ВЕРСИЯ — БЛОК "НОВИНКИ" НА ГЛАВНОЙ
   ВСТАВИТЬ В САМЫЙ НИЗ CSS
===================================================== */
@media (max-width: 767px) {
  /* ===== ОБЁРТКА БЛОКА НОВИНКИ ===== */
  .mobile-new-products,
  .home-new-products,
  .sv-mobile-new-products,
  .elementor-widget-shortcode:has(.woocommerce ul.products) {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
  }
/* ===== ЗАГОЛОВОК "НОВИНКИ" ===== */
.mobile-new-products h2,
.home-new-products h2,
.sv-mobile-new-products h2 {
  font-family: Inter, sans-serif !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #1E183A !important;
  margin: 0 0 14px 0 !important;
  padding: 0 !important;
}
  /* ===== СЕТКА ТОВАРОВ: 2 В РЯД ===== */
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  /* ===== КАРТОЧКА ТОВАРА ===== */
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 255px !important;
    margin: 0 !important;
    padding: 8px 8px 10px !important;
    float: none !important;
    clear: none !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(30, 24, 58, 0.10) !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  /* ===== ССЫЛКА ВНУТРИ КАРТОЧКИ ===== */
  .woocommerce ul.products li.product .woocommerce-loop-product__link,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__link {
    display: block !important;
    width: 100% !important;
    color: #1E183A !important;
    text-decoration: none !important;
  }
  /* ===== КАРТИНКА ТОВАРА ===== */
  .woocommerce ul.products li.product img,
  .woocommerce-page ul.products li.product img {
    width: 100% !important;
    height: 132px !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #FFFFFF !important;
    border-radius: 8px !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    display: block !important;
  }
  /* ===== НАЗВАНИЕ ТОВАРА ===== */
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
    color: #1E183A !important;
    min-height: 30px !important;
    max-height: 32px !important;
    overflow: hidden !important;
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
  }
  /* ===== "ПОДРОБНЕЕ →" ===== */
  .woocommerce ul.products li.product .woocommerce-loop-product__link::after,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__link::after {
    content: "Подробнее →" !important;
    display: block !important;
    font-family: Inter, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    color: #1E183A !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  /* ===== КНОПКА "ДОБАВИТЬ В ЗАЯВКУ" ===== */
  .woocommerce ul.products li.product .button,
  .woocommerce-page ul.products li.product .button {
    width: 100% !important;
    height: 28px !important;
    margin-top: auto !important;
    border-radius: 999px !important;
    border: none !important;
    background: #E9A400 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    font-size: 0 !important;
    text-decoration: none !important;
  }
  .woocommerce ul.products li.product .button::before,
  .woocommerce-page ul.products li.product .button::before {
    content: "Добавить в заявку" !important;
    font-family: Inter, sans-serif !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: #ffffff !important;
  }
  /* ===== ЕСЛИ ТОВАР УЖЕ В ЗАЯВКЕ: СЧЁТЧИК НА КАРТОЧКЕ ===== */
  .sv-card-qty-control {
    width: 100% !important;
    height: 28px !important;
    margin-top: auto !important;
    display: grid !important;
    grid-template-columns: 28px 1fr 28px !important;
    align-items: center !important;
    border: 1px solid #D9D9D9 !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
  }
  .sv-card-minus,
  .sv-card-plus {
    width: 28px !important;
    height: 28px !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #1E183A !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .sv-card-qty-number {
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    color: #1E183A !important;
  }
}
@media (max-width: 767px) {
  .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
  }
}

/* =====================================================
   МОБИЛЬНАЯ ГЛАВНАЯ — ЧИСТЫЙ ФИНАЛ
   ВСТАВИТЬ В САМЫЙ НИЗ CSS
===================================================== */
@media (max-width: 767px) {
  :root {
    --sv-mob-gap: 12px;
    --sv-mob-card-gap: 10px;
    --sv-mob-header-height: 92px;      /* ВЫСОТА мобильной шапки */
    --sv-mob-after-header-gap: 0px;    /* СЕРАЯ ПОЛОСА/ОТСТУП под шапкой */
  }
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    background: #FAFAFA !important;
  }
  .site,
  .site-content,
  .content-area,
  .site-main,
  main,
  .elementor {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    background: #FAFAFA !important;
  }
  /* =====================================================
     1. МОБИЛЬНАЯ ШАПКА
  ===================================================== */
  .elementor-location-header {
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .sv-mobile-header {
    width: 100% !important;
    max-width: 100% !important;
    height: var(--sv-mob-header-height) !important;
    min-height: var(--sv-mob-header-height) !important;
    padding: 0 24px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    box-shadow: none !important;
    border: none !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 99999 !important;
  }
.sv-mobile-header::before,
.sv-mobile-header::after,
.elementor-location-header::before {
  display: none !important;
  content: none !important;
}
  /* вот это как раз пространство под шапкой */
  .elementor-location-header + *,
  .site-header-wrap + *,
  .sv-mobile-header + * {
    margin-top: var(--sv-mob-after-header-gap) !important;
    padding-top: 0 !important;
  }
  /* =====================================================
     2. ЛОГОТИП В ШАПКЕ
  ===================================================== */
  .sv-mobile-logo {
    width: 120px !important;
    max-width: 120px !important;
    height: 54px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  .sv-mobile-logo img {
    width: 110px !important;
    max-width: 110px !important;
    height: auto !important;
    max-height: 44px !important;
    display: block !important;
    object-fit: contain !important;
  }
  /* =====================================================
     3. БАННЕР — ПОЧТИ НА ВСЮ ШИРИНУ
  ===================================================== */
  .home .n2-section-smartslider,
  .home .n2-ss-slider,
  .home .sv-home-banner,
  .home .elementor-widget-shortcode:has(.n2-ss-slider) {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    border-radius: 0 0 16px 16px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
/* =====================================================
   МОБИЛЬНЫЕ ЗАГОЛОВКИ СЕКЦИЙ: НОВИНКИ / КАТАЛОГ / ХИТЫ
===================================================== */

@media (max-width: 767px) {
  .home .mobile-new-products > .elementor-widget-heading .elementor-heading-title,
  .home .mobile-new-products .sv-section-title .elementor-heading-title,
  .home .mobile-new-products .sv-new-title .elementor-heading-title,
  .home .mobile-new-products h2.elementor-heading-title {
    width: auto !important;
    max-width: none !important;

    font-size: 18px !important;
    line-height: 1.12 !important;
    font-weight: 700 !important;
    color: #1E183A !important;

    margin: 0 0 14px 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }
}
  /* =====================================================
     5. БЛОК ТОВАРОВ
  ===================================================== */
  .home .woocommerce,
  .home .woocommerce-page,
  .home .elementor-widget-shortcode:has(.woocommerce ul.products),
  .home .mobile-new-products,
  .home .home-new-products,
  .home .sv-mobile-new-products {
    width: calc(100vw - var(--sv-mob-gap) * 2) !important;
    max-width: calc(100vw - var(--sv-mob-gap) * 2) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  .home .woocommerce ul.products,
  .home .woocommerce-page ul.products {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: var(--sv-mob-card-gap) !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box !important;
  }
  .home .woocommerce ul.products::before,
  .home .woocommerce ul.products::after {
    display: none !important;
    content: none !important;
  }
  /* =====================================================
     6. КАРТОЧКИ
  ===================================================== */
  .home .woocommerce ul.products li.product,
  .home .woocommerce-page ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 278px !important;
    margin: 0 !important;
    padding: 8px 8px 12px !important;
    float: none !important;
    clear: none !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 12px rgba(30, 24, 58, 0.10) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .home .woocommerce ul.products li.product .woocommerce-loop-product__link,
  .home .woocommerce-page ul.products li.product .woocommerce-loop-product__link {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    overflow: hidden !important;
    color: #1E183A !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }
  .home .woocommerce ul.products li.product img,
  .home .woocommerce-page ul.products li.product img {
    width: 100% !important;
    height: 138px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    background: #FFFFFF !important;
    border-radius: 10px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
  }
  /* =====================================================
     7. ТЕКСТ В КАРТОЧКЕ — МЕНЬШЕ И НЕ УЕЗЖАЕТ
  ===================================================== */
  .home .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .home .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    width: 100% !important;
    max-width: 100% !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    min-height: 26px !important;
    max-height: 28px !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    overflow: hidden !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    color: #1E183A !important;
    box-sizing: border-box !important;
  }
  .home .woocommerce ul.products li.product .woocommerce-loop-product__link::after,
  .home .woocommerce-page ul.products li.product .woocommerce-loop-product__link::after {
    content: "Подробнее →" !important;
    display: block !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #1E183A !important;
  }
  /* =====================================================
     8. КНОПКА
  ===================================================== */
  .home .woocommerce ul.products li.product .button,
  .home .woocommerce-page ul.products li.product .button {
    width: 100% !important;
    height: 32px !important;
    margin-top: auto !important;
    border: none !important;
    border-radius: 999px !important;
    background: #FFB200 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    box-shadow: none !important;
    font-size: 0 !important;
    text-decoration: none !important;
  }
  .home .woocommerce ul.products li.product .button::before,
  .home .woocommerce-page ul.products li.product .button::before {
    content: "Добавить в заявку" !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: #ffffff !important;
  }
  /* =====================================================
     9. ПЛАВАЮЩАЯ КНОПКА ТЕЛЕФОНА
  ===================================================== */
  .sv-floating-buttons {
    right: 18px !important;
    bottom: 76px !important;
  }
}/* =====================================================
   МОБИЛЬНАЯ ШАПКА — ФИНАЛ ПОД ТВОЙ HTML
   ВСТАВИТЬ В САМЫЙ НИЗ CSS
===================================================== */
@media (max-width: 767px) {
  :root {
    --sv-mobile-header-height: 82px;
    --sv-mobile-header-pad-x: 24px;
    --sv-mobile-logo-width: 112px;
    --sv-mobile-logo-height: 46px;
    --sv-mobile-icon-size: 34px;
    --sv-mobile-actions-gap: 24px;
    --sv-mobile-burger-color: #FF2A57;
    --sv-mobile-icon-color: #1E183A;
  }
  /* сама шапка */
  .sv-mobile-header {
    width: 100% !important;
    height: var(--sv-mobile-header-height) !important;
    min-height: var(--sv-mobile-header-height) !important;
    display: grid !important;
    grid-template-columns: 42px 1fr auto !important;
    align-items: center !important;
    padding: 0 var(--sv-mobile-header-pad-x) !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 99999 !important;
  }
  .sv-mobile-header::before,
  .sv-mobile-header::after {
    display: none !important;
    content: none !important;
  }
  /* убираем серую/розовую подложку под шапкой */
  .elementor-location-header,
  .site-header-wrap,
  .header-full-bg,
  .headerflexbox {
    margin: 0 !important;
    padding-bottom: 0 !important;
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
  }
  .elementor-location-header::before,
  .elementor-location-header::after,
  .site-header-wrap::before,
  .site-header-wrap::after,
  .header-full-bg::before,
  .header-full-bg::after,
  .headerflexbox::before,
  .headerflexbox::after {
    display: none !important;
    content: none !important;
  }
  .elementor-location-header + *,
  .site-header-wrap + *,
  .sv-mobile-header + * {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  /* =====================================================
     БУРГЕР
  ===================================================== */
  .sv-mobile-burger {
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer !important;
  }
  .sv-mobile-burger span {
    display: block !important;
    width: 32px !important;
    height: 4px !important;
    background: var(--sv-mobile-burger-color) !important;
    border-radius: 999px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .sv-mobile-burger:hover,
  .sv-mobile-burger:focus,
  .sv-mobile-burger:active {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
  }
  .sv-mobile-burger:hover span,
  .sv-mobile-burger:focus span,
  .sv-mobile-burger:active span {
    background: var(--sv-mobile-burger-color) !important;
  }
  /* =====================================================
     ЛОГОТИП
  ===================================================== */
  .sv-mobile-logo {
    width: var(--sv-mobile-logo-width) !important;
    max-width: var(--sv-mobile-logo-width) !important;
    height: var(--sv-mobile-logo-height) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    text-decoration: none !important;
    justify-self: start !important;
  }
  .sv-mobile-logo img {
    display: block !important;
    width: auto !important;
    max-width: var(--sv-mobile-logo-width) !important;
    height: auto !important;
    max-height: var(--sv-mobile-logo-height) !important;
    object-fit: contain !important;
    object-position: left center !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  /* =====================================================
     ПРАВЫЕ ИКОНКИ
  ===================================================== */
  .sv-mobile-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: var(--sv-mobile-actions-gap) !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .sv-mobile-search-btn,
  .sv-mobile-request-link {
    width: var(--sv-mobile-icon-size) !important;
    height: var(--sv-mobile-icon-size) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none !important;
    cursor: pointer !important;
  }
  .sv-mobile-search-btn:hover,
  .sv-mobile-search-btn:focus,
  .sv-mobile-search-btn:active,
  .sv-mobile-request-link:hover,
  .sv-mobile-request-link:focus,
  .sv-mobile-request-link:active {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
  }
  /* =====================================================
     ИКОНКА ПОИСКА — РИСУЕМ CSS, БЕЗ КАРТИНКИ
  ===================================================== */
  .sv-mobile-search-btn::before {
    content: "" !important;
    width: 21px !important;
    height: 21px !important;
    border: 6px solid var(--sv-mobile-icon-color) !important;
    border-radius: 50% !important;
    position: absolute !important;
    left: 1px !important;
    top: 1px !important;
    box-sizing: border-box !important;
    background: transparent !important;
  }
  .sv-mobile-search-btn::after {
    content: "" !important;
    width: 17px !important;
    height: 6px !important;
    background: var(--sv-mobile-icon-color) !important;
    border-radius: 999px !important;
    position: absolute !important;
    right: 0px !important;
    bottom: 3px !important;
    transform: rotate(45deg) !important;
    transform-origin: center !important;
  }
  /* =====================================================
     ИКОНКА ЗАЯВКИ — РИСУЕМ CSS, БЕЗ КАРТИНКИ
  ===================================================== */
  .sv-mobile-request-link::before {
    content: "" !important;
    width: 25px !important;
    height: 31px !important;
    border: 5px solid var(--sv-mobile-icon-color) !important;
    border-radius: 4px !important;
    background: transparent !important;
    box-sizing: border-box !important;
    display: block !important;
  }
  /* загиб уголка */
  .sv-mobile-request-link::after {
    content: "" !important;
    position: absolute !important;
    top: 3px !important;
    right: 4px !important;
    width: 12px !important;
    height: 12px !important;
    background: #ffffff !important;
    border-left: 5px solid var(--sv-mobile-icon-color) !important;
    border-bottom: 5px solid var(--sv-mobile-icon-color) !important;
    transform: rotate(0deg) !important;
    box-sizing: border-box !important;
  }
  .sv-mobile-request-icon {
    position: absolute !important;
    left: 8px !important;
    top: 14px !important;
    width: 16px !important;
    height: 5px !important;
    background: var(--sv-mobile-icon-color) !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 0 var(--sv-mobile-icon-color) !important;
    display: block !important;
  }
  /* счётчик */
  .sv-mobile-request-count {
    position: absolute !important;
    right: -8px !important;
    top: -8px !important;
    min-width: 18px !important;
    height: 18px !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 5px !important;
    border-radius: 999px !important;
    background: #FF2A57 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 18px !important;
  }
  .sv-mobile-request-count.active {
    display: inline-flex !important;
  }
}
/* =====================================================
   МОБИЛЬНАЯ ШАПКА — ИКОНКИ КАРТИНКАМИ
   ВСТАВИТЬ В САМЫЙ НИЗ CSS
===================================================== */
@media (max-width: 767px) {
  /* отключаем нарисованные CSS-иконки */
  .sv-mobile-search-btn::before,
  .sv-mobile-search-btn::after,
  .sv-mobile-request-link::before,
  .sv-mobile-request-link::after,
  .sv-mobile-request-icon {
    display: none !important;
    content: none !important;
  }
  /* кнопки под картинки */
  .sv-mobile-search-btn,
  .sv-mobile-request-link {
    width: 42px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none !important;
  }
  .sv-mobile-search-btn:hover,
  .sv-mobile-search-btn:focus,
  .sv-mobile-search-btn:active,
  .sv-mobile-request-link:hover,
  .sv-mobile-request-link:focus,
  .sv-mobile-request-link:active {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
  }
  /* сами SVG-картинки */
  .sv-mobile-search-btn img,
  .sv-mobile-request-link img {
    display: block !important;
    width: 34px !important;
    height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  /* поиск чуть крупнее, если надо */
  .sv-mobile-search-btn img {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
  }
  /* заявка */
  .sv-mobile-request-link img {
    width: 34px !important;
    height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
  }
  /* счётчик заявки */
  .sv-mobile-request-count {
    position: absolute !important;
    right: -6px !important;
    top: -6px !important;
    min-width: 18px !important;
    height: 18px !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 5px !important;
    border-radius: 999px !important;
    background: #FF2A57 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 18px !important;
  }
  .sv-mobile-request-count.active {
    display: inline-flex !important;
  }
}
/* =====================================================
   МОБИЛЬНАЯ ШАПКА — ФИНАЛЬНЫЕ РАЗМЕРЫ КАК В МАКЕТЕ
   ВСТАВИТЬ В САМЫЙ НИЗ CSS
===================================================== */
@media (max-width: 767px) {
  :root {
    --sv-mobile-header-height: 60px;
    --sv-mobile-header-pad-x: 22px;
    --sv-mobile-burger-width: 34px;
    --sv-mobile-burger-line-width: 30px;
    --sv-mobile-burger-line-height: 3px;
    --sv-mobile-burger-gap: 6px;
    --sv-mobile-logo-width: 100px;
    --sv-mobile-logo-img-width: 100px;
    --sv-mobile-icon-size: 14px;
    --sv-mobile-icon-img-size: 26px;
    --sv-mobile-actions-gap: 28px;
  }
  /* сама шапка */
  .sv-mobile-header {
    height: var(--sv-mobile-header-height) !important;
    min-height: var(--sv-mobile-header-height) !important;
    padding: 0 var(--sv-mobile-header-pad-x) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    box-shadow: none !important;
    border: none !important;
    box-sizing: border-box !important;
  }
  /* бургер */
  .sv-mobile-burger {
    width: var(--sv-mobile-burger-width) !important;
    min-width: var(--sv-mobile-burger-width) !important;
    height: 36px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: var(--sv-mobile-burger-gap) !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  .sv-mobile-burger:hover,
  .sv-mobile-burger:focus,
  .sv-mobile-burger:active {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
  }
  .sv-mobile-burger span {
    width: var(--sv-mobile-burger-line-width) !important;
    height: var(--sv-mobile-burger-line-height) !important;
    display: block !important;
    background: #FF2A57 !important;
    border-radius: 999px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  /* логотип */
  .sv-mobile-logo {
    width: var(--sv-mobile-logo-width) !important;
    min-width: var(--sv-mobile-logo-width) !important;
    max-width: var(--sv-mobile-logo-width) !important;
    height: 54px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 auto 0 14px !important;
    padding: 0 !important;
    overflow: visible !important;
    text-decoration: none !important;
  }
  .sv-mobile-logo img {
    width: var(--sv-mobile-logo-img-width) !important;
    max-width: var(--sv-mobile-logo-img-width) !important;
    height: auto !important;
    max-height: 52px !important;
    display: block !important;
    object-fit: contain !important;
  }
  /* правые иконки */
  .sv-mobile-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: var(--sv-mobile-actions-gap) !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .sv-mobile-search-btn,
  .sv-mobile-request-link {
    width: var(--sv-mobile-icon-size) !important;
    min-width: var(--sv-mobile-icon-size) !important;
    height: var(--sv-mobile-icon-size) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
  }
  .sv-mobile-search-btn:hover,
  .sv-mobile-search-btn:focus,
  .sv-mobile-search-btn:active,
  .sv-mobile-request-link:hover,
  .sv-mobile-request-link:focus,
  .sv-mobile-request-link:active {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
  }
  /* если внутри кнопок стоят img search.svg и request.svg */
  .sv-mobile-search-btn img,
  .sv-mobile-request-link img {
    width: var(--sv-mobile-icon-img-size) !important;
    height: var(--sv-mobile-icon-img-size) !important;
    max-width: var(--sv-mobile-icon-img-size) !important;
    max-height: var(--sv-mobile-icon-img-size) !important;
    object-fit: contain !important;
    display: block !important;
  }
  /* убираем старые CSS-иконки через before/after, чтобы не накладывались */
  .sv-mobile-search-btn::before,
  .sv-mobile-search-btn::after,
  .sv-mobile-request-link::before,
  .sv-mobile-request-link::after,
  .sv-mobile-request-icon::before,
  .sv-mobile-request-icon::after {
    display: none !important;
    content: none !important;
  }
  .sv-mobile-request-icon {
    display: none !important;
  }
  /* счётчик заявки */
  .sv-mobile-request-count {
    right: -6px !important;
    top: -6px !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 11px !important;
    line-height: 18px !important;
  }
}
/* =====================================================
   МОБИЛЬНАЯ ВЕРСИЯ — УБРАТЬ СЕРУЮ ПОДЛОЖКУ ПОД ШАПКОЙ
   ВСТАВИТЬ В САМЫЙ НИЗ CSS
===================================================== */
@media (max-width: 767px) {
  /* УБИРАЕМ искусственную подложку body::before */
  body::before {
    display: none !important;
    content: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    background: transparent !important;
  }
  /* Шапку НЕ трогаем и НЕ скрываем */
  .sv-mobile-header {
    display: flex !important;
    background: #ffffff !important;
    margin-bottom: 0 !important;
  }
  /* Убираем фон/отступ только у контейнера шапки */
  .elementor-location-header {
    background: #ffffff !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }
  /* Убираем старые псевдо-подложки именно у шапки */
  .elementor-location-header::before,
  .elementor-location-header::after,
  .site-header-wrap::before,
  .site-header-wrap::after,
  .header-full-bg::before,
  .header-full-bg::after,
  .headerflexbox::before,
  .headerflexbox::after {
    display: none !important;
    content: none !important;
  }
  /* Чтобы после шапки не оставался служебный отступ */
  .elementor-location-header + *,
  .sv-mobile-header + * {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}
/* =====================================================
   МОБИЛЬНЫЙ БАННЕР — ВЫРОВНЯТЬ КНОПКУ ПО ЛЕВОМУ КРАЮ ТЕКСТА
   ВСТАВИТЬ В САМЫЙ НИЗ CSS
===================================================== */
@media (max-width: 767px) {
  :root {
    --sv-banner-btn-offset-x: -12px; /* больше влево: -30px / -34px */
  }
  /* слой с кнопкой в Smart Slider */
  .home .n2-ss-slider .n2-ss-slide .n2-ss-button-container,
  .home .n2-ss-slider .n2-ss-slide .n2-ow.n2-ss-button-container,
  .home .n2-ss-slider .n2-ss-slide [class*="n2-ss-button-container"] {
    justify-content: flex-start !important;
    text-align: left !important;
    margin-left: var(--sv-banner-btn-offset-x) !important;
  }
  /* сама кнопка без лишних внутренних сдвигов */
  .home .n2-ss-slider .n2-ss-slide .n2-ss-button-container a,
  .home .n2-ss-slider .n2-ss-slide .n2-ss-button-container .n2-ow,
  .home .n2-ss-slider .n2-ss-slide [class*="n2-ss-button-container"] a {
    margin-left: 0 !important;
  }
}
/* =====================================================
   МОБИЛЬНЫЙ ФИКС:
   1) маленький счётчик у иконки заявки
   2) аккуратный счётчик на карточке
   3) "Подробнее" больше не налезает
   ВСТАВИТЬ В САМЫЙ НИЗ CSS
===================================================== */
@media (max-width: 767px) {
  :root {
    /* ===== 1. СЧЁТЧИК НА ИКОНКЕ ЗАЯВКИ ===== */
    --sv-mobile-badge-size: 16px;     /* размер розового кружка */
    --sv-mobile-badge-font: 10px;     /* размер цифры */
    --sv-mobile-badge-top: -8px;      /* выше / ниже */
    --sv-mobile-badge-right: -4px;    /* правее / левее */
    /* ===== 2. СЧЁТЧИК НА КАРТОЧКЕ ===== */
    --sv-card-qty-width: 150px;       /* общая ширина счётчика */
    --sv-card-qty-height: 34px;       /* высота */
    --sv-card-qty-side: 36px;         /* ширина кнопок - / + */
    --sv-card-qty-radius: 999px;      /* скругление */
    --sv-card-qty-border: #D8D3CE;    /* цвет обводки */
    --sv-card-qty-font: 12px;         /* цифра в центре */
    --sv-card-qty-btn-font: 14px;     /* плюс/минус */
    --sv-card-qty-font-weight: 500;   /* жирность цифры */
    --sv-card-qty-btn-weight: 500;    /* жирность +/- */
  }
  /* =====================================================
     1. ЦИФРА "1" НА МОБИЛЬНОЙ ИКОНКЕ ЗАЯВКИ
  ===================================================== */
  .sv-mobile-request-link {
    position: relative !important;
    overflow: visible !important;
  }
  .sv-mobile-request-count {
    position: absolute !important;
    top: var(--sv-mobile-badge-top) !important;
    right: var(--sv-mobile-badge-right) !important;
    width: var(--sv-mobile-badge-size) !important;
    min-width: var(--sv-mobile-badge-size) !important;
    max-width: var(--sv-mobile-badge-size) !important;
    height: var(--sv-mobile-badge-size) !important;
    padding: 0 !important;
    margin: 0 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: #FF4A67 !important;
    color: #ffffff !important;
    font-size: var(--sv-mobile-badge-font) !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    box-sizing: border-box !important;
    z-index: 20 !important;
  }
  .sv-mobile-request-count.active {
    display: inline-flex !important;
  }
  /* =====================================================
     2. КАРТОЧКА ТОВАРА — ЧТОБЫ НИЧЕГО НЕ НАЛЕЗАЛО
  ===================================================== */
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__link,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__link {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    text-decoration: none !important;
  }
  /* название — строго 2 строки */
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    min-height: 30px !important;
    max-height: 30px !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
  }
  /* подробнее — отдельной строкой, с нормальным отступом */
  .woocommerce ul.products li.product .woocommerce-loop-product__link::after,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__link::after {
    content: "Подробнее →" !important;
    display: block !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    color: #1E183A !important;
  }
  /* =====================================================
     3. КНОПКА "ДОБАВИТЬ" И СЧЁТЧИК ДЕРЖИМ ВНИЗУ КАРТОЧКИ
  ===================================================== */
  .woocommerce ul.products li.product .button,
  .woocommerce-page ul.products li.product .button,
  .woocommerce ul.products li.product .sv-card-qty-control,
  .woocommerce-page ul.products li.product .sv-card-qty-control {
    margin-top: auto !important;
  }
  /* =====================================================
     4. СЧЁТЧИК НА КАРТОЧКЕ — УЖЕ, ТОНЬШЕ, НЕ ТАКОЙ ЖИРНЫЙ
  ===================================================== */
  .woocommerce ul.products li.product .sv-card-qty-control,
  .woocommerce-page ul.products li.product .sv-card-qty-control {
    width: 100% !important;
    max-width: var(--sv-card-qty-width) !important;
    height: var(--sv-card-qty-height) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: grid !important;
    grid-template-columns:
      var(--sv-card-qty-side)
      1fr
      var(--sv-card-qty-side) !important;
    align-items: center !important;
    border: 1px solid var(--sv-card-qty-border) !important;
    border-radius: var(--sv-card-qty-radius) !important;
    background: #ffffff !important;
    overflow: hidden !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }
  .woocommerce ul.products li.product .sv-card-qty-control button,
  .woocommerce-page ul.products li.product .sv-card-qty-control button,
  .woocommerce ul.products li.product .sv-card-minus,
  .woocommerce ul.products li.product .sv-card-plus,
  .woocommerce-page ul.products li.product .sv-card-minus,
  .woocommerce-page ul.products li.product .sv-card-plus {
    width: var(--sv-card-qty-side) !important;
    height: var(--sv-card-qty-height) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #1E183A !important;
    font-size: var(--sv-card-qty-btn-font) !important;
    line-height: 1 !important;
    font-weight: var(--sv-card-qty-btn-weight) !important;
  }
  .woocommerce ul.products li.product .sv-card-qty-number,
  .woocommerce-page ul.products li.product .sv-card-qty-number {
    height: var(--sv-card-qty-height) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #1E183A !important;
    font-size: var(--sv-card-qty-font) !important;
    line-height: 1 !important;
    font-weight: var(--sv-card-qty-font-weight) !important;
  }
  /* на всякий случай — если кнопка уже в заявке и стал виден qty,
     чтобы нижний блок всегда выглядел ровно */
  .woocommerce ul.products li.product .button,
  .woocommerce-page ul.products li.product .button {
    min-height: 34px !important;
  }
}
/* =====================================================
   МОБИЛЬНЫЙ ФИКС: бейдж заявки + ширина счётчика карточки
   ВСТАВИТЬ В САМЫЙ НИЗ CSS
===================================================== */
@media (max-width: 767px) {
  :root {
    /* цифра на иконке "Мои заявки" */
    --sv-mobile-badge-top: -11px;     /* выше/ниже */
    --sv-mobile-badge-right: -8px;    /* правее/левее */
    /* счётчик на карточке */
    --sv-card-qty-width: 100%;        /* растянуть по ширине карточки */
    --sv-card-qty-height: 34px;
    --sv-card-qty-side: 42px;
  }
  /* бейдж на иконке заявки — чуть выше и правее */
  .sv-mobile-request-count {
    top: var(--sv-mobile-badge-top) !important;
    right: var(--sv-mobile-badge-right) !important;
  }
  /* счётчик товара — такой же широкий, как кнопка */
  .woocommerce ul.products li.product .sv-card-qty-control,
  .woocommerce-page ul.products li.product .sv-card-qty-control {
    width: 100% !important;
    max-width: 100% !important;
    height: var(--sv-card-qty-height) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    grid-template-columns:
      var(--sv-card-qty-side)
      1fr
      var(--sv-card-qty-side) !important;
  }
  .woocommerce ul.products li.product .sv-card-qty-control button,
  .woocommerce-page ul.products li.product .sv-card-qty-control button,
  .woocommerce ul.products li.product .sv-card-minus,
  .woocommerce ul.products li.product .sv-card-plus,
  .woocommerce-page ul.products li.product .sv-card-minus,
  .woocommerce-page ul.products li.product .sv-card-plus {
    width: var(--sv-card-qty-side) !important;
    height: var(--sv-card-qty-height) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
  }
  .woocommerce ul.products li.product .sv-card-qty-number,
  .woocommerce-page ul.products li.product .sv-card-qty-number {
    height: var(--sv-card-qty-height) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
  }
}
/* =====================================================
   МОБИЛЬНЫЙ КАТАЛОГ — 3 В РЯД
   класс sv-catalog-mobile стоит НА СЕТКЕ
===================================================== */
@media (max-width: 767px) {
  #catalog {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }
  /* ВАЖНО: сама сетка Elementor */
  #catalog .sv-catalog-mobile {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  /* ГЛАВНОЕ: Elementor кладёт карточки внутрь e-con-inner */
  #catalog .sv-catalog-mobile > .e-con-inner {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  /* карточки */
  #catalog .sv-catalog-mobile > .e-con-inner > .e-con {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 118px !important;
    min-height: 118px !important;
    max-height: 118px !important;
    --min-height: 118px !important;
    margin: 0 !important;
    padding: 8px 5px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 10px rgba(30, 24, 58, 0.10) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  /* содержимое внутри карточки */
  #catalog .sv-catalog-mobile > .e-con-inner > .e-con > .e-con-inner {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  #catalog .sv-catalog-mobile img {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto 7px !important;
  }
  #catalog .sv-catalog-mobile .elementor-heading-title {
    font-size: 10px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    text-align: center !important;
    color: #1E183A !important;
    margin: 0 !important;
    padding: 0 !important;
    max-height: 24px !important;
    overflow: hidden !important;
  }
}
@media (max-width: 767px) {
  :root {
    --sv-catalog-card-height: 150px;
  }
  #catalog .sv-catalog-mobile > .e-con-inner > .e-con {
    height: var(--sv-catalog-card-height) !important;
    min-height: var(--sv-catalog-card-height) !important;
    max-height: var(--sv-catalog-card-height) !important;
    --min-height: var(--sv-catalog-card-height) !important;
  }
}
@media (max-width: 767px) {
  :root {
    --sv-catalog-img-down: 24px;   /* больше = картинка ниже */
    --sv-catalog-text-down: 10px;  /* больше = текст ниже */
  }
  #catalog .sv-catalog-mobile img {
    transform: translateY(var(--sv-catalog-img-down)) !important;
    margin-bottom: 18px !important;
  }
  #catalog .sv-catalog-mobile .elementor-heading-title {
    transform: translateY(var(--sv-catalog-text-down)) !important;
  }
}
@media (max-width: 767px) {
  #catalog .sv-catalog-mobile .elementor-heading-title,
  #catalog .sv-catalog-mobile h1,
  #catalog .sv-catalog-mobile h2,
  #catalog .sv-catalog-mobile h3,
  #catalog .sv-catalog-mobile h4,
  #catalog .sv-catalog-mobile p,
  #catalog .sv-catalog-mobile span,
  #catalog .sv-catalog-mobile a {
    font-size: 12px !important; /* меняй тут */
    line-height: 1.1 !important;
  }
}

/* =====================================================
   МОБИЛЬНАЯ ШАПКА — БЕЗ СЕРОЙ ПОДЛОЖКИ И БЕЗ ДЫРЫ
   ВСТАВИТЬ В САМЫЙ НИЗ CSS
===================================================== */
@media (max-width: 767px) {
  /* УБИРАЕМ ВСЕ искусственные подложки, которые налезают на шапку */
  html::before,
  html::after,
  body::before,
  body::after {
    display: none !important;
    content: none !important;
  }
  html,
  body {
    background: #FAFAFA !important;
    overflow-x: hidden !important;
  }
  /* сам контейнер шапки */
  .elementor-location-header,
  .site-header-wrap {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 999999 !important;
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
  }
  /* убираем псевдо-подложки у шапки */
  .elementor-location-header::before,
  .elementor-location-header::after,
  .site-header-wrap::before,
  .site-header-wrap::after,
  .header-full-bg::before,
  .header-full-bg::after,
  .headerflexbox::before,
  .headerflexbox::after,
  .sv-mobile-header::before,
  .sv-mobile-header::after {
    display: none !important;
    content: none !important;
  }
  /* сама мобильная шапка */
  .sv-mobile-header {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 60px !important;
    min-height: 60px !important;
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 22px !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }
  /* чтобы контент не залезал под шапку */
  .elementor-location-header + *,
  .site-header-wrap + *,
  .sv-mobile-header + * {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  /* баннер сразу после шапки, без отрицательных сдвигов */
  .home .n2-section-smartslider,
  .home .n2-ss-slider,
  .home .sv-home-banner,
  .home .elementor-widget-shortcode:has(.n2-ss-slider) {
    margin-top: 0 !important;
    transform: none !important;
    position: relative !important;
    z-index: 1 !important;
  }
}

/* =====================================================
   ФИНАЛ: БЕЗ ОТСТУПА НАД ШАПКОЙ / БЕЗ ИСКУССТВЕННЫХ ПОДЛОЖЕК
   Этот блок должен быть самым последним в CSS
===================================================== */

:root {
  --sv-container: 1140px;
}

html,
body {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

html::before,
html::after,
body::before,
body::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.elementor-location-header,
.site-header-wrap,
.header-topbar,
.header-full-bg,
.headerflexbox,
.sv-mobile-header {
  margin-top: 0 !important;
  padding-top: 0 !important;
  top: 0 !important;
  transform: none !important;
}

@media (max-width: 767px) {

  html,
  body {
    margin-top: 0 !important;
    padding-top: 0 !important;
    overflow-x: hidden !important;
    background: #FAFAFA !important;
  }

  html::before,
  html::after,
  body::before,
  body::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }

  .elementor-location-header,
  .site-header-wrap,
  .header-full-bg,
  .headerflexbox {
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    position: relative !important;
    top: 0 !important;
    transform: none !important;
    z-index: 999999 !important;
  }

  .elementor-location-header::before,
  .elementor-location-header::after,
  .site-header-wrap::before,
  .site-header-wrap::after,
  .header-full-bg::before,
  .header-full-bg::after,
  .headerflexbox::before,
  .headerflexbox::after,
  .sv-mobile-header::before,
  .sv-mobile-header::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }

  .sv-mobile-header {
    height: 60px !important;
    min-height: 60px !important;
    margin: 0 !important;
    padding: 0 22px !important;
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 999999 !important;
  }

  .elementor-location-header + *,
  .site-header-wrap + *,
  .sv-mobile-header + * {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .home .n2-section-smartslider,
  .home .n2-ss-slider,
  .home .sv-home-banner,
  .home .elementor-widget-shortcode:has(.n2-ss-slider) {
    margin-top: 0 !important;
    padding-top: 0 !important;
    transform: none !important;
  }
}
/* =====================================================
   МОБИЛЬНЫЕ ХИТЫ — ГОРИЗОНТАЛЬНАЯ КАРУСЕЛЬ
===================================================== */
@media (max-width: 767px) {
  .sv-mobile-hits-carousel {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .sv-mobile-hits-carousel .woocommerce {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .sv-mobile-hits-carousel .woocommerce ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 14px 14px !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;

    list-style: none !important;
    box-sizing: border-box !important;
  }

  .sv-mobile-hits-carousel .woocommerce ul.products::-webkit-scrollbar {
    display: none !important;
  }

  .sv-mobile-hits-carousel .woocommerce ul.products {
    scrollbar-width: none !important;
  }

  .sv-mobile-hits-carousel .woocommerce ul.products li.product {
    flex: 0 0 46% !important;
    width: 46% !important;
    max-width: 46% !important;
    min-width: 46% !important;

    scroll-snap-align: start !important;

    margin: 0 !important;
    float: none !important;
    clear: none !important;
  }
}
/* =====================================================
   МОБИЛЬНЫЕ ХИТЫ — ШИРЕ КАРТОЧКИ, КАК КАТЕГОРИИ
===================================================== */
@media (max-width: 767px) {
  .sv-mobile-hits-carousel {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .sv-mobile-hits-carousel .woocommerce {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .sv-mobile-hits-carousel .woocommerce ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 0 14px 0 !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;

    list-style: none !important;
    box-sizing: border-box !important;
  }

  .sv-mobile-hits-carousel .woocommerce ul.products::-webkit-scrollbar {
    display: none !important;
  }

  .sv-mobile-hits-carousel .woocommerce ul.products {
    scrollbar-width: none !important;
  }

  .sv-mobile-hits-carousel .woocommerce ul.products li.product {
    flex: 0 0 calc((100% - 10px) / 2) !important;
    width: calc((100% - 10px) / 2) !important;
    max-width: calc((100% - 10px) / 2) !important;
    min-width: calc((100% - 10px) / 2) !important;

    margin: 0 !important;
    scroll-snap-align: start !important;
    float: none !important;
    clear: none !important;
  }
}
/* =====================================================
   МОБИЛЬНЫЕ ХИТЫ — ТОЧКИ КАРУСЕЛИ
===================================================== */
@media (max-width: 767px) {
  .sv-mobile-hits-carousel {
    position: relative !important;
  }

  .sv-mobile-hits-dots {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin-top: -10px !important;
    margin-bottom: 18px !important;
    padding: 0 !important;
  }

  .sv-mobile-hits-dot {
    width: 6px !important;
    height: 6px !important;
    min-width: 6px !important;
    min-height: 6px !important;
    border-radius: 50% !important;
    border: none !important;
    background: #D7D7D7 !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    opacity: 1 !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
  }

  .sv-mobile-hits-dot.active {
    background: #FFB200 !important;
    transform: scale(1.08) !important;
  }
}
/* =====================================================
   ПК БЛОК "ХИТЫ" — FEATURED PRODUCTS
===================================================== */
@media (min-width: 768px) {
  .sv-desktop-hits {
    width: 1140px !important;
    max-width: 1140px !important;
    margin: 44px auto 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .sv-desktop-hits h2,
  .sv-desktop-hits .elementor-heading-title {
    font-family: Inter, sans-serif !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #1E183A !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
  }

  .sv-desktop-hits .woocommerce {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .sv-desktop-hits .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 270px) !important;
    gap: 20px !important;
    justify-content: center !important;
    width: 1140px !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box !important;
  }

  .sv-desktop-hits .woocommerce ul.products li.product {
    width: 270px !important;
    max-width: 270px !important;
    min-width: 270px !important;
    height: 426px !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
  }
}
/* =====================================================
   ПК ХИТЫ — КАРУСЕЛЬ СО СТРЕЛКАМИ
===================================================== */
@media (min-width: 768px) {
  .sv-desktop-hits {
    width: 1220px !important;
    max-width: 1220px !important;
    margin: 44px auto 0 !important;
    padding: 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .sv-desktop-hits h2,
  .sv-desktop-hits .elementor-heading-title {
    width: 1140px !important;
    max-width: 1140px !important;
    margin: 0 auto 24px !important;
    padding: 0 !important;
    font-family: Inter, sans-serif !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #1E183A !important;
  }

  .sv-desktop-hits .woocommerce {
    width: 1140px !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .sv-desktop-hits .woocommerce ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 10px 0 20px !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    scroll-behavior: smooth !important;
    scroll-snap-type: x mandatory !important;

    list-style: none !important;
    box-sizing: border-box !important;
  }

  .sv-desktop-hits .woocommerce ul.products::-webkit-scrollbar {
    display: none !important;
  }

  .sv-desktop-hits .woocommerce ul.products {
    scrollbar-width: none !important;
  }

  .sv-desktop-hits .woocommerce ul.products li.product {
    flex: 0 0 270px !important;
    width: 270px !important;
    max-width: 270px !important;
    min-width: 270px !important;
    height: 426px !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    scroll-snap-align: start !important;
  }

  /* сами круглые кнопки */
  .sv-desktop-hits-arrow {
    position: absolute !important;
    top: 55% !important;
    transform: translateY(-50%) !important;

    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;

    background: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    z-index: 30 !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .sv-desktop-hits-prev {
    left: 16px !important;
  }

  .sv-desktop-hits-next {
    right: 16px !important;
  }

  /* серая стрелочка внутри круга */
  .sv-desktop-hits-arrow::before {
    content: "" !important;
    width: 10px !important;
    height: 10px !important;
    border-top: 2px solid #9A9795 !important;
    border-right: 2px solid #9A9795 !important;
    display: block !important;
  }

  .sv-desktop-hits-prev::before {
    transform: rotate(-135deg) translate(-1px, -1px) !important;
  }

  .sv-desktop-hits-next::before {
    transform: rotate(45deg) translate(-1px, 1px) !important;
  }

  .sv-desktop-hits-arrow:hover {
    transform: translateY(-50%) scale(1.04) !important;
  }

  .sv-desktop-hits-arrow.is-disabled {
    opacity: 0.35 !important;
    pointer-events: none !important;
  }
}
/* =====================================================
   ПК ХИТЫ — ТЕКСТ НЕ ВЫЛЕЗАЕТ ЗА КАРТОЧКУ
===================================================== */
@media (min-width: 768px) {
  .sv-desktop-hits .woocommerce ul.products li.product {
    overflow: hidden !important;
  }

  .sv-desktop-hits .woocommerce ul.products li.product .woocommerce-loop-product__link {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .sv-desktop-hits .woocommerce ul.products li.product .woocommerce-loop-product__title {
    width: 100% !important;
    max-width: 100% !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;

    font-size: 16px !important;
    line-height: 1.2 !important;
    min-height: 38px !important;
    max-height: 38px !important;

    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .sv-desktop-hits .woocommerce ul.products li.product .woocommerce-loop-product__link::after {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }
}
/* =====================================================
   МОИ ЗАЯВКИ — КНОПКА НАЗАД + НОРМАЛЬНАЯ ВЫСОТА БЛОКОВ
===================================================== */

@media (min-width: 768px) {
  /* убираем старые сдвиги, которые могли унести кнопку */
  body:has(.sv-requests-page) .sv-back-wrap,
  body:has(.sv-requests-page) .sv-requests-auto-back {
    width: 1140px !important;
    max-width: 1140px !important;
    margin: 22px auto 22px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    z-index: 2 !important;
  }

  body:has(.sv-requests-page) .sv-back-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    color: #5A5A5A !important;
    text-decoration: none !important;
    cursor: pointer !important;

    transform: none !important;
  }

  body:has(.sv-requests-page) .sv-back-button:hover {
    color: #1E183A !important;
    background: transparent !important;
  }

  body:has(.sv-requests-page) .sv-back-arrow {
    width: 8px !important;
    height: 8px !important;
    border-left: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    transform: rotate(45deg) !important;
    display: inline-block !important;
  }

  /* вся страница */
  .sv-requests-page {
    width: 1140px !important;
    max-width: 1140px !important;
    margin: 0 auto 70px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .sv-requests-title {
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    font-family: Inter, sans-serif !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #1E183A !important;
  }

  .sv-requests-layout {
    display: grid !important;
    grid-template-columns: 820px 300px !important;
    gap: 20px !important;
    align-items: start !important;
    width: 1140px !important;
    max-width: 1140px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .sv-requests-left {
    width: 820px !important;
    min-height: auto !important;
    padding: 30px !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06) !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .sv-requests-summary {
    width: 300px !important;
    min-height: 220px !important;
    padding: 30px !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06) !important;
    box-sizing: border-box !important;
  }

  .sv-request-block {
    width: 100% !important;
    margin: 0 !important;
    padding: 30px !important;
    background: #ffffff !important;
    border: 1px solid #E8E2DC !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(30,24,58,0.06) !important;
    box-sizing: border-box !important;
  }

  .sv-request-head {
    margin: 0 0 20px 0 !important;
  }

  .sv-request-block.active .sv-request-items,
  .sv-request-items {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .sv-request-item {
    width: 100% !important;
    max-width: 100% !important;
    height: 134px !important;
    min-height: 134px !important;

    display: grid !important;
    grid-template-columns: 131px 1fr 96px 24px !important;
    align-items: center !important;
    column-gap: 40px !important;

    padding: 12px 14px 12px 12px !important;
    margin: 0 !important;

    background: #ffffff !important;
    border: 1px solid #E8E2DC !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(30,24,58,0.06) !important;

    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .sv-request-img {
    width: 131px !important;
    height: 110px !important;
    background: #FFFFFF !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .sv-request-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
  }

  .sv-request-product-name {
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #1E183A !important;
    overflow: hidden !important;
  }

  .sv-request-qty {
    width: 88px !important;
    display: grid !important;
    grid-template-columns: 24px 24px 24px !important;
    gap: 4px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .sv-request-qty .sv-qty-btn,
  .sv-request-qty .sv-qty-number {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 1px solid #D9D9D9 !important;
    background: #ffffff !important;
    color: #1E183A !important;

    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1 !important;

    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
  }

  .sv-request-remove {
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .sv-request-remove a {
    color: #838383 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    text-decoration: none !important;
  }

  .sv-open-request-popup {
    width: 240px !important;
    height: 40px !important;
    margin-top: 44px !important;
    border: none !important;
    border-radius: 999px !important;
    background: #FF2A57 !important;
    color: #ffffff !important;
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
  }
}
/* =====================================================
   МОИ ЗАЯВКИ — ОСТАВИТЬ ОДНУ КНОПКУ НАЗАД
===================================================== */
@media (min-width: 768px) {
  body:has(.sv-requests-page) .sv-back-wrap {
    width: 1140px !important;
    max-width: 1140px !important;
    margin: 22px auto 22px !important;
    padding: 0 !important;
    transform: none !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
  }

  body:has(.sv-requests-page) .sv-back-button {
    transform: none !important;
    margin: 0 !important;
  }

  /* если вдруг сниппет ещё активен — скрыть только добавленную вторую */
  .sv-requests-auto-back {
    display: none !important;
  }
}
/* =====================================================
   МОИ ЗАЯВКИ — ПОДНЯТЬ БЛОК ВЫШЕ НА РЕАЛЬНОМ САЙТЕ
===================================================== */
@media (min-width: 768px) {
  body:has(.sv-requests-page) .sv-back-wrap {
    margin-top: 0px !important;
    margin-bottom: 14px !important;
  }

  .sv-requests-title {
    margin-bottom: 18px !important;
  }

  .sv-requests-page {
    margin-top: 0 !important;
  }

  .sv-requests-left,
  .sv-requests-summary {
    margin-top: 0 !important;
  }
}
/* =====================================================
   СТРАНИЦА ПОИСКА — ОТСТУПЫ КАК НА "МОИ ЗАЯВКИ"
   Страница, где выводятся товары после поиска
===================================================== */
@media (min-width: 768px) {
  body.search,
  body.search-results {
    background: #FAFAFA !important;
  }

  /* кнопка Назад */
  body.search .sv-search-back-wrap,
  body.search-results .sv-search-back-wrap,
  body.search .sv-back-wrap,
  body.search-results .sv-back-wrap {
    width: 1140px !important;
    max-width: 1140px !important;
    margin: 24px auto 16px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    transform: none !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
  }

  body.search .sv-back-button,
  body.search-results .sv-back-button,
  body.search .sv-search-back-wrap .sv-back-button,
  body.search-results .sv-search-back-wrap .sv-back-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    color: #5A5A5A !important;
    text-decoration: none !important;
    cursor: pointer !important;

    transform: none !important;
  }

  body.search .sv-back-arrow,
  body.search-results .sv-back-arrow {
    width: 8px !important;
    height: 8px !important;
    border-left: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    transform: rotate(45deg) !important;
    display: inline-block !important;
  }

  /* основной контейнер поиска */
  body.search main,
  body.search-results main,
  body.search .site-main,
  body.search-results .site-main,
  body.search .content-area,
  body.search-results .content-area,
  body.search .woocommerce,
  body.search-results .woocommerce {
    width: 1140px !important;
    max-width: 1140px !important;
    margin: 0 auto 70px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* если есть заголовок результата поиска */
  body.search .page-title,
  body.search-results .page-title,
  body.search h1,
  body.search-results h1 {
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    font-family: Inter, sans-serif !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #1E183A !important;
  }

  /* сетка карточек */
  body.search ul.products,
  body.search-results ul.products,
  body.search .woocommerce ul.products,
  body.search-results .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 270px) !important;
    gap: 20px !important;
    justify-content: start !important;

    width: 1140px !important;
    max-width: 1140px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    list-style: none !important;
    box-sizing: border-box !important;
    clear: both !important;
  }

  body.search ul.products::before,
  body.search ul.products::after,
  body.search-results ul.products::before,
  body.search-results ul.products::after {
    display: none !important;
    content: none !important;
  }

  /* карточки */
  body.search ul.products li.product,
  body.search-results ul.products li.product,
  body.search .woocommerce ul.products li.product,
  body.search-results .woocommerce ul.products li.product {
    width: 270px !important;
    max-width: 270px !important;
    min-width: 270px !important;
    height: 426px !important;

    margin: 0 !important;
    padding: 13px 14px 20px !important;

    float: none !important;
    clear: none !important;

    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;

    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}
/* =====================================================
   ПОИСК — РАССТОЯНИЕ МЕЖДУ "НАЗАД" И КАРТОЧКАМИ
===================================================== */
@media (min-width: 768px) {
  body.search main,
  body.search-results main,
  body.search .site-main,
  body.search-results .site-main,
  body.search .content-area,
  body.search-results .content-area,
  body.search .woocommerce,
  body.search-results .woocommerce {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.search ul.products,
  body.search-results ul.products,
  body.search .woocommerce ul.products,
  body.search-results .woocommerce ul.products {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}
/* =====================================================
   ПОИСК — ОПУСТИТЬ КАРТОЧКИ НИЖЕ ОТ КНОПКИ "НАЗАД"
===================================================== */
@media (min-width: 768px) {
  body.search ul.products,
  body.search-results ul.products,
  body.search .woocommerce ul.products,
  body.search-results .woocommerce ul.products {
    transform: translateY(18px) !important;
  }
}
/* =====================================================
   КАТЕГОРИИ — ЕДИНАЯ КНОПКА НАЗАД ДЛЯ ВСЕХ СТРАНИЦ
===================================================== */
@media (min-width: 768px) {
  .sv-category-back-stable {
    width: 1140px !important;
    max-width: 1140px !important;

    /* 1-е число — от шапки до Назад
       3-е число — от Назад до блока категории */
    margin: -72px auto 18px !important;

    padding: 0 !important;
    box-sizing: border-box !important;

    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    z-index: 20 !important;
  }

  .sv-category-back-stable-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;

    height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    color: #5A5A5A !important;
    text-decoration: none !important;
    cursor: pointer !important;

    transform: none !important;
  }

  .sv-category-back-stable-link:hover {
    color: #1E183A !important;
    background: transparent !important;
  }

  .sv-category-back-stable-arrow {
    width: 8px !important;
    height: 8px !important;
    border-left: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    transform: rotate(45deg) !important;
    display: inline-block !important;
  }

  /* убираем старые кнопки, если где-то остались */
  .sv-category-auto-back,
  .sv-category-back-final {
    display: none !important;
  }

  /* сбрасываем старые сдвиги, которые ломали разные категории */
  body:has(.cat-products) .cat-sidebar-menu,
  body:has(.cat-products) .cat-products,
  body:has(.cat-products) .cat-heading,
  body:has(.cat-products) .cat-products .woocommerce,
  body:has(.cat-products) .cat-products ul.products {
    transform: none !important;
  }
}

@media (max-width: 767px) {
  .sv-category-back-stable {
    display: none !important;
  }
}
/* =====================================================
   СТРАНИЦА ТОВАРА — КНОПКА НАЗАД И ОТСТУПЫ
===================================================== */
@media (min-width: 768px) {
  body.single-product .sv-back-wrap,
  body.single-product .elementor-widget-shortcode:has(.sv-back-button),
  body.single-product .elementor-widget-html:has(.sv-back-button) {
    width: 1140px !important;
    max-width: 1140px !important;

    /* 1-е число — от шапки до Назад
       3-е число — от Назад до карточки товара */
    margin: 26px auto 18px !important;

    padding: 0 !important;
    box-sizing: border-box !important;

    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    z-index: 20 !important;
  }

  body.single-product .sv-back-button,
  body.single-product .sv-back-link,
  body.single-product .sv-product-back {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;

    height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    color: #5A5A5A !important;
    text-decoration: none !important;
    cursor: pointer !important;

    transform: none !important;
  }

  body.single-product .sv-back-button:hover,
  body.single-product .sv-back-link:hover,
  body.single-product .sv-product-back:hover {
    color: #1E183A !important;
    background: transparent !important;
  }

  body.single-product .sv-back-arrow {
    width: 8px !important;
    height: 8px !important;
    border-left: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    transform: rotate(45deg) !important;
    display: inline-block !important;
  }

  /* основной блок товара */
  body.single-product div.product {
    width: 1140px !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-product main,
  body.single-product .site-main {
    padding-top: 0 !important;
  }
}
/* =====================================================
   ПК ХИТЫ — "ПОДРОБНЕЕ" СРАЗУ ПОСЛЕ НАЗВАНИЯ
   Класс стоит на контейнере: sv-desktop-hits
===================================================== */
@media (min-width: 768px) {
  .sv-desktop-hits .woocommerce ul.products li.product .woocommerce-loop-product__link,
  .sv-desktop-hits ul.products li.product .woocommerce-loop-product__link {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .sv-desktop-hits .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .sv-desktop-hits ul.products li.product .woocommerce-loop-product__title {
    display: block !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 0 12px 0 !important;
    padding: 0 !important;

    overflow: visible !important;
    text-overflow: unset !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;

    font-family: Inter, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #1E183A !important;
  }

  .sv-desktop-hits .woocommerce ul.products li.product .woocommerce-loop-product__link::after,
  .sv-desktop-hits ul.products li.product .woocommerce-loop-product__link::after {
    content: "Подробнее →" !important;
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    color: #1E183A !important;
  }
}
/* =====================================================
   ЗАГОЛОВКИ БЛОКОВ: НОВИНКИ / КАТАЛОГ / ХИТЫ
===================================================== */

.sv-section-title,
.sv-section-title .elementor-heading-title,
.sv-section-title h1,
.sv-section-title h2,
.sv-section-title h3,
.sv-desktop-hits .sv-section-title,
.sv-desktop-hits .sv-section-title .elementor-heading-title,
.sv-desktop-hits .sv-section-title h1,
.sv-desktop-hits .sv-section-title h2,
.sv-desktop-hits .sv-section-title h3 {
  font-family: Inter, sans-serif !important;
  font-size: 20px !important;
  line-height: 1.12 !important;
  font-weight: 700 !important;
  color: #1E183A !important;
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
  transform: none !important;
  letter-spacing: normal !important;
}

@media (max-width: 767px) {
  .sv-section-title,
  .sv-section-title .elementor-heading-title,
  .sv-section-title h1,
  .sv-section-title h2,
  .sv-section-title h3,
  .sv-desktop-hits .sv-section-title,
  .sv-desktop-hits .sv-section-title .elementor-heading-title,
  .sv-desktop-hits .sv-section-title h1,
  .sv-desktop-hits .sv-section-title h2,
  .sv-desktop-hits .sv-section-title h3 {
    font-size: 20px !important;
    line-height: 1.12 !important;
    font-weight: 700 !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
  }
}
/* =====================================================
   ГЛАВНАЯ — ПРИЖАТЬ ХИТЫ БЛИЖЕ К КАТАЛОГУ
===================================================== */
@media (min-width: 768px) {
  #catalog {
    margin-bottom: 18px !important;
    padding-bottom: 0 !important;
  }

  .home .sv-desktop-hits {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .home .sv-desktop-hits > .e-con-inner {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}
/* =====================================================
   ПОПАП ЗАЯВКИ — КРЕСТИК В УГОЛ + СКРЫТЬ ПЛАВАЮЩИЕ КНОПКИ
===================================================== */

/* сам попап-бокс */
.sv-request-popup .sv-popup-box {
  position: relative !important;
}

/* крестик закрытия */
.sv-request-popup .sv-popup-close {
  position: absolute !important;
  right: 14px !important;   /* меньше = правее, больше = левее */
  top: 10px !important;     /* меньше = выше, больше = ниже */

  width: 30px !important;
  height: 30px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 0 !important;
  padding: 0 !important;

  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  font-family: Inter, sans-serif !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: #1E183A !important;

  cursor: pointer !important;
  z-index: 50 !important;
}

/* при наведении / клике крестик не меняется */
.sv-request-popup .sv-popup-close:hover,
.sv-request-popup .sv-popup-close:focus,
.sv-request-popup .sv-popup-close:active {
  color: #1E183A !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* чтобы вкладки Физ. лицо / Юр. лицо не лезли под крестик */
.sv-request-popup .sv-popup-tabs {
  padding-right: 26px !important;
}

/* когда попап открыт — скрыть кнопки вверх и звонок */
body:has(.sv-request-popup.active) .sv-floating-buttons,
body:has(.sv-request-popup.active) .sv-floating-up,
body:has(.sv-request-popup.active) .sv-floating-phone {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* =====================================================
   МОИ ЗАЯВКИ — ТОЧНАЯ ПРАВКА ПО ТВОЕМУ КОДУ
===================================================== */

/* каждый большой блок заявки */
.sv-requests-page .sv-request-block {
  position: relative !important;
}

/* верхняя заявка, то есть текущая: Заявка №2 */
.sv-requests-page .sv-request-block[data-request-panel="current"] > .sv-request-head {
  margin-top: 10px !important;      /* опускает Заявка №2 вниз */
  margin-bottom: 20px !important;   /* расстояние до товаров */
}

/* кнопка-заголовок заявки */
.sv-requests-page .sv-request-head {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* нижняя отправленная заявка: строка Заявка №1 / Отправлена */
.sv-requests-page .sv-sent-request-row {
  position: relative !important;
  margin-bottom: 20px !important;   /* отделяет Заявка №1 от карточки товара */
  padding-right: 42px !important;   /* место под крестик справа */
}

/* внутри отправленной строки кнопку не растягиваем и не двигаем криво */
.sv-requests-page .sv-sent-request-row .sv-request-head {
  margin: 0 !important;
  padding: 0 !important;
}

/* крестик удаления отправленной заявки — в правый верхний угол блока */
.sv-requests-page .sv-delete-sent-request {
  position: absolute !important;
  top: 2px !important;
  right: 6px !important;

  width: 26px !important;
  height: 26px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;

  color: #1E183A !important;
  font-size: 20px !important;
  line-height: 1 !important;
  text-decoration: none !important;

  z-index: 20 !important;
}

/* крестик удаления товара внутри текущей заявки */
.sv-requests-page .sv-request-item {
  position: relative !important;
}

.sv-requests-page .sv-request-remove {
  position: absolute !important;
  top: 12px !important;
  right: 16px !important;

  width: 24px !important;
  height: 24px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 0 !important;
  padding: 0 !important;

  z-index: 20 !important;
}

.sv-requests-page .sv-request-remove a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 24px !important;
  height: 24px !important;

  color: #1E183A !important;
  font-size: 20px !important;
  line-height: 1 !important;
  text-decoration: none !important;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* при наведении крестики не меняются */
.sv-requests-page .sv-delete-sent-request:hover,
.sv-requests-page .sv-request-remove a:hover {
  color: #1E183A !important;
  background: transparent !important;
  opacity: 1 !important;
}
/* =====================================================
   МОИ ЗАЯВКИ — ФИНАЛЬНОЕ РОВНОЕ ОФОРМЛЕНИЕ
===================================================== */

.sv-requests-page {
  --request-card-padding-x: 28px;
  --request-card-padding-y: 24px;
  --request-closed-height: 88px;
  --request-gap: 16px;
  --request-head-gap: 16px;
}

/* общий блок заявки */
.sv-requests-page .sv-request-block {
  position: relative !important;
  box-sizing: border-box !important;

  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;

  margin: 0 0 var(--request-gap) 0 !important;
  padding: var(--request-card-padding-y) var(--request-card-padding-x) !important;

  display: block !important;
}

/* последняя заявка без лишнего нижнего отступа */
.sv-requests-page .sv-request-block:last-child {
  margin-bottom: 0 !important;
}

/* закрытая заявка — одна ровная невысокая плашка */
.sv-requests-page .sv-request-block:not(.active) {
  height: var(--request-closed-height) !important;
  min-height: var(--request-closed-height) !important;

  padding: 0 var(--request-card-padding-x) !important;

  display: flex !important;
  align-items: center !important;
}

/* содержимое закрытой заявки не занимает место */
.sv-requests-page .sv-request-block:not(.active) > .sv-request-items {
  display: none !important;
}

/* шапка заявки */
.sv-requests-page .sv-request-head {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;

  gap: 10px !important;

  width: auto !important;
  height: auto !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  line-height: 1.2 !important;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;

  transform: translateY(1px) !important;
}

/* активная заявка: расстояние между "Заявка №" и карточками */
.sv-requests-page .sv-request-block.active > .sv-request-head {
  margin-bottom: var(--request-head-gap) !important;
}

/* кружок */
.sv-requests-page .sv-request-dot {
  flex: 0 0 auto !important;
  margin: 0 !important;
}

/* текст "Заявка №" */
.sv-requests-page .sv-request-name,
.sv-requests-page .sv-request-status {
  display: inline-flex !important;
  align-items: center !important;

  margin: 0 !important;
  padding: 0 !important;

  line-height: 1.2 !important;
}

.sv-requests-page .sv-request-status {
  margin-left: 4px !important;
}

/* строка отправленной заявки */
.sv-requests-page .sv-sent-request-row {
  position: relative !important;
  box-sizing: border-box !important;

  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;

  display: flex !important;
  align-items: center !important;

  margin: 0 !important;
  padding: 0 44px 0 0 !important;
}

/* закрытая отправленная заявка — тоже ровно по центру плашки */
.sv-requests-page .sv-request-block:not(.active) > .sv-sent-request-row {
  height: 100% !important;
  min-height: 100% !important;
}

/* активная отправленная заявка */
.sv-requests-page .sv-request-block.active > .sv-sent-request-row {
  margin-bottom: var(--request-head-gap) !important;
}

/* товары внутри активной заявки */
.sv-requests-page .sv-request-block.active > .sv-request-items {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* карточки товаров — только ровные отступы, без ломания внутренностей */
.sv-requests-page .sv-request-item {
  position: relative !important;
  box-sizing: border-box !important;

  width: 100% !important;
  max-width: 100% !important;

  margin: 0 0 12px 0 !important;
}

.sv-requests-page .sv-request-item:last-child {
  margin-bottom: 0 !important;
}

/* крестик отправленной заявки — справа внутри плашки */
.sv-requests-page .sv-delete-sent-request {
  position: absolute !important;

  top: 50% !important;
  right: 0 !important;
  transform: translateY(-50%) !important;

  width: 24px !important;
  height: 24px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 0 !important;
  padding: 0 !important;

  color: #1E183A !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;

  font-size: 22px !important;
  line-height: 1 !important;
  text-decoration: none !important;

  z-index: 50 !important;
}

/* крестик удаления товара внутри карточки */
.sv-requests-page .sv-request-remove {
  position: absolute !important;

  top: 12px !important;
  right: 14px !important;

  width: 24px !important;
  height: 24px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 0 !important;
  padding: 0 !important;

  z-index: 50 !important;
}

.sv-requests-page .sv-request-remove a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 24px !important;
  height: 24px !important;

  color: #1E183A !important;
  background: transparent !important;
  text-decoration: none !important;

  font-size: 22px !important;
  line-height: 1 !important;
}

/* hover без изменений */
.sv-requests-page .sv-delete-sent-request:hover,
.sv-requests-page .sv-request-remove a:hover {
  color: #1E183A !important;
  background: transparent !important;
  opacity: 1 !important;
}
/* счётчик "Мои заявки" */
.sv-header-request-count,
.sv-mobile-request-count {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.sv-header-request-count.active,
.sv-mobile-request-count.active {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  visibility: visible !important;
}
/* =====================================================
   МОБИЛЬНЫЙ ПОДВАЛ — ЧИСТЫЙ РОВНЫЙ ВАРИАНТ
===================================================== */

@media (max-width: 767px) {

  .footer-fix {
    width: 100% !important;
    max-width: 100% !important;

    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-areas:
      "logo logo"
      "tg right"
      "links right"
      "copy copy" !important;

    column-gap: 24px !important;
    row-gap: 8px !important;

    padding: 24px 24px 30px 24px !important;
    min-height: 315px !important;

    box-sizing: border-box !important;
    align-items: start !important;
    justify-items: start !important;
  }

  /* сброс старых отступов */
  .footer-fix *,
  .footer-fix .elementor-widget,
  .footer-fix .elementor-widget-container,
  .footer-fix .elementor-heading-title {
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    position: static !important;
    box-sizing: border-box !important;
    text-align: left !important;
  }

  /* общий текст */
  .footer-fix,
  .footer-fix *,
  .footer-fix .elementor-heading-title {
    font-size: 10.8px !important;
    line-height: 1.14 !important;
    font-weight: 400 !important;
  }

  /* ЛОГО */
  .footer-fix > .elementor-element:nth-child(1),
  .footer-fix > .e-con:nth-child(1) {
    grid-area: logo !important;
    width: 100% !important;
  }

  .footer-fix .glog img,
  .footer-fix .footer-logo img {
    width: 100px !important;
    max-width: 100px !important;
    height: auto !important;
    display: block !important;
  }

  /* TELEGRAM */
  .footer-fix > .elementor-element:nth-child(4),
  .footer-fix > .e-con:nth-child(4),
  .footer-left-tg {
    grid-area: tg !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;

    width: 100% !important;
    margin-top: 38px !important;
  }

  .footer-fix .tg-icon {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
  }

  .footer-fix .tg-icon img,
  .footer-fix .tg-icon svg {
    width: 34px !important;
    height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* РЕКВИЗИТЫ + ПОЛИТИКА */
  .footer-fix > .elementor-element:nth-child(2),
  .footer-fix > .e-con:nth-child(2),
  .footer-left-links {
    grid-area: links !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;

    gap: 5px !important;
    width: 100% !important;
    margin-top: 0 !important;
  }

  .footer-fix .rec {
    margin: 0 0 -6px 0 !important;
    padding: 0 !important;
  }

  .footer-fix .pol {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 150px !important;
    line-height: 1.12 !important;
  }

  /* ПРАВЫЙ БЛОК */
  .footer-fix > .elementor-element:nth-child(3),
  .footer-fix > .e-con:nth-child(3),
  .footer-right-contacts {
    grid-area: right !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;

    gap: 0 !important;
    width: 100% !important;
    max-width: 220px !important;

    margin-top: 66px !important;
  }

  .footer-fix .nom {
    order: 1 !important;
    margin: 0 0 -12px 0 !important;
  }

  .footer-fix .poch {
    order: 2 !important;
    margin: 0 0 -6px 0 !important;
  }

  .footer-fix .add {
    order: 3 !important;

    margin: 0 !important;
    max-width: 220px !important;

    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    line-height: 1.12 !important;
  }

  /* КОПИРАЙТ */
  .footer-fix > .elementor-widget-heading:last-child,
  .footer-fix > .elementor-element:last-child,
  .footer-fix .cop {
    grid-area: copy !important;

    width: 100% !important;
    margin-top: 28px !important;

    justify-self: start !important;
    align-self: end !important;
  }

  /* кнопки справа */
  .sv-floating-buttons {
    right: 8px !important;
    bottom: 18px !important;
  }
}
/* =====================================================
   МОБИЛЬНЫЕ ЗАГОЛОВКИ БЛОКОВ: НОВИНКИ / КАТАЛОГ / ХИТЫ
===================================================== */

@media (max-width: 767px) {

  /* Каталог + Хиты */
  body .sv-section-title,
  body .sv-section-title .elementor-heading-title,
  body .sv-section-title h1,
  body .sv-section-title h2,
  body .sv-section-title h3,

  /* Новинки */
  body .sv-new-title,
  body .sv-new-title .elementor-heading-title,
  body .sv-new-title h1,
  body .sv-new-title h2,
  body .sv-new-title h3 {
    font-size: 18px !important;
    line-height: 1.12 !important;
    font-weight: 700 !important;
    color: #1E183A !important;

    margin: 0 0 14px 0 !important;
    padding: 0 !important;

    width: auto !important;
    max-width: none !important;

    transform: none !important;
    letter-spacing: normal !important;
    text-align: left !important;
  }
}
/* =====================================================
   ЗАГОЛОВКИ СЕКЦИЙ — РАЗРЕШИТЬ РЕДАКТОРЫ ОТСТУПОВ
===================================================== */

.sv-section-title,
.sv-new-title {
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

.sv-section-title .elementor-widget-container,
.sv-new-title .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
}

.sv-section-title .elementor-heading-title,
.sv-new-title .elementor-heading-title {
  margin: 0 !important;
  padding: 0 !important;

  font-family: Inter, sans-serif !important;
  font-weight: 700 !important;
  color: #1E183A !important;
}
/* =====================================================
   ХИТЫ — ЗАГОЛОВОК ВНУТРИ sv-desktop-hits
===================================================== */

/* Компьютер */
body .sv-desktop-hits .sv-section-title,
body .sv-desktop-hits .sv-section-title .elementor-heading-title,
body .sv-desktop-hits .sv-new-title,
body .sv-desktop-hits .sv-new-title .elementor-heading-title,
body .sv-desktop-hits h1,
body .sv-desktop-hits h2,
body .sv-desktop-hits h3 {
  font-size: 20px !important;
  line-height: 1.12 !important;
  font-weight: 700 !important;
  color: #1E183A !important;
  margin: 0 0 14px 0 !important;
  padding: 0 !important;
}

/* Мобильная */
@media (max-width: 767px) {
  body .sv-desktop-hits .sv-section-title,
  body .sv-desktop-hits .sv-section-title .elementor-heading-title,
  body .sv-desktop-hits .sv-new-title,
  body .sv-desktop-hits .sv-new-title .elementor-heading-title,
  body .sv-desktop-hits h1,
  body .sv-desktop-hits h2,
  body .sv-desktop-hits h3 {
    font-size: 20px !important;
    line-height: 1.12 !important;
    margin: 0 0 14px 0 !important;
  }
}
@media (max-width: 767px) {
  .footer-fix .tg {
    transform: translateY(-4px) !important;
  }
}
/* =====================================================
   МОБИЛЬНАЯ СТРАНИЦА КАТЕГОРИИ — КАК КАРТОЧКИ НА ГЛАВНОЙ
   Для страниц Elementor:
   [sv_back_button]
   [cat_heading slug="..."]
   [products category="..." columns="3" limit="9" paginate="true"]
===================================================== */

@media (max-width: 767px) {

  /* переменные как на главной */
  :root {
    --sv-mob-gap: 14px;
    --sv-mob-card-gap: 12px;
  }

  body:has(.cat-products) {
    background: #FAFAFA !important;
  }

  /* убираем лишнее меню категорий сверху */
  body:has(.cat-products) .cat-sidebar-menu,
  body:has(.cat-products) .catalog-categories,
  body:has(.cat-products) .mobile-catalog,
  body:has(.cat-products) .mobile-category,
  body:has(.cat-products) .mobile-categories,
  body:has(.cat-products) .category-cards,
  body:has(.cat-products) .categories-cards,
  body:has(.cat-products) .category-grid,
  body:has(.cat-products) .categories-grid,
  body:has(.cat-products) .sv-category-grid,
  body:has(.cat-products) .sv-catalog-grid,
  body:has(.cat-products) .sv-mobile-catalog,
  body:has(.cat-products) .sv-category-list,
  body:has(.cat-products) .product-categories {
    display: none !important;
  }

  /* крошки скрываем, у тебя вместо них [sv_back_button] */
  body:has(.cat-products) .breadcrumbs-custom,
  body:has(.cat-products) .woocommerce-breadcrumb {
    display: none !important;
  }

  /* страница и Elementor-обёртки не должны сжимать товары */
  body:has(.cat-products) main,
  body:has(.cat-products) .site-main,
  body:has(.cat-products) .content-area,
  body:has(.cat-products) .entry-content,
  body:has(.cat-products) .page-content,
  body:has(.cat-products) .elementor,
  body:has(.cat-products) .elementor-section,
  body:has(.cat-products) .elementor-container,
  body:has(.cat-products) .elementor-widget-wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  /* кнопка назад */
  body:has(.cat-products) .sv-back-wrap,
  body:has(.cat-products) .sv-back-button,
  body:has(.cat-products) .sv-back-link {
    margin-left: var(--sv-mob-gap) !important;
    margin-right: var(--sv-mob-gap) !important;
  }

  /* заголовок категории: [cat_heading] */
  body:has(.cat-products) .cat-heading {
    width: calc(100vw - var(--sv-mob-gap) * 2) !important;
    max-width: calc(100vw - var(--sv-mob-gap) * 2) !important;

    min-height: 72px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;

    margin: 0 auto 14px auto !important;
    padding: 18px 20px !important;

    background: #FFFFFF !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 12px rgba(30,24,58,0.10) !important;
    box-sizing: border-box !important;
  }

  body:has(.cat-products) .cat-heading-title {
    margin: 0 !important;
    padding: 0 !important;

    font-family: Inter, sans-serif !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
    font-weight: 500 !important;
    color: #1E183A !important;
    white-space: nowrap !important;
  }

  body:has(.cat-products) .cat-heading-count {
    margin: 2px 0 0 0 !important;
    padding: 0 !important;

    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    color: #838383 !important;
    white-space: nowrap !important;
  }

  /* обёртка шорткода товаров */
  body:has(.cat-products) .cat-products,
  body:has(.cat-products) .cat-products .woocommerce,
  body:has(.cat-products) .elementor-widget-shortcode:has(.cat-products),
  body:has(.cat-products) .elementor-widget-shortcode:has(.woocommerce ul.products) {
    width: calc(100vw - var(--sv-mob-gap) * 2) !important;
    max-width: calc(100vw - var(--sv-mob-gap) * 2) !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding: 0 !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  /* сетка товаров */
  body:has(.cat-products) .cat-products .woocommerce ul.products,
  body:has(.cat-products) .cat-products ul.products,
  body:has(.cat-products) .woocommerce ul.products {
    width: 100% !important;
    max-width: 100% !important;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: var(--sv-mob-card-gap) !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
    box-sizing: border-box !important;
    justify-content: stretch !important;
  }

  body:has(.cat-products) .woocommerce ul.products::before,
  body:has(.cat-products) .woocommerce ul.products::after {
    display: none !important;
    content: none !important;
  }

  /* карточка товара — как на главной */
  body:has(.cat-products) .woocommerce ul.products li.product,
  body:has(.cat-products) .cat-products ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: 278px !important;
    min-height: 278px !important;
    max-height: 278px !important;

    margin: 0 !important;
    padding: 8px 8px 12px !important;

    float: none !important;
    clear: none !important;

    display: flex !important;
    flex-direction: column !important;

    background: #ffffff !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 12px rgba(30,24,58,0.10) !important;

    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body:has(.cat-products) .woocommerce ul.products li.product .woocommerce-loop-product__link {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    color: #1E183A !important;
    text-decoration: none !important;
  }

  /* картинка */
  body:has(.cat-products) .woocommerce ul.products li.product img {
    width: 100% !important;
    max-width: 100% !important;
    height: 132px !important;

    object-fit: contain !important;
    object-position: center !important;

    margin: 0 0 10px 0 !important;
    padding: 0 !important;

    background: #FFFFFF !important;
    border-radius: 8px !important;

    display: block !important;
    box-shadow: none !important;
  }

  /* название товара меньше, как на главной */
  body:has(.cat-products) .woocommerce ul.products li.product .woocommerce-loop-product__title {
    margin: 0 0 4px 0 !important;
    padding: 0 !important;

    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    color: #1E183A !important;

    min-height: 28px !important;
    max-height: 28px !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  body:has(.cat-products) .woocommerce ul.products li.product .price {
    display: none !important;
  }

  /* "Подробнее" всегда сразу под названием, независимо от длины */
  body:has(.cat-products) .woocommerce ul.products li.product .woocommerce-loop-product__link::after {
    content: "Подробнее →" !important;
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family: Inter, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    color: #1E183A !important;
    text-decoration: none !important;
  }

  /* кнопка обычная */
  body:has(.cat-products) .woocommerce ul.products li.product .button,
  body:has(.cat-products) .woocommerce ul.products li.product a.button {
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;

    margin-top: auto !important;
    padding: 0 8px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: none !important;
    border-radius: 999px !important;
    background: #FFB200 !important;
    box-shadow: none !important;

    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-decoration: none !important;
  }

  body:has(.cat-products) .woocommerce ul.products li.product .button::before,
  body:has(.cat-products) .woocommerce ul.products li.product a.button::before {
    content: "Добавить в заявку" !important;

    font-family: Inter, sans-serif !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    white-space: nowrap !important;
  }

  /* когда товар уже добавлен — счетчик как на главной */
  body:has(.cat-products) ul.products li.product.sv-product-in-request .button {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  body:has(.cat-products) ul.products li.product .sv-card-qty-control {
    margin-top: auto !important;

    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;

    display: grid !important;
    grid-template-columns: 38px 1fr 38px !important;
    align-items: center !important;

    border-radius: 999px !important;
    border: 1px solid #D9D9D9 !important;
    background: #FFFFFF !important;
    overflow: hidden !important;

    box-sizing: border-box !important;
    font-family: Inter, sans-serif !important;
  }

  body:has(.cat-products) ul.products li.product .sv-card-qty-control button {
    width: 38px !important;
    height: 36px !important;

    border: none !important;
    background: transparent !important;
    box-shadow: none !important;

    padding: 0 !important;
    margin: 0 !important;

    color: #1E183A !important;
    font-family: Inter, sans-serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
  }

  body:has(.cat-products) ul.products li.product .sv-card-qty-number {
    text-align: center !important;

    color: #1E183A !important;
    font-family: Inter, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 36px !important;
  }

  /* убрать "Показать еще" */
  body:has(.cat-products) .load-more,
  body:has(.cat-products) .show-more,
  body:has(.cat-products) .show_more,
  body:has(.cat-products) .cat-load-more,
  body:has(.cat-products) .sv-show-more,
  body:has(.cat-products) [class*="load-more"],
  body:has(.cat-products) [class*="show-more"] {
    display: none !important;
  }

/* =====================================================
   ПАГИНАЦИЯ КАТЕГОРИИ — ОДНА АККУРАТНАЯ СТРЕЛКА
===================================================== */

@media (max-width: 767px) {

  body:has(.cat-products) .woocommerce-pagination {
    width: 100% !important;
    margin: 18px 0 26px 0 !important;
    padding: 0 !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  body:has(.cat-products) .woocommerce-pagination ul.page-numbers {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
    border: none !important;
    background: transparent !important;
  }

  body:has(.cat-products) .woocommerce-pagination ul.page-numbers li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
  }

  body:has(.cat-products) .woocommerce-pagination ul.page-numbers li a,
  body:has(.cat-products) .woocommerce-pagination ul.page-numbers li span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 14px !important;
    height: 24px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    color: #5A5A5A !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
  }

  body:has(.cat-products) .woocommerce-pagination .current {
    color: #1E183A !important;
    font-weight: 500 !important;
  }

  /* стрелки prev/next: полностью прячем родной текст и иконки */
  body:has(.cat-products) .woocommerce-pagination a.prev,
  body:has(.cat-products) .woocommerce-pagination a.next,
  body:has(.cat-products) .woocommerce-pagination span.prev,
  body:has(.cat-products) .woocommerce-pagination span.next {
    width: 18px !important;
    min-width: 18px !important;
    height: 24px !important;

    position: relative !important;

    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
  }

  /* скрываем ВСЁ, что тема могла положить внутрь стрелки */
  body:has(.cat-products) .woocommerce-pagination a.prev *,
  body:has(.cat-products) .woocommerce-pagination a.next *,
  body:has(.cat-products) .woocommerce-pagination span.prev *,
  body:has(.cat-products) .woocommerce-pagination span.next * {
    display: none !important;
  }

  /* убираем все старые псевдо-стрелки темы */
  body:has(.cat-products) .woocommerce-pagination a.prev::before,
  body:has(.cat-products) .woocommerce-pagination a.prev::after,
  body:has(.cat-products) .woocommerce-pagination a.next::before,
  body:has(.cat-products) .woocommerce-pagination a.next::after,
  body:has(.cat-products) .woocommerce-pagination span.prev::before,
  body:has(.cat-products) .woocommerce-pagination span.prev::after,
  body:has(.cat-products) .woocommerce-pagination span.next::before,
  body:has(.cat-products) .woocommerce-pagination span.next::after {
    text-indent: 0 !important;
    font-family: Inter, sans-serif !important;
    font-size: 24px !important;
    line-height: 24px !important;
    font-weight: 400 !important;
    color: #5A5A5A !important;

    position: absolute !important;
    inset: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* отключаем before */
  body:has(.cat-products) .woocommerce-pagination a.prev::before,
  body:has(.cat-products) .woocommerce-pagination a.next::before,
  body:has(.cat-products) .woocommerce-pagination span.prev::before,
  body:has(.cat-products) .woocommerce-pagination span.next::before {
    content: none !important;
  }

  /* рисуем только after */
  body:has(.cat-products) .woocommerce-pagination a.prev::after,
  body:has(.cat-products) .woocommerce-pagination span.prev::after {
    content: "‹" !important;
  }

  body:has(.cat-products) .woocommerce-pagination a.next::after,
  body:has(.cat-products) .woocommerce-pagination span.next::after {
    content: "›" !important;
  }
}
/* =====================================================
   КАТЕГОРИЯ — ЧУТЬ УМЕНЬШИТЬ ШРИФТЫ И ПАГИНАЦИЮ
===================================================== */

@media (max-width: 767px) {

  /* заголовок "Новинки" */
  body:has(.cat-products) .cat-heading-title {
    font-size: 16px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
  }

  /* "13 товаров" */
  body:has(.cat-products) .cat-heading-count {
    font-size: 11px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    margin-top: 1px !important;
  }

  /* название товара в карточке */
  body:has(.cat-products) .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 11.5px !important;
    line-height: 1.13 !important;
    font-weight: 700 !important;

    min-height: 26px !important;
    max-height: 26px !important;

    margin-bottom: 4px !important;
  }

  /* "Подробнее" */
  body:has(.cat-products) .woocommerce ul.products li.product .woocommerce-loop-product__link::after {
    font-size: 10.8px !important;
    line-height: 1.15 !important;
    margin-top: 0 !important;
  }

  /* текст кнопки */
  body:has(.cat-products) .woocommerce ul.products li.product .button::before,
  body:has(.cat-products) .woocommerce ul.products li.product a.button::before {
    font-size: 10.5px !important;
    font-weight: 700 !important;
  }

  /* пагинация: цифры */
  body:has(.cat-products) .woocommerce-pagination ul.page-numbers {
    gap: 12px !important;
  }

  body:has(.cat-products) .woocommerce-pagination ul.page-numbers li a,
  body:has(.cat-products) .woocommerce-pagination ul.page-numbers li span {
    font-size: 12.5px !important;
    height: 20px !important;
    min-width: 12px !important;
  }

  body:has(.cat-products) .woocommerce-pagination .current {
    font-weight: 500 !important;
  }

  /* пагинация: стрелки */
  body:has(.cat-products) .woocommerce-pagination a.prev,
  body:has(.cat-products) .woocommerce-pagination a.next,
  body:has(.cat-products) .woocommerce-pagination span.prev,
  body:has(.cat-products) .woocommerce-pagination span.next {
    width: 14px !important;
    min-width: 14px !important;
    height: 20px !important;
  }

  body:has(.cat-products) .woocommerce-pagination a.prev::after,
  body:has(.cat-products) .woocommerce-pagination a.next::after,
  body:has(.cat-products) .woocommerce-pagination span.prev::after,
  body:has(.cat-products) .woocommerce-pagination span.next::after {
    font-size: 20px !important;
    line-height: 20px !important;
  }
}
/* =====================================================
   КАТЕГОРИЯ — ПЛАШКА НОВИНКИ РОВНО ПО ШИРИНЕ КАРТОЧЕК
   И БЕЗ ЛИШНЕЙ БЕЛОЙ ПОДЛОЖКИ
===================================================== */

@media (max-width: 767px) {

  /* убираем лишнюю подложку у Elementor-обёрток */
  body:has(.cat-products) .elementor-element:has(.cat-heading),
  body:has(.cat-products) .elementor-widget-shortcode:has(.cat-heading),
  body:has(.cat-products) .elementor-widget-container:has(.cat-heading),
  body:has(.cat-products) .e-con:has(.cat-heading),
  body:has(.cat-products) .e-con-inner:has(.cat-heading) {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;

    padding: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;

    box-sizing: border-box !important;
  }

  /* ширина обёртки заголовка = ширина сетки товаров */
  body:has(.cat-products) .elementor-widget-shortcode:has(.cat-heading),
  body:has(.cat-products) .elementor-widget-container:has(.cat-heading) {
    width: calc(100vw - var(--sv-mob-gap) * 2) !important;
    max-width: calc(100vw - var(--sv-mob-gap) * 2) !important;

    display: block !important;
    transform: none !important;
  }

  /* сама плашка */
  body:has(.cat-products) .cat-heading {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;

    margin: -8px 0 14px 0 !important;
    padding: 18px 20px !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;

    background: #fff !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 12px rgba(30,24,58,0.10) !important;

    box-sizing: border-box !important;
    transform: none !important;
  }

  /* текст внутри */
  body:has(.cat-products) .cat-heading-title,
  body:has(.cat-products) .cat-heading-count {
    position: static !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
  }

  body:has(.cat-products) .cat-heading-title {
    margin: 0 !important;
    padding: 0 !important;

    font-family: Inter, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    color: #1E183A !important;
    white-space: nowrap !important;
  }

  body:has(.cat-products) .cat-heading-count {
    margin: 1px 0 0 0 !important;
    padding: 0 !important;

    font-family: Inter, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    color: #666 !important;
    white-space: nowrap !important;
  }
}
/* =====================================================
   МОБИЛЬНЫЙ САЙТ — "ПОДРОБНЕЕ" ПРИКРЕПЛЁН К НАЗВАНИЮ
   Для всех категорий и мобильных WooCommerce-карточек
===================================================== */

@media (max-width: 767px) {

  /* убираем фейковые Подробнее, если где-то были нарисованы на карточке */
  body .cat-products li.product::before,
  body .cat-products li.product::after,
  body .sv-cat-products-mobile li.product::before,
  body .sv-cat-products-mobile li.product::after {
    content: none !important;
    display: none !important;
  }

  /* карточка */
  body .cat-products ul.products li.product,
  body .cat-products .woocommerce ul.products li.product,
  body .sv-cat-products-mobile ul.products li.product,
  body .sv-cat-products-mobile .woocommerce ul.products li.product,
  body.woocommerce-page ul.products li.product,
  body .woocommerce ul.products li.product {
    position: relative !important;

    display: flex !important;
    flex-direction: column !important;

    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* ссылка товара: нормальный поток */
  body .cat-products ul.products li.product a.woocommerce-loop-product__link,
  body .cat-products ul.products li.product a.woocommerce-LoopProduct-link,
  body .cat-products .woocommerce ul.products li.product a.woocommerce-loop-product__link,
  body .cat-products .woocommerce ul.products li.product a.woocommerce-LoopProduct-link,

  body .sv-cat-products-mobile ul.products li.product a.woocommerce-loop-product__link,
  body .sv-cat-products-mobile ul.products li.product a.woocommerce-LoopProduct-link,
  body .sv-cat-products-mobile .woocommerce ul.products li.product a.woocommerce-loop-product__link,
  body .sv-cat-products-mobile .woocommerce ul.products li.product a.woocommerce-LoopProduct-link,

  body.woocommerce-page ul.products li.product a.woocommerce-loop-product__link,
  body.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link,
  body .woocommerce ul.products li.product a.woocommerce-loop-product__link,
  body .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    inset: auto !important;

    display: block !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }

  /* картинка */
  body .cat-products ul.products li.product a.woocommerce-loop-product__link img,
  body .cat-products ul.products li.product a.woocommerce-LoopProduct-link img,
  body .cat-products .woocommerce ul.products li.product a.woocommerce-loop-product__link img,
  body .cat-products .woocommerce ul.products li.product a.woocommerce-LoopProduct-link img,

  body .sv-cat-products-mobile ul.products li.product a.woocommerce-loop-product__link img,
  body .sv-cat-products-mobile ul.products li.product a.woocommerce-LoopProduct-link img,
  body .sv-cat-products-mobile .woocommerce ul.products li.product a.woocommerce-loop-product__link img,
  body .sv-cat-products-mobile .woocommerce ul.products li.product a.woocommerce-LoopProduct-link img,

  body.woocommerce-page ul.products li.product a.woocommerce-loop-product__link img,
  body.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link img,
  body .woocommerce ul.products li.product a.woocommerce-loop-product__link img,
  body .woocommerce ul.products li.product a.woocommerce-LoopProduct-link img {
    position: static !important;

    display: block !important;

    width: 100% !important;
    height: 132px !important;

    margin: 0 0 10px 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center !important;

    background: #FFFFFF !important;
    border-radius: 8px !important;

    box-sizing: border-box !important;
  }

  /* название: реальная высота по тексту, максимум 2 строки */
  body .cat-products ul.products li.product .woocommerce-loop-product__title,
  body .cat-products .woocommerce ul.products li.product .woocommerce-loop-product__title,
  body .sv-cat-products-mobile ul.products li.product .woocommerce-loop-product__title,
  body .sv-cat-products-mobile .woocommerce ul.products li.product .woocommerce-loop-product__title,
  body.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
  body .woocommerce ul.products li.product .woocommerce-loop-product__title {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    inset: auto !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: calc(12px * 1.15 * 2) !important;

    margin: 0 0 8px 0 !important;
    padding: 0 !important;

    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    color: #1E183A !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;

    transform: none !important;
    box-sizing: border-box !important;
  }

  /* существующий Подробнее — сразу после названия */
  body .cat-products ul.products li.product a.woocommerce-loop-product__link::after,
  body .cat-products ul.products li.product a.woocommerce-LoopProduct-link::after,
  body .cat-products .woocommerce ul.products li.product a.woocommerce-loop-product__link::after,
  body .cat-products .woocommerce ul.products li.product a.woocommerce-LoopProduct-link::after,

  body .sv-cat-products-mobile ul.products li.product a.woocommerce-loop-product__link::after,
  body .sv-cat-products-mobile ul.products li.product a.woocommerce-LoopProduct-link::after,
  body .sv-cat-products-mobile .woocommerce ul.products li.product a.woocommerce-loop-product__link::after,
  body .sv-cat-products-mobile .woocommerce ul.products li.product a.woocommerce-LoopProduct-link::after,

  body.woocommerce-page ul.products li.product a.woocommerce-loop-product__link::after,
  body.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link::after,
  body .woocommerce ul.products li.product a.woocommerce-loop-product__link::after,
  body .woocommerce ul.products li.product a.woocommerce-LoopProduct-link::after {
    content: "Подробнее →" !important;

    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    inset: auto !important;

    display: block !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    font-family: Inter, sans-serif !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    color: #1E183A !important;

    text-align: left !important;
    text-decoration: none !important;

    transform: none !important;
    box-sizing: border-box !important;
  }

  /* кнопка остаётся внизу карточки */
  body .cat-products ul.products li.product .button,
  body .cat-products ul.products li.product a.button,
  body .cat-products .woocommerce ul.products li.product .button,
  body .cat-products .woocommerce ul.products li.product a.button,

  body .sv-cat-products-mobile ul.products li.product .button,
  body .sv-cat-products-mobile ul.products li.product a.button,
  body .sv-cat-products-mobile .woocommerce ul.products li.product .button,
  body .sv-cat-products-mobile .woocommerce ul.products li.product a.button,

  body.woocommerce-page ul.products li.product .button,
  body.woocommerce-page ul.products li.product a.button,
  body .woocommerce ul.products li.product .button,
  body .woocommerce ul.products li.product a.button {
    margin-top: auto !important;
  }
}
/* =====================================================
   ГЛАВНАЯ МОБИЛЬНАЯ — "ПОДРОБНЕЕ" СРАЗУ ПОД НАЗВАНИЕМ
   Для блоков Новинки / Хиты
===================================================== */

@media (max-width: 767px) {

  body.home .mobile-new-products ul.products li.product a.woocommerce-loop-product__link,
  body.home .mobile-new-products ul.products li.product a.woocommerce-LoopProduct-link,
  body.home .mobile-hits ul.products li.product a.woocommerce-loop-product__link,
  body.home .mobile-hits ul.products li.product a.woocommerce-LoopProduct-link,
  body.home .sv-mobile-hits ul.products li.product a.woocommerce-loop-product__link,
  body.home .sv-mobile-hits ul.products li.product a.woocommerce-LoopProduct-link,
  body.home .sv-desktop-hits ul.products li.product a.woocommerce-loop-product__link,
  body.home .sv-desktop-hits ul.products li.product a.woocommerce-LoopProduct-link {
    position: static !important;
    display: block !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
    text-decoration: none !important;
  }

  body.home .mobile-new-products ul.products li.product .woocommerce-loop-product__title,
  body.home .mobile-hits ul.products li.product .woocommerce-loop-product__title,
  body.home .sv-mobile-hits ul.products li.product .woocommerce-loop-product__title,
  body.home .sv-desktop-hits ul.products li.product .woocommerce-loop-product__title {
    position: static !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: calc(12px * 1.15 * 2) !important;

    margin: 0 0 8px 0 !important;
    padding: 0 !important;

    font-size: 12px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    color: #1E183A !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    transform: none !important;
  }

  body.home .mobile-new-products ul.products li.product a.woocommerce-loop-product__link::after,
  body.home .mobile-new-products ul.products li.product a.woocommerce-LoopProduct-link::after,
  body.home .mobile-hits ul.products li.product a.woocommerce-loop-product__link::after,
  body.home .mobile-hits ul.products li.product a.woocommerce-LoopProduct-link::after,
  body.home .sv-mobile-hits ul.products li.product a.woocommerce-loop-product__link::after,
  body.home .sv-mobile-hits ul.products li.product a.woocommerce-LoopProduct-link::after,
  body.home .sv-desktop-hits ul.products li.product a.woocommerce-loop-product__link::after,
  body.home .sv-desktop-hits ul.products li.product a.woocommerce-LoopProduct-link::after {
    content: "Подробнее →" !important;

    position: static !important;
    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    color: #1E183A !important;

    text-align: left !important;
    text-decoration: none !important;
    transform: none !important;
  }

  body.home .mobile-new-products ul.products li.product .button,
  body.home .mobile-new-products ul.products li.product a.button,
  body.home .mobile-hits ul.products li.product .button,
  body.home .mobile-hits ul.products li.product a.button,
  body.home .sv-mobile-hits ul.products li.product .button,
  body.home .sv-mobile-hits ul.products li.product a.button,
  body.home .sv-desktop-hits ul.products li.product .button,
  body.home .sv-desktop-hits ul.products li.product a.button {
    margin-top: auto !important;
  }
}
/* =====================================================
   ГЛАВНАЯ МОБИЛЬНАЯ — ХИТЫ
   shortcode: [products limit="8" columns="4" visibility="featured"]
   контейнер: sv-mobile-hits-carousel
===================================================== */

@media (max-width: 767px) {

  body.home .sv-mobile-hits-carousel ul.products li.product a.woocommerce-loop-product__link,
  body.home .sv-mobile-hits-carousel ul.products li.product a.woocommerce-LoopProduct-link,
  body.home .sv-mobile-hits-carousel .woocommerce ul.products li.product a.woocommerce-loop-product__link,
  body.home .sv-mobile-hits-carousel .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    position: static !important;
    display: block !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
    text-decoration: none !important;
  }

  body.home .sv-mobile-hits-carousel ul.products li.product .woocommerce-loop-product__title,
  body.home .sv-mobile-hits-carousel .woocommerce ul.products li.product .woocommerce-loop-product__title {
    position: static !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: calc(12px * 1.15 * 2) !important;

    margin: 0 0 8px 0 !important;
    padding: 0 !important;

    font-size: 12px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    color: #1E183A !important;

    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    transform: none !important;
  }

  body.home .sv-mobile-hits-carousel ul.products li.product a.woocommerce-loop-product__link::after,
  body.home .sv-mobile-hits-carousel ul.products li.product a.woocommerce-LoopProduct-link::after,
  body.home .sv-mobile-hits-carousel .woocommerce ul.products li.product a.woocommerce-loop-product__link::after,
  body.home .sv-mobile-hits-carousel .woocommerce ul.products li.product a.woocommerce-LoopProduct-link::after {
    content: "Подробнее →" !important;

    position: static !important;
    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    color: #1E183A !important;

    text-align: left !important;
    text-decoration: none !important;
    transform: none !important;
  }

  body.home .sv-mobile-hits-carousel ul.products li.product .button,
  body.home .sv-mobile-hits-carousel ul.products li.product a.button,
  body.home .sv-mobile-hits-carousel .woocommerce ul.products li.product .button,
  body.home .sv-mobile-hits-carousel .woocommerce ul.products li.product a.button {
    margin-top: auto !important;
  }
}
/* =====================================================
   МОБИЛЬНАЯ ПАГИНАЦИЯ — БЕЗ КРИВЫХ СТРЕЛОК
===================================================== */

@media (max-width: 767px) {

  body:has(.cat-products) .woocommerce-pagination {
    width: 100% !important;
    margin: 18px 0 26px 0 !important;
    padding: 0 !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  body:has(.cat-products) .woocommerce-pagination ul.page-numbers {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 12px !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
    border: none !important;
    background: transparent !important;
  }

  body:has(.cat-products) .woocommerce-pagination ul.page-numbers li {
    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
    background: transparent !important;
  }

  body:has(.cat-products) .woocommerce-pagination ul.page-numbers li a,
  body:has(.cat-products) .woocommerce-pagination ul.page-numbers li span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 14px !important;
    height: 18px !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 400 !important;

    color: #1E183A !important;

    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
  }

  body:has(.cat-products) .woocommerce-pagination ul.page-numbers .current {
    font-weight: 500 !important;
    color: #1E183A !important;
  }

  /* убираем именно старые нарисованные кривые псевдо-стрелки */
  body:has(.cat-products) .woocommerce-pagination .prev::before,
  body:has(.cat-products) .woocommerce-pagination .prev::after,
  body:has(.cat-products) .woocommerce-pagination .next::before,
  body:has(.cat-products) .woocommerce-pagination .next::after {
    content: none !important;
    display: none !important;
  }

  /* показываем нормальный текст стрелки */
  body:has(.cat-products) .woocommerce-pagination .prev {
    font-size: 0 !important;
  }

  body:has(.cat-products) .woocommerce-pagination .next {
    font-size: 0 !important;
  }

  body:has(.cat-products) .woocommerce-pagination .prev {
    position: relative !important;
  }

  body:has(.cat-products) .woocommerce-pagination .next {
    position: relative !important;
  }

  body:has(.cat-products) .woocommerce-pagination .prev {
    color: transparent !important;
  }

  body:has(.cat-products) .woocommerce-pagination .next {
    color: transparent !important;
  }

  body:has(.cat-products) .woocommerce-pagination .prev {
    text-indent: 0 !important;
  }

  body:has(.cat-products) .woocommerce-pagination .next {
    text-indent: 0 !important;
  }

  body:has(.cat-products) .woocommerce-pagination .prev {
    overflow: visible !important;
  }

  body:has(.cat-products) .woocommerce-pagination .next {
    overflow: visible !important;
  }

  body:has(.cat-products) .woocommerce-pagination .prev {
    width: 14px !important;
    min-width: 14px !important;
  }

  body:has(.cat-products) .woocommerce-pagination .next {
    width: 14px !important;
    min-width: 14px !important;
  }

  body:has(.cat-products) .woocommerce-pagination .prev {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body:has(.cat-products) .woocommerce-pagination .next {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body:has(.cat-products) .woocommerce-pagination .prev {
    visibility: visible !important;
  }

  body:has(.cat-products) .woocommerce-pagination .next {
    visibility: visible !important;
  }

  body:has(.cat-products) .woocommerce-pagination .prev {
    opacity: 1 !important;
  }

  body:has(.cat-products) .woocommerce-pagination .next {
    opacity: 1 !important;
  }

  body:has(.cat-products) .woocommerce-pagination .prev {
    pointer-events: auto !important;
  }

  body:has(.cat-products) .woocommerce-pagination .next {
    pointer-events: auto !important;
  }

  /* новая стрелка через обычный текст внутри */
  body:has(.cat-products) .woocommerce-pagination .prev {
    font-size: 18px !important;
    color: #1E183A !important;
  }

  body:has(.cat-products) .woocommerce-pagination .next {
    font-size: 18px !important;
    color: #1E183A !important;
  }
}
/* =====================================================
   МОБИЛЬНАЯ СТРЕЛКА НАЗАД
   На компьютере старый "Назад" не трогаем
   Класс виджета/контейнера: sv-mobile-back-wrap
===================================================== */

@media (max-width: 767px) {

  body:has(.cat-products) .sv-mobile-back-wrap {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 38px !important;
    height: 38px !important;

    margin: 0 !important;
    padding: 0 !important;

    position: absolute !important;
    left: 16px !important;
    top: 104px !important;
    z-index: 9999 !important;

    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    overflow: visible !important;
  }

  body:has(.cat-products) .sv-mobile-back-wrap .elementor-widget-container,
  body:has(.cat-products) .sv-mobile-back-wrap .elementor-shortcode {
    display: block !important;
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  /* Сама старая ссылка/кнопка от шорткода превращается в круг */
  body:has(.cat-products) .sv-mobile-back-wrap a,
  body:has(.cat-products) .sv-mobile-back-wrap button,
  body:has(.cat-products) .sv-mobile-back-wrap .sv-back-button,
  body:has(.cat-products) .sv-mobile-back-wrap .sv-back-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;
    border-radius: 50% !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(30,24,58,0.12) !important;

    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-decoration: none !important;

    position: relative !important;
    overflow: visible !important;
  }

  /* Убираем текст "Назад" внутри мобильной кнопки */
  body:has(.cat-products) .sv-mobile-back-wrap a *,
  body:has(.cat-products) .sv-mobile-back-wrap button * {
    font-size: 0 !important;
    color: transparent !important;
  }

  /* Рисуем нормальную стрелку */
  body:has(.cat-products) .sv-mobile-back-wrap a::before,
  body:has(.cat-products) .sv-mobile-back-wrap button::before,
  body:has(.cat-products) .sv-mobile-back-wrap .sv-back-button::before,
  body:has(.cat-products) .sv-mobile-back-wrap .sv-back-link::before {
    content: "" !important;

    display: block !important;
    width: 10px !important;
    height: 10px !important;

    border-left: 2px solid #1E183A !important;
    border-bottom: 2px solid #1E183A !important;

    transform: rotate(45deg) translate(1px, -1px) !important;
  }
}
/* =====================================================
   ГЛОБАЛЬНАЯ МОБИЛЬНАЯ КНОПКА НАЗАД
   Ставится один раз в мобильную шапку
   Показывается только на страницах категорий с .cat-products
===================================================== */

/* по умолчанию скрыта везде */
.sv-global-mobile-back {
  display: none !important;
}

/* показываем только на мобильных страницах категорий */
@media (max-width: 767px) {

  body:has(.cat-products) .sv-global-mobile-back {
    display: block !important;

    position: fixed !important;
    left: 16px !important;
    top: 82px !important;

    width: 38px !important;
    height: 38px !important;

    z-index: 99999 !important;
    pointer-events: none !important;
  }

  body:has(.cat-products) .sv-global-mobile-back-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(30,24,58,0.12) !important;

    cursor: pointer !important;
    pointer-events: auto !important;
  }

  body:has(.cat-products) .sv-global-mobile-back-arrow {
    display: block !important;

    width: 10px !important;
    height: 10px !important;

    border-left: 2px solid #1E183A !important;
    border-bottom: 2px solid #1E183A !important;

    transform: rotate(45deg) translate(1px, -1px) !important;
  }

  /* скрываем старый шорткод назад на категориях, если он там остался */
  body:has(.cat-products) .sv-mobile-back-wrap,
  body:has(.cat-products) .sv-back-wrap,
  body:has(.cat-products) .sv-back-button,
  body:has(.cat-products) .sv-back-link {
    display: none !important;
  }
}
/* =====================================================
   МОБИЛЬНАЯ КАТЕГОРИЯ — ОТСТУП НАД ПЛАШКОЙ НОВИНКИ
===================================================== */

@media (max-width: 767px) {

  /* убираем лишний отступ внутри списка товаров */
  body:has(.cat-products) .cat-products {
    padding-top: 0 !important;
  }

  /* двигаем именно блок заголовка категории вниз */
  body:has(.cat-products) .cat-heading {
    margin-top: 46px !important;
    margin-bottom: 16px !important;
  }

  /* стрелка стоит в этом верхнем свободном месте */
  body:has(.cat-products) .sv-global-mobile-back {
    top: 98px !important;
    left: 16px !important;
  }
}
/* =====================================================
   ДОЖИМ: ПОДНЯТЬ МОБИЛЬНУЮ СТРЕЛКУ НАЗАД
===================================================== */

@media (max-width: 767px) {

  body:has(.cat-products) .sv-global-mobile-back {
    display: block !important;
    position: fixed !important;

    left: 16px !important;
    top: 102px !important;

    width: 38px !important;
    height: 38px !important;

    z-index: 999999 !important;
    pointer-events: none !important;

    transform: translateY(-34px) !important;
  }

  body:has(.cat-products) .sv-global-mobile-back-btn {
    pointer-events: auto !important;
  }
}
/* =====================================================
   МОБИЛЬНАЯ КАТЕГОРИЯ — ФИНАЛЬНЫЕ ОТСТУПЫ И КЛИКАБЕЛЬНОСТЬ
===================================================== */

@media (max-width: 767px) {

  /* 1. Стрелка назад: ниже шапки, но не перекрывает меню */
  .sv-global-mobile-back {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    position: fixed !important;
    left: 16px !important;
    top: 112px !important;

    width: 38px !important;
    height: 38px !important;

    z-index: 5000 !important;
    pointer-events: none !important;
  }

  .sv-global-mobile-back-btn {
    pointer-events: auto !important;
  }

  /* 2. Шапка всегда выше стрелки и кликается нормально */
  header,
  .site-header,
  .elementor-location-header,
  .elementor-location-header *,
  .elementor-widget-theme-site-logo,
  .elementor-widget-icon,
  .elementor-icon,
  .elementor-menu-toggle {
    position: relative !important;
    z-index: 9000 !important;
    pointer-events: auto !important;
  }

  /* 3. Плашка категории: меньше воздуха сверху */
  body:has(.cat-products) .cat-heading {
    margin-top: 30px !important;
    margin-bottom: 16px !important;
  }

  /* 4. Контейнер категории не должен резать низ */
  body:has(.cat-products) .cat-products,
  body:has(.cat-products) .woocommerce,
  body:has(.cat-products) .woocommerce ul.products {
    overflow: visible !important;
  }

  /* 5. Добавляем запас снизу, чтобы карточки не резались браузерной панелью */
  body:has(.cat-products) .cat-products {
    padding-bottom: 130px !important;
  }

  body:has(.cat-products) .woocommerce-pagination {
    margin-bottom: 80px !important;
  }
}
/* =====================================================
   МОБИЛЬНЫЕ КАТЕГОРИИ — КОМПАКТНЕЕ СВЕРХУ И СНИЗУ
===================================================== */

@media (max-width: 767px) {

  /* стрелку чуть выше */
  .sv-global-mobile-back {
    top: 88px !important;
  }

  /* плашку категории тоже выше */
  body:has(.cat-products) .cat-heading {
    margin-top: 24px !important;
    margin-bottom: 14px !important;
  }

  /* меньше нижнего пустого пространства */
  body:has(.cat-products) .cat-products {
    padding-bottom: 55px !important;
  }

  body:has(.cat-products) .woocommerce-pagination {
    margin-bottom: 35px !important;
  }

  /* если товаров мало — не растягивать секцию вниз */
  body:has(.cat-products) .woocommerce ul.products {
    margin-bottom: 20px !important;
  }

  body:has(.cat-products) footer,
  body:has(.cat-products) .site-footer,
  body:has(.cat-products) .footer-fix {
    margin-top: 10px !important;
  }
}
/* =====================================================
   ХИТЫ — ПОЧИНИТЬ КЛИК ПО "ДОБАВИТЬ В ЗАЯВКУ"
===================================================== */

@media (max-width: 767px) {

  body.home .sv-mobile-hits-carousel ul.products li.product,
  body.home .sv-mobile-hits-carousel .woocommerce ul.products li.product {
    position: relative !important;
  }

  /* ссылка товара не должна перекрывать кнопку */
  body.home .sv-mobile-hits-carousel ul.products li.product a.woocommerce-loop-product__link,
  body.home .sv-mobile-hits-carousel ul.products li.product a.woocommerce-LoopProduct-link,
  body.home .sv-mobile-hits-carousel .woocommerce ul.products li.product a.woocommerce-loop-product__link,
  body.home .sv-mobile-hits-carousel .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    position: relative !important;
    z-index: 1 !important;
    pointer-events: auto !important;
  }

  /* кнопка должна быть поверх ссылки */
  body.home .sv-mobile-hits-carousel ul.products li.product a.button,
  body.home .sv-mobile-hits-carousel ul.products li.product .button,
  body.home .sv-mobile-hits-carousel .woocommerce ul.products li.product a.button,
  body.home .sv-mobile-hits-carousel .woocommerce ul.products li.product .button {
    position: relative !important;
    z-index: 5 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  /* псевдо Подробнее не должно ловить клик вместо кнопки */
  body.home .sv-mobile-hits-carousel ul.products li.product a.woocommerce-loop-product__link::after,
  body.home .sv-mobile-hits-carousel ul.products li.product a.woocommerce-LoopProduct-link::after,
  body.home .sv-mobile-hits-carousel .woocommerce ul.products li.product a.woocommerce-loop-product__link::after,
  body.home .sv-mobile-hits-carousel .woocommerce ul.products li.product a.woocommerce-LoopProduct-link::after {
    pointer-events: none !important;
  }
}
/* =====================================================
   СТРАНИЦА ТОВАРА — МОБИЛЬНАЯ ВЕРСИЯ (ЧИСТЫЙ ИТОГ)
===================================================== */

@media (max-width: 767px) {

  body.single-product {
    background: #FAFAFA !important;
    overflow-x: hidden !important;
  }

  body.single-product main,
  body.single-product .site-main,
  body.single-product .content-area,
  body.single-product .site-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 8px 12px !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  body.single-product .woocommerce-breadcrumb,
  body.single-product .breadcrumbs-custom {
    display: none !important;
  }

  /* основной блок товара */
  body.single-product div.product,
  body.single-product div.product.type-product {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 44px 0 0 !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;

    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  body.single-product div.product::before,
  body.single-product div.product::after {
    display: none !important;
    content: none !important;
  }

  /* =====================================================
     СТРЕЛКА НАЗАД
     left: меньше = левее, больше = правее
     top: меньше = выше, больше = ниже
  ===================================================== */
  body.single-product .sv-back-wrap,
  body.single-product .sv-product-back {
    display: block !important;
    position: fixed !important;
    left: 8px !important;
    top: 38px !important;
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 999999 !important;
    background: transparent !important;
    overflow: visible !important;
  }

  body.single-product .sv-back-button,
  body.single-product .sv-back-link,
  body.single-product .sv-back-wrap a,
  body.single-product .sv-product-back a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    margin: 0 !important;
    padding: 0 !important;

    background: #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(30,24,58,0.12) !important;

    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    text-decoration: none !important;
    position: relative !important;
  }

  body.single-product .sv-back-button *,
  body.single-product .sv-back-link *,
  body.single-product .sv-back-wrap a *,
  body.single-product .sv-product-back a * {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
  }

  body.single-product .sv-back-button::before,
  body.single-product .sv-back-link::before,
  body.single-product .sv-back-wrap a::before,
  body.single-product .sv-product-back a::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 9px !important;
    height: 9px !important;
    border-left: 2px solid #1E183A !important;
    border-bottom: 2px solid #1E183A !important;
    transform: translate(-35%, -50%) rotate(45deg) !important;
    margin: 0 !important;
  }

  body.single-product .sv-global-mobile-back {
    display: none !important;
  }

  /* =====================================================
     ГАЛЕРЕЯ ТОВАРА
     ВАЖНО: не ломаем flexslider
  ===================================================== */

  body.single-product div.product div.images,
  body.single-product div.product.type-product div.images,
  body.single-product .woocommerce-product-gallery {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    float: none !important;
    position: relative !important;
    box-sizing: border-box !important;
    background: transparent !important;
    overflow: visible !important;
  }

  body.single-product .woocommerce-product-gallery .flex-viewport {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    max-height: 390px !important;
    min-height: 0 !important;
    background: #FFFFFF !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* НЕ трогаем transform/механику слайдера */
  body.single-product .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  body.single-product .woocommerce-product-gallery__image {
    margin: 0 !important;
    background: #FFFFFF !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body.single-product .woocommerce-product-gallery__image a {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    max-height: 390px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #FFFFFF !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  body.single-product .woocommerce-product-gallery__image img,
  body.single-product div.product div.images img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: center center !important;

    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;

    position: static !important;
    transform: none !important;

    background: transparent !important;
    border-radius: 18px !important;
  }

  /* миниатюры под фото */
  body.single-product .flex-control-thumbs {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 12px 0 0 !important;
    padding: 0 !important;

    list-style: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;

    -webkit-overflow-scrolling: touch !important;
  }

  body.single-product .flex-control-thumbs::-webkit-scrollbar {
    display: none !important;
  }

  body.single-product .flex-control-thumbs li {
    flex: 0 0 58px !important;
    width: 58px !important;
    height: 58px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    list-style: none !important;
  }

  body.single-product .flex-control-thumbs img {
    width: 58px !important;
    height: 58px !important;

    object-fit: contain !important;
    object-position: center !important;

    background: #FFFFFF !important;
    border-radius: 10px !important;
    border: 1px solid #F1ECE1 !important;

    padding: 5px !important;
    opacity: 1 !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* убираем стрелки/лупу галереи */
  body.single-product .sv-gallery-arrow,
  body.single-product .sv-gallery-prev,
  body.single-product .sv-gallery-next,
  body.single-product .flex-direction-nav,
  body.single-product .flex-direction-nav *,
  body.single-product .flex-prev,
  body.single-product .flex-next,
  body.single-product .woocommerce-product-gallery .flex-prev,
  body.single-product .woocommerce-product-gallery .flex-next,
  body.single-product .woocommerce-product-gallery__trigger {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* карточка описания */
  body.single-product div.product .summary,
body.single-product div.product.type-product .summary,
body.single-product .summary.entry-summary {
  width: calc(100vw - 24px) !important;
  max-width: calc(100vw - 24px) !important;
  margin-left: calc((100% - (100vw - 24px)) / 2) !important;
  margin-right: calc((100% - (100vw - 24px)) / 2) !important;
  padding: 18px 20px !important;

    background: #fff !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 12px rgba(30,24,58,0.08) !important;

    display: flex !important;
    flex-direction: column !important;

    float: none !important;
    clear: both !important;

    min-height: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body.single-product .product_title,
  body.single-product h1.product_title,
  body.single-product div.product .product_title,
  body.single-product div.product .summary .product_title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 0 16px !important;
    padding: 0 !important;

    font-family: Inter, sans-serif !important;
    font-size: 23px !important;
    line-height: 1.12 !important;
    font-weight: 500 !important;
    color: #1E183A !important;

    white-space: normal !important;
    overflow: visible !important;
    text-indent: 0 !important;
    transform: none !important;
  }

  /* характеристики */
  body.single-product .sv-product-attrs {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    margin: 0 0 16px !important;
  }

  body.single-product .sv-attr-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    min-height: 26px !important;
    padding: 0 !important;

    border-bottom: 1px solid #D9D9D9 !important;

    font-family: Inter, sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.15 !important;
    color: #1E183A !important;
  }

  body.single-product .sv-attr-label,
  body.single-product .sv-attr-value {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;

    font-size: 11.5px !important;
    line-height: 1.15 !important;
    color: #1E183A !important;
  }

  body.single-product .sv-attr-label {
    font-weight: 700 !important;
  }

  body.single-product .sv-attr-value {
    font-weight: 400 !important;
    text-align: right !important;
  }

  body.single-product .woocommerce-product-details__short-description,
  body.single-product .woocommerce-product-details__short-description p {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    margin: 0 0 10px !important;
    padding: 0 !important;

    font-family: Inter, sans-serif !important;
    font-size: 11.5px !important;
    line-height: 1.3 !important;
    color: #1E183A !important;

    white-space: normal !important;
    overflow: visible !important;
  }

  /* форма */
  body.single-product div.product .summary form.cart,
  body.single-product div.product.type-product form.cart,
  body.single-product form.cart {
    width: 100% !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
    box-sizing: border-box !important;
  }

  /* счётчик */
  body.single-product form.cart .quantity,
  body.single-product form.cart .quantity.sv-qty-ready {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: 48px !important;
    min-height: 48px !important;

    display: grid !important;
    grid-template-columns: 56px 1fr 56px !important;
    align-items: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid #D9D9D9 !important;
    border-radius: 14px !important;
    background: #fff !important;

    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body.single-product form.cart .quantity button,
  body.single-product form.cart .quantity .sv-qty-btn {
    width: 56px !important;
    height: 48px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
    background: transparent !important;
    box-shadow: none !important;

    font-size: 21px !important;
    line-height: 1 !important;
    color: #1E183A !important;
  }

  body.single-product form.cart .quantity input.qty {
    width: 100% !important;
    max-width: 100% !important;

    height: 48px !important;
    min-height: 48px !important;

    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
    background: transparent !important;
    box-shadow: none !important;

    text-align: center !important;
    line-height: 48px !important;

    font-size: 16px !important;
    font-weight: 400 !important;
    color: #1E183A !important;

    transform: none !important;
    position: static !important;

    appearance: textfield !important;
    -moz-appearance: textfield !important;
  }

  body.single-product form.cart .quantity input.qty::-webkit-inner-spin-button,
  body.single-product form.cart .quantity input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
  }

  body.single-product .single_add_to_cart_button,
  body.single-product button.single_add_to_cart_button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: 50px !important;
    min-height: 50px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: none !important;
    border-radius: 999px !important;
    background: #FFB200 !important;
    box-shadow: none !important;

    font-family: Inter, sans-serif !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: #fff !important;
  }

  /* скрываем upsells */
  body.single-product .sv-cross-sells,
  body.single-product div.product .sv-cross-sells,
  body.single-product .upsells.products,
  body.single-product div.product .upsells.products,
  body.single-product section.upsells {
    display: none !important;
  }

  /* =====================================================
     ПОХОЖИЕ ТОВАРЫ
  ===================================================== */

  body.single-product div.product .related.products,
  body.single-product .related.products,
  body.single-product section.related {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 24px 0 0 !important;
    padding: 0 !important;

    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body.single-product div.product .related.products > h2,
  body.single-product .related.products > h2,
  body.single-product section.related > h2 {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 0 16px !important;
    padding: 0 !important;

    font-family: Inter, sans-serif !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    color: #1E183A !important;

    text-align: left !important;
  }

  body.single-product div.product .related.products ul.products,
  body.single-product .related.products ul.products,
  body.single-product section.related ul.products {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    justify-content: flex-start !important;
    align-items: stretch !important;

    gap: 10px !important;

width: 100% !important;
max-width: 100% !important;

margin: 0 !important;
padding: 10px 6px 28px !important;

overflow-x: auto !important;
overflow-y: hidden !important;

scroll-snap-type: x mandatory !important;
-webkit-overflow-scrolling: touch !important;

list-style: none !important;
box-sizing: border-box !important;

clear: none !important;
float: none !important;

    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;

    list-style: none !important;
    box-sizing: border-box !important;

    clear: none !important;
    float: none !important;
  }

  body.single-product div.product .related.products ul.products::before,
  body.single-product div.product .related.products ul.products::after,
  body.single-product .related.products ul.products::before,
  body.single-product .related.products ul.products::after,
  body.single-product section.related ul.products::before,
  body.single-product section.related ul.products::after {
    display: none !important;
    content: none !important;
  }

  body.single-product .related.products ul.products::-webkit-scrollbar,
  body.single-product section.related ul.products::-webkit-scrollbar {
    display: none !important;
  }

  body.single-product div.product .related.products ul.products li.product,
  body.single-product .related.products ul.products li.product,
  body.single-product section.related ul.products li.product {
    float: none !important;
    clear: none !important;

    flex: 0 0 calc((100% - 10px) / 2) !important;
    width: calc((100% - 10px) / 2) !important;
    min-width: calc((100% - 10px) / 2) !important;
    max-width: calc((100% - 10px) / 2) !important;

    height: 282px !important;
    min-height: 282px !important;

    margin: 0 !important;
    padding: 10px 10px 12px !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;

    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 18px rgba(30,24,58,0.08) !important;

    overflow: visible !important;
    box-sizing: border-box !important;

    scroll-snap-align: start !important;
  }

  /* ссылка внутри карточки */
  body.single-product .related.products ul.products li.product .woocommerce-loop-product__link,
  body.single-product section.related ul.products li.product .woocommerce-loop-product__link {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    text-decoration: none !important;
    flex: 1 1 auto !important;
  }

  /* фото */
  body.single-product .related.products ul.products li.product img,
  body.single-product section.related ul.products li.product img {
    width: 100% !important;
    height: 124px !important;

    object-fit: contain !important;
    object-position: center !important;

    margin: 0 0 10px !important;
    padding: 0 !important;

    background: #FFFFFF !important;
    border-radius: 10px !important;
    display: block !important;
  }

  /* название */
  body.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
  body.single-product section.related ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;

    margin: 0 0 8px !important;
    padding: 0 !important;

    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
    color: #1E183A !important;

    min-height: 28px !important;
    max-height: 30px !important;

    overflow: hidden !important;
  }

  /* "Подробнее" — приклеено к названию */
  body.single-product .related.products ul.products li.product .woocommerce-loop-product__link::after,
  body.single-product section.related ul.products li.product .woocommerce-loop-product__link::after {
    content: "Подробнее →" !important;
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    color: #1E183A !important;
  }

  /* кнопка */
  body.single-product .related.products ul.products li.product .button,
  body.single-product section.related ul.products li.product .button {
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;

    margin-top: auto !important;
    padding: 0 8px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: none !important;
    border-radius: 999px !important;
    background: #FFB200 !important;
    box-shadow: none !important;

    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
  }

  body.single-product .related.products ul.products li.product .button::before,
  body.single-product section.related ul.products li.product .button::before {
    content: "Добавить в заявку" !important;

    font-family: Inter, sans-serif !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: #fff !important;
    white-space: nowrap !important;
  }


  /* убираем дыру перед футером */
  body.single-product .related.products + *,
  body.single-product section.related + * {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.single-product footer,
  body.single-product .site-footer,
  body.single-product .elementor-location-footer {
    margin-top: 0 !important;
    padding-top: 12px !important;
  }
}
/* =====================================================
   ПОИСК — МОБИЛЬНАЯ ВЕРСИЯ: ШАПКА, КАРТОЧКИ, КНОПКА НАЗАД
   ЧИСТЫЙ ФИНАЛ
===================================================== */

@media (max-width: 767px) {

  /* =====================================================
     1. ОБЩАЯ СТРАНИЦА ПОИСКА
  ===================================================== */

  body.search,
  body.search-results {
    background: #FAFAFA !important;
    overflow-x: hidden !important;
  }

  body.search main,
  body.search-results main,
  body.search .site-main,
  body.search-results .site-main,
  body.search .content-area,
  body.search-results .content-area,
  body.search .site-content,
  body.search-results .site-content {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 10px 6px 40px !important;

    background: #FAFAFA !important;

    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }


  /* =====================================================
     2. КОНТЕЙНЕР МОБИЛЬНОЙ ШАПКИ
     .header-full-bg НЕ СКРЫВАЕМ — В НЁМ ЛЕЖИТ ТВОЯ ШАПКА
  ===================================================== */

  body.search .elementor-location-header,
  body.search-results .elementor-location-header,
  body.search .site-header-wrap,
  body.search-results .site-header-wrap,
  body.search .header-full-bg,
  body.search-results .header-full-bg {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;

    position: relative !important;
    z-index: 99999 !important;

    overflow: visible !important;
    box-sizing: border-box !important;
  }


  /* =====================================================
     3. ТВОЯ НАСТОЯЩАЯ МОБИЛЬНАЯ ШАПКА
  ===================================================== */

  body.search .sv-mobile-header,
  body.search-results .sv-mobile-header {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;

    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    max-width: 100% !important;

    height: 56px !important;
    min-height: 56px !important;

    margin: 0 !important;
    padding: 0 16px 0 22px !important;

    background: #ffffff !important;

    position: relative !important;
    z-index: 100000 !important;

    box-sizing: border-box !important;
    overflow: visible !important;
  }

  body.search .sv-mobile-header::before,
  body.search .sv-mobile-header::after,
  body.search-results .sv-mobile-header::before,
  body.search-results .sv-mobile-header::after {
    display: none !important;
    content: none !important;
  }

  body.search .sv-mobile-header *,
  body.search-results .sv-mobile-header * {
    box-sizing: border-box !important;
    transform: none !important;
  }


  /* =====================================================
     4. БУРГЕР
  ===================================================== */

  body.search .sv-mobile-burger,
  body.search-results .sv-mobile-burger {
    width: 30px !important;
    min-width: 30px !important;
    height: 22px !important;

    margin: 2px 12px 0 0 !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 5px !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    position: relative !important;
    top: 1px !important;

    flex-shrink: 0 !important;

    appearance: none !important;
    -webkit-appearance: none !important;
  }

  body.search .sv-mobile-burger span,
  body.search-results .sv-mobile-burger span {
    display: block !important;

    width: 30px !important;
    height: 3px !important;

    margin: 0 !important;

    background: #D93A63 !important;
    border-radius: 999px !important;
  }


  /* =====================================================
     5. ЛОГОТИП
  ===================================================== */

  body.search .sv-mobile-logo,
  body.search-results .sv-mobile-logo {
    display: flex !important;
    align-items: center !important;

    margin: 1px auto 0 0 !important;
    padding: 0 !important;

    position: relative !important;
    top: 1px !important;

    flex: 0 0 auto !important;

    text-decoration: none !important;
  }

  body.search .sv-mobile-logo img,
  body.search-results .sv-mobile-logo img {
    display: block !important;

    width: 122px !important;
    max-width: 122px !important;
    height: auto !important;
    max-height: 42px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
  }


  /* =====================================================
     6. ПРАВАЯ ЗОНА: ПОИСК + ЗАЯВКА
  ===================================================== */

  body.search .sv-mobile-actions,
  body.search-results .sv-mobile-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    gap: 6px !important;

    margin: 0 !important;
    padding: 0 !important;

    position: relative !important;
    top: 0 !important;

    flex-shrink: 0 !important;
    overflow: visible !important;
  }

  body.search .sv-mobile-search-btn,
  body.search-results .sv-mobile-search-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    appearance: none !important;
    -webkit-appearance: none !important;
  }

  body.search .sv-mobile-search-btn img,
  body.search-results .sv-mobile-search-btn img {
    display: block !important;

    width: 24px !important;
    height: 24px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
  }

  body.search .sv-mobile-request-link,
  body.search-results .sv-mobile-request-link {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    flex: 0 0 34px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    position: relative !important;

    text-decoration: none !important;
  }

  body.search .sv-mobile-request-link img,
  body.search-results .sv-mobile-request-link img {
    display: block !important;

    width: 27px !important;
    height: 27px !important;
    max-width: 27px !important;
    max-height: 27px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
  }

  body.search .sv-mobile-request-count,
  body.search-results .sv-mobile-request-count,
  body.search .sv-header-request-count,
  body.search-results .sv-header-request-count {
    position: absolute !important;
    top: -3px !important;
    right: -1px !important;

    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #D31B48 !important;
    color: #ffffff !important;
    border-radius: 50% !important;

    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
  }


  /* =====================================================
     7. СКРЫВАЕМ ЛИШНИЕ ДЕСКТОПНЫЕ КУСКИ
  ===================================================== */

  body.search .header-topbar,
  body.search-results .header-topbar,
  body.search .topbar,
  body.search-results .topbar,
  body.search .header-top,
  body.search-results .header-top,
  body.search .topbar-location,
  body.search-results .topbar-location,
  body.search .topbar-right,
  body.search-results .topbar-right,
  body.search .topbar-phone,
  body.search-results .topbar-phone,
  body.search .header-contacts,
  body.search-results .header-contacts,
  body.search .contacts-line,
  body.search-results .contacts-line,
  body.search .header-address,
  body.search-results .header-address,
  body.search .header-location,
  body.search-results .header-location,
  body.search .header-phone,
  body.search-results .header-phone,
  body.search .sv-header-info,
  body.search-results .sv-header-info,
  body.search .sv-header-contacts,
  body.search-results .sv-header-contacts {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;

    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
    pointer-events: none !important;
  }

  body.search .headerflexbox:not(:has(.sv-mobile-header)),
  body.search-results .headerflexbox:not(:has(.sv-mobile-header)) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;

    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
    pointer-events: none !important;
  }

  body.search .header-full-bg > .glog,
  body.search-results .header-full-bg > .glog,
  body.search .header-full-bg > .menu-catalog,
  body.search-results .header-full-bg > .menu-catalog,
  body.search .header-full-bg > .sv-header-search-wrap,
  body.search-results .header-full-bg > .sv-header-search-wrap,
  body.search .header-full-bg > .header-link,
  body.search-results .header-full-bg > .header-link {
    display: none !important;
  }


  /* =====================================================
     8. УБИРАЕМ ЗАГОЛОВОК SEARCH RESULTS
  ===================================================== */

  body.search .page-header,
  body.search-results .page-header,
  body.search .page-title,
  body.search-results .page-title,
  body.search h1.page-title,
  body.search-results h1.page-title,
  body.search .woocommerce-products-header,
  body.search-results .woocommerce-products-header,
  body.search .woocommerce-products-header__title,
  body.search-results .woocommerce-products-header__title {
    display: none !important;

    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
  }


  /* =====================================================
     9. КАРТОЧКИ ТОВАРОВ — 2 В РЯД, ШИРЕ
  ===================================================== */

  body.search ul.products,
  body.search-results ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 10px 0 0 !important;
    padding: 0 !important;

    list-style: none !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  body.search ul.products::before,
  body.search ul.products::after,
  body.search-results ul.products::before,
  body.search-results ul.products::after {
    display: none !important;
    content: none !important;
  }

  body.search ul.products li.product,
  body.search-results ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    height: 278px !important;
    min-height: 278px !important;

    margin: 0 !important;
    padding: 9px 9px 11px !important;

    display: flex !important;
    flex-direction: column !important;

    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 18px rgba(30,24,58,0.08) !important;

    float: none !important;
    clear: none !important;

    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body.search ul.products li.product .woocommerce-loop-product__link,
  body.search-results ul.products li.product .woocommerce-loop-product__link {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    flex: 1 1 auto !important;
    text-decoration: none !important;
  }

  body.search ul.products li.product img,
  body.search-results ul.products li.product img {
    width: 100% !important;
    height: 124px !important;

    margin: 0 0 10px !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center center !important;

    background: #FFFFFF !important;
    border-radius: 10px !important;

    display: block !important;
  }

  body.search ul.products li.product .woocommerce-loop-product__title,
  body.search-results ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;

    min-height: 28px !important;
    max-height: 30px !important;

    margin: 0 0 8px !important;
    padding: 0 !important;

    overflow: hidden !important;

    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
    color: #1E183A !important;
  }

  body.search ul.products li.product .woocommerce-loop-product__link::after,
  body.search-results ul.products li.product .woocommerce-loop-product__link::after {
    content: "Подробнее →" !important;

    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    color: #1E183A !important;
  }

  body.search ul.products li.product .button,
  body.search-results ul.products li.product .button {
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;

    margin-top: auto !important;
    padding: 0 8px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: none !important;
    border-radius: 999px !important;
    background: #FFB200 !important;
    box-shadow: none !important;

    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
  }

  body.search ul.products li.product .button::before,
  body.search-results ul.products li.product .button::before {
    content: "Добавить в заявку" !important;

    font-family: Inter, sans-serif !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
  }

/* =====================================================
   10. ПОИСК — КНОПКА НАЗАД БЕЗ ТЕКСТА "НАЗАД"
===================================================== */

  body.search main,
  body.search-results main,
  body.search .site-main,
  body.search-results .site-main,
  body.search .content-area,
  body.search-results .content-area,
  body.search .site-content,
  body.search-results .site-content {
    padding-top: 44px !important;
  }

  body.search ul.products,
  body.search-results ul.products {
    margin-top: 0 !important;
  }

  /* сам белый круг */
  body.search .sv-back-wrap,
  body.search-results .sv-back-wrap,
  body.search .sv-product-back,
  body.search-results .sv-product-back {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    position: fixed !important;
    left: 12px !important;
    top: 68px !important;

    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(30,24,58,0.12) !important;

    z-index: 999999 !important;
    overflow: hidden !important;

    pointer-events: auto !important;
    cursor: pointer !important;
  }

  /* ссылка внутри круга остаётся кликабельной, но весь текст прячем */
  body.search .sv-back-wrap a,
  body.search-results .sv-back-wrap a,
  body.search .sv-product-back a,
  body.search-results .sv-product-back a,
  body.search .sv-back-button,
  body.search-results .sv-back-button,
  body.search .sv-back-link,
  body.search-results .sv-back-link {
    position: absolute !important;
    inset: 0 !important;

    display: block !important;
    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    text-indent: -9999px !important;
    text-decoration: none !important;
    white-space: nowrap !important;

    overflow: hidden !important;

    z-index: 20 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  /* прячем ВСЁ, что внутри ссылки: текст, старые иконки, старые стрелки */
  body.search .sv-back-wrap a *,
  body.search-results .sv-back-wrap a *,
  body.search .sv-product-back a *,
  body.search-results .sv-product-back a *,
  body.search .sv-back-button *,
  body.search-results .sv-back-button *,
  body.search .sv-back-link *,
  body.search-results .sv-back-link * {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;

    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
  }

  body.search .sv-back-wrap a::before,
  body.search .sv-back-wrap a::after,
  body.search-results .sv-back-wrap a::before,
  body.search-results .sv-back-wrap a::after,
  body.search .sv-product-back a::before,
  body.search .sv-product-back a::after,
  body.search-results .sv-product-back a::before,
  body.search-results .sv-product-back a::after,
  body.search .sv-back-button::before,
  body.search .sv-back-button::after,
  body.search-results .sv-back-button::before,
  body.search-results .sv-back-button::after,
  body.search .sv-back-link::before,
  body.search .sv-back-link::after,
  body.search-results .sv-back-link::before,
  body.search-results .sv-back-link::after {
    display: none !important;
    content: none !important;
  }

  /* рисуем одну красивую стрелку на самом круге */
  body.search .sv-back-wrap::before,
  body.search-results .sv-back-wrap::before,
  body.search .sv-product-back::before,
  body.search-results .sv-product-back::before {
    content: "" !important;

    position: absolute !important;
    left: 15px !important;
    top: 14px !important;

    width: 10px !important;
    height: 10px !important;

    border-left: 2px solid #1E183A !important;
    border-bottom: 2px solid #1E183A !important;

    transform: rotate(45deg) !important;

    z-index: 10 !important;
    pointer-events: none !important;
  }

  body.search .sv-back-wrap::after,
  body.search-results .sv-back-wrap::after,
  body.search .sv-product-back::after,
  body.search-results .sv-product-back::after {
    display: none !important;
    content: none !important;
  }
/* =====================================================
   ПОИСК — КНОПКА НАЗАД НА СТРАНИЦЕ "НИЧЕГО НЕ НАЙДЕНО"
===================================================== */

@media (max-width: 767px) {

  /* чуть опускаем контент, чтобы было место под кнопку */
  body.search-no-results main,
  body.search-no-results .site-main,
  body.search-no-results .content-area,
  body.search-no-results .site-content {
    padding-top: 44px !important;
  }

  /* белый круг кнопки назад */
  body.search-no-results .search-back-link,
  body.search-no-results a[href="javascript:history.back()"],
  body.search-no-results a[onclick*="history.back"],
  body.search-no-results button[onclick*="history.back"],
  body.search-no-results .sv-back-wrap,
  body.search-no-results .sv-product-back {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    position: fixed !important;
    left: 12px !important;
    top: 68px !important;

    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(30,24,58,0.12) !important;

    z-index: 999999 !important;
    overflow: hidden !important;

    text-decoration: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;

    pointer-events: auto !important;
    cursor: pointer !important;
  }

  /* внутренняя ссылка кликабельная, но без текста */
  body.search-no-results .sv-back-wrap a,
  body.search-no-results .sv-product-back a,
  body.search-no-results .sv-back-button,
  body.search-no-results .sv-back-link {
    position: absolute !important;
    inset: 0 !important;

    display: block !important;
    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    text-indent: -9999px !important;
    text-decoration: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;

    overflow: hidden !important;
    z-index: 20 !important;
    pointer-events: auto !important;
  }

  /* прячем старые стрелки/текст внутри */
  body.search-no-results .sv-back-wrap a *,
  body.search-no-results .sv-product-back a *,
  body.search-no-results .sv-back-button *,
  body.search-no-results .sv-back-link * {
    display: none !important;
  }

  body.search-no-results .sv-back-wrap a::before,
  body.search-no-results .sv-back-wrap a::after,
  body.search-no-results .sv-product-back a::before,
  body.search-no-results .sv-product-back a::after,
  body.search-no-results .sv-back-button::before,
  body.search-no-results .sv-back-button::after,
  body.search-no-results .sv-back-link::before,
  body.search-no-results .sv-back-link::after {
    display: none !important;
    content: none !important;
  }

  /* рисуем одну стрелку */
  body.search-no-results .sv-back-wrap::before,
  body.search-no-results .sv-product-back::before,
  body.search-no-results .search-back-link::before,
  body.search-no-results a[href="javascript:history.back()"]::before,
  body.search-no-results a[onclick*="history.back"]::before,
  body.search-no-results button[onclick*="history.back"]::before {
    content: "" !important;
    position: absolute !important;

    left: 15px !important; /* стрелка левее/правее */
    top: 14px !important;  /* стрелка выше/ниже */

    width: 10px !important;
    height: 10px !important;

    border-left: 2px solid #1E183A !important;
    border-bottom: 2px solid #1E183A !important;

    transform: rotate(45deg) !important;

    z-index: 30 !important;
    pointer-events: none !important;
  }

  body.search-no-results .sv-back-wrap::after,
  body.search-no-results .sv-product-back::after,
  body.search-no-results .search-back-link::after {
    display: none !important;
    content: none !important;
  }
}
/* =====================================================
   ПОИСК — КНОПКА НАЗАД ДЛЯ ВСЕХ СТРАНИЦ ПОИСКА
===================================================== */

@media (max-width: 767px) {

  body.search .sv-search-back-button-wrap,
  body.search-results .sv-search-back-button-wrap,
  body.search-no-results .sv-search-back-button-wrap {
    position: fixed !important;

    left: 12px !important;  /* круг левее/правее */
    top: 68px !important;   /* круг выше/ниже */

    width: 40px !important;
    height: 40px !important;

    margin: 0 !important;
    padding: 0 !important;

    z-index: 999999 !important;
  }

  body.search .sv-search-back-button,
  body.search-results .sv-search-back-button,
  body.search-no-results .sv-search-back-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(30,24,58,0.12) !important;

    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    text-decoration: none !important;

    overflow: hidden !important;
    position: relative !important;

    pointer-events: auto !important;
    cursor: pointer !important;
  }

  body.search .sv-search-back-button::before,
  body.search-results .sv-search-back-button::before,
  body.search-no-results .sv-search-back-button::before {
    content: "" !important;

    position: absolute !important;

    left: 15px !important; /* стрелка левее/правее внутри круга */
    top: 14px !important;  /* стрелка выше/ниже внутри круга */

    width: 10px !important;
    height: 10px !important;

    border-left: 2px solid #1E183A !important;
    border-bottom: 2px solid #1E183A !important;

    transform: rotate(45deg) !important;

    pointer-events: none !important;
  }

  body.search main,
  body.search-results main,
  body.search-no-results main,
  body.search .site-main,
  body.search-results .site-main,
  body.search-no-results .site-main,
  body.search .content-area,
  body.search-results .content-area,
  body.search-no-results .content-area,
  body.search .site-content,
  body.search-results .site-content,
  body.search-no-results .site-content {
    padding-top: 44px !important;
  }
}
/* =====================================================
   ПОИСК — УБРАТЬ СТАРЫЕ КНОПКИ НАЗАД, ЕСЛИ ОНИ ЕСТЬ
===================================================== */

@media (max-width: 767px) {

  body.search .sv-back-wrap,
  body.search-results .sv-back-wrap,
  body.search-no-results .sv-back-wrap,
  body.search .sv-product-back,
  body.search-results .sv-product-back,
  body.search-no-results .sv-product-back,
  body.search .search-back-link:not(.sv-search-back-button),
  body.search-results .search-back-link:not(.sv-search-back-button),
  body.search-no-results .search-back-link:not(.sv-search-back-button) {
    display: none !important;
  }
}
/* =====================================================
   МОИ ЗАЯВКИ — ИТОГОВЫЙ МОБИЛЬНЫЙ ФИКС
   контейнер Elementor: sv-requests-screen
===================================================== */

@media (max-width: 767px) {

  .sv-requests-screen,
  .sv-requests-screen *,
  html body .sv-requests-page,
  html body .sv-requests-page * {
    box-sizing: border-box !important;
  }

  .sv-requests-screen,
  .sv-requests-screen .elementor-widget-container,
  .sv-requests-screen .elementor-shortcode,
  html body .sv-requests-page {
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  html body .sv-requests-page {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  html body .sv-requests-title {
    font-size: 22px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    margin: 0 0 20px !important;
  }

  html body .sv-requests-page .sv-requests-layout,
  html body .sv-requests-page .sv-requests-left,
  html body .sv-requests-page .sv-request-block,
  html body .sv-requests-page .sv-request-items {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  html body .sv-requests-page .sv-requests-layout {
    display: block !important;
    grid-template-columns: none !important;
  }

  /* большой белый блок заявки */
  html body .sv-requests-page .sv-requests-left {
    padding: 18px 10px 20px !important;
    border-radius: 22px !important;
  }

  html body .sv-requests-page .sv-request-block {
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* заголовок "Заявка №1" */
  html body .sv-requests-page .sv-request-head,
  html body .sv-requests-page .sv-request-selector {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;

    width: calc(100% - 4px) !important;
    max-width: calc(100% - 4px) !important;

    margin: 0 0 14px -2px !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  html body .sv-requests-page .sv-request-dot {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    flex: 0 0 15px !important;
  }

  html body .sv-requests-page .sv-request-name {
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
  }

  html body .sv-requests-page .sv-request-block.active .sv-request-items {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  html body .sv-requests-page .sv-request-items {
    width: calc(100% - 4px) !important;
    max-width: calc(100% - 4px) !important;

    margin-left: -2px !important;
    padding: 0 !important;
  }

  /* карточка товара */
  html body .sv-requests-page .sv-request-items > .sv-request-item,
  html body .sv-requests-page .sv-request-items > .sv-request-item-sent {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;

    column-gap: 12px !important;
    row-gap: 7px !important;
    align-items: center !important;

    min-height: 104px !important;
    height: auto !important;

    margin: 0 !important;
    padding: 11px 32px 11px 11px !important;

    position: relative !important;
    overflow: hidden !important;
  }

  html body .sv-requests-page .sv-request-img {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;

    width: 88px !important;
    height: 70px !important;
    min-width: 88px !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  html body .sv-requests-page .sv-request-img img {
    width: 100% !important;
    height: 100% !important;

    display: block !important;
    object-fit: contain !important;
    object-position: center !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  html body .sv-requests-page .sv-request-product-name {
    grid-column: 2 !important;
    grid-row: 1 !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 12px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;

    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  html body .sv-requests-page .sv-request-qty {
    grid-column: 2 !important;
    grid-row: 2 !important;

    width: auto !important;
    min-width: 0 !important;

    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 4px !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  html body .sv-requests-page .sv-qty-btn,
  html body .sv-requests-page .sv-qty-number {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;

    font-size: 12px !important;
    font-weight: 500 !important;
  }

  html body .sv-requests-page .sv-request-remove {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;

    transform: translateY(-50%) !important;

    width: 22px !important;
    height: 22px !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  html body .sv-requests-page .sv-request-remove a,
  html body .sv-requests-page .sv-delete-sent-request {
    width: 22px !important;
    height: 22px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 300 !important;

    text-decoration: none !important;
  }

  /* блок Итого */
  html body .sv-requests-page .sv-requests-summary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 18px 0 0 !important;
  }

  html body .sv-requests-page .sv-requests-summary h2 {
    font-size: 18px !important;
    font-weight: 700 !important;
  }

  html body .sv-requests-page .sv-summary-title {
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  html body .sv-requests-page .sv-summary-count {
    font-size: 14px !important;
  }

  html body .sv-requests-page .sv-open-request-popup {
    width: 100% !important;
    max-width: 250px !important;
  }
}
/* =====================================================
   МОИ ЗАЯВКИ — СТРЕЛКА НАЗАД ЧЕРЕЗ ДОП. CSS
===================================================== */

@media (max-width: 1024px) {

  /* скрываем старую кнопку [sv_back_button], которая лезет в шапку */
  body .sv-requests-screen .sv-back-wrap,
  body .sv-requests-screen .sv-back-button,
  body .sv-requests-screen .sv-back-link,
  body .sv-requests-screen .sv-mobile-back-wrap {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* двигаем нормальную белую стрелку */
  body .sv-global-mobile-back {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    position: fixed !important;

    left: 34px !important;   /* меньше = левее, больше = правее */
    top: 0px !important;   /* меньше = выше, больше = ниже */

    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;

    z-index: 999999 !important;
    pointer-events: none !important;
  }

  body .sv-global-mobile-back-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 22px rgba(30,24,58,0.12) !important;

    pointer-events: auto !important;
  }

  body .sv-global-mobile-back-arrow {
    display: block !important;

    width: 12px !important;
    height: 12px !important;

    border-left: 3px solid #1E183A !important;
    border-bottom: 3px solid #1E183A !important;

    transform: rotate(45deg) !important;

    position: relative !important;
    left: 2px !important;
    top: 0 !important;

    pointer-events: none !important;
  }
}
/* =====================================================
   КАТЕГОРИИ — ИСПРАВИТЬ МОБИЛЬНУЮ СТРЕЛКУ НАЗАД
   Не трогает страницу "Мои заявки"
===================================================== */

@media (max-width: 1024px) {

  body.tax-product_cat .sv-global-mobile-back,
  body.post-type-archive-product .sv-global-mobile-back,
  body:not(:has(.sv-requests-page)) .sv-global-mobile-back {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    position: fixed !important;

    left: 16px !important;   /* левее/правее */
    top: 112px !important;   /* выше/ниже */

    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;

    margin: 0 !important;
    padding: 0 !important;

    z-index: 9999999 !important;
    pointer-events: none !important;
  }

  body.tax-product_cat .sv-global-mobile-back-btn,
  body.post-type-archive-product .sv-global-mobile-back-btn,
  body:not(:has(.sv-requests-page)) .sv-global-mobile-back-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 22px rgba(30,24,58,0.12) !important;

    pointer-events: auto !important;
  }

  body.tax-product_cat .sv-global-mobile-back-arrow,
  body.post-type-archive-product .sv-global-mobile-back-arrow,
  body:not(:has(.sv-requests-page)) .sv-global-mobile-back-arrow {
    display: block !important;

    width: 10px !important;
    height: 10px !important;

    border-left: 2.5px solid #1E183A !important;
    border-bottom: 2.5px solid #1E183A !important;

    transform: rotate(45deg) !important;

    position: relative !important;
    left: 2px !important;
    top: 0 !important;

    pointer-events: none !important;
  }
}
/* =====================================================
   МОИ ЗАЯВКИ — УБРАТЬ БОЛЬШУЮ ВЕРХНЮЮ СТРЕЛКУ
   оставить маленькую стрелку страницы
===================================================== */

@media (max-width: 1024px) {

  body:has(.sv-requests-page) .sv-global-mobile-back,
  body:has(.sv-requests-page) .sv-global-mobile-back-btn,
  body:has(.sv-requests-page) .sv-global-mobile-back-arrow {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}
/* =====================================================
   МОИ ЗАЯВКИ — НОРМАЛЬНЫЙ ВИД: КАК НА ПК, НО ДЛЯ МОБИЛКИ
===================================================== */

@media (max-width: 1024px) {

  html,
  body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .sv-requests-screen,
  .sv-requests-screen *,
  .sv-requests-page,
  .sv-requests-page * {
    box-sizing: border-box !important;
  }

  .sv-requests-page {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 32px 14px 40px !important;

    overflow-x: hidden !important;
  }

  .sv-requests-title {
    margin: 0 0 22px !important;
    padding: 0 !important;

    font-size: 18px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
  }

  .sv-requests-layout {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  .sv-requests-left {
    width: 100% !important;
    max-width: 100% !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;

    margin: 0 0 18px !important;
    padding: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;

    overflow: visible !important;
  }

  /* Каждая заявка — отдельная большая карточка */
  .sv-request-block,
  .sv-request-block.active {
    width: 100% !important;
    max-width: 100% !important;

    display: block !important;

    margin: 0 !important;
    padding: 22px 18px 24px !important;

    background: #ffffff !important;
    border-radius: 28px !important;
    box-shadow: 0 8px 24px rgba(30,24,58,0.06) !important;

    overflow: visible !important;

    transform: none !important;
    left: auto !important;
    right: auto !important;
  }

  /* Закрытая заявка — просто невысокая плашка */
  .sv-request-block:not(.active) {
    min-height: 74px !important;

    display: flex !important;
    align-items: center !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .sv-request-block:not(.active) > .sv-request-items {
    display: none !important;
  }

  /* Шапка заявки */
  .sv-request-head,
  .sv-request-selector,
  .sv-sent-request-row {
    width: 100% !important;
    max-width: 100% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    transform: none !important;
  }

  .sv-request-block.active > .sv-request-head,
  .sv-request-block.active > .sv-request-selector,
  .sv-request-block.active > .sv-sent-request-row {
    margin-bottom: 18px !important;
  }

  .sv-request-dot {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    flex: 0 0 18px !important;
  }

  .sv-request-name {
    font-size: 17px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  .sv-request-status {
    margin-left: 8px !important;

    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;

    color: rgba(30,24,58,0.48) !important;
    white-space: nowrap !important;
  }

  .sv-sent-request-row .sv-delete-sent-request {
    margin-left: auto !important;

    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: 300 !important;

    color: #1E183A !important;
    text-decoration: none !important;
  }

  /* Товары внутри заявки */
  .sv-request-items,
  .sv-sent-request-body {
    width: 100% !important;
    max-width: 100% !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
  }

  .sv-request-block.active > .sv-request-items {
    display: flex !important;
  }

  /* Карточка товара */
  .sv-request-item,
  .sv-request-item-sent,
  .sv-sent-request-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) 28px !important;
    grid-template-rows: auto auto !important;

    column-gap: 14px !important;
    row-gap: 8px !important;
    align-items: center !important;

    min-height: 112px !important;
    height: auto !important;

    margin: 0 !important;
    padding: 12px !important;

    position: relative !important;

    background: #ffffff !important;
    border: 1px solid rgba(30,24,58,0.10) !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 14px rgba(30,24,58,0.05) !important;

    overflow: hidden !important;
  }

  .sv-request-img,
  .sv-sent-request-img {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;

    width: 96px !important;
    min-width: 96px !important;
    height: 82px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #FFFFFF !important;
    border-radius: 12px !important;

    overflow: hidden !important;
  }

  .sv-request-img img,
  .sv-sent-request-img img {
    width: 100% !important;
    height: 100% !important;

    display: block !important;
    object-fit: contain !important;
    object-position: center !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  .sv-request-product-name,
  .sv-sent-request-title {
    grid-column: 2 !important;
    grid-row: 1 !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 12px !important;
    line-height: 1.18 !important;
    font-weight: 600 !important;

    white-space: normal !important;
    overflow: hidden !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .sv-request-qty {
    grid-column: 2 !important;
    grid-row: 2 !important;

    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;

    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  .sv-qty-btn,
  .sv-qty-number {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;

    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;

    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid rgba(30,24,58,0.18) !important;
    background: #ffffff !important;

    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 500 !important;

    color: #1E183A !important;
  }

  .sv-request-sent-qty {
    grid-column: 2 !important;
    grid-row: 2 !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;

    color: #1E183A !important;
  }

  .sv-request-remove {
    grid-column: 3 !important;
    grid-row: 1 / 3 !important;

    position: static !important;
    transform: none !important;

    width: 28px !important;
    height: 28px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  .sv-request-remove a {
    width: 28px !important;
    height: 28px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 300 !important;

    color: #1E183A !important;
    text-decoration: none !important;
  }

  /* Пустая заявка */
  .sv-empty-request,
  .sv-empty-request-big {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 22px 18px !important;

    border: 1px solid rgba(30,24,58,0.12) !important;
    border-radius: 22px !important;

    background: #ffffff !important;
    box-shadow: none !important;

    overflow: hidden !important;
  }

  .sv-empty-title {
    font-size: 15px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
  }

  .sv-empty-text {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  .sv-empty-btn {
    max-width: 100% !important;
  }

  /* Итого */
  .sv-requests-summary {
    width: 100% !important;
    max-width: 100% !important;

    margin: 18px 0 0 !important;
    padding: 24px 18px 26px !important;

    border-radius: 24px !important;
    overflow: hidden !important;
  }

  .sv-requests-summary h2 {
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
  }

  .sv-summary-title {
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  .sv-summary-count {
    font-size: 14px !important;
  }

  .sv-open-request-popup {
    width: 100% !important;
    max-width: 250px !important;
    height: 42px !important;

    font-size: 13px !important;
    font-weight: 700 !important;
  }
}
/* =====================================================
   ГЛАВНАЯ — МОБИЛЬНЫЙ КАТАЛОГ: ВЫСОТА КАРТОЧЕК И КАРТИНОК
   Блок: #catalog
   Сетка: .sv-catalog-mobile
===================================================== */

@media (max-width: 767px) {

  :root {
    --sv-catalog-card-height: 120px; /* высота белой карточки */
    --sv-catalog-img-size: 64px;     /* размер картинки */
    --sv-catalog-img-down: 0px;      /* больше = картинка ниже */
    --sv-catalog-text-down: 0px;     /* больше = текст ниже */
  }

  /* сама карточка категории */
  #catalog .sv-catalog-mobile > .e-con-inner > .e-con {
    height: var(--sv-catalog-card-height) !important;
    min-height: var(--sv-catalog-card-height) !important;
    max-height: var(--sv-catalog-card-height) !important;

    padding: 8px 5px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 10px rgba(30, 24, 58, 0.10) !important;

    overflow: hidden !important;
  }

  /* внутренность карточки */
  #catalog .sv-catalog-mobile > .e-con-inner > .e-con > .e-con-inner {
    height: 100% !important;
    min-height: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;
  }

  /* картинка внутри карточки */
  #catalog .sv-catalog-mobile img {
    width: var(--sv-catalog-img-size) !important;
    height: var(--sv-catalog-img-size) !important;
    max-width: var(--sv-catalog-img-size) !important;
    max-height: var(--sv-catalog-img-size) !important;

    object-fit: contain !important;
    display: block !important;

    margin: 0 auto 8px !important;
    transform: translateY(var(--sv-catalog-img-down)) !important;
  }

  /* текст категории */
  #catalog .sv-catalog-mobile .elementor-heading-title,
  #catalog .sv-catalog-mobile h1,
  #catalog .sv-catalog-mobile h2,
  #catalog .sv-catalog-mobile h3,
  #catalog .sv-catalog-mobile h4,
  #catalog .sv-catalog-mobile p,
  #catalog .sv-catalog-mobile span,
  #catalog .sv-catalog-mobile a {
    font-size: 12px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    text-align: center !important;
    color: #1E183A !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: translateY(var(--sv-catalog-text-down)) !important;
  }
}
/* Главная — удлинить карточки категорий на мобильной */
@media (max-width: 767px) {

  :root {
    --sv-catalog-card-height: 160px; /* больше = карточка выше */
    --sv-catalog-img-size: 70px;     /* размер картинки */
    --sv-catalog-img-down: 16px;      /* картинка ниже/выше */
    --sv-catalog-text-down: 0px;     /* текст ниже/выше */
  }

  #catalog .sv-catalog-mobile > .e-con-inner > .e-con {
    height: var(--sv-catalog-card-height) !important;
    min-height: var(--sv-catalog-card-height) !important;
    max-height: var(--sv-catalog-card-height) !important;
  }
}
@media (max-width: 767px) {
  html body.single-product div.product {
    gap: 0 !important;
    row-gap: 0 !important;
  }

  html body.single-product div.product div.images,
  html body.single-product .woocommerce-product-gallery {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  html body.single-product .woocommerce-product-gallery .flex-viewport,
  html body.single-product .woocommerce-product-gallery__wrapper,
  html body.single-product .woocommerce-product-gallery__image,
  html body.single-product .woocommerce-product-gallery__image a,
  html body.single-product .woocommerce-product-gallery__image img {
    height: 330px !important;
    min-height: 330px !important;
    max-height: 330px !important;
  }

  html body.single-product .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper {
    height: 330px !important;
    min-height: 330px !important;
    max-height: 330px !important;
  }

  html body.single-product .flex-control-thumbs {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
  }
}
/* =====================================================
   СТРАНИЦА ТОВАРА — СЧЕТЧИК СЛЕВА, КНОПКА СПРАВА
   перебивает старый код .sv-qty-ready
===================================================== */

@media (max-width: 767px) {

  body.single-product div.product .summary form.cart,
  body.single-product .summary form.cart,
  body.single-product form.cart {
    display: grid !important;
    grid-template-columns: 122px minmax(0, 1fr) !important;
    gap: 10px !important;

    align-items: center !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 18px 0 0 0 !important;
    padding: 0 !important;

    transform: none !important;
  }

  body.single-product form.cart .quantity,
  body.single-product form.cart .quantity.sv-qty-ready {
    grid-column: 1 !important;
    grid-row: 1 !important;

    width: 122px !important;
    min-width: 122px !important;
    max-width: 122px !important;
    flex: 0 0 122px !important;

    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;

    display: grid !important;
    grid-template-columns: 32px 1fr 32px !important;
    align-items: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid rgba(30,24,58,0.20) !important;
    border-radius: 18px !important;
    background: #ffffff !important;

    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body.single-product form.cart .quantity.sv-qty-ready .sv-qty-btn,
  body.single-product form.cart .quantity .sv-qty-btn,
  body.single-product form.cart .quantity button,
  body.single-product form.cart .quantity .minus,
  body.single-product form.cart .quantity .plus {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;

    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: none !important;
    background: transparent !important;
    box-shadow: none !important;

    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    color: #1E183A !important;
  }

  body.single-product form.cart .quantity.sv-qty-ready input.qty,
  body.single-product form.cart .quantity input.qty,
  body.single-product form.cart .quantity input {
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;

    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
    background: transparent !important;
    box-shadow: none !important;

    text-align: center !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 400 !important;

    color: #1E183A !important;
    -webkit-text-fill-color: #1E183A !important;

    appearance: textfield !important;
    -moz-appearance: textfield !important;
  }

  body.single-product form.cart .quantity input::-webkit-outer-spin-button,
  body.single-product form.cart .quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
  }

  body.single-product .single_add_to_cart_button,
  body.single-product form.cart .single_add_to_cart_button,
  body.single-product form.cart button[name="add-to-cart"] {
    grid-column: 2 !important;
    grid-row: 1 !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;

    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;

    margin: 0 !important;
    padding: 0 12px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 999px !important;

    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 700 !important;

    white-space: nowrap !important;
    box-sizing: border-box !important;
  }
}
/* =====================================================
   СТРАНИЦА ТОВАРА — МОБИЛЬНАЯ ГАЛЕРЕЯ ФИНАЛ
===================================================== */

@media (max-width: 767px) {

  body.single-product div.product div.images,
  body.single-product .woocommerce-product-gallery {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body.single-product .woocommerce-product-gallery .flex-viewport {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    max-height: none !important;
    background: #FFFFFF !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  body.single-product .woocommerce-product-gallery__wrapper {
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    display: block !important;
  }

  body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
    display: none !important;
    width: 100% !important;
    height: 100% !important;
    background: #FFFFFF !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image.flex-active-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.single-product .woocommerce-product-gallery__wrapper:not(:has(.flex-active-slide)) .woocommerce-product-gallery__image:first-child {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.single-product .woocommerce-product-gallery__image a {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #FFFFFF !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  body.single-product .woocommerce-product-gallery__image img:not(.zoomImg),
  body.single-product .woocommerce-product-gallery img.wp-post-image:not(.zoomImg) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: center center !important;

    margin: 0 auto !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 18px !important;

    transform: none !important;
  }

  body.single-product .woocommerce-product-gallery .zoomImg,
  body.single-product div.product div.images .zoomImg {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.single-product .flex-control-thumbs {
    display: flex !important;
    gap: 12px !important;
    margin: 12px 0 18px !important;
    padding: 0 !important;
    list-style: none !important;
    overflow: visible !important;
  }

  body.single-product .flex-control-thumbs li {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: #FFFFFF !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    outline: none !important;
    overflow: hidden !important;
  }

  body.single-product .flex-control-thumbs img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    padding: 5px !important;
    margin: 0 !important;
    background: #FFFFFF !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}
/* =====================================================
   СТРАНИЦА ТОВАРА — ПОХОЖИЕ ТОВАРЫ
   "Подробнее" приклеен к названию, кнопка внизу
===================================================== */

@media (max-width: 767px) {

  body.single-product .related.products ul.products li.product,
  body.single-product section.related ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    height: 330px !important;
    min-height: 330px !important;
    max-height: 330px !important;
  }

  body.single-product .related.products ul.products li.product .woocommerce-loop-product__link,
  body.single-product section.related ul.products li.product .woocommerce-loop-product__link {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    flex: 1 1 auto !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    text-decoration: none !important;
  }

  body.single-product .related.products ul.products li.product img,
  body.single-product section.related ul.products li.product img {
    width: 100% !important;
    height: 124px !important;

    object-fit: contain !important;
    object-position: center !important;

    margin: 0 0 10px !important;
    padding: 0 !important;

    background: #FFFFFF !important;
    border-radius: 10px !important;

    display: block !important;
  }

  body.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
  body.single-product section.related ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;

    margin: 0 0 8px !important;
    padding: 0 !important;

    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
    color: #1E183A !important;

    min-height: 28px !important;
    max-height: 30px !important;

    overflow: hidden !important;
  }

  body.single-product .related.products ul.products li.product .woocommerce-loop-product__link::after,
  body.single-product section.related ul.products li.product .woocommerce-loop-product__link::after {
    content: "Подробнее →" !important;

    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    color: #1E183A !important;

    text-decoration: none !important;
  }

  body.single-product .related.products ul.products li.product .button,
  body.single-product section.related ul.products li.product .button,
  body.single-product .related.products ul.products li.product .add_to_cart_button,
  body.single-product section.related ul.products li.product .add_to_cart_button {
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;

    margin-top: auto !important;
    margin-bottom: 0 !important;

    padding: 0 8px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: none !important;
    border-radius: 999px !important;
    background: #FFB200 !important;
    box-shadow: none !important;

    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
  }

  body.single-product .related.products ul.products li.product .button::before,
  body.single-product section.related ul.products li.product .button::before,
  body.single-product .related.products ul.products li.product .add_to_cart_button::before,
  body.single-product section.related ul.products li.product .add_to_cart_button::before {
    content: "Добавить в заявку" !important;

    font-family: Inter, sans-serif !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    color: #ffffff !important;

    white-space: nowrap !important;
  }
}
/* =====================================================
   СТРАНИЦА ТОВАРА — ПОХОЖИЕ ТОВАРЫ
   "Подробнее" сразу под названием товара
===================================================== */

@media (max-width: 767px) {

  body.single-product .related.products ul.products li.product .woocommerce-loop-product__link,
  body.single-product section.related ul.products li.product .woocommerce-loop-product__link,
  body.single-product div.product .related.products ul.products li.product .woocommerce-loop-product__link {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  body.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
  body.single-product section.related ul.products li.product .woocommerce-loop-product__title,
  body.single-product div.product .related.products ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 0 8px !important;
    padding: 0 !important;

    overflow: hidden !important;

    font-size: 12px !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
    color: #1E183A !important;
  }

  body.single-product .related.products ul.products li.product .woocommerce-loop-product__link::after,
  body.single-product section.related ul.products li.product .woocommerce-loop-product__link::after,
  body.single-product div.product .related.products ul.products li.product .woocommerce-loop-product__link::after {
    content: "Подробнее →" !important;

    display: block !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    color: #1E183A !important;
  }

  body.single-product .related.products ul.products li.product .button,
  body.single-product section.related ul.products li.product .button,
  body.single-product div.product .related.products ul.products li.product .button {
    margin-top: auto !important;
  }
}
/* =====================================================
   СТРАНИЦЫ КАТЕГОРИЙ — мобильная стрелка назад меньше
   и счетчик в карточке товара тоньше
===================================================== */

@media (max-width: 767px) {

  /* белый круг стрелки назад на страницах категорий */
  body.archive.tax-product_cat .sv-global-mobile-back,
  body.archive.tax-product_cat .sv-global-mobile-back-btn,
  body.tax-product_cat .sv-global-mobile-back,
  body.tax-product_cat .sv-global-mobile-back-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  body.archive.tax-product_cat .sv-global-mobile-back,
  body.tax-product_cat .sv-global-mobile-back {
    left: 34px !important;
    top: 116px !important;
  }

  body.archive.tax-product_cat .sv-global-mobile-back-arrow,
  body.tax-product_cat .sv-global-mobile-back-arrow {
    width: 10px !important;
    height: 10px !important;
    border-left-width: 2.5px !important;
    border-bottom-width: 2.5px !important;
  }

  /* счетчик после "Добавить в заявку" в карточках товаров */
  body.archive.tax-product_cat ul.products li.product .sv-card-qty-control,
  body.tax-product_cat ul.products li.product .sv-card-qty-control {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;

    border-width: 1px !important;
    border-radius: 999px !important;

    grid-template-columns: 42px 1fr 42px !important;
  }

  body.archive.tax-product_cat ul.products li.product .sv-card-qty-control button,
  body.tax-product_cat ul.products li.product .sv-card-qty-control button {
    width: 42px !important;
    height: 34px !important;
    min-height: 34px !important;

    font-size: 16px !important;
    font-weight: 400 !important;
  }

  body.archive.tax-product_cat ul.products li.product .sv-card-qty-number,
  body.tax-product_cat ul.products li.product .sv-card-qty-number {
    font-size: 13px !important;
    font-weight: 400 !important;
  }
}
/* =====================================================
   СТРАНИЦЫ КАТЕГОРИЙ — УМЕНЬШИТЬ МОБИЛЬНУЮ СТРЕЛКУ НАЗАД
   контейнер: .sv-mobile-back-wrap
===================================================== */

@media (max-width: 767px) {

  body .sv-mobile-back-wrap {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;

    margin: 0 !important;
    padding: 0 !important;

    position: relative !important;
    z-index: 9999 !important;
  }

  body .sv-mobile-back-wrap .sv-back-button,
  body .sv-mobile-back-wrap .sv-back-link,
  body .sv-mobile-back-wrap a,
  body .sv-mobile-back-wrap button {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(30,24,58,0.14) !important;

    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;

    text-decoration: none !important;
    overflow: hidden !important;
  }

  body .sv-mobile-back-wrap .sv-back-arrow,
  body .sv-mobile-back-wrap .sv-back-button::before,
  body .sv-mobile-back-wrap .sv-back-link::before {
    width: 9px !important;
    height: 9px !important;

    border-left: 2px solid #1E183A !important;
    border-bottom: 2px solid #1E183A !important;

    transform: translate(2px, 0) rotate(45deg) !important;
  }
}
/* =====================================================
   СТРАНИЦЫ КАТЕГОРИЙ — СЧЁТЧИК В КАРТОЧКЕ ТОВАРА ТОНЬШЕ
   контейнер товаров: .cat-products / .sv-cat-products-mobile
===================================================== */

@media (max-width: 767px) {

  body .cat-products ul.products li.product .sv-card-qty-control,
  body .sv-cat-products-mobile ul.products li.product .sv-card-qty-control {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;

    grid-template-columns: 42px 1fr 42px !important;

    border-width: 1px !important;
    border-radius: 999px !important;
  }

  body .cat-products ul.products li.product .sv-card-qty-control button,
  body .sv-cat-products-mobile ul.products li.product .sv-card-qty-control button {
    width: 42px !important;
    height: 34px !important;
    min-height: 34px !important;

    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
  }

  body .cat-products ul.products li.product .sv-card-qty-number,
  body .sv-cat-products-mobile ul.products li.product .sv-card-qty-number {
    font-size: 13px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
  }
}
/* =====================================================
   СТРАНИЦЫ КАТЕГОРИЙ — ФИНАЛЬНАЯ СТРЕЛКА НАЗАД
   перебивает старые 46px
===================================================== */

@media (max-width: 767px) {

  body.tax-product_cat .sv-global-mobile-back,
  body.post-type-archive-product .sv-global-mobile-back,
  body:has(.cat-products) .sv-global-mobile-back,
  body:has(.sv-cat-products-mobile) .sv-global-mobile-back {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    position: fixed !important;

    left: 16px !important;
    top: 116px !important;

    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;

    margin: 0 !important;
    padding: 0 !important;

    z-index: 99999999 !important;
    pointer-events: none !important;
  }

  body.tax-product_cat .sv-global-mobile-back-btn,
  body.post-type-archive-product .sv-global-mobile-back-btn,
  body:has(.cat-products) .sv-global-mobile-back-btn,
  body:has(.sv-cat-products-mobile) .sv-global-mobile-back-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(30,24,58,0.14) !important;

    font-size: 0 !important;
    line-height: 0 !important;

    pointer-events: auto !important;
    cursor: pointer !important;
  }

  body.tax-product_cat .sv-global-mobile-back-arrow,
  body.post-type-archive-product .sv-global-mobile-back-arrow,
  body:has(.cat-products) .sv-global-mobile-back-arrow,
  body:has(.sv-cat-products-mobile) .sv-global-mobile-back-arrow {
    display: block !important;

    width: 8px !important;
    height: 8px !important;

    border-left: 2px solid #1E183A !important;
    border-bottom: 2px solid #1E183A !important;

    transform: translate(2px, 0) rotate(45deg) !important;

    position: relative !important;
    left: 0 !important;
    top: 0 !important;

    pointer-events: none !important;
  }
}
/* =====================================================
   SV — МОБИЛЬНАЯ КНОПКА НАЗАД
===================================================== */

@media (min-width: 768px) {
  .sv-global-mobile-back {
    display: none !important;
  }
}

@media (max-width: 767px) {

  .sv-global-mobile-back {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    position: fixed !important;
    left: 16px !important;
    top: 92px !important;

    width: 40px !important;
    height: 40px !important;

    z-index: 9999 !important;
    pointer-events: none !important;
  }

  .sv-global-mobile-back-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(30,24,58,0.14) !important;

    font-size: 0 !important;
    line-height: 0 !important;

    pointer-events: auto !important;
    cursor: pointer !important;

    appearance: none !important;
    -webkit-appearance: none !important;
  }

  .sv-global-mobile-back-arrow {
    display: block !important;

    width: 9px !important;
    height: 9px !important;

    border-left: 2px solid #1E183A !important;
    border-bottom: 2px solid #1E183A !important;

    transform: translate(2px, 0) rotate(45deg) !important;

    pointer-events: none !important;
  }

  /* меню должно быть выше стрелки */
  .sv-mobile-menu,
  .sv-mobile-menu.active,
  .mobile-menu,
  .mobile-menu.active,
  .menu-mobile,
  .menu-mobile.active,
  .menu-catalog,
  .menu-catalog.active,
  .elementor-nav-menu--dropdown,
  .elementor-popup-modal,
  .dialog-widget,
  .dialog-widget-content {
    z-index: 999999 !important;
  }
}
/* =====================================================
   МОИ ЗАЯВКИ — МОБИЛЬНЫЙ СТИЛЬ
   каждая заявка отдельной белой карточкой
   БЕЗ стрелки назад — стрелку делает отдельный безопасный сниппет
===================================================== */

@media (max-width: 1024px) {

  html,
  body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .sv-requests-screen,
  .sv-requests-screen *,
  .sv-requests-page,
  .sv-requests-page * {
    box-sizing: border-box !important;
  }

  .sv-requests-screen,
  .sv-requests-screen .elementor-widget-container,
  .sv-requests-screen .elementor-shortcode,
  .sv-requests-page {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  .sv-requests-page {
    margin: 0 !important;
    padding: 32px 14px 40px !important;
  }

  .sv-requests-title {
    margin: 0 0 22px !important;
    padding: 0 !important;

    font-size: 18px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
  }

  .sv-requests-layout {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  /* список заявок */
  html body .sv-requests-page .sv-requests-left {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;

    margin: 0 0 18px !important;
    padding: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;

    overflow: visible !important;
  }

  /* каждая заявка отдельной карточкой */
  html body .sv-requests-page .sv-request-block,
  html body .sv-requests-page .sv-request-block.active,
  html body .sv-requests-page .sv-request-block:not(.active) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    display: block !important;

    margin: 0 !important;
    padding: 22px 18px 24px !important;

    background: #ffffff !important;
    border: none !important;
    border-radius: 22px !important;
    box-shadow: 0 8px 24px rgba(30,24,58,0.06) !important;

    overflow: visible !important;

    transform: none !important;
    left: auto !important;
    right: auto !important;

    align-items: stretch !important;
    justify-content: flex-start !important;
  }

  html body .sv-requests-page .sv-request-block:not(.active) {
    min-height: 76px !important;
  }

  .sv-request-block + .sv-request-block {
    margin-top: 0 !important;
  }

  .sv-request-block:not(.active) > .sv-request-items,
  .sv-request-block:not(.active) > .sv-sent-request-body {
    display: none !important;
  }

  /* строка заявки */
  html body .sv-requests-page .sv-request-head,
  html body .sv-requests-page .sv-request-selector,
  html body .sv-requests-page .sv-sent-request-row {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    transform: none !important;
    left: auto !important;
    right: auto !important;
  }

  html body .sv-requests-page .sv-request-block.active > .sv-request-head,
  html body .sv-requests-page .sv-request-block.active > .sv-request-selector,
  html body .sv-requests-page .sv-request-block.active > .sv-sent-request-row {
    margin-bottom: 0 !important;
  }

  html body .sv-requests-page .sv-sent-request-row > .sv-request-selector,
  html body .sv-requests-page .sv-sent-request-row > .sv-request-head {
    width: auto !important;
    max-width: none !important;
    flex: 1 1 auto !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
    left: auto !important;
    right: auto !important;
  }

  .sv-request-dot {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    flex: 0 0 18px !important;
  }

  .sv-request-name {
    font-size: 17px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  .sv-request-status {
    margin-left: 8px !important;

    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;

    color: rgba(30,24,58,0.48) !important;
    white-space: nowrap !important;
  }

  html body .sv-requests-page .sv-sent-request-row .sv-delete-sent-request {
    margin-left: auto !important;
    flex: 0 0 28px !important;

    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: 300 !important;

    color: #1E183A !important;
    text-decoration: none !important;
  }

  /* тело заявки */
  html body .sv-requests-page .sv-request-items,
  html body .sv-requests-page .sv-sent-request-body {
    width: 100% !important;
    max-width: 100% !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;

    transform: none !important;
    left: auto !important;
    right: auto !important;
  }

  html body .sv-requests-page .sv-request-block.active > .sv-request-items,
  html body .sv-requests-page .sv-request-block.active > .sv-sent-request-body {
    display: flex !important;
    margin-top: 18px !important;
  }

  /* карточка товара в заявке */
  .sv-request-item,
  .sv-request-item-sent,
  .sv-sent-request-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) 28px !important;
    grid-template-rows: auto auto !important;

    column-gap: 14px !important;
    row-gap: 8px !important;
    align-items: center !important;

    min-height: 112px !important;
    height: auto !important;

    margin: 0 !important;
    padding: 12px !important;

    position: relative !important;

    background: #ffffff !important;
    border: 1px solid rgba(30,24,58,0.10) !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 14px rgba(30,24,58,0.05) !important;

    overflow: hidden !important;
  }

  /* фото товара */
  .sv-request-img,
  .sv-sent-request-img {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;

    width: 96px !important;
    min-width: 96px !important;
    height: 82px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #FFFFFF !important;
    border-radius: 10px !important;

    overflow: hidden !important;
  }

  .sv-request-img img,
  .sv-sent-request-img img {
    width: 100% !important;
    height: 100% !important;

    display: block !important;

    object-fit: contain !important;
    object-position: center !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  /* название товара */
  .sv-request-product-name,
  .sv-sent-request-title {
    grid-column: 2 !important;
    grid-row: 1 !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 12px !important;
    line-height: 1.18 !important;
    font-weight: 600 !important;

    white-space: normal !important;
    overflow: hidden !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  /* счетчик товара */
  .sv-request-qty {
    grid-column: 2 !important;
    grid-row: 2 !important;

    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;

    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  .sv-qty-btn,
  .sv-qty-number {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;

    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;

    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid rgba(30,24,58,0.18) !important;
    background: #ffffff !important;

    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 500 !important;

    color: #1E183A !important;
    text-decoration: none !important;
  }

  .sv-request-sent-qty {
    grid-column: 2 !important;
    grid-row: 2 !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;

    color: #1E183A !important;
  }

  /* удалить товар */
  .sv-request-remove {
    grid-column: 3 !important;
    grid-row: 1 / 3 !important;

    position: static !important;
    transform: none !important;

    width: 28px !important;
    height: 28px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  .sv-request-remove a {
    width: 28px !important;
    height: 28px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 300 !important;

    color: #1E183A !important;
    text-decoration: none !important;
  }

  /* пустая заявка */
  .sv-empty-request,
  .sv-empty-request-big {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 22px 18px !important;

    border: 1px solid rgba(30,24,58,0.12) !important;
    border-radius: 18px !important;

    background: #ffffff !important;
    box-shadow: none !important;

    overflow: hidden !important;
  }

  .sv-empty-title {
    font-size: 15px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
  }

  .sv-empty-text {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  .sv-empty-btn {
    max-width: 100% !important;
  }

  /* итог */
  .sv-requests-summary {
    width: 100% !important;
    max-width: 100% !important;

    margin: 18px 0 0 !important;
    padding: 24px 18px 26px !important;

    background: #ffffff !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  .sv-requests-summary h2 {
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
  }

  .sv-summary-title {
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  .sv-summary-count {
    font-size: 14px !important;
  }

  .sv-open-request-popup {
    width: 100% !important;
    max-width: 250px !important;
    height: 42px !important;

    font-size: 13px !important;
    font-weight: 700 !important;
  }

  /* старую текстовую стрелку скрываем, если где-то осталась */
  .sv-requests-screen .sv-back-wrap,
  .sv-requests-screen .sv-back-button,
  .sv-requests-screen .sv-back-link,
  .sv-requests-screen .sv-mobile-back-wrap,
  .sv-requests-auto-back {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;

    width: 0 !important;
    height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
    pointer-events: none !important;
  }
}
/* =====================================================
   SV — МОБИЛЬНАЯ КНОПКА НАЗАД
===================================================== */

@media (min-width: 768px) {
  .sv-global-mobile-back {
    display: none !important;
  }
}

@media (max-width: 767px) {

  .sv-global-mobile-back {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    position: fixed !important;
    left: 16px !important;
    top: 92px !important;

    width: 40px !important;
    height: 40px !important;

    z-index: 9999 !important;
    pointer-events: none !important;
  }

  .sv-global-mobile-back-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(30,24,58,0.14) !important;

    font-size: 0 !important;
    line-height: 0 !important;

    pointer-events: auto !important;
    cursor: pointer !important;

    appearance: none !important;
    -webkit-appearance: none !important;
  }

  .sv-global-mobile-back-arrow {
    display: block !important;

    width: 9px !important;
    height: 9px !important;

    border-left: 2px solid #1E183A !important;
    border-bottom: 2px solid #1E183A !important;

    transform: translate(2px, 0) rotate(45deg) !important;

    pointer-events: none !important;
  }

  .sv-mobile-menu,
  .sv-mobile-menu.active,
  .mobile-menu,
  .mobile-menu.active,
  .menu-mobile,
  .menu-mobile.active,
  .menu-catalog,
  .menu-catalog.active,
  .elementor-nav-menu--dropdown,
  .elementor-popup-modal,
  .dialog-widget,
  .dialog-widget-content {
    z-index: 999999 !important;
  }
}
/* =====================================================
   МОИ ЗАЯВКИ — ШАПКА КЛИКАБЕЛЬНАЯ, ПОИСК И МЕНЮ РАБОТАЮТ
===================================================== */

@media (max-width: 767px) {

  body:has(.sv-requests-page) header,
  body:has(.sv-requests-page) .site-header,
  body:has(.sv-requests-page) .elementor-location-header,
  body:has(.sv-requests-page) .sv-mobile-header,
  body:has(.sv-requests-page) .header-mobile {
    position: relative !important;
    z-index: 99999 !important;
    pointer-events: auto !important;
  }

  body:has(.sv-requests-page) header *,
  body:has(.sv-requests-page) .site-header *,
  body:has(.sv-requests-page) .elementor-location-header *,
  body:has(.sv-requests-page) .sv-mobile-header *,
  body:has(.sv-requests-page) .header-mobile * {
    pointer-events: auto !important;
  }

  body:has(.sv-requests-page) .sv-requests-page,
  body:has(.sv-requests-page) .sv-requests-layout,
  body:has(.sv-requests-page) .sv-requests-left,
  body:has(.sv-requests-page) .sv-request-block,
  body:has(.sv-requests-page) .sv-requests-summary {
    position: relative !important;
    z-index: 1 !important;
  }

  .sv-safe-mobile-back {
    z-index: 9999 !important;
  }
}
/* =====================================================
   СТРАНИЦЫ КАТЕГОРИЙ — ОТСТУП ОТ ШАПКИ
   общий контейнер: cat-page-wrap
   товары: cat-products
===================================================== */

@media (max-width: 767px) {

  .cat-page-wrap {
    margin-top: 42px !important;
    padding-top: 0 !important;
    position: relative !important;
  }

  .cat-page-wrap .cat-products,
  .cat-page-wrap .sv-cat-products-mobile {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}
/* =====================================================
   ГЛОБАЛЬНО — ШАПКА ВСЕГДА КЛИКАБЕЛЬНАЯ НА МОБИЛЬНОЙ
   поиск, бургер, меню, мои заявки
===================================================== */

@media (max-width: 767px) {

  /* сама шапка всегда выше контента */
  header,
  .site-header,
  .elementor-location-header,
  .header-full-bg,
  .site-header-wrap,
  .headerflexbox,
  .sv-mobile-header,
  .header-mobile,
  .elementor-section:has(.headerflexbox),
  .elementor-widget-wrap:has(.headerflexbox),
  .elementor-widget-container:has(.headerflexbox) {
    position: relative !important;
    z-index: 999999 !important;
    pointer-events: auto !important;
  }

  /* всё внутри шапки кликается */
  header *,
  .site-header *,
  .elementor-location-header *,
  .header-full-bg *,
  .site-header-wrap *,
  .headerflexbox *,
  .sv-mobile-header *,
  .header-mobile * {
    pointer-events: auto !important;
  }

  /* поиск в шапке точно кликабельный */
  .sv-header-search-wrap,
  .header-search-figma,
  .header-search-figma input,
  .header-search-figma button,
  input[type="search"],
  .search-field,
  .elementor-search-form,
  .elementor-search-form__container,
  .elementor-search-form__input,
  .elementor-search-form__submit {
    position: relative !important;
    z-index: 1000000 !important;
    pointer-events: auto !important;
  }

  /* бургер / каталог / меню точно кликабельные */
  .menu-catalog,
  .menu-catalog *,
  .mega-menu-wrap,
  .mega-menu-wrap *,
  .mega-menu-toggle,
  .mega-menu-toggle *,
  .elementor-menu-toggle,
  .elementor-menu-toggle *,
  .elementor-nav-menu--main,
  .elementor-nav-menu--main *,
  .elementor-nav-menu--dropdown,
  .elementor-nav-menu--dropdown * {
    pointer-events: auto !important;
  }

  /* контент ниже шапки не должен перекрывать шапку */
  main,
  .site-main,
  .site-content,
  .content-area,
  .elementor-location-single,
  .elementor-location-archive,
  .elementor,
  .woocommerce,
  .woocommerce-page,
  .sv-requests-page,
  .sv-requests-layout,
  .sv-requests-left,
  .sv-request-block,
  .single-product div.product,
  .cat-page-wrap,
  .cat-products,
  .sv-cat-products-mobile,
  .woocommerce ul.products,
  .woocommerce ul.products li.product,
  .products,
  .products li.product {
    z-index: 1 !important;
  }

  /* если у каких-то контейнеров есть position и они перекрывают шапку */
  .sv-requests-page,
  .sv-requests-layout,
  .sv-requests-left,
  .sv-request-block,
  .single-product div.product,
  .cat-page-wrap,
  .cat-products,
  .sv-cat-products-mobile {
    position: relative !important;
  }

  /* кнопка назад ниже шапки и не перекрывает её */
  .sv-safe-mobile-back,
  .sv-global-mobile-back {
    z-index: 9999 !important;
  }
}
/* =====================================================
   SV — МОБИЛЬНАЯ КНОПКА НАЗАД
===================================================== */

@media (min-width: 768px) {
  .sv-safe-mobile-back {
    display: none !important;
  }
}

@media (max-width: 767px) {

  .sv-safe-mobile-back {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;

    align-items: center !important;
    justify-content: center !important;

    position: fixed !important;
    left: 16px !important;
    top: 78px !important;

    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(30,24,58,0.14) !important;

    z-index: 9999 !important;

    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;

    cursor: pointer !important;
    pointer-events: auto !important;

    appearance: none !important;
    -webkit-appearance: none !important;
  }

  .sv-safe-mobile-back-arrow {
    display: block !important;

    width: 9px !important;
    height: 9px !important;

    border-left: 2px solid #1E183A !important;
    border-bottom: 2px solid #1E183A !important;

    transform: translate(2px, 0) rotate(45deg) !important;

    pointer-events: none !important;
  }
}
/* =====================================================
   КАТЕГОРИИ — УБРАТЬ СТАРУЮ ДУБЛЬ-СТРЕЛКУ / ПОДЛОЖКУ
   оставляем только новую .sv-safe-mobile-back
===================================================== */

@media (max-width: 767px) {

  body .sv-global-mobile-back,
  body .sv-mobile-back-wrap,
  body .sv-back-wrap:not(.sv-requests-auto-back),
  body .sv-requests-force-back,
  body .sv-requests-auto-back {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;

    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
    pointer-events: none !important;
  }

  body .sv-global-mobile-back *,
  body .sv-mobile-back-wrap *,
  body .sv-back-wrap:not(.sv-requests-auto-back) *,
  body .sv-requests-force-back *,
  body .sv-requests-auto-back * {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body .sv-safe-mobile-back {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}
.single-product .summary .product_title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.sv-popup-tabs button {
  border-bottom: none !important;
  position: relative !important;
}

.sv-popup-tabs button.active::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 2px !important;
  background: var(--sv-pink) !important;
}
/* ===== 1. Название товара справа в карточке товара ===== */
.single-product .summary .product_title,
.single-product div.product .summary h1.product_title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  margin: 0 0 18px !important;
}

/* ===== 2. Стрелки баннера на главной снаружи ===== */
.home .n2-ss-slider,
.home .n2-ss-slider-wrapper,
.home .n2-ss-align {
  overflow: visible !important;
}

.home .n2-ss-slider .nextend-arrow-previous {
  left: -52px !important;
}

.home .n2-ss-slider .nextend-arrow-next {
  right: -52px !important;
}

/* ===== 3. Страница категорий — положение кнопки назад ===== */
body:not(.single-product) .sv-back-wrap {
  margin-top: 28px !important;
  margin-bottom: 24px !important;
}

/* если именно на категориях нужно ниже */
.tax-product_cat .sv-back-wrap,
.archive.woocommerce .sv-back-wrap {
  margin-top: 34px !important;
  margin-bottom: 26px !important;
}

/* ===== 4. Поиск — нормальная кнопка назад, если вставлен [sv_back_button] ===== */
.search .sv-back-wrap {
  margin-top: 34px !important;
  margin-bottom: 26px !important;
}

/* ===== 5. Мои заявки — отдельно можно двигать кнопку назад ===== */
.page .sv-requests-page ~ .sv-back-wrap,
.page .sv-back-wrap:has(+ .sv-requests-page) {
  margin-top: 34px !important;
  margin-bottom: 24px !important;
}

/* ===== 6. Попап — линия только под ширину текста Физ/Юр ===== */
.sv-popup-tabs button {
  border-bottom: none !important;
  position: relative !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.sv-popup-tabs button.active::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 2px !important;
  background: var(--sv-pink) !important;
}

/* ===== 7. Бургер/Каталог — убрать кликабельную пустоту между ними ===== */
.menu-catalog,
.menu-catalog > a,
.menu-catalog .mega-menu-link {
  width: max-content !important;
  max-width: max-content !important;
}

.menu-catalog > a,
.menu-catalog .mega-menu-link {
  padding-right: 8px !important;
}

/* ===== 8. Подвал — иконка телеграм на одной линии со словом ===== */
.footer-telegram,
.footer-telegram a,
a[href*="t.me"],
a[href*="telegram"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.footer-telegram img,
.footer-telegram svg,
a[href*="t.me"] img,
a[href*="telegram"] img,
a[href*="t.me"] svg,
a[href*="telegram"] svg {
  position: relative !important;
  top: 2px !important;
}

/* ===== 9. Подвал — копирайт под логотипом ===== */
.footer-logo,
.footer-logo-block,
.footer-left {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.footer-copyright,
.footer-copy,
.copyright {
  margin-top: 12px !important;
  width: auto !important;
  max-width: none !important;
  white-space: nowrap !important;
  text-align: left !important;
}
/* ===== 1. Название товара справа ===== */
.single-product .summary .sv-product-title-fixed,
.single-product .summary .product_title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin: 0 0 18px !important;
}

/* ===== 2. Стрелки баннера главной снаружи ===== */
.home .n2-ss-slider,
.home .n2-ss-slider-wrapper,
.home .n2-ss-align,
.home .n2-ss-overflow {
  overflow: visible !important;
}

.home .n2-ss-slider .nextend-arrow-previous {
  left: -50px !important;
}

.home .n2-ss-slider .nextend-arrow-next {
  right: -50px !important;
}

/* ===== 3. Положение кнопки назад на категориях ===== */
.page .sv-back-wrap,
.tax-product_cat .sv-back-wrap,
.archive.woocommerce .sv-back-wrap {
  margin-top: 34px !important;
  margin-bottom: 24px !important;
}

/* ===== 4. Положение кнопки назад на поиске ===== */
.search .sv-back-wrap {
  margin-top: 34px !important;
  margin-bottom: 24px !important;
}

/* ===== 5. Положение назад на Мои заявки ===== */
.page-id-ВАШ_ID_МОИ_ЗАЯВКИ .sv-back-wrap {
  margin-top: 34px !important;
  margin-bottom: 24px !important;
}

/* ===== 6. Попап физ/юр — линия по ширине текста ===== */
.sv-popup-tabs button {
  border-bottom: none !important;
  position: relative !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.sv-popup-tabs button.active::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 2px !important;
  background: var(--sv-pink) !important;
}

/* ===== 7. Бургер/Каталог — убрать пустую кликабельную зону ===== */
.menu-catalog {
  width: max-content !important;
  max-width: max-content !important;
}

.menu-catalog > a,
.menu-catalog .mega-menu-link {
  width: max-content !important;
  max-width: max-content !important;
  padding-right: 8px !important;
}

/* ===== 8. Телеграм в подвале ровно по центру слова ===== */
a[href*="t.me"],
a[href*="telegram"],
.footer-telegram,
.footer-telegram a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

a[href*="t.me"] img,
a[href*="telegram"] img,
.footer-telegram img,
.footer-telegram svg {
  position: relative !important;
  top: 2px !important;
}

/* ===== 9. Копирайт под логотипом ===== */
.footer-logo,
.footer-logo-block,
.footer-left {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.footer-copyright,
.footer-copy,
.copyright {
  margin-top: 12px !important;
  width: auto !important;
  max-width: none !important;
  white-space: nowrap !important;
  text-align: left !important;
}
.menu-catalog > a,
.menu-catalog .mega-menu-link {
  cursor: pointer !important;
}
/* =====================================================
   СТРАНИЦА ТОВАРА — СТАРАЯ КНОПКА НАЗАД НА ПК
===================================================== */

@media (max-width: 767px) {
  body.single-product .sv-product-old-back {
    display: none !important;
  }
}

@media (min-width: 768px) {
  body.single-product .sv-product-old-back {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 1140px !important;
    max-width: 1140px !important;

    margin: 24px auto 20px !important;
    padding: 0 !important;

    box-sizing: border-box !important;
  }

  body.single-product .sv-product-old-back .sv-back-button {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;

    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 400 !important;

    color: #5A5A5A !important;
    text-decoration: none !important;

    cursor: pointer !important;
  }

  body.single-product .sv-product-old-back .sv-back-arrow {
    display: inline-block !important;

    width: 8px !important;
    height: 8px !important;

    border-left: 2px solid #5A5A5A !important;
    border-bottom: 2px solid #5A5A5A !important;

    transform: rotate(45deg) !important;
  }

  body.single-product .sv-product-old-back .sv-back-text {
    display: inline-block !important;
  }
}
/* =====================================================
   СТРАНИЦА ТОВАРА — КНОПКА НАЗАД ПК
===================================================== */

@media (max-width: 767px) {
  body.single-product .sv-product-back-wrap {
    display: none !important;
  }
}

@media (min-width: 768px) {
  body.single-product .sv-product-back-wrap {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 1140px !important;
    max-width: 1140px !important;

    margin: 24px auto 20px !important;
    padding: 0 !important;

    box-sizing: border-box !important;
  }

  body.single-product .sv-product-back-wrap .sv-back-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 400 !important;

    color: #5A5A5A !important;
    text-decoration: none !important;

    cursor: pointer !important;
  }

  body.single-product .sv-product-back-wrap .sv-back-arrow {
    display: inline-block !important;

    width: 8px !important;
    height: 8px !important;

    border-left: 2px solid #5A5A5A !important;
    border-bottom: 2px solid #5A5A5A !important;

    transform: rotate(45deg) !important;
  }

  body.single-product .sv-product-back-wrap .sv-back-text {
    display: inline-block !important;
  }
}
/* =====================================================
   ФУТЕР — МОБИЛЬНЫЕ ТОЧЕЧНЫЕ ПРАВКИ
===================================================== */

@media (max-width: 767px) {

  /* номер, почта, адрес — чуть ниже */
  .footer-fix .footer-right-contacts {
    position: relative !important;
    top: 2px !important;
  }

  /* Telegram на мобильной — чуть выше */
  .footer-fix .footer-left-tg {
    position: relative !important;
    top: 0px !important;
  }

  .footer-fix .tg-icon {
    position: relative !important;
    top: 0px !important;
  }

  .footer-fix .tg {
    position: relative !important;
    top: 5px !important;
  }

  /* копирайт на мобильной */
  .footer-fix .cop {
    position: relative !important;
    left: 0 !important;
    top: 8px !important;
  }
}
/* =====================================================
   ГЛАВНАЯ — МОБИЛЬНЫЙ КАТАЛОГ: УВЕЛИЧИТЬ КАРТИНКИ
===================================================== */

@media (max-width: 767px) {

  #catalog .sv-catalog-mobile img {
    width: 82px !important;
    height: 82px !important;
    max-width: 82px !important;
    max-height: 82px !important;

    object-fit: contain !important;
    object-position: center !important;

    margin: 0 auto 6px !important;
    display: block !important;
  }

  #catalog .sv-catalog-mobile > .e-con-inner > .e-con {
    height: 136px !important;
    min-height: 136px !important;
    max-height: 136px !important;
  }
}
/* =====================================================
   ГЛАВНАЯ — МОБИЛЬНЫЙ КАТАЛОГ: РЕГУЛИРОВКА РАСПОЛОЖЕНИЯ
===================================================== */

@media (max-width: 767px) {

  #catalog .sv-catalog-mobile {
    --sv-catalog-card-height: 136px; /* высота карточки */
    --sv-catalog-img-size: 82px;     /* размер картинки */

    --sv-catalog-img-x: 0px;         /* картинка вправо/влево */
    --sv-catalog-img-y: 0px;        /* картинка вверх/вниз */

    --sv-catalog-text-x: 0px;        /* текст вправо/влево */
    --sv-catalog-text-y: -2px;       /* текст вверх/вниз */

    --sv-catalog-gap: 4px;           /* расстояние между картинкой и текстом */
  }

  #catalog .sv-catalog-mobile > .e-con-inner > .e-con {
    height: var(--sv-catalog-card-height) !important;
    min-height: var(--sv-catalog-card-height) !important;
    max-height: var(--sv-catalog-card-height) !important;
  }

  #catalog .sv-catalog-mobile img {
    width: var(--sv-catalog-img-size) !important;
    height: var(--sv-catalog-img-size) !important;
    max-width: var(--sv-catalog-img-size) !important;
    max-height: var(--sv-catalog-img-size) !important;

    margin: 0 auto var(--sv-catalog-gap) !important;

    transform: translate(
      var(--sv-catalog-img-x),
      var(--sv-catalog-img-y)
    ) !important;
  }

  #catalog .sv-catalog-mobile .elementor-heading-title,
  #catalog .sv-catalog-mobile h1,
  #catalog .sv-catalog-mobile h2,
  #catalog .sv-catalog-mobile h3,
  #catalog .sv-catalog-mobile h4,
  #catalog .sv-catalog-mobile p,
  #catalog .sv-catalog-mobile span {
    transform: translate(
      var(--sv-catalog-text-x),
      var(--sv-catalog-text-y)
    ) !important;
  }
}
/* =====================================================
   ПОПАП ЗАЯВКИ — ССЫЛКИ В СОГЛАСИИ
===================================================== */

.sv-policy-check {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
}

.sv-policy-check input {
  flex: 0 0 auto !important;
  margin-top: 2px !important;
}

.sv-policy-check span {
  display: block !important;
  font-family: var(--sv-font) !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  font-weight: 400 !important;
  color: #1E183A !important;
}

.sv-policy-check a {
  color: #1E183A !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

.sv-policy-check a:hover {
  color: #FF2A57 !important;
}
/* Фикс: кнопка Назад не должна быть выше выпадающего Каталога */
body:has(.cat-products) .sv-back-wrap,
body:has(.cat-products) .sv-back-button,
body:has(.cat-products) .sv-hard-category-back,
body:has(.cat-products) .sv-safe-mobile-back,
body:has(.cat-products) .sv-global-mobile-back {
  z-index: 10 !important;
}

/* Выпадающее меню каталога всегда выше */
.menu-catalog,
.menu-catalog .mega-sub-menu,
.mega-menu-wrap,
.mega-menu-wrap .mega-sub-menu {
  z-index: 10 !important;
}
/* МОИ ЗАЯВКИ — ровные линии под Физ/Юр в попапе */
.sv-request-popup .sv-popup-tabs {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important;
  gap: 34px !important;
  padding-right: 26px !important;
}

.sv-request-popup .sv-popup-tabs button {
  position: relative !important;
  width: auto !important;
  min-width: 112px !important;
  padding: 0 0 10px !important;
  border: none !important;
}

.sv-request-popup .sv-popup-tabs button::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  bottom: 0 !important;
  width: 112px !important;
  height: 3px !important;
  transform: translateX(-50%) !important;
  border-radius: 999px !important;
  background: #D9D9D9 !important;
}

.sv-request-popup .sv-popup-tabs button.active::after {
  background: #FF2A57 !important;
}
@media (max-width: 767px) {
  .sv-requests-page {
    min-height: auto !important;
    height: auto !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .sv-requests-layout {
    min-height: auto !important;
    height: auto !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .sv-requests-left {
    min-height: auto !important;
    height: auto !important;
    padding-bottom: 0 !important;
    margin-bottom: 18px !important;
  }

  .sv-request-block,
  .sv-request-items {
    min-height: 0 !important;
    height: auto !important;
  }
}
@media (max-width: 767px) {
  .sv-requests-page {
    min-height: 0 !important;
    height: auto !important;
    padding-bottom: 50px !important;
    margin-bottom: 0 !important;
  }

  .sv-requests-layout {
    min-height: 0 !important;
    height: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .footer-fix {
    margin-top: 0 !important;
  }
}
@media (max-width: 767px) {
  body.single-product div.product div.images,
  body.single-product .woocommerce-product-gallery,
  body.single-product .woocommerce-product-gallery .flex-viewport {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body.single-product .woocommerce-product-gallery__wrapper {
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    align-items: stretch !important;
  }

  body.single-product .woocommerce-product-gallery__image,
  body.single-product .woocommerce-product-gallery__image a {
    width: 100% !important;
    min-width: 100% !important;
    height: 330px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.single-product .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: 330px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}
/* Каталог открыт — все кнопки назад скрываем */
body.sv-catalog-open .sv-back-wrap,
body.sv-catalog-open .sv-back-button,
body.sv-catalog-open .sv-hard-category-back,
body.sv-catalog-open .sv-safe-mobile-back,
body.sv-catalog-open .sv-global-mobile-back {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.menu-catalog .mega-sub-menu {
  z-index: 999999 !important;
}
.single-product .woocommerce-product-details__short-description {
  display: none !important;
}

.single-product .sv-product-video-block {
  grid-column: 1 / -1 !important;
  width: 1140px !important;
  max-width: 1140px !important;
  margin: 32px auto 48px !important;
  font-family: Inter, sans-serif !important;
}

.single-product .sv-product-video-block h2 {
  margin: 0 0 16px !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #1E183A !important;
}

.single-product .sv-product-video-frame {
  width: 100% !important;
  max-width: 1140px !important;
  aspect-ratio: 16 / 9 !important;
  margin: 0 auto !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #000 !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
}

.single-product .sv-product-video-frame iframe {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  border: 0 !important;
}

@media (max-width: 767px) {
  .single-product .sv-product-video-block {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin: 24px auto 36px !important;
  }

  .single-product .sv-product-video-frame {
    max-width: 100% !important;
  }
}
.single-product .sv-product-video-block {
  margin-bottom: 0px !important;
}

.single-product div.product .related.products {
  margin-top: 24px !important;
}
@media (max-width: 767px) {
  .single-product .sv-product-video-block {
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px 0 24px !important;
    padding: 0 !important;
  }

  .single-product .sv-product-video-frame {
    width: 100% !important;
    max-width: 100% !important;
    height: 190px !important;
    aspect-ratio: auto !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  .single-product .sv-product-video-frame iframe {
    width: 100% !important;
    height: 190px !important;
  }

  .single-product .sv-product-video-block h2 {
    font-size: 20px !important;
    margin: 0 0 12px !important;
  }
}
.woocommerce ul.products li.product.outofstock {
  display: flex !important;
  flex-direction: column !important;
}

.woocommerce ul.products li.product .sv-outofstock-btn {
  margin-top: auto !important;
}
/* ===== ТОВАРЫ ПОД ЗАКАЗ — ПОЯСНЕНИЕ ===== */

.sv-preorder-note {
  margin: 8px 0 10px !important;
  padding: 6px 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 28px !important;
  border-radius: var(--sv-radius-pill) !important;
  background: #FFFFFF !important;
  color: #8A5A00 !important;
  font-family: var(--sv-font) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

.sv-preorder-single-note {
  margin: 12px 0 18px !important;
  padding: 12px 16px !important;
  border-radius: var(--sv-radius-medium) !important;
  background: #FFFFFF !important;
  color: #8A5A00 !important;
  font-family: var(--sv-font) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}
@media (max-width: 767px) {

  .home .sv-home-banner,
  .home .n2-section-smartslider,
  .home .n2-ss-slider,
  .home .n2-ss-slider-wrapper,
  .home .n2-ss-align,
  .home .n2-ss-slider-1,
  .home .n2-ss-slider-2,
  .home .n2-ss-slide,
  .home .n2-ss-slide-background,
  .home .n2-ss-slide-background-image,
  .home .n2-ss-slide-background-image img {
    border-radius: 16px !important;
  }

  .home .sv-home-banner,
  .home .n2-section-smartslider,
  .home .n2-ss-slider,
  .home .n2-ss-slider-wrapper,
  .home .n2-ss-align,
  .home .n2-ss-slider-1,
  .home .n2-ss-slider-2,
  .home .n2-ss-slide {
    overflow: hidden !important;
  }

  .home .n2-ss-slider {
    transform: translateZ(0) !important;
  }
}
/*14426*/
/* ===== ОПИСАНИЕ И ВИДЕО ТОВАРА — ФИНАЛ ===== */

/* ПК */
@media (min-width: 768px) {
  body.single-product .sv-product-description-block {
    grid-column: 1 / -1 !important;
    display: block !important;
    width: 1140px !important;
    max-width: 1140px !important;
    margin: 24px auto 28px !important;
    padding: 22px 26px !important;
    background-color: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
    box-sizing: border-box !important;
  }

  body.single-product .sv-product-description-block h2 {
    margin: 0 0 14px !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #1E183A !important;
  }

  body.single-product .sv-product-description-content,
  body.single-product .sv-product-description-content p {
    margin: 0 0 10px !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    color: #1E183A !important;
  }

  body.single-product .sv-product-video-block {
    grid-column: 1 / -1 !important;
    width: 1140px !important;
    max-width: 1140px !important;
    margin: 24px auto 28px !important;
  }
}

/* МОБИЛКА */
@media (max-width: 767px) {
  body.single-product .sv-product-description-block {
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px 0 26px !important;
    padding: 18px 20px !important;
  }

  body.single-product .sv-product-description-block h2,
  body.single-product .sv-product-video-block h2,
  body.single-product .related.products > h2,
  body.single-product section.related > h2 {
    font-size: 18px !important;
    line-height: 1.15 !important;
  }

  body.single-product .sv-product-description-content,
  body.single-product .sv-product-description-content p,
  body.single-product .sv-product-description-content strong,
  body.single-product .sv-product-description-content b {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }
}
@media (max-width: 767px) {
  body.single-product main,
  body.single-product .site-main,
  body.single-product div.product {
    width: calc(100vw - 10px) !important;
    max-width: calc(100vw - 10px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.single-product .sv-product-description-block,
  body.single-product .sv-product-video-block {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
@media (max-width: 767px) {

  body.single-product .flex-control-thumbs li {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: #FFFFFF !important;
  }

  body.single-product .flex-control-thumbs img {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
  }

  body.single-product .woocommerce-product-gallery__image img:not(.zoomImg),
  body.single-product .woocommerce-product-gallery img.wp-post-image:not(.zoomImg) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: transparent !important;
  }
}
@media (max-width: 767px) {
  body.single-product .flex-control-thumbs li,
  body.single-product .flex-control-thumbs img {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
  }

  body.single-product .woocommerce-product-gallery__image img:not(.zoomImg) {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    object-fit: contain !important;
  }
}
@media (max-width: 767px) {
  body.single-product .flex-control-thumbs li,
  body.single-product .flex-control-thumbs img {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
  }
}
@media (max-width: 767px) {

  body.single-product .woocommerce-product-gallery__image img:not(.zoomImg),
  body.single-product .woocommerce-product-gallery img.wp-post-image:not(.zoomImg) {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  body.single-product .flex-control-thumbs li,
  body.single-product .flex-control-thumbs img {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
  }
}
@media (max-width: 767px) {

  body.single-product div.product div.images,
  body.single-product .woocommerce-product-gallery {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body.single-product .woocommerce-product-gallery .flex-viewport {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    max-height: none !important;
    background: #FFFFFF !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  body.single-product .woocommerce-product-gallery__wrapper {
    background: transparent !important;
  }

  body.single-product .woocommerce-product-gallery__image,
  body.single-product .woocommerce-product-gallery__image a {
    background: #FFFFFF !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  body.single-product .woocommerce-product-gallery__image a {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body.single-product .woocommerce-product-gallery__image img:not(.zoomImg) {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.single-product .flex-control-thumbs {
    display: flex !important;
    gap: 10px !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }

  body.single-product .flex-control-thumbs li {
    flex: 0 0 58px !important;
    width: 58px !important;
    height: 58px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: #FFFFFF !important;
    border-radius: 10px !important;
    overflow: hidden !important;
  }

  body.single-product .flex-control-thumbs img {
    width: 58px !important;
    height: 58px !important;
    object-fit: contain !important;
    object-position: center center !important;
    padding: 5px !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: #FFFFFF !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}
/* ===== ФИКС МЕРЦАНИЯ ВТОРОГО ФОТО В МОБИЛЬНОЙ ГАЛЕРЕЕ ===== */

@media (max-width: 767px) {

  body.single-product .woocommerce-product-gallery .flex-viewport {
    overflow: hidden !important;
    position: relative !important;
  }

  body.single-product .woocommerce-product-gallery__wrapper {
    transform: none !important;
    transition: none !important;
    display: block !important;
    position: relative !important;
    width: 100% !important;
  }

  body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
    display: none !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
  }

  body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image.flex-active-slide {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 2 !important;
  }

  body.single-product .woocommerce-product-gallery__wrapper:not(:has(.flex-active-slide)) .woocommerce-product-gallery__image:first-child {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 2 !important;
  }

  body.single-product .woocommerce-product-gallery__image a {
    width: 100% !important;
    height: 100% !important;
  }
}
/* ===== МОБИЛКА: ВЫРОВНЯТЬ СТРАНИЦУ ТОВАРА ПО ЦЕНТРУ ===== */

@media (max-width: 767px) {

  body.single-product main,
  body.single-product .site-main,
  body.single-product div.product {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-product div.product div.images,
  body.single-product .woocommerce-product-gallery,
  body.single-product .summary.entry-summary,
  body.single-product .sv-product-description-block,
  body.single-product .sv-product-video-block,
  body.single-product div.product .related.products,
  body.single-product .related.products,
  body.single-product section.related {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  body.single-product .woocommerce-product-gallery .flex-viewport,
  body.single-product .woocommerce-product-gallery__wrapper,
  body.single-product .woocommerce-product-gallery__image,
  body.single-product .woocommerce-product-gallery__image a,
  body.single-product .sv-product-video-frame,
  body.single-product .related.products ul.products,
  body.single-product section.related ul.products {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  body.single-product .sv-product-video-block h2,
  body.single-product .related.products > h2,
  body.single-product section.related > h2 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* На всякий случай убираем лишние псевдоэлементы */
body ul.products li.product .stock.out-of-stock:before,
body ul.products li.product .stock.out-of-stock:after,
body ul.products li.product .outofstock:before,
body ul.products li.product .outofstock:after,
body ul.products li.product .sv-out-of-stock:before,
body ul.products li.product .sv-out-of-stock:after {
  display: none !important;
  content: none !important;
}
/* ===== НЕТ В НАЛИЧИИ — КАК КНОПКА "ДОБАВИТЬ В ЗАЯВКУ" ===== */

body ul.products li.product .sv-outofstock-btn {
  width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;

  margin-top: auto !important;
  padding: 0 12px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 999px !important;
  border: 1px solid #D9D9D9 !important;
  background: transparent !important;
  color: #838383 !important;

  font-family: Inter, sans-serif !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 700 !important;

  box-shadow: none !important;
  box-sizing: border-box !important;
  pointer-events: none !important;
  white-space: nowrap !important;
}

/* Мобильная версия — как жёлтая кнопка в карточке */
@media (max-width: 767px) {
  body ul.products li.product .sv-outofstock-btn {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;

    padding: 0 8px !important;

    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
  }
}
/* ===== НЕТ В НАЛИЧИИ — РАЗМЕР КАК У КНОПКИ ===== */

body ul.products li.product .sv-outofstock-btn {
  margin-top: auto !important;
  width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;

  border-radius: 999px !important;
  border: 1px solid #D9D9D9 !important;
  background: transparent !important;
  color: #838383 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  font-family: Inter, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  box-shadow: none !important;
  pointer-events: none !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}

@media (max-width: 767px) {
  body ul.products li.product .sv-outofstock-btn {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    font-size: 10px !important;
    padding: 0 8px !important;
  }
}
/* ===== НЕТ В НАЛИЧИИ — ПК КАК БЫЛО, МОБИЛКА МЕНЬШЕ ===== */

.woocommerce ul.products li.product .sv-outofstock-btn,
.woocommerce-page ul.products li.product .sv-outofstock-btn {
  margin-top: auto !important;
  width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;

  border-radius: 999px !important;
  border: 1px solid #D9D9D9 !important;
  background: transparent !important;
  color: #838383 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  font-family: Inter, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  box-shadow: none !important;
  pointer-events: none !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}

/* Мобильная версия */
@media (max-width: 767px) {
  .woocommerce ul.products li.product .sv-outofstock-btn,
  .woocommerce-page ul.products li.product .sv-outofstock-btn {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    font-size: 10.5px !important;
    padding: 0 8px !important;
  }

  /* Плашка "Товара пока нет на складе" в категории под заказ */
  .woocommerce ul.products li.product.product_cat-zakaz div,
  .woocommerce ul.products li.product.product_cat-pod-zakaz div {
    max-width: 100% !important;
  }

  .woocommerce ul.products li.product.product_cat-zakaz .woocommerce-loop-product__link + div,
  .woocommerce ul.products li.product.product_cat-pod-zakaz .woocommerce-loop-product__link + div {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 10px !important;
    padding: 5px 8px !important;
    margin: 7px 0 9px 0 !important;
    text-align: center !important;
    justify-content: center !important;
    white-space: normal !important;
  }

  /* Убрать "Подробнее →" у под заказ */
  .woocommerce ul.products li.product.product_cat-zakaz .woocommerce-loop-product__link::after,
  .woocommerce ul.products li.product.product_cat-pod-zakaz .woocommerce-loop-product__link::after {
    display: none !important;
    content: none !important;
  }
}

/* =====================================================
   МОБИЛКА — ВСЕ КАТЕГОРИИ: ЕДИНЫЙ ОТСТУП
===================================================== */

@media (max-width: 767px) {

  body:has(.cat-products) .cat-heading {
    margin-top: 30px !important;
    margin-bottom: 16px !important;
  }

  body:has(.cat-products) .cat-products {
    margin-top: 0 !important;
  }
}
/* =====================================================
   МОБИЛКА — НОВИНКИ: ОПУСТИТЬ КАК ОСТАЛЬНЫЕ КАТЕГОРИИ
===================================================== */

@media (max-width: 767px) {
  body.sv-page-novinki .cat-heading {
    margin-top: 66px !important;
    margin-bottom: 16px !important;
  }

  body.sv-page-novinki .cat-products {
    margin-top: 0 !important;
  }
}
/* =====================================================
   МОБИЛКА — ШАПКА ВСЕГДА КЛИКАБЕЛЬНА НА ВСЕХ СТРАНИЦАХ
===================================================== */

@media (max-width: 767px) {

  .sv-mobile-header {
    position: relative !important;
    z-index: 99999999 !important;
    pointer-events: auto !important;
  }

  .sv-mobile-burger,
  .sv-mobile-search-btn,
  .sv-mobile-request-link,
  .sv-mobile-logo {
    position: relative !important;
    z-index: 100000000 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }

  .sv-mobile-burger *,
  .sv-mobile-search-btn *,
  .sv-mobile-request-link *,
  .sv-mobile-logo * {
    pointer-events: none !important;
  }

  .sv-mobile-actions {
    position: relative !important;
    z-index: 100000000 !important;
    pointer-events: auto !important;
  }

  .sv-mobile-menu-panel,
  .sv-mobile-search-panel {
    z-index: 100000001 !important;
  }

  .sv-mobile-menu-panel.active,
  .sv-mobile-search-panel.active {
    pointer-events: auto !important;
  }
}
/* ===== МОБИЛКА — УБРАТЬ СЛУЧАЙНЫЕ СЛОИ С КНОПОК ШАПКИ ===== */

@media (max-width: 767px) {
  .sv-mobile-header {
    position: relative !important;
    z-index: 2147483000 !important;
    pointer-events: auto !important;
  }

  .sv-mobile-burger,
  .sv-mobile-search-btn,
  .sv-mobile-request-link,
  .sv-mobile-logo {
    position: relative !important;
    z-index: 2147483001 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .sv-mobile-burger span,
  .sv-mobile-search-btn img,
  .sv-mobile-request-link img,
  .sv-mobile-logo img {
    pointer-events: none !important;
  }

  .sv-mobile-menu-panel,
  .sv-mobile-search-panel {
    z-index: 2147483002 !important;
  }
}
/* =====================================================
   МОБИЛКА — СТРАНИЦА ТОВАРА: ТЕНИ + ПОХОЖИЕ ТОВАРЫ БЕЗ СНИППЕТОВ
===================================================== */

@media (max-width: 767px) {

  /* Родители страницы не режут тени обычных блоков */
  body.single-product .site,
  body.single-product .site-main,
  body.single-product main,
  body.single-product .content-area,
  body.single-product .woocommerce,
  body.single-product div.product,
  body.single-product .summary.entry-summary,
  body.single-product .sv-product-description-block,
  body.single-product .sv-product-video-block,
  body.single-product .elementor,
  body.single-product .elementor-widget-wrap,
  body.single-product .elementor-widget-container,
  body.single-product .elementor-element,
  body.single-product .elementor-column,
  body.single-product .elementor-column-wrap,
  body.single-product .elementor-section,
  body.single-product .e-con,
  body.single-product .e-con-inner {
    overflow: visible !important;
    clip-path: none !important;
    contain: none !important;
  }

  /* Верхняя карточка и описание */
  body.single-product .summary.entry-summary,
  body.single-product .sv-product-description-block {
    margin-bottom: 18px !important;
    overflow: visible !important;
  }

  /* Видео */
  body.single-product .sv-product-video-block {
    overflow: visible !important;
    margin-bottom: 18px !important;
    padding-bottom: 8px !important;
  }

  body.single-product .sv-product-video-frame {
    border-radius: 22px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(27, 25, 58, 0.08) !important;
  }

  body.single-product .sv-product-video-frame iframe {
    display: block !important;
    border-radius: 22px !important;
  }

  /* =====================================================
     ПОХОЖИЕ ТОВАРЫ — секция
  ===================================================== */

  body.single-product .related.products,
  body.single-product section.related {
    position: relative !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;

    width: 100% !important;
    max-width: 100% !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 18px !important;

    box-sizing: border-box !important;
  }

  body.single-product .related.products::before,
  body.single-product .related.products::after,
  body.single-product section.related::before,
  body.single-product section.related::after {
    display: none !important;
    content: none !important;
  }

  /* Заголовок по сетке сайта */
  body.single-product .related.products > h2,
  body.single-product section.related > h2 {
    margin-left: 30px !important;
    margin-right: 30px !important;
  }

  /* =====================================================
     ПОХОЖИЕ ТОВАРЫ — карусель
  ===================================================== */

  body.single-product .related.products ul.products,
  body.single-product section.related ul.products,
  body.single-product div.product .related.products ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;

    gap: 8px !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 !important;

    padding-top: 10px !important;
    padding-left: 30px !important;
    padding-right: 18px !important;
    padding-bottom: 54px !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;

    list-style: none !important;
    box-sizing: border-box !important;

    background: transparent !important;
    box-shadow: none !important;
    border: none !important;

    justify-content: flex-start !important;
    clear: none !important;
    float: none !important;
  }

  body.single-product .related.products ul.products::-webkit-scrollbar,
  body.single-product section.related ul.products::-webkit-scrollbar {
    display: none !important;
  }

  /* =====================================================
     ПОХОЖИЕ ТОВАРЫ — карточки
     45vw — шире старого варианта, но не вылезает как 48vw
  ===================================================== */

  body.single-product .related.products ul.products li.product,
  body.single-product section.related ul.products li.product,
  body.single-product div.product .related.products ul.products li.product {
    flex: 0 0 45vw !important;
    width: 45vw !important;
    max-width: 45vw !important;
    min-width: 45vw !important;

    margin: 0 !important;

    scroll-snap-align: start !important;

    overflow: visible !important;
    box-sizing: border-box !important;

    background: #fff !important;
    box-shadow: 0 10px 24px rgba(27, 25, 58, 0.08) !important;
  }

  /* =====================================================
     ТОЧКИ — если они есть на странице, возвращаем под карточки
  ===================================================== */

  body.single-product .related.products .owl-dots,
  body.single-product section.related .owl-dots,
  body.single-product .sv-related-mobile-dots {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;

    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;

    width: 100% !important;
    height: 7px !important;
    min-height: 7px !important;

    margin: -34px 0 0 0 !important;
    padding: 0 !important;

    position: relative !important;
    z-index: 20 !important;

    line-height: 0 !important;
    font-size: 0 !important;
  }

  body.single-product .related.products .owl-dot,
  body.single-product section.related .owl-dot,
  body.single-product .sv-related-mobile-dot {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 7px !important;
    height: 7px !important;
    min-width: 7px !important;
    min-height: 7px !important;
    max-width: 7px !important;
    max-height: 7px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: none !important;
    outline: none !important;
    border-radius: 50% !important;
    background: #D7D7D7 !important;
    box-shadow: none !important;

    overflow: hidden !important;
    text-indent: -9999px !important;
  }

  body.single-product .related.products .owl-dot.active,
  body.single-product section.related .owl-dot.active,
  body.single-product .sv-related-mobile-dot.active {
    background: #FFB200 !important;
  }
}
/* Картинка товара внутри карточки */
.woocommerce ul.products li.product img,
.products .product img,
.swiper-slide .product img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Блок под картинку */
.woocommerce ul.products li.product .woocommerce-loop-product__link img,
.products .product .woocommerce-loop-product__link img {
    background: transparent !important;
}

/* Если есть отдельная обёртка под изображение */
.product-image,
.woocommerce ul.products li.product .product-thumbnail,
.products .product .product-thumbnail {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}
/* =====================================================
   ФИНАЛЬНО: УБРАТЬ ЖЁЛТЫЙ ФОН У ФОТО ТОВАРОВ ВЕЗДЕ
   Вставить в самый конец основного CSS
===================================================== */

/* Перебиваем переменную */
:root {
  --sv-yellow-light: #FFFFFF !important;
}

/* Карточки товаров: главная, категории, поиск, похожие, хиты */
html body .woocommerce ul.products li.product img,
html body.woocommerce-page ul.products li.product img,
html body.home .woocommerce ul.products li.product img,
html body.archive .woocommerce ul.products li.product img,
html body.tax-product_cat .woocommerce ul.products li.product img,
html body.search .woocommerce ul.products li.product img,
html body.search-results .woocommerce ul.products li.product img,
html body .cat-products .woocommerce ul.products li.product img,
html body .cat-products ul.products li.product img,
html body .sv-cat-products-mobile ul.products li.product img,
html body .ywcps-wrapper ul.products li.product img,
html body .ywcps-wrapper li.product img,
html body.single-product .related.products ul.products li.product img,
html body.single-product section.related ul.products li.product img {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
}

/* Обёртки вокруг фото в карточках товаров */
html body .woocommerce ul.products li.product a.woocommerce-loop-product__link,
html body .woocommerce ul.products li.product .woocommerce-loop-product__link,
html body .woocommerce ul.products li.product .product-image,
html body .woocommerce ul.products li.product .product-thumbnail,
html body .woocommerce ul.products li.product .thumbnail,
html body .woocommerce ul.products li.product figure,
html body .woocommerce ul.products li.product picture,
html body .cat-products ul.products li.product a.woocommerce-loop-product__link,
html body .sv-cat-products-mobile ul.products li.product a.woocommerce-loop-product__link {
  background: transparent !important;
  background-color: transparent !important;
}

/* Страница товара — большое фото */
html body.single-product .woocommerce-product-gallery .flex-viewport,
html body.single-product .woocommerce-product-gallery__wrapper,
html body.single-product .woocommerce-product-gallery__image,
html body.single-product .woocommerce-product-gallery__image a,
html body.single-product .woocommerce-product-gallery__image img {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
}

/* Миниатюры на странице товара */
html body.single-product .flex-control-thumbs img {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
}

html body.single-product .flex-control-thumbs,
html body.single-product .flex-control-thumbs li,
html body.single-product .flex-control-thumbs li a {
  background: transparent !important;
  background-color: transparent !important;
}

/* Мои заявки — фото товара */
html body .sv-requests-page .sv-request-img,
html body .sv-requests-page .sv-request-img img,
html body .sv-request-item .sv-request-img,
html body .sv-request-item .sv-request-img img {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
}

/* Если где-то остались старые классы от прошлых сниппетов */
html body img.sv-transparent-product-img,
html body .sv-transparent-product-img,
html body .sv-product-yellow-bg,
html body .sv-yellow-bg {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
}
/* =====================================================
   ПОД ЗАКАЗ — КНОПКА "ХОЧУ ЗАКАЗАТЬ"
   ВСТАВИТЬ В САМЫЙ НИЗ CSS
===================================================== */

/* страница /zakaz/ — все кнопки карточек */
body.sv-zakaz-page ul.products li.product .button::before,
body.sv-zakaz-page .woocommerce ul.products li.product .button::before,
body.sv-zakaz-page .cat-products ul.products li.product .button::before {
  content: "Хочу заказать" !important;
}

/* если у товаров есть класс категории product_cat-zakaz */
ul.products li.product.product_cat-zakaz .button::before,
.woocommerce ul.products li.product.product_cat-zakaz .button::before {
  content: "Хочу заказать" !important;
}

/* если slug категории вдруг pod-zakaz */
ul.products li.product.product_cat-pod-zakaz .button::before,
.woocommerce ul.products li.product.product_cat-pod-zakaz .button::before {
  content: "Хочу заказать" !important;
}

/* страница товара под заказ */
body.sv-single-zakaz-product .single_add_to_cart_button {
  font-size: 0 !important;
}

body.sv-single-zakaz-product .single_add_to_cart_button::before {
  content: "Хочу заказать" !important;
  font-family: Inter, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}
/* =====================================================
   ФИНАЛЬНАЯ ПРАВКА: товары под заказ
   Мобилка без подложки, ПК с подложкой
===================================================== */

/* 1. У товаров под заказ убираем "Подробнее →" ВЕЗДЕ */
body ul.products li.product.product_cat-zakaz a.woocommerce-loop-product__link::after,
body ul.products li.product.product_cat-pod-zakaz a.woocommerce-loop-product__link::after,
body .woocommerce ul.products li.product.product_cat-zakaz a.woocommerce-loop-product__link::after,
body .woocommerce ul.products li.product.product_cat-pod-zakaz a.woocommerce-loop-product__link::after,
body.single-product ul.products li.product.product_cat-zakaz a.woocommerce-loop-product__link::after,
body.single-product ul.products li.product.product_cat-pod-zakaz a.woocommerce-loop-product__link::after {
    content: none !important;
    display: none !important;
}


/* 2. Кнопка у товаров под заказ ВЕЗДЕ = "Хочу заказать" */
body ul.products li.product.product_cat-zakaz .button,
body ul.products li.product.product_cat-pod-zakaz .button,
body .woocommerce ul.products li.product.product_cat-zakaz .button,
body .woocommerce ul.products li.product.product_cat-pod-zakaz .button,
body.single-product ul.products li.product.product_cat-zakaz .button,
body.single-product ul.products li.product.product_cat-pod-zakaz .button {
    font-size: 0 !important;
}

body ul.products li.product.product_cat-zakaz .button::before,
body ul.products li.product.product_cat-pod-zakaz .button::before,
body .woocommerce ul.products li.product.product_cat-zakaz .button::before,
body .woocommerce ul.products li.product.product_cat-pod-zakaz .button::before,
body.single-product ul.products li.product.product_cat-zakaz .button::before,
body.single-product ul.products li.product.product_cat-pod-zakaz .button::before {
    content: "Хочу заказать" !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;

    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #ffffff !important;
    text-align: center !important;
}

/* 3. МОБИЛКА: плашка "Товара пока нет..." без подложки */
@media (max-width: 767px) {
    body ul.products li.product.product_cat-zakaz .sv-zakaz-card-badge,
    body ul.products li.product.product_cat-pod-zakaz .sv-zakaz-card-badge,
    body .woocommerce ul.products li.product.product_cat-zakaz .sv-zakaz-card-badge,
    body .woocommerce ul.products li.product.product_cat-pod-zakaz .sv-zakaz-card-badge,
    body.single-product ul.products li.product.product_cat-zakaz .sv-zakaz-card-badge,
    body.single-product ul.products li.product.product_cat-pod-zakaz .sv-zakaz-card-badge {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 4px 0 8px 0 !important;
        padding: 0 !important;

        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;

        color: #8A5A00 !important;
        font-family: Inter, sans-serif !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;

        text-align: left !important;
        white-space: normal !important;

        align-self: flex-start !important;
        transform: none !important;
    }
}
/* =====================================================
   МОБИЛКА — компактные кнопки, плашка и счётчики карточек
===================================================== */

@media (max-width: 767px) {

  /* Плашка "Товара пока нет на складе" */
  body ul.products li.product .sv-zakaz-card-badge,
  body .woocommerce ul.products li.product .sv-zakaz-card-badge,
  body .ywcps-wrapper li.product .sv-zakaz-card-badge,
  body .owl-item li.product .sv-zakaz-card-badge {
    font-size: 11px !important;
    line-height: 1.18 !important;
    font-weight: 600 !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
  }

  /* Все кнопки в карточках */
  body ul.products li.product .button,
  body ul.products li.product a.button,
  body ul.products li.product .add_to_cart_button,
  body ul.products li.product .ajax_add_to_cart,
  body .woocommerce ul.products li.product .button,
  body .woocommerce ul.products li.product a.button,
  body .woocommerce ul.products li.product .add_to_cart_button,
  body .woocommerce ul.products li.product .ajax_add_to_cart,
  body .ywcps-wrapper li.product .button,
  body .ywcps-wrapper li.product a.button,
  body .owl-item li.product .button,
  body .owl-item li.product a.button {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 8px !important;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    font-size: 0 !important;
    line-height: 1 !important;
  }

  /* Обычная кнопка — чуть крупнее */
  body ul.products li.product .button::before,
  body ul.products li.product a.button::before,
  body ul.products li.product .add_to_cart_button::before,
  body ul.products li.product .ajax_add_to_cart::before,
  body .woocommerce ul.products li.product .button::before,
  body .woocommerce ul.products li.product a.button::before,
  body .woocommerce ul.products li.product .add_to_cart_button::before,
  body .woocommerce ul.products li.product .ajax_add_to_cart::before,
  body .ywcps-wrapper li.product .button::before,
  body .ywcps-wrapper li.product a.button::before,
  body .owl-item li.product .button::before,
  body .owl-item li.product a.button::before {
    content: "Добавить в заявку" !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  /* Под заказ — тот же размер кнопки, но текст меньше */
  body ul.products li.product.sv-product-preorder .button::before,
  body ul.products li.product.sv-product-preorder .add_to_cart_button::before,
  body ul.products li.product.sv-product-preorder .ajax_add_to_cart::before,
  body ul.products li.product.product_cat-zakaz .button::before,
  body ul.products li.product.product_cat-zakaz .add_to_cart_button::before,
  body ul.products li.product.product_cat-zakaz .ajax_add_to_cart::before,
  body ul.products li.product.product_cat-pod-zakaz .button::before,
  body ul.products li.product.product_cat-pod-zakaz .add_to_cart_button::before,
  body ul.products li.product.product_cat-pod-zakaz .ajax_add_to_cart::before,
  body ul.products li.product:has(.sv-zakaz-card-badge) .button::before,
  body ul.products li.product:has(.sv-zakaz-card-badge) .add_to_cart_button::before,
  body ul.products li.product:has(.sv-zakaz-card-badge) .ajax_add_to_cart::before,
  body .woocommerce ul.products li.product:has(.sv-zakaz-card-badge) .button::before,
  body .woocommerce ul.products li.product:has(.sv-zakaz-card-badge) .add_to_cart_button::before,
  body .woocommerce ul.products li.product:has(.sv-zakaz-card-badge) .ajax_add_to_cart::before,
  body .ywcps-wrapper li.product:has(.sv-zakaz-card-badge) .button::before,
  body .ywcps-wrapper li.product:has(.sv-zakaz-card-badge) .add_to_cart_button::before,
  body .ywcps-wrapper li.product:has(.sv-zakaz-card-badge) .ajax_add_to_cart::before,
  body .owl-item li.product:has(.sv-zakaz-card-badge) .button::before,
  body .owl-item li.product:has(.sv-zakaz-card-badge) .add_to_cart_button::before,
  body .owl-item li.product:has(.sv-zakaz-card-badge) .ajax_add_to_cart::before {
    content: "Хочу заказать" !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  /* Счётчик */
  body ul.products li.product .sv-card-qty-control,
  body .woocommerce ul.products li.product .sv-card-qty-control,
  body .ywcps-wrapper li.product .sv-card-qty-control,
  body .owl-item li.product .sv-card-qty-control,
  body.single-product ul.products li.product .sv-card-qty-control {
    width: 100% !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 !important;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    display: grid !important;
    grid-template-columns: 36px 1fr 36px !important;
    align-items: center !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body ul.products li.product .sv-card-qty-control button,
  body .woocommerce ul.products li.product .sv-card-qty-control button,
  body .ywcps-wrapper li.product .sv-card-qty-control button,
  body .owl-item li.product .sv-card-qty-control button,
  body ul.products li.product .sv-card-minus,
  body ul.products li.product .sv-card-plus {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 17px !important;
    line-height: 34px !important;
  }

  body ul.products li.product .sv-card-qty-number,
  body .woocommerce ul.products li.product .sv-card-qty-number,
  body .ywcps-wrapper li.product .sv-card-qty-number,
  body .owl-item li.product .sv-card-qty-number {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    font-size: 13px !important;
    line-height: 34px !important;
  }
}
/* =====================================================
   МОБИЛКА — одинаковый размер текста на кнопках
===================================================== */
@media (max-width: 767px) {

  /* Сама кнопка */
  body ul.products li.product .button,
  body ul.products li.product a.button,
  body ul.products li.product .add_to_cart_button,
  body ul.products li.product .ajax_add_to_cart,
  body .woocommerce ul.products li.product .button,
  body .woocommerce ul.products li.product a.button,
  body .woocommerce ul.products li.product .add_to_cart_button,
  body .woocommerce ul.products li.product .ajax_add_to_cart,
  body .ywcps-wrapper li.product .button,
  body .ywcps-wrapper li.product a.button,
  body .owl-item li.product .button,
  body .owl-item li.product a.button {
    font-size: 0 !important;
    line-height: 1 !important;
  }

  /* Текст на всех кнопках */
  body ul.products li.product .button::before,
  body ul.products li.product a.button::before,
  body ul.products li.product .add_to_cart_button::before,
  body ul.products li.product .ajax_add_to_cart::before,
  body .woocommerce ul.products li.product .button::before,
  body .woocommerce ul.products li.product a.button::before,
  body .woocommerce ul.products li.product .add_to_cart_button::before,
  body .woocommerce ul.products li.product .ajax_add_to_cart::before,
  body .ywcps-wrapper li.product .button::before,
  body .ywcps-wrapper li.product a.button::before,
  body .owl-item li.product .button::before,
  body .owl-item li.product a.button::before {
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  /* Отдельно добиваем "Хочу заказать", чтобы не было крупнее */
  body ul.products li.product.sv-product-preorder .button::before,
  body ul.products li.product.product_cat-zakaz .button::before,
  body ul.products li.product.product_cat-pod-zakaz .button::before,
  body ul.products li.product:has(.sv-zakaz-card-badge) .button::before,
  body .woocommerce ul.products li.product.sv-product-preorder .button::before,
  body .woocommerce ul.products li.product.product_cat-zakaz .button::before,
  body .woocommerce ul.products li.product.product_cat-pod-zakaz .button::before,
  body .woocommerce ul.products li.product:has(.sv-zakaz-card-badge) .button::before,
  body .ywcps-wrapper li.product.sv-product-preorder .button::before,
  body .ywcps-wrapper li.product:has(.sv-zakaz-card-badge) .button::before,
  body .owl-item li.product.sv-product-preorder .button::before,
  body .owl-item li.product:has(.sv-zakaz-card-badge) .button::before {
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
  }
}
/* =====================================================
   МОБИЛКА — финальный размер текста "Добавить в заявку"
===================================================== */
@media (max-width: 767px) {

  body ul.products li.product:not(.sv-product-preorder):not(.sv-is-zakaz):not(.product_cat-zakaz):not(.product_cat-pod-zakaz) .button::before,
  body ul.products li.product:not(.sv-product-preorder):not(.sv-is-zakaz):not(.product_cat-zakaz):not(.product_cat-pod-zakaz) a.button::before,
  body ul.products li.product:not(.sv-product-preorder):not(.sv-is-zakaz):not(.product_cat-zakaz):not(.product_cat-pod-zakaz) .add_to_cart_button::before,
  body ul.products li.product:not(.sv-product-preorder):not(.sv-is-zakaz):not(.product_cat-zakaz):not(.product_cat-pod-zakaz) .ajax_add_to_cart::before,

  body .woocommerce ul.products li.product:not(.sv-product-preorder):not(.sv-is-zakaz):not(.product_cat-zakaz):not(.product_cat-pod-zakaz) .button::before,
  body .woocommerce ul.products li.product:not(.sv-product-preorder):not(.sv-is-zakaz):not(.product_cat-zakaz):not(.product_cat-pod-zakaz) a.button::before,
  body .woocommerce ul.products li.product:not(.sv-product-preorder):not(.sv-is-zakaz):not(.product_cat-zakaz):not(.product_cat-pod-zakaz) .add_to_cart_button::before,
  body .woocommerce ul.products li.product:not(.sv-product-preorder):not(.sv-is-zakaz):not(.product_cat-zakaz):not(.product_cat-pod-zakaz) .ajax_add_to_cart::before,

  body.home .woocommerce ul.products li.product:not(.sv-product-preorder):not(.sv-is-zakaz):not(.product_cat-zakaz):not(.product_cat-pod-zakaz) .button::before,
  body.home .woocommerce-page ul.products li.product:not(.sv-product-preorder):not(.sv-is-zakaz):not(.product_cat-zakaz):not(.product_cat-pod-zakaz) .button::before {
    content: "Добавить в заявку" !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    color: #ffffff !important;
  }
}
/* =====================================================
   Карточки — расстояние между названием и Подробнее/Нет на складе
===================================================== */

/* Если Подробнее выводится через ::after */
body ul.products li.product .woocommerce-loop-product__link::after,
body .woocommerce ul.products li.product .woocommerce-loop-product__link::after,
body .ywcps-wrapper ul.products li.product .woocommerce-loop-product__link::after,
body.single-product .related.products ul.products li.product .woocommerce-loop-product__link::after {
  margin-top: 16px !important;
}

/* Если Подробнее создан как настоящий span */
body ul.products li.product .sv-card-more-link,
body ul.products li.product .sv-real-more,
body .woocommerce ul.products li.product .sv-card-more-link,
body .woocommerce ul.products li.product .sv-real-more,
body .ywcps-wrapper ul.products li.product .sv-card-more-link,
body .ywcps-wrapper ul.products li.product .sv-real-more,
body .owl-item li.product .sv-card-more-link,
body .owl-item li.product .sv-real-more {
  margin-top: 16px !important;
}

/* Под заказ: расстояние между названием и "Товара пока нет на складе" */
body ul.products li.product .sv-zakaz-card-badge,
body .woocommerce ul.products li.product .sv-zakaz-card-badge,
body .ywcps-wrapper ul.products li.product .sv-zakaz-card-badge,
body .owl-item li.product .sv-zakaz-card-badge,
body.single-product .related.products ul.products li.product .sv-zakaz-card-badge {
  margin-top: 16px !important;
}

/* =====================================================
   МОБИЛКА — карточки под заказ без сдвигов и прыжков
===================================================== */
@media (max-width: 767px) {

  html body ul.products li.product .woocommerce-loop-product__title,
  html body .woocommerce ul.products li.product .woocommerce-loop-product__title,
  html body .woocommerce-page ul.products li.product .woocommerce-loop-product__title,
  html body .ywcps-wrapper ul.products li.product .woocommerce-loop-product__title,
  html body .owl-item li.product .woocommerce-loop-product__title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;

    height: auto !important;
    min-height: 0 !important;
    max-height: 2.36em !important;

    margin: 0 0 10px 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    text-align: left !important;
    transform: none !important;
  }

  html body ul.products li.product .sv-zakaz-card-badge,
  html body .woocommerce ul.products li.product .sv-zakaz-card-badge,
  html body .woocommerce-page ul.products li.product .sv-zakaz-card-badge,
  html body .ywcps-wrapper ul.products li.product .sv-zakaz-card-badge,
  html body .owl-item li.product .sv-zakaz-card-badge {
    display: block !important;
    position: static !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 0 0 10px 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: #8A5A00 !important;

    text-align: left !important;
    white-space: normal !important;
    overflow: hidden !important;

    align-self: stretch !important;
    transform: none !important;
    box-sizing: border-box !important;
  }
}
/* =====================================================
   ФИКС — плашка под заказ без сдвига и без прыжка
===================================================== */

body ul.products li.product .sv-zakaz-card-badge,
body .woocommerce ul.products li.product .sv-zakaz-card-badge,
body .woocommerce-page ul.products li.product .sv-zakaz-card-badge,
body .ywcps-wrapper li.product .sv-zakaz-card-badge,
body .owl-item li.product .sv-zakaz-card-badge,
body .swiper-slide li.product .sv-zakaz-card-badge {
  display: block !important;
  position: static !important;

  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;

  margin: 0 0 10px 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  font-family: Inter, sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  color: #8A5A00 !important;

  text-align: left !important;
  white-space: normal !important;
  transform: none !important;
  align-self: stretch !important;
  box-sizing: border-box !important;
}
.sv-single-brand {
  margin: 8px 0 14px 0;
  font-size: 16px;
  line-height: 1.3;
  color: #1E183A;
}

.sv-single-brand strong {
  font-weight: 700;
}