/**
 * =============================================================================
 * CATALOG PAGE STYLES - ЭТАЛОННЫЙ CSS
 * =============================================================================
 *
 * Источник: /catalog/chairs.html (проверенная рабочая страница)
 * Создан: 2025-12-02
 *
 * НАЗНАЧЕНИЕ:
 * Единый источник стилей для страниц каталога товаров.
 * Заменяет: встроенные <style> блоки на страницах каталога.
 *
 * ПОДКЛЮЧЕНИЕ:
 * <link rel="stylesheet" href="../css/catalog-page.css">
 *
 * ЗАВИСИМОСТИ:
 * - Google Fonts: Titillium Web (wght: 100,200,300,400,600,700)
 * - Tilda Grid (опционально): tilda-grid-3.0.min.css
 *
 * ВАЖНО:
 * - НЕ подключать вместе с header.css (конфликт стилей)
 * - Этот файл содержит ВСЕ необходимые стили включая header
 *
 * =============================================================================
 */


/* =============================================================================
   1. CSS ПЕРЕМЕННЫЕ (Design Tokens)
   ============================================================================= */

:root {
    /* Цвета */
    --color-gold: #C4A774;
    --color-gold-dark: #b79969;
    --color-gold-light: #e0c07e;
    --color-gold-hover: #a58854;

    --color-text-primary: #68615c;
    --color-text-secondary: #787066;
    --color-text-muted: #ada6a1;

    --color-bg-white: #ffffff;
    --color-bg-light: #f9f9f9;
    --color-border: #f0f0f0;
    --color-border-light: #F4F1ED;
    --color-border-hover: #e0e0e0;

    /* Типографика */
    --font-family: 'Titillium Web', 'Inter', Arial, sans-serif;
    --font-weight-thin: 200;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-semibold: 600;

    /* Размеры шрифтов */
    --font-size-xs: 14px;
    --font-size-sm: 16px;
    --font-size-md: 18px;
    --font-size-lg: 20px;
    --font-size-xl: 26px;
    --font-size-2xl: 32px;
    --font-size-3xl: 52px;

    /* Отступы */
    --spacing-xs: 10px;
    --spacing-sm: 20px;
    --spacing-md: 30px;
    --spacing-lg: 40px;
    --spacing-xl: 46px;

    /* Ширина контейнера */
    --container-width: 1160px;

    /* Анимации */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}


/* =============================================================================
   2. БАЗОВЫЕ СТИЛИ
   ============================================================================= */

body {
    margin: 0;
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    background-color: var(--color-bg-white);
}


/* =============================================================================
   3. HEADER - ВЕРХНЯЯ ЧАСТЬ (Логотип + Контакты)
   ============================================================================= */

.header-top {
    background-color: var(--color-bg-white);
    height: 80px;
    position: relative;
    margin-top: 2.5cm;
}

.header-top::after {
    content: '';
    position: absolute;
    bottom: 1.5cm;
    left: 50%;
    transform: translateX(-50%);
    width: var(--container-width);
    height: 2px;
    background-color: var(--color-border-light);
}

.header-top-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(-2cm);
}

.header-logo {
    display: flex;
    align-items: center;
    margin-right: 6mm;
    margin-bottom: 12.5mm;
    margin-top: 12mm;
    border: none;
    background: transparent;
    box-shadow: none;
}

.header-logo img {
    width: 180px;
    height: auto;
}

.header-contacts {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 40px;
    height: 40px;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-main {
    font-family: var(--font-family);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-thin);
    color: var(--color-text-primary);
    text-decoration: none;
    line-height: 1.55;
}

.contact-sub {
    font-family: var(--font-family);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-thin);
    color: var(--color-text-muted);
    line-height: 1.55;
}


/* =============================================================================
   4. HEADER - НАВИГАЦИЯ
   ============================================================================= */

.header-nav {
    background-color: var(--color-bg-white);
    height: 60px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    transform: translateY(-2cm);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32.5px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-family);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-thin);
    color: var(--color-text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    transition: color var(--transition-normal);
    padding: var(--spacing-sm) 0;
    display: block;
    transform: translateY(-3mm);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
}

.has-dropdown .nav-link::after {
    content: "\25BC"; /* треугольник вниз */
    font-size: 8px;
    margin-left: 5px;
    transition: transform var(--transition-normal);
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border-hover);
    border-radius: 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    width: 200px;
    z-index: 9999;
}

.dropdown-item {
    display: block;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-thin);
    color: #c5a87c;
    text-decoration: none;
    transition: background-color var(--transition-fast);
    text-align: center;
}

