/* ============================
   CSS Variables & Reset
   ============================ */
:root {
    /* Луксозна цветова палитра */
    --primary-gold: #D4AF37;
    --primary-dark: #1a1a1a;
    --primary-light: #f8f8f8;
    --accent-purple: #6B46C1;
    --accent-coral: #FF6B6B;
    --accent-teal: #4ECDC4;
    --text-dark: #2d2d2d;
    --text-light: #ffffff;
    --text-gray: #666666;
    
    /* Типография */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --primary-dark: #f8f8f8;
    --primary-light: #1a1a1a;
    --text-dark: #f0f0f0;
    --text-light: #1a1a1a;
    --text-gray: #b0b0b0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* ============================
   Container & Utilities
   ============================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.highlight {
    background: linear-gradient(120deg, var(--primary-gold) 0%, var(--accent-coral) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================
   Header & Navigation
   ============================ */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    margin: 5px;
    padding: 0 40px;
}

.logo a {
    display: flex;
    align-items: center;
    height: 60px;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.logo-desktop {
    display: block;
}

.logo-mobile {
    display: none;
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary-gold);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition-fast);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(30, 30, 30, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(198, 161, 103, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 260px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10000;
    margin-top: 0.8rem;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: rgba(198, 161, 103, 0.2);
    border-left-color: var(--primary-gold);
    color: white;
    padding-left: 1.8rem;
}

.dropdown-menu .view-all {
    font-weight: 600;
    color: var(--primary-gold);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

/* Navigation Buttons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav .btn-primary,
.nav .btn-secondary {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 6px;
    white-space: nowrap;
}

.nav #wishlist-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.875rem;
    background: transparent;
    border: none;
    color: var(--text-light);
}

.nav #wishlist-btn:hover {
    transform: scale(1.1);
}

.nav .wishlist-counter,
.nav .cart-counter {
    font-size: 0.7rem;
    padding: 2px 5px;
    min-width: 16px;
}

/* Cart Button */
.nav #cart-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.875rem;
    background: transparent;
    border: none;
    color: var(--text-light);
    position: relative;
    transition: var(--transition-fast);
}

.nav #cart-btn:hover {
    transform: scale(1.1);
}

/* ============================
   Mobile Hamburger Menu
   ============================ */

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation when Open */
.hamburger.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile Menu Container */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100%;
    background: var(--primary-dark);
    z-index: 1000;
    padding: 6rem 2rem 2rem;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.mobile-menu.active {
    right: 0;
    pointer-events: auto;
}

/* Mobile Menu Items */
.mobile-menu-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-menu-items a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1.1rem;
    padding: 1.2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-items a:hover {
    background: rgba(212, 175, 55, 0.1);
    padding-left: 1.5rem;
    color: var(--primary-gold);
}

.mobile-menu-items a.active {
    color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.15);
}

/* Mobile Menu Actions */
.mobile-menu-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
}

.mobile-menu-actions .btn-primary,
.mobile-menu-actions .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    margin-top: 3rem;
    padding: 1.5rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.mobile-menu-footer p {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.mobile-menu-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.mobile-menu-social a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-social a:hover {
    color: var(--primary-gold);
}

/* ============================
   Buttons
   ============================ */
.btn-primary,
.btn-secondary,
.btn-small {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-coral) 100%);
    color: var(--text-light);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
}

/* ============================
   Hero Section
   ============================ */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(107, 70, 193, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    display: block;
    font-size: 1.1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scroll-indicator span {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.scroll-arrow {
    font-size: 1.5rem;
}

/* ============================
   New Arrivals Section
   ============================ */
.new-arrivals-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}

.new-arrivals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.new-arrival-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.10);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.new-arrival-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.new-arrival-card .product-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.new-arrival-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease-out;
}

.new-arrival-card:hover .product-image img {
    transform: scale(1.08);
}

.new-arrival-card .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-gold);
    color: white;
    padding: 0.45rem 0.95rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.new-arrival-card .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.new-arrival-card:hover .product-overlay {
    opacity: 1;
}

