.elementor-kit-15{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-weight:500;}.elementor-kit-15 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:100%;}.e-con{--container-max-width:100%;--container-default-padding-top:0px;--container-default-padding-right:0px;--container-default-padding-bottom:0px;--container-default-padding-left:0px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* Убираем фиксированную ширину контейнера */
/*.container, .site, .content {*/
/*  width: 100% !important;*/
/*  max-width: none !important;*/
/*  margin: 0 !important;*/
/*  padding: 0 !important;*/
/*}*/

/* Произвольный CSS для Yandex Split Pay */

/* Принудительное отображение виджета Яндекс.Кошелька */


.yps-yandex-pay__widget .ya-pay-widget {
 display: flex !important;
 width: 360px !important;
 margin-top: 0px !important;
}
.wd-sticky-btn .yps-yandex-pay__widget {
 display: none;
}

.wd-sidebar-opener {
    display: none;
}

.wd-action-btn {
    display: none;
}

@media screen and (max-width: 900px) {
 .elementor-widget-wd_single_product_add_to_cart + .yps-yandex-pay__widget  {
  width: 100% !important; 
 } 
 .elementor-widget-wd_single_product_add_to_cart + .yps-yandex-pay__widget .ya-pay-widget {
  width: 100% !important; 
 } 
}

/* Скрыть вкладку "Детали" */
li.additional_information_tab {
    display: none !important;
}

/* Скрыть содержимое вкладки "Детали" */
.woocommerce div.product .woocommerce-tabs .panel.entry-content,
.woocommerce #content div.product .woocommerce-tabs .panel.entry-content,
.woocommerce-page div.product .woocommerce-tabs .panel.entry-content,
.woocommerce-page #content div.product .woocommerce-tabs .panel.entry-content {
    display: none !important;
}


.woocommerce-notices-wrapper {
    display: none !important;
}


#billing_state_field {
    display: none !important;
}

#billing_country_field {
    display: none !important;
}

.wd-product-stock.stock.wd-style-default.in-stock::before {
  display: none;
}

.stock.in-stock.wd-style-default::before {
  display: none !important;
}

.wooco_component_product_selection_grid_item_qty {
    display: none !important;
}


