/* Основные стили для сетки товаров */


/* Отключение жестов Safari для PWA */

html,
body {
    touch-action: manipulation;
    overscroll-behavior: none;
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
}


/* Разрешаем прокрутку только внутри контента */

.woo-alc-products-wrapper,
.woo-alc-grid.active,
.woo-alc-products-carousel {
    touch-action: pan-y;
    overscroll-behavior: none;
    overscroll-behavior-y: none;
}

* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}


/* Разрешаем выделение текста только в полях ввода */

input,
textarea,
[contenteditable] {
    -webkit-user-select: text;
    user-select: text;
}

.woo-alc-products-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}


/* Сортировка */

.woo-alc-sort-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 0;
    padding: 0;
    background: none;
    border-radius: 0;
    color: white;
    position: relative;
    max-width: 1215px;
    margin-left: auto;
    margin-right: auto;
}

.woo-alc-wishlist-toggle {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: relative;
}

.woo-alc-wishlist-toggle.active {}

.woo-alc-wishlist-toggle .woo-alc-wishlist-icon {
    width: 16px;
    height: 16px;
    transition: all 0.3s;
}

.woo-alc-wishlist-count {
    position: absolute;
    top: 2px;
    right: -3px;
    background: none;
    color: white;
    font-size: 11px;
    font-weight: 400;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.woo-alc-sort-label {
    font-family: 'Tenor Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    cursor: pointer;
}

.woo-alc-sort-toggle {
    width: 29px;
    height: 29px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: relative;
    left: -10px;
}

.woo-alc-sort-toggle img {
    filter: brightness(0) invert(1);
    width: 16px;
    padding-top: 3px;
}


/* Поп-ап сортировки */

.woo-alc-sort-popup {
    position: absolute;
    top: 60px;
    right: 90px;
    background: #EDECF2;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    min-width: 250px;
}

.woo-alc-sort-popup-title {
    margin: 0 0 20px 0;
    font-family: 'Tenor Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #333;
}

.woo-alc-sort-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.woo-alc-sort-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 6px;
    transition: background 0.2s;
}

.woo-alc-sort-option:hover {
    background: rgba(107, 70, 193, 0.05);
}

.woo-alc-sort-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #635883;
    border-radius: 4px;
    cursor: pointer;
    margin: 0;
    padding: 0;
    transition: all 0.3s;
    flex-shrink: 0;
}

.woo-alc-sort-option input[type="radio"]:checked {
    background: #635883;
    border-color: #635883;
}

.woo-alc-sort-option span {
    flex: 1;
    color: #333;
    font-family: 'Tenor Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
}


/* Кнопки переключения вида */

.woo-alc-view-toggle {
    display: flex;
    gap: 8px;
}

.woo-alc-view-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woo-alc-view-btn.active {}

.woo-alc-view-btn svg {
    stroke: currentColor;
}

.woo-alc-view-btn img {
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}


/* Неактивная иконка - прозрачность 60% */

.woo-alc-view-btn:not(.active) img {
    opacity: 0.6;
}


/* Активная иконка - полная непрозрачность */

.woo-alc-view-btn.active img {
    opacity: 1;
}


/* Стили для архива */

.woo-alc-archive .woo-alc-view-toggle {
    display: none !important;
}

.woo-alc-archive .woo-alc-products-carousel {
    display: none !important;
}

.woo-alc-archive .woo-alc-filters-btn,
.woo-alc-archive .woo-alc-wishlist-toggle {
    display: none !important;
}

.woo-alc-archive .woo-alc-products-grid.active .woo-alc-product-image img {
    filter: grayscale(100%) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    transition: filter 0.3s ease;
}


/* Сетка товаров */

.woo-alc-products-grid {
    display: none;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-auto-flow: dense;
    gap: 25px;
    margin-bottom: 40px;
    position: relative;
    min-height: 200px;
}

.woo-alc-products-grid.grid-3-columns {
    grid-template-columns: 1fr 1fr 1fr;
}

.woo-alc-products-grid:not(.grid-3-columns) .woo-alc-product-item-large {
    grid-row: span 2;
    grid-column: span 2;
}


/* Большая карточка слева (колонки 1-2) */

.woo-alc-products-grid:not(.grid-3-columns) .woo-alc-product-item-large.woo-alc-large-left {
    grid-column: 1 / span 2;
}


/* Большая карточка справа (колонки 3-4) */

.woo-alc-products-grid:not(.grid-3-columns) .woo-alc-product-item-large.woo-alc-large-right {
    grid-column: 3 / span 2;
}

.woo-alc-products-grid.grid-3-columns .woo-alc-product-item-large {
    grid-column: span 1;
    grid-row: span 1;
}