.dropdown-item:hover {
    background-color: var(--color-bg-light);
    color: var(--color-gold-hover);
}

/* VK иконка */
.social-link {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.vk-icon {
    width: 40px;
    height: 40px;
    background-color: #99918c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-normal);
}

.vk-icon:hover {
    background-color: var(--color-gold-dark);
}

.vk-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}


/* =============================================================================
   5. STICKY HEADER (появляется при скролле)
   ============================================================================= */

.header-combined {
    position: fixed;
    top: -4px;
    background-color: var(--color-bg-white);
    width: 100%;
    z-index: 999;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    transition: transform var(--transition-slow);
    padding-top: 4px;
}

.header-combined.scrolled {
    transform: translateY(0);
}

.header-combined-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sticky-logo {
    border: none;
    background: transparent;
    box-shadow: none;
}

.sticky-logo img {
    width: 180px;
    height: auto;
}

.sticky-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
    align-items: center;
}

.sticky-link {
    font-family: var(--font-family);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-thin);
    color: var(--color-text-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    transition: color var(--transition-normal);
    padding: var(--spacing-sm) 0;
    display: block;
}

.sticky-link:hover {
    color: var(--color-gold);
}

.sticky-dropdown {
    position: relative;
}

.sticky-dropdown .sticky-link::after {
    content: "\25BC";
    font-size: 8px;
    margin-left: 5px;
}

.sticky-dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border-hover);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    width: 200px;
    z-index: 9999;
}

.sticky-dropdown:hover .sticky-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.sticky-dropdown-item {
    display: block;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-thin);
    color: #c5a87c;
    text-decoration: none;
    transition: background-color var(--transition-fast);
    text-align: center;
}

.sticky-dropdown-item:hover {
    background-color: var(--color-bg-light);
}


/* =============================================================================
   6. HERO СЛАЙДЕР
   ============================================================================= */

.hero-slider-fixed {
    width: 1380px;
    max-width: 100%;
    height: 61vh;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
}

.hero-slider-fixed .slider-slide-fixed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider-fixed .slider-slide-fixed.active {
    opacity: 1;
}

.hero-slider-fixed .slide-background-fixed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-slider-fixed .slider-slide-fixed.active .slide-background-fixed {
    animation: kenBurnsFixed 3s ease-out;
}

@keyframes kenBurnsFixed {
    0% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.hero-slider-fixed .slide-overlay-fixed {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(73, 70, 67, 0.1);
    z-index: 1;
}

.hero-slider-fixed .hero-content-fixed {
    position: absolute;
    z-index: 2;
    text-align: center;
    color: white;
    top: calc(30.5vh - 150px - 1.5cm);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--container-width);
}

.hero-slider-fixed .hero-title-fixed {
    font-family: var(--font-family);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-thin);
    color: var(--color-bg-white);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-slider-fixed .hero-subtitle-fixed {
    font-family: var(--font-family);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-thin);
    color: var(--color-bg-white);
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.hero-slider-fixed .hero-button-fixed {
    display: inline-block;
    background-color: var(--color-gold);
    color: var(--color-bg-white);
    padding: 16px 31px;
    text-decoration: none;
    font-family: var(--font-family);
    font-weight: var(--font-weight-thin);
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: var(--font-size-xs);
    margin-top: var(--spacing-lg);
}

.hero-slider-fixed .hero-button-fixed:hover {
    background-color: var(--color-gold-dark);
    transform: translateY(-2px);
}


/* =============================================================================
   7. КАТАЛОГ - СЕКЦИЯ И ЗАГОЛОВОК
   ============================================================================= */

.catalog-section {
    padding: 42px 0;
}

.top-positions-title {
    font-family: var(--font-family);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-light);
    color: var(--color-gold-dark);
    text-align: center;
    margin-bottom: 42px;
    margin-top: 0.5cm;
    transition: color var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.top-positions-title::after {
    content: '';
    position: absolute;
    bottom: -0.5cm;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 0.5px;
    background-color: var(--color-gold-dark);
}

.top-positions-title:hover {
    color: var(--color-gold-light);
}


/* =============================================================================
   8. КАТАЛОГ - СЕТКА ТОВАРОВ
   ============================================================================= */

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-top: var(--spacing-xl);
}

.catalog-item {
    background: var(--color-bg-white);
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    border: 1px solid transparent;
}

.catalog-item:hover {
    border-color: var(--color-gold);
    transform: translateY(-3px);
}

