/*
Theme Name: Shopient
Theme URI: https://sellerthemes.com/shopient-free/
Author: Seller Themes
Author URI: https://sellerthemes.com/
Description: Shopient is a WooCommerce multipurpose WordPress theme designed for shopping online stores. Shopient is suitable for eCommerce websites such as fashion, suit, sneaker, shoes, glasses, accessories, supermarket … or anything you want. The theme is built with lots of cool features and fully eCommerce functionalities in Pro version. Visit Shopient pro demo. https://preview.sellerthemes.com/pro/shopient/
Template: storely
Version: 756.3
Tested up to: 6.1.1
Requires PHP: 5.6
License: GPLv3 or later
License URI:  https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: shopient
Slug: shopient
Tags: one-column, two-columns, right-sidebar, flexible-header, custom-background, custom-colors, custom-header, custom-menu,  custom-logo, featured-image-header, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, blog, e-commerce, portfolio, editor-style, grid-layout
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.*/
/* Colors */
:root {
--bs-primary:#f37421;
--bs-primary-dark:#e76800;
--bs-primary-light: #fbf0f0;
--bs-secondary: #484646;
--bs-primary-strips: rgb(243 116 33 / 0.1);}
.header6 .header-search-form .header-search-select{width: 30%;display: inline-block;border: none;float: right;cursor: pointer;min-height: 60px;border-left: 1px solid #3c3939;padding: 14px 29px 14px 19px;-webkit-appearance: none;-moz-appearance: none;outline-offset: -5px;background: url("data:image/svg+xml;utf8,<svg fill='rgb(36 39 46)' height='25' viewBox='0 0 24 24' width='25' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat 92% 16.5px;}
.header6 .above-header {background-color: var(--bs-primary);border-bottom: none;}
.header6 .above-header a{color: var(--bs-white);}
.header6 .main-navigation .user-btn, .header6 .main-navigation .favourite-btn, 
.header6 .main-navigation .arrow-btn, .header6 .main-navigation .header-cart,
.header6 .main-navigation .menu-right-list button.header-cart {color: var(--bs-white);}
.header6 .product-category-browse.active .product-category-btn i{color: var(--bs-primary);}
.header6 .main-navbar .main-menu > li.menu-item:not(.focus):not(.active):not(:hover) > a:not(:focus):not(:hover) {color: var(--bs-white);}
.header6 .header-search-form,.header6 .header-search-form input.header-search-input,
.header6 .header-search-form .header-search-button,.header6 .btn{border-radius: 30px;}
.header6 .header-search-form, .header6 .header-search-form input.header-search-input {background: #484646;border: none;color: #fff;}
.header6 .header-search-form .header-search-select {color: #fff;background: #484646;}
.header6 .header-search-form .header-search-input::placeholder {color: #fff;}
.header6 .menu-right-list.icon-text-wrap li{display: block !important;text-align: -webkit-center;}
.header6 .main-navigation .menu-right-list.icon-text-wrap .icon-txt{font-size: 12px;}
.header6 .main-navigation .menu-right-list.icon-text-wrap .cart-main .icon-txt{display: block;margin-top: 4px;} 
.header6 .main-navigation .menu-right-list.icon-text-wrap .icon-txt{color: var(--bs-white);}
.header6 .header-search-form .header-search-button {padding: 11px 18.46px;background-color: transparent !important;border: 0;right: 10px;color: var(--bs-primary);}
.header6 .above-header .widget_social_widget a:hover, .header6 .above-header .widget_social_widget a:focus {color: var(--bs-primary);background: var(--bs-white);}
.header6 .above-header .widget_social_widget a {background: transparent;border: 1px solid var(--bs-white);}
.slider6 .home-slider-info-wrapper .slider-silde-info .slide-text-title {color: var(--bs-secondary);}
.slider6 .home-slider-info-wrapper .slider-silde-info .slide-text-description {color: var(--bs-primary);}
.high-bg {background-color: #ffffff;color: var(--bs-primary);padding: 5px 10px;}
.slider6 .slider-section .slider-info{min-height: 247px;overflow: hidden;position: relative;z-index: 0;height: 247px;}
.slider6 .slider-section .slider-info img {object-fit: fill;min-height: 197px;height: 100%;width: 100%;transform: scale(1);transition: 1s linear;}
.slider6 .slider-section .slider-info .slide-text.btn-white:hover,
.slider6 .slider-section .slider-info .slide-text.btn-white:focus {color: var(--bs-white);background-color: var(--bs-secondary);}
.slider6 .slider-section .side-slide .col-lg-12:nth-child(2) .slider-info {min-height: 392px;}
.slider6 .slider-section .slider-info >img:hover,.slider6 .slider-section .slider-info >img:focus-within {transform: scale(1.2);}
.slider6 .slider-section .slider-info .slider-area{position: absolute;top: 50%;transform: translateY(-50%);left: 0;padding: 20px 10px 10px 20px;}
.footer-widgets .widget_products li a:before {content: none !important;}
.footer-widgets .widget_products li a {display: contents !important;}
.sidebar .wp-block-woocommerce-mini-cart {padding: 20px 12px;}
.wp-block-button__link {background-color: var(--bs-primary)}
.footer-section figure.wp-block-table table tr, .footer-section figure.wp-block-table figcaption {color: #fff;}
.footer-section figure.wp-block-table table td {border-width: 1px;}
.footer-widgets .widget_text {color: #fff;}
.footer-section ol.wp-block-latest-comments {padding: 0;}
.wp-block-file a.wp-block-file__button {border-radius: 4px;background-color: var(--bs-primary);}
.aligncenter {margin-left: auto;margin-right: auto;}
.sidebar .wp-block-table {padding: 15px;}
.wp-block-table table tr, .wp-block-table table td {border: 1px solid #e8e8e8;text-align: center;}
.sidebar .wp-block-table figcaption {text-align: center;}
.sidebar .widget_block {/* padding: 18px 12px; */}
.post-content .gallery {display: inline-block;}
.wp-block-image figcaption {text-align: center;}
.wp-block-social-links li.wp-social-link {padding: 0;}
.wp-block-social-links li a:before {content: none !important;}
.footer-section .wp-block-social-links li a {padding-left: 0.25rem !important;margin-bottom: 0 !important;}
.header2 .browse-section .widget_calendar table caption {padding-right: 1.75rem;padding-top: 0;padding-bottom: 0;}
.header2 .browse-section .wp-block-calendar, .calendar_wrap {padding: 20px;}
.post-items .post-content .gallery-item .gallery-icon img {width: 100%;}
.footer-section .wp-block-buttons .is-style-outline a.wp-block-button__link {color: var(--bs-primary);border-color: var(--bs-primary);}
.wp-block-embed figcaption {text-align: center;}
.post-section #st-primary-content .wp-block-group {padding: 0 20px;}
.wp-block-group em {color: inherit;}
.is-style-outline .wp-block-button__link {background: transparent !important;}
.has-text-color em,
.has-text-color h2 {color: inherit;}
.infoservice2-section .infoservice-item {display: block;border-radius: 50%;padding: 20px;text-align: center;height: 250px;width: 250px;background: var(--bs-secondary);border: 10px solid var(--bs-gray);color: #fff;transition: 0.5s;text-align: center;margin: auto;}
.infoservice2-section .infoservice-item .infoservice-icon {display: inline-block;}
.infoservice2-section .infoservice-item:hover {background: var(--bs-primary);}
.infoservice2-section .infoservice-item .infoservice-content a{color: #fff;text-decoration:none;}
.sevrice2-wrap button.owl-prev,
.sevrice2-wrap button.owl-next {position: absolute;top: 50%;transform: translate(0,-50%);width: 30px;height: 30px;border-radius: 50px;line-height: 50px;text-align: center;background: var(--bs-white);color: var(--bs-primary);transition: 0.65s;border: 1px solid var(--bs-secondary) !important;}
.sevrice2-wrap button.owl-next {right: 0;}
.sevrice2-wrap button.owl-prev{left: 0;}
.sevrice2-wrap button.owl-prev:hover, .sevrice2-wrap button.owl-prev:focus,
.sevrice2-wrap button.owl-next:hover, .sevrice2-wrap button.owl-next:focus {background: var(--bs-primary);color: var(--bs-white);}
.infoservice2-section .infoservice-item:hover .infoservice-icon {color: var(--bs-white);}
.infoservice2-section .infoservice-item{position: relative;z-index:1;}
.infoservice2-section .infoservice-item:before {content: '';position: absolute;inset: 10px;background: rgba(255 255 255 / 50%);border-radius: 100%;visibility: hidden;transition: 0.65s;-webkit-animation: linear infinite;-webkit-animation-name: slidein;-webkit-animation-duration: 3s;z-index: -1;}
@keyframes slidein {
0% {transform: translateY(20%) translateX(-20%);}
40% {transform: translateY(-20%) translateX(20%);}
60% {transform: translateY(-20%) translateX(-20%);}
80% {transform: translateY(20%) translateX(20%);}
100% {transform: translateY(20%) translateX(-20%);}
}
.infoservice2-section .infoservice-item:hover:before,
.infoservice2-section .infoservice-item:focus:before{visibility: visible;}
.infoservice2-section .infoservice-item:hover .infoservice-icon>img, .infoservice2-section .infoservice-item:focus .infoservice-icon>img {animation: shake 3s infinite;}
@keyframes shake {
10%, 90% {transform: translate3d(-1px, 0, 0);}
20%, 80% {transform: translate3d(2px, 0, 0);}
30%, 50%, 70% {transform: translate3d(-4px, 0, 0);}
40%, 60% {transform: translate3d(4px, 0, 0);}
}
.infoservice2-section .infoservice-item {border: 15px solid var(--bs-gray);padding: 30px 0;}
.header6 .widget-left .widget {border-right: 1px solid #eb9f9f;}
.header6 .widget-right .widget {border-left: 1px solid #eb9f9f;}
.slider6 .slider-area .tns-nav [class*="tns-"] {border-radius: 100%;}
.slider6 .slider-bottom-info {padding-top: 6px;}
.slider6 .slider-bottom-info .col-lg-6:first-child {padding-right: 0;}
.header6 .main-navbar .main-menu > li:before{content:'';width:40px;height:40px;border-radius:20px;background-color:rgb(255 115 1 / 0.3);position:absolute;left:0%;top:50%;transform:translate(0, -50%);visibility:hidden;}
.header6 .main-navbar .main-menu > li:hover:before,
.header6 .main-navbar .main-menu > li.focus:before,
.header6 .main-navbar .main-menu .menu-item.active:before{visibility:visible;}
.header6 #above-header {z-index: 0;} 
.header6 .main-header,
.header6 .is-sticky-menu.main-navigation{background-color: var(--bs-secondary);}
.header6 .main-mobile-nav {background: var(--bs-secondary);}
.header6 .hamburger-menu div,
.header6 .header-above-collapse span, .header6 .header-above-collapse span:before, .header6 .header-above-collapse span:after {background: var(--bs-white);}
.header6 .header-above-collapse {border: 1px solid var(--bs-white);color: var(--bs-white);}
.header6 .main-mobile-nav button.header-close-menu:hover, .header6 .main-mobile-nav button.header-close-menu:focus, 
.header6 .header-above-btn button.header-above-collapse:hover, .header6 .header-above-btn button.header-above-collapse:focus, 
.header6 .header-above-btn button.header-above-collapse.is-active, .header6 .hamburger-menu button.menu-collapsed:hover, .header6 .hamburger-menu button.menu-collapsed:focus, span.menu-collapsed:hover, span.menu-collapsed:focus {background-color: var(--bs-secondary);}
.has-text-color a:hover, 
.has-text-color a:focus {color: inherit;}
.wp-block-pullquote.has-text-color blockquote {border-color: inherit !important;}
.wp-block-calendar table caption {font-weight: 500;}
.wp-block-avatar img {border-radius: 50%;}
.sidebar form.wp-block-search{padding: 0;}
.sidebar .wp-block-search__label{border-bottom: 2px solid var(--bs-primary);font-size: 18px;font-weight: 600;}
.sidebar .wp-block-search__label, .sidebar .wp-block-search__inside-wrapper{padding: 20px 12px;}
.sidebar .wp-block-search__inside-wrapper{position: relative;}
.sidebar .wp-block-search__button{position: absolute;right: 12px;top: 20px;padding: 12px 5px;}
.sidebar form.wp-block-search{padding: 0;}
.sidebar .wp-block-search__label{border-bottom: 2px solid var(--bs-primary);font-size: 18px;font-weight: 600;}
.sidebar .wp-block-search__label, .sidebar .wp-block-search__inside-wrapper{padding: 20px 12px;}
.sidebar .wp-block-search__inside-wrapper{position: relative;}
.sidebar .wp-block-search__button{position: absolute;right: 12px;top: 20px;padding: 12px 5px;}
.wp-block-image figcaption {margin-bottom: 0;}
.menu-collapsed {width: inherit;height: inherit;display: block;padding: 0.55em 0.47em 1.3em;min-height:40px;position: relative;z-index: 1;border-radius: 5px;border: 1px solid #ffffff;background: transparent !important;}
/* inline styles from storely */
.breadcrumb-content{min-height:175px;}
.breadcrumb-area {background-image: url(https://itb-trade.ru/wp-content/themes/storely/assets/images/badcrumb_bg.png);background-attachment: fixed;}
.breadcrumb-area:before {content: '';position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: -1;background-color: #fef7f2;opacity: 0.1;}
.footer-section{background:url(https://itb-trade.ru/wp-content/uploads/2023/03/new_bg_3.jpg) no-repeat fixed center center / cover rgb(0 0 0 / 0.75);background-blend-mode:multiply;}
body{font-weight: inherit;text-transform: inherit;font-style: inherit;text-decoration: none;}
h1 {font-size: 32px; font-weight: 700; text-transform: inherit; font-style: inherit; text-decoration: inherit;}
h2 { font-size: 28px;} @media (max-width:768px) {h2 { font-size: 32px;} } @media (max-width:480px) {h2 { font-size: 32px;} }  h2{  font-weight: 700; text-transform: inherit; font-style: inherit; text-decoration: inherit;}
h3 { font-size: 24px;} @media (max-width:768px) {h3 { font-size: 28px;} } @media (max-width:480px) {h3 { font-size: 28px;} }  h3{  font-weight: 700; text-transform: inherit; font-style: inherit; text-decoration: inherit;}
h4 { font-size: 20px;} @media (max-width:768px) {h4 { font-size: 24px;} } @media (max-width:480px) {h4 { font-size: 24px;} }  h4{  font-weight: 700; text-transform: inherit; font-style: inherit; text-decoration: inherit;}
h5 { font-size: 18px;} @media (max-width:768px) {h5 { font-size: 20px;} } @media (max-width:480px) {h5 { font-size: 20px;} }  h5{  font-weight: 700; text-transform: inherit; font-style: inherit; text-decoration: inherit;}
h6 { font-size: 16px;} @media (max-width:768px) {h6 { font-size: 16px;} } @media (max-width:480px) {h6 { font-size: 16px;} }  h6{  font-weight: 700; text-transform: inherit; font-style: inherit; text-decoration: inherit;}
.woocommerce-product-gallery{ opacity: 1 !important; }
.woocommerce form .form-row .required { visibility: visible; }
.woocommerce ul.products li.product .woocommerce-loop-category__title,.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce ul.products li.product h2{padding:.5em 0;margin:0;font-size:1em}

/* ===================== new styles from settings ==========================*/
body {font-size: 17px;}
.solution-list li {
    color: #484646;
    font-size: 18px;
    font-weight: bolder;
}
.solution-list li::marker {
    color: #f37422;
}
.solution-list {
    list-style-type: square;
    margin-left: 0;
    padding-left: 15px;
}
h2.h2-solution {text-align:center !important;}
/* Обертка для хлебных крошек */
.custom-breadcrumbs-wrapper {margin-top: 25px !important; margin-bottom: 0px !important; padding-bottom: 0px !important; padding-left: 20px; padding-right: 15px;
}
.rank-math-breadcrumb {
    font-size: 12px !important;
    color: #777777 !important;
}
.st-py-full {
    padding: 30px 0;
}
p.p-center {text-align: center !important;padding-top:10px;}
h2.wp-block-heading {
    margin-top: 20px !important;
    margin-left: 20px !important;
}
.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h2 {font-size: 16px !important;text-align: left !important;}
.product-single * {
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
.product-single {background-color:#f9f9f9; border: 0px #f9f9f9 !important; background-color: #f9f9f9 !important; border: none !important; box-shadow: none !important;}
.woocommerce ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
}
.product-single {
    min-height: 420px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}
.header-search-form select.header-search-select {width:45% !important;} .header-search-form input.header-search-input {width:55% !important} .header-search-select {font-size: 15px;} ul.main-menu > li.menu-item > a {font-size: 0.8em !important;} .dropdown-menu .nav-link-text {font-size: 0.8em !important;}
.custom_button {
width: 400px;
min-width: 300px;
text-decoration: inherit;
padding: 19px 0px 19px 0px;
background-color: #f37422;
font-size: 16px;
font-weight: 700;
color: #ffffff;
border-style: none;
border-radius: 15px 15px 15px 15px;
text-align: center;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
margin: 0 auto;}
.custom_button:hover{color: #ffffff;}
.wp-video {display: inline-block; margin: 0 auto;}
.two-col{
display:flex;
gap:var(--gap);
align-items:stretch; /* равная высота карточек */
}
.col{
background:var(--card-bg);
border-radius:var(--radius);
padding:var(--pad);
box-shadow:0 6px 18px rgba(16,24,40,0.06);
flex:1 1 0%; /* равномерный рост/сжатие */
min-width:0; /* важно для обрезки длинного контента */
}
/* Пример заголовка и контента */
h2 {margin:0 0 12px 0; font-size:24px !important;}
h3 {font-size:24px !important;}
.col p{margin:0; line-height:1.5}
/* Контейнер-обёртка для демонстрации ширины */
.info{margin-bottom:16px; font-size:14px; color:#374151}
/* --- Адаптив: на узких экранах ставим колонки друг под другом --- */
@media (max-width: 768px){
.two-col{
flex-direction:column;
}
.two-col .col{
width:100%;
}
}
/* Доп: небольшой отступ между карточками на мобайле */
@media (max-width: 420px){
.wrapper{padding:12px}
.col{padding:16px}
}
/* FAQ - Обращаемся только к h3, которые находятся внутри тега summary */
summary h3 {
    display: inline;      /* Позволяет заголовку стоять в одной строке со стрелкой */
    margin: 0;           /* Убирает лишние отступы, которые могут смещать строку */
    padding: 0;          /* Обнуляет внутренние поля */
    font-size: 1em;      /* Наследует размер родителя, чтобы не ломать верстку */
    vertical-align: middle; /* Выравнивает текст по центру относительно стрелки */
}
/* Дополнительно для самого summary, чтобы стрелочка и текст были на одной линии */
summary {
    display: list-item;  /* Возвращает стандартную стрелочку в некоторых браузерах */
    outline: none;       /* Убирает синюю рамку при клике */
}
/* Применяем ко всем аккордеонам на странице */
details {
    cursor: pointer;
    margin-bottom: 0;
    border-bottom: 1px solid #e0e0e0 !important;
    padding: 10px 0;
}
details summary {
    outline: none;
    font-weight: 500;
}
/* Авто-настройка для H3 внутри любого summary */
details summary h3 {
    display: inline !important;
    margin: 0 !important;
    font-size: 1.1em !important;
    vertical-align: middle;
}
/* Авто-настройка для блока с ответом */
details div {
    padding: 15px 0;
}
/* Область фото в новостях на главной */
.home .featured-image {
    height: 300px;
    overflow: hidden;
}
.home .featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
h1.product_title {font-size:25px !important;}
/* ==========================================================================
   ОФОРМЛЕНИЕ ТАБЛИЦЫ ХАРАКТЕРИСТИК (ПОД ОПИСАНИЕМ)
   ========================================================================== */
/* 1. Основной контейнер блока характеристик (который мы задали в functions.php) */
.custom-attributes-wrapper {
    background-color: #ececef !important; 
    padding: 40px !important;
    margin-top: 25px !important;
    margin-bottom: 30px !important;
}
/* Добавим заголовок над таблицей, если нужно (стилизуем обертку) */
.custom-attributes-wrapper::before {
    content: "Характеристики"; /* Если хотите выводить заголовок автоматом через CSS */
    display: block;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #222;
}
/* 2. Сама таблица WooCommerce */
.custom-attributes-wrapper table.woocommerce-product-attributes {
    border-collapse: collapse !important;
    border: 1px solid #d1d1d1 !important;
    background: transparent !important;
    width: 100% !important;
    margin: 0 !important;
}
/* Убираем стандартную "полосатость" строк темы Shopient/Woo */
.custom-attributes-wrapper tr.woocommerce-product-attributes-item,
.custom-attributes-wrapper tr.woocommerce-product-attributes-item:nth-child(even) {
    background: transparent !important;
    border: none !important;
}
/* 3. Оформление ячеек (универсальные стили для обеих колонок - th и td) */
.custom-attributes-wrapper .woocommerce-product-attributes-item__label,
.custom-attributes-wrapper .woocommerce-product-attributes-item__value {
    font-size: 14px !important;
    font-weight: normal !important;
    font-style: normal !important;
    color: #070707 !important;
    line-height: 1.4 !important;
    padding: 12px 20px !important;
    border: 1px solid #d1d1d1 !important;
    background: transparent !important;
    text-align: left !important;
    vertical-align: middle !important;
}
/* 4. Специфические правочки для левой колонки (названия атрибутов) */
.custom-attributes-wrapper .woocommerce-product-attributes-item__label {
    width: 40% !important;
    color: #070707 !important; /* Делаем чуть темнее правой, чтобы визуально отделить */
    font-weight: 500 !important;
}
/* ==========================================================================
   АДАПТИВНОСТЬ ПОД МОБИЛЬНЫЕ (ЭКРАНЫ ДО 767px)
   ========================================================================== */
@media (max-width: 767px) {
    .custom-attributes-wrapper {
        padding: 15px !important;
        margin-top: 15px !important;
    }
.custom-attributes-wrapper .woocommerce-product-attributes-item__label,
.custom-attributes-wrapper .woocommerce-product-attributes-item__value {
        width: 50% !important; 
        box-sizing: border-box !important;
        padding: 10px !important;
        font-size: 13px !important;
    }
}
/* Для галереи*/
/* Контейнер-обертка для гибкой разметки флексов */
.custom-gallery-container {
    width: 100%;
    clear: both;
    margin-bottom: 30px;
}
/* Сама сетка плитки */
.custom-gallery {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
/* ЛЕВАЯ КОЛОНКА (Главная большая картинка) */
.custom-gallery .gallery-left {
    flex: 0 0 calc(66.66% - 10px); /* 2/3 ширины минус часть отступа */
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
/* ПРАВАЯ КОЛОНКА (Вертикальный стек) */
.custom-gallery .gallery-right {
    flex: 0 0 calc(33.33% - 5px); /* 1/3 ширины минус остаток отступа */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* Верхняя картинка в правой колонке */
.custom-gallery .gallery-top {
    margin-bottom: 15px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
/* Нижняя сетка из 2-х картинок рядом */
.custom-gallery .gallery-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    flex-grow: 1;
}
/* Универсальные правила адаптации картинок под контейнеры */
.custom-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Адаптив под мобильные устройства: выстраиваем всё в один вертикальный ряд */
@media (max-width: 767px) {
    .custom-gallery {
        flex-direction: column;
        gap: 15px;
    }
    .custom-gallery .gallery-left,
    .custom-gallery .gallery-right {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
    .custom-gallery .gallery-top {
        margin-bottom: 15px;
    }
}
/* Обращаемся напрямую к контейнерам суммы и тегу изоляции валюты */
.woocommerce div.product p.price .woocommerce-Price-amount,
.woocommerce div.product p.price bdi,
.woocommerce div.product span.price .woocommerce-Price-amount,
.woocommerce div.product span.price bdi {font-family:Verdana, sans-serif; font-size: 24px; color: #e47c02 !important; font-weight: 900 !important;}
.single-product .product p.price {padding-top:10px !important; padding-bottom:10px !important;}
.woocommerce-Price-currencySymbol {font-family:Verdana, sans-serif; font-size: 1.1em;font-weight:bold;}
/* ==========================================================================
   1. КОНТЕЙНЕР ФОРМЫ (ВЫБОР КОЛИЧЕСТВА + КНОПКА В ОДИН РЯД)
   ========================================================================== */
/* Только карточка товара */
.woocommerce div.product form.cart {
    display: flex !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    gap: 15px !important;
    width: 100% !important;
    margin-top: 20px !important;
}
.woocommerce div.product form.cart .quantity {
    display: inline-flex !important;
    align-items: stretch !important;
    margin: 0 !important;
    vertical-align: top !important;
    flex: 0 0 auto !important;
    border: 1px solid #d1d1d1 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    height: 58px !important;
    background: #ffffff !important;
}
/* Полная защита от влияния на корзину */
.woocommerce-cart .quantity,
.woocommerce-cart .quantity * {
    all: unset;
}
/* Затем заново стилизуем quantity в корзине */
.woocommerce-cart .quantity {
    display: inline-flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    margin: 0 !important;
    border: 1px solid #d1d1d1 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    height: 58px !important;
    background: #ffffff !important;
    width: 110px !important;
}
.woocommerce-cart .quantity .minus-qty,
.woocommerce-cart .quantity .plus-qty {
    width: 34px !important;
    height: 100% !important;
    line-height: 58px !important;
    border: 0 !important;
    background: #fff !important;
    font-size: 22px !important;
    cursor: pointer !important;
}
.woocommerce-cart .quantity .qty {
    width: 42px !important;
    height: 100% !important;
    border: 0 !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 18px !important;
    appearance: textfield !important;
}
.woocommerce-cart .quantity .qty::-webkit-outer-spin-button,
.woocommerce-cart .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}
/* Скрыть текстовые подписи количества в корзине */
.woocommerce-cart .product-quantity > label,
.woocommerce-cart .product-quantity .screen-reader-text {
    display: none !important;
}
/* Если тема выводит текст внутри ячейки quantity */
.woocommerce-cart td.product-quantity {
    font-size: 0 !important;
}
/* Но сам quantity-блок оставить видимым */
.woocommerce-cart td.product-quantity .quantity,
.woocommerce-cart td.product-quantity .quantity * {
    font-size: 16px !important;
}
/* ==========================================================================
   2. САМА КНОПКА "В КОРЗИНУ"
   ========================================================================== */
.woocommerce div.product button.single_add_to_cart_button.button.alt {
    padding: 18px 40px !important; 
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    vertical-align: top !important;
    background-color: #e47c02 !important;
    color: #ffffff !important;
    flex: 1 1 auto !important;
    width: auto !important; 
    display: inline-block !important;
    text-align: center !important;
    text-transform: none !important;
    border-radius: 4px !important;
    border: none !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease-in-out !important;
}
/* Эффект при наведении на кнопку */
.woocommerce div.product button.single_add_to_cart_button.button.alt:hover {
    background-color: #c66b02 !important;
    cursor: pointer !important;
}
/* ==========================================================================
   3. КНОПКИ МИНУС И ПЛЮС (НА ЧИСТОМ БЕЛОМ ФОНЕ)
   ========================================================================== */
.woocommerce .quantity .minus-qty,
.woocommerce .quantity .plus-qty {
    width: 45px !important;
    background-color: #ffffff !important; /* Исходный белый фон */
    color: #222222 !important;
    font-size: 20px !important;
    font-weight: normal !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    transition: background-color 0.2s ease !important;
}
/* Аккуратные внутренние разделители: только на кнопках! */
.woocommerce .quantity .minus-qty {
    border: none !important;
    border-right: 1px solid #d1d1d1 !important; /* Линия только справа от минуса */
}
.woocommerce .quantity .plus-qty {
    border: none !important;
    border-left: 1px solid #d1d1d1 !important;  /* Линия только слева от плюса */
}
/* Эффект при наведении на плюс/минус */
.woocommerce .quantity .minus-qty:hover,
.woocommerce .quantity .plus-qty:hover {
    background-color: #f7f7f9 !important; /* Едва заметный серый оттенок при наведении */
}
/* ==========================================================================
   4. ПОЛЕ ВВОДА ЦИФРЫ (СКРЫВАЕМ СТРЕЛКИ И ВНУТРЕННИЕ БОРДЕРЫ)
   ========================================================================== */
/* Прячем стандартные стрелки */
.woocommerce .quantity input::-webkit-outer-spin-button,
.woocommerce .quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}
.woocommerce .quantity input[type=number] {
    -moz-appearance: textfield !important;
}
/* Само поле с цифрой */
.woocommerce div.product form.cart .quantity .qty {
    width: 50px !important;
    height: 100% !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #222222 !important;
    padding: 0 !important;
    background: #ffffff !important;
}
/* ==========================================================================
   5. ЖЕСТКОЕ УНИЧТОЖЕНИЕ ПУНКТИРА (OUTLINE / FOCUS) ДЛЯ ВСЕХ БРАУЗЕРОВ
   ========================================================================== */
/* Универсальный сброс фокуса и активного состояния */
.woocommerce .quantity button:focus,
.woocommerce .quantity button:active,
.woocommerce .quantity button:hover,
.woocommerce .quantity input:focus,
.woocommerce .quantity input:active {
    outline: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}
/* Лечим специфический баг пунктирной рамки в Firefox */
.woocommerce .quantity button::-moz-focus-inner,
.woocommerce .quantity input::-moz-focus-inner {
    border: 0 !important;
    padding: 0 !important;
}
/* ==========================================================================
   6. ИСПРАВЛЕННАЯ АДАПТИВНОСТЬ ДЛЯ КНОПОК ОПЛАТЫ (МОБИЛЬНЫЕ ДО 480px)
   ========================================================================== */
@media (max-width: 480px) {
    /* Форма переносит блоки друг под друга */
    .woocommerce div.product form.cart {
        flex-wrap: wrap !important;
    }
    /* Кнопка "В корзину" занимает всю ширину */
    .woocommerce div.product button.single_add_to_cart_button.button.alt {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
    /* Окошко количества тоже на всю ширину, но внутри становится строгим флексом */
    .woocommerce div.product form.cart .quantity {
        flex: 0 0 100% !important;
        width: 100% !important;
        display: flex !important; /* Насильно включаем флекс для внутренних элементов */
        justify-content: space-between !important;
    }
    /* Задаем жесткие пропорции внутренним кнопкам на мобильных */
    .woocommerce .quantity .minus-qty,
    .woocommerce .quantity .plus-qty {
        flex: 0 0 60px !important; /* Увеличиваем кнопки минус/плюс для удобного нажатия пальцем */
        width: 60px !important;
        height: 100% !important;
    }
    .woocommerce div.product form.cart .quantity .qty {
        flex: 1 1 auto !important; 
        width: auto !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        text-align: center !important;
        line-height: 58px !important;
    }
/* Центральное поле ввода цифры */
    .woocommerce div.product form.cart .quantity .qty {
        flex: 1 1 auto !important; 
        width: auto !important;
        height: 58px !important;
        min-height: 58px !important;
        line-height: 58px !important; 
        padding: 0 !important;
        margin: 0 !important;
        -webkit-appearance: none !important;
        -moz-appearance: textfield !important;
        appearance: none !important;
        display: block !important;
        text-align: center !important;
        vertical-align: middle !important;
    }
}
/* Настройка раскрыавющегося блока */
/* Убираем стандартную стрелку */
.show-more {
    list-style: none;
    display: block;
    width: 100%;
    text-align: right;
    color: #f58220;
    cursor: pointer;
    font-weight: 300;
    margin: 10px 0;
}
/* скрываем стандартный маркер */
.show-more::-webkit-details-marker {
    display: none;
}
/* базовый текст (свернуто) */
.show-more::before {
    content: "Развернуть описание ↓";
}
/* текст при раскрытом состоянии */
details[open] .show-more::before {
    content: "Свернуть описание ↑";
}
/* отступ после раскрытия */
.hidden-content[open] .hidden-content-inner {
    margin-top: 15px;
}
details.hidden-content {border-bottom: 0px !important;}
/* Адаптируем изображения в паттерне к мобильным экранам */
@media (max-width: 600px) {
    .wp-block-media-text.is-stacked-on-mobile {
        grid-template-columns: 1fr !important;
    }
    .wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__media {
        grid-column: 1;
        grid-row: 1;
        text-align: center;
    }
/* управление размером картинки */
.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media img {
        width: 30%;
        height: auto;
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }
    .wp-block-media-text.is-stacked-on-mobile {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    /* Центрируем текстовый блок */
    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
        text-align: center;
    }
    /* Центрируем абзацы и убираем стандартные отступы */
    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content p {
        margin-left: auto;
        margin-right: auto;
    }
}
/* ==========================================================================
   ГАЛЕРЕЯ ТОВАРА: КНОПКА-ТРИГГЕР И МОДАЛЬНОЕ ОКНО BOOTSTRAP
   ========================================================================== */
/* 1. Кнопка "+ Ещё фото" на 4-й картинке плитки */
.gallery-item-overlay {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
}
.gallery-more-trigger {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    z-index: 9;
    cursor: pointer;
}
/* 2. Фикс слоев z-index (чтобы темный фон не перекрывал клики и кнопки) */
.modal-backdrop {
    z-index: 999990 !important;
}
#bootstrapGalleryModal {
    z-index: 999999 !important;
}
#bootstrapGalleryModal .modal-body {
    padding: 0 20px 20px 20px !important;
}
/* 3. Управление стрелками слайдера (видимость и кликабельность) */
#bootstrapGalleryModal .carousel-control-prev,
#bootstrapGalleryModal .carousel-control-next {
    opacity: 0.8 !important;
    z-index: 1000000 !important;
}
#bootstrapGalleryModal .carousel-control-prev:hover,
#bootstrapGalleryModal .carousel-control-next:hover {
    opacity: 1 !important;
}
/* SVG-иконки для стрелок (белые, четкие) */
#bootstrapGalleryModal .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/\%3E%3C/svg%3E") !important;
}
#bootstrapGalleryModal .carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/\%3E%3C/svg%3E") !important;
}
/* 4. Кнопка закрытия модалки (крестик) — Увеличенная зона клика */
#bootstrapGalleryModal .close {
    position: absolute !important;
    top: 10px !important;
    right: 15px !important;
    font-size: 42px !important; 
    line-height: 1 !important;
    color: #ffffff !important;
    opacity: 0.6 !important;
    background: transparent !important;
    border: none !important;
    padding: 20px !important;         
    margin: -20px !important;
    cursor: pointer !important;
    z-index: 1000002 !important;
    transition: all 0.2s ease;
}
/* Эффект при наведении на крестик и всю зону вокруг него */
#bootstrapGalleryModal .close:hover {
    color: #f58220 !important;
    opacity: 1 !important;
    transform: scale(1.1);
}
/* Стабилизация размеров слайдера и центрирование изображений */
#bootstrapGalleryModal .carousel-inner {
    height: 75vh !important;
    background-color: #111111;
    position: relative;
}
#bootstrapGalleryModal .carousel-item {
    height: 100% !important;
    width: 100% !important;
    text-align: center;
}
#bootstrapGalleryModal .carousel-item img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    object-fit: contain !important;
}
/* Отключение эффекта смены картинок при наведении в каталоге */
.product-img img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}
.product-single:hover .product-img img {
    opacity: 1 !important;
    transform: none !important;
}
/* На всякий случай полностью скрываем класс .info, если он где-то остался */
.product-img img.info {display: none !important;}
.belyj_fon {background: #ffffff !important; padding:40px 40px 40px 40px;}
.product-features {padding-top:40px; padding-bottom: 40px;}
.product-custom-features wrap {margin-top: 0px !important; margin-bottom: 0px !important; clear: both; width: 100%;}
.woocommerce div.product .woocommerce-tabs ul.tabs {padding-top: 5px !important;}
.woocommerce div.product .woocommerce-tabs .panel {padding: 0px 0px !important;}
body.single-product {background-color: #f3f4f7 !important;}
/* WooCommerce variable product layout */
.single-product form.variations_form.cart {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* Блок с вариациями — на отдельной строке */
.single-product form.variations_form.cart .variations {
  width: 100%;
  margin: 0;
}
.single-product form.variations_form.cart .variations tbody,
.single-product form.variations_form.cart .variations tr {
  display: block;
  width: 100%;
}
.single-product form.variations_form.cart .variations th,
.single-product form.variations_form.cart .variations td {
  display: block;
  width: 100%;
  padding: 0;
}
/* Переносим buy button и quantity на новую строку */
.single-product form.variations_form.cart .single_variation_wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.single-product form.variations_form.cart .woocommerce-variation {
  width: 100%;
  order: 1;
}
.single-product form.variations_form.cart .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
  order: 2;
}
/* Quantity и button на новой строке под селектом */
.single-product form.variations_form.cart .quantity {
  margin: 0;
}
.single-product form.variations_form.cart .single_add_to_cart_button {
  margin-top: 0;
}
/* На узких экранах дополнительно выравниваем */
@media (max-width: 767px) {
  .single-product form.variations_form.cart .woocommerce-variation-add-to-cart {
    flex-direction: column;
    align-items: stretch;
  }
  .single-product form.variations_form.cart .quantity,
  .single-product form.variations_form.cart .single_add_to_cart_button {
    width: 100%;
  }
}
/* Только на странице товара */
.single-product form.variations_form.cart {
  margin: 0;
}
/* Уменьшаем отступы сверху/снизу у блока вариаций */
.single-product form.variations_form.cart table.variations {
  margin: 0 0 0px !important;
  border: 0 !important;
}
.single-product form.variations_form.cart table.variations tr,
.single-product form.variations_form.cart table.variations td,
.single-product form.variations_form.cart table.variations th {
  border: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  vertical-align: middle;
}
/* Название атрибута и поле выбора — в одну линию */
.single-product form.variations_form.cart table.variations tr {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}
.single-product form.variations_form.cart table.variations th.label {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  width: auto;
  white-space: nowrap;
}
.single-product form.variations_form.cart table.variations td.value {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
}
/* Сам select и кнопка "Очистить" в одну строку */
.single-product form.variations_form.cart table.variations td.value {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.single-product form.variations_form.cart table.variations td.value select {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}
/* Кнопка очистить — маленькая, как иконка */
.single-product form.variations_form.cart a.reset_variations {
  flex: 0 0 auto;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px;
  min-height: 24px;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-indent: -9999px;
  white-space: nowrap;
  position: relative;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
/* Если у ссылки внутри есть текст, скрываем его */
.single-product form.variations_form.cart a.reset_variations::before {
  content: "×";
  text-indent: 0;
  display: block;
  font-size: 18px;
  line-height: 1;
  color: #d00;
  font-weight: 700;
}
/* Убираем серые линии-разделители вокруг блока */
.single-product form.variations_form.cart .single_variation_wrap {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.single-product form.variations_form.cart .woocommerce-variation {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.single-product form.variations_form.cart .woocommerce-variation-add-to-cart {
  margin-top: 0px !important;
  padding-top: 0 !important;
  border: 0 !important;
}
/* Если тема добавляет линии/отступы вокруг price/qty/button */
.single-product form.variations_form.cart .woocommerce-variation-price,
.single-product form.variations_form.cart .price {
  margin-bottom: 0 !important;
}
/* Мобильная адаптация */
@media (max-width: 767px) {
  .single-product form.variations_form.cart table.variations tr {
    flex-wrap: wrap;
  }
  .single-product form.variations_form.cart table.variations td.value {
    width: 100%;
  }
  .single-product form.variations_form.cart a.reset_variations {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px;
    min-height: 22px;
  }
}
.woocommerce div.product form.cart.variations_form {border-color: transparent !important; padding: 0 0 !important; }
/* Категории / архив WooCommerce */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .woocommerce-Price-amount,
.woocommerce ul.products li.product .price bdi {
  font-size: 16px !important;
  line-height: 1.2 !important;
}
/* Если показывается диапазон цен у вариативного товара */
.woocommerce ul.products li.product .price {
  display: inline-block;
  white-space: normal;
}
/* Центрируем заголовок */
.woocommerce ul.products li.product .product-content h2 {
  text-align: center !important;
  margin: 0 0 8px !important;
}
.woocommerce ul.products li.product .product-content h2 a {
  display: inline-block;
  text-align: center !important;
}
/* Обнуляем паразитный отступ у внутренней панели описания */
.woocommerce div.product .woocommerce-tabs .panel {
    margin-top: 0px !important;
}
/***************************************** Изменения только для товаров с ID 197, 217 .... */
/* Возвращаем правильные отступы нашей белой карточке описания (.belyj_fon) */
.single-product .belyj_fon {
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 0px !important;
    margin-bottom: 50px !important;
}
/* Настраиваем серый блок характеристик */
.single-product .custom-attributes-wrapper {
    width: 100% !important; 
    box-sizing: border-box !important; 
    margin-top: 0px !important; 
    margin-bottom: 40px !important;
}
/* Корректируем картинку, чтобы она не растягивалась и не искажалась */
.custom-single-featured-image img {
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: contain;
}
/* ==========================================================================
   ИСПРАВЛЕННАЯ СЕТКА И БЕЛАЯ КАРТОЧКА ТОВАРА
   ========================================================================== */
/* Главная обертка, в которой лежит вообще всё */
#product-197.product, #product-217.product, #product-201.product, #product-814.product, #product-1154.product, #product-52.product, #product-1895.product, #product-203.product, #product-1391.product, #product-1747.product, #product-211.product, #product-1515.product, #product-1307.product, #product-205.product, #product-209.product, #product-1169.product, #product-514.product, #product-520.product, #product-207.product, #product-213.product, #product-1791.product, #product-504.product, #product-863.product, #product-860.product, #product-1057.product, #product-48.product, #product-49.product, #product-879.product, #product-1319.product, #product-50.product, #product-171.product, #product-1072.product, #product-855.product, #product-175.product, #product-177.product, #product-181.product, #product-183.product, #product-185.product, #product-1052.product, #product-187.product, #product-850.product, #product-179.product, #product-173.product, #product-659.product, #product-1798.product, #product-1223.product, #product-1504.product, #product-192.product, #product-1222.product, #product-1217.product, #product-1797.product, #product-1323.product, #product-1237.product, #product-51.product, #product-195.product {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    position: relative !important;
    width: 100% !important;
    clear: both !important;
}
/* 1. БЕЛАЯ ПОДЛОЖКА для фото и краткого описания */
#product-197.product::before, #product-217.product::before, #product-201.product::before, #product-814.product::before, #product-1154.product::before, #product-52.product::before, #product-1895.product::before, #product-203.product::before, #product-1391.product::before, #product-1747.product::before, #product-211.product::before, #product-1515.product::before, #product-1307.product::before, #product-205.product::before, #product-209.product::before, #product-1169.product::before, #product-514.product::before, #product-520.product::before, #product-207.product::before, #product-213.product::before, #product-1791.product::before, #product-504.product::before, #product-863.product::before, #product-860.product::before, #product-1057.product::before, #product-48.product::before, #product-49.product::before, #product-879.product::before, #product-1319.product::before, #product-50.product::before, #product-171.product::before, #product-1072.product::before, #product-855.product::before, #product-175.product::before, #product-177.product::before, #product-181.product::before, #product-183.product::before, #product-185.product::before, #product-1052.product::before, #product-187.product::before, #product-850.product::before, #product-179.product::before, #product-173.product::before, #product-659.product::before, #product-1798.product::before, #product-1223.product::before, #product-1504.product::before, #product-192.product::before, #product-1222.product::before, #product-1217.product::before, #product-1797.product::before, #product-1323.product::before, #product-1237.product::before, #product-51.product::before, #product-195.product::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100% - 100% + 630px) !important; 
    min-height: 630px !important; 
    background-color: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    z-index: 1 !important;
}
/* Делаем так, чтобы контент был выше белой подложки */
#product-197 > div, #product-197 > form, #product-217 > div, #product-217 > form, #product-201 > div, #product-201 > form, #product-814 > div, #product-814 > form, #product-1154 > div, #product-1154 > form, #product-52 > div, #product-52 > form, #product-1895 > div, #product-1895 > form, #product-203 > div, #product-203 > form, #product-1391 > div, #product-1391 > form, #product-1747 > div, #product-1747 > form, #product-211 > div, #product-211 > form, #product-1515 > div, #product-1515 > form, #product-1307 > div, #product-1307 > form, #product-205 > div, #product-205 > form, #product-209 > div, #product-209 > form, #product-1169 > div, #product-1169 > form, #product-514 > div, #product-514 > form, #product-520 > div, #product-520 > form, #product-207 > div, #product-207 > form, #product-213 > div, #product-213 > form, #product-1791 > div, #product-1791 > form, #product-504 > div, #product-504 > form, #product-863 > div, #product-863 > form, #product-860 > div, #product-860 > form, #product-1057 > div, #product-1057 > form, #product-48 > div, #product-48 > form, #product-49 > div, #product-49 > form, #product-879 > div, #product-879 > form, #product-1319 > div, #product-1319 > form, #product-50 > div, #product-50 > form, #product-171 > div, #product-171 > form, #product-1072 > div, #product-1072 > form, #product-855 > div, #product-855 > form, #product-175 > div, #product-175 > form, #product-177 > div, #product-177 > form, #product-181 > div, #product-181 > form, #product-183 > div, #product-183 > form, #product-185 > div, #product-185 > form, #product-1052 > div, #product-1052 > form, #product-187 > div, #product-187 > form, #product-850 > div, #product-850 > form, #product-179 > div, #product-179 > form, #product-173 > div, #product-173 > form, #product-659 > div, #product-659 > form, #product-1798 > div, #product-1798 > form, #product-1223 > div, #product-1223 > form, #product-1504 > div, #product-1504 > form, #product-192 > div, #product-192 > form, #product-1222 > div, #product-1222 > form, #product-1217 > div, #product-1217 > form, form, #product-1797 > div, #product-1797 > form, #product-1323 > div, #product-1323 > form, #product-1237 > div, #product-1237 > form, #product-51 > div, #product-51 > form, #product-195 > div, #product-195 > form {
    position: relative !important;
    z-index: 2 !important;
}
/* 2. ЛЕВАЯ КОЛОНКА (Главная картинка) */
.single-product .custom-single-featured-image {
    flex: 0 0 46% !important;
    max-width: 46% !important;
    margin-top: 40px !important;
    margin-left: 40px !important;
    margin-bottom: 40px !important;
}
.single-product .custom-single-featured-image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
}
/* 3. ПРАВАЯ КОЛОНКА (Краткое описание и кнопка) */
#product-197 .summary.entry-summary, #product-217 .summary.entry-summary, #product-201 .summary.entry-summary, #product-814 .summary.entry-summary, #product-1154 .summary.entry-summary, #product-52 .summary.entry-summary, #product-1895 .summary.entry-summary, #product-203 .summary.entry-summary, #product-1391 .summary.entry-summary, #product-1747 .summary.entry-summary, #product-211 .summary.entry-summary, #product-1515 .summary.entry-summary, #product-1307 .summary.entry-summary, #product-205 .summary.entry-summary, #product-209 .summary.entry-summary, #product-1169 .summary.entry-summary, #product-514 .summary.entry-summary, #product-520 .summary.entry-summary, #product-207 .summary.entry-summary, #product-213 .summary.entry-summary, #product-1791 .summary.entry-summary, #product-504 .summary.entry-summary, #product-863 .summary.entry-summary, #product-860 .summary.entry-summary, #product-1057 .summary.entry-summary, #product-48 .summary.entry-summary, #product-49 .summary.entry-summary, #product-879 .summary.entry-summary, #product-1319 .summary.entry-summary, #product-50 .summary.entry-summary, #product-171 .summary.entry-summary, #product-1072 .summary.entry-summary, #product-855 .summary.entry-summary, #product-175 .summary.entry-summary, #product-177 .summary.entry-summary, #product-181 .summary.entry-summary, #product-183 .summary.entry-summary, #product-185 .summary.entry-summary, #product-1052 .summary.entry-summary, #product-187 .summary.entry-summary, #product-850 .summary.entry-summary, #product-179 .summary.entry-summary, #product-173 .summary.entry-summary, #product-659 .summary.entry-summary, #product-1798 .summary.entry-summary, #product-1223 .summary.entry-summary, #product-1504 .summary.entry-summary, #product-192 .summary.entry-summary, #product-1222 .summary.entry-summary, #product-1217 .summary.entry-summary, #product-1797 .summary.entry-summary, #product-1323 .summary.entry-summary, #product-1237 .summary.entry-summary, #product-51 .summary.entry-summary, #product-195 .summary.entry-summary {
    flex: 0 0 46% !important;
    max-width: 46% !important;
    margin-top: 40px !important;
    margin-right: 40px !important;
    margin-bottom: 40px !important;
}
/* Наша новая плиточная галерея */
.single-product .custom-gallery-container {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-top: 35px !important;
    margin-bottom: 50px !important;
    clear: both !important;
}
/* Табы (Описание, характеристики) */
.single-product .woocommerce-tabs.wc-tabs-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important; 
    padding: 0 !important;
    max-width: 100% !important; 
    width: 100% !important; 
    margin-top: 25px !important;
    margin-bottom: 0px !important;
    clear: both !important;
}
.single-product .woocommerce-Tabs-panel--description {
    padding: 0 !important; 
    margin: 0 !important;
    background: transparent !important; 
    border: none !important;
}
/* ==========================================================================
   АДАПТИВНОСТЬ ДЛЯ СМАРТФОНОВ (ЭКРАНЫ ДО 767px)
   ========================================================================== */
@media (max-width: 767px) {
#product-197.product::before, #product-217.product::before, #product-201.product::before, #product-814.product::before, #product-1154.product::before, #product-52.product::before, #product-1895.product::before, #product-203.product::before, #product-1391.product::before, #product-1747.product::before, #product-211.product::before, #product-1515.product::before, #product-1307.product::before, #product-205.product::before, #product-209.product::before, #product-1169.product::before, #product-514.product::before, #product-520.product::before, #product-207.product::before, #product-213.product::before, #product-1791.product::before, #product-504.product::before, #product-863.product::before, #product-860.product::before, #product-1057.product::before, #product-48.product::before, #product-49.product::before, #product-879.product::before, #product-1319.product::before, #product-50.product::before, #product-171.product::before, #product-1072.product::before, #product-855.product::before, #product-175.product::before, #product-177.product::before, #product-181.product::before, #product-183.product::before, #product-185.product::before, #product-1052.product::before, #product-187.product::before, #product-850.product::before, #product-179.product::before, #product-173.product::before, #product-659.product::before, #product-1798.product::before, #product-1223.product::before, #product-1504.product::before, #product-192.product::before, #product-1222.product::before, #product-1217.product::before, #product-1797.product::before, #product-1323.product::before, #product-1237.product::before, #product-51.product::before, #product-195.product::before {display: none !important;}
/* Сбрасываем flex у родительской обертки на мобильных */
#product-197.product, #product-217.product, #product-201.product, #product-814.product, #product-1154.product, #product-52.product, #product-1895.product, #product-203.product, #product-1391.product, #product-1747.product, #product-211.product, #product-1515.product, #product-1307.product, #product-205.product, #product-209.product, #product-1169.product, #product-514.product, #product-520.product, #product-207.product, #product-213.product, #product-1791.product, #product-504.product, #product-863.product, #product-860.product, #product-1057.product, #product-48.product, #product-49.product, #product-879.product, #product-1319.product, #product-50.product, #product-171.product, #product-1072.product, #product-855.product, #product-175.product, #product-177.product, #product-181.product, #product-183.product, #product-185.product, #product-1052.product, #product-187.product, #product-850.product, #product-179.product, #product-173.product, #product-659.product, #product-1798.product, #product-1223.product, #product-1504.product, #product-192.product, #product-1222.product, #product-1217.product, #product-1797.product, #product-1323.product, #product-1237.product, #product-51.product, #product-195.product {display: block !important;}
    /* Мобильные стили для кастомного изображения */
    .single-product .custom-single-featured-image {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 20px 0 !important;
        background: #ffffff !important;
        padding: 15px !important;
        border-radius: 6px !important;
        box-sizing: border-box !important;
    }
/* ПЕРЕБИВАЕМ ДЕСКТОПНЫЕ ID: На мобильных краткое описание ОБЯЗАНО быть на 100% ширины */
#product-197 .summary.entry-summary, #product-217 .summary.entry-summary, #product-201 .summary.entry-summary, #product-814 .summary.entry-summary, #product-1154 .summary.entry-summary, #product-52 .summary.entry-summary, #product-1895 .summary.entry-summary, #product-203 .summary.entry-summary, #product-1391 .summary.entry-summary, #product-1747 .summary.entry-summary, #product-211 .summary.entry-summary, #product-1515 .summary.entry-summary, #product-1307 .summary.entry-summary, #product-205 .summary.entry-summary, #product-209 .summary.entry-summary, #product-1169 .summary.entry-summary, #product-514 .summary.entry-summary, #product-520 .summary.entry-summary, #product-207 .summary.entry-summary, #product-213 .summary.entry-summary, #product-1791 .summary.entry-summary, #product-504 .summary.entry-summary, #product-863 .summary.entry-summary, #product-860 .summary.entry-summary, #product-1057 .summary.entry-summary, #product-48 .summary.entry-summary, #product-49 .summary.entry-summary, #product-879 .summary.entry-summary, #product-1319 .summary.entry-summary, #product-50 .summary.entry-summary, #product-171 .summary.entry-summary, #product-1072 .summary.entry-summary, #product-855 .summary.entry-summary, #product-175 .summary.entry-summary, #product-177 .summary.entry-summary, #product-181 .summary.entry-summary, #product-183 .summary.entry-summary, #product-185 .summary.entry-summary, #product-1052 .summary.entry-summary, #product-187 .summary.entry-summary, #product-850 .summary.entry-summary, #product-179 .summary.entry-summary, #product-173 .summary.entry-summary, #product-659 .summary.entry-summary, #product-1798 .summary.entry-summary, #product-1223 .summary.entry-summary, #product-1504 .summary.entry-summary, #product-192 .summary.entry-summary, #product-1222 .summary.entry-summary, #product-1217 .summary.entry-summary, #product-1797 .summary.entry-summary, #product-1323 .summary.entry-summary, #product-1237 .summary.entry-summary, #product-51 .summary.entry-summary, #product-195 .summary.entry-summary {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 20px 0 !important;
        background: #ffffff !important;
        padding: 15px !important;
        border-radius: 6px !important;
        box-sizing: border-box !important;
}
/* Все остальные блоки на мобильных гарантированно занимают 100% */
    .single-product .belyj_fon,
    .single-product .woocommerce-tabs.wc-tabs-wrapper,
    .single-product .custom-attributes-wrapper {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }
/* ==========================================================================
       ИСПРАВЛЕНИЕ ТАБЛИЦЫ ХАРАКТЕРИСТИК НА МОБИЛЬНЫХ
       ========================================================================== */
    /* Делаем все элементы таблицы блочными на всю ширину */
    .single-product .custom-attributes-wrapper table,
    .single-product .custom-attributes-wrapper tbody,
    .single-product .custom-attributes-wrapper tr {
        display: block !important;
        width: 100% !important;
    }
    /* Название характеристики (th) */
    .single-product .custom-attributes-wrapper th.woocommerce-product-attributes-item__label {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        font-weight: 700 !important;
        font-size: 15px !important;
        color: #111111 !important;
        padding: 8px 12px !important;
        border-bottom: none !important;
    }
    /* Значение характеристики (td) */
    .single-product .custom-attributes-wrapper td.woocommerce-product-attributes-item__value {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 8px 12px 14px 12px !important;
    }
}