.woo-alc-grid {
    height: auto;
    overflow: visible;
}

.woo-alc-grid.active {
    height: 79vh;
    overflow: auto;
}

@media (min-height: 960px) {
    .woo-alc-grid.active {
        height: 87vh;
        overflow: auto;
    }
}

.woo-alc-products-grid.active {
    display: grid;
    max-width: 1235px !important;
    padding-right: 15px;
    padding-left: 15px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px !important;
}

.woo-alc-products-grid.loading {
    opacity: 0.6;
    pointer-events: none;
}

.woo-alc-products-grid.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #6b46c1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.woo-alc-product-item {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.07));
    overflow: visible;
    cursor: pointer;
    display: flex;
    padding: 16px 30px;
    gap: 20px;
    align-items: center;
    position: relative;
    border: 0;
}

.woo-alc-product-favorite {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.woo-alc-product-favorite:hover {
    background: white;
    transform: scale(1.1);
}

.woo-alc-product-favorite .woo-alc-favorite-icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s;
}

.woo-alc-product-image {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: transparent;
}

.woo-alc-product-image img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.woo-alc-product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    color: white;
}

.woo-alc-product-title {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: black;
    line-height: 1.3;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: Tenor Sans;
}

.woo-alc-products-grid.grid-3-columns .woo-alc-product-title {
    font-size: 20px;
}

.woo-alc-product-price {
    font-family: Tenor Sans;
    font-size: 16px;
    font-weight: 400;
    color: #FFE499;
    text-align: right;
    position: absolute;
    margin: 0;
    right: 9px;
    bottom: 10px;
}

.woo-alc-product-price .woocommerce-Price-amount {
    color: #FFE499;
}

.woo-alc-product-price del {
    opacity: 0.6;
    font-size: 20px;
}

.woo-alc-product-price ins {
    text-decoration: none;
}


/* Пагинация */

.woo-alc-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.woo-alc-pagination a,
.woo-alc-pagination span {
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    background: white;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.woo-alc-pagination a:hover {
    background: #6b46c1;
    color: white;
    border-color: #6b46c1;
}

.woo-alc-pagination .current {
    background: #6b46c1;
    color: white;
    border-color: #6b46c1;
}


/* Блокировка скролла при открытом модальном окне */

body.modal-open {
    overflow: hidden;
}


/* Модальное окно */

.woo-alc-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.woo-alc-modal-product {
    height: 100%;
}

.woo-alc-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.woo-alc-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.woo-alc-modal-content {
    position: relative;
    background: white;
    border-radius: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    z-index: 10001;
    box-shadow: none;
}

.woo-alc-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    transition: background 0.3s;
}

.woo-alc-modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
}


/* Скрываем старую кнопку закрытия, так как теперь она в правой части */

.woo-alc-modal-content>.woo-alc-modal-close {
    display: none;
}

.woo-alc-modal-body {
    padding: 0;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.woo-alc-modal-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3c335c;
    color: #ffffff;
    font-size: 24px;
    text-align: center;
    z-index: 10;
}

.woo-alc-modal-loading .error {
    color: #ffffff;
    font-weight: 600;
}


/* Поп-ап товара */

.woo-alc-modal-content {
    width: 100% !important;
}

.woo-alc-popup-product {
    display: grid;
    grid-template-columns: 65% 35%;
    height: 100%;
    overflow: hidden;
}


/* Левая секция (белая, 2/3) */

.woo-alc-popup-left {
    background-color: #3c335c;
    background-image: url(../images/white.jpg);
    background-repeat: repeat;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.woo-alc-popup-logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-top: 25px;
    padding-left: 60px;
}

.woo-alc-popup-logo img {
    height: 54px;
    width: auto;
}

.woo-alc-popup-columns {
    display: grid;
    grid-template-columns: 40% 60%;
    flex: 1;
}

.woo-alc-popup-left-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
}

.woo-alc-popup-country-map {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.woo-alc-popup-country-map:hover {
    opacity: 0.8;
}

.woo-alc-popup-country-map img {
    width: 100%;
    height: auto;
    max-width: 300px;
    object-fit: contain;
    pointer-events: none;
}

.woo-alc-popup-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    width: 266px;
    margin-left: auto;
    margin-right: auto;
}

.woo-alc-gallery-item {
    width: 140px;
    height: 140px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    border: 1px solid #ccc;
    border-radius: 0;
}

.woo-alc-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.woo-alc-popup-right-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.woo-alc-popup-main-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.woo-alc-popup-main-image img {
    width: 100%;
    height: 70vh;
    max-height: 100%;
    object-fit: contain;
}


/* 360 просмотр */

