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

:root {
    --gold: #c5a880; 
    --gold-hover: #b09168;
    --text-dark: #1A1A1A;
    --text-muted-dark: #666666;
    --bg-dark: #120B06;
    --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;
}

html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.6;
    padding-top: 101px; /* Базовый отступ только для шапки и инфо-бара на мобилках */
}

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

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

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

/* --- СТИЛИ ДЛЯ 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.85);
    font-size: 9px;
    letter-spacing: 2px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 25s linear infinite;
}

/* Остановка анимации при наведении мышкой */
.announcement-bar:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 20px;
}

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

/* Анимация движения влево */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* --- 1. ШАПКА САЙТА (ПОД АНОНС-БАРОМ) --- */
.header {
    position: fixed;
    top: 17px; /* Высота анонс-бара (примерно 33px), чтобы шапка встала ровно под ним */
    left: 0;
    width: 100%;
    background-color: var(--bg-header);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 16px 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.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;
}

/* --- ПРЕМИАЛЬНЫЙ ТОСТ-УВЕДОМЛЕНИЕ (АДАПТИВНЫЙ ДЛЯ ПК И МОБИЛЬНЫХ) --- */
#toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    left: 20px;
    max-width: 380px;
    margin-left: auto;
    z-index: 99999;
    background: #120B06;
    color: #ffffff;
    border: 1px solid var(--gold);
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    pointer-events: none;
}

@media (min-width: 768px) {
    #toast-notification {
        left: auto;
        right: 30px;
        top: 30px;
    }
}

#toast-notification.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-icon {
    color: var(--gold);
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1;
}

.toast-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.toast-title {
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}

.toast-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.95);
    font-family: var(--font-sans);
    line-height: 1.4;
}

.toast-link {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-decoration: underline;
    margin-top: 6px;
    display: inline-block;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* --- 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;
}

.category-grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 50px;
    align-items: stretch;
}

.product-mini-card {
    background-color: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    width: 100% !important;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.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;
    display: block;
    width: 100%;
}

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

.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: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.prod-meta h4 {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.6em;
}

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

.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: 250px;
    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 {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 9 / 16; 
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.brand-gif-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 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);
}

/* --- ХЛЕБНЫЕ КРОШКИ / STORE CONTROL BAR (ПРИКЛЕЕНЫ ПОД ШАПКОЙ) --- */
.store-control-bar {
    background-color: var(--bg-dark);
    color: #ffffff;
    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);
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    z-index: 10;
    padding: 0;
}

.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;
}

/* ==========================================================================
   ПОЛНОЕ ОФОРМЛЕНИЕ СТРАНИЦЫ ТОВАРА (PRODUCT.PHP)
   ========================================================================== */
.product-page-section {
    padding: 60px 0;
    background-color: var(--bg-white);
}

/* СЕТКА СТРАНИЦЫ ТОВАРА */
.product-single-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    width: 100%;
}

.product-gallery {
    position: relative;
    padding-bottom: 15px;
    width: 100%;
    min-width: 0;
}

.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,
.product-main-image video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.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 {
    width: 100%;
    min-width: 0;
}

.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 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

/* ВАРИАНТЫ ЦВЕТА СЕРЕБРЯНЫХ ИЗДЕЛИЙ */
.variant-colors-wrapper {
    margin-bottom: 25px;
}

.variant-colors-title {
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--text-dark);
}

.variant-colors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-variant-btn {
    width: 52px !important;
    height: 52px !important;
    border: 1px solid #ddd;
    border-radius: 50% !important;
    overflow: hidden;
    display: inline-block !important;
    position: relative;
    transition: all 0.2s ease;
    background: #fff;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.color-variant-btn img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

.color-variant-btn.active {
    border: 2px solid var(--gold);
    box-shadow: 0 0 6px rgba(197, 168, 128, 0.6);
}

.color-variant-btn:hover {
    border-color: #111;
}

/* ОПЦИИ И РАЗМЕРЫ */
.option-group-wrapper {
    margin-bottom: 20px;
}

.option-group-title {
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--text-dark);
}

.option-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

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

.btn-add-to-cart {
    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);
}

.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.product-mini-card {
    width: 240px !important;
    flex-shrink: 0;
}

.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;
}

/* ==========================================================================
   АДАПТИВНОСТЬ СТРАНИЦЫ КОРЗИНЫ (CART.PHP)
   ========================================================================== */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.cart-item-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
    align-items: center;
}