.new-arrival-card .btn-quick-view {
    padding: 0.85rem 2.2rem;
    background: var(--primary-gold);
    color: white;
    text-decoration: none;
    border-radius: 28px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-gold);
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.new-arrival-card .btn-quick-view:hover {
    background: white;
    color: var(--primary-gold);
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.new-arrival-card .product-content {
    padding: 1.75rem;
}

.new-arrival-card .product-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #1a1a1a;
    line-height: 1.35;
    letter-spacing: -0.3px;
}

.new-arrival-card .product-description {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.new-arrival-card .product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.2rem;
    border-top: 1px solid #f0f0f0;
}

.new-arrival-card .product-size {
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.new-arrival-card .product-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-gold);
    letter-spacing: -1px;
}

.new-arrivals-section .section-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Carousel Styles */
/* Carousel Styles - Smooth Sliding */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 70px;
    margin: 0 auto;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    height: auto;
    background: transparent;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    width: 100%;
}

.products-grid-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.8rem;
    padding: 1.5rem 0;
    width: 100%;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #c49a2e 100%);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.carousel-btn span {
    line-height: 1;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    transform: translateY(-50%) scale(1.18);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(1.08);
}

.carousel-btn-prev {
    left: 10px;
}

.carousel-btn-next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-gold);
    transform: scale(1.3);
}

.carousel-dot:hover {
    background: var(--secondary-gold);
    transform: scale(1.2);
}

/* Responsive Carousel */
@media (max-width: 1200px) {
    .products-grid-carousel {
        grid-template-columns: repeat(3, 1fr);
    }
    .carousel-container {
        padding: 0 50px;
    }
}

@media (max-width: 900px) {
    .products-grid-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }
    .carousel-container {
        padding: 0 45px;
    }
    .carousel-btn-prev {
        left: 2px;
    }
    .carousel-btn-next {
        right: 2px;
    }
}

@media (max-width: 600px) {
    .products-grid-carousel {
        grid-template-columns: 1fr;
    }
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.4rem;
    }
    .carousel-container {
        padding: 0 40px;
    }
}

.loading-spinner {
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    color: var(--text-gray);
}

.error-message {
    text-align: center;
    padding: 2rem;
    color: var(--accent-coral);
    font-size: 1rem;
}

/* ============================
   Features Section
   ============================ */
.features {
    padding: var(--spacing-xl) 0;
    background: var(--primary-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-medium);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ============================
   Section Headers
   ============================ */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    display: block;
    font-size: 0.95rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ============================
   Quality Section
   ============================ */
.quality-section {
    padding: var(--spacing-xl) 0;
    background: white;
}

.quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.quality-item {
    margin-bottom: 2.5rem;
    padding-left: 4rem;
    position: relative;
}

.quality-number {
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-coral) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.8;
}

.quality-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.quality-item p {
    color: var(--text-gray);
    line-height: 1.8;
}

.quality-image {
    position: relative;
}

.image-placeholder {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(212, 175, 55, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================
   Gallery Section
   ============================ */
.gallery-section {
    padding: var(--spacing-xl) 0;
    background: var(--primary-light);
}

.gallery-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--text-gray);
    background: white;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition-fast);
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 4/5;
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(26, 26, 26, 0.95) 0%,
        rgba(26, 26, 26, 0.5) 50%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition-medium);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* ============================
   Custom Size Section
   ============================ */
.custom-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-coral) 100%);
    position: relative;
    overflow: hidden;
}

.custom-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.custom-content {
    text-align: center;
    position: relative;
    z-index: 2;
    color: white;
}

.custom-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.custom-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.custom-content .btn-primary {
    background: white;
    color: var(--accent-purple);
}

.custom-content .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
}

/* ============================
   Contact Section
   ============================ */
.contact-section {
    padding: 3rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h3,
.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--primary-light);
    border-radius: 15px;
    transition: var(--transition-fast);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    font-size: 2rem;
    min-width: 50px;
}