.woo-alc-360-viewer {
    position: relative;
    margin-bottom: 80px;
}

.woo-alc-360-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    user-select: none;
    position: relative;
    touch-action: none;
    -webkit-user-select: none;
    overscroll-behavior: none;
}

.woo-alc-360-container.dragging {
    cursor: grabbing;
}

.woo-alc-360-container img {
    width: 100%;
    height: 70vh;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.1s;
    pointer-events: none;
}

.woo-alc-360-container.dragging img {
    transition: none;
}

.woo-alc-360-loading {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #333;
    text-align: center;
    padding: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    z-index: 10;
    pointer-events: none;
    user-select: none;
}

.woo-alc-360-icon {
    position: absolute;
    bottom: -5px;
    font-size: 0;
    color: #333;
    display: inline-block;
    pointer-events: none;
    user-select: none;
    width: 55px;
    height: 55px;
    background-image: url(../images/360.svg);
}

.woo-alc-360-fullscreen-btn {
    position: absolute;
    top: 60px;
    right: 60px;
    width: 44px;
    height: 44px;
    background-color: #261953 !important;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
}

.woo-alc-360-viewer.woo-alc-360-fullscreen .woo-alc-360-fullscreen-btn {
    display: none !important;
}

.woo-alc-360-fullscreen-btn svg {
    width: 20px;
    height: 20px;
    color: white;
}

.woo-alc-360-viewer.woo-alc-360-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background-color: #3C335C;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woo-alc-360-viewer.woo-alc-360-fullscreen .woo-alc-360-container {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    background: #3c335c;
}

.woo-alc-360-viewer.woo-alc-360-fullscreen .woo-alc-360-container img {
    width: auto;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
}

.woo-alc-360-viewer.woo-alc-360-fullscreen .woo-alc-360-icon {
    display: none;
}

body.woo-alc-360-fullscreen-active {
    overflow: hidden;
}

.woo-alc-360-viewer.woo-alc-360-fullscreen .woo-alc-360-close {
    position: absolute;
    top: 40px;
    right: 30px;
    z-index: 10000;
    background: transparent;
    border: none;
    font-size: 0;
    line-height: 1;
    width: 24px;
    height: 33px;
    display: flex;
    background-image: url(../images/xw.svg);
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 0;
    cursor: pointer;
}


/* Правая секция (фон #3c335c, 1/3) */

.woo-alc-popup-right {
    background: #3c335c;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 0;
    color: white;
    overflow-y: auto;
    position: relative;
    padding-left: 100px;
}

.woo-alc-popup-right-stripe {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 100%;
    background: white;
    border-radius: 0 50px 50px 0;
    z-index: 1;
}

.woo-alc-popup-right.vine {
    background-image: url(/wp-content/uploads/2025/12/vine-fon.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.woo-alc-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.woo-alc-popup-favorite {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.woo-alc-popup-favorite .woo-alc-popup-favorite-icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s;
}

.woo-alc-popup-close {
    background: transparent;
    border: none;
    font-size: 0;
    line-height: 1;
    width: 24px;
    height: 33px;
    display: flex;
    background-image: url(../images/xw.svg);
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 0;
}

.woo-alc-popup-title {
    margin: 0;
    font-size: 28px;
    font-weight: 400;
    color: white;
    line-height: 1.3;
    font-family: 'Playfair Display SC';
    margin-top: 20px;
}

.woo-alc-popup-title.vine {
    font-size: 36px;
    font-family: Great Vibes;
}

.woo-alc-popup-attr9 {
    font-size: 18px;
    color: #FFFFFFBF;
    margin-top: 5px;
    font-weight: 400;
    text-transform: lowercase;
    font-family: 'Tenor Sans';
}

.woo-alc-popup-specs {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.woo-alc-review-link {
    margin-top: 40px;
    width: 100%;
}

.woo-alc-review-link a {
    font-family: "Tenor Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: inherit;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 0;
    text-decoration-offset: 0;
    text-decoration-skip-ink: auto;
    vertical-align: middle;
}

.woo-alc-review-link a:hover {
    color: white;
}

#woo-alc-product-modal>div.woo-alc-modal-content>div>div.woo-alc-modal-product>div>div.woo-alc-popup-right>div.woo-alc-popup-specs>div:nth-child(1)>span.woo-alc-spec-value,
#woo-alc-product-modal>div.woo-alc-modal-content>div>div.woo-alc-modal-product>div>div.woo-alc-popup-right>div.woo-alc-popup-specs>div:nth-child(2)>span.woo-alc-spec-value {
    min-width: 105px;
    border-radius: 20px;
    background-color: #363636;
    text-align: center;
    padding: 2px;
    padding-left: 5px;
    padding-right: 5px;
}


/* Стили для кликабельных атрибутов */

.woo-alc-filterable-attr {
    transition: opacity 0.3s ease;
}

.woo-alc-filterable-attr:hover {
    opacity: 0.8;
}

.woo-alc-spec-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 18px;
    color: white;
    font-family: 'Tenor Sans';
}

.woo-alc-spec-label {
    color: white;
    font-weight: 400;
    font-fize: 16px;
    width: 120px;
}

.woo-alc-spec-value {
    color: white;
    font-weight: 400;
    text-align: right;
}

.woo-alc-rating {
    display: flex;
    gap: 4px;
}

.woo-alc-star {
    color: rgba(255, 255, 255, 0.3);
    font-size: 32px;
}

.woo-alc-star.filled {
    color: #CDA25A;
}


/* Поле комментария */

.woo-alc-popup-comment {
    margin-top: auto;
    padding-top: 20px;
}

.woo-alc-comment-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.woo-alc-comment-field {
    flex: 1;
    height: 70px;
    padding: 7px 16px;
    border: 1px solid white;
    border-radius: 10px;
    font-weight: 400;
    background: transparent;
    color: #A9A5C9;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    outline: none;
    font-family: 'Tenor Sans';
}

.woo-alc-comment-field::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.woo-alc-comment-send {
    background: transparent;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
    background: none !important;
    box-shadow: none;
    border: 0;
}

.woo-alc-comment-send:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
}