.wooco_component_product_selection_grid_item {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.wooco_component_product_selection_grid_item:hover,
.wooco_component_product_selection_grid_item:focus {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.wooco_component_product_selection_grid_item {
    position: relative;
}

.wooco_component_product_selection_grid_item {
    position: relative;
}

/* Не выбранное состояние — серый круг */
.wooco_component_product_selection_grid_item::before {
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    border-radius: 50%;
    top: 15px;
    right: 15px;
    z-index: 9;
    box-sizing: border-box;
}

/* Выбранное состояние — розовый круг */
.wooco_component_product_selection_grid_item.wooco_item_selected::before {
    content: "";
    background-color: #4E78B9;
    border-radius: 50%;
    border: 2px solid #4E78B9;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 9;
    box-sizing: border-box;
}

.wooco_component_product_selection_grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 32px;
    overflow-x: auto;
}


/* Элементы товара */
.wooco_component_product_selection_grid_item {
    flex: 0 1 auto;       /* Позволяет элементам адаптироваться */
    width: auto;          /* Автоматическая ширина */
}

/* На мобильных устройствах (ширина <= 768px) делаем горизонтальный скролл */
@media (max-width: 768px) {
    .wooco_component_product_selection_grid {
        flex-wrap: nowrap;           /* Запрещаем перенос строк */
        overflow-x: auto;            /* Включаем горизонтальный скролл */
        -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
        gap: 16px;
        padding-bottom: 10px;        /* Отступ снизу для скролла */
        white-space: nowrap;         /* Запрет переноса */
    }

    .wooco_component_product_selection_grid_item {
        flex: 0 0 auto;              /* Фиксируем ширину для корректного скролла */
        width: 150px;                /* Подберите ширину под дизайн */
        display: inline-block;       /* Чтобы элементы шли в ряд */
    }
}

@media (max-width: 768px) {
    .wooco_component_product_selection_grid_item {
    flex: 0 0 auto;
    width: 150px; /* или ваша фиксированная ширина */
    display: inline-block;

    /* Важные стили для текста */
    white-space: normal; /* разрешаем перенос строк внутри элемента */
    word-wrap: break-word; /* переносим длинные слова */
    overflow-wrap: break-word; /* современный аналог */
    }
}

/* Фон кнопки "Уведомить о поступлении" */
.instock-notify.notify-btn {
    background-color: #4E78B9 !important;
    color: #ffffff !important; /* белый цвет текста */
    border-color: #4E78B9 !important; /* если есть рамка */
    border-radius: 15px;
}

/* При наведении на кнопку */
.instock-notify.notify-btn:hover {
    background-color: #3b5a8a !important; /* чуть темнее для эффекта hover */
    border-color: #3b5a8a !important;
    border-radius: 15px;
}

.instock-notify.notify-btn {
    background-color: #4E78B9 !important;
    color: #ffffff !important;
    border-color: #4E78B9 !important;
    border-radius: 15px;
}

.product .instock-notification.notify-btn {
    background-color: #4E78B9 !important;
    color: #ffffff !important;
    border-color: #4E78B9 !important;
    border-radius: 15px;
}

.cancel-instock {
    display: none !important;
}

.instock-notify-email.notify-btn {
    background-color: #4E78B9 !important;
    color: #ffffff !important;
    border-color: #4E78B9 !important;
    border-radius: 10px;
}

/* При наведении */
.instock-notify-email.notify-btn:hover {
    background-color: #3b5a8a !important;
    border-color: #3b5a8a !important;
    color: #ffffff !important;
    border-radius: 10px;
}

.stock.out-of-stock.wd-style-default {
    color: #D55B70 !important;
}

.instock-input-section {
    margin-top: 15px; /* или margin-top: 10px; — выберите нужное значение */
}

input.instock-email {
    color: #ffffff;             /* цвет текста белый */
    background-color: #333233;  /* цвет фона формы */
    border: 1px solid #555555;  /* при необходимости рамка */
    padding: 8px 12px;          /* внутренние отступы для удобства */
    border-radius: 4px;         /* скругление углов */
}

.instock-input-section input.instock-email {
    color: #ffffff !important;
    background-color: #333233 !important;
    border: 1px solid #555555 !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    margin-right: 5px !important;
}

.instock-input-section input.instock-submit {
    color: #ffffff !important;
    background-color: #333233 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
}

.instock-input-section input,
.instock-input-section input.instock-submit {
    font-family: 'Nekst Regular', sans-serif !important;
}

.instock-notify-email.notify-btn .fa-bell {
    display: none !important;
}

.fa-envelope {
    display: none !important;
}

.instock-notification.notify-btn,
.instock-notification.notify-btn i.fa-envelope {
    font-style: normal !important;
    font-size: 16px !important;
    font-family: 'Nekst Regular';
}

/* Стиль для всех кнопок добавления в корзину с классом add_to_cart_button */
a.button.add_to_cart_button {
    background-color: #FF2A7F; /* основной цвет кнопки */
    color: #FF2A7F;
    border-radius: 4px;
    border: none;
    transition: background-color 0.3s;
}

/* При наведении на все такие кнопки */
a.button.add_to_cart_button:hover {
    background-color: #FF2A7F !important; /* цвет при наведении */
    color: #FF2A7F !important;
}
a.button[aria-describedby^="woocommerce_loop_add_to_cart_link_describedby"]:hover {
    background-color: #FF2A7F !important;
    color: #fff !important;
}

.am-lite-footer {
    display: none !important;
}

.shop-loop-head {
    display: none !important;
}


.product-grid-item.outofstock .product-element-top img {
    opacity: 0.3;filter: grayscale(1);
}

.wd-product-stock {
    display: none !important;
}

.product-element-bottom .wd-entities-title a {
    font-family: 'Nekst', sans-serif !important;
    font-size: 16px !important;
    font-weight: normal !important;
}

.product-element-bottom .wrap-price .woocommerce-Price-amount {
    font-size: 18px !important;
}

.wd-add-btn .add_to_cart_button,
.wd-add-btn .add_to_cart_button span {
    font-family: 'Nekst', sans-serif !important;
    font-weight: normal !important;
}

.advanced-woo-labels.awl-position-type-on-image {
    flex-direction: column !important;
    align-items: flex-start;
}
.advanced-woo-labels .awl-label-wrap {
    margin: 0 0 2px 0 !important;
}

.advanced-woo-labels.awl-position-type-on-image {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

/* Стиль ТОЛЬКО для лейбла "Нет в наличии" (центр) */
.advanced-woo-labels.awl-position-type-on-image.awl-align-right-center {
    flex-direction: row !important;
    justify-content: center !important;  /* Центрируем по горизонтали */
    align-items: center !important;     /* Центрируем по вертикали */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;            /* Оставляем на всю ширину */
    margin: 0 auto !important;
    text-align: center !important;     /* Дополнительное выравнивание */
}

/* Убираем лишние отступы у этого лейбла */
.advanced-woo-labels.awl-position-type-on-image.awl-align-right-center .awl-label-wrap {
    margin: 0 !important
}

button[name="wc_cart_share"] {
    background-color: #ffffff !important;
    color: #000000 !important; /* Цвет текста (если нужен) */
    padding: 10px 15px !important; /* Отступы */
}

/*.cart-discount {*/
/*    display: none !important;*/
/*}*/

.woocommerce-product-gallery img {
    border-radius: 0 !important
}

.cart-actions, .wd-coupon-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.wd-coupon-form input#coupon_code {
    width: 100% !important;
    max-width: 300px !important;
}

.wd-coupon-form .button {
    align-self: flex-start !important;
}

.wd-product .product-labels.labels-rounded-sm .product-label {
    border-radius: 5px !important;
}

.wd-nav-pagin-wrap {
    margin-top: -44px !important;
    position: relative; /* или absolute, если нужно позиционирование */
    z-index: 100; /* Чем больше, тем выше слой */
}

.product-labels {
    position: absolute !important;
    top: 7px !important;
    right: 7px !important; /* Фиксированно в правый угол */
    left: auto !important; /* Отключаем left */
    z-index: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    max-width: 50% !important;
    margin: 0 !important; /* Убираем возможные отступы */
    padding: 0 !important;
    border-radius: 5px !important;
}

/* Если метка одна (например, только "Special") */
.product-labels .onsale {
    margin-left: auto !important; /* Выравниваем вправо */
}

.product-labels .onsale {
    border-radius: 5px !important; /* Сильное скругление */
    display: none;
}

body .product-element-bottom .wd-entities-title a {
    font-family: 'Nekst Regular', sans-serif !important;
    font-weight: 400 !important;
}

.wd-add-btn .add_to_cart_button, .wd-add-btn .add_to_cart_button span {
    font-family: 'Nekst Semibold' !important;
}


.custom-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.slider-container {
  display: flex;
  gap: 10px;
  transition: transform 0.5s ease;
  padding-left: 15%; /* Центрирование активного слайда */
}

.slide {
  flex: 0 0 70%; /* Ширина слайда */
  transition: all 0.3s;
  position: relative;
}

.slide img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Активный слайд (центр) */
.slide.active {
  transform: scale(1.05);
  z-index: 2;
}

/* Следующий слайд (видно 30%) */
.slide.next {
  margin-right: -40%; /* "Выталкиваем" часть слайда */
  opacity: 0.8;
}

/* Стрелка */
.slider-arrow {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wd-sticky-btn.wd-quantity-overlap.wd-sticky-btn-shown {
    transform: translateY(-65px);
}

/* Limited logins */
.llar_notification_login_page {
    position: fixed;
    top: 50%;
    left: 50%;
    font-size: 120%;
    line-height: 1.5;
    width: 365px;
    z-index: 999999;
    background: #ffffff !important;
    padding: 20px;
    color: rgb(121, 121, 121);
    text-align: center;
    border-radius: 10px;
    transform: translate(-50%, -50%);
    box-shadow: 10px 10px 14px 0 #72757B99;
}

a.woodmart-nav-link::after {
    display: none;
}

.wd-post .wd-post-meta {
    display: none !important;
}

.wd-post-date.wd-style-with-bg {
    display: none !important;
}

.wd-post-cat.wd-style-with-bg {
    --wd-link-color: #6a6a6a !important;
    --wd-link-color-hover: #000000 !important;
    font-size: 16px !important;
    font-family: Nekst Regular !important;
    font-weight: 200 !important;
    text-transform:
    none !important;
}

.wd-post .wd-post-title {
    font-size: 24px !important;
    font-family: Nekst Medium !important;
    color: #333233 !important;
}

.wd-post-cat.wd-style-with-bg {
    background-color: #F3F3F5 !important;
}

.blog-design-mask {
    --wd-post-align: left !important;
}

.blog-design-mask .wd-post-content {
    position: static !important;
}

.blog-design-mask.has-post-thumbnail .wd-post-content {
    background: white !important;
}

.blog-design-mask.wd-add-shadow .wd-post-inner {
    box-shadow: none !important;
}

.blog-design-mask .wd-post-content.wd-post-content {
    padding: 20px 0px 0px 0px !important;
}

.blog-design-mask {
    --wd-entities-title-color-hover: #333233 !important;
}

.wd-post-content {
    display: block !important;
}

/* Альтернативный вариант - если нельзя изменить HTML */
.meta-post-categories a {
    display: inline-block;
    margin: 0px 8px 0px 0px !important;
    padding: 0px 10px;
    background-color: #F3F3F5 !important;
    border-radius: 10px;
    border: 1px solid #F3F3F5);
    color: #333233;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
}

.meta-post-categories a:hover {
    background-color: #333233;
    color: #333233;
}




.wd-post-cat.wd-style-with-bg {
    background-color: white !important;
}

.wd-post-cat.wd-style-with-bg {
    padding-inline: 0px !important
}

@media (min-width: 1024px) {
    .wd-posts.wd-grid-g {
        column-count: 3 !important;
        column-gap: 50px !important;
        display: block !important;
    }
}

.wd-posts.wd-grid-g .wd-col {
    break-inside: avoid !important; /* Не разрывать элементы между колонками */
    display: inline-block !important;
    width: 100% !important;
    margin-bottom: 30px !important;
}

.ultimate-tag-cloud-container.style-block .ultimate-tag-cloud-words .tag-word-wrap a {
    padding: 8px !important;
    font-size: 20px !important;
    
}

.tag-word-wrap.rand-color {
    --colorNormal: 255, 255, 255 !important;
}

.ultimate-tag-cloud-word {
    --colorNormal: 255, 255, 255 !important;
    border-radius: 8px !important;
}

.ultimate-tag-cloud-container.style-block .ultimate-tag-cloud-words .tag-word-wrap a {
    border: 0px !important;
}

.wd-post-image img {
    display: none;
}

.wd-single-post-header {
    display: none !important;
}

.wd-single-footer {
    display: none !important;
}

.wd-builder-off .wd-page-nav {
    display: none !important;
}



.posts-slider {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.posts-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

.post-slide {
    scroll-snap-align: start;
    min-width: 20%;
    margin-right: 15px;
}

@media (max-width: 767px) {
    body .elementor-14291 .elementor-element.elementor-element-fbd99ab .ultimate-tag-cloud-container .ultimate-tag-cloud-words .tag-word-wrap a {
        font-size: 14px !important;
        width: 150px !important;
    }
}

@media (max-width: 1024px) {
    .blog-design-mask .wd-post-title {
        font-size: 20px !important;
    }
}

@media (max-width: 1024px) {
    .meta-post-categories a {
        font-size: 14px !important;
    }
}

/* Принудительно устанавливаем горизонтальный скролл для мобильных */
.elementor-element-a65fc16.e-con-full.posts-slider1 {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    gap: 15px !important;
    padding: 0px 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
}

/* Стили для каждого слайда */
.elementor-element-a65fc16 .e-con-full[class*="post-slide"] {
    flex: 0 0 auto !important;
    scroll-snap-align: start !important;
    min-width: 65% !important;
    max-width: 65% !important;
    margin-right: 20px !important;
}

/* Скрываем скроллбар */
.elementor-element-a65fc16.e-con-full.posts-slider1 {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.elementor-element-a65fc16.e-con-full.posts-slider1::-webkit-scrollbar {
    display: none !important;
}

/* Для планшетов - немного меньше слайды */
@media (min-width: 768px) {
    .elementor-element-a65fc16 .e-con-full[class*="post-slide"] {
        min-width: 45% !important;
        max-width: 45% !important;
    }
}

/* Для десктопа - обычная сетка */
@media (min-width: 1024px) {
    .elementor-element-a65fc16.e-con-full.posts-slider1 {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0px !important;
        overflow-x: visible !important;
        flex-wrap: wrap !important;
    }
    
    .elementor-element-a65fc16 .e-con-full[class*="post-slide"] {
        min-width: auto !important;
        max-width: none !important;
        margin-right: 0 !important;
    }
}

.elementor-element-a65fc16 .e-con-full[class*="post-slide"] {
    align-self: flex-start !important; /* или stretch */
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Или принудительно выравниваем по верху */
.elementor-element-a65fc16.e-con-full.posts-slider1 {
    align-items: flex-start !important;
}

.blog-design-masonry .wd-post-excerpt {
    display: none !important;
}

.wd-post-read-more.wd-style-link {
    display: none !important;
}

.wd-posts.wd-grid-g .wd-col {
    margin-top: 10px !important;
}

.ultimate-tag-cloud-words.block {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
    width: 100% !important; /* Добавляем полную ширину */
    box-sizing: border-box; /* Учитываем padding в ширине */
}

.tag-word-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 !important; /* Убираем горизонтальные padding */
    /* Убираем все flex свойства и ширины */
}

.ultimate-tag-cloud-word {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    /* Добавляем автоматическую ширину по содержимому */
    width: fit-content;
    min-width: fit-content;
}

.wd-post-content {
    text-align: left !important;
}

@media (max-width: 1024px) {
    .scrollToTop {
        right: 25px !important;
        bottom: 160px !important;
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

.sitogon_submit {
    background-color: #333233 !important;
}

.wd-el-video :is(iframe,video) {
    background-color: white !important;
   
}



.wd-btn-design-full form.cart :where(.single_add_to_cart_button,.wd-buy-now-btn) {
    text-transform: none !important;
    font-size: 20px !important;
    text-decoration: none;
    font-weight: 400;
    background-color: #1873FF;
    height: 52px;
    border-radius: 12px;
}

.woocommerce-product-gallery img {
    border-radius: 12px !important;
    background-color: #F3F3F5 !important;
}

.wd-nav-arrows[class*=wd-hover].wd-pos-sep .wd-btn-arrow {
    opacity: 1 !important;
    transform: none !important;
    background-color: white;
    margin: -15px;
    margin-top: 15px;
    border-radius: 8px;
    box-shadow: 
        2px 4px 9px 0px rgba(69, 69, 69, 0.09),
        10px 14px 17.9px 0px rgba(69, 69, 69, 0.04);
}

.wd-prev .wd-arrow-inner:after {
    content: "";
    font: initial !important;
    font-family: unset !important;
    font-size: 0 !important;
    line-height: 0 !important;
    /* Вставляем SVG */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: inline-block;
    width: 20px;
    height: 20px;
    /* Наследуем цвет для fill="currentColor" */
    color: inherit;
}

.wd-next .wd-arrow-inner:after {
    content: "";
    font: initial !important;
    font-family: unset !important;
    font-size: 0 !important;
    line-height: 0 !important;
    /* Вставляем SVG */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: inline-block;
    width: 20px;
    height: 20px;
    /* Наследуем цвет для fill="currentColor" */
    color: inherit;
}

.elementor-4013 .elementor-element.elementor-element-1fa44da1 .price, .elementor-4013 .elementor-element.elementor-element-1fa44da1 .price del, .elementor-4013 .elementor-element.elementor-element-1fa44da1 .amount {
    word-spacing: 0px !important;
}


.pp-advanced-tabs.pp-style-3 .pp-advanced-tabs-wrapper .pp-advanced-tabs-title:before {
    height: 2px !important;
}

.elementor-17431 .elementor-element.elementor-element-734edc0 {
    margin-top: 0px !important;
}

.elementor-17431 .elementor-element.elementor-element-0fdb434 {
    margin-top: 0px !important;
}

#retailcrm-consultant-app {
    z-index: 5 !important;
}

/* Основная галерея - делаем прямоугольной */
.wd-carousel-inner .wd-carousel-item,
.wd-carousel-inner .woocommerce-product-gallery__wrapper {
    aspect-ratio: 6/5 !important; /* Соотношение 600x500 = 6:5 */
}

/* Для основного изображения в галерее */
.wd-carousel-item .woocommerce-product-gallery__image img,
.wd-carousel-item .woocommerce-product-gallery__image a {
    aspect-ratio: 6/5 !important;
    object-fit: cover;
    width: 100%;
    height: auto;
}

/* Уменьшаем высоту контейнера */
.wd-allery-images .wd-carousel-wrap {
    height: auto;
    min-height: 400px;
}

/* Миниатюры оставляем квадратными */
.wd-gallery-thumb .wd-carousel-item img {
    aspect-ratio: 1/1 !important;
}

/* ТОЛЬКО на странице отдельного товара */
.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image,
.single-product .wd-single-gallery .woocommerce-product-gallery__image {
    padding: 30px 0px 0px 0px !important;
    padding-top: 90px !important;
    padding-bottom: 0px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
    background-color: #F3F3F5 !important;
    border-radius: 10px !important;
    margin: 0 auto !important;
    width: 100% !important;
    height: 100% !important;
}

.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img,
.single-product .wd-single-gallery .woocommerce-product-gallery__image img {
    transform: scale(1.15) !important;
    transform-origin: center center !important;
    max-width: 85% !important;
    max-height: 85% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: auto !important;
    display: block !important;
}

.single-product .wd-carousel-item,
.single-product .woocommerce-product-gallery__wrapper .wd-carousel-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 6px;
}

.single-product .wd-carousel-item > figure,
.single-product .wd-carousel-item > .woocommerce-product-gallery__image {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Отключаем стрелки только в контейнере миниатюр */
.wd-gallery-thumb .wd-nav-arrows,
.wd-gallery-thumb .wd-btn-arrow {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Или более конкретно */
.wd-carousel-container.wd-gallery-thumb .wd-nav-arrows,
.wd-carousel-container.wd-gallery-thumb .wd-btn-arrow {
    display: none !important;
}




/* Скрываем стрелки на экранах меньше 768px */
@media (max-width: 767px) {
    .wd-btn-arrow,
    .wd-nav-arrows {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* Отключаем aspect-ratio на мобильных */
@media (max-width: 767px) {
    .wd-carousel-inner .wd-carousel-item,
    .wd-carousel-inner .woocommerce-product-gallery__wrapper {
        aspect-ratio: unset !important;
    }
    
    /* Отключаем transform scale и меняем размеры для мобильных */
    .single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img,
    .single-product .wd-single-gallery .woocommerce-product-gallery__image img {
        transform: scale(1) !important; /* Убираем увеличение */
        max-width: 100% !important; /* Растягиваем на всю ширину */
        max-height: 100% !important; /* Растягиваем на всю высоту */
    }
    
    /* Убираем padding между карточками */
    .wd-carousel-item {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Убираем скругления у самой карточки */
    .wd-carousel-item,
    .woocommerce-product-gallery__image,
    .woocommerce-product-gallery__image img {
        border-radius: 0 !important;
    }
    
    /* Также убираем скругления у родительских контейнеров */
    .wd-carousel-inner,
    .woocommerce-product-gallery__wrapper,
    .wd-carousel-wrap {
        border-radius: 0 !important;
    }
    
    .single-product .wd-carousel-item, .single-product .woocommerce-product-gallery__wrapper .wd-carousel-item {
        padding: 0 !important;
        border-radius: 0 !important;
    }
    
   /* ТОЛЬКО убираем скругления у главной карточки */
    .elementor-element.card-tovar,
    .wd-carousel-inner {
        border-radius: 0 !important;
    }
    
    
    .single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image,
    .single-product .wd-single-gallery .woocommerce-product-gallery__image {
        border-radius: 0 !important;
    }
}

.wd-content-layout {
    padding-block: 0px !important
}


.wd-sidebar-opener.wd-action-btn.wd-style-icon.wd-burger-icon.wd-hide-lg {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Карусль в карточке товара */

/* Каунтер в карточке товара */
.cart div.quantity {
    align-items: center;
    padding: 5px 5px;
    border: 1px solid #636363;
    border-radius: 8px;
}

.cart div.quantity input[type=button] {

    width: 32px;
    height: 32px;
    font-size: 24px;
    font-weight: 400;
    min-height: unset;
    line-height: 24px;
    border-radius: 4px;
}

.cart div.quantity input[type=number] {
    display: block;
    min-height: unset;
    font-size: 14px;
    line-height: 32px;
    font-weight: 500;
    color: #333233;
}/* End custom CSS */