.contact-item h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-item a:hover {
    color: var(--accent-coral);
}

.other-sites {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.other-sites a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.other-sites a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

/* Contact Form */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* ============================
   Footer
   ============================ */
.footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: var(--spacing-lg) 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    height: 60px;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-col h3 span {
    color: var(--primary-gold);
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ============================
   Responsive Design
   ============================ */
@media (max-width: 968px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .quality-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .nav .btn-primary {
        display: none; /* Hide "Поръчай" button on tablet/mobile */
    }
    
    /* Show hamburger menu */
    .hamburger {
        display: flex;
    }
    
    .mobile-menu-overlay,
    .mobile-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .new-arrivals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .new-arrival-card .product-image {
        height: 280px;
    }
    
    /* Още по-малки бутони за мобилни */
    .nav .btn-primary,
    .nav .btn-secondary {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .nav #wishlist-btn {
        padding: 0.5rem 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .custom-content h2 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================
   Categories Page Styles
   ============================ */

/* Categories Hero */
.categories-hero {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.categories-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 107, 107, 0.08) 0%, transparent 50%);
}

.categories-hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
}

.categories-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.categories-hero .hero-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Categories Section */
.categories-section {
    padding: var(--spacing-xl) 0;
    background: var(--primary-light);
}

/* Masonry Grid */
.categories-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

/* Category Card */
.category-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-medium);
    height: fit-content;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.category-link {
    display: block;
    color: var(--text-dark);
}

/* Category Image */
.category-image {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    overflow: hidden;
}

.category-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    color: var(--primary-gold);
    opacity: 0.4;
    transition: var(--transition-medium);
}

.category-card:hover .placeholder-content {
    opacity: 0.6;
    transform: scale(1.1);
}

/* Category Overlay */
.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.9), rgba(255, 107, 107, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-medium);
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-view-more {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: var(--transition-medium);
}

.category-card:hover .category-view-more {
    transform: translateY(0);
}

/* Category Content */
.category-content {
    padding: 2rem;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.category-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Category Meta */
.category-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.category-count {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.category-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-coral));
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
}

/* Masonry Layout Variations */
.category-card:nth-child(3n + 1) {
    grid-row: span 1;
}

.category-card:nth-child(3n + 2) {
    grid-row: span 1;
}

.category-card:nth-child(3n) {
    grid-row: span 1;
}

/* Categories CTA */
.categories-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Active Navigation Link */
.nav-menu a.active {
    color: var(--primary-gold);
}

.nav-menu a.active::after {
    width: 100%;
}

/* Responsive Design for Categories */
@media (max-width: 1024px) {
    .categories-masonry {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .categories-hero .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .categories-hero {
        padding: 8rem 0 4rem;
    }
    
    .categories-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .categories-hero .hero-description {
        font-size: 1rem;
    }
    
    .categories-masonry {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-content {
        padding: 1.5rem;
    }
    
    .category-title {
        font-size: 1.4rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-large {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .categories-hero .hero-title {
        font-size: 2rem;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
    
    .categories-section {
        padding: var(--spacing-md) 0;
    }
}

/* ============================
   Individual Category Page Styles
   ============================ */

/* Breadcrumb */
.breadcrumb {
    padding: 6rem 0 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--primary-gold);
}

.breadcrumb span:not(:last-child) {
    margin: 0 0.5rem;
}

/* Category Hero */
.category-hero {
    position: relative;
    padding: 0 0 5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
}

.category-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
}

.category-hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    text-align: center;
}

.category-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.category-hero .hero-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

/* Category Stats */
.category-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Category Gallery Section */
.category-gallery {
    padding: var(--spacing-xl) 0;
    background: var(--primary-light);
}

.category-gallery .container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
}

/* Gallery Filters */
.gallery-filters {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.gallery-filters h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.filter-btn {
    background: var(--primary-light);
    border: 1px solid #e0e0e0;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-dark);
}

.filter-btn:hover {
    background: #e8e8e8;
    border-color: var(--primary-gold);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-coral));
    color: white;
    border-color: transparent;
}

