/*
Theme Name: Speclub
Theme URI: https://speclub.ru/
Author: Generation Brand
Author URI: 
Description: Тема для сайта Speclub
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: speclub
*/

body.page,
body .page {
    filter: none !important; /* remove blur */
}

/* История компании */
.history-title-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.history-navigation {
    display: flex;
    gap: 16px;
}

.history-prev,
.history-next {
    width: 48px;
    height: 48px;
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.history-prev:hover,
.history-next:hover {
    border-color: #FF0048;
    color: #FF0048;
}

.history-prev:disabled,
.history-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.history-content-box {
    position: relative;
    margin-bottom: 40px;
}

.history-swiper {
    padding-bottom: 0;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 0 20px;
}

.history-swiper .swiper-wrapper {
    display: flex;
}

.history-swiper .swiper-slide {
    max-width: 413px;
}

@media (max-width: 991px) {
    .history-title-box {
        flex-direction: column;
        gap: 24px;
    }

    .history-swiper {
        max-width: 728px;
    }

    .history-swiper .swiper-slide {
        max-width: 349px;
    }
}

@media (max-width: 767px) {
    .history-swiper {
        max-width: 100%;
    }
}

@media (max-width: 479px) {
    .history-swiper {
        padding: 0 15px;
    }
}

.history-pagination {
    position: absolute;
    bottom: -40px;
    left: 20px;
    right: 20px;
    height: 4px;
    background: #E5E7EB !important;
    border-radius: 2px;
    z-index: 1;
}

@media (max-width: 479px) {
    .history-pagination {
        left: 15px;
        right: 15px;
    }
}

.history-pagination .swiper-pagination-progressbar-fill {
    background: #FF0048 !important;
    border-radius: 2px;
    transform-origin: left center;
}

/* Стили для фильтра продуктов */
.catalog-grid.loading {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}

.catalog-grid.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1b4962;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.no-products {
    text-align: center;
    padding: 40px 0;
    font-size: 16px;
    color: #666;
}

.filter-field-label {
    font-size: 12px;
    color: #333;
    margin-bottom: 4px;
    display: block;
    text-transform: uppercase;
}

.filter-field-wrapper {
    margin-bottom: 15px;
}

.select-field.w-select {
    margin-bottom: 0;
}