.woo-alc-comment-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.woo-alc-comment-send img {
    width: 20px;
    height: 20px;
    display: block;
}


/* Лайтбокс галереи */

.woo-alc-gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woo-alc-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #25212ECC;
}

.woo-alc-lightbox-content {
    position: relative;
    z-index: 20001;
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.woo-alc-lightbox-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 37px;
    height: 37px;
    background-color: white !important;
    color: black !important;
    border-radius: 50%;
    font-size: 32px;
    text-align: center;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 20002;
    font-weight: 300;
    border: 0;
}

.woo-alc-lightbox-prev,
.woo-alc-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 71px;
    height: 71px;
    border: none;
    background-color: white !important;
    color: black;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 20002;
}

.woo-alc-lightbox-prev {
    left: 0;
}

.woo-alc-lightbox-next {
    right: 0;
}

.woo-alc-lightbox-prev:hover,
.woo-alc-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.05);
}

.woo-alc-lightbox-prev svg,
.woo-alc-lightbox-next svg {
    stroke: black;
    fill: none;
    width: 36px;
    height: 36px;
    stroke-width: 2;
}

.woo-alc-lightbox-main {
    width: 100%;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.woo-alc-lightbox-main img {
    max-width: 100%;
    height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    position: relative;
}

.woo-alc-lightbox-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px;
    max-width: 100%;
    overflow-x: auto;
}

.woo-alc-lightbox-thumb {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
    opacity: 0.6;
    flex-shrink: 0;
}

.woo-alc-lightbox-thumb:hover {
    opacity: 1;
    transform: scale(1.1);
}

.woo-alc-lightbox-thumb.active {
    border-color: white;
    opacity: 1;
}

.woo-alc-lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.woo-alc-lightbox-open {
    overflow: hidden;
}


/* Адаптивность лайтбокса */