/* Products Section */
.products-section {
    flex: 1;
}

.section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header-inline h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-dark);
}

.section-header-inline .count {
    color: var(--text-gray);
    font-weight: 400;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort-options label {
    font-size: 0.95rem;
    color: var(--text-gray);
}

.sort-select {
    padding: 0.6rem 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
    transition: var(--transition-fast);
}

.sort-select:hover {
    border-color: var(--primary-gold);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Product Card */
.product-card {
    width: 100%;
    height: auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition-medium);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Product Image */
.product-image {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-coral));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.product-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    opacity: 0.3;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-medium);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-quick-view {
    background: white;
    color: var(--text-dark);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transform: translateY(10px);
    transition: var(--transition-medium);
}

.product-card:hover .btn-quick-view {
    transform: translateY(0);
}

.btn-quick-view:hover {
    background: var(--primary-gold);
    color: white;
}

/* Product Content */
.product-content {
    padding: 1.5rem;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-description {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-options {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.product-size,
.product-finish {
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    background: var(--primary-light);
    border-radius: 15px;
    color: var(--text-gray);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.btn-wishlist {
    background: var(--primary-light);
    border: 1px solid #e0e0e0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-wishlist:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: white;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.page-btn {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 0.7rem 1.2rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-dark);
}

.page-btn:hover {
    background: var(--primary-gold);
    color: white;
    border-color: var(--primary-gold);
}

.page-btn.active {
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-coral));
    color: white;
    border-color: transparent;
}

/* Category Features */
.category-features {
    padding: 4rem 0;
    background: white;
}

.category-features h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.category-features .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Related Categories */
.related-categories {
    padding: 4rem 0;
    background: var(--primary-light);
}

.related-categories h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.related-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-medium);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.related-image-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    color: var(--primary-gold);
    transition: var(--transition-fast);
}

.related-card:hover .related-image-placeholder {
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-coral));
    color: white;
}

.related-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dark);
}