.catalog-image {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Квадратное соотношение */
    overflow: hidden;
    position: relative;
}

.catalog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--transition-normal);
    position: absolute;
    top: 0;
    left: 0;
}

.catalog-main-img {
    opacity: 1;
    z-index: 2;
}

.catalog-hover-img {
    opacity: 0;
    z-index: 1;
}

.catalog-item:hover .catalog-main-img {
    opacity: 0;
}

.catalog-item:hover .catalog-hover-img {
    opacity: 1;
}

.catalog-info {
    padding: var(--spacing-sm);
    text-align: center;
}

.catalog-title {
    font-family: var(--font-family);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-light);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.catalog-price {
    font-family: var(--font-family);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-light);
    color: var(--color-gold-dark);
}


/* =============================================================================
   9. POPUP ТОВАРА
   ============================================================================= */

.product-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 9999;
    overflow-y: auto;
}

.product-popup.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background: var(--color-bg-white);
    max-width: 1546px;
    width: 80%;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    min-height: 698px;
}

.popup-close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background var(--transition-normal);
}

.popup-close:hover {
    background: var(--color-border-hover);
}

.popup-close::before,
.popup-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--color-text-primary);
}

.popup-close::before {
    transform: rotate(45deg);
}

.popup-close::after {
    transform: rotate(-45deg);
}

.popup-gallery {
    flex: 1.2;
    min-width: 338px;
    padding: var(--spacing-lg) var(--spacing-sm) 5px var(--spacing-lg);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.popup-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    flex: 1;
    min-height: 500px;
    margin-bottom: -57px;
}

.popup-slider-container {
    display: flex;
    transition: transform var(--transition-normal);
    height: 100%;
    position: absolute;
}

.popup-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.popup-slider-prev,
.popup-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-normal);
}

.popup-slider-prev {
    left: var(--spacing-sm);
}

.popup-slider-next {
    right: var(--spacing-sm);
}

.popup-slider-prev:hover,
.popup-slider-next:hover {
    background: rgba(196,167,116,0.9);
}

.popup-thumbnails {
    display: flex;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
    overflow-x: auto;
}

.popup-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition-normal);
}

.popup-thumbnail.active {
    border-color: var(--color-gold);
}

.popup-info {
    flex: 0.8;
    min-width: 338px;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-title {
    font-family: var(--font-family);
    font-size: 28px;
    font-weight: var(--font-weight-light);
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.popup-price {
    font-family: var(--font-family);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-gold-dark);
    margin-bottom: var(--spacing-md);
}

.popup-button {
    background: var(--color-gold);
    color: white;
    border: none;
    padding: 15px var(--spacing-md);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-bottom: var(--spacing-md);
}

.popup-button:hover {
    background: var(--color-gold-dark);
}

.popup-description {
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-light);
    color: var(--color-text-primary);
    line-height: 1.6;
}


/* =============================================================================
   10. АДАПТИВНОСТЬ
   ============================================================================= */

@media (max-width: 980px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 23px;
    }
}

@media (max-width: 768px) {
    .header-top,
    .header-nav {
        display: none;
    }

    .hero-slider-fixed {
        height: 50vh;
    }

    .hero-slider-fixed .hero-title-fixed {
        font-size: 36px;
    }

    .hero-slider-fixed .hero-subtitle-fixed {
        font-size: 20px;
    }

    .hero-slider-fixed .hero-content-fixed {
        top: calc(30.5vh - 100px - 1.5cm);
        padding: 0 20px;
    }
}

@media (max-width: 640px) {
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 23px;
    }

    .popup-content {
        flex-direction: column;
    }

    .popup-gallery,
    .popup-info {
        min-width: 100%;
        padding: var(--spacing-sm);
    }

    .top-positions-title::after {
        width: 90%;
    }
}


/* =============================================================================
   11. СЕКЦИЯ "ПОЧЕМУ ВЫБИРАЮТ НАС" (Advantages)
   ============================================================================= */

.advantages-section {
    padding: 80px 0;
    background-color: var(--color-bg-white);
    width: 100%;
}

