/* --- БАЗОВЫЕ ОБНУЛЕНИЯ И ПЕРЕМЕННЫЕ --- */
html {
    scroll-behavior: smooth;
}

:root {
    /* Основные цвета */
    --gold: #c5a880; 
    --gold-hover: #b09168;
    --text-dark: #1A1A1A;       /* Основной темно-серый текст */
    --text-muted-dark: #666666; /* Второстепенный текст */
    --bg-dark: #120B06;         /* Темный фон для Hero / Футера */
    
    /* Фоны для чередования секций */
    --bg-white: #FFFFFF;        /* Чистый белый */
    --bg-header: #FFFFFF;       /* Белая шапка */
    --bg-light-gray: #F9F6F0;   /* Тёплый премиальный беж / Слоновая кость */

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --- СТИЛИ ДЛЯ SVG-ИКОНОК --- */
.svg-icon {
    width: 20px;
    height: 20px;
    display: block;
    transition: stroke 0.3s ease, color 0.3s ease;
}

.svg-icon-arrow {
    width: 12px;
    height: 12px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.svg-icon-lg {
    width: 32px;
    height: 32px;
    color: var(--gold);
}

.svg-star {
    width: 14px;
    height: 14px;
    color: var(--gold);
}

/* --- 0. ANNOUNCEMENT BAR --- */
.announcement-bar {
    background-color: #0b0704;
    color: rgba(255, 255, 255, 0.75);
    font-size: 9px;
    letter-spacing: 2px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.announcement-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    overflow-x: auto;
}

.announcement-content .dot {
    color: var(--gold);
    font-size: 8px;
}

/* --- 1. ШАПКА САЙТА --- */
.header {
    position: relative;
    width: 100%;
    background-color: var(--bg-header);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 18px 0;
    z-index: 100;
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.header-left {
    justify-content: flex-start;
}

.header-right {
    justify-content: flex-end;
}

.logo {
    text-align: center;
    flex: 0 0 auto;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: color 0.3s ease;
}

.icon-btn:hover {
    color: var(--gold);
}

.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background-color: var(--gold);
    color: #ffffff;
    font-size: 9px;
    font-weight: 600;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-main {
    display: block;
    font-family: var(--font-serif);
    font-size: 22px;
    letter-spacing: 5px;
    color: var(--text-dark);
    text-align: center;
}

.logo-sub {
    display: block;
    font-size: 8px;
    letter-spacing: 5px;
    color: var(--text-muted-dark);
    text-align: center;
    margin-top: 2px;
}

/* --- 2. HERO SECTION SLIDER --- */
.hero-wrapper-outer {
    width: 100%;
    background-color: var(--bg-dark);
    padding: 0;
    position: relative;
}

.hero-section {
    position: relative;
    width: 100%;
    min-height: 520px;
    cursor: grab;
}

.hero-section:active {
    cursor: grabbing;
}

.hero-slide {
    width: 100%;
    min-height: 520px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
}

.hero-content {
    padding: 80px 0 60px 0;
    text-align: left;
    position: relative;
    z-index: 10;
}

.hero-subtitle {
    font-size: 9px;
    letter-spacing: 2.5px;
    color: var(--gold);
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 34px;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-title em {
    font-style: italic;
    color: #ffffff;
}

.hero-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin-bottom: 30px;
    max-width: 300px;
}

.btn-primary {
    display: inline-block;
    border: 1px solid var(--gold);
    padding: 12px 28px;
    font-size: 10px;
    letter-spacing: 2px;
    color: #ffffff;
    background: rgba(18, 11, 6, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
}

.hero-pagination {
    bottom: 25px !important;
}

.hero-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ffffff;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--gold);
    width: 24px;
    border-radius: 4px;
}

/* --- ТЁМНАЯ ПОЛОСА НАВИГАЦИИ --- */
.section-nav-bar {
    background: linear-gradient(
      90deg,
      #421C01 0%,
      #573105 10%,
      #744C28 20%,
      #8B613B 30%,
      #9D724A 40%,
      #A67C54 50%,
      #9D734B 60%,
      #8C623C 70%,
      #79502D 80%,
      #5E3711 90%,
      #472000 100%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);
    width: 100%;
    padding: 14px 0;
}

.section-nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    list-style: none;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 0 10px;
}

.section-nav-list::-webkit-scrollbar {
    display: none;
}

.section-nav-list a {
    color: white;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.section-nav-list a:hover {
    color: var(--gold);
}

/* ==========================================================================
   E-COMMERCE BODY (СВЕТЛЫЙ СТИЛЬ С НОВЫМ ПОРЯДКОМ ЧЕРЕДОВАНИЯ ФОНОВ)
   ========================================================================== */

/* ОБЩИЕ СТИЛИ ДЛЯ ЗАГОЛОВКОВ СЕКЦИЙ */
.section-title-wrap {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--gold);
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.section-title-center {
    font-family: var(--font-serif);
    font-size: 28px;
    letter-spacing: 2px;
    font-weight: 400;
    color: var(--text-dark);
}

/* 1. КАТЕГОРИИ (ФОН: БЕЖЕВЫЙ) */
.categories-section {
    padding: 50px 0;
    background-color: var(--bg-light-gray);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;
}

.category-card {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: block;
    border-radius: 2px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.category-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

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

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 1;
}

.category-info {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 2;
}

.category-info h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    letter-spacing: 2px;
    font-weight: 400;
    margin-bottom: 5px;
    color: #ffffff;
}

.discover-link {
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--gold);
    display: flex;
    align-items: center;
    font-weight: 500;
}

.category-card:hover .discover-link .svg-icon-arrow,
.view-all:hover .svg-icon-arrow,
.btn-secondary:hover .svg-icon-arrow {
    transform: translateX(4px);
}

/* 2. ВИТРИНА ТОВАРОВ (ФОН: БЕЛЫЙ) */
.products-section {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.section-tabs-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-bottom: 15px;
    margin-bottom: 35px;
}

.tabs {
    display: flex;
    gap: 25px;
}

.tab-btn {
    background: none;
    border: none;
    font-family: var(--font-serif);
    font-size: 22px;
    letter-spacing: 2px;
    color: var(--text-muted-dark);
    cursor: pointer;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn.active, .tab-btn:hover {
    color: var(--text-dark);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
}

.view-all {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--gold);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.product-mini-card {
    background-color: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    width: 180px;
}

.product-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.prod-img-wrap {
    position: relative;
    background-color: #f3f3f3;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

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

.badge-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--gold);
    color: var(--bg-dark);
    font-size: 9px;
    font-weight: 600;
    padding: 3px 8px;
    z-index: 2;
    letter-spacing: 1px;
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    padding: 7px;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wishlist-btn:hover {
    color: var(--gold);
    background: #ffffff;
}

.prod-meta {
    padding: 16px;
}

.prod-meta h4 {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prod-meta-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
}

.btn-quick-add {
    background: none;
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-quick-add:hover {
    background-color: var(--gold);
    color: var(--bg-dark);
    border-color: var(--gold);
}

/* 3. TAKE MOMENTS / GIFT GUIDE (ФОН: БЕЖЕВЫЙ) */
.moments-section {
    padding: 70px 0;
    background-color: var(--bg-light-gray);
    border-top: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.moments-zigzag {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.moment-row {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    overflow: hidden;
}

.moment-media {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.moment-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.moment-row:hover .moment-media img {
    transform: scale(1.05);
}

.moment-details {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.moment-tag {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.moment-details h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    letter-spacing: 2px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 500;
}

.moment-details p {
    font-size: 13px;
    color: var(--text-muted-dark);
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.btn-secondary:hover {
    color: var(--gold);
}

/* 4. PHILOSOPHY & VIDEO (ФОН: БЕЛЫЙ) */
.story-section {
    padding: 75px 0;
    background-color: var(--bg-white);
}

.story-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
    align-items: center;
}

.story-text-col h2 {
    font-family: var(--font-serif);
    font-size: 30px;
    margin: 10px 0 15px 0;
    font-weight: 400;
    color: var(--text-dark);
}

.story-text-col p {
    color: var(--text-muted-dark);
    font-size: 14px;
    line-height: 1.8;
}

.video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--gold);
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.play-btn:hover {
    transform: scale(1.1);
    background: var(--gold);
    color: #ffffff;
}

.play-icon {
    width: 22px;
    height: 22px;
    margin-left: 3px;
}

/* 5. REVIEWS / OUR CLIENTS (ФОН: БЕЖЕВЫЙ) */
.reviews-section {
    padding: 70px 0;
    background-color: var(--bg-light-gray);
    border-top: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.review-card {
    background-color: var(--bg-white);
    padding: 35px 25px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 13.5px;
    line-height: 1.7;
}

.review-author {
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 1.5px;
    font-weight: 600;
    text-transform: uppercase;
}

/* 6. НАШИ ПРЕИМУЩЕСТВА (ФОН: БЕЛЫЙ) */
.benefits-section {
    padding: 55px 0;
    background-color: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-icon {
    margin-bottom: 14px;
}

.benefit-item h5 {
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.benefit-item p {
    font-size: 12px;
    color: var(--text-muted-dark);
}

/* 7. NEWSLETTER OFFER (ФОН: БЕЖЕВЫЙ) */
.newsletter-section {
    padding: 60px 0 80px 0;
    background-color: var(--bg-light-gray);
    border-top: 1px solid rgba(0,0,0,0.04);
}

.newsletter-box {
    background-color: var(--bg-white);
    border: 1px solid rgba(197, 168, 128, 0.25);
    padding: 45px 25px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.newsletter-box h2 {
    font-family: var(--font-serif);
    font-size: 26px;
    letter-spacing: 2px;
    margin: 10px 0;
    font-weight: 400;
    color: var(--text-dark);
}

.newsletter-box p {
    color: var(--text-muted-dark);
    font-size: 13px;
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 450px;
    margin: 0 auto;
}

.newsletter-form input {
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 12px;
    outline: none;
    transition: border 0.3s ease;
}

.newsletter-form input::placeholder {
    color: #999999;
}

.newsletter-form input:focus {
    border-color: var(--gold);
}

.newsletter-form .btn-primary {
    background: var(--bg-dark);
    color: #ffffff;
    border-color: var(--bg-dark);
}

.newsletter-form .btn-primary:hover {
    background: var(--gold);
    color: var(--bg-dark);
    border-color: var(--gold);
}

/* ==========================================================================
   ФУТЕР И СЕРВИСНЫЕ ССЫЛКИ
   ========================================================================== */
.footer {
    background-color: var(--bg-dark);
    padding: 65px 0 35px 0;
    font-size: 12px;
    color: white;
}

.footer .logo-main {
    color: #C5A880;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
    margin-bottom: 45px;
}

.footer-col h4 {
    font-family: var(--font-serif);
    color: #C5A880;
    font-size: 15px;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    font-weight: 400;
}

.footer-desc {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.6;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: white;
}

.footer-col ul li a:hover,
.social-links a:hover {
    color: var(--gold);
}

.contact-item {
    margin-bottom: 10px;
    color: white;
}

.social-links {
    display: flex;
    gap: 18px;
}

.social-links a {
    color: var(--text-muted-light);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted-light);
}

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

/* CATEGORY-HERO pазовые стили секции */
.category-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-media {
    width: 100%;
    height: 100%;
}

.hero-media-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* По умолчанию для ПК показываем десктоп, скрываем мобильный */
.desktop-media {
    display: block;
    /*height: 400px;  Высота баннера на ПК */
}

.mobile-media {
    display: none;
}

/*  PRODUCT DETAIL PAGE (Карточка товара) */
   ========================================================================== */
.product-page-section {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.product-single-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* ==========================================================================
   МЕДИА-ЗАПРОСЫ ДЛЯ DESKTOP (ОТ 768px)
   ========================================================================== */

@media (min-width: 768px) {
    body {
        font-size: 15px;
    }

    .header {
        padding: 22px 0;
    }
    .logo-main { font-size: 32px; letter-spacing: 6px; }
    .logo-sub { font-size: 9px; letter-spacing: 7px; }
    
    .hero-section, .hero-slide {
        min-height: 580px;
    }
    
    .hero-content {
        padding: 100px 0 80px 20px;
        max-width: 520px;
    }
    
    .hero-title {
        font-size: 54px;
    }
    
    .hero-text {
        font-size: 15px;
        max-width: 380px;
    }

    .section-nav-list {
        gap: 45px;
    }

    .section-nav-list a {
        font-size: 11px;
        letter-spacing: 2.5px;
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .category-card {
        height: 440px;
    }

    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .section-tabs-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .moments-zigzag {
        gap: 35px;
    }

    .moment-row {
        flex-direction: row;
        min-height: 260px; 
        max-height: 280px;
    }

    .moment-row:nth-child(even) {
        flex-direction: row-reverse;
    }

    .moment-media {
        width: 45%;
        height: 100%;
    }

    .moment-details {
        width: 55%;
        padding: 30px 45px;
    }

    .moment-details h3 {
        font-size: 28px;
    }

    .moment-details p {
        font-size: 13.5px;
        margin-bottom: 20px;
    }

    .story-wrap {
        grid-template-columns: 1fr 1fr;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .newsletter-form input {
        flex-grow: 1;
    }

    .footer-top-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .desktop-media {
        display: none; /* Скрываем горизонтальный баннер */
    }
    
    .mobile-media {
        display: block;
        height: 550px; /* Высота вертикального TikTok-формата на телефоне (можно регулировать под себя) */
    }
    /* Вырубаем любые десктопные хвосты и задаем чистый тикток-формат */
    section.category-hero {
        width: 100% !important;
        height: 80vh !important; /* Можешь поставить хоть 600px */
        max-height: 650px !important;
    }

    section.category-hero .mobile-media {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }

    section.category-hero .mobile-media img,
    section.category-hero .mobile-media video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .product-mini-card {

        width: 100%;


    }

    .product-single-layout {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: start;
    }

    .video-container {
        max-width: 850px; /* Широкий горизонтальный формат на ПК */
        aspect-ratio: 16 / 9; 
    }

}

/* Галерея товара */
.product-gallery {
    position: relative;
    padding-bottom:15px;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--bg-light-gray);
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

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

.product-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.product-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.product-thumb.active, 
.product-thumb:hover {
    opacity: 1;
    border-color: var(--gold);
}

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

/* Информация о товаре */
.product-details-info .product-subtitle-tag {
    font-size: 9px;
    letter-spacing: 2.5px;
    color: var(--gold);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.product-details-info h1 {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.product-details-info .price-block {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.product-description {
    color: var(--text-muted-dark);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 25px;
}

/* Выбор опций (размер) */
.product-options {
    margin-bottom: 25px;
}

.option-label {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.option-label a {
    color: var(--gold);
    text-decoration: underline;
}

.size-buttons {
    display: flex;
    gap: 10px;
}

.size-btn {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 10px 16px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-btn.active, 
.size-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    font-weight: 600;
}

/* Кнопка купить */
.purchase-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-add-to-cart {
    flex-grow: 1;
    background-color: var(--bg-dark);
    color: #ffffff;
    border: 1px solid var(--bg-dark);
    padding: 15px 25px;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-add-to-cart:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--bg-dark);
}

.wishlist-btn-product {
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0;
    padding: 14px 18px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wishlist-btn-product:hover {
    border-color: var(--gold);
}

/* Характеристики */
.product-meta-specs {
    background-color: var(--bg-light-gray);
    padding: 20px;
    font-size: 12.5px;
    color: var(--text-muted-dark);
}

.product-meta-specs ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-meta-specs li strong {
    color: var(--text-dark);
}

/* --- СТИЛИ ДЛЯ КАРУСЕЛИ ТОВАРОВ (ПК + МОБ) --- */
.products-swiper {
    width: 100%;
    padding-bottom: 45px !important;
    position: relative;
}

.products-swiper .swiper-slide {
    height: auto;
}

.products-pagination {
    bottom: 0 !important;
}

.products-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #120B06;
    opacity: 0.2;
    transition: all 0.3s ease;
}

.products-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: #C5A059;
    width: 20px;
    border-radius: 4px;
}

/* Возвращаем нормальный контейнер */
.container {
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
 
}


/* ==========================================================================
   STORE CONTROL BAR (Темная панель под шапкой)
   ========================================================================== */
.store-control-bar {
    background-color: var(--bg-dark);
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 1.5px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.control-bar-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Хлебные крошки */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #999999;
}

.breadcrumb-nav a {
    color: #999999;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #ffffff;
}

.breadcrumb-nav .separator {
    color: var(--gold);
}

.breadcrumb-nav .current {
    color: #ffffff;
    font-weight: 500;
}

/* Кнопка фильтра/сортировки справа */
.filter-trigger-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 1.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.filter-trigger-btn:hover {
    color: var(--gold);
}

.svg-icon-small {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}


/* Контейнер гифки (адаптивный под мобилки и ПК) */
.video-container {
    position: relative;
    width: 100%;
    max-width: 400px; /* На телефонах вертикальный формат */
    margin: 0 auto;
    aspect-ratio: 9 / 16; 
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

/* Сама гифка-видео */
.brand-gif-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.common-filters-bar {
    margin-bottom: 25px;
}
.filters-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.filter-select-group select {
    padding: 8px 32px 8px 14px;
    font-size: 13px;
    font-family: inherit;
    color: #333;
    background-color: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}
.filter-select-group select:hover,
.filter-select-group select:focus {
    border-color: #111;
}
.btn-reset-filters {
    font-size: 13px;
    color: #888;
    text-decoration: underline;
    padding: 8px 4px;
    transition: color 0.2s ease;
}
.btn-reset-filters:hover {
    color: #111;
}

/* ==========================================================================
   ПОЛНОЕ ОФОРМЛЕНИЕ СТРАНИЦЫ ТОВАРА И МОДАЛЬНОГО ОКНА (PRODUCT.PHP)
   ========================================================================== */

/* Модальное окно для Гида по размерам */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active {
    display: flex;
}
.modal-content {
    background: #fff;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    border-radius: 8px;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 24px;
    cursor: pointer;
    border: none;
    background: none;
}
.size-modal-title {
    font-family: var(--font-serif);
    font-size: 24px;
    margin-bottom: 10px;
}
.size-modal-desc {
    font-size: 14px;
    color: var(--text-muted-dark);
    line-height: 1.5;
}
.size-guide-table {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}
.size-guide-table thead tr {
    border-bottom: 2px solid #ccc;
}
.size-guide-table th, 
.size-guide-table td {
    padding: 8px;
}
.size-guide-table tbody tr {
    border-bottom: 1px solid #eee;
}

/* Блок цены товара */
.product-details-info .price-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.final-price-text {
    font-size: 24px;
    font-weight: 600;
    color: #111;
}
.old-price-text {
    text-decoration: line-through;
    color: #888;
    font-size: 18px;
}

/* Блок похожих товаров */
.related-products-section {
    padding: 60px 0;
    background: #fafafa;
    border-top: 1px solid #eee;
}
.related-title {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}
.related-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: transform 0.3s ease;
}
.related-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.related-card-image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f5f5f5;
}
.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-card-info {
    padding: 15px;
    text-align: center;
}
.related-badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #c5a059;
    display: block;
    margin-bottom: 5px;
}
.related-card-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 10px 0;
    line-height: 1.3;
}
.related-card-price {
    font-weight: 600;
    font-size: 16px;
    color: #111;
}

/* Жестко глушим горизонтальный скролл на уровне всего документа, если что-то всё же выпирает */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}