/* Responsive for Category Pages */
@media (max-width: 1024px) {
    .category-gallery .container {
        grid-template-columns: 1fr;
    }
    
    .gallery-filters {
        position: static;
        margin-bottom: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .category-hero {
        padding-bottom: 3rem;
    }
    
    .category-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .category-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .section-header-inline {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .category-features h2,
    .related-categories h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 0.8rem;
        padding: 5rem 0 0.5rem;
    }
    
    .category-hero .hero-title {
        font-size: 2rem;
    }
    
    .category-hero .hero-description {
        font-size: 1rem;
    }
    
    .category-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-options {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .category-features h2,
    .related-categories h2 {
        font-size: 1.6rem;
    }
}

/* ============================================
   JAVASCRIPT FEATURES STYLES
   ============================================ */

/* Dark Theme */
body.dark-theme {
    --text-color: #f8f8f8;
    --bg-color: #1a1a1a;
    --card-bg: #2a2a2a;
    --border-color: #444;
    background-color: var(--bg-color);
    color: var(--text-color);
}

body.dark-theme .header {
    background-color: rgba(26, 26, 26, 0.95);
    border-bottom-color: #444;
}

body.dark-theme .category-card,
body.dark-theme .product-card,
body.dark-theme .feature-card {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

body.dark-theme .category-card:hover,
body.dark-theme .product-card:hover {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

body.dark-theme .hero,
body.dark-theme .category-hero,
body.dark-theme .footer {
    background-color: #2a2a2a;
}

body.dark-theme .stats-grid {
    background-color: rgba(42, 42, 42, 0.5);
}

body.dark-theme .filter-sidebar {
    background-color: #2a2a2a;
    border-color: #444;
}

body.dark-theme .filter-btn {
    background-color: #333;
    color: #f8f8f8;
    border-color: #555;
}

body.dark-theme .filter-btn.active {
    background-color: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
}

/* Theme Toggle Button */
#theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #f0d98d);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

#theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

#theme-toggle:active {
    transform: scale(0.95);
}

body.dark-theme #theme-toggle {
    background: linear-gradient(135deg, #4a4a4a, #6a6a6a);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Quick View Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.quick-view-modal {
    background-color: white;
    border-radius: 15px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

body.dark-theme .quick-view-modal {
    background-color: #2a2a2a;
    color: #f8f8f8;
}

.modal-overlay.active .quick-view-modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background-color: var(--gold);
    transform: rotate(90deg);
}

.modal-content {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.modal-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-details h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 15px;
}

body.dark-theme .modal-details h2 {
    color: var(--gold);
}

.modal-details .price {
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: bold;
    margin-bottom: 20px;
}

.modal-details .description {
    line-height: 1.8;
    margin-bottom: 25px;
    color: #666;
}

body.dark-theme .modal-details .description {
    color: #ccc;
}

.modal-specs {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

body.dark-theme .modal-specs {
    background-color: #333;
}

.modal-specs h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark);
}

body.dark-theme .modal-specs h3 {
    color: var(--gold);
}

.modal-specs ul {
    list-style: none;
}

.modal-specs li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
}

body.dark-theme .modal-specs li {
    border-bottom-color: #444;
}

.modal-specs li:last-child {
    border-bottom: none;
}

.modal-actions {
    display: flex;
    gap: 15px;
}

.modal-actions .btn {
    flex: 1;
}

/* Notification Toasts */
.notification {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: var(--dark);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 3000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 250px;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification.success {
    background-color: #4CAF50;
}

.notification.error {
    background-color: #f44336;
}

.notification.info {
    background-color: var(--gold);
    color: var(--dark);
}

.notification::before {
    content: '✓';
    font-size: 20px;
    font-weight: bold;
}

.notification.error::before {
    content: '✕';
}

.notification.info::before {
    content: 'ℹ';
}

/* Wishlist Button States */
.btn-wishlist {
    position: relative;
    overflow: visible;
}

.btn-wishlist.active {
    background-color: #ff4444;
    color: white;
    border-color: #ff4444;
}

.btn-wishlist.active:hover {
    background-color: #cc0000;
    border-color: #cc0000;
}

.btn-wishlist::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(255, 68, 68, 0.6);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn-wishlist.active::after {
    width: 100px;
    height: 100px;
    opacity: 0;
}

/* Wishlist Counter Badge */
.wishlist-counter {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff4444;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Filter Active States */
.filter-btn.active {
    background-color: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
    font-weight: 600;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
}

/* Sort Dropdown Enhancement */
.sort-controls select {
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-controls select:hover {
    border-color: var(--gold);
}

.sort-controls select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Lazy Loading Placeholder */
.product-image img[data-src] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

body.dark-theme .product-image img[data-src] {
    background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
    background-size: 200% 100%;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.product-image img.loaded {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
    padding: 10px;
    transition: transform 0.3s ease;
}

body.dark-theme .mobile-menu-toggle {
    color: var(--gold);
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu-toggle.active {
    transform: rotate(90deg);
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Loading State for Filters */
.products-grid.loading {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}

.products-grid.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Adjustments for JS Features */
@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 25px;
    }
    
    #theme-toggle {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
    
    .notification {
        right: 15px;
        bottom: 80px;
        min-width: auto;
        max-width: calc(100% - 30px);
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 20px 15px;
    }
    
    .modal-details h2 {
        font-size: 1.5rem;
    }
    
    .modal-details .price {
        font-size: 1.5rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    #theme-toggle {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
        font-size: 18px;
    }
}

/* Logo Responsive Switching */
@media (max-width: 1024px) {
    .logo-desktop {
        display: none;
    }
    
    .logo-mobile {
        display: block;
    }
}

/* Product Card Related (Product Detail Page) */
.product-card-related {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
}

.product-card-related:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-card-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--primary-light);
    border-radius: 8px;
    overflow: hidden;
}

.product-card-related h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-card-related p {
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.product-card-related .btn-primary {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    text-align: center;
}