.advantages-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.advantages-title {
    font-family: var(--font-family);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-light);
    color: #555;
    text-align: center;
    margin-bottom: 70px;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.advantages-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.advantage-item {
    width: 360px;
    height: 429px;
    background: white;
    border: 1px solid var(--color-gold-dark);
    padding: 35px 26px 40px 26px;
    text-align: center;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.advantage-content {
    flex-grow: 1;
}

.advantage-title {
    font-family: var(--font-family);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-light);
    color: #555;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.advantage-description {
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-light);
    color: #999;
    line-height: 1.6;
    margin: 0;
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 3px auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .advantages-grid {
        gap: 30px;
    }

    .advantage-item {
        width: 320px;
        height: auto;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .advantages-section {
        padding: 60px 0;
    }

    .advantages-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .advantage-item {
        width: 100%;
        max-width: 400px;
        height: auto;
        min-height: 350px;
        padding: 30px 20px 35px 20px;
    }

    .advantages-title {
        font-size: 24px;
        margin-bottom: 50px;
    }

    .advantage-title {
        font-size: 18px;
    }

    .advantage-description {
        font-size: 14px;
    }

    .advantage-icon {
        width: 60px;
        height: 60px;
    }
}


/* =============================================================================
   12. СЕКЦИЯ "КАК МЫ РАБОТАЕМ" (How We Work)
   ============================================================================= */

.how-we-work-etalon-section {
    padding: 80px 0;
    background-color: white;
}

.how-we-work-etalon-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.how-we-work-etalon-title {
    font-family: var(--font-family);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-light);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 60px;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.how-we-work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 55px;
}

.work-step {
    margin-bottom: 30px;
}

.work-step-title {
    font-family: var(--font-family);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-light);
    color: #333;
    margin: 0 0 15px 0;
}

.work-step-description {
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-light);
    color: #999;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .how-we-work-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .how-we-work-etalon-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .work-step-title {
        font-size: 18px;
    }

    .work-step-description {
        font-size: 15px;
    }
}


/* =============================================================================
   13. СЕКЦИЯ ГАЛЕРЕИ (Gallery)
   ============================================================================= */

.gallery-etalon-section {
    padding: 80px 0;
    background-color: var(--color-bg-white);
    overflow: visible;
}

.gallery-etalon-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 120px;
    position: relative;
}

.gallery-etalon-title {
    font-family: var(--font-family);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-light);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 60px;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.photo-slider {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
    background: white;
    border: 1px solid #e0e0e0;
}

.photo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.photo-slide.active {
    opacity: 1;
}

.photo-slide img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

/* Стрелки навигации галереи */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 90px;
    height: 90px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.slider-arrow:hover {
    opacity: 0.7;
}

.slider-prev {
    left: -90px;
    opacity: 1;
    visibility: visible;
}

.slider-next {
    right: -90px;
    opacity: 1;
    visibility: visible;
}

.slider-arrow svg {
    width: 60px;
    height: 60px;
}

/* Индикаторы слайдов галереи */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--color-gold);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.slider-indicator.active {
    background: var(--color-gold);
}

@media (max-width: 768px) {
    .gallery-etalon-container {
        padding: 0 20px;
    }

    .photo-slider {
        height: 400px;
    }

    .photo-slide img {
        height: 400px;
    }

    .slider-arrow svg {
        width: 40px;
        height: 40px;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    .gallery-etalon-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
}


/* =============================================================================
   14. ФУТЕР (Footer)
   ============================================================================= */

.footer-wrapper {
    padding: 0 4cm;
}

.footer-container {
    max-width: calc(1200px - 8cm);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

@media (max-width: 768px) {
    .footer-wrapper {
        padding: 0 20px !important;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 100%;
        padding: 0 20px;
    }
}


/* =============================================================================
   15. КАТАЛОГ БОЛЬШИХ ПУФОВ / ФОТОЗОН (Big Poufs / Photozones)
   ============================================================================= */

.catalog-big-poufs-section {
    padding: 42px 0;
    background-color: var(--color-bg-white);
    min-height: 600px;
}

.catalog-big-poufs-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-top: 46px;
}

.catalog-big-poufs-item {
    background: var(--color-bg-white);
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    border: 1px solid transparent;
}

.catalog-big-poufs-item:hover {
    border-color: var(--color-gold);
    transform: translateY(-3px);
}

.catalog-big-poufs-image {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
    position: relative;
}

.catalog-big-poufs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--transition-normal);
    position: absolute;
    top: 0;
    left: 0;
}

.catalog-big-poufs-main-img {
    opacity: 1;
    z-index: 2;
}

.catalog-big-poufs-hover-img {
    opacity: 0;
    z-index: 1;
}

.catalog-big-poufs-item:hover .catalog-big-poufs-main-img {
    opacity: 0 !important;
}

.catalog-big-poufs-item:hover .catalog-big-poufs-hover-img {
    opacity: 1 !important;
}