@media (max-width: 991px) {
    .cart-layout {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

@media (max-width: 767px) {
    .product-single-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .products-swiper .swiper-slide.product-mini-card {
        width: 170px !important;
    }

    .cart-item-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 15px !important;
        gap: 15px !important;
    }

    .cart-item-card > div:last-child {
        width: 100% !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-top: 1px solid rgba(0,0,0,0.06);
        padding-top: 12px;
    }

    .cart-summary-box {
        padding: 20px !important;
    }
}

/* ==========================================================================
   МЕДИА-ЗАПРОСЫ ДЛЯ DESKTOP (ОТ 768px и выше)
   ========================================================================== */
@media (min-width: 768px) {
    body {
        font-size: 15px;
        padding-top: 145px; /* Твои расчетные 36px отступа на ПК */
    }

    .header {
        padding: 22px 0;
    }

    /* На ПК фиксируем хлебные крошки под шапкой */
    .store-control-bar {
        position: fixed;
        top: 130px; /* Высота инфо-бара (~29px) + высота десктопной шапки (~79px) */
        left: 0;
        z-index: 999;
        padding: 0px 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;
    }

    .category-grid-layout {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }

    .benefits-grid {
        grid-template-columns: repeat(5, 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: 280px;
        max-height: 320px;
    }

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

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

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

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

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

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

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

    .video-container {
        max-width: 850px;
        aspect-ratio: 16 / 9; 
    }
}

/* ==========================================================================
   АДАПТИВНОСТЬ СТРАНИЦЫ ОФОРМЛЕНИЯ (CHECKOUT.PHP)
   ========================================================================== */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 991px) {
    .checkout-layout {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

@media (max-width: 767px) {
    .checkout-form-grid {
        grid-template-columns: 1fr !important;
    }

    .checkout-layout > div {
        padding: 20px 15px !important;
    }
}

/* --- ЭФФЕКТ ПЛАВНОГО ПОЯВЛЕНИЯ ПРИ СКРОЛЛЕ (SCROLL REVEAL) --- */
.reveal-block {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-block.active {
    opacity: 1;
    transform: translateY(0);
}

/* Разные задержки для догоняющего эффекта (stagger effect) */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ==========================================================================
   ВЫДВИЖНАЯ ШТОРКА (BOTTOM SHEET DRAWER) ДЛЯ ВЫБОРА РАЗМЕРА ЗОЛОТЫХ КОЛЕЦ
   ========================================================================== */

/* Кнопка открытия выбора размера */
.gold-size-selector-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.18);
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-dark);
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.gold-size-selector-btn:hover {
    border-color: var(--gold);
}

.gold-size-selector-btn.has-value {
    border-color: var(--gold);
    background-color: #faf7f2;
    font-weight: 500;
}

.gold-size-arrow {
    font-size: 10px;
    color: #888;
    transition: transform 0.3s ease;
}

.gold-size-selector-btn:hover .gold-size-arrow {
    color: var(--gold);
}

/* Оверлей фоновый */
.gold-size-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gold-size-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Выдвижная панель */
.gold-size-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 80vh;
    background: #ffffff;
    z-index: 100001;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.gold-size-drawer.active {
    transform: translateY(0);
}

.gold-size-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #fcfcfc;
}

.gold-size-drawer-title {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 500;
}

.gold-size-drawer-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #888;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s ease;
}

.gold-size-drawer-close:hover {
    color: var(--text-dark);
}

.gold-size-drawer-body {
    padding: 10px 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.gold-size-option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.gold-size-option-row:last-child {
    border-bottom: none;
}

.gold-size-option-row:hover,
.gold-size-option-row.selected {
    background-color: #f7f3ec;
}

.gold-size-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gold-size-main .eu-badge {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
}

.gold-size-main .us-badge {
    font-weight: 500;
    font-size: 13px;
    color: #444;
    background: #eee;
    padding: 2px 8px;
    border-radius: 3px;
}

.gold-size-sub {
    font-size: 12px;
    color: #888888;
    font-weight: 400;
}

/* На десктопе шторка превращается в элегантное модальное окно по центру */
@media (min-width: 768px) {
    .gold-size-drawer {
        left: 50%;
        top: 50%;
        bottom: auto;
        transform: translate(-50%, -40%) scale(0.95);
        max-width: 460px;
        border-radius: 8px;
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    }

    .gold-size-drawer.active {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        visibility: visible;
    }
}