@charset "utf-8";
/* CSS Document */
/*
Theme Name: Berta
Version: 1.07
Description: Berta Lingerie
Author: Laika
Author URI: http://laikaweb.ru/
Text Domain: laika
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

@font-face {
    font-family: 'NunitoSans';
    src: url('fonts/NunitoSans.ttf') format('truetype');
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Prata';
    src: url('fonts/Prata-Regular.ttf') format('truetype');
    font-style: normal;
    font-display: swap;
}

:root,
[data-bs-theme='light'] {
    --bs-font-sans-serif: 'NunitoSans', sans-serif;
    --bs-primary: #006ab6;
    --bs-primary-rgb: 0, 106, 182;
    /* --bs-body-color: #191919; */
    /* --bs-body-color: #191919; */
    --bs-body-color: #191919;
    font-optical-sizing: auto;

    --bs-secondary: #f8f8f8;
    --bs-secondary-rgb: 248, 248, 248;
    /* --bs-secondary-rgb: 231,213,192; */
}
.bg-white {
    /* background-color: #faf9f6!important; */
    background-color: #f8f8f8 !important;
}
body {
    position: relative;
}
a {
    color: inherit;
}
.wrapper {
    /* overflow: hidden; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}
.modal {
    --bs-modal-zindex: 10005;
}
.modal-backdrop {
    --bs-backdrop-zindex: 10000;
}
/* Учитываем высоту admin bar */
.admin-bar .header,
.admin-bar .modal {
    top: 32px !important;
}

.admin-bar .collapse-block-inner {
    padding-top: 147px;
}

@media screen and (max-width: 782px) {
    .admin-bar .header,
    .admin-bar .modal {
        top: 46px !important;
    }
    .admin-bar .collapse-block-inner {
        padding-top: 161px;
    }
    #wpadminbar {
        position: fixed !important;
    }
}
@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1368px;
    }
}
.footer {
    margin-top: auto;
}
.custom-logo-link {
    display: inline-block;
    text-decoration: none;
}
.custom-logo {
    max-width: 160px !important;
    height: auto !important;
    transition: all 0.15s ease-in-out;
}

.header.bg-white .custom-logo {
    max-width: 150px !important;
}

.btn {
    --bs-btn-padding-x: 56px;
    --bs-btn-padding-y: 9px;
    --bs-btn-font-weight: 500;
    --bs-btn-border-radius: 0;
}
.btn-secondary {
    --bs-btn-color: #faf9f6;
    --bs-btn-bg: #191919;
    --bs-btn-border-color: #191919;
    --bs-btn-hover-color: #191919;
    --bs-btn-hover-bg: transparent;
    --bs-btn-hover-border-color: #191919;
    --bs-btn-focus-shadow-rgb: none;
    --bs-btn-active-color: #faf9f6;
    --bs-btn-active-bg: #191919;
    --bs-btn-active-border-color: #191919;
    --bs-btn-active-shadow: none;
    --bs-btn-disabled-color: #faf9f6;
    --bs-btn-disabled-bg: #191919;
    --bs-btn-disabled-border-color: #191919;
}
.btn-primary {
    --bs-btn-color: #191919;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: #191919;
    --bs-btn-hover-color: #faf9f6;
    --bs-btn-hover-bg: #191919;
    --bs-btn-hover-border-color: #191919;
    --bs-btn-focus-shadow-rgb: none;
    --bs-btn-active-color: #faf9f6;
    --bs-btn-active-bg: #191919;
    --bs-btn-active-border-color: #191919;
    --bs-btn-active-shadow: none;
    --bs-btn-disabled-color: #faf9f6;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #191919;
}
/* hamburger */
.hamburger {
    padding: 0;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
    line-height: 0;
    outline: none;
}
.hamburger[aria-expanded='true'] .hamburger-inner,
.hamburger[aria-expanded='true'] .hamburger-inner::before,
.hamburger[aria-expanded='true'] .hamburger-inner::after {
    background-color: var(--bs-body-color);
}
.hamburger-box {
    width: 36px;
    height: 36px;
    display: inline-block;
    position: relative;
}
.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -0.5px;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 36px;
    height: 1px;
    background-color: var(--bs-body-color);
    border-radius: 0;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}