.catalog-big-poufs-info {
    padding: 20px;
    text-align: center;
}

.catalog-big-poufs-title {
    font-family: var(--font-family);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-normal);
    color: var(--color-text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.catalog-big-poufs-price {
    font-family: var(--font-family);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-light);
    color: var(--color-gold-dark);
}

/* Попап для больших пуфов */
.product-popup-big-poufs {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 9999;
    overflow-y: auto;
}

.product-popup-big-poufs.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content-big-poufs {
    background: var(--color-bg-white);
    max-width: 1546px;
    width: 80%;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    min-height: 698px;
}

.popup-close-big-poufs {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background var(--transition-normal);
}

.popup-close-big-poufs:hover {
    background: #e0e0e0;
}

.popup-close-big-poufs::before,
.popup-close-big-poufs::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--color-text-dark);
}

.popup-close-big-poufs::before {
    transform: rotate(45deg);
}

.popup-close-big-poufs::after {
    transform: rotate(-45deg);
}

.popup-gallery-big-poufs {
    flex: 1.2;
    min-width: 338px;
    padding: 40px 20px 5px 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.popup-slider-big-poufs {
    position: relative;
    width: 100%;
    overflow: hidden;
    flex: 1;
    min-height: 500px;
    margin-bottom: -57px;
}

.popup-slider-container-big-poufs {
    display: flex;
    transition: transform var(--transition-normal);
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.popup-slider-container-big-poufs img {
    width: 100%;
    height: 100%;
    min-width: 100%;
    object-fit: cover;
    cursor: pointer;
}

.popup-slider-prev-big-poufs,
.popup-slider-next-big-poufs {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.5);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-slider-prev-big-poufs:hover,
.popup-slider-next-big-poufs:hover {
    background: rgba(255, 255, 255, 0.7);
}

.popup-slider-prev-big-poufs {
    left: 10px;
}

.popup-slider-next-big-poufs {
    right: 10px;
}

.popup-thumbnails-big-poufs {
    display: flex !important;
    gap: 10px;
    margin-top: 21px;
    margin-bottom: -19px;
    justify-content: flex-start;
    align-items: flex-end;
    flex-wrap: wrap;
    flex-shrink: 0;
    padding: 59px 5px 5px 0;
    min-height: 30px;
}

.popup-thumbnail-big-poufs {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    object-fit: cover;
}

.popup-thumbnail-big-poufs:hover {
    border-color: var(--color-gold);
}

.popup-thumbnail-big-poufs.active {
    border-color: var(--color-gold-dark);
}

.popup-info-big-poufs {
    flex: 1;
    min-width: 300px;
    padding: 40px;
}

.popup-title-big-poufs {
    font-family: var(--font-family);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-light);
    color: var(--color-text-dark);
    margin-bottom: 20px;
}

.popup-price-big-poufs {
    font-family: var(--font-family);
    font-size: 28px;
    font-weight: var(--font-weight-light);
    color: var(--color-gold-dark);
    margin-bottom: 30px;
}

.popup-button-big-poufs {
    display: inline-block;
    background-color: var(--color-gold-dark);
    color: var(--color-bg-white);
    padding: 15px 40px;
    text-decoration: none;
    font-family: var(--font-family);
    font-weight: var(--font-weight-light);
    font-size: var(--font-size-sm);
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    cursor: pointer;
    border: none;
}

.popup-button-big-poufs:hover {
    background-color: #a08a5c;
}

.popup-description-big-poufs {
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-light);
    color: var(--color-text-dark);
    line-height: 1.6;
}

.catalog-big-poufs-section .top-positions-title {
    font-family: var(--font-family);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-light);
    color: var(--color-gold-dark);
    text-align: center;
    margin-bottom: 42px;
    margin-top: 0.5cm;
    transition: color var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.catalog-big-poufs-section .top-positions-title::after {
    content: '';
    position: absolute;
    bottom: -0.5cm;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 0.5px !important;
    background-color: var(--color-gold-dark);
}

.catalog-big-poufs-section .top-positions-title:hover {
    color: #e0c07e;
}

@media (max-width: 1200px) {
    .catalog-big-poufs-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 980px) {
    .catalog-big-poufs-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 23px;
    }
}

@media (max-width: 640px) {
    .catalog-big-poufs-container {
        grid-template-columns: 1fr;
        gap: 23px;
    }

    .popup-content-big-poufs {
        flex-direction: column;
    }

    .popup-gallery-big-poufs,
    .popup-info-big-poufs {
        min-width: 100%;
        padding: 20px;
    }
}