@media (max-width: 768px) {
    .woo-alc-lightbox-prev {
        left: 0;
        width: 50px;
        height: 50px;
    }
    .woo-alc-lightbox-prev svg {
        width: 20px;
        height: 20px;
    }
    .woo-alc-lightbox-next {
        right: 0;
        width: 50px;
        height: 50px;
    }
    .woo-alc-lightbox-next svg {
        width: 20px;
        height: 20px;
    }
    .woo-alc-lightbox-close {
        top: 0;
        right: 0;
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    .woo-alc-lightbox-main {
        max-height: 60vh;
    }
    .woo-alc-lightbox-thumbnails {
        gap: 8px;
    }
    .woo-alc-lightbox-thumb {
        width: 60px;
        height: 60px;
    }
}

.woo-alc-no-products {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: white;
}


/* Стили для сообщения в архиве */

.woo-alc-archive .woo-alc-no-products {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    padding: 0;
    margin: 0;
    z-index: 100;
    font-family: 'Tenor Sans';
    width: 315px;
}


/* Стили для сообщения в избранном (аналогично архиву) */

.woo-alc-wishlist-active .woo-alc-no-products {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    padding: 0;
    margin: 0;
    z-index: 100;
    font-family: 'Tenor Sans';
    width: 315px;
    text-align: center;
}


/* Плашка для карусели когда нет избранного */

.woo-alc-products-carousel .woo-alc-no-products {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    width: 100%;
    max-width: 600px;
}


/* Контейнеры видов */

.woo-alc-view-container {
    display: none;
}

.woo-alc-view-container.active {
    display: grid;
    margin-top: 0;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}


/* Карусель скрыта по умолчанию */

.woo-alc-products-carousel {
    display: none;
}

.woo-alc-products-carousel.active {
    display: block;
}


/* Карусель товаров */

.woo-alc-products-carousel {
    margin-bottom: 0;
    padding: 0 0;
    position: relative;
    overflow: hidden;
}

.product-carousel {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible;
    margin-top: 40px;
}

.carousel-track {
    display: block;
    align-items: center;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    position: relative;
    padding: 0;
    will-change: transform;
    width: 100%;
    height: auto;
    min-height: 700px;
    touch-action: pan-x pan-y;
    overflow: visible;
}

.carousel-track:active {
    cursor: grabbing;
}

.carousel-track.dragging {
    cursor: grabbing;
}

.carousel-track.dragging * {
    pointer-events: none;
}

.carousel-item {
    width: 350px;
    min-width: 350px;
    max-width: 350px;
    margin: 0;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s ease, z-index 0s, left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), top 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.6;
    transform: scale(0.7);
    position: absolute;
    cursor: default;
    z-index: 1;
    will-change: transform, opacity, left, top;
    top: 0;
    box-sizing: border-box;
}

.carousel-item.active {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
    cursor: pointer;
    margin: 0;
}

.carousel-item.prev,
.carousel-item.next {
    opacity: 0.8;
    transform: scale(0.85);
    z-index: 5;
    cursor: pointer;
}

.carousel-item.prev-2,
.carousel-item.next-2 {
    transform: scale(0.75);
}

.carousel-item.prev-3,
.carousel-item.next-3 {
    transform: scale(0.7);
}

.carousel-item.prev-4,
.carousel-item.next-4 {
    transform: scale(0.65);
}

.carousel-item.prev-5,
.carousel-item.next-5 {
    transform: scale(0.6);
}

.carousel-item.prev-6,
.carousel-item.next-6 {
    transform: scale(0.55);
}

.carousel-item-inner {
    position: relative;
    background: transparent;
    text-align: center;
}


/* Изображение товара */

.carousel-item-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    transition: height 0.3s ease;
    overflow: visible;
}


/* Высота для активной карточки */

.carousel-item.active .carousel-item-image {
    height: 500px;
    margin-top: 0;
}


/* Высота для первых соседних карточек */

.carousel-item.prev .carousel-item-image,
.carousel-item.next .carousel-item-image {
    height: 500px;
}


/* Высота для вторых соседних карточек */

.carousel-item.prev-2 .carousel-item-image,
.carousel-item.next-2 .carousel-item-image {
    height: 500px;
}


/* Высота для третьих соседних карточек */

.carousel-item.prev-3 .carousel-item-image,
.carousel-item.next-3 .carousel-item-image {
    height: 500px;
}


/* Высота для четвертых соседних карточек */

.carousel-item.prev-4 .carousel-item-image,
.carousel-item.next-4 .carousel-item-image {
    height: 500px;
}


/* Высота для пятых соседних карточек */

.carousel-item.prev-5 .carousel-item-image,
.carousel-item.next-5 .carousel-item-image {
    height: 500px;
}


/* Высота для шестых соседних карточек */

.carousel-item.prev-6 .carousel-item-image,
.carousel-item.next-6 .carousel-item-image {
    height: 500px;
}

.carousel-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transition: filter 0.3s ease;
    z-index: 2;
}

.carousel-item.active .carousel-item-image img {
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.2));
}


/* Зеркальное отражение */

.carousel-item-image::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 0;
    right: 0;
    height: 100px;
    background: inherit;
    transform: scaleY(-1);
    opacity: 0.3;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
    pointer-events: none;
}