.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    display: block;
}
.hamburger-inner::before {
    top: -8px;
}
.hamburger-inner::after {
    bottom: -8px;
}
.hamburger--squeeze .hamburger-inner {
    transition-duration: 0.075s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--squeeze .hamburger-inner::before {
    transition:
        top 0.075s 0.12s ease,
        opacity 0.075s ease;
}
.hamburger--squeeze .hamburger-inner::after {
    transition:
        bottom 0.075s 0.12s ease,
        transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--squeeze[aria-expanded='true'] .hamburger-inner {
    transform: rotate(45deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--squeeze[aria-expanded='true'] .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition:
        top 0.075s ease,
        opacity 0.075s 0.12s ease;
}
.hamburger--squeeze[aria-expanded='true'] .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition:
        bottom 0.075s ease,
        transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}
/* /hamburger */
.collapse-block {
    z-index: 9998;
}
.collapse-block.collapse-block--filter {
    z-index: 10000;
}
.collapse-block-inner {
    width: 390px;
    padding-top: 115px;
    font-size: 14px;
    /* min-height: 100vh; */
}
.header__menu-list li + li {
    margin-top: 8px;
}
.header__menu-list a,
.footer__bottom a {
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease-in-out;
}
.header__menu-list a:hover,
.header__menu-list a.active,
.footer__bottom a:hover,
.footer__bottom a.active,
.footer__bottom .current-menu-item > a,
.header__menu-list .current-menu-item > a {
    border-color: inherit;
}
.intro-slider__content {
    padding-bottom: 76px;
}
.intro-slider__title {
    font-family: 'Prata', serif;
    font-size: 64px;
}
.intro-slider__item {
    min-height: 400px;
}
.intro-slider__item::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.title,
.page-title,
.products > h2 {
    font-family: 'Prata', serif;
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 40px;
    text-transform: uppercase;
}
.products > h2 {
    font-size: 32px;
}
.title-alternative {
    font-size: 32px;
    font-family: 'Prata', serif;
}
.title:not(.product-categories__title),
.page-title:not(.product-categories__title),
.products > h2 {
    text-align: center;
}
.section.intro {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 50px;
}
.section {
    padding-top: 50px;
    padding-bottom: 50px;
}
.form-control {
    padding: 8.5px 20px;
    font-size: 14px;
    border-color: var(--bs-body-color);
    border-radius: 0;
    background-color: transparent;
}
.form-control::placeholder {
    /* color: rgb(92, 59, 41, .8); */
    color: rgb(62, 48, 44, 0.8);
}
.form-control:focus {
    border-color: var(--bs-body-color);
    background-color: transparent;
    box-shadow: none;
}
.form-submit {
    border-radius: 0;
    font-size: 0;
    width: 40px;
    height: 40px;
    border: 1px solid;
    border-color: var(--bs-body-color);
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg width='13' height='14' viewBox='0 0 13 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.94007 12.1164L6.57782 7.39248L11.8923 2.07848L8.94007 12.1164ZM1.34347 4.51954L11.3818 1.56788L6.06724 6.88188L1.34347 4.51954ZM0.259482 4.08622C-0.0553879 4.17866 -0.0936634 4.60837 0.199541 4.7557L5.87009 7.59036L8.70464 13.2604C8.85124 13.5536 9.28166 13.5154 9.3741 13.2005L12.985 0.922948C13.0652 0.649232 12.8109 0.394293 12.5365 0.47518L0.259482 4.08622Z' fill='%23191919'/%3E%3C/svg%3E%0A");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding: 5px;
    transition:
        background-color 0.15s ease-in-out,
        background-image 0.15s ease-in-out;
}
.form-submit:hover {
    background-color: var(--bs-body-color);
    background-image: url("data:image/svg+xml,%3Csvg width='13' height='14' viewBox='0 0 13 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.94007 12.1164L6.57782 7.39248L11.8923 2.07848L8.94007 12.1164ZM1.34347 4.51954L11.3818 1.56788L6.06724 6.88188L1.34347 4.51954ZM0.259482 4.08622C-0.0553879 4.17866 -0.0936634 4.60837 0.199541 4.7557L5.87009 7.59036L8.70464 13.2604C8.85124 13.5536 9.28166 13.5154 9.3741 13.2005L12.985 0.922948C13.0652 0.649232 12.8109 0.394293 12.5365 0.47518L0.259482 4.08622Z' fill='%23fff'/%3E%3C/svg%3E%0A");
}
.img-hover-wrapper {
    overflow: hidden;
}
.img-hover-wrapper > img {
    transition: transform 0.3s linear;
}
.img-hover-wrapper:hover > img {
    transform: scale(1.1);
}
.title.product-categories__title {
    font-size: 40px;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}
.product-categories__item::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.footer {
    font-size: 14px;
}
.form-check {
    font-size: 13px;
    line-height: 1.4;
    padding-left: 25px;
}
.form-check-input {
    --bs-form-check-bg: transparent;
    width: 16px;
    height: 16px;
    border-color: var(--bs-body-color);
}
.form-check-input[type='checkbox'] {
    border-radius: 0;
}
.form-check-input:checked {
    background-color: var(--bs-body-color);
    border-color: var(--bs-body-color);
}
.form-check-input:focus {
    border-color: var(--bs-body-color);
    outline: 0;
    box-shadow: none;
}
.form-check .form-check-input {
    margin-left: -25px;
}
.footer_contacts-list li + li {
    margin-top: 6px;
}
.header {
    transition: background-color 0.15s ease-in-out;
    z-index: 9999;
}
.header.position-sticky {
    padding-right: 0 !important;
}
/*  */
.collapse-trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
}
.collapse-trigger::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 5px;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='4' viewBox='0 0 10 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.55469 0.82373L4.77734 4.0083L0 0.82373L0.554688 -0.00830078L4.77734 2.80615L9 -0.00830078L9.55469 0.82373Z' fill='%23191919'/%3E%3C/svg%3E%0A");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.15s ease-in-out;
    margin-left: 10px;
}
.collapse-trigger[aria-expanded='true']::after {
    transform: rotate(180deg);
}
/*  */
.form-check .wpcf7-list-item {
    margin: 0;
}
.wpcf7-not-valid-tip {
    font-size: 12px;
    padding: 4px 0 0;
}
.wpcf7 form .wpcf7-response-output {
    margin: 15px 0 0;
    padding: 0;
    border: 0;
    font-size: 12px;
}
.wpcf7-spinner {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.submitting .wpcf7-submit {
    color: transparent;
}
.submitting .form-submit {
    background-color: var(--bs-body-color);
    border-color: var(--bs-body-color);
    background-image: none;
}
/* form-sent */
.wpcf7 form.sent {
    position: relative;
}
.wpcf7 form.sent > *:not(.wpcf7-response-output) {
    opacity: 0;
    visibility: hidden;
}
.wpcf7 form.sent .wpcf7-response-output {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(-50%);
    margin-top: 0;
}
.wpcf7 form.sent .wpcf7-response-output::before {
    content: '';
    width: 32px;
    height: 32px;
    display: block;
    margin: 0 0 16px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg' fill='%23191919' stroke='%23191919'%3E%3Cg id='SVGRepo_bgCarrier' stroke-width='0'%3E%3C/g%3E%3Cg id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'%3E%3C/g%3E%3Cg id='SVGRepo_iconCarrier'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:none;stroke:%23191919;stroke-linecap:round;stroke-linejoin:round;stroke-width:20px;%7D%3C/style%3E%3C/defs%3E%3Cg data-name='Layer 2' id='Layer_2'%3E%3Cg data-name='E408, Success, Media, media player, multimedia' id='E408_Success_Media_media_player_multimedia'%3E%3Ccircle class='cls-1' cx='256' cy='256' r='246'%3E%3C/circle%3E%3Cpolyline class='cls-1' points='115.54 268.77 200.67 353.9 396.46 158.1'%3E%3C/polyline%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
/* /form-sent */
.woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb {
    color: var(--bs-body-color);
    font-size: 13px;
    text-transform: uppercase;
    padding-top: 40px;
    padding-bottom: 40px;
    margin: 0;
}
.woocommerce-breadcrumb a,
.woocommerce .woocommerce-breadcrumb a {
    color: var(--bs-body-color);
    text-decoration: none;
    opacity: 0.8;
}
/* dropdown-menu */
.dropdown-menu {
    --bs-dropdown-border-radius: 0;
    --bs-dropdown-padding-y: 0;
    --bs-dropdown-link-active-bg: #e3e3e3;
    --bs-dropdown-link-active-color: var(--bs-body-color);
    --bs-dropdown-item-padding-x: 12px;
    --bs-dropdown-item-padding-y: 8px;
    --bs-dropdown-font-size: 13px;
    --bs-dropdown-border-color: #e3e3e3;
}
/* /dropdown-menu */
.btn-link {
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-box-shadow: none;
    --bs-btn-focus-shadow-rgb: none;
    --bs-btn-hover-color: #191919cc;
    --bs-btn-active-color: var(--bs-body-color);
}
.collapse-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s,
        visibility 0.3s;
}
.collapse-backdrop.show {
    opacity: 1;
    visibility: visible;
}
.about-img {
    width: 100%;
    max-width: 546px;
}
.subtitle {
    font-size: 32px;
}
.contacts-subtitle {
    font-size: 14px;
}
.photo-collage .photo-collage__item:nth-child(1) {
    padding-top: 39.84px;
}
.photo-collage .photo-collage__item:nth-child(2) {
    padding-top: 28.45px;
}
.photo-collage .photo-collage__item:nth-child(3) {
    padding-top: 16.12px;
}
.wp-content p:last-child {
    margin-bottom: 0;
}
.fs-14 {
    font-size: 14px;
}
.fs-18 {
    font-size: 18px;
}
b,
strong {
    font-weight: 500;
}
/* media */
@media (max-width: 1399.98px) {
}
@media (max-width: 1199.98px) {
    .intro-slider__title {
        font-size: 48px;
    }
    .title.product-categories__title {
        font-size: 26px;
    }
}
@media (max-width: 991.98px) {
    .intro-slider__title {
        font-size: 40px;
    }
    .section {
        padding-top: 32px;
        padding-bottom: 32px;
    }
    .section.intro {
        margin-bottom: 32px;
    }
    .title,
    .page-title,
    .products > h2 {
        font-size: 20px;
        margin-bottom: 24px;
    }
    .title.product-categories__title {
        font-size: 32px;
    }
    .footer {
        font-size: 13px;
    }
    .subtitle {
        font-size: 24px;
    }
}
@media (max-width: 767.98px) {
    .collapse-block {
        right: 0;
        border: 0 !important;
    }
    .collapse-block--filter {
        left: 0;
    }
    .collapse-block-inner {
        width: 100%;
    }
    .footer__bottom {
        border-top: 1px solid var(--bs-body-color);
    }
    .footer .header__menu-list > li:first-child {
        padding-top: 8px;
    }
    .subtitle {
        font-size: 20px;
    }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    .title.product-categories__title {
        font-size: 24px;
    }
}
@media (max-width: 575.98px) {
    .product-categories-slider {
        margin-left: -8px;
        margin-right: -8px;
        margin-top: 0;
    }
    .product-categories-slider .col {
        padding: 0 8px;
    }
    .product-categories > .container {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    .product-categories-slider.slick-slider .slick-list {
        padding-right: 20%;
        padding-left: 12px;
        margin-top: 0;
    }
}
/* scroll */
/* Для WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 4px;
    height: 4px; /* для горизонтального скролла */
}

::-webkit-scrollbar-track {
    background-color: #ebebeb;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb {
    background-color: #aeaeae;
    border-radius: 2px;
}

/* Для Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #aeaeae #ebebeb;
}

/* Для IE и Edge (старые версии) */
body {
    scrollbar-face-color: #aeaeae;
    scrollbar-track-color: #ebebeb;
    scrollbar-width: thin;
}
/* /scroll */

.grecaptcha-badge {
    right: -256px !important;
}

#billing_address_2_field {
    display: none !important;
}
@media (min-width: 992px) {
    #sizeGuideModal .modal-lg,
    #sizeGuideModal .modal-xl {
        --bs-modal-width: 650px;
    }
}
#sizeGuideModal .modal-title {
    text-transform: none !important;
}
/*устанавливаем неактивными все слайды в слайдере кроме первого*/
.products-slider .products .product:not(:first-child) {
    display: none;
}

