/* === iPhone адаптивность - исправления === */
* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    padding-top: 80px; /* Отступ для фиксированной шапки */
}

/* === Header phone visibility (desktop vs mobile) === */
.btn-phone-desktop { display: inline-flex; align-items: center; gap: 0.4rem; }
.phone-btn-mobile { display: none; }

@media (max-width: 768px) {
  .btn-phone-desktop { display: none !important; }
  .phone-btn-mobile { display: inline-flex !important; align-items: center; justify-content: center; }
  
  body {
    padding-top: 70px; /* Меньший отступ для мобильных */
  }
}
/* === Yandex Map Styles === */
.map-section {
    width: 100%;
    /*height: 500px;*/
    position: relative;
    margin: 0.5rem 0;
}

.map-container {
    width: 100%;
    height: 100%;
    position: relative;
}

#yandex-map {
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 10;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    padding: 1.5rem;
    max-width: 300px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.map-info h3 {
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.map-info p {
    color: var(--foreground);
    font-family: var(--font-text);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .map-section {
        /*height: 400px;*/
        margin: 0.5rem 0;
    }
    
    .map-overlay {
        top: 1rem;
        left: 1rem;
        right: 1rem;
        max-width: none;
        padding: 1rem;
    }
    
    .map-info h3 {
        font-size: 1.2rem;
    }
    
    .map-info p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .map-section {
        /*height: 350px;*/
    }
    
    .map-overlay {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        margin: 1rem;
        background: rgba(10, 10, 10, 0.95);
    }
}

/* Кастомные стили для Яндекс карты v2.1 */
.ymaps-2-1-79-map {
    border-radius: var(--radius) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden !important;
}

.ymaps-2-1-79-ground-pane {
    filter: grayscale(0.3) contrast(1.2) brightness(0.8) !important;
}

.ymaps-2-1-79-pane {
    filter: grayscale(0.3) contrast(1.2) brightness(0.8) !important;
}

/* Дополнительные стили для темной темы */
.ymaps-2-1-79-map .ymaps-2-1-79-ground-pane {
    filter: grayscale(0.3) contrast(1.2) brightness(0.8) !important;
}

/* Скрываем дополнительные элементы карты */
.ymaps-2-1-79-map .ymaps-2-1-79-map-open-block,
.ymaps-2-1-79-map .ymaps-2-1-79-obsolete-browser-notifier,
.ymaps-2-1-79-map .ymaps-2-1-79-copyright,
.ymaps-2-1-79-map .ymaps-2-1-79-copyright__content,
.ymaps-2-1-79-map .ymaps-2-1-79-copyright__link {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Скрываем дополнительные метки и точки */
.ymaps-2-1-79-map .ymaps-2-1-79-placemark:not(.our-custom-placemark) {
    display: none !important;
}

/* Стили для элементов управления картой */
.ymaps-2-1-79-zoom {
    background: rgba(10, 10, 10, 0.9) !important;
    border: 1px solid var(--gold) !important;
    border-radius: 8px !important;
}

.ymaps-2-1-79-zoom__button {
    background: rgba(10, 10, 10, 0.9) !important;
    color: var(--gold) !important;
    border: none !important;
}

.ymaps-2-1-79-zoom__button:hover {
    background: var(--gold) !important;
    color: var(--background) !important;
}

.ymaps-2-1-79-fullscreen-button {
    background: rgba(10, 10, 10, 0.9) !important;
    border: 1px solid var(--gold) !important;
    border-radius: 8px !important;
}

.ymaps-2-1-79-fullscreen-button__icon {
    color: var(--gold) !important;
}

.ymaps-2-1-79-fullscreen-button:hover {
    background: var(--gold) !important;
}

.ymaps-2-1-79-fullscreen-button:hover .ymaps-2-1-79-fullscreen-button__icon {
    color: var(--background) !important;
}

/* Стили для балуна */
.ymaps-2-1-79-balloon {
    background: rgba(10, 10, 10, 0.95) !important;
    border: 1px solid var(--gold) !important;
    border-radius: var(--radius) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.ymaps-2-1-79-balloon__content {
    color: var(--foreground) !important;
    font-family: var(--font-text) !important;
}

/* Стили для кастомного пина */
.custom-pin {
    background: var(--gold);
    border: 2px solid var(--background);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: bold;
    color: var(--background);
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* === Catalog categories collapsible === */
.catalog-categories .categories-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.catalog-categories .categories-toggle {
    background: transparent;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 6px;
    padding: 4px;
    line-height: 0;
    cursor: pointer;
    color: currentColor;
}
.catalog-categories.collapsed .categories-tree {
    display: none;
}
/* Поворот стрелки для категорий как у фильтров */
.catalog-categories .filter-chevron { transition: transform 0.2s ease; }
.catalog-categories:not(.collapsed) .filter-chevron { transform: rotate(180deg); }
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hidden */
.hidden {
    display: none;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Montserrat:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* Import Fonts */
@font-face {
	font-family: "PopularScript";
	src: url("../assets/fonts/popularscript/popularscript.eot"); /* IE9 Compat Modes */
	src: url("../assets/fonts/popularscript/popularscript.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
		url("../assets/fonts/popularscript/popularscript.otf") format("opentype"), /* Open Type Font */
		url("../assets/fonts/popularscript/popularscript.svg") format("svg"), /* Legacy iOS */
		url("../assets/fonts/popularscript/popularscript.ttf") format("truetype"), /* Safari, Android, iOS */
		url("../assets/fonts/popularscript/popularscript.woff") format("woff"), /* Modern Browsers */
		url("../assets/fonts/popularscript/popularscript.woff2") format("woff2"); /* Modern Browsers */
	font-weight: normal;
	font-style: normal;
}

:root {
    /* Colors */
    --background: #0a0a0a;
    --foreground: #f5f5f5;
    --card: #1a1a1a;
    --card-foreground: #f5f5f5;
    --primary: #d4af37;
    --primary-foreground: #0a0a0a;
    --secondary: #2a2a2a;
    --secondary-foreground: #f5f5f5;
    --muted: #2a2a2a;
    /*--muted-foreground: #a0a0a0;*/
    --muted-foreground: #d2cbb9;
    --accent: #d4af37;
    --accent-foreground: #0a0a0a;
    --border: #2a2a2a;
    --input: #2a2a2a;
    --input-background: #1a1a1a;
    --gold: #d4af37;
    --gold-light: #ffd700;
    --gold-dark: #b8860b;

    /* Marble background */
    --marble-bg: url('img/marble.png');

    /* FontType */
    --font-logo: "PopularScript", serif;
    --font-extra: "PopularScript", serif;
    --font-logosubtitle: "Playfair Display", serif;
    --font-heading: "Playfair Display", serif;
    --font-subtitle: "Montserrat", sans-serif;
    --font-description: "Playfair Display", serif;
    --font-text: "Montserrat", sans-serif;
    --font-button: "Playfair Display", serif;
    
    /* Clear Gold */
    --bg:#0a0a0a;
    --ink:#e7e2d5;
    --muted:#b3ab9a;
    --gold-a:#6e4a17;
    --gold-b:#a67c2d;
    --gold-c:#d7b560;
    --gold-d:#f5e1a3;
    --gold-e:#a67c2d;
    --gold-gradient: linear-gradient(135deg,var(--gold-a),var(--gold-b) 22%,var(--gold-c) 46%,var(--gold-d) 58%,var(--gold-c) 70%,var(--gold-e) 100%);
    --radius: 16px;
    --gap: clamp(16px,2.6vw,28px);
    --brand-font: "Playfair Display", serif;
    --ui-font: "Cormorant Garamond","Times New Roman",serif;
    --icon-size: 46px;

    /* Gradients */
    --gradient-gold: linear-gradient(to right, #b8860b, #ffd700);
    /*--gradient-gold-brand: linear-gradient(120deg, #e2b449, #f4c96c, #eac05f, #e2b956, #fffece, #f8ecb0);*/
    --gradient-gold-brand: linear-gradient(135deg,var(--gold-a),var(--gold-b) 22%,var(--gold-c) 46%,var(--gold-d) 58%,var(--gold-c) 70%,var(--gold-e) 100%);
    --gradient-lightgold: linear-gradient(310deg, rgba(240, 164, 44, 1) 4%, rgba(240, 164, 44, 1) 25%, rgba(255, 255, 255, 1) 58%, rgba(255, 255, 255, 1) 63%, rgba(255, 255, 255, 1) 100%, rgba(255, 255, 255, .48) 100%);
}
/* 1. Задаём размер фонового градиента чуть больше, чем сам текст, чтобы было куда «путешествовать» */
.gradient-gold-brand {
  color: transparent !important;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: var(--gradient-gold-brand);
  
  /* ключевые новые строки: */
  background-size: 200% 100%;         /* двойная ширина для плавного перехода */
  animation: gradient-shift 5s ease infinite; /* бесконечная анимация */
}

/* 2. Определяем ключевые кадры — двигаем фон слева направо и обратно */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

body {
    font-family: var(--font-text);
    background-color: var(--background);
    background-image: var(--marble-bg);
    color: var(--foreground);
    line-height: 1.8;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    /*overflow-x: hidden;*/
}

/* === Оптимизированные брейкпоинты === */
/* 1920px+ - Большие экраны */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
        padding: 0 2rem;
    }
}

/* 1280px - 1919px - Стандартные десктопы */
@media (max-width: 1919px) and (min-width: 1280px) {
    .container {
        max-width: 1200px;
        padding: 0 1.5rem;
    }
}

/* 720px - 1279px - Планшеты */
@media (max-width: 1279px) and (min-width: 720px) {
    .container {
        max-width: 1000px;
        padding: 0 0.8rem;
    }
}

/* 360px - 719px - Мобильные устройства */
@media (max-width: 719px) and (min-width: 360px) {
    .container {
        max-width: 100%;
        padding: 0 0.5rem;
    }
}

/* < 360px - Маленькие мобильные */
@media (max-width: 359px) {
    .container {
        max-width: 100%;
        padding: 0 0.2rem;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.2;
}


h1 {
    font-size: 3.5rem;
    letter-spacing: 0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: 0.01em;
}

h3 {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.005em;
}

h5 {
    font-size: 1.15rem;
    font-weight: 200;
    letter-spacing: 0.005em;
}

h6 {
    font-size: 1.2rem;
    font-weight: 100;
    letter-spacing: 0.005em;
}

p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

button {
    font-family: var(--font-button);
    font-weight: 400;
    font-size: 1.1em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.5s ease;
}

/* Gradients */
.gradient-gold {
	color: transparent !important;    
	-webkit-background-clip: text;
	background-clip: text;
	background-image: var(--gradient-gold);
  text-shadow: 0 0 10px 0 rgba(212, 175, 55, 0.5);
}
.gradient-gold-brand {
	color: transparent !important;    
	-webkit-background-clip: text;
	background-clip: text;
	background-image: var(--gradient-gold-brand);
}

/* Decoration */
.decoration-bottom {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.decoration-left {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 8rem;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    opacity: 0.4;
}

.decoration-right {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 8rem;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    opacity: 0.4;
}

.decoration-pattern-orchid {
    background: url('../assets/img/ss-pattern-orchid.svg') no-repeat center center; 
    background-size: cover; 
    position: absolute; 
    inset: 0; 
    z-index: 0; 
    opacity: 0.4; 
    pointer-events: none; 
    border-radius: inherit;
}

/* Header */
.header {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50; /* Уменьшаем z-index чтобы бургер-меню было поверх */
    transition: transform 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.menu-btn {
    background: none;
    color: var(--foreground);
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: color 0.3s ease;
}

.menu-btn:hover {
    color: var(--primary);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--foreground);
    font-family: var(--font-button);
    font-weight: 200;
    font-size: 0.9em;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.logo {
    text-align: center;
}

.logo-text {
    font-family: var(--font-logo);
    font-size: 3.8rem;
    letter-spacing: 0.01em;
    color: var(--primary);
    font-weight: 100;
}

.logo-accent {
    color: var(--foreground);
}

.logo-subtitle {
    font-family: var(--font-logosubtitle);
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    color: var(--foreground);
    margin-top: 0.25rem;
    display: none;
}

.logo-address {
  font-size: 0.8rem;
}
/* Скрываем подзаголовок на мобильных устройствах */
@media (max-width: 719px) {
  .logo-subtitle {
    display: none !important;
  }
  .logo-address {
    display: none !important;
  }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-btn {
    background: none;
    color: var(--foreground);
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: color 0.3s ease;
    position: relative;
}

.header-btn:hover {
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -0.05rem;
    right: 0.7rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    font-size: 0.75rem;
    border-radius: 50%;
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-count {
    position: absolute;
    top: -0.05rem;
    right: 0.7rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    font-size: 0.75rem;
    border-radius: 50%;
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== SWIPER STYLES ===== */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-wrapper {
    display: flex;
    transition-property: transform;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Скрываем стрелки и точки на мобильных устройствах */
@media (max-width: 719px) {
    .hero-slider .slider-btn {
        display: none !important;
    }
    
    .hero-slider .slider-dots {
        display: none !important;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
    
    .swiper-pagination {
        display: none !important;
    }
    
    .swiper-pagination-bullet {
        display: none !important;
    }
}

/* Стили для Swiper навигации */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.2);
}

.swiper-button-next {
    right: 20px;
}

.swiper-button-prev {
    left: 20px;
}

.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Совместимость с существующими кнопками */
.hero-slider .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border: none;
    color: white;
    backdrop-filter: blur(10px);
}

.hero-slider .slider-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.hero-slider .slider-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.hero-slider .prev-btn {
    left: 20px;
}

.hero-slider .next-btn {
    right: 20px;
}

/* Стили для Swiper пагинации */
.swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    display: flex !important;
    gap: 10px;
    align-items: center;
}

.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 50% !important;
    margin: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: none !important;
    outline: none !important;
    display: block !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.1) !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary) !important;
    transform: scale(1.2) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5) !important;
    opacity: 1 !important;
}

/* Совместимость с существующими точками */
.hero-slider .slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.hero-slider .dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider .dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.hero-slider .dot.active,
.hero-slider .dot.swiper-pagination-bullet-active {
    background: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Дополнительные стили для точек Swiper */
.swiper-pagination-horizontal {
    display: flex !important;
    gap: 10px;
    align-items: center;
}

.swiper-pagination-bullets {
    display: flex !important;
    gap: 10px;
    align-items: center;
}

/* Принудительное отображение точек */
.swiper-pagination .swiper-pagination-bullet {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    width: 100%;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide,
.swiper-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Для совместимости со старым кодом */
.slide {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Для Swiper слайдов */
.swiper-slide {
    opacity: 1;
}

.slide img,
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 0 2rem;
    max-width: 64rem;
    text-align: center;
    opacity: 0;
    transform: translate(-50%, -50%) translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-content.animate-in {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

.slide-subtitle {
    font-size: 1.125rem;
    letter-spacing: 0.3em;
    color: var(--primary);
    margin-bottom: 1rem;
}

.slide-title {
    font-size: 4.5rem;
    letter-spacing: 0.02em;
    margin-bottom: 4.5rem;
    font-weight: 300;
    text-shadow: 0 0 50px 0 rgba(212, 175, 55, 0.5);
}

.slide-description {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 32rem;
    line-height: 1.4;
    font-weight: 300;
}

.slide-btn {
    background-color: var(--primary);
    color: var(--primary-foreground);
    cursor: pointer;
    padding: 0.75rem 3rem;
    letter-spacing: 0.2em;
    border: 1px solid var(--primary);
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.slide-btn:hover {
    background-color: transparent;
    color: var(--primary);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: white;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    color: var(--primary);
    background-color: rgba(255, 255, 255, 0.1);
}

.prev-btn {
    left: 2rem;
}

.next-btn {
    right: 2rem;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: 1px solid white;
    background: transparent;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Category Banners */
.category-banners {
    padding: 5rem 0;
    background-color: var(--background) !important;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-family: var(--font-subtitle);
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
}

.section-title {
    color: var(--primary);
    font-size: 3rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.section-description {
    font-family: var(--font-description);
    font-size: 1.85rem;
     letter-spacing: 0.001em;
    color: var(--secondary-foreground);
    /*max-width: 50rem;*/
    margin: 1.5em auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    position: relative;
    background-color: var(--card);
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.category-card:hover {
    transform: scale(1.05);
}

.category-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2), transparent);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    transition: transform 0.5s ease;
}

.category-card:hover .category-content {
    transform: translateY(-10px);
}

.category-items {
    color: var(--primary);
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.category-name {
    font-size: 1.5rem;
    color: white;
    letter-spacing: 0.1em;
    margin-bottom: 0rem;
    text-transform: uppercase;
}

.category-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.category-card:hover .category-description {
    opacity: 1;
}

.category-btn {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(1rem);
    transition: all 0.5s ease;
}

.category-card:hover .category-btn {
    opacity: 1;
    transform: translateY(0);
    background-color: none;
    background: linear-gradient(to right, #b8860b, #ffd700);
    color: var(--primary-foreground);
}

.category-btn:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

/* Video Section */
.video-section {
    position: relative;
    height: 50vh;
    min-height: 420px;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.video-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: white;
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.video-subtitle {
    font-size: 1.125rem;
    letter-spacing: 0.3em;
    color: var(--primary);
    margin-bottom: 1rem;
}

.video-title {
    font-size: 4rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.video-description {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 48rem;
    line-height: 1.4;
    font-weight: 300;
    opacity: 0.9;
}

.video-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.video-btn-primary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.video-btn-primary:hover {
    background-color: rgba(212, 175, 55, 0.9);
    transform: scale(1.05);
}

.video-btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: none;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
}

.video-btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.video-decoration {
    position: absolute;
    opacity: 0.6;
}

.video-decoration-bottom {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.video-decoration-left {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 8rem;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    opacity: 0.4;
}

.video-decoration-right {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 8rem;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    opacity: 0.4;
}

/* Advantages Section */
.advantages-section {
    padding: 5rem 0;
    background-color: rgba(42, 42, 42, 0.2);
    width: 100%;
    overflow: visible;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 7xl;
    margin: 0 auto;
}

.advantages-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
    max-width: 7xl;
    margin: 0 auto;
}

.advantages-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.advantages-header {
    margin-bottom: 2rem;
}

.advantages-description {
    font-family: var(--font-description);
    font-size: 2rem;
    color: white;
    line-height: 1.6;
    margin-bottom: 2rem;
}
/*
.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}*/

.advantages-list {
    display: inline-flex;
    flex-direction: row;
    gap: 1.5rem;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.advantage-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary);
    border-radius: 50%;
    margin-top: 0.75rem;
    flex-shrink: 0;
}

.advantage-content {
    flex: 1;
}

.advantage-title {
    font-size: 1.25rem;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.advantage-text {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.advantages-cta {
    padding-top: 1rem;
}

.advantages-btn {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: none;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    letter-spacing: 0.2em;
    transition: all 0.3s ease-out;
}

.advantages-btn:hover {
    background-color: none;
    background: linear-gradient(to right, #b8860b, #ffd700);
    color: var(--primary-foreground);
    transition: all 0.3s ease-out;
}

/* Advantages Media Gallery */
.advantages-image-gallery {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    align-items: center;
}

.advantages-image-gallery img {
    border-style: none;
    border: 0;
    -ms-interpolation-mode: bicubic;
    vertical-align: middle;
    height: auto;
    max-width: 150%;
}

.advantages-image-gallery img.advantages-block-image {
    border-radius: 0px;
    transition: all .3s linear;
}

.advantages-image-gallery img.advantages-block-image:first-child {
    z-index: 1;
    margin-left: 200px;
    border: 2px #0a0a0a solid;
}

/* Advantages Media Column */
.advantages-media {
    position: relative;
}

.vintage-frame-container {
    position: relative;
    margin-bottom: 2rem;
}

.vintage-frame-outer {
    position: absolute;
    top: -1rem;
    left: -1rem;
    right: -1rem;
    bottom: -1rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold-dark));
    padding: 0.25rem;
    border-radius: 0.5rem;
}

.vintage-frame-outer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(315deg, var(--gold-dark), var(--gold), var(--gold-light));
    border-radius: 0.5rem;
    opacity: 0.3;
}

.vintage-frame-inner {
    position: relative;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.vintage-frame-content {
    background-color: var(--background);
    padding: 0.5rem;
    border-radius: 0.375rem;
}

.frame-corner {
    position: absolute;
    width: 1rem;
    height: 1rem;
    border-color: var(--gold);
}

.frame-corner-tl {
    top: 0.5rem;
    left: 0.5rem;
    border-left: 2px solid;
    border-top: 2px solid;
}

.frame-corner-tr {
    top: 0.5rem;
    right: 0.5rem;
    border-right: 2px solid;
    border-top: 2px solid;
}

.frame-corner-bl {
    bottom: 0.5rem;
    left: 0.5rem;
    border-left: 2px solid;
    border-bottom: 2px solid;
}

.frame-corner-br {
    bottom: 0.5rem;
    right: 0.5rem;
    border-right: 2px solid;
    border-bottom: 2px solid;
}

.frame-ornament {
    position: absolute;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.frame-ornament-top {
    top: -0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2rem;
    height: 0.5rem;
    border-radius: 0.25rem;
}

.frame-ornament-bottom {
    bottom: -0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2rem;
    height: 0.5rem;
    border-radius: 0.25rem;
}

.frame-ornament-left {
    left: -0.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.5rem;
    height: 2rem;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    border-radius: 0.25rem;
}

.frame-ornament-right {
    right: -0.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.5rem;
    height: 2rem;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    border-radius: 0.25rem;
}

/* Trends Media Column */
.trends-media {
    position: relative;
}

.trends-frame-container {
    position: relative;
    margin-bottom: 2rem;
}

.trends-frame-outer {
    position: absolute;
    top: -1rem;
    left: -1rem;
    right: -1rem;
    bottom: -1rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold-dark));
    padding: 0.25rem;
    border-radius: 0.5rem;
}

.trends-frame-outer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(315deg, var(--gold-dark), var(--gold), var(--gold-light));
    border-radius: 0.5rem;
    opacity: 0.3;
}

.trends-frame-inner {
    position: relative;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.trends-frame-content {
    background-color: var(--background);
    padding: 0.5rem;
    border-radius: 0.375rem;
}

.framed-image {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 0.25rem;
    overflow: hidden;
}

.framed-image img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border: 2px solid var(--gold-dark);
}

/* Trends Section */
.trends-section {
    padding: 5rem 0;
    background-color: rgba(42, 42, 42, 0.2);
    width: 100%;
    overflow: visible;
    display: none;
}

.trends-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: start;
    margin: 0 auto;
}

.trends-text {
    display: block;
    flex-direction: column;
    gap: 1rem;
    color: var(--muted-foreground);
    line-height: 1;
}

/* 360px - 719px - Мобильные устройства */
@media (max-width: 719px) and (min-width: 360px) {
  .trends-grid {
    display: inline-block;
  }
  .trends-text {
    line-height: 5;
  }
}

/* < 360px - Маленькие мобильные */
@media (max-width: 359px) {
  .trends-grid {
    display: inline-block;
  }
  .trends-text {
    line-height: 5;
  }
}

.trends-header {
    margin-bottom: 2rem;
    color: white;
}

.trends-description {
    font-family: var(--font-description);
    font-size: 1rem;
    color: white;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.trends-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trends-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.trends-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary);
    border-radius: 50%;
    margin-top: 0.75rem;
    flex-shrink: 0;
}

.trends-content {
    flex: 1;
}

.trends-title {
    font-size: 1.25rem;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.trends-cta {
    padding-top: 0.5rem;
}

.trends-btn {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: none;
    padding: 0.75rem 2rem;
    border-radius: 0.375rem;
    letter-spacing: 0.2em;
    transition: all 0.3s ease-out;
}

.trends-btn:hover {
    background-color: none;
    background: linear-gradient(to right, #b8860b, #ffd700);
    color: var(--primary-foreground);
    transition: all 0.3s ease-out;
}

/* Trends Media Gallery */
.trends-image-gallery {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    align-items: center;
}

.trends-image-gallery img {
    border-style: none;
    border: 0;
    -ms-interpolation-mode: bicubic;
    vertical-align: middle;
    height: auto;
    max-width: 150%;
}

.trends-image-gallery img.trends-block-image {
    border-radius: 0px;
    transition: all .3s linear;
}

.trends-image-gallery img.trends-block-image:first-child {
    z-index: 1;
    margin-left: 200px;
    border: 2px #0a0a0a solid;
}

/* Frames */
.frame-golden {
    border-width: 2px;
    border-style: solid;
    border-image: var(--gradient-lightgold) 1 1%;
    opacity: 1;
    transition: all 5.0s ease;
}
.frame-golden:hover {
    opacity: 0.5;
    transition: all 5.0s ease;
}

/* Video Showcase */


.video-showcase {
    position: relative;
}

.video-showcase-container {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: var(--card);
    border: 1px solid var(--border);
}

.video-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-btn {
    background-color: rgba(212, 175, 55, 0.9);
    color: var(--primary-foreground);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background-color: var(--primary);
    transform: scale(1.1);
}

.video-play-btn svg {
    margin-left: 0.25rem;
}

.video-info {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
}

.video-info-content {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 0.375rem;
    padding: 0.75rem;
}

.video-info-title {
    color: white;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.video-info-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.media-decoration {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.media-decoration-1 {
    top: 2rem;
    right: 2rem;
    width: 16rem;
    height: 16rem;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent);
}

.media-decoration-2 {
    bottom: -2rem;
    left: -2rem;
    width: 12rem;
    height: 12rem;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05), transparent);
}

/* Popular Items */
.popular-items {
    padding: 5rem 0;
    background-color: rgba(42, 42, 42, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--card);
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: border-color 0.3s ease;
}

.product-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.product-image {
    position: relative;
    /*aspect-ratio: 3/4;*/
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* убираем возможный нижний отступ у img как у inline */
    /*transition: transform 0.5s ease;*/
}

/*.product-card:hover .product-image img {
    transform: scale(1.05);
}*/

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0.375rem;
}

.wishlist-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: var(--primary);
    padding: 0.5rem;
    border-radius: 0.375rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.product-card:hover .wishlist-btn {
    opacity: 1;
}

.wishlist-btn:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.add-to-cart {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateY(1rem);
    transition: all 0.3s ease;
}

.product-card:hover .add-to-cart {
    transform: translateY(0);
}

.add-to-cart:hover {
    background-color: rgba(212, 175, 55, 0.9);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.25rem;
    color: var(--primary);
}

.old-price {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-decoration: line-through;
}

.details-btn {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.details-btn:hover {
    background-color: none;
    background: linear-gradient(to right, #b8860b, #ffd700);
    color: var(--primary-foreground);
    transition: all 0.3s ease;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

.view-all-btn {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: none;
    padding: 0.75rem 3rem;
    letter-spacing: 0.2em;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background-color: none;
    background: linear-gradient(to right, #b8860b, #ffd700);
    color: var(--primary-foreground);
    transition: all 0.3s ease;
}

/* Newsletter Section */
.newsletter-section {
    padding: 5rem 0;
    background-color: var(--background);
    position: relative;
    width: 100%;
}

.newsletter-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(to right, rgba(212, 175, 55, 0.05), transparent, rgba(212, 175, 55, 0.05));
    background: url('../assets/img/orchid-pattern.svg') no-repeat center center; 
    background-size: cover; 
    inset: 0; 
    z-index: 0;
    opacity: 0.05;*/
}

.newsletter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 96rem;
    margin: 0 auto;
    position: relative;
}

.newsletter-card {
    padding: 2rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
}

.newsletter-header {
    text-align: center;
    margin-bottom: 2rem;
}

.newsletter-header svg {
    color: var(--primary);
    margin-bottom: 1rem;
}

.newsletter-header h3 {
    font-size: 1.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.newsletter-header p {
    color: var(--muted-foreground);
    line-height: 1.4;
}

.newsletter-benefits {
    margin-bottom: 1.5rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.benefit svg {
    color: var(--primary);
    flex-shrink: 0;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input {
    background-color: var(--input-background);
    border: 1px solid var(--border);
    text-align: center;
    letter-spacing: 0.1em;
    padding: 0.75rem;
    border-radius: 0.375rem;
    color: var(--foreground);
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.newsletter-btn {
    background-color: var(--primary);
    color: var(--primary-foreground);
    letter-spacing: 0.2em;
    padding: 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background-color: rgba(212, 175, 55, 0.9);
}

.newsletter-disclaimer {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-align: center;
    margin-top: 1rem;
}

.club-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 0.75rem;
    position: relative;
    overflow: hidden;
}

.club-decoration {
    position: absolute;
    border-radius: 50%;
}

.club-decoration-1 {
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    background: rgba(212, 175, 55, 0.1);
    transform: translate(4rem, -4rem);
}

.club-decoration-2 {
    bottom: 0;
    left: 0;
    width: 6rem;
    height: 6rem;
    background: rgba(212, 175, 55, 0.05);
    transform: translate(-3rem, 3rem);
}

.club-decoration-3 {
    background: url('../assets/img/ss-pattern-stroke.svg') no-repeat center center; 
    background-size: cover; 
    position: absolute; 
    inset: 0; 
    z-index: 0; 
    opacity: 0.2; 
    pointer-events: none; 
    border-radius: inherit;
}

.club-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.club-header svg {
    color: var(--primary);
    margin-bottom: 1rem;
}

.club-header h3 {
    font-size: 1.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.club-header p {
    color: var(--muted-foreground);
    line-height: 1.4;
}

.club-benefits {
    margin-bottom: 2rem;
}

.club-benefit {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(8px);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.club-benefit h4 {
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.club-benefit p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.club-btn {
    width: 100%;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: none;
    letter-spacing: 0.2em;
    padding: 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.5s ease;
}

.club-btn:hover {
    background-color: none;
    background: linear-gradient(to right, #b8860b, #ffd700);
    color: var(--primary-foreground);
    transition: all 0.5s ease;
}

/* Footer */
.footer {
    background-color: rgba(42, 42, 42, 0.5);
    border-top: 1px solid var(--border);
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.footer-brand {
    grid-column: span 1;
}

.footer-logo h3 {
    font-family: var(--font-logo);
    font-size: 3.3rem;
    font-weight: 100;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.footer-logo span {
    color: var(--foreground);
}

.footer-logo p {
    font-family: var(--font-logosubtitle);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--muted-foreground);
}

.footer-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.4;
    margin: 1.5rem 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--muted-foreground);
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary);
}

.footer-section h4 {
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary);
}

.footer-contacts {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-item div {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.contact-item a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary);
}

.footer-hours {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-hours p:first-child {
    margin-bottom: 0.25rem;
}

.footer-separator {
    height: 1px;
    background-color: var(--border);
    margin: 2rem 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-bottom: 2rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* --- HERO BANNERS выравнивание контента --- */
.slide-content.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(30px);
  width: 100%;
  max-width: 64rem;
  padding: 0 2rem;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-content.centered.animate-in {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}
.slide-content.left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 0;
  transform: translateY(-50%) translateX(-30px);
  width: 50%;
  max-width: 100%;
  padding-left: 5%;
  padding-right: 2rem;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-content.left.animate-in {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.slide-content.right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 0;
  transform: translateY(-50%) translateX(30px);
  width: 50%;
  max-width: 100%;
  padding-right: 5%;
  padding-left: 2rem;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-content.right.animate-in {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* 720px - 1279px - Планшеты */
@media (max-width: 1279px) and (min-width: 720px) {
  .slide-content.left {
    left: 0;
    width: 60%;
    max-width: 35rem;
    padding-left: 3rem;
    padding-right: 2rem;
    transform: translateY(-50%) translateX(-30px);
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .slide-content.left.animate-in {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
  
  .slide-content.right {
    right: 0;
    width: 60%;
    max-width: 35rem;
    padding-right: 3rem;
    padding-left: 2rem;
    transform: translateY(-50%) translateX(30px);
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .slide-content.right.animate-in {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

/* 360px - 719px - Мобильные устройства */
@media (max-width: 719px) and (min-width: 360px) {
  .slide-content.left,
  .slide-content.right {
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%) translateY(30px);
    width: 100%;
    max-width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .slide-content.left.animate-in,
  .slide-content.right.animate-in {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
  }
}

/* < 360px - Маленькие мобильные */
@media (max-width: 359px) {
  .slide-content.left,
  .slide-content.right {
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%) translateY(30px);
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .slide-content.left.animate-in,
  .slide-content.right.animate-in {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
  }
}

/* --- Megamenu в header --- */
.main-nav {
  display: flex;
  gap: 24px;
}
.nav-item {
  position: relative;
}
.megamenu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: var(--secondary);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 24px 32px;
  min-width: 260px;
  z-index: 100;
  border-radius: 12px;
  border: 1px solid #b8860b;
  color: #222;
  white-space: normal;
}
.megamenu a {
    margin: 0 0 3px 0;
    font-size: 1em;
    color: #fff;
    text-decoration: none;
}
.megamenu a:hover {
    color: #bfa15a;
}
.nav-item:hover .megamenu,
.nav-item:focus-within .megamenu {
  display: flex;
  gap: 32px;
}
.megamenu-section h4 {
  margin: 0 0 8px 0;
  font-size: 1.25rem;
  color: #bfa15a;
}
.megamenu-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.megamenu-section ul li {
  margin-bottom: 6px;
}
.megamenu-banners {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.megamenu-banners img {
  border-radius: 8px;
  background: #eee;
}

/* === Megamenu: Default One Column === */
.megamenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--secondary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 20px 24px;
  z-index: 10;
  flex-direction: column;
  gap: 0;
}
.nav-item:hover .megamenu,
.nav-item:focus-within .megamenu {
  display: flex;
}
.megamenu-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.megamenu-section ul li {
  margin-bottom: 8px;
}

/* === Megamenu: Two Columns for Коллекции === */
.megamenu-section--columns ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.megamenu-section--columns ul li {
  margin-bottom: 8px;
}

/* === Megamenu Banners Under Section === */
.megamenu-banners {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: flex-start;
}
.megamenu-banners img {
  width: 120px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

/* --- Бургер-меню (overlay) --- */
.burger-menu-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  /*background: rgba(30, 24, 18, 0.97);*/
  background: rgba(0, 0, 0, 1.0) url('../assets/img/orchid-pattern-light.svg') no-repeat center center; 
  background-size: cover;
  inset: 0; 
  z-index: 2000;
  animation: burgerIn 0.5s;
}
.burger-menu-overlay.active {
  display: flex;
  flex-direction: column;
}
@keyframes burgerIn {
  from { opacity: 0; transform: scale(0.98) translateY(-40px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
/* --- Центрирование и адаптив для .burger-menu-content --- */
.burger-menu-content {
  display: flex;
  flex: 1;
  height: 100%;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 4vw 0;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
.burger-menu-left, .burger-menu-right {
  height: 100%;
  box-sizing: border-box;
}
.burger-menu-left {
  width: 50%;
  max-width: 700px;
  padding: 4vw 3vw 4vw 4vw;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.burger-menu-right {
  width: 50%;
  max-width: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vw 4vw 4vw 3vw;
}

@media (max-width: 1400px) {
  .burger-menu-content {
    max-width: 1200px;
    padding: 3vw 0;
  }
  .burger-menu-left, .burger-menu-right {
    max-width: 500px;
    padding: 3vw 2vw;
  }
}
@media (max-width: 1024px) {
  .burger-menu-content {
    flex-direction: column;
    max-width: 98vw;
    padding: 2vw 0;
  }
  .burger-menu-left, .burger-menu-right {
    width: 100%;
    max-width: 100vw;
    padding: 2vw 4vw;
  }
  .burger-menu-right {
    margin-top: 2vw;
  }
}
@media (max-width: 700px) {
  .burger-menu-content {
    padding: 0.5rem 0;
  }
  .burger-menu-left, .burger-menu-right {
    padding: 1rem 0.5rem;
  }
}
@media (max-width: 480px) {
  .burger-menu-content {
    padding: 0;
  }
  .burger-menu-left, .burger-menu-right {
    padding: 0.5rem 0.2rem;
  }
}

/* --- Меню внутри бургер-меню --- */
.burger-main-menu {
  font-family: var(--font-extra);
  color: var(--gold-dark);
  list-style: none;
  padding: 0;
  font-size: 3.8em;
  margin: 0 0 32px 0;
}
.burger-main-menu a {
  text-decoration: none;
  color: var(--gold-dark);
  transition: color 0.2s;
}
.burger-main-menu a:hover {
  text-decoration: none;
  color: var(--gold-light);
}

.burger-main-menu li {
  padding-left: 0.5em;
}
.burger-main-menu ul {
  list-style-type: none;
}
.burger-main-menu li::marker {
	color: var(--gold-dark);
  font-size: 0.75em;
}
.burger-main-menu > li {
  margin-bottom: 18px;
  position: relative;
}
.burger-main-menu > li > span {
  cursor: pointer;
  transition: color 0.2s;
}
.burger-main-menu > li > ul {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.4s cubic-bezier(0.4,0,0.2,1);
  margin-top: 8px;
  margin-left: 50px;
  font-size: 0.5em;
  font-family: var(--font-button);
}
.burger-main-menu > li.open > ul {
  max-height: 500px;
  opacity: 1;
}
.burger-main-menu > li > span:after {
  content: '▼';
  font-size: 0.25em;
  margin-left: 8px;
  color: #bfa15a;
}
.burger-main-menu > li.open > span:after {
  content: '▲';
}
.burger-main-menu li .soon {
  color: var(--muted-foreground);
  font-size: 0.75em;
  margin-left: 4px;
}
.burger-contacts {
  margin-top: auto;
  font-size: 1em;
  color: #e0c98d;
}

/* --- Адаптивность для бургер-меню --- */
@media (max-width: 900px) {
  .burger-menu-content { flex-direction: column; }
  .burger-menu-left, .burger-menu-right { width: 100%; }
  .burger-menu-left { padding: 40px 20px 20px 20px; }
  .burger-menu-right { justify-content: flex-start; }
}

/* --- Кнопка закрытия бургер-меню --- */
.close-btn {
    position: absolute;
    top: 32px;
    right: 48px;
    font-size: 2.5rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2100;
    transition: color 0.2s;
    line-height: 1;
    padding: 0;
}
.close-btn:hover {
    color: #bfa15a;
}
@media (max-width: 1024px) {
    .close-btn {
        top: 16px;
        right: 24px;
        font-size: 2rem;
    }
}
@media (max-width: 600px) {
    .close-btn {
        top: 8px;
        right: 12px;
        font-size: 1.5rem;
    }
}

/* --- Кастомный горизонтальный слайдер для category-banners --- */
.category-banners {
    /*background: linear-gradient(to right, rgba(212, 175, 55, 0.05), transparent, rgba(212, 175, 55, 0.05));*/
    background: #2a2a2a url('../assets/img/orchid-pattern.svg') no-repeat center center;
    background-size: cover; 
    inset: 0; 
    z-index: 0;
}

.category-banners-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  margin: 0 auto;
  gap: 0;
}
.category-banners-track {
  display: flex;
  gap: 24px;
  overflow: hidden;
  width: 100%;
  scroll-behavior: smooth;
}
.category-card {
  flex: 0 0 320px;
  max-width: 320px;
  min-width: 320px;
  box-sizing: border-box;
  transition: box-shadow 0.2s;
}
.category-banners-prev,
.category-banners-next {
  /* background: #fff;
  border: none;
  border-radius: 50%; */
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  color: #bfa15a;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  position: relative;
  z-index: 2;
}
.category-banners-prev:hover,
.category-banners-next:hover {
  background: #bfa15a;
  color: #fff;
}
.category-banners-prev {
  margin-right: 12px;
}
.category-banners-next {
  margin-left: 12px;
}
@media (max-width: 1100px) {
  .category-card {
    flex: 0 0 260px;
    max-width: 260px;
    min-width: 260px;
  }
}
@media (max-width: 900px) {
  .category-banners-track {
    gap: 16px;
  }
  .category-card {
    flex: 0 0 220px;
    max-width: 220px;
    min-width: 220px;
  }
  .category-banners-prev,
  .category-banners-next {
    width: 36px;
    height: 36px;
  }
}
@media (max-width: 700px) {
  .category-banners-track {
    gap: 10px;
  }
  .category-card {
    flex: 0 0 90vw;
    max-width: 90vw;
    min-width: 90vw;
  }
}
@media (max-width: 600px) {
  .category-banners-prev,
  .category-banners-next {
    display: none;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .vintage-frame-container {
        max-width: 500px;
        margin: 0 auto 2rem;
    }
}

/* 720px - 1279px - Планшеты */
@media (max-width: 1279px) and (min-width: 720px) {
    .main-nav {
        display: none;
    }
    
    .slide-title, .video-title {
        font-size: 1.5rem;
    }
    
    .slide-description, .video-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .video-buttons {
        flex-direction: row;
        gap: 1rem;
    }
}

/* 360px - 719px - Мобильные устройства */
@media (max-width: 719px) and (min-width: 360px) {
    .main-nav {
        display: none;
    }
    
    .slide-title, .video-title {
        font-size: 1rem;
    }
    
    .slide-description, .video-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .video-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Исправления для предотвращения горизонтального скролла */
    .category-banners,
    .advantages-section,
    .trends-section,
    .newsletter-section,
    .club-card,
    .footer {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
        width: 100%;
        max-width: 100vw;
    }
}

/* < 360px - Маленькие мобильные */
@media (max-width: 359px) {
    .slide-title, .video-title {
        font-size: 1rem;
    }
    
    .slide-description, .video-description {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .category-grid, .products-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .newsletter-grid {
        /*grid-template-columns: 1fr;*/
        gap: 0.8rem;
    }
    
    /* Дополнительные исправления для маленьких экранов */
    .category-banners,
    .advantages-section,
    .trends-section,
    .newsletter-section,
    .club-card,
    .footer {
        padding-left: 0.3rem;
        padding-right: 0.3rem;
    }
    
    /* Исправления для заголовков */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    h4 {
        font-size: 0.9rem;
    }
    
    /* Исправления для кнопок */
    .slide-btn,
    .video-btn-primary,
    .video-btn-secondary,
    .advantages-btn,
    .trends-btn,
    .newsletter-btn,
    .club-btn {
        font-size: 0.75rem;
        padding: 0.4em 0.8em;
        white-space: nowrap;
    }
}



/* --- Изображение в бургер-меню с анимацией и адаптивом --- */
.burger-menu-image {
  display: block;
  max-width: 100%;
  max-height: 100vh;
  width: 100%;
  height: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  object-fit: cover;
  animation: burgerImageZoomIn 1.2s cubic-bezier(0.23, 1, 0.32, 1);
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s;
}
.burger-menu-image:hover {
  transform: scale(1.07);
  box-shadow: 0 12px 40px rgba(0,0,0,0.22);
}
@keyframes burgerImageZoomIn {
  from { transform: scale(1); }
  to   { transform: scale(1.04); }
}
/* 720px - 1279px - Планшеты */
@media (max-width: 1279px) and (min-width: 720px) {
  .burger-menu-image {
    width: 480px;
    max-height: 50vh;
  }
}
/* 360px - 719px - Мобильные устройства */
@media (max-width: 719px) and (min-width: 360px) {
  .burger-menu-image {
    width: 90vw;
    max-width: 98vw;
    max-height: 32vh;
    border-radius: 10px;
  }
}
/* < 360px - Маленькие мобильные */
@media (max-width: 359px) {
  .burger-menu-image {
    width: 98vw;
    max-width: 98vw;
    max-height: 24vh;
    border-radius: 8px;
  }
}

/* --- Журнальная верстка для advantages-media --- */
.advantages-media {
  position: relative;
}

.vintage-frame-container {
  position: relative;
  z-index: 2;
}
.video-showcase {
  position: absolute;
  top: 50%;
  /*left: 30%;*/
  transform: translate(50%, -50%);
  /*width: 80%;
  min-width: 420px;
  max-width: 720px;*/
  z-index: 1;
  opacity: 0.92;
  filter: blur(0.5px) grayscale(0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}
/* 720px - 1279px - Планшеты */
@media (max-width: 1279px) and (min-width: 720px) {
  /* Advantages grid - адаптация для планшетов */
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 2rem;
  }
  
  .advantages-text {
    padding-right: 0;
    padding-left: 0;
  }
  
  .advantages-media {
    /* Убираем фиксированную высоту */
    padding: 0;
  }
  
  /* Advantages block - адаптация для планшетов */
  .advantages-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .advantage-item {
    width: calc(50% - 0.75rem) !important;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .advantage-content {
    flex: 1;
  }
  
  .advantage-title {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
  }
  
  .advantage-text {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}
/* 360px - 719px - Мобильные устройства */
@media (max-width: 719px) and (min-width: 360px) {
  /* Container для мобильных */
  .container {
    max-width: 100%;
    padding: 0 1rem;
    overflow-x: hidden;
  }
  
  /* Advantages grid - вертикальное расположение на мобильных */
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0;
    max-width: 100%;
  }
  
  .advantages-text {
    padding-right: 0;
    padding-left: 0;
  }
  
  .advantages-media {
    /* Убираем фиксированную высоту */
    padding: 0;
  }
  
  .vintage-frame-container {
    max-width: 90vw;
  }
  
  /* Advantages block - вертикальное расположение на мобильных */
  .advantages-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .advantage-item {
    width: 100% !important;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .advantage-content {
    flex: 1;
  }
  
  .advantage-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .advantage-text {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}
/* < 360px - Маленькие мобильные */
@media (max-width: 359px) {
  /* Container для маленьких мобильных */
  .container {
    max-width: 100%;
    padding: 0 0.5rem;
    overflow-x: hidden;
  }
  
  /* Advantages grid - вертикальное расположение на маленьких мобильных */
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0;
    max-width: 100%;
  }
  
  .advantages-text {
    padding-right: 0;
    padding-left: 0;
  }
  
  .advantages-media {
    /* Убираем фиксированную высоту */
    padding: 0;
  }
  
  /* Advantages block - вертикальное расположение на маленьких мобильных */
  .advantages-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .advantage-item {
    width: 100% !important;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .advantage-content {
    flex: 1;
  }
  
  .advantage-title {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }
  
  .advantage-text {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  
  .advantage-dot {
    width: 0.4rem;
    height: 0.4rem;
    margin-top: 0.2rem;
  }
}

/* --- Журнальная верстка для trends-media --- */
.trends-media {
    position: relative;
  }
  .video-showcase {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(50%, -50%);
    width: 70%;
    min-width: 220px;
    max-width: 420px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.92;
    filter: blur(0.5px) grayscale(0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  }
  /* 720px - 1279px - Планшеты */
  @media (max-width: 1279px) and (min-width: 720px) {
    .trends-media {
      /* Убираем фиксированную высоту */
    }
    .video-showcase {
      width: 60%;
      left: 55%;
      max-width: 320px;
      filter: blur(0.2px) grayscale(0.12);
    }
  }
  /* 360px - 719px - Мобильные устройства */
  @media (max-width: 719px) and (min-width: 360px) {
    .trends-media {
      /* Убираем фиксированную высоту */
    }
    .video-showcase {
      position: absolute;
      left: 60%;
      top: 60%;
      width: 60vw;
      max-width: 180px;
      min-width: 120px;
      transform: translate(0, -30%);
      opacity: 0.85;
      filter: blur(0.5px) grayscale(0.18);
    }
  }
  /* < 360px - Маленькие мобильные */
  @media (max-width: 359px) {
    .trends-media {
      /* Убираем фиксированную высоту */
    }
    .video-showcase {
      left: 65%;
      top: 70%;
      width: 40vw;
      max-width: 90px;
      min-width: 60px;
      transform: translate(0, -10%);
      opacity: 0.7;
    }
  }

.video-box {
    position: relative;
    border: 2px solid var(--gold-dark);
}

/* 720px - 1279px - Планшеты */
@media (max-width: 1279px) and (min-width: 720px) {
    .video-box {
      width: 100%;
      max-width: 720px;
      filter: blur(0.2px) grayscale(0.12);
    }
  }
  /* 360px - 719px - Мобильные устройства */
  @media (max-width: 719px) and (min-width: 360px) {
    .video-box {
      max-width: 420px;
      filter: blur(0.5px) grayscale(0.18);
    }
  }
  /* < 360px - Маленькие мобильные */
  @media (max-width: 359px) {
    .video-box {
      max-width: 320px;
      transform: translate(0, -10%);
      opacity: 0.7;
    }
  }

/* 1280px - 1919px - Стандартные десктопы */
@media (max-width: 1919px) and (min-width: 1280px) {
  .slide-title {
    font-size: 3.5rem;
  }
  .slide-subtitle {
    font-size: 1.2rem;
  }
  .slide-description {
    font-size: 1.3rem;
  }
}

/* 720px - 1279px - Планшеты */
@media (max-width: 1279px) and (min-width: 720px) {
  .slide-title {
    font-size: 1.5rem;
  }
  .slide-subtitle {
    font-size: 1.1rem;
  }
  .slide-description {
    font-size: 1rem;
  }
  .slide-btn {
    font-size: 1rem;
    padding: 0.8em 1.6em;
  }
  .slider-btn.prev-btn,
  .slider-btn.next-btn {
    pointer-events: none;
    opacity: 0.4;
    cursor: default;
  }
  .slide-content {
    padding: 0 1.5rem;
  }
}

/* 360px - 719px - Мобильные устройства */
@media (max-width: 719px) and (min-width: 360px) {
  .hero-slider {
    height: 70vh;
  }
  .slide-title {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }
  .slide-subtitle {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }
  .slide-description {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    max-width: 100%;
  }
  .slide-btn {
    font-size: 0.85rem;
    padding: 0.6em 1.2em;
  }
  .slide-content {
    max-width: 95vw;
    padding: 0 1rem;
  }
  .slider-dots {
    bottom: 1rem;
  }
}

/* < 360px - Маленькие мобильные */
@media (max-width: 359px) {
  .hero-slider {
    height: 60vh;
  }
  .slide-title {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
  }
  .slide-subtitle {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
  }
  .slide-description {
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
    line-height: 1.2;
  }
  .slide-btn {
    font-size: 0.75rem;
    padding: 0.4em 0.8em;
  }
  .slide-content {
    max-width: 100vw;
    padding: 0 0.5rem;
  }
  .slider-dots {
    bottom: 0.5rem;
    gap: 0.5rem;
  }
  .dot {
    width: 0.5rem;
    height: 0.5rem;
  }
}



/*add new 17.07*/
/* Breadcrumbs */
.breadcrumbs-section {
  padding: 3.1rem 0 0.1rem;
  background: rgba(42, 42, 42, 0.2);
}

@media (max-width: 1920px) {
  .breadcrumbs-section {
    padding: 2rem 0 0.1rem;
  }
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.breadcrumb-link {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: var(--primary);
}

.breadcrumb-separator {
  color: var(--muted-foreground);
}

.breadcrumb-current {
  color: var(--foreground);
}

/* Catalog Header */
.catalog-header {
  padding: 1.5rem 0;
  background: rgba(42, 42, 42, 0.1);
}

.catalog-header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.catalog-title-section {
  flex: 1;
}

.catalog-subtitle {
  color: var(--primary);
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}

.catalog-title {
  font-size: 2rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.catalog-description {
  font-size: 1rem;
  color: var(--muted-foreground);
  max-width: 28rem;
  line-height: 1.2;
}

.catalog-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.filter-toggle-btn {
  background: var(--card);
  color: var(--foreground);
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

.filter-toggle-btn:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.sort-dropdown {
  position: relative;
}

.sort-select {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground);
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  font-family: "Montserrat", sans-serif;
  appearance: none;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23d4af37" stroke-width="2"><polyline points="6,9 12,15 18,9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  min-width: 200px;
}

/* Catalog Layout */
.catalog-content {
  padding: 2rem 0 4rem;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
}

/* Filters Sidebar */
.catalog-filters {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 120px;
}

/* Categories Tree */
.catalog-categories { margin-bottom: 1.25rem; }
.categories-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.categories-header h3 { font-family: "Cormorant Garamond", serif; font-size: 1.25rem; margin: 0; color: var(--primary); }
.categories-tree { display: flex; flex-direction: column; gap: 0.25rem; }
.category-link,
.category-title { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.5rem 0.25rem; color: var(--foreground); text-decoration: none; border-radius: 0.375rem; }
.category-link:hover,
.category-title:hover { color: var(--primary); }
.category-title { width: 100%; background: transparent; border: none; cursor: pointer; }
.category-name { font-size: 0.95rem; }
.category-count { font-size: 0.85rem; color: var(--muted-foreground); }
.category-chevron { transition: transform 0.2s ease; }
.category-group.collapsed .category-chevron { transform: rotate(0deg); }
.category-group:not(.collapsed) .category-chevron { transform: rotate(180deg); }
.category-children { display: none; padding-left: 0.5rem; border-left: 1px dashed var(--border); margin-left: 0.25rem; }
.category-group:not(.collapsed) .category-children { display: flex; flex-direction: column; gap: 0.25rem; }

/* Active category highlighting */
.category-group.active .category-title {
  color: var(--primary);
}

.category-group.active .category-chevron {
  transform: rotate(180deg);
}

.category-link.active {
  color: var(--primary);
}

.category-link.active .category-name,
.category-link.active .category-count {
  color: var(--primary);
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.filters-header h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
}

.filters-reset {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground);
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 0.375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.filters-reset:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.filter-group {
  margin-bottom: 1rem;
}

.filter-title {
  width: 100%;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.125rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  padding: 0.5rem 0;
  cursor: pointer;
}
.filter-title-text { pointer-events: none; }
.filter-chevron { transition: transform 0.2s ease; }
.filter-group:not(.collapsed) .filter-chevron { transform: rotate(180deg); }

.filter-options {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.25rem 0 0.75rem;
  border-bottom: 1px solid var(--border);
}
.filter-group:not(.collapsed) .filter-options { display: flex; }

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-option:hover {
  color: var(--primary);
}

.filter-option input[type="checkbox"] {
  display: none;
}

.filter-checkmark {
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--border);
  border-radius: 0.25rem;
  position: relative;
  transition: all 0.3s ease;
}

.filter-option
  input[type="checkbox"]:checked
  + .filter-checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.filter-option
  input[type="checkbox"]:checked
  + .filter-checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: bold;
}

.filter-label {
  flex: 1;
  font-size: 0.875rem;
}

.filter-count {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Price Range */
.price-range {
  margin-top: 0.5rem;
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.price-input {
  background: var(--input-background);
  border: 1px solid var(--border);
  color: var(--foreground);
  padding: 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  width: 100%;
}

.price-separator {
  color: var(--muted-foreground);
}

.price-slider {
  position: relative;
  height: 0.25rem;
  background: var(--border);
  border-radius: 0.125rem;
}

.price-range-fill {
  position: absolute;
  height: 100%;
  background: var(--primary);
  border-radius: 0.125rem;
  left: 25%;
  right: 25%;
}

.price-thumb {
  position: absolute;
  width: 1rem;
  height: 1rem;
  background: var(--primary);
  border: 2px solid var(--background);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.price-thumb[data-thumb="min"] {
  left: 25%;
  transform: translate(-50%, -50%);
}

.price-thumb[data-thumb="max"] {
  right: 25%;
  transform: translate(50%, -50%);
}

/* Color Options */
.color-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.color-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.color-option input[type="checkbox"] {
  display: none;
}

.color-swatch {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
}

.color-option
  input[type="checkbox"]:checked
  + .color-swatch::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
}

.color-label {
  font-size: 0.875rem;
}

/* Catalog Bar Header */
.catalog-bar-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 2rem;
}

/* Override WooCommerce ordering styles */
.catalog-bar-header .woocommerce .woocommerce-ordering {
  margin: 0 0 0 0 !important;
}

/* Alternative override with higher specificity */
.catalog-bar-header .woocommerce-ordering {
  margin: 0 0 0 0 !important;
}

/* Direct override for the specific element */
.catalog-bar-header .woocommerce-ordering select.orderby {
  margin: 0 0 0 0 !important;
}

.products-controls-right { display: flex; gap: 0.5rem; align-items: center; }

.view-btn:hover,
.view-btn.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.catalog-products .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Сетка каталога: 2 карточки в ряд по умолчанию на десктопе */
.catalog-products .products-grid.products-grid--2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Переключение вида каталога */
.catalog-products .products-grid.grid-view .product,
.catalog-products .products-grid.grid-view .product-card {
  display: block;
}

.catalog-products .products-grid.list-view {
  grid-template-columns: 1fr;
}

.catalog-products .products-grid.list-view .product,
.catalog-products .products-grid.list-view .product-card {
  display: grid;
  grid-template-columns: 210px 1fr; /* уменьшили превью ~на 25% (с 280px до 210px) */
  gap: 1.25rem;
  align-items: stretch; /* растягиваем колонку изображений по высоте строки */
}

.catalog-products .products-grid.list-view .product-card .product-image {
  margin: 0;
  height: 100%;
}

.catalog-products .products-grid.list-view .product-card .product-info {
  padding: 0.5em 0.5em 0.5em 1rem; /* добавлен отступ слева */
}

/* Компактное отображение блока атрибутов в режиме списка */
.catalog-products .products-grid.list-view .product-card .product-features--compact {
  margin-top: 0.25rem;
  padding: 0.375rem 0.45rem; /* ~50% от обычного */
}
/* скрываем лейблы атрибутов в списке */
.catalog-products .products-grid.list-view .product-card .product-features--compact table.shop_attributes th,
.catalog-products .products-grid.list-view .product-card .product-features--compact .woocommerce-product-attributes-item__label {
  display: none !important;
}
/* делаем таблицу атрибутов в списке компактнее на ~50% */
.catalog-products .products-grid.list-view .product-card .product-features--compact table.shop_attributes td {
  padding: 3px 4px !important;
}
/* уменьшаем "чипсы" значений атрибутов на 50% */
.catalog-products .products-grid.list-view .product-card .product-features--compact .woocommerce-product-attributes-item__value {
  gap: 4px;
}
.catalog-products .products-grid.list-view .product-card .product-features--compact .woocommerce-product-attributes-item__value p {
  padding: 3px 5px; /* было 6px 10px */
}
.catalog-products .products-grid.list-view .product-card .product-features--compact .woocommerce-product-attributes-item__value p > * {
  font-size: 0.8rem; /* ~50% от 0.95rem */
  line-height: 1.2;
}

/* === Grid view: компактные атрибуты и размер чипсов 0.8rem === */
.catalog-products .products-grid.grid-view .product-card .product-features--compact {
  margin-top: 0.5rem;
  padding: 0.5rem 0.6rem;
}
.catalog-products .products-grid.grid-view .product-card .product-features--compact .woocommerce-product-attributes-item__value {
  gap: 4px;
}
.catalog-products .products-grid.grid-view .product-card .product-features--compact .woocommerce-product-attributes-item__value p {
  padding: 3px 5px; /* компактные чипсы как в списке */
}
.catalog-products .products-grid.grid-view .product-card .product-features--compact .woocommerce-product-attributes-item__value p > * {
  font-size: 0.8rem;
  line-height: 1.2;
}
/* скрываем лейблы атрибутов и th в сетке */
.catalog-products .products-grid.grid-view .product-card .product-features--compact table.shop_attributes th,
.catalog-products .products-grid.grid-view .product-card .product-features--compact .woocommerce-product-attributes-item__label {
  display: none !important;
}

.catalog-products .products-grid.list-view .product-card .details-btn {
  margin-top: 0.5rem;
}

/* Улучшаем внешний вид встроенной сортировки WooCommerce */
.catalog-controls .woocommerce-ordering .orderby,
.catalog-products .woocommerce-ordering .orderby,
.sort-select, .catalog-controls select.orderby {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground);
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  font-family: "Montserrat", sans-serif;
  appearance: none;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23d4af37" stroke-width="2"><polyline points="6,9 12,15 18,9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  min-width: 220px;
}

.catalog-controls .woocommerce-ordering { position: relative; }

/* Кнопки переключения вида */
.catalog-controls .view-toggle,
.catalog-bar-header .view-toggle { display: flex; gap: 0.5rem; }
.catalog-controls .view-btn,
.catalog-bar-header .view-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 0.375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.catalog-controls .view-btn:hover,
.catalog-controls .view-btn.active,
.catalog-bar-header .view-btn:hover,
.catalog-bar-header .view-btn.active { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }

/* Мобильная сетка */
@media (max-width: 1024px) {
  .catalog-products .products-grid.products-grid--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .catalog-products .products-grid.products-grid--2col { grid-template-columns: 1fr; }
  .catalog-products .products-grid.list-view .product,
  .catalog-products .products-grid.list-view .product-card { grid-template-columns: 1fr; }
}

.quick-view-btn:hover {
  background: white;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-number:hover,
.pagination-number.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

/* Product Details Page */
.product-details {
  padding: 1rem 0;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.zoom-btn:hover {
  background: white;
}

.thumbnail {
  flex-shrink: 0;
  width: 80px;
  height: 100px;
  border: 2px solid transparent;
  border-radius: 0.375rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
  background: none;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: var(--primary);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.size-btn:hover,
.size-btn.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.quantity-btn:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.add-to-cart-btn {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: center;
  transition: all 0.3s ease;
  border: none;
}

.add-to-cart-btn:hover {
  background: rgba(212, 175, 55, 0.9);
}

.wishlist-btn-large:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.feature svg {
  color: var(--primary);
  flex-shrink: 0;
}

.product-consultation h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.consultation-btn {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  margin-top: 1rem;
  transition: all 0.3s ease;
  border: none;
}

.consultation-btn:hover {
  background: rgba(212, 175, 55, 0.9);
}

/* Product Tabs */
.product-tabs {
  padding: 3rem 0;
  background: rgba(42, 42, 42, 0.2);
}

.tab-btn {
  background: none;
  color: var(--muted-foreground);
  padding: 1rem 0;
  border-bottom: 2px solid transparent;
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s ease;
  border: none;
  border-bottom: 2px solid transparent;
}

.tab-btn:hover,
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-content h3 {
  margin-bottom: 1.5rem;
}

/* Product full description (no tabs) */
.product-description-full {
  width: 100%;
}
.product-description-full img,
.product-description-full video,
.product-description-full iframe {
  max-width: 100%;
  height: auto;
  display: block;
}
.product-description-full table {
  width: 100%;
  border-collapse: collapse;
}
.product-description-full figure {
  margin: 0;
}

/* Normalize WordPress caption container inside product description */
.product-description-full .wp-caption {
  width: 100% !important;
  max-width: 100% !important;
}
.product-description-full .wp-caption img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
}
.product-description-full .wp-caption-text {
  text-align: center;
  margin-top: 0.5rem;
  color: var(--muted-foreground);
}

.care-instructions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.care-item h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Reviews */
.reviews-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(42, 42, 42, 0.3);
  border-radius: 0.5rem;
}

.rating-stars {
  margin-bottom: 0.5rem;
}

.rating-count {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.rating-label {
  min-width: 60px;
  font-size: 0.875rem;
}

.rating-percent {
  min-width: 40px;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.reviewer-info {
  display: flex;
  flex-direction: column;
}

.review-content p {
  line-height: 1.6;
}

.load-more-reviews:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

/* Related Products */
.related-products {
  padding: 3rem 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .advantages-text {
    padding-right: 0;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .catalog-products .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  h3 {
    font-size: 1.875rem;
  }

  h4 {
    font-size: 1.5rem;
  }
}

/*add new 17.07*/
.color-option
  input[type="checkbox"]:checked
  + .color-swatch::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
}

/* Products Grid */
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.view-btn:hover,
.view-btn.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.quick-view-btn:hover {
  background: white;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-number:hover,
.pagination-number.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

/* Product Details Page */
.product-details {
  padding: 1rem 0;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.zoom-btn:hover {
  background: white;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: var(--primary);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.size-btn:hover,
.size-btn.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.quantity-btn:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.add-to-cart-btn:hover {
  background: rgba(212, 175, 55, 0.9);
}

.wishlist-btn-large:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.feature svg {
  color: var(--primary);
  flex-shrink: 0;
}

.product-consultation h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.consultation-btn:hover {
  background: rgba(212, 175, 55, 0.9);
}

/* Product Tabs */
.product-tabs {
  padding: 3rem 0;
  background: rgba(42, 42, 42, 0.2);
}

.tab-btn:hover,
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Reviews */
.reviews-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(42, 42, 42, 0.3);
  border-radius: 0.5rem;
}

.review-stars {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 0.5rem;
}

.review-content p {
  line-height: 1.6;
}

.load-more-reviews:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

/* Related Products */
.related-products {
  padding: 3rem 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .slide-title {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1rem;
  }

  .section-subtitle {
    font-size: 0.8rem;
  }

  .section-description {
    font-size: 1.2rem;
  }

  .advantages-description {
    font-size: 1.2rem;
    margin-bottom: 0;
  }

  .advantage-title {
    font-size: 1rem;
  }  

  .advantages-text {
    gap: 0rem;
  }  

  .catalog-title {
    font-size: 1.3rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.3rem;
  }

  p {
    font-size: 0.8rem;
  }

  .logo-text {
    font-size: 2rem;
  }
}

/*add new 17.07*/
.color-option
  input[type="checkbox"]:checked
  + .color-swatch::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
}

/* Products Grid */
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.products-count {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.view-toggle {
  display: flex;
  gap: 0.5rem;
}

.view-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

.view-btn:hover,
.view-btn.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.stars {
  display: flex;
  gap: 0.125rem;
}

.star {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.star.filled {
  color: var(--primary);
}

.rating-count {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.quick-view-btn {
  background: rgba(255, 255, 255, 0.9);
  color: var(--background);
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.quick-view-btn:hover {
  background: white;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.pagination-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination-number {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  min-width: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.pagination-number:hover,
.pagination-number.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.pagination-dots {
  color: var(--muted-foreground);
  padding: 0 0.5rem;
}

/* Product Details Page */
.product-details {
  padding: 1rem 0;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
}

.product-gallery {
  width: 95%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0; /* предотвращает растягивание колонки галереи в гриде */
}

.main-image {
  position: relative;
  /*aspect-ratio: 3/4;*/
  overflow: hidden;
  border-radius: 0.5rem;
  /*background: var(--card);*/
  background: none;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 1921px) {
  .product-gallery {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0; /* предотвращает растягивание колонки галереи в гриде */
  }
  
  .main-image {
    position: relative;
    /*aspect-ratio: 3/4;*/
    overflow: hidden;
    border-radius: 0.5rem;
    /*background: var(--card);*/
    background: none;
  }
  
  .main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.zoom-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--background);
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

.zoom-btn:hover {
  background: white;
}

.thumbnail-gallery {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable both-edges;
}

.thumbnail {
  flex-shrink: 0;
  width: 80px;
  height: 100px;
  border: 2px solid transparent;
  border-radius: 0.375rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: var(--primary);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Кастомизация горизонтального скролла для галереи превью */
.thumbnail-gallery::-webkit-scrollbar {
  height: 8px;
}
.thumbnail-gallery::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}
.thumbnail-gallery::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.4);
  border-radius: 4px;
}
.thumbnail-gallery {
  scrollbar-color: rgba(212, 175, 55, 0.4) rgba(255, 255, 255, 0.05);
  scrollbar-width: thin;
}

.product-info-section {
  padding: 1rem 0;
}

.product-header {
  margin-bottom: 2rem;
}

.product-category {
  color: var(--primary);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.product-sku {
  margin-top: -0.5rem;
  margin-bottom: 1.25rem;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}
.product-sku span {
  color: var(--foreground);
}

.rating-text {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.product-price-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 0.5rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.price-current {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.price-old {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
  margin-bottom: 0.5rem;
}

.price-save {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
}

.product-description {
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Подложка как у product-features */
.product-description {
  padding: 1.5rem;
  background-color: rgba(42, 42, 42, 0.5);
  border-radius: 0.5rem;
}

.product-options {
  margin-bottom: 2rem;
}

.option-group {
  margin-bottom: 1.5rem;
}

.option-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.size-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.size-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  min-width: 3rem;
  text-align: center;
  transition: all 0.3s ease;
}

.size-btn:hover,
.size-btn.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.option-select {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground);
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  width: 100%;
  font-family: "Montserrat", sans-serif;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.quantity-btn:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.quantity-input {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground);
  padding: 0.5rem;
  border-radius: 0.375rem;
  width: 4rem;
  text-align: center;
  font-family: "Montserrat", sans-serif;
}

.product-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.add-to-cart-btn {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: center;
  transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
  background: rgba(212, 175, 55, 0.9);
}

.wishlist-btn-large {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  padding: 1rem 1.5rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.wishlist-btn-large:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: rgba(42, 42, 42, 0.5);
  border-radius: 0.5rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}
/* === Grouped Products (состав набора) === */
.grouped-products {
  padding: 2rem 0;
}

.grouped-products-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.grouped-product-item {
  padding: 0;
}

.grouped-product-inner {
  display: grid;
  grid-template-columns: 200px 1fr max-content;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
}

.grouped-product-thumb { width: 200px; }

.grouped-product-img {
  width: 200px;
  height: auto;
  object-fit: contain;
  background: var(--background);
  border-radius: 0.375rem;
}

.grouped-product-info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.grouped-product-title {
  margin: 0;
  font-size: 1.125rem;
  font-family: var(--font-heading);
}

.grouped-product-title a {
  color: var(--foreground);
  text-decoration: none;
}

.grouped-product-title a:hover {
  color: var(--primary);
}

.grouped-product-sku {
  color: var(--muted-foreground);
  font-size: 0.85rem;
}
.grouped-product-sku span {
  color: var(--foreground);
}

/* Уплотняем таблицу атрибутов внутри элементов набора */
.grouped-product-attributes table.shop_attributes {
  width: 100%;
  border-collapse: collapse;
}

.grouped-product-attributes table.shop_attributes th,
.grouped-product-attributes table.shop_attributes td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.grouped-product-attributes table.shop_attributes tr:last-child th,
.grouped-product-attributes table.shop_attributes tr:last-child td {
  border-bottom: none;
}

.grouped-product-attributes table.shop_attributes th {
  width: 35%;
  color: var(--primary);
  font-weight: 600;
}

.grouped-product-attributes table.shop_attributes p {
  margin: 0;
}

/* === Responsive layout for attributes rows: label and value on one line, value moves below only if needed === */
.product-features table.shop_attributes tr,
.grouped-product-attributes table.shop_attributes tr {
  display: flex;
  flex-wrap: nowrap; /* не переносим label и значения на разные строки */
  align-items: baseline;
  gap: 0.125rem 0.5rem;
}

.product-features table.shop_attributes th,
.grouped-product-attributes table.shop_attributes th {
  flex: 0 0 auto;
  width: auto; /* переопределяем фиксированную ширину */
  white-space: nowrap;
}

.product-features table.shop_attributes td,
.grouped-product-attributes table.shop_attributes td {
  flex: 1 1 0;
  min-width: 0; /* позволяет значению занимать остаток строки и переноситься ниже при нехватке места */
}

.grouped-product-actions {
  align-self: start;
  display: flex;
  align-items: center;
  justify-self: end;
}
.grouped-wishlist-btn.sw-add-to-wishlist {
  padding: 0.5rem 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
}

/* Спрятать текст кнопки на мобильных, оставить иконку */
@media (max-width: 768px) {
  .grouped-product-inner {
    grid-template-columns: 200px 1fr max-content;
  }
  .grouped-wishlist-btn .sw-wishlist-text {
    display: none;
  }
}

@media (max-width: 480px) {
  .grouped-product-inner {
    grid-template-columns: 200px 1fr max-content;
  }
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .grouped-product-item {
    flex-direction: column;
    align-items: stretch;
  }
  .grouped-product-thumb {
    flex: 0 0 auto;
  }
  .grouped-product-img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
  }
}

.feature svg {
  color: var(--primary);
  flex-shrink: 0;
}

.product-consultation {
  padding: 1.5rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 0.5rem;
  text-align: center;
}

.product-consultation h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.consultation-btn {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.consultation-btn:hover {
  background: rgba(212, 175, 55, 0.9);
}

/* Product Tabs */
.product-tabs {
  padding: 3rem 0;
  background: rgba(42, 42, 42, 0.2);
}

.tabs-header {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.tab-btn {
  background: none;
  color: var(--muted-foreground);
  padding: 1rem 0;
  border-bottom: 2px solid transparent;
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-content {
  max-width: 4xl;
}

.specifications-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.spec-label {
  font-weight: 600;
}

.spec-value {
  color: var(--muted-foreground);
}

/* Reviews */
.reviews-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(42, 42, 42, 0.3);
  border-radius: 0.5rem;
}

.overall-rating {
  text-align: center;
}

.rating-score {
  font-size: 3rem;
  font-weight: 600;
  color: var(--primary);
}

.rating-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rating-bar {
  flex: 1;
  height: 0.5rem;
  background: var(--border);
  border-radius: 0.25rem;
  overflow: hidden;
}

.rating-fill {
  height: 100%;
  background: var(--primary);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-item {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.reviewer-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.review-date {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.load-more-reviews {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

.load-more-reviews:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

/* Related Products */
.related-products {
  padding: 3rem 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-filters {
    position: static;
    margin-bottom: 2rem;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-right {
    width: 40%;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .product-actions {
    flex-direction: column;
  }

  .specifications-grid {
    grid-template-columns: 1fr;
  }

  .reviews-summary {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mobile-menu-container {
    flex-direction: column;
  }

  .mobile-menu-right {
    width: 100%;
    height: 40%;
  }

  .mobile-menu-left {
    height: 60%;
  }

  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .slide-title {
    font-size: 2rem;
  }

  .catalog-header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .catalog-title {
    font-size: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .tabs-header {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .pagination {
    flex-wrap: wrap;
  }

  .catalog-header-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

/*add new 17.07*/
/* === CART PAGE STYLES === */
.cart-section {
    padding: 3rem 0;
}

.cart-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cart-title {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.cart-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

.cart-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.cart-item-product {
    display: flex;
    gap: 1rem;
}

.cart-item-image {
    width: 100px;
    height: 130px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.cart-item-attributes {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.cart-item-sku {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.cart-item-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.current-price {
    color: var(--primary);
    font-weight: 600;
}

.original-price {
    color: var(--muted-foreground);
    text-decoration: line-through;
    font-size: 0.875rem;
}

.cart-item-total .item-total {
    font-weight: 600;
    color: var(--primary);
}

.remove-item-btn {
    background: none;
    border: none;
    color: var(--muted-foreground);
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.remove-item-btn:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.continue-shopping-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted-foreground);
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.continue-shopping-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cart-actions-right {
    display: flex;
    gap: 1rem;
}

.clear-cart-btn,
.update-cart-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted-foreground);
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.update-cart-btn {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.coupon-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--card);
    border-radius: 0.5rem;
    border: 1px solid var(--border);
}

.coupon-form {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.coupon-input {
    flex: 1;
    background: var(--input-background);
    border: 1px solid var(--border);
    color: var(--foreground);
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
}

.apply-coupon-btn {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.cart-totals {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
}

.cart-totals h3 {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 1.5rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.total-final {
    border-bottom: none;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--primary);
}

.total-value.discount {
    color: #22c55e;
}

.total-value.final {
    color: var(--primary);
}

.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.shipping-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shipping-option:hover {
    border-color: var(--primary);
}

.shipping-option input:checked + span {
    color: var(--primary);
}

.checkout-btn {
    width: 100%;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-top: 2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.checkout-btn:hover {
    background: rgba(212, 175, 55, 0.9);
}

/* === CHECKOUT PAGE STYLES === */
.checkout-section {
    padding: 3rem 0;
}

.checkout-header {
    text-align: center;
    margin-bottom: 3rem;
}

.checkout-title {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.checkout-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
}

.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--muted-foreground);
}

.step.active {
    color: var(--primary);
}

.step-number {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--muted);
    color: var(--muted-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step.active .step-number {
    background: var(--primary);
    color: var(--primary-foreground);
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

.billing-section,
.shipping-section,
.additional-info-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
}

.billing-section h3,
.shipping-section h3,
.additional-info-section h3 {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--input-background);
    border: 1px solid var(--border);
    color: var(--foreground);
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-family: 'Montserrat', sans-serif;
}

.required {
    color: #dc2626;
}

.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--border);
    border-radius: 0.25rem;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-foreground);
    font-size: 0.75rem;
    font-weight: bold;
}

.shipping-methods {
    margin-top: 2rem;
}

.shipping-method {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shipping-method:hover {
    border-color: var(--primary);
}

.shipping-method input[type="radio"] {
    display: none;
}

.shipping-method input[type="radio"]:checked + .method-details .method-name {
    color: var(--primary);
}

.method-details {
    flex: 1;
}

.method-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.method-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.method-price {
    font-weight: 600;
    color: var(--primary);
}

.order-summary {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.order-items {
    margin-bottom: 2rem;
}

.order-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.order-item:last-child {
    border-bottom: none;
}

.item-info {
    flex: 1;
}

.item-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.item-attributes {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.item-quantity {
    margin: 0 1rem;
    color: var(--muted-foreground);
}

.item-total {
    font-weight: 600;
    color: var(--primary);
}

.order-totals {
    margin-bottom: 2rem;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: var(--primary);
}

.payment-method input[type="radio"]:checked + .method-info .method-name {
    color: var(--primary);
}

.place-order-btn {
    width: 100%;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.place-order-btn:hover {
    background: rgba(212, 175, 55, 0.9);
}

/* === AUTH PAGE STYLES === */
.auth-section {
    padding: 3rem 0;
}

.auth-container {
    max-width: 1200px;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 3rem;
}

.auth-title {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.auth-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
}

.auth-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

.auth-form-container {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    color: var(--muted-foreground);
    padding: 1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.auth-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.auth-panel {
    display: none;
}

.auth-panel.active {
    display: block;
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
}

.password-strength {
    margin-top: 0.5rem;
}

.strength-meter {
    height: 0.25rem;
    background: var(--border);
    border-radius: 0.125rem;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.strength-fill {
    height: 100%;
    width: 0%;
    background: #dc2626;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.preferences-section,
.consent-section,
.privacy-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.preferences-section h4 {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 1rem;
}

.auth-btn {
    width: 100%;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    background: rgba(212, 175, 55, 0.9);
}

.auth-benefits {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.benefits-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.benefit-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.benefit-item h4 {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 0.5rem;
}

.club-cta {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(184, 134, 11, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}



.club-btn {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.club-btn:hover {
    background: rgba(212, 175, 55, 0.9);
}

/* === CONTACTS PAGE STYLES === */
.contacts-hero {
    padding: 4rem 0 2rem;
    text-align: center;
}

.contacts-title {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.contacts-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
}

.contact-info-section {
    padding: 3rem 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 3rem;
}

.contact-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    color: var(--primary);
    flex-shrink: 0;
}

.contact-details h3 {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 1rem;
}

.working-hours,
.phone-numbers,
.email-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phone-link,
.email-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.phone-description,
.email-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.contact-form-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.contact-form-card h3 {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 1rem;
}

.contact-submit-btn {
    width: 100%;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.contact-submit-btn:hover {
    background: rgba(212, 175, 55, 0.9);
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    text-decoration: none;
    color: var(--foreground);
    transition: all 0.3s ease;
}

.quick-action:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
}

.quick-action svg {
    color: var(--primary);
}

.map-section {
    padding: 0.5rem 0;
}

.map-container {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

#yandex-map {
    width: 100% !important;
    height: 100% !important;
    border-radius: var(--radius) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

.map-controls {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.map-control-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    color: var(--background);
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.map-control-btn:hover {
    background: white;
}

.location-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.location-item {
    display: flex;
    gap: 1rem;
}

.location-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.location-item h4 {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 0.5rem;
}

.transport-tabs {
    display: flex;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.transport-tab {
    background: none;
    border: none;
    color: var(--muted-foreground);
    padding: 1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.transport-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.transport-panel {
    display: none;
}

.transport-panel.active {
    display: block;
}

.metro-route {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--card);
    border-radius: 0.375rem;
}

.metro-line {
    background: #dc2626;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.social-section {
    padding: 3rem 0;
    background: rgba(42, 42, 42, 0.3);
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.social-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    text-decoration: none;
    color: var(--foreground);
    transition: all 0.3s ease;
}

.social-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.social-icon {
    color: var(--primary);
    flex-shrink: 0;
}

.social-info h4 {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 0.25rem;
}

.social-info p {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.social-info span {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* === ABOUT PAGE STYLES === */
.about-hero {
    padding: 4rem 0 2rem;
    text-align: center;
}

.about-title {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.about-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
}

.story-section {
    padding: 4rem 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.story-image {
    border-radius: 0.5rem;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contacts-section {
    padding: 0.5rem 0;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contacts-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.contacts-image {
    border-radius: 0.5rem;
    overflow: hidden;
}

.contacts-image img {
    width: 75%;
    height: 75%;
    object-fit: cover;
}

.contacts-map {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.values-section {
    padding: 4rem 0;
    background: rgba(42, 42, 42, 0.2);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
}

.value-icon {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5em;
    margin-bottom: 1rem;
}

.production-section {
    padding: 4rem 0;
}

.production-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 0.5rem;
}

.team-section {
    padding: 4rem 0;
    background: rgba(42, 42, 42, 0.2);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    overflow: hidden;
}

.member-photo {
    aspect-ratio: 4/5;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 1.5rem;
}

.member-info h4 {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 0.25rem;
}

.member-position {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.member-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.achievements-section {
    padding: 4rem 0;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.achievement-item {
    text-align: center;
    padding: 2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
}

.achievement-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 1rem;
}

.achievement-item h4 {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 0.5rem;
}

.services-section {
    padding: 4rem 0;
    background: rgba(42, 42, 42, 0.2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
    display: block;
    gap: 1.5rem;
}

.service-icon {
    color: var(--primary);
    flex-shrink: 0;
}

.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* === CLUB PAGE STYLES === */
.club-hero {
    padding: 4rem 0;
}

.club-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.club-badge {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    display: inline-block;
    margin-bottom: 1rem;
}

.club-title {
    font-size: 4rem;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
}

.club-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.club-cta-btn {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.club-cta-btn:hover {
    background: rgba(212, 175, 55, 0.9);
}

.club-hero-image {
    border-radius: 0.5rem;
    overflow: hidden;
}

.club-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.membership-tiers {
    padding: 4rem 0;
    background: rgba(42, 42, 42, 0.2);
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.tier-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.tier-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.tier-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.tier-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.tier-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tier-icon {
    color: var(--primary);
    margin-bottom: 1rem;
}

.tier-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tier-subtitle {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.tier-price {
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary);
}

.price-period {
    color: var(--muted-foreground);
}

.tier-benefits {
    margin-bottom: 2rem;
}

.tier-benefits .benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.tier-benefits .benefit-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.tier-btn {
    width: 100%;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 0.375rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.tier-btn:hover,
.tier-card.featured .tier-btn {
    background: var(--primary);
    color: var(--primary-foreground);
}

.exclusive-benefits {
    padding: 4rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
    display: block;
    gap: 1.5rem;
}

.benefit-icon {
    color: var(--primary);
    flex-shrink: 0;
}

.benefit-card h3 {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 1rem;
}

.benefit-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.testimonials-section {
    padding: 4rem 0;
    background: rgba(42, 42, 42, 0.2);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author h4 {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.membership-application {
    padding: 4rem 0;
}

.application-content {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 4rem;
    align-items: flex-start;
}

.application-text h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.application-text p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.application-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.app-benefit svg {
    color: var(--primary);
}

.application-form-container {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 2rem;
}

.application-form h3 {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 1.5rem;
}

.application-submit-btn {
    width: 100%;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.application-submit-btn:hover {
    background: rgba(212, 175, 55, 0.9);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cart-content,
    .checkout-content,
    .auth-content,
    .contact-info-grid,
    .story-grid,
    .contacts-grid,
    .club-hero .container,
    .application-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .order-summary,
    .cart-totals {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-table-header {
        display: none;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
        border: 1px solid var(--border);
        border-radius: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkout-steps {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .tiers-grid {
        grid-template-columns: 1fr;
    }
    
    .tier-card.featured {
        transform: none;
    }
    
    .club-title {
        font-size: 3rem;
    }
    
    .about-title,
    .contacts-title {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .cart-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .coupon-form {
        flex-direction: column;
    }
    
    .club-title {
        font-size: 2.5rem;
    }
    
    .about-title,
    .contacts-title {
        font-size: 2.5rem;
    }
    
    .achievement-number {
        font-size: 2.5rem;
    }
}

/* === Preloader с видеобэкграундом === */
#preloader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1);
}
#preloader.hide {
  opacity: 0;
  pointer-events: none;
  z-index: -1; /* Убираем preloader из стека z-index после скрытия */
}
#preloader video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  display: block;
}

#preloader-skip {
  position: absolute;
  right: 5vw;
  bottom: 7vh;
  z-index: 2;
  background: rgba(212, 175, 55, 0.92);
  color: #fff;
  border: none;
  border-radius: 0.5em;
  font-size: 1.25rem;
  padding: 0.75em 2em;
  cursor: pointer;
  font-family: var(--font-button, inherit);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
#preloader-skip:hover {
  background: #fff;
  color: var(--primary, #bfa15a);
  transform: scale(1.05);
}
@media (max-width: 600px) {
  #preloader-skip {
    font-size: 1rem;
    padding: 0.5em 1.2em;
    right: 50%;
    transform: translateX(50%);
    bottom: 4vh;
  }
}

/* === Product Tabs Styling === */
.product-tabs {
  padding: 4rem 0;
  background: rgba(42, 42, 42, 0.1);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.product-tabs .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* WooCommerce Tabs Container */
.woocommerce-tabs {
  background: var(--card);
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Tabs Navigation */
.woocommerce-tabs ul.tabs {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(212, 175, 55, 0.05);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.woocommerce-tabs ul.tabs li {
  margin: 0;
  flex: 1;
}

.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 1.5rem 2rem;
  text-decoration: none;
  color: var(--muted-foreground);
  font-family: var(--font-button);
  font-weight: 500;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 3px solid transparent;
  position: relative;
}

.woocommerce-tabs ul.tabs li a:hover {
  color: var(--primary);
  background: rgba(212, 175, 55, 0.08);
}

.woocommerce-tabs ul.tabs li.active a {
  color: var(--primary);
  background: var(--card);
  border-bottom-color: var(--primary);
}

/* Tabs Content */
.woocommerce-tabs .panel {
  padding: 3rem;
  display: none;
}

.woocommerce-tabs .panel.active {
  display: block;
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Description Tab */
.woocommerce-tabs .panel h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 0.5rem;
}

.woocommerce-tabs .panel p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--foreground);
}

/* Additional Information Tab */
.woocommerce-tabs .shop_attributes {
  width: 100%;
  border-collapse: collapse;
}

/* === Product features (moved from Details tab) === */
.product-features {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border: none;
  border-radius: 8px;
  background-color: rgba(42, 42, 42, 0.5);
}

.product-features table.shop_attributes {
  width: 100%;
  border-collapse: collapse;
}

.product-features table.shop_attributes th,
.product-features table.shop_attributes td {
  text-align: left;
  padding: 6px 8px;
  border-bottom: none;
  color: #fff;
}

/* Убираем нижнюю границу у лейбла атрибута (например, Цвет) */
.product-features .woocommerce-product-attributes-item__label,
.grouped-product-attributes .woocommerce-product-attributes-item__label {
  border-bottom: none !important;
}

/* Убираем нижние границы у таблицы атрибутов внутри состава набора */
.grouped-product-attributes table.shop_attributes th,
.grouped-product-attributes table.shop_attributes td {
  border-bottom: none !important;
}

.product-features table.shop_attributes tr:last-child th,
.product-features table.shop_attributes tr:last-child td {
  border-bottom: none;
}

.product-features table.shop_attributes th {
  width: 35%;
  color: var(--primary);
  font-weight: 600;
  background: transparent;
}

.product-features table.shop_attributes p {
  margin: 0;
}

/* Normalize paragraph spacing inside WooCommerce attributes table */
.woocommerce table.shop_attributes td p {
  margin: 0;
  padding: 8px 8px !important;
}

/* Override WooCommerce default bottom margin for attributes table */
.woocommerce table.shop_attributes {
  margin-bottom: 0em !important;
}

/* Make attribute links non-clickable and styled as text */
.product-features table.shop_attributes a {
  pointer-events: none;
  color: #fff;
  text-decoration: none;
}

/* Add bordered chips for attribute values inside p */
.product-features .woocommerce-product-attributes-item__value p {
  margin: 0;
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  background: rgba(10, 10, 10, 0.15);
  color: #fff;
}

.product-features .woocommerce-product-attributes-item__value p a {
  pointer-events: none;
  color: inherit;
  text-decoration: none;
}

/* Раскладываем значения атрибутов в строку с переносом по необходимости */
.product-features .woocommerce-product-attributes-item__value,
.grouped-product-attributes .woocommerce-product-attributes-item__value {
  display: flex;
  flex-wrap: wrap; /* значения переносятся внутри ячейки при нехватке ширины */
  gap: 8px;
  align-items: baseline;
}

/* Скрываем запятые-текст внутри p и раскладываем значения как чипсы */
.product-features .woocommerce-product-attributes-item__value p,
.grouped-product-attributes .woocommerce-product-attributes-item__value p {
  display: flex;
  flex-wrap: wrap;
  gap: 0; /* отступы задаем через margin у элементов */
  margin: 0;
  font-size: 0; /* скрываем текстовые запятые между ссылками */
}

.product-features .woocommerce-product-attributes-item__value p > *,
.grouped-product-attributes .woocommerce-product-attributes-item__value p > * {
  font-size: 0.95rem; /* возвращаем размер дочерним элементам внутри p */
}

/* Убираем визуальные запятые через псевдоэлемент между элементами внутри p */
.product-features .woocommerce-product-attributes-item__value p > *:not(:last-child)::after,
.grouped-product-attributes .woocommerce-product-attributes-item__value p > *:not(:last-child)::after {
  content: "";
}

/* === Color row: держим лейбл и значения в одну строку === */
.product-features .woocommerce-product-attributes-item--attribute_pa_color {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
}
.product-features .woocommerce-product-attributes-item--attribute_pa_color .woocommerce-product-attributes-item__label {
  white-space: nowrap;
}
.product-features .woocommerce-product-attributes-item--attribute_pa_color .woocommerce-product-attributes-item__value {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
}
.product-features .woocommerce-product-attributes-item--attribute_pa_color .woocommerce-product-attributes-item__value p {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
}

/* === Color row внутри состава (grouped): тоже в одну строку === */
.grouped-product-attributes .woocommerce-product-attributes-item--attribute_pa_color {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
}
.grouped-product-attributes .woocommerce-product-attributes-item--attribute_pa_color .woocommerce-product-attributes-item__label {
  white-space: nowrap;
}
.grouped-product-attributes .woocommerce-product-attributes-item--attribute_pa_color .woocommerce-product-attributes-item__value {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
}
.grouped-product-attributes .woocommerce-product-attributes-item--attribute_pa_color .woocommerce-product-attributes-item__value p {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
}

/* Унифицированный стиль «чипсов» для всех значений атрибутов (включая Цвет) */
.product-features .woocommerce-product-attributes-item__value p > a,
.product-features .woocommerce-product-attributes-item__value p > span,
.product-features .woocommerce-product-attributes-item__value p > em,
.product-features .woocommerce-product-attributes-item__value p > strong,
.grouped-product-attributes .woocommerce-product-attributes-item__value p > a,
.grouped-product-attributes .woocommerce-product-attributes-item__value p > span,
.grouped-product-attributes .woocommerce-product-attributes-item__value p > em,
.grouped-product-attributes .woocommerce-product-attributes-item__value p > strong {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  background: rgba(10, 10, 10, 0.15);
  color: #fff;
  text-decoration: none;
  margin: 0 6px; /* горизонтальные отступы между значениями */
}

/* убран legacy-класс attr-value-gold; используется унифицированный стиль ниже */

/* Убрать рамку и фон у p внутри значений атрибутов в основной карточке */
.product-features .woocommerce-product-attributes-item__value p {
  display: inline;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit;
}

.woocommerce-tabs .shop_attributes th,
.woocommerce-tabs .shop_attributes td {
  padding: 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  text-align: left;
}

.woocommerce-tabs .shop_attributes th {
  font-weight: 600;
  color: var(--primary);
  width: 30%;
  background: rgba(212, 175, 55, 0.05);
}

.woocommerce-tabs .shop_attributes td {
  color: var(--foreground);
}

/* Reviews Tab */
.woocommerce-tabs .woocommerce-Reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.woocommerce-tabs .woocommerce-Reviews-title {
  grid-column: 1 / -1;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
}

.woocommerce-tabs .commentlist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-tabs .comment {
  background: rgba(42, 42, 42, 0.05);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--primary);
}

.woocommerce-tabs .comment .meta {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.woocommerce-tabs .comment .description {
  line-height: 1.6;
}

/* Review Form */
.woocommerce-tabs .comment-form {
  background: rgba(212, 175, 55, 0.05);
  border-radius: 0.5rem;
  padding: 2rem;
}

.woocommerce-tabs .comment-form h3 {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.woocommerce-tabs .comment-form p {
  margin-bottom: 1rem;
}

.woocommerce-tabs .comment-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.woocommerce-tabs .comment-form input,
.woocommerce-tabs .comment-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 0.375rem;
  background: var(--card);
  color: var(--foreground);
  font-family: var(--font-button);
  transition: border-color 0.3s ease;
}

.woocommerce-tabs .comment-form input:focus,
.woocommerce-tabs .comment-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.woocommerce-tabs .comment-form .stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.woocommerce-tabs .comment-form .stars a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.woocommerce-tabs .comment-form .stars a:hover,
.woocommerce-tabs .comment-form .stars a.active {
  color: var(--primary);
}

.woocommerce-tabs .comment-form .submit {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.375rem;
  font-family: var(--font-button);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.woocommerce-tabs .comment-form .submit:hover {
  background: rgba(212, 175, 55, 0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-tabs {
    padding: 2rem 0;
  }
  
  .product-tabs .container {
    padding: 0 1rem;
  }
  
  .woocommerce-tabs ul.tabs {
    flex-direction: column;
  }
  
  .woocommerce-tabs ul.tabs li a {
    padding: 1rem;
    font-size: 0.875rem;
  }
  
  .woocommerce-tabs .panel {
    padding: 1.5rem;
  }
  
  .woocommerce-tabs .woocommerce-Reviews {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .woocommerce-tabs .shop_attributes th,
  .woocommerce-tabs .shop_attributes td {
    padding: 0.75rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .woocommerce-tabs .panel {
    padding: 1rem;
  }
  
  .woocommerce-tabs ul.tabs li a {
    padding: 0.75rem;
    font-size: 0.8rem;
  }
}

/* === WooCommerce Add to Cart Button Styling === */
.single_add_to_cart_button.button.alt {
  background: #bfa15a !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0.375rem;
  padding: 1rem 2rem;
  font-family: var(--font-button);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  line-height: 1;
  min-height: 3rem;
}

.single_add_to_cart_button.button.alt:hover {
  background: rgba(191, 161, 90, 0.9) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(191, 161, 90, 0.3);
}

.single_add_to_cart_button.button.alt:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(191, 161, 90, 0.2);
}

.single_add_to_cart_button.button.alt:disabled {
  background: var(--muted-foreground) !important;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Адаптивность для кнопки корзины */
@media (max-width: 768px) {
  .single_add_to_cart_button.button.alt {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    min-height: 2.75rem;
  }
}

@media (max-width: 480px) {
  .single_add_to_cart_button.button.alt {
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
    min-height: 2.5rem;
  }
}

/* === Wishlist Button Styling === */
.product-wishlist-section {
  margin-top: 1rem;
}

.sw-add-to-wishlist {
  background: transparent !important;
  color: var(--primary) !important;
  border: 2px solid var(--primary) !important;
  border-radius: 0.375rem;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-button);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  line-height: 1;
  min-height: 2.75rem;
  position: relative;
  overflow: hidden;
}

.sw-add-to-wishlist:hover {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.sw-add-to-wishlist:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.sw-add-to-wishlist.added {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  border-color: var(--primary) !important;
}

.sw-add-to-wishlist.added .sw-wishlist-icon {
  color: var(--primary-foreground);
}

.sw-add-to-wishlist.sw-loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.sw-wishlist-icon {
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.sw-wishlist-text {
  font-weight: 500;
  letter-spacing: 0.025em;
}

/* Кнопка wishlist в карточках товаров */
.wishlist-btn.sw-add-to-wishlist {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9) !important;
  color: var(--primary) !important;
  border: 1px solid var(--primary) !important;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.wishlist-btn.sw-add-to-wishlist:hover {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  transform: scale(1.1);
}

.wishlist-btn.sw-add-to-wishlist.added {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
}

.wishlist-btn.sw-add-to-wishlist .sw-wishlist-icon {
  font-size: 1rem;
}

/* Адаптивность для кнопки wishlist */
@media (max-width: 768px) {
  .sw-add-to-wishlist {
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
    min-height: 2.5rem;
  }
  
  .wishlist-btn.sw-add-to-wishlist {
    width: 2.25rem;
    height: 2.25rem;
    top: 0.75rem;
    right: 0.75rem;
  }
}

@media (max-width: 480px) {
  .sw-add-to-wishlist {
    padding: 0.625rem 1rem;
    font-size: 0.75rem;
    min-height: 2.25rem;
  }
  
  .wishlist-btn.sw-add-to-wishlist {
    width: 2rem;
    height: 2rem;
    top: 0.5rem;
    right: 0.5rem;
  }
  
  .wishlist-btn.sw-add-to-wishlist .sw-wishlist-icon {
    font-size: 0.875rem;
  }
}

/* === Wishlist Button in Header === */
.header-btn.sw-wishlist-button {
  position: relative;
  transition: all 0.3s ease;
}

.header-btn.sw-wishlist-button:hover {
  color: var(--primary);
  transform: scale(1.05);
}

.header-btn.sw-wishlist-button .sw-wishlist-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-width: 18px;
  transition: all 0.3s ease;
}

/* Никогда не скрывать счётчик в хедере, даже если 0 */
.header-btn.sw-wishlist-button .sw-wishlist-count.sw-wishlist-count--always {
  display: flex !important;
}

.header-btn.sw-wishlist-button:hover .sw-wishlist-count {
  background: var(--primary-hover, #b8860b);
  transform: scale(1.1);
}

/* Анимация для кнопки wishlist в хедере */
@media (max-width: 768px) {
  .header-btn.sw-wishlist-button .sw-wishlist-count {
    width: 16px;
    height: 16px;
    font-size: 0.65rem;
    min-width: 16px;
  }
}


/* ====== shimmer keyframes reused ====== */
@keyframes shimmer { 
  0%{ background-position: 0% 50%; } 
  100%{ background-position: 200% 50%; } 
}


  /* Hide burger when overlay is open */
  .overlay.is-open ~ .burger,
  .burger.is-hidden{
    opacity:0;
    pointer-events:none;
    transform: scale(.9);
  }

/* ========== BURGER BUTTON ========== */
.burger{
  appearance:none;
  border:none;
  background: transparent;
  width:var(--icon-size);
  height:var(--icon-size);
  padding:0;
  /*position:fixed;
  top:20px;
  right:20px;*/
  z-index:50;
  cursor:pointer;
  display:grid;
  place-items:center;
  transition: opacity .25s ease, transform .25s ease;
}
.burger:focus-visible{ outline: 2px solid #bfa15e; outline-offset: 4px; }
.burger .lines{
  width: 74%;
  height: 54%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.burger .lines span{
  display:block;
  height:2px;
  border-radius:2px;
  background: var(--gold-gradient);
  transform-origin: center;
  transition: transform .35s ease, opacity .25s ease;
}
.burger:hover .lines span{
  background-image: var(--gold-gradient);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}

  /* ========== OVERLAY ========== */
  .overlay{
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    grid-template-rows: 1fr;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s step-end;
  }
  .overlay.is-open{
    opacity: 1;
    visibility: visible;
    transition: opacity .45s ease, visibility 0s step-start;
  }

  .overlay__backdrop{
    position:absolute;
    inset:0;
    /*background:
      radial-gradient(120% 110% at 50% 50%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.02) 30%, rgba(0,0,0,0.85) 68%, rgba(0,0,0,0.98) 100%),
      repeating-linear-gradient(25deg, rgba(255,255,255,0.02) 0 2px, rgba(0,0,0,0.02) 2px 8px),
      #000;
    filter: saturate(0.9) contrast(1.02);*/
    background: rgba(0, 0, 0, 1.0) url('../assets/img/orchid-pattern-light.svg') no-repeat center center; 
  }
  .overlay__backdrop::before,
  .overlay__backdrop::after{
    content:"";
    position:absolute;
    width: 38vmin;
    height: 38vmin;
    pointer-events:none;
    mask: radial-gradient(closest-side, #000 55%, transparent 56%) content-box;
    -webkit-mask: radial-gradient(closest-side, #000 55%, transparent 56%) content-box;
    padding: 8px;
    background: var(--gold-gradient);
    opacity:.6;
    filter: blur(.2px) drop-shadow(0 0 18px rgba(214,181,96,.08));
  }
  .overlay__backdrop::before{ top: 22px; left: 22px; border-top-left-radius: 100%; }
  .overlay__backdrop::after{ bottom: 22px; right: 22px; border-bottom-right-radius: 100%; transform: scaleX(-1); }

  .overlay__panel{
    position: relative;
    inset: 0;
    height: 100%;
    backdrop-filter: blur(8px) saturate(1.05);
    -webkit-backdrop-filter: blur(8px) saturate(1.05);
    border: 1px solid rgba(214,181,96,.18);
    box-shadow: 0 0 0 1.5px rgba(214,181,96,.06) inset, 0 10px 40px rgba(0,0,0,.6);
    border-radius: clamp(10px,1.8vw,16px);
    transform: translateY(12px);
    opacity:.0;
    transition: transform .45s ease, opacity .45s ease;
  }
  .overlay.is-open .overlay__panel{ transform: translateY(0); opacity:1; }

  /* ========== CLOSE BUTTON (X with gold lines) ========== */
  .overlay__close{
    --size: var(--icon-size);
    position:absolute;
    top: 16px; right: 16px;
    appearance:none; border:none; background:transparent;
    width: var(--size); height: var(--size);
    cursor:pointer;
    display:grid; place-items:center;
    padding:0;
  }
  .overlay__close:focus-visible{ outline:2px solid #bfa15e; outline-offset: 4px; }
  .overlay__close .x{
    position: relative;
    width: 70%;
    height: 70%;
  }
  .overlay__close .x::before,
  .overlay__close .x::after{
    content:"";
    position:absolute;
    left: 0; right: 0;
    top: 50%; transform: translateY(-50%) rotate(45deg);
    height: 2px;
    border-radius: 2px;
    background: var(--gold-gradient);
    transition: transform .35s ease;
    background-size: 200% 100%;
  }
  .overlay__close .x::after{
    transform: translateY(-50%) rotate(-45deg);
  }
  .overlay__close:hover .x::before,
  .overlay__close:hover .x::after{
    animation: shimmer 1.2s linear infinite;
  }

  /* ========== LEFT COLUMN (NAV) ========== */
  .brand{
    /*font-family: var(--brand-font);
    text-transform: uppercase;
    font-weight: 600;*/
    font-family: var(--font-logo) !important;
    font-weight: 100;
    font-size: 4.18rem;
    letter-spacing: 0.01em;
    /*letter-spacing: .12em;
    font-size: clamp(22px,2.6vw,34px);*/
    line-height:1;
    display:inline-block;
    padding-bottom: 12px;
    background-image: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 10px rgba(214,181,96,.10));
    text-shadow: 
      0 0 20px rgba(214,181,96,0.3),
      0 0 40px rgba(214,181,96,0.2),
      0 0 60px rgba(214,181,96,0.1);
  }

  .nav{
    margin-top: clamp(8px,1.2vw,12px);
    display:flex;
    flex-direction:column;
    gap: clamp(8px,1.2vw,12px);
    padding: clamp(10px,1.6vw,18px) 0;
    position:relative;
  }
  .nav::before{
    content:"";
    position:absolute;
    top:0; left:0;
    width: 220px; max-width: 55%;
    height: 1px;
    background: linear-gradient(90deg, rgba(214,181,96,.0), rgba(214,181,96,.38), rgba(214,181,96,.0));
  }

  .nav__item{
    font-family: var(--brand-font);
    text-transform: uppercase;
    letter-spacing: .18em;
    text-decoration:none;
    color: var(--ink);
    font-size: clamp(20px,2.0vw,24px);
    padding: 12px 0;
    position:relative;
    display:inline-flex;
    align-items:center;
    gap: 14px;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .nav__item .dot{
    width:9px; height:9px; border-radius:50%;
    background: radial-gradient(circle at 35% 35%, #fff 0 2px, rgba(245,225,163,.95) 2px, rgba(214,181,96,.25) 60%, rgba(214,181,96,0) 70%);
    opacity:.65;
    transition: transform .35s ease, opacity .25s ease;
    transform: translateY(1px);
  }
  .nav__item span{ transform: translateY(1px); }
  .nav__item::after{
    content:"";
    position:absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 1px;
    background: var(--gold-gradient);
    transition: width .35s ease;
  }
  .nav__item:hover::after{ width: 100%; }
  .nav__item:hover .dot{ transform: translateY(1px) scale(1.25); opacity:1; }

  /* Parent item (button) */
  .nav__parent{
    appearance:none; background:none; border:none;
    color: var(--ink);
    width: auto;
    cursor:pointer;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .nav__parent .chev{
    margin-left: 4px;
    width: 10px; height: 10px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg) translateY(-1px);
    transition: transform .3s ease;
    opacity:.85;
  }
  .nav__parent[aria-expanded="true"] .chev{
    transform: rotate(45deg) translateY(2px);
  }

  /* Submenu */
  .submenu{
    list-style:none;
    margin: 4px 0 6px 24px;
    padding: 0 0 0 12px;
    border-left: 1px solid rgba(214,181,96,.22);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, opacity .25s ease;
    opacity: 0;
  }
  .submenu.is-open{
    opacity: 1;
  }
  .submenu a{
    display:block;
    text-decoration:none;
    color: #dcd5c4;
    font-family: var(--ui-font);
    letter-spacing: .06em;
    text-transform:none;
    font-size: clamp(20px,1.6vw,22px);
    padding: 8px 0;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .submenu a:hover{ color: #f1e6bf; }

  .nav__note{
    color: var(--muted);
    font-size: clamp(12px,1.2vw,14px);
    margin-top: 8px;
    opacity:.9;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    max-width: 100%;
    overflow: hidden;
  }

  .contacts{
    display:flex; gap:18px; flex-wrap:wrap;
    margin-top: clamp(10px,1.6vw,18px);
    font-size: 14px;
    color: var(--muted);
  }
  .contacts a{ color: inherit; text-decoration:none; }
  .contacts a:hover{ color: #f1e6bf; }

  /* ========== RIGHT COLUMN (FEATURE) ========== */
  .teaser{
    align-self:stretch;
    display:grid;
    grid-template-rows: auto auto auto 1fr;
    gap: clamp(8px,1vw,12px);
  }
  .teaser__kicker{
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--muted);
    font-size: 12px;
    padding: 20px 0;
  }
  .teaser__title{
    font-family: var(--brand-font);
    text-transform: uppercase;
    letter-spacing:.12em;
    font-size: clamp(22px,3.4vw,40px);
    margin: 0;
    background-image: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .teaser__desc{ color: #d2cbb9; max-width: 58ch; padding: 20px 0;}

  .btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(214,181,96,.38);
    color: var(--ink);
    text-transform: uppercase;
    text-align: center;
    letter-spacing:.16em;
    font-size: 0.8em;
    background: linear-gradient(0deg, rgba(214,181,96,.10), rgba(214,181,96,.06));
    box-shadow: 0 0 0 1px rgba(214,181,96,.06) inset;
    transition: transform .15s ease, box-shadow .25s ease;
  }
  .btn:hover{
    box-shadow: 0 0 0 1px rgba(214,181,96,.28) inset, 0 6px 28px rgba(214,181,96,.12);
    transform: translateY(-1px);
  }

  .teaser__image{
    align-self:end;
    justify-self: end;
    width: min(46vw, 560px);
    aspect-ratio: 3 / 4;
    border-radius: clamp(12px,1.8vw,18px);
    padding: 1px;
    background: var(--gold-gradient);
    box-shadow: 0 14px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(214,181,96,.12) inset;
    position:relative;
    overflow:hidden;
  }
  .teaser__image::before{
    content:""; position:absolute; inset: 1px;
    border-radius: inherit;
    background:
      radial-gradient(120% 100% at 50% 0%, rgba(255,255,255,.08), rgba(0,0,0,.78)),
      radial-gradient(60% 60% at 50% 20%, rgba(255,255,255,.06) 0 40%, rgba(255,255,255,0) 41%),
      linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.7));
    filter: contrast(1.05);
  }
  .teaser__image::after{
    content:""; position:absolute; inset: 1px 1px auto 1px; height: 28%;
    border-top-left-radius: inherit; border-top-right-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,0));
    mix-blend-mode: screen; opacity:.35;
  }



  .left{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
  }

  @media (max-width: 960px){
    .overlay__panel{ padding: 22px; }
    .teaser__image{ width: 100%; }
  }

  /* === WordPress Menu Integration === */
  .main-nav .nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .main-nav .nav-menu .nav-item {
    position: relative;
  }

  .main-nav .nav-menu .nav-item .nav-link {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
  }

  .main-nav .nav-menu .nav-item .nav-link:hover {
    color: var(--primary);
  }

  .main-nav .nav-menu .nav-item .megamenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    min-width: 200px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
  }

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

  .main-nav .nav-menu .nav-item .megamenu a {
    display: block;
    color: var(--foreground);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
  }

  .main-nav .nav-menu .nav-item .megamenu a:hover {
    color: var(--primary);
  }

  /* Mobile menu styles */
@media (max-width: 768px) {
  .main-nav .nav-menu {
    display: none;
  }
}



/* === Адаптивная сетка для overlay === */
.overlay__panel {
  margin: 2rem;
  max-width: calc(100vw - 4rem);
  max-height: calc(100vh - 4rem);
  overflow: hidden;
}

/* Средний экран: 1281px - 1920px */
@media (min-width: 1281px) and (max-width: 1920px) {
  .overlay__panel {
    margin: 3rem;
    max-width: calc(100vw - 6rem);
    max-height: calc(100vh - 6rem);
  }
  
  .overlay__grid {
    gap: 4rem;
  }
  
  .overlay .left {
    padding: 4rem;
    white-space: nowrap;
  }
  
  .overlay .right {
    padding: 4rem;
  }
  
  .overlay .right .teaser {
    max-height: 1024px;
  }
  
  .overlay .right .teaser__content {
    padding: 4rem;
  }
  
  .brand {
    font-size: 4.18rem;
  }
  
  .overlay .left .nav__note {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    /*hyphens: auto;*/
    line-height: 1.4;
    max-width: 100%;
    font-size: clamp(13px, 1.3vw, 15px);
  }
}

/* Большой экран: > 1921px */
@media (min-width: 1921px) {
  .overlay__panel {
    margin: 4rem;
    max-width: calc(100vw - 8rem);
    max-height: calc(100vh - 8rem);
  }
  
  .overlay__grid {
    gap: 5rem;
  }
  
  .overlay .left {
    padding: 5rem;
    white-space: nowrap;
  }
  
  .overlay .right {
    padding: 5rem;
  }
  
  .overlay .right .teaser {
    max-height: 900px;
    max-width: 675px;
    margin: 0 auto;
  }
  
  .overlay .right .teaser__content {
    padding: 3rem;
  }
  
  .brand {
    font-size: 4.18rem;
  }
  
  .overlay .left .nav__note {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    /*hyphens: auto;*/
    line-height: 1.4;
    max-width: 100%;
    font-size: clamp(13px, 1.3vw, 15px);
  }
  
  .overlay .left .nav__item,
  .overlay .left .nav__parent,
  .overlay .left .submenu a {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    /*hyphens: auto;*/
    line-height: 1.3;
    max-width: 100%;
    font-size: clamp(22px, 2.2vw, 26px);
  }
}

/* Большой экран: > 1921px */
@media (min-width: 1921px) {
  .overlay__panel {
    margin: 5rem;
    max-width: calc(100vw - 10rem);
    max-height: calc(100vh - 10rem);
  }
  
  .overlay__grid {
    gap: 6rem;
  }
  
  .overlay .left {
    padding: 6rem;
    white-space: nowrap;
  }
  
  .overlay .right {
    padding: 6rem;
  }
  
  .overlay .right .teaser {
    max-height: 800px;
    max-width: 600px;
  }
  
  .overlay .right .teaser__content {
    padding: 2.5rem;
  }
  
  .brand {
    font-size: 4.18rem;
  }
  
  .overlay .left .nav__note {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    max-width: 100%;
    font-size: clamp(13px, 1.3vw, 15px);
  }
  
  .overlay .left .nav__item,
  .overlay .left .nav__parent,
  .overlay .left .submenu a {
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-size: clamp(22px, 2.2vw, 26px);
  }
}

.overlay__grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 3rem;
  height: 100%;
  max-height: calc(100vh - 4rem);
}

.overlay .left {
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable both-edges;
}

.overlay .left {
  padding: 5rem;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable both-edges;
  white-space: nowrap;
}

.overlay .left .nav__note {
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
  max-width: 100%;
}

.overlay .left .nav__item,
.overlay .left .nav__parent,
.overlay .left .submenu a {
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.overlay .right {
  padding: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 100%;
  overflow: hidden;
}

.overlay .right .teaser {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  max-height: 1024px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  margin: 0 auto;
}

.overlay .right .teaser__image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
}

.overlay .right .teaser__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
}

/* Кастомизация вертикального скролла для левой части */
.overlay .left::-webkit-scrollbar {
  width: 8px;
}

.overlay .left::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.overlay .left::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.4);
  border-radius: 4px;
}

.overlay .left::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.6);
}

.overlay .left {
  scrollbar-color: rgba(212, 175, 55, 0.4) rgba(255, 255, 255, 0.05);
  scrollbar-width: thin;
}

/* Малый экран: 1025px - 1280px */
@media (min-width: 1025px) and (max-width: 1280px) {
  .overlay__panel {
    margin: 1.5rem;
    max-width: calc(100vw - 3rem);
    max-height: calc(100vh - 3rem);
  }
  
  .overlay__grid {
    gap: 2rem;
  }
  
  .overlay .left {
    padding: 2.5rem;
    white-space: nowrap;
  }
  
  .overlay .right {
    padding: 2.5rem;
  }
  
  .overlay .right .teaser {
    transform: scale(0.9);
  }
  
  .brand {
    font-size: 3.76rem;
  }
  
  .overlay .left .nav__note {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    /*hyphens: auto;*/
    line-height: 1.4;
    max-width: 100%;
  }
  
  .overlay .left .nav__item,
  .overlay .left .nav__parent,
  .overlay .left .submenu a {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    /*hyphens: auto;*/
    line-height: 1.3;
    max-width: 100%;
  }
}

/* Планшетные устройства: 768px - 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
  .overlay__grid {
    gap: 1.5rem;
  }
  
  .overlay .left {
    padding: 2rem;
    white-space: nowrap;
  }
  
  .overlay .right {
    padding: 2rem;
  }
  
  .overlay .right .teaser {
    transform: scale(0.85);
  }
  
  .brand {
    font-size: 3.42rem;
  }
  
  .overlay .left .nav__note {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    max-width: 100%;
  }
  
  .overlay .left .nav__item,
  .overlay .left .nav__parent,
  .overlay .left .submenu a {
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
}

/* Мобильные устройства: < 768px */
@media (max-width: 767px) {
  .overlay__panel {
    margin: 1rem;
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    overflow-x: hidden;
  }
  
  .overlay__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    height: auto;
    max-height: none;
  }
  
  .overlay .left {
    padding: 1.5rem;
    max-height: none;
    overflow-y: visible;
    overflow-x: visible;
    -webkit-overflow-scrolling: auto;
    scrollbar-gutter: auto;
    white-space: normal;
  }
  
  .overlay .left::-webkit-scrollbar {
    display: none;
  }
  
  .overlay .left {
    scrollbar-width: none;
  }
  
  .overlay .right {
    padding: 1.5rem;
    order: 2;
  }
  
  .overlay .right .teaser {
    transform: scale(0.8);
  }
  
  .overlay .right .teaser__content {
    padding: 2rem;
  }
  
  .brand {
    font-size: 3.08rem;
  }
  
  .overlay .left .nav__note {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    max-width: 100%;
    font-size: clamp(11px, 1.1vw, 13px);
  }
  
  .overlay .left .nav__item,
  .overlay .left .nav__parent,
  .overlay .left .submenu a {
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-size: clamp(18px, 1.8vw, 20px);
  }
  
  /* Стилизация мобильного скролла */
  .overlay__panel::-webkit-scrollbar {
    width: 8px;
  }
  
  .overlay__panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
  }
  
  .overlay__panel::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.4);
    border-radius: 4px;
  }
  
  .overlay__panel::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.6);
  }
  
  .overlay__panel {
    scrollbar-color: rgba(212, 175, 55, 0.4) rgba(255, 255, 255, 0.05);
    scrollbar-width: thin;
  }
}

/* === Стили для информационного текста атрибута размера (индивидуальный пошив) === */
/* Применяем стили только на странице товара */
.product-details .size-custom-info {
  font-size: 0.9em !important;
  color: #666 !important;
  font-style: italic !important;
  line-height: 1.4 !important;
  padding: 8px 0 !important;
  margin: 0 !important;
}

/* Стили для строки таблицы с информационным текстом */
.product-details table.shop_attributes tr:has(.size-custom-info) {
  border-top: 1px solid rgba(191, 161, 90, 0.2) !important;
}

.product-details table.shop_attributes tr:has(.size-custom-info) td {
  padding: 8px 12px !important;
  background-color: rgba(191, 161, 90, 0.05) !important;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .product-details .size-custom-info {
    font-size: 0.85em !important;
    padding: 6px 0 !important;
  }
  
  .product-details table.shop_attributes tr:has(.size-custom-info) td {
    padding: 6px 8px !important;
  }
}

/* === Стили для блока консультации === */
.product-consultation {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(191, 161, 90, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 1px solid rgba(191, 161, 90, 0.2);
  border-radius: 0.5rem;
  text-align: center;
}

.product-consultation h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}

.product-consultation p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.consultation-btn {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 0.375rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-button);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.consultation-btn:hover {
  background: rgba(191, 161, 90, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(191, 161, 90, 0.3);
}

.consultation-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(191, 161, 90, 0.2);
}

.consultation-btn.sent {
  background: #10b981;
  cursor: default;
}

.consultation-btn.sent:hover {
  transform: none;
  box-shadow: none;
}

/* === Стили для попапа консультации === */
.consultation-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.consultation-popup.active {
  display: flex;
}

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

.consultation-popup-content {
  position: relative;
  background: var(--background);
  border-radius: 0.75rem;
  padding: 2rem;
  width: auto;
  min-width: 300px;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.consultation-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
}

.consultation-popup-close:hover {
  background: var(--muted);
  color: var(--foreground);
}

.consultation-popup-body h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  text-align: center;
  font-family: var(--font-heading);
}

.consultation-form {
  margin-top: 1rem;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .product-consultation {
    margin-top: 1.5rem;
    padding: 1.25rem;
  }
  
  .product-consultation h4 {
    font-size: 1.125rem;
  }
  
  .consultation-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
  }
  
  .consultation-popup {
    padding: 0.5rem;
  }
  
  .consultation-popup-content {
    padding: 1.5rem;
    min-width: 280px;
    max-width: calc(100vw - 1rem);
    max-height: calc(100vh - 1rem);
  }
  
  .consultation-popup-body h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .consultation-popup-content {
    padding: 1rem;
    min-width: 260px;
  }
  
  .consultation-popup-body h3 {
    font-size: 1.125rem;
  }
}

/* === Финальные исправления для мобильных устройств === */
/* 360px - 719px - Мобильные устройства */
@media (max-width: 719px) and (min-width: 360px) {
  .consultation-popup-content {
    padding: 0.8rem;
    min-width: 240px;
  }
  
  .consultation-popup-body h3 {
    font-size: 1rem;
  }
}

/* < 360px - Маленькие мобильные */
@media (max-width: 359px) {
  .consultation-popup-content {
    padding: 0.6rem;
    min-width: 220px;
  }
  
  .consultation-popup-body h3 {
    font-size: 0.9rem;
  }
}

/* === Глобальные исправления для предотвращения горизонтального скролла === */
/* 360px - 719px - Мобильные устройства */
@media (max-width: 719px) and (min-width: 360px) {
  body, html {
    /*overflow-x: hidden;*/
    width: 100%;
  }
  
  .container,
  .hero-slider,
  .category-banners,
  .advantages-section,
  .trends-section,
  .newsletter-section,
  .footer {
    /*overflow-x: hidden;*/
    width: 100%;
    max-width: 100vw;
  }
}

/* < 360px - Маленькие мобильные */
@media (max-width: 359px) {
  body, html {
    overflow-x: hidden;
    width: 100%;
  }
  
  .container,
  .hero-slider,
  .category-banners,
  .advantages-section,
  .trends-section,
  .newsletter-section,
  .footer {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
}