.carousel-item-image img+img.reflection {
    position: absolute;
    bottom: -95px;
    left: 50%;
    transform: translateX(-50%) scaleY(-1);
    width: 70%;
    max-width: 100%;
    max-height: 100px;
    object-fit: cover;
    object-position: bottom;
    opacity: 2.3;
    z-index: 1;
    mask-image: linear-gradient(to bottom, #0000, #00000040);
    -webkit-mask-image: linear-gradient(to bottom, #00000000, #0000008c);
    pointer-events: none;
}


/* Адаптив для iPad Pro (высота 960px и более) */

@media (min-height: 960px) {
    .woo-alc-products-carousel,
    .product-carousel {
        height: 87vh;
        margin-top: 0;
    }
    .carousel-item.active .carousel-item-image {
        height: 800px;
        transition: height 0.3s ease;
    }
    .carousel-item-image img+img.reflection {
        bottom: -45px;
        width: 100%;
        transition: bottom 0.3s ease;
    }
    .carousel-current-info {
        top: auto;
        bottom: -100px;
        transition: bottom 0.3s ease;
    }
    .carousel-item .carousel-item-image {
        height: 800px !important;
        transition: height 0.3s ease;
    }
    .carousel-item.prev .carousel-item-image,
    .carousel-item.next .carousel-item-image {
        height: 800px;
        transition: height 0.3s ease;
    }
    .carousel-item.prev-2 .carousel-item-image,
    .carousel-item.next-2 .carousel-item-image {
        height: 800px;
        transition: height 0.3s ease;
    }
    .carousel-item.prev-3 .carousel-item-image,
    .carousel-item.next-3 .carousel-item-image {
        height: 800px;
        transition: height 0.3s ease;
    }
    .carousel-item.prev-4 .carousel-item-image,
    .carousel-item.next-4 .carousel-item-image {
        height: 800px;
        transition: height 0.3s ease;
    }
    .carousel-item.prev-6 .carousel-item-image,
    .carousel-item.next-6 .carousel-item-image {
        height: 800px;
        transition: height 0.3s ease;
    }
    .carousel-item.prev-6 .carousel-item-image,
    .carousel-item.next-6 .carousel-item-image {
        height: 800px;
        transition: height 0.3s ease;
    }
    .carousel-current-info {
        top: 80px !important;
        transition: top 0.3s ease, bottom 0.3s ease;
    }
}


/* Информация о товаре - показываем только под каруселью */

.carousel-item-info {
    display: none !important;
}


/* Информация о текущем товаре под каруселью */

.carousel-current-info {
    padding: 0;
    text-align: center;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 0;
    position: relative;
    top: -130px;
}

.carousel-current-info:empty {
    display: none;
}

.carousel-current-title {
    margin: 0;
    font-size: 26px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: white;
    line-height: 1.3;
    z-index: 100;
}

.carousel-current-price {
    font-size: 26px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: #FFE499;
    margin: 0;
    white-space: nowrap;
}

.carousel-current-price .woocommerce-Price-amount {
    color: #FFE499;
}


/* Сообщение когда товары не найдены в карусели */

.woo-alc-products-carousel .carousel-no-products {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    width: 100%;
    max-width: 600px;
    text-align: center;
    padding: 0;
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    font-family: 'Tenor Sans', sans-serif;
}


/* Сообщение когда результаты поиска не найдены в сетке */

.woo-alc-products-grid .woo-alc-search-no-results {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    width: 100%;
    max-width: 600px;
    text-align: center;
    padding: 0;
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    font-family: 'Tenor Sans', sans-serif;
}


/* Кнопки навигации - скрыты */

.carousel-prev,
.carousel-next {
    display: none;
}


/* Адаптивность */


/* Планшеты (до 1024px) - 2 карточки в ряд */

@media (max-width: 1024px) {
    .woo-alc-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .woo-alc-products-grid.grid-3-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    .woo-alc-products-grid:not(.grid-3-columns) .woo-alc-product-item-large {
        grid-column: span 2;
        grid-row: span 2;
    }
    .woo-alc-products-grid.grid-3-columns .woo-alc-product-item-large {
        grid-column: span 1;
        grid-row: span 1;
    }
}


/* Только для мобильных (меньше 600px) - 1 карточка в ряд */

@media (max-width: 600px) {
    .woo-alc-products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .woo-alc-products-grid.grid-3-columns {
        grid-template-columns: 1fr;
    }
    .woo-alc-product-item-large {
        grid-column: span 1;
        grid-row: span 1;
    }
    .woo-alc-popup-product {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
    .woo-alc-popup-left,
    .woo-alc-popup-right {
        padding: 20px;
    }
    .woo-alc-popup-columns {
        grid-template-columns: 1fr;
    }
    .woo-alc-popup-specs {
        margin-top: 40px;
    }
    .woo-alc-modal-content {
        max-width: 100%;
        height: 100vh;
    }
    .woo-alc-product-item {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }
    .woo-alc-product-image {
        flex: 0 0 auto;
    }
    .woo-alc-product-title {
        font-size: 18px;
    }
    .woo-alc-product-price {
        font-size: 24px;
        text-align: center;
    }
    .woo-alc-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    .woo-alc-modal-body {
        padding: 20px;
    }
    .woo-alc-sort-wrapper {
        flex-wrap: wrap;
        gap: 10px;
    }
    .woo-alc-view-toggle {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
    }
}


/* Кнопка фильтров */

.woo-alc-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.woo-alc-filters-btn span {
    font-family: 'Tenor Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    text-align: center;
    color: white;
}

.woo-alc-filters-btn img {
    filter: brightness(0) invert(1);
    width: 16px;
    padding-top: 5px;
}


/* Поиск товаров */

.woo-alc-search-wrapper {
    width: 100%;
    margin-bottom: 0;
}

.woo-alc-search-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.woo-alc-search-input {
    width: 100%;
    padding: 7px 12px;
    border: 1px solid #D2C9EF59;
    border-radius: 9px;
    background: transparent;
    font-family: 'Tenor Sans', sans-serif;
    font-size: 14px;
    color: #D2C9EF59;
    outline: none;
    transition: all 0.3s;
    width: 260px;
}

.woo-alc-search-input::placeholder {
    color: rgba(155, 147, 180, 0.6);
}

.woo-alc-search-input:focus {
    border-color: rgba(155, 147, 180, 0.8);
    color: rgba(155, 147, 180, 1);
}

.woo-alc-search-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.woo-alc-search-btn svg {
    stroke: rgba(155, 147, 180, 0.8);
    transition: stroke 0.3s;
}

.woo-alc-search-btn:hover svg {
    stroke: rgba(155, 147, 180, 1);
}


/* Модальное окно фильтров */

.woo-alc-filters-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.woo-alc-filters-modal.active {
    display: flex;
}

.woo-alc-filters-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.woo-alc-filters-modal-content {
    position: relative;
    background: #EDECF2;
    border-radius: 16px;
    max-width: 1000px;
    width: 95%;
    min-height: 500px;
    padding: 14px 40px 34px 40px;
    z-index: 10001;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.woo-alc-filters-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 30px;
    border: none;
    background: url('../images/x.svg') no-repeat center;
    background-size: contain;
    cursor: pointer;
    transition: opacity 0.3s;
    z-index: 10;
    font-size: 0;
}

.woo-alc-filters-modal-close:hover {
    opacity: 0.7;
}

.woo-alc-filters-modal-title {
    margin: 0 0 30px 0;
    font-family: 'Tenor Sans', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 35px;
    letter-spacing: -0.43px;
    text-align: center;
    color: #333;
}


/* Форма фильтров */

.woo-alc-filters-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.woo-alc-filters-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.woo-alc-filter-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.woo-alc-filter-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.woo-alc-filter-title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 35px;
    letter-spacing: -0.43px;
    color: #333;
    padding-left: 38px;
}

.woo-alc-filter-group:has(.woo-alc-slider-container) .woo-alc-filter-title {
    padding-left: 0;
}

.woo-alc-filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.woo-alc-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.2s;
    position: relative;
}

.woo-alc-filter-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 26px;
    height: 26px;
    cursor: pointer;
    margin: 0;
    padding: 0;
    background-image: url('../images/checkbox.svg');
    background-size: 26px 26px;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.woo-alc-filter-checkbox input[type="checkbox"]:checked {
    background-image: url('../images/checkbox-active.svg');
}

.woo-alc-filter-checkbox span {
    flex: 1;
    color: #333;
    font-family: 'Tenor Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 35px;
    letter-spacing: -0.43px;
}

.woo-alc-wishlist-filter-checkbox {
    background: none;
    border-radius: 8px;
    padding: 0;
}

input[type="checkbox"]+span::before,
input[type="checkbox"]+label::before {
    outline: 0 !important;
    border: 2px solid #000;
}

input[type="checkbox"]:checked+span::after,
input[type="checkbox"]:checked+label::after {
    left: 0 !important;
    top: 0 !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #000 !important;
    border-radius: 5px !important;
    background: #635883;
    transition: all 0.2s ease;
    box-sizing: border-box;
    transform: none !important;
}


/* Кнопка "Показать ещё" */

.woo-alc-show-more {
    background: none;
    border: none;
    color: black !important;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    padding: 6px 10px;
    text-align: left;
    transition: color 0.3s;
    font-family: 'Tenor Sans', sans-serif;
}

.woo-alc-show-more:hover {
    color: #553c9a;
}

.woo-alc-show-more.expanded::after {
    content: ' ▲';
}


/* Модальный select для фильтров */

.woo-alc-filter-select-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.woo-alc-filter-select-modal.active {
    display: flex;
    opacity: 1;
}

.woo-alc-filter-select-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.woo-alc-filter-select-content {
    position: relative;
    background: #EDECF2;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    z-index: 10002;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.woo-alc-filter-select-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.woo-alc-filter-select-title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 35px;
    letter-spacing: -0.43px;
    color: #333;
}

.woo-alc-filter-select-close {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    color: #333 !important;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    padding: 0;
    border-radius: 50%;
}

.woo-alc-filter-select-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.woo-alc-filter-select-body {
    padding: 20px 30px;
    overflow-y: auto;
    max-height: calc(80vh - 100px);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.woo-alc-filter-select-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 6px;
    transition: background 0.2s;
    position: relative;
}

.woo-alc-filter-select-checkbox:hover {
    background: rgba(107, 70, 193, 0.05);
}

.woo-alc-filter-select-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 26px;
    height: 26px;
    cursor: pointer;
    margin: 0;
    padding: 0;
    background-image: url('../images/checkbox.svg');
    background-size: 26px 26px;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.woo-alc-filter-select-checkbox input[type="checkbox"]:checked {
    background-image: url('../images/checkbox-active.svg');
}

.woo-alc-filter-select-checkbox span {
    flex: 1;
    color: #333;
    font-family: 'Tenor Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.3px;
}

body.woo-alc-filter-select-open {
    overflow: hidden;
}


/* Диапазон (от-до) */

.woo-alc-filter-range-inputs {
    display: flex;
    gap: 15px;
    align-items: center;
    width: 250px;
}

.woo-alc-range-input-group {
    display: flex;
    flex-direction: row;
    gap: 5px;
    flex: 1;
    align-items: flex-end;
}

.woo-alc-range-input-group label {
    font-size: 20px;
    color: black;
    font-weight: 400;
    font-family: Tenor Sans;
}

.woo-alc-range-input {
    padding: 3px;
    border-radius: 10px;
    font-size: 24px;
    color: #333;
    transition: border-color 0.3s;
    text-align: center;
    font-weight: 400;
    width: 87px;
    border: 0;
    font-family: Tenor Sans;
}

.woo-alc-range-input:focus {
    outline: none;
    border-color: #6b46c1;
}


/* Ползунки */

.woo-alc-slider-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
    padding: 0;
    top: -10px;
}