/*устанавливаем все слайды в слайдере активными после инициализации slick-slider*/
.products-slider .products.slick-initialized .product:not(:first-child) {
    display: block;
}

:where(.woocommerce) .select2-container .select2-dropdown,
:where(.woocommerce) .select2-container .select2-selection,
#add_payment_method table.cart td.actions .coupon .input-text,
.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce-checkout table.cart td.actions .coupon .input-text,
.woocommerce .quantity input.qty,
.select2-container--default .select2-selection--single,
.select2-dropdown,
.select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: var(--bs-body-bg) !important;
}

.page-size-nav .btn-link {
    font-weight: 400;
    border: 0;
    --bs-border-color: #5c3b2980;
    --bs-btn-active-border-color: #5c3b29;
}
.page-size-nav .btn.active {
    font-weight: 500;
    border-color: var(--bs-btn-active-border-color) !important;
}

.woocommerce-input-wrapper {
    position: relative;
}
.suggests {
    position: absolute;
    background: #f7f7f7;
    width: 100%;
    z-index: 9999;
    top: 100%;
    left: 0;
    right: 0;
}

.suggest {
    padding: 5px 10px;
    border: 1px #dedede solid;
    cursor: pointer;
    transition: 0.3s;
    /*   user-select:none; */
}

.suggest:hover {
    background: #e1e1e1;
}

.reset_variations,
.wcpa_required_ast {
    display: none;
    visibility: hidden;
    opacity: 0;
}

.woocommerce .wcpa_form_outer {
    margin: 0 0 20px 0 !important;
}
.woocommerce .wcpa_wrap .wcpa_field_wrap select,
.wcpa_wrap .wcpa_field_wrap input[type='number'] {
    border: 1px solid #191919 !important;
    background-color: #faf9f6 !important;
    padding: 8px !important;
    width: 140px !important;
    border-radius: 0 !important;
    height: 46px !important;
}
.woocommerce .wcpa_wrap .wcpa_field_label {
    font-weight: normal;
}

.woocommerce .badge-new {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 99999;
}

img[alt='Онлайн-оплата'] {
    display: none !important;
}

.digi-dolyame-button {
    width: auto !important;
    min-width: unset !important;
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price .woocommerce-Price-amount.amount,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price .woocommerce-Price-amount.amount {
    width: 100%;
}
.woocommerce form .form-row.address-field .optional {
    display: none;
}
.woocommerce form .form-row#billing_country_field {
    display: none !important;
}

/*  */
/* ========== ГАЛЕРЕЯ: ДЕСКТОП ========== */
@media (hover: hover) {
    .product__image {
        position: relative;
        overflow: hidden;
        display: block;
        padding-top: calc(150% + 6px);
        margin-bottom: 16px;
    }
    .image-switch {
        position: absolute;
        left: 0;
        top: 0;
        z-index: 20;
        width: 100%;
        height: calc(100% - 6px);
        display: flex;
    }
    .image-switch__item {
        flex-grow: 1;
        cursor: pointer;
    }
    .image-switch__img {
        position: absolute;
        left: 50%;
        top: 0;
        z-index: 2;
        width: 100%;
        height: 100%;
        transform: translateX(-50%);
        pointer-events: none;
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        overflow: hidden;
    }
    .image-switch__img img {
        display: block;
        max-width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .image-switch__item:first-child .image-switch__img {
        opacity: 1;
        z-index: -1;
    }
    .image-switch__item:hover .image-switch__img {
        opacity: 1;
        z-index: -1;
    }
    .image-pagination {
        position: absolute;
        z-index: 30;
        left: 0;
        bottom: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 6px;
    }
    .image-pagination__item {
        display: block;
        width: 24px;
        height: 2px;
        margin: 0;
        background-color: #dfdfdf;
        padding: 0 !important;
    }
    .image-pagination__item + .image-pagination__item {
        margin-left: 0;
    }
    .image-pagination__item--active {
        background-color: #9e9e9e;
    }
    .woocommerce ul.products li.product a img {
        margin-bottom: 0px;
    }
}

/* ========== ГАЛЕРЕЯ: МОБИЛЬНЫЕ ========== */
@media (hover: none) {
    .product__image {
        position: relative;
        display: block;
        margin-bottom: 16px;
    }

    .image-switch__img img {
        display: block;
        width: 100%;
        height: auto;
    }

    .image-pagination {
        position: static;
        display: block;
        width: 100%;
        margin-top: 12px;
        padding: 0 10px; /* Небольшой отступ по краям, чтобы не прилипало к краям экрана */
    }

    .image-pagination .slick-dots {
        position: static !important;
        bottom: auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: nowrap !important; /* Запрещаем перенос на новую строку */
        list-style: none !important;
        margin: 0 auto !important;
        padding: 0 !important;
        gap: 6px !important; /* Отступ между полосками */
        width: 100% !important;
        max-width: 100%;
        height: auto !important;
    }

    .image-pagination .slick-dots li {
        display: block !important;
        flex: 1 1 0 !important; /* Заставляем все li занимать равную часть пространства */
        max-width: 24px !important; /* Но не больше 24px, как на десктопе */
        min-width: 4px !important; /* Минимальная ширина, чтобы не исчезли совсем */
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .image-pagination .slick-dots li button {
        display: block !important;
        width: 100% !important; /* Кнопка растягивается на всю ширину li */
        height: 2px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #dfdfdf !important;
        font-size: 0 !important;
        line-height: 0 !important;
        cursor: pointer !important;
        outline: none !important;
        opacity: 1 !important;
    }

    .image-pagination .slick-dots li button::before {
        content: none !important;
        display: none !important;
    }

    .image-pagination .slick-dots li.slick-active button {
        background: #9e9e9e !important;
    }

    .image-switch.slick-dotted.slick-slider {
        margin-bottom: 0 !important;
    }

    /* СКРЫВАЕМ ГАЛЕРЕЮ ТОЛЬКО НА МОБИЛЬНЫХ, ЕСЛИ ОНА ВНУТРИ ВНЕШНЕГО СЛАЙДЕРА */
    .slick-slide .image-switch__item:not(:first-child) {
        display: none !important;
    }
    .slick-slide .image-pagination {
        display: none !important;
    }
}