.woo-alc-slider-track {
    position: absolute;
    width: 100%;
    height: 4px;
    background: #D9D9D9;
    border-radius: 2px;
    margin-top: 15px;
}

.woo-alc-slider-progress {
    position: absolute;
    height: 100%;
    background: #9B93B4;
    border-radius: 2px;
    left: 0;
    right: 0;
}

.woo-alc-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: transparent;
    border-radius: 2px;
    outline: none;
    position: absolute;
    top: 15px;
    left: 0;
    pointer-events: none;
    margin: 0;
}

.woo-alc-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #9B93B4;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    transition: opacity 0.3s;
}

.woo-alc-range-slider::-webkit-slider-thumb:hover {
    opacity: 0.8;
}

.woo-alc-range-slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #9B93B4;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    transition: opacity 0.3s;
}

.woo-alc-range-slider::-moz-range-thumb:hover {
    opacity: 0.8;
}

.woo-alc-range-slider-min {
    z-index: 3;
}

.woo-alc-range-slider-max {
    z-index: 4;
}

.woo-alc-slider-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
    font-family: 'Tenor Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 35px;
    letter-spacing: -0.43px;
    text-align: center;
    color: #333;
    position: relative;
    margin-top: 20px;
}


/* Кнопки действий */

.woo-alc-filters-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.woo-alc-filters-reset-btn,
.woo-alc-filters-apply-btn {
    padding: 12px 30px;
    border: 2px solid #9B93B4;
    border-radius: 5px;
    font-family: 'Tenor Sans', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 35px;
    letter-spacing: -0.43px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 180px;
    color: #261953;
}

.woo-alc-filters-reset-btn {
    background-color: #ffffff00 !important;
    color: #261953 !important;
    border: 0;
}

.woo-alc-filters-reset-btn:hover {
    opacity: 0.8;
}

.woo-alc-filters-apply-btn {
    background-color: #ffffff00 !important;
    color: #261953 !important;
}

.woo-alc-filters-apply-btn:hover {
    opacity: 0.8;
}


/* Адаптивность для фильтров - только для мобильных */

@media (max-width: 600px) {
    .woo-alc-filters-modal-content {
        max-width: 95%;
        max-height: 90vh;
        padding: 30px 20px;
    }
    .woo-alc-filters-columns {
        grid-template-columns: 1fr;
        max-height: calc(90vh - 200px);
    }
    .woo-alc-filters-actions {
        flex-direction: column;
    }
    .woo-alc-filters-reset-btn,
    .woo-alc-filters-apply-btn {
        width: 100%;
    }
}


/* Прелоадер карусели */

.woo-alc-carousel-preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}