/* ============================================

   LUXE ELITE - Premium Dark Theme Styles

   ============================================ */



/* CSS Variables */

:root {

    /* Dark Theme Colors */

    --bg-primary: #0a0a0a;

    --bg-secondary: #141414;

    --bg-tertiary: #1a1a1a;

    --bg-card: #0f0f0f;

    --bg-elevated: #1e1e1e;

    

    /* Accent Colors */

    --accent-gold: #d4af37;

    --accent-gold-light: #f4d160;

    --accent-rose: #c9a07a;

    --accent-silver: #c0c0c0;

    

    /* Text Colors */

    --text-primary: #ffffff;

    --text-secondary: #a0a0a0;

    --text-muted: #666666;

    

    /* Gradients */

    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4d160 50%, #d4af37 100%);

    --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);

    --gradient-radial: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);

    

    /* Shadows */

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);

    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);

    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.7);

    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);

    

    /* Transitions */

    --transition-fast: 0.2s ease;

    --transition-normal: 0.3s ease;

    --transition-slow: 0.5s ease;

    

    /* Spacing */

    --container-width: 1400px;

    --section-padding: 100px 0;

}



/* Reset & Base Styles */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



html {

    scroll-behavior: smooth;

}



body {

    font-family: 'Montserrat', sans-serif;

    background-color: var(--bg-primary);

    color: var(--text-primary);

    line-height: 1.6;

    overflow-x: hidden;

}



/* Typography */

h1, h2, h3, h4, h5, h6 {

    font-family: 'Playfair Display', serif;

    font-weight: 600;

    line-height: 1.2;

}



h1 { font-size: 4.5rem; }

h2 { font-size: 3rem; }

h3 { font-size: 2rem; }

h4 { font-size: 1.5rem; }



@media (max-width: 768px) {

    h1 { font-size: 2.5rem; }

    h2 { font-size: 2rem; }

    h3 { font-size: 1.5rem; }

    h4 { font-size: 1.25rem; }

}



/* Container */

.container {

    max-width: var(--container-width);

    margin: 0 auto;

    padding: 0 20px;

}



/* ============================================

   PRELOADER

   ============================================ */

.preloader {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: var(--bg-primary);

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 10000;

    transition: opacity 0.5s ease, visibility 0.5s ease;

}



.preloader.hidden {

    opacity: 0;

    visibility: hidden;

}



.loader {

    position: relative;

    width: 150px;

    height: 150px;

    display: flex;

    align-items: center;

    justify-content: center;

}



.loader-ring {

    position: absolute;

    width: 100%;

    height: 100%;

    border: 2px solid transparent;

    border-radius: 50%;

    animation: loader-spin 1.5s linear infinite;

}



.loader-ring:nth-child(1) {

    border-top-color: var(--accent-gold);

    animation-delay: 0s;

}



.loader-ring:nth-child(2) {

    width: 80%;

    height: 80%;

    border-right-color: var(--accent-rose);

    animation-delay: 0.2s;

    animation-direction: reverse;

}



.loader-ring:nth-child(3) {

    width: 60%;

    height: 60%;

    border-bottom-color: var(--accent-gold-light);

    animation-delay: 0.4s;

}



.loader-text {

    font-family: 'Playfair Display', serif;

    font-size: 0.9rem;

    letter-spacing: 3px;

    color: var(--accent-gold);

    font-weight: 600;

}



@keyframes loader-spin {

    0% { transform: rotate(0deg); }

    100% { transform: rotate(360deg); }

}



/* ============================================

   NAVIGATION

   ============================================ */

.navbar {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(10, 10, 10, 0.95);

    backdrop-filter: blur(20px);

    border-bottom: 1px solid rgba(212, 175, 55, 0.1);

    transition: all var(--transition-normal);

}



.navbar.scrolled {

    background: rgba(10, 10, 10, 0.98);

    box-shadow: var(--shadow-md);

}



.nav-container {

    max-width: var(--container-width);

    margin: 0 auto;

    padding: 20px 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.nav-logo a {

    display: flex;

    align-items: baseline;

    text-decoration: none;

    gap: 5px;

}



.logo-text {

    font-family: 'Playfair Display', serif;

    font-size: 2rem;

    font-weight: 700;

    color: var(--text-primary);

    letter-spacing: 2px;

}



.logo-accent {

    font-family: 'Playfair Display', serif;

    font-size: 2rem;

    font-weight: 400;

    background: var(--gradient-gold);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

    letter-spacing: 2px;

}



.nav-menu {

    display: flex;

    gap: 40px;

}



.nav-link {

    color: var(--text-secondary);

    text-decoration: none;

    font-size: 0.9rem;

    font-weight: 500;

    letter-spacing: 1px;

    text-transform: uppercase;

    position: relative;

    transition: color var(--transition-fast);

}



.nav-link::after {

    content: '';

    position: absolute;

    bottom: -5px;

    left: 0;

    width: 0;

    height: 2px;

    background: var(--gradient-gold);

    transition: width var(--transition-normal);

}



.nav-link:hover,

.nav-link.active {

    color: var(--accent-gold);

}



.nav-link:hover::after,

.nav-link.active::after {

    width: 100%;

}



.nav-actions {

    display: flex;

    align-items: center;

    gap: 20px;

}



.search-box {

    position: relative;

    width: 200px;

}



.search-box input {

    width: 100%;

    padding: 10px 40px 10px 15px;

    background: var(--bg-tertiary);

    border: 1px solid rgba(212, 175, 55, 0.2);

    border-radius: 25px;

    color: var(--text-primary);

    font-size: 0.85rem;

    transition: all var(--transition-fast);

}



.search-box input:focus {

    outline: none;

    border-color: var(--accent-gold);

    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);

}



.search-box i {

    position: absolute;

    right: 15px;

    top: 50%;

    transform: translateY(-50%);

    color: var(--text-muted);

    cursor: pointer;

    transition: color var(--transition-fast);

}



.search-box:hover i {

    color: var(--accent-gold);

}



.nav-icon {

    position: relative;

    width: 40px;

    height: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--text-secondary);

    text-decoration: none;

    border: 1px solid rgba(212, 175, 55, 0.2);

    border-radius: 50%;

    transition: all var(--transition-fast);

}



.nav-icon:hover {

    color: var(--accent-gold);

    border-color: var(--accent-gold);

    transform: translateY(-2px);

    box-shadow: var(--shadow-gold);

}



.badge {

    position: absolute;

    top: -5px;

    right: -5px;

    width: 18px;

    height: 18px;

    background: var(--accent-gold);

    border-radius: 50%;

    font-size: 0.65rem;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--bg-primary);

    font-weight: 600;

}



.hamburger {

    display: none;

    flex-direction: column;

    gap: 5px;

    cursor: pointer;

}



.hamburger span {

    width: 25px;

    height: 2px;

    background: var(--text-primary);

    transition: all var(--transition-fast);

}



@media (max-width: 1024px) {

    .nav-menu {

        position: fixed;

        top: 80px;

        left: 0;

        width: 100%;

        background: var(--bg-secondary);

        flex-direction: column;

        padding: 20px;

        gap: 20px;

        transform: translateX(-100%);

        transition: transform var(--transition-normal);

    }

    

    .nav-menu.active {

        transform: translateX(0);

    }

    

    .hamburger {

        display: flex;

    }

    

    .search-box {

        display: none;

    }

}



/* ============================================

   HERO SECTION

   ============================================ */

.hero {

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}



.hero-bg {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    z-index: 0;

}



.hero-particles {

    position: absolute;

    width: 100%;

    height: 100%;

    background-image: 

        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),

        radial-gradient(circle at 80% 50%, rgba(201, 160, 122, 0.1) 0%, transparent 50%),

        radial-gradient(circle at 50% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);

    animation: particle-float 20s ease-in-out infinite;

}



@keyframes particle-float {

    0%, 100% { transform: translate(0, 0) rotate(0deg); }

    33% { transform: translate(30px, -30px) rotate(5deg); }

    66% { transform: translate(-20px, 20px) rotate(-5deg); }

}



/* Hero Slideshow */

.hero-slideshow {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    z-index: 0;

}



.hero-slideshow .slide {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-size: cover;

    background-position: center;

    opacity: 0;

    transition: opacity 1.5s ease-in-out;

}



.hero-slideshow .slide.active {

    opacity: 1;

}



.hero-gradient {

    position: absolute;

    width: 100%;

    height: 100%;

    background: 

        linear-gradient(180deg, 

            rgba(10, 10, 10, 0) 0%, 

            rgba(10, 10, 10, 0.3) 50%,

            rgba(10, 10, 10, 0.8) 100%);

}



.hero-content {

    position: relative;

    z-index: 1;

    text-align: center;

    padding: 0 20px;

    max-width: 900px;

}



.hero-badge {

    display: inline-block;

    padding: 10px 30px;

    background: rgba(212, 175, 55, 0.1);

    border: 1px solid rgba(212, 175, 55, 0.3);

    border-radius: 50px;

    margin-bottom: 30px;

    animation: badge-glow 2s ease-in-out infinite;

}



@keyframes badge-glow {

    0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); }

    50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.4); }

}



.hero-badge span {

    color: var(--accent-gold);

    font-size: 0.85rem;

    letter-spacing: 2px;

    text-transform: uppercase;

    font-weight: 600;

}



.hero-title {

    margin-bottom: 20px;

    animation: title-reveal 1s ease-out 0.5s both;

}



@keyframes title-reveal {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.title-line {

    display: block;

    font-size: 4.5rem;

    color: var(--text-primary);

}



.title-line.highlight {

    background: var(--gradient-gold);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

}



.hero-subtitle {

    font-size: 1.2rem;

    color: var(--text-secondary);

    margin-bottom: 40px;

    letter-spacing: 1px;

    animation: subtitle-reveal 1s ease-out 0.7s both;

}



@keyframes subtitle-reveal {

    from {

        opacity: 0;

        transform: translateY(20px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.hero-cta {

    display: flex;

    gap: 20px;

    justify-content: center;

    flex-wrap: wrap;

    animation: cta-reveal 1s ease-out 0.9s both;

}



@keyframes cta-reveal {

    from {

        opacity: 0;

        transform: translateY(20px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



/* Buttons */

.btn {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 15px 35px;

    border-radius: 50px;

    font-size: 0.9rem;

    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;

    text-decoration: none;

    transition: all var(--transition-normal);

    cursor: pointer;

    border: none;

}



.btn-primary {

    background: var(--gradient-gold);

    color: var(--bg-primary);

    position: relative;

    overflow: hidden;

}



.btn-primary::before {

    content: '';

    position: absolute;

    top: 0;

    left: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);

    transition: left 0.5s ease;

}



.btn-primary:hover::before {

    left: 100%;

}



.btn-primary:hover {

    transform: translateY(-3px);

    box-shadow: var(--shadow-gold);

}



.btn-outline {

    background: transparent;

    border: 2px solid var(--accent-gold);

    color: var(--accent-gold);

}



.btn-outline:hover {

    background: var(--accent-gold);

    color: var(--bg-primary);

    transform: translateY(-3px);

    box-shadow: var(--shadow-gold);

}



.btn-large {

    padding: 18px 45px;

    font-size: 1rem;

}



.btn-block {

    width: 100%;

    justify-content: center;

}



/* Hero Stats */

.hero-stats {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 40px;

    margin-top: 60px;

    animation: stats-reveal 1s ease-out 1.1s both;

}



@keyframes stats-reveal {

    from {

        opacity: 0;

        transform: translateY(20px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.stat-item {

    text-align: center;

}



.stat-number {

    display: block;

    font-family: 'Playfair Display', serif;

    font-size: 3rem;

    font-weight: 700;

    background: var(--gradient-gold);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

}



.stat-label {

    font-size: 0.85rem;

    color: var(--text-secondary);

    letter-spacing: 1px;

    text-transform: uppercase;

}



.stat-divider {

    width: 1px;

    height: 50px;

    background: rgba(212, 175, 55, 0.3);

}



/* Hero Scroll Indicator */

.hero-scroll {

    position: absolute;

    bottom: 40px;

    left: 50%;

    transform: translateX(-50%);

    text-align: center;

    animation: scroll-bounce 2s ease-in-out infinite;

}



.hero-scroll span {

    display: block;

    font-size: 0.75rem;

    color: var(--text-muted);

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 10px;

}



.scroll-indicator {

    width: 24px;

    height: 40px;

    border: 2px solid rgba(212, 175, 55, 0.3);

    border-radius: 12px;

    margin: 0 auto;

    position: relative;

}



.scroll-dot {

    width: 4px;

    height: 8px;

    background: var(--accent-gold);

    border-radius: 2px;

    position: absolute;

    top: 8px;

    left: 50%;

    transform: translateX(-50%);

    animation: scroll-dot-move 1.5s ease-in-out infinite;

}



@keyframes scroll-bounce {

    0%, 100% { transform: translateX(-50%) translateY(0); }

    50% { transform: translateX(-50%) translateY(-10px); }

}



@keyframes scroll-dot-move {

    0%, 100% { opacity: 1; top: 8px; }

    50% { opacity: 0.3; top: 20px; }

}



/* ============================================

   BRANDS MARQUEE

   ============================================ */

.brands-marquee {

    padding: 30px 0;

    background: var(--bg-secondary);

    border-top: 1px solid rgba(212, 175, 55, 0.1);

    border-bottom: 1px solid rgba(212, 175, 55, 0.1);

    overflow: hidden;

}



.marquee-track {

    display: flex;

    animation: marquee-scroll 30s linear infinite;

}



.marquee-content {

    display: flex;

    gap: 50px;

    align-items: center;

    white-space: nowrap;

    padding-right: 50px;

}



.marquee-content span {

    font-family: 'Playfair Display', serif;

    font-size: 1.5rem;

    color: var(--text-muted);

    letter-spacing: 4px;

    text-transform: uppercase;

    font-weight: 400;

    transition: color var(--transition-fast);

}



.marquee-content span:hover {

    color: var(--accent-gold);

}



.marquee-content span:nth-child(even) {

    color: var(--accent-gold);

    opacity: 0.5;

}



@keyframes marquee-scroll {

    0% { transform: translateX(0); }

    100% { transform: translateX(-50%); }

}



/* ============================================

   CATEGORIES SECTION

   ============================================ */

.categories {

    padding: var(--section-padding);

    background: var(--bg-primary);

}



.section-header {

    text-align: center;

    margin-bottom: 60px;

}



.section-tag {

    display: inline-block;

    padding: 8px 20px;

    background: rgba(212, 175, 55, 0.1);

    border-radius: 20px;

    color: var(--accent-gold);

    font-size: 0.85rem;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 20px;

}



.section-title {

    color: var(--text-primary);

    margin-bottom: 15px;

}



.section-desc {

    color: var(--text-secondary);

    font-size: 1.1rem;

    max-width: 600px;

    margin: 0 auto;

}



.categories-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    grid-template-rows: repeat(2, 300px);

    gap: 25px;

}



.category-card {

    position: relative;

    border-radius: 15px;

    overflow: hidden;

    cursor: pointer;

    transition: transform var(--transition-normal);

}



.category-card:hover {

    transform: translateY(-10px);

}



.category-card.large {

    grid-column: 1 / 2;

    grid-row: 1 / 3;

}



.category-card.wide {

    grid-column: 2 / 4;

}



.category-bg {

    position: absolute;

    width: 100%;

    height: 100%;

    background-size: cover;

    background-position: center;

    transition: transform var(--transition-slow);

}



.category-card:hover .category-bg {

    transform: scale(1.1);

}



.category-overlay {

    position: absolute;

    width: 100%;

    height: 100%;

    background: linear-gradient(180deg, 

        rgba(10, 10, 10, 0.2) 0%, 

        rgba(10, 10, 10, 0.8) 100%);

    transition: background var(--transition-normal);

}



.category-card:hover .category-overlay {

    background: linear-gradient(180deg, 

        rgba(10, 10, 10, 0.1) 0%, 

        rgba(10, 10, 10, 0.9) 100%);

}



.category-content {

    position: absolute;

    bottom: 30px;

    left: 30px;

    right: 30px;

    z-index: 1;

}



.category-count {

    display: inline-block;

    padding: 5px 15px;

    background: rgba(212, 175, 55, 0.2);

    border-radius: 15px;

    color: var(--accent-gold);

    font-size: 0.75rem;

    margin-bottom: 15px;

}



.category-content h3 {

    font-size: 1.8rem;

    margin-bottom: 8px;

    color: var(--text-primary);

}



.category-content p {

    color: var(--text-secondary);

    font-size: 0.9rem;

    margin-bottom: 15px;

}



.category-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--accent-gold);

    text-decoration: none;

    font-size: 0.9rem;

    font-weight: 600;

    letter-spacing: 1px;

    transition: gap var(--transition-fast);

}



.category-link:hover {

    gap: 15px;

}



@media (max-width: 1024px) {

    .categories-grid {

        grid-template-columns: repeat(2, 1fr);

        grid-template-rows: auto;

    }

    

    .category-card.large {

        grid-column: 1 / 2;

        grid-row: 1 / 2;

    }

    

    .category-card.wide {

        grid-column: 1 / 3;

    }

}



@media (max-width: 768px) {

    .categories-grid {

        grid-template-columns: 1fr;

    }

    

    .category-card.large,

    .category-card.wide {

        grid-column: 1;

    }

}



/* ============================================

   FEATURED PRODUCTS

   ============================================ */

.featured-products {

    padding: var(--section-padding);

    background: var(--bg-secondary);

}



.products-tabs {

    display: flex;

    justify-content: center;

    gap: 15px;

    margin-bottom: 50px;

    flex-wrap: wrap;

}



.tab-btn {

    padding: 12px 30px;

    background: transparent;

    border: 1px solid rgba(212, 175, 55, 0.3);

    border-radius: 25px;

    color: var(--text-secondary);

    font-size: 0.9rem;

    font-weight: 500;

    letter-spacing: 1px;

    cursor: pointer;

    transition: all var(--transition-fast);

}



.tab-btn:hover,

.tab-btn.active {

    background: var(--accent-gold);

    border-color: var(--accent-gold);

    color: var(--bg-primary);

}



.products-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

}



@media (max-width: 1200px) {

    .products-grid {

        grid-template-columns: repeat(3, 1fr);

    }

}



@media (max-width: 900px) {

    .products-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 600px) {

    .products-grid {

        grid-template-columns: 1fr;

    }

}



/* Product Card */

.product-card {

    background: var(--bg-card);

    border-radius: 15px;

    overflow: hidden;

    border: 1px solid rgba(212, 175, 55, 0.1);

    transition: all var(--transition-normal);

}



.product-card:hover {

    transform: translateY(-10px);

    border-color: rgba(212, 175, 55, 0.3);

    box-shadow: var(--shadow-lg);

}



.product-image {

    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    height: auto;

    overflow: hidden;

    background: #f5f5f5;

}



.product-image img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    transition: transform var(--transition-slow);

}



.product-card:hover .product-image img {

    transform: scale(1.1);

}



.product-badge {

    position: absolute;

    top: 15px;

    left: 15px;

    padding: 6px 15px;

    background: var(--accent-gold);

    color: var(--bg-primary);

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    border-radius: 3px;

}



.product-badge.new {

    background: #4ecdc4;

}



.product-badge.exclusive {

    background: #ff6b6b;

}



.product-actions {

    position: absolute;

    top: 15px;

    right: 15px;

    display: flex;

    flex-direction: column;

    gap: 10px;

    opacity: 0;

    transform: translateX(20px);

    transition: all var(--transition-normal);

}



.product-card:hover .product-actions {

    opacity: 1;

    transform: translateX(0);

}



.action-btn {

    width: 40px;

    height: 40px;

    background: var(--bg-primary);

    border: 1px solid rgba(212, 175, 55, 0.3);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--text-secondary);

    cursor: pointer;

    transition: all var(--transition-fast);

}



.action-btn:hover {

    background: var(--accent-gold);

    border-color: var(--accent-gold);

    color: var(--bg-primary);

    transform: scale(1.1);

}



.product-info {

    padding: 20px;

}



.product-brand {

    display: block;

    font-size: 0.75rem;

    color: var(--accent-gold);

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 8px;

}



.product-name {

    font-size: 1.1rem;

    color: var(--text-primary);

    margin-bottom: 10px;

    font-weight: 600;

}



.product-price {

    font-size: 1.2rem;

    color: var(--accent-gold);

    font-weight: 700;

}



.product-rating {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 10px;

}



.stars {

    display: flex;

    gap: 2px;

}



.stars i {

    font-size: 0.8rem;

    color: var(--accent-gold);

}



.rating-count {

    font-size: 0.8rem;

    color: var(--text-muted);

}



.section-footer {

    text-align: center;

    margin-top: 50px;

}



/* ============================================

   BRANDS SHOWCASE — LUXURY REDESIGN

   ============================================ */

.brands-showcase {

    padding: var(--section-padding);

    background: var(--bg-primary);

    position: relative;

    overflow: hidden;

}



/* Subtle ambient glow behind the section */

.brands-showcase::before {

    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    width: 800px;

    height: 400px;

    transform: translate(-50%, -50%);

    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.04) 0%, transparent 70%);

    pointer-events: none;

}



.brands-carousel {

    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 24px;

    align-items: stretch;

}



.brand-item {

    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 36px 20px 28px;

    background: linear-gradient(

        165deg,

        rgba(255, 255, 255, 0.03) 0%,

        rgba(255, 255, 255, 0.01) 40%,

        transparent 100%

    );

    border-radius: 20px;

    border: 1px solid rgba(212, 175, 55, 0.08);

    text-decoration: none;

    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);

    overflow: hidden;

    cursor: pointer;

}



/* Glass reflection overlay */

.brand-item::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 50%;

    background: linear-gradient(

        180deg,

        rgba(255, 255, 255, 0.04) 0%,

        transparent 100%

    );

    border-radius: 20px 20px 0 0;

    pointer-events: none;

    transition: opacity 0.5s ease;

}



/* Gold bottom accent line */

.brand-item::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 20%;

    right: 20%;

    height: 1px;

    background: linear-gradient(

        90deg,

        transparent,

        rgba(212, 175, 55, 0.3),

        transparent

    );

    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);

}



.brand-item:hover {

    border-color: rgba(212, 175, 55, 0.35);

    transform: translateY(-8px) scale(1.02);

    box-shadow:

        0 20px 60px rgba(0, 0, 0, 0.4),

        0 0 40px rgba(212, 175, 55, 0.08),

        inset 0 1px 0 rgba(255, 255, 255, 0.06);

}



.brand-item:hover::before {

    opacity: 1.5;

    background: linear-gradient(

        180deg,

        rgba(212, 175, 55, 0.05) 0%,

        transparent 100%

    );

}



.brand-item:hover::after {

    left: 10%;

    right: 10%;

    height: 2px;

    background: linear-gradient(

        90deg,

        transparent,

        var(--accent-gold),

        transparent

    );

    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);

}



.brand-logo {

    height: 64px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 18px;

    position: relative;

    z-index: 1;

}



/* Luxury serif text logo with subtle gradient */

.brand-text-logo {

    font-family: 'Playfair Display', 'Didot', 'Bodoni MT', 'Times New Roman', serif;

    font-size: 1.6rem;

    font-weight: 700;

    letter-spacing: 3px;

    background: linear-gradient(

        135deg,

        rgba(255, 255, 255, 0.7) 0%,

        rgba(255, 255, 255, 0.4) 50%,

        rgba(212, 175, 55, 0.6) 100%

    );

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);

    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));

}



.brand-item:hover .brand-text-logo {

    background: linear-gradient(

        135deg,

        rgba(255, 255, 255, 0.95) 0%,

        var(--accent-gold-light) 50%,

        var(--accent-gold) 100%

    );

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));

    transform: scale(1.05);

}



.brand-logo img {

    max-height: 100%;

    max-width: 100%;

    object-fit: contain;

    filter: brightness(0) invert(1);

    opacity: 0.45;

    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);

}



.brand-item:hover .brand-logo img {

    opacity: 1;

    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));

}



.brand-name {

    font-size: 0.72rem;

    color: var(--text-muted);

    letter-spacing: 2.5px;

    text-transform: uppercase;

    font-weight: 500;

    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);

    position: relative;

    z-index: 1;

}



.brand-item:hover .brand-name {

    color: var(--accent-gold-light);

    letter-spacing: 3px;

}



/* Corner decorative elements on hover */

.brand-item .corner-decor {

    position: absolute;

    width: 12px;

    height: 12px;

    border-color: var(--accent-gold);

    border-style: solid;

    border-width: 0;

    opacity: 0;

    transition: all 0.4s ease 0.1s;

}



.brand-item .corner-decor.tl { top: 10px; left: 10px; border-top-width: 1px; border-left-width: 1px; }

.brand-item .corner-decor.tr { top: 10px; right: 10px; border-top-width: 1px; border-right-width: 1px; }

.brand-item .corner-decor.bl { bottom: 10px; left: 10px; border-bottom-width: 1px; border-left-width: 1px; }

.brand-item .corner-decor.br { bottom: 10px; right: 10px; border-bottom-width: 1px; border-right-width: 1px; }



.brand-item:hover .corner-decor {

    opacity: 1;

}



@media (max-width: 1024px) {

    .brands-carousel {

        grid-template-columns: repeat(3, 1fr);

        gap: 18px;

    }

    .brand-text-logo { font-size: 1.3rem; }

}



@media (max-width: 600px) {

    .brands-carousel {

        grid-template-columns: repeat(2, 1fr);

        gap: 14px;

    }

    .brand-item { padding: 26px 14px 20px; border-radius: 16px; }

    .brand-logo { height: 48px; margin-bottom: 12px; }

    .brand-text-logo { font-size: 1.15rem; letter-spacing: 2px; }

    .brand-name { font-size: 0.62rem; letter-spacing: 1.5px; }

}

/* ============================================

   NEWSLETTER

   ============================================ */

.newsletter {

    padding: 80px 0;

    background: linear-gradient(135deg, 

        rgba(212, 175, 55, 0.1) 0%, 

        rgba(201, 160, 122, 0.1) 100%);

    border-top: 1px solid rgba(212, 175, 55, 0.2);

    border-bottom: 1px solid rgba(212, 175, 55, 0.2);

}



.newsletter-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    flex-wrap: wrap;

}



.newsletter-text h3 {

    font-size: 2rem;

    margin-bottom: 10px;

    color: var(--text-primary);

}



.newsletter-text p {

    color: var(--text-secondary);

}



.newsletter-form {

    display: flex;

    gap: 15px;

    flex: 1;

    max-width: 500px;

}



.newsletter-form input {

    flex: 1;

    padding: 15px 25px;

    background: var(--bg-primary);

    border: 1px solid rgba(212, 175, 55, 0.3);

    border-radius: 50px;

    color: var(--text-primary);

    font-size: 0.9rem;

}



.newsletter-form input:focus {

    outline: none;

    border-color: var(--accent-gold);

}



@media (max-width: 768px) {

    .newsletter-content {

        flex-direction: column;

        text-align: center;

    }

    

    .newsletter-form {

        width: 100%;

        flex-direction: column;

    }

}



/* ============================================

   FOOTER

   ============================================ */

.footer {

    padding: 80px 0 30px;

    background: var(--bg-primary);

    border-top: 1px solid rgba(212, 175, 55, 0.1);

}



.footer-grid {

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 50px;

    margin-bottom: 50px;

}



.footer-logo {

    display: flex;

    align-items: baseline;

    gap: 5px;

    text-decoration: none;

    margin-bottom: 20px;

}



.footer-brand p {

    color: var(--text-secondary);

    line-height: 1.8;

    margin-bottom: 20px;

}



.footer-social {

    display: flex;

    gap: 15px;

}



.footer-social a {

    width: 40px;

    height: 40px;

    background: var(--bg-tertiary);

    border: 1px solid rgba(212, 175, 55, 0.2);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--text-secondary);

    text-decoration: none;

    transition: all var(--transition-fast);

}



.footer-social a:hover {

    background: var(--accent-gold);

    border-color: var(--accent-gold);

    color: var(--bg-primary);

    transform: translateY(-3px);

}



.footer-social .social-icon-img {

    width: 20px;

    height: 20px;

    transition: filter var(--transition-fast);

}



.footer-social a:hover .social-icon-img {

    filter: brightness(0) invert(1);

}



.footer-links h4 {

    color: var(--text-primary);

    margin-bottom: 25px;

    font-size: 1.1rem;

}



.footer-links ul {

    list-style: none;

}



.footer-links li {

    margin-bottom: 12px;

}



.footer-links a {

    color: var(--text-secondary);

    text-decoration: none;

    font-size: 0.9rem;

    transition: color var(--transition-fast);

    display: inline-flex;

    align-items: center;

    gap: 8px;

}



.footer-links a:hover {

    color: var(--accent-gold);

}



.footer-links li i {

    color: var(--accent-gold);

    font-size: 0.85rem;

}



.footer-bottom {

    padding-top: 30px;

    border-top: 1px solid rgba(212, 175, 55, 0.1);

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 20px;

}



.footer-bottom p {

    color: var(--text-muted);

    font-size: 0.85rem;

}



.footer-legal {

    display: flex;

    gap: 30px;

}



.footer-legal a {

    color: var(--text-muted);

    text-decoration: none;

    font-size: 0.85rem;

    transition: color var(--transition-fast);

}



.footer-legal a:hover {

    color: var(--accent-gold);

}



@media (max-width: 1024px) {

    .footer-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 600px) {

    .footer-grid {

        grid-template-columns: 1fr;

    }

    

    .footer-bottom {

        flex-direction: column;

        text-align: center;

    }

}



/* ============================================

   CATALOG PAGE STYLES

   ============================================ */

.catalog-header {

    position: relative;

    padding: 180px 0 80px;

    overflow: hidden;

}



.catalog-header-bg {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(135deg, 

        rgba(212, 175, 55, 0.15) 0%, 

        rgba(10, 10, 10, 1) 100%);

}



.header-particles {

    position: absolute;

    width: 100%;

    height: 100%;

    background-image: 

        radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.2) 0%, transparent 50%);

}



.header-gradient {

    position: absolute;

    width: 100%;

    height: 100%;

    background: linear-gradient(180deg, 

        rgba(10, 10, 10, 0) 0%, 

        rgba(10, 10, 10, 1) 100%);

}



.catalog-header-content {

    position: relative;

    z-index: 1;

}



.breadcrumb {

    display: block;

    color: var(--text-muted);

    font-size: 0.85rem;

    margin-bottom: 20px;

    letter-spacing: 1px;

}



.catalog-header-content h1 {

    margin-bottom: 15px;

    background: var(--gradient-gold);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

}



.catalog-header-content p {

    color: var(--text-secondary);

    font-size: 1.1rem;

}



/* Catalog Layout */

.catalog-main {

    padding: 60px 0 100px;

}



.catalog-layout {

    display: grid;

    grid-template-columns: 280px 1fr;

    gap: 40px;

}



@media (max-width: 1024px) {

    .catalog-layout {

        grid-template-columns: 1fr;

    }

}



/* Catalog Sidebar */

.catalog-sidebar {

    position: sticky;

    top: 100px;

    height: fit-content;

}



.filter-section {

    background: var(--bg-secondary);

    border-radius: 15px;

    padding: 25px;

    margin-bottom: 20px;

    border: 1px solid rgba(212, 175, 55, 0.1);

}



.filter-title {

    display: flex;

    justify-content: space-between;

    align-items: center;

    cursor: pointer;

    padding-bottom: 15px;

    border-bottom: 1px solid rgba(212, 175, 55, 0.1);

    margin-bottom: 20px;

}



.filter-title span {

    font-size: 1rem;

    font-weight: 600;

    color: var(--text-primary);

}



.filter-title i {

    color: var(--accent-gold);

    transition: transform var(--transition-fast);

}



.filter-title.active i {

    transform: rotate(180deg);

}



.filter-search {

    position: relative;

    margin-bottom: 15px;

}



.filter-search input {

    width: 100%;

    padding: 10px 35px 10px 15px;

    background: var(--bg-tertiary);

    border: 1px solid rgba(212, 175, 55, 0.2);

    border-radius: 8px;

    color: var(--text-primary);

    font-size: 0.85rem;

}



.filter-search i {

    position: absolute;

    right: 12px;

    top: 50%;

    transform: translateY(-50%);

    color: var(--text-muted);

    font-size: 0.85rem;

}



.filter-list {

    max-height: 300px;

    overflow-y: auto;

}



.filter-list::-webkit-scrollbar {

    width: 4px;

}



.filter-list::-webkit-scrollbar-track {

    background: var(--bg-tertiary);

}



.filter-list::-webkit-scrollbar-thumb {

    background: var(--accent-gold);

    border-radius: 2px;

}



.filter-item {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 10px 0;

    cursor: pointer;

    transition: all var(--transition-fast);

}



.filter-item:hover {

    padding-left: 5px;

}



.filter-item input {

    display: none;

}



.checkmark {

    width: 18px;

    height: 18px;

    border: 1px solid rgba(212, 175, 55, 0.3);

    border-radius: 4px;

    position: relative;

    transition: all var(--transition-fast);

}



.filter-item input:checked + .checkmark {

    background: var(--accent-gold);

    border-color: var(--accent-gold);

}



.filter-item input:checked + .checkmark::after {

    content: '✓';

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    color: var(--bg-primary);

    font-size: 0.7rem;

    font-weight: 700;

}



.label-text {

    flex: 1;

    color: var(--text-secondary);

    font-size: 0.9rem;

}



.filter-item:hover .label-text {

    color: var(--text-primary);

}



.count {

    color: var(--text-muted);

    font-size: 0.8rem;

}



.show-more {

    width: 100%;

    padding: 10px;

    background: transparent;

    border: 1px dashed rgba(212, 175, 55, 0.3);

    border-radius: 8px;

    color: var(--accent-gold);

    font-size: 0.85rem;

    cursor: pointer;

    margin-top: 15px;

    transition: all var(--transition-fast);

}



.show-more:hover {

    border-color: var(--accent-gold);

    background: rgba(212, 175, 55, 0.1);

}



/* Price Range Filter */

.price-range {

    margin-top: 15px;

}



.price-inputs {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

}



.price-input {

    flex: 1;

    padding: 10px;

    background: var(--bg-tertiary);

    border: 1px solid rgba(212, 175, 55, 0.2);

    border-radius: 8px;

    color: var(--text-primary);

    font-size: 0.85rem;

    text-align: center;

}



.price-inputs span {

    color: var(--text-muted);

}



.price-slider {

    position: relative;

    height: 4px;

    margin: 20px 0;

}



.slider-track {

    position: absolute;

    width: 100%;

    height: 4px;

    background: var(--bg-tertiary);

    border-radius: 2px;

}



.slider-thumb {

    position: absolute;

    width: 16px;

    height: 16px;

    background: var(--accent-gold);

    border-radius: 50%;

    top: 50%;

    transform: translateY(-50%);

    cursor: pointer;

    transition: transform var(--transition-fast);

}



.slider-thumb:hover {

    transform: translateY(-50%) scale(1.2);

}



.slider-thumb.left {

    left: 10%;

}



.slider-thumb.right {

    left: 80%;

}



.price-presets {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 10px;

    margin-top: 15px;

}



.preset-btn {

    padding: 8px 12px;

    background: var(--bg-tertiary);

    border: 1px solid rgba(212, 175, 55, 0.2);

    border-radius: 6px;

    color: var(--text-secondary);

    font-size: 0.75rem;

    cursor: pointer;

    transition: all var(--transition-fast);

}



.preset-btn:hover,

.preset-btn.active {

    border-color: var(--accent-gold);

    background: rgba(212, 175, 55, 0.1);

    color: var(--accent-gold);

}



.reset-filters {

    margin-top: 10px;

}



/* Catalog Content */

.catalog-content {

    min-height: 100vh;

}



.catalog-toolbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 30px;

    padding: 20px;

    background: var(--bg-secondary);

    border-radius: 12px;

    border: 1px solid rgba(212, 175, 55, 0.1);

}



.results-info {

    color: var(--text-secondary);

    font-size: 0.9rem;

}



.results-info strong {

    color: var(--accent-gold);

}



.toolbar-actions {

    display: flex;

    align-items: center;

    gap: 20px;

}



.view-toggle {

    display: flex;

    gap: 5px;

}



.view-btn {

    width: 40px;

    height: 40px;

    background: var(--bg-tertiary);

    border: 1px solid rgba(212, 175, 55, 0.2);

    border-radius: 8px;

    color: var(--text-secondary);

    cursor: pointer;

    transition: all var(--transition-fast);

}



.view-btn:hover,

.view-btn.active {

    background: var(--accent-gold);

    border-color: var(--accent-gold);

    color: var(--bg-primary);

}



.sort-dropdown select {

    padding: 10px 40px 10px 15px;

    background: var(--bg-tertiary);

    border: 1px solid rgba(212, 175, 55, 0.2);

    border-radius: 8px;

    color: var(--text-primary);

    font-size: 0.9rem;

    cursor: pointer;

    appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4af37' d='M6 8L1 3h10z'/%3E%3C/svg%3E");

    background-repeat: no-repeat;

    background-position: right 15px center;

}



.sort-dropdown select:focus {

    outline: none;

    border-color: var(--accent-gold);

}



.catalog-grid {

    grid-template-columns: repeat(3, 1fr);

}



@media (max-width: 1200px) {

    .catalog-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 600px) {

    .catalog-grid {

        grid-template-columns: 1fr;

    }

    

    .catalog-toolbar {

        flex-direction: column;

        gap: 15px;

        align-items: flex-start;

    }

}



/* Pagination */

.pagination {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    margin-top: 60px;

}



.page-btn {

    width: 45px;

    height: 45px;

    background: var(--bg-secondary);

    border: 1px solid rgba(212, 175, 55, 0.2);

    border-radius: 8px;

    color: var(--text-secondary);

    font-size: 0.9rem;

    font-weight: 600;

    cursor: pointer;

    transition: all var(--transition-fast);

}



.page-btn:hover,

.page-btn.active {

    background: var(--accent-gold);

    border-color: var(--accent-gold);

    color: var(--bg-primary);

}



.page-btn.prev,

.page-btn.next {

    background: transparent;

}



.page-btn.prev:hover,

.page-btn.next:hover {

    background: rgba(212, 175, 55, 0.1);

    border-color: var(--accent-gold);

    color: var(--accent-gold);

}



.page-ellipsis {

    color: var(--text-muted);

    padding: 0 10px;

}



/* ============================================

   ANIMATIONS & EFFECTS

   ============================================ */

@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.fade-in-up {

    animation: fadeInUp 0.8s ease-out forwards;

}



/* Hover Effects */

.hover-gold:hover {

    color: var(--accent-gold) !important;

}



.hover-glow:hover {

    box-shadow: var(--shadow-gold);

}



/* Selection */

::selection {

    background: rgba(212, 175, 55, 0.3);

    color: var(--text-primary);

}



/* Scrollbar */

::-webkit-scrollbar {

    width: 10px;

}



::-webkit-scrollbar-track {

    background: var(--bg-primary);

}



::-webkit-scrollbar-thumb {

    background: var(--accent-gold);

    border-radius: 5px;

}



::-webkit-scrollbar-thumb:hover {

    background: var(--accent-gold-light);

}



/* Loading State */

.loading {

    position: relative;

    overflow: hidden;

}



.loading::after {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg, 

        transparent, 

        rgba(212, 175, 55, 0.1), 

        transparent);

    animation: loading-shimmer 1.5s infinite;

}



@keyframes loading-shimmer {

    0% { transform: translateX(-100%); }

    100% { transform: translateX(100%); }

}



/* Utility Classes */

.text-center { text-align: center; }

.text-gold { color: var(--accent-gold); }

.bg-dark { background: var(--bg-secondary); }

.mt-20 { margin-top: 20px; }

.mb-20 { margin-bottom: 20px; }

.hidden { display: none; }

/* ============================================

   LANGUAGE SELECTOR

   ============================================ */

.lang-selector {

    position: relative;

    z-index: 1001;

}



.lang-btn {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 10px 15px;

    background: var(--bg-tertiary);

    border: 1px solid rgba(212, 175, 55, 0.3);

    border-radius: 8px;

    color: var(--text-secondary);

    cursor: pointer;

    transition: all var(--transition-fast);

}



.lang-btn:hover {

    border-color: var(--accent-gold);

    color: var(--accent-gold);

}



.lang-btn i:first-child {

    font-size: 1rem;

}



.lang-btn i:last-child {

    font-size: 0.7rem;

}



.current-lang {

    font-size: 0.9rem;

    font-weight: 500;

}



.lang-dropdown {

    display: none;

    position: absolute;

    top: calc(100% + 8px);

    left: 0;

    background: var(--bg-secondary);

    border: 1px solid rgba(212, 175, 55, 0.2);

    border-radius: 8px;

    padding: 8px 0;

    min-width: 140px;

    box-shadow: var(--shadow-lg);

    z-index: 1000;

}



.lang-dropdown.active {

    display: block;

    animation: fadeInDown 0.3s ease;

}



@keyframes fadeInDown {

    from {

        opacity: 0;

        transform: translateY(-10px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.lang-option {

    display: block;

    width: 100%;

    padding: 10px 20px;

    background: transparent;

    border: none;

    color: var(--text-secondary);

    text-align: left;

    cursor: pointer;

    transition: all var(--transition-fast);

    font-size: 0.9rem;

}



.lang-option:hover {

    background: rgba(212, 175, 55, 0.1);

    color: var(--accent-gold);

}



.lang-option.active {

    color: var(--accent-gold);

    font-weight: 600;

    background: rgba(212, 175, 55, 0.05);

}



/* Small button variant */

.btn-small {

    padding: 8px 20px;

    font-size: 0.8rem;

}



/* Wishlist badge */

.wishlist-badge {

    position: absolute;

    top: -8px;

    right: -8px;

    min-width: 18px;

    height: 18px;

    background: var(--accent-gold);

    color: var(--bg-primary);

    border-radius: 9px;

    font-size: 0.7rem;

    font-weight: 700;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0 5px;

}



@media (max-width: 768px) {

    .lang-selector {

        margin-top: 15px;

    }

    

    .lang-btn {

        width: 100%;

        justify-content: center;

    }

    

    .lang-dropdown {

        left: 50%;

        transform: translateX(-50%);

    }

}



/* Floating WhatsApp Buttons */

.floating-whatsapp {

    position: fixed;

    bottom: 30px;

    right: 30px;

    display: flex;

    flex-direction: column;

    gap: 15px;

    z-index: 9999;

}



.float-wa-btn {

    width: 60px;

    height: 60px;

    background: #25D366;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);

    transition: all 0.3s ease;

    text-decoration: none;

}



.float-wa-btn:hover {

    background: #1EBE57;

    transform: scale(1.1);

    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);

}



.float-wa-icon {

    width: 32px;

    height: 32px;

}



/* Mobile responsive */

@media (max-width: 768px) {

    .floating-whatsapp {

        bottom: 20px;

        right: 20px;

        gap: 10px;

    }

    .float-wa-btn {

        width: 50px;

        height: 50px;

    }

    .float-wa-icon {

        width: 26px;

        height: 26px;

    }

}



/* ============================================

   COMPREHENSIVE MOBILE OPTIMIZATION

   ============================================ */



/* Tablet (768px - 1024px) */

@media (max-width: 1024px) {

    :root {

        --section-padding: 70px 0;

    }

    h1 { font-size: 3.5rem; }

    h2 { font-size: 2.5rem; }

    .title-line { font-size: 3.5rem; }

}





/* Large Phone (768px - 900px) */

@media (max-width: 900px) {

    h1 { font-size: 2.8rem; }

    h2 { font-size: 2rem; }

    .title-line { font-size: 2.8rem; }

    .hero-subtitle { font-size: 1rem; }

    .hero-stats { gap: 25px; margin-top: 40px; }

    .stat-number { font-size: 2rem; }

}



/* Phone (600px - 768px) */

@media (max-width: 768px) {

    :root {

        --section-padding: 50px 0;

    }

    h1 { font-size: 2.2rem; }

    h2 { font-size: 1.75rem; }

    h3 { font-size: 1.4rem; }

    .title-line { font-size: 2.2rem; }

    .hero-badge { padding: 8px 20px; }

    .hero-badge span { font-size: 0.75rem; }

    .hero-stats { gap: 20px; margin-top: 30px; flex-wrap: wrap; }

    .stat-number { font-size: 1.8rem; }

    .stat-label { font-size: 0.75rem; }

    .stat-divider { height: 35px; }

    .btn { padding: 13px 28px; font-size: 0.85rem; }

    .hero-cta { gap: 12px; margin-top: 30px; }

    .hero-scroll { bottom: 20px; }

    .section-header h2 { font-size: 1.6rem; }

}



/* Small Phone (480px - 600px) */

@media (max-width: 600px) {

    :root {

        --section-padding: 40px 0;

    }

    h1 { font-size: 1.8rem; }

    h2 { font-size: 1.5rem; }

    h3 { font-size: 1.25rem; }

    .container { padding: 0 15px; }

    .title-line { font-size: 1.8rem; }

    .hero-badge { padding: 6px 15px; margin-bottom: 20px; }

    .hero-subtitle { font-size: 0.9rem; margin-bottom: 30px; }

    .hero-cta { flex-direction: column; align-items: center; gap: 10px; }

    .btn { width: 100%; max-width: 280px; justify-content: center; padding: 13px 20px; }

    .hero-stats { gap: 15px; margin-top: 25px; }

    .stat-item { min-width: 80px; }

    .stat-number { font-size: 1.5rem; }

    .stat-label { font-size: 0.7rem; }

    .stat-divider { height: 30px; }

    .hero-scroll { bottom: 15px; }

    .hero-scroll span { font-size: 0.65rem; }

    .scroll-indicator { width: 20px; height: 34px; }

    .scroll-dot { width: 3px; height: 6px; top: 6px; }

}



/* Tiny Phone (below 480px) */

@media (max-width: 480px) {

    h1 { font-size: 1.5rem; }

    h2 { font-size: 1.3rem; }

    .title-line { font-size: 1.5rem; }

    .hero-subtitle { font-size: 0.85rem; letter-spacing: 0.5px; }

    .hero-stats { gap: 10px; }

    .stat-number { font-size: 1.3rem; }

    .stat-label { font-size: 0.65rem; }

    .hero-cta { padding: 0 10px; }

    .btn { padding: 12px 18px; font-size: 0.8rem; }

}



/* Hero Section Mobile */

@media (max-width: 768px) {

    .hero { min-height: 100svh; }

    .hero-content { padding: 0 15px; max-width: 100%; }

    .hero-stats { display: flex; justify-content: center; gap: 30px; }

    .hero-scroll { display: none; }

}



@media (max-width: 600px) {

    .hero-stats { gap: 15px; }

    .stat-item { text-align: center; }

}

/* Product Card Mobile Touch */

@media (max-width: 768px) {

    .product-image { aspect-ratio: 1 / 1; height: auto; }

    .product-actions {

        opacity: 1;

        transform: translateX(0);

        flex-direction: row;

        top: auto;

        bottom: 10px;

        right: 10px;

        left: 10px;

        justify-content: flex-end;

    }

    .product-card:hover .product-actions {

        opacity: 1;

        transform: translateX(0);

    }

    .action-btn {

        width: 36px;

        height: 36px;

        background: rgba(10, 10, 10, 0.85);

        backdrop-filter: blur(5px);

    }

}

@media (max-width: 480px) {

    .product-image { aspect-ratio: 1 / 1; height: auto; }

    .product-info { padding: 15px; }

    .product-name { font-size: 1rem; }

    .product-brand { font-size: 0.7rem; }

}

/* Featured Products Tabs Mobile */

@media (max-width: 600px) {

    .products-tabs { gap: 8px; margin-bottom: 30px; }

    .tab-btn { padding: 10px 18px; font-size: 0.8rem; }

    .section-header h2 { font-size: 1.4rem; }

    .section-header p { font-size: 0.85rem; }

}

/* Brands Carousel Mobile */

@media (max-width: 480px) {

    .brands-carousel { gap: 20px; }

    .brand-item { padding: 20px 10px; }

    .brand-logo { height: 45px; }

    .brand-name { font-size: 0.65rem; }

}

/* Footer Mobile */

@media (max-width: 768px) {

    .footer { padding: 50px 0 20px; }

    .footer-grid { gap: 30px; margin-bottom: 30px; }

    .footer-social { flex-wrap: wrap; }

    .footer-social a { width: 36px; height: 36px; }

    .footer-social .social-icon-img { width: 18px; height: 18px; }

    .footer-links h4 { font-size: 1rem; margin-bottom: 15px; }

    .footer-links li { margin-bottom: 8px; }

    .footer-links a { font-size: 0.85rem; }

    .footer-bottom { padding-top: 20px; gap: 15px; }

    .footer-bottom p { font-size: 0.75rem; }

    .footer-legal { gap: 15px; flex-wrap: wrap; justify-content: center; }

    .footer-legal a { font-size: 0.75rem; }

}

@media (max-width: 480px) {

    .footer { padding: 40px 0 15px; }

    .footer-grid { grid-template-columns: 1fr; gap: 25px; }

    .footer-social a { width: 34px; height: 34px; }

}

/* Brands Marquee Mobile */

@media (max-width: 768px) {

    .brands-marquee { padding: 20px 0; }

    .marquee-content { gap: 30px; }

    .marquee-content span { font-size: 1.1rem; }

}

/* Featured Products Grid Mobile */

@media (max-width: 480px) {

    .products-grid { gap: 15px; }

    .product-card { border-radius: 10px; }

}

/* Language Selector Mobile */

@media (max-width: 600px) {

    .lang-selector { margin-top: 10px; }

    .lang-btn { font-size: 0.75rem; padding: 6px 10px; }

}

/* Newsletter Mobile */

@media (max-width: 600px) {

    .newsletter { padding: 50px 0; }

    .newsletter-content h2 { font-size: 1.4rem; }

    .newsletter-content p { font-size: 0.85rem; }

    .newsletter-form input { width: 100%; padding: 12px; }

    .newsletter-form button { width: 100%; padding: 12px; }

}

/* About Us Section Mobile */

@media (max-width: 768px) {

    .about-content { gap: 30px; }

    .about-text { padding: 0 15px; }

    .about-stats { gap: 15px; }

}

@media (max-width: 480px) {

    .about-stats { flex-direction: column; gap: 20px; }

    .about-stats .stat-item { text-align: center; }

}

/* Scrollbar - hide on mobile for cleaner look */

@media (max-width: 768px) {

    ::-webkit-scrollbar { width: 0; }

    body { overflow-x: hidden; }

}

/* Prevent text size adjustment on orientation change */

@media (max-width: 768px) {

    html { -webkit-text-size-adjust: 100%; }

}

/* Touch action improvements */

@media (max-width: 768px) {

    .product-card, .category-card, .brand-item, .btn, .tab-btn {

        -webkit-tap-highlight-color: transparent;

    }

    .hero-slideshow { touch-action: pan-y; }

    .products-grid, .categories-grid { gap: 15px; }

}

/* Image loading optimization for mobile */

@media (max-width: 768px) {

    .product-image img, .hero-bg img, .category-card img {

        loading: lazy;

    }

}

/* Safe area insets for notched phones */

@supports (padding: max(0px)) {

    @media (max-width: 768px) {

        .floating-whatsapp {

            bottom: max(20px, env(safe-area-inset-bottom));

            right: max(20px, env(safe-area-inset-right));

        }

        .navbar {

            padding-top: max(0px, env(safe-area-inset-top));

        }

    }

}



/* Catalog Search Box */

.catalog-search {

    margin-bottom: 20px;

}



.catalog-search .search-input {

    width: 100%;

    max-width: 400px;

    padding: 14px 20px;

    padding-left: 45px;

    background: var(--bg-tertiary);

    border: 1px solid var(--accent-gold);

    border-radius: 30px;

    color: var(--text-primary);

    font-size: 14px;

    outline: none;

    transition: all 0.3s ease;

}



.catalog-search .search-input:focus {

    border-color: var(--accent-gold-light);

    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);

}



.catalog-search .search-input::placeholder {

    color: var(--text-muted);

}



.catalog-search {

    position: relative;

}



.catalog-search::before {

    content: "🔍";

    position: absolute;

    left: 15px;

    top: 50%;

    transform: translateY(-50%);

    font-size: 16px;

    opacity: 0.6;

}



/* ============================================

   MOBILE COMPREHENSIVE OPTIMIZATION

   ============================================ */



/* Prevent iOS zoom on input focus */

@media screen and (max-width: 768px) {

    input, select, textarea, .search-input {

        font-size: 16px !important;

    }

    

    /* 触摸友好：按钮最小尺寸 */

    .product-actions a,

    .product-actions button,

    .btn,

    .cta-button,

    .nav-links a {

        min-height: 44px;

        min-width: 44px;

        padding: 12px 20px;

    }

    

    /* 品牌卡片移动端优化 */

    .brand-card {

        min-height: 120px;

        padding: 15px;

    }

    

    .brand-card h3 {

        font-size: 14px;

    }

    

    /* 产品卡片移动端优化 */

    .product-card {

        margin-bottom: 15px;

        padding: 10px;

    }

    

    .product-card img {

        height: 180px;

        object-fit: cover;

    }

    

    .product-info {

        padding: 10px;

    }

    

    .product-name {

        font-size: 13px;

        line-height: 1.4;

    }

    

    .product-brand {

        font-size: 11px;

    }

    

    /* 侧边栏筛选器移动端优化 */

    .filter-section {

        padding: 10px;

        margin-bottom: 10px;

    }

    

    .filter-section h3 {

        font-size: 14px;

        padding: 10px 0;

    }

    

    .filter-options label {

        padding: 10px 8px;

        font-size: 13px;

        display: block;

    }

    

    /* 导航栏移动端优化 */

    .nav-links {

        padding: 10px;

    }

    

    /* Footer移动端优化 */

    .footer-links {

        padding: 20px 10px;

    }

    

    .footer-links > div {

        min-width: 100%;

        margin-bottom: 20px;

    }

    

    /* WhatsApp悬浮按钮刘海屏适配 */

    .floating-whatsapp-container {

        bottom: calc(30px + env(safe-area-inset-bottom)) !important;

        right: calc(30px + env(safe-area-inset-right)) !important;

    }

    

    /* Hero标题更小但可读 */

    .hero h1 {

        font-size: 1.8rem !important;

        line-height: 1.2;

    }

    

    .hero p {

        font-size: 0.9rem !important;

    }

    

    /* 分类卡片移动端 */

    .category-card {

        min-height: 100px;

    }

    

    .category-card h3 {

        font-size: 14px;

    }

    

    /* 社交图标移动端 */

    .footer-social a {

        width: 44px;

        height: 44px;

    }

    

    /* 移动端禁止长按菜单 */

    * {

        -webkit-touch-callout: none !important;

    }

    

    /* 移除移动端hover效果（会导致意外触发） */

    a:hover, button:hover, .product-card:hover {

        /* 禁用hover过渡 */

    }

    

    /* 平滑滚动 */

    html {

        scroll-behavior: smooth;

        -webkit-overflow-scrolling: touch;

    }

    

    /* 防止水平滚动 */

    body {

        overflow-x: hidden;

        max-width: 100vw;

    }

    

    /* 产品网格移动端单列 */

    .products-grid {

        display: grid;

        grid-template-columns: 1fr;

        gap: 15px;

    }

    

    /* 品牌网格移动端 */

    .brands-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 10px;

    }

    

    /* 搜索框全宽 */

    .catalog-search,

    .search-box {

        width: 100% !important;

        margin-bottom: 15px;

    }

    

    /* 排序下拉全宽 */

    .catalog-toolbar select {

        width: 100%;

        margin-bottom: 10px;

    }

    

    /* 结果计数 */

    .result-count {

        font-size: 13px;

        padding: 8px;

    }

    

    /* 重置按钮全宽 */

    .reset-filters-btn {

        width: 100%;

        padding: 14px;

        font-size: 14px;

    }

    

    /* 语言切换器移动端 */

    .language-selector {

        padding: 8px 12px;

        font-size: 12px;

    }

}



/* 超小屏幕额外优化 (iPhone SE / 小屏手机) */

@media screen and (max-width: 375px) {

    .hero h1 {

        font-size: 1.5rem !important;

    }

    

    .product-card img {

        height: 150px;

    }

    

    .brands-grid {

        grid-template-columns: 1fr;

    }

    

    .footer-social {

        flex-wrap: wrap;

        justify-content: center;

    }

    

    .floating-whatsapp-container a {

        width: 50px !important;

        height: 50px !important;

    }

}



/* 横屏模式优化 */

@media screen and (orientation: landscape) and (max-height: 500px) {

    .hero {

        min-height: auto;

        padding: 40px 0;

    }

    

    .hero h1 {

        font-size: 1.4rem !important;

    }

}



/* ============================================

   PAGINATION (Catalog Page)

   ============================================ */

.pagination-wrapper {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 16px;

    margin-top: 40px;

    padding: 24px 0;

    border-top: 1px solid rgba(255,215,0,0.15);

}



.pagination {

    display: flex;

    align-items: center;

    gap: 8px;

    list-style: none;

    padding: 0;

    margin: 0;

    flex-wrap: wrap;

    justify-content: center;

}



.pagination li {

    margin: 0;

}



.pagination a,

.pagination span {

    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 42px;

    height: 42px;

    padding: 0 14px;

    border-radius: 10px;

    font-size: 0.9rem;

    font-weight: 600;

    color: var(--text-secondary);

    background: rgba(255,255,255,0.04);

    border: 1px solid rgba(255,255,255,0.08);

    text-decoration: none;

    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);

    cursor: pointer;

}



.pagination a:hover {

    color: var(--gold);

    border-color: var(--gold);

    background: rgba(255,215,0,0.08);

    transform: translateY(-2px);

}



.pagination .active span,

.pagination .active a {

    color: #000;

    background: linear-gradient(135deg, #d4a855, #f5d77a, #d4a855);

    border-color: transparent;

    box-shadow: 0 4px 15px rgba(212,168,85,0.3);

    cursor: default;

}



.pagination .disabled span,

.pagination .disabled a {

    opacity: 0.3;

    pointer-events: none;

}



.pagination .ellipsis {

    border: none;

    background: none;

    color: var(--text-muted);

    cursor: default;

    min-width: 32px;

}



.pagination-info {

    font-size: 0.85rem;

    color: var(--text-muted);

}



.pagination-info strong {

    color: var(--gold);

    font-weight: 700;

}



/* Per-page selector */

.per-page-selector {

    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 0.85rem;

    color: var(--text-muted);

}



.per-page-selector select {

    padding: 6px 12px;

    border-radius: 8px;

    border: 1px solid rgba(255,255,255,0.1);

    background: rgba(255,255,255,0.05);

    color: var(--text-primary);

    font-size: 0.85rem;

    cursor: pointer;

    outline: none;

    transition: border-color 0.2s;

}



.per-page-selector select:focus {

    border-color: var(--gold);

}



/* ═══════════════════════════════════════════
   Mobile Optimization v2 - Miya Store
   ═══════════════════════════════════════════ */

/* ── Index Page: Nav & Hero ─────────────── */
@media (max-width: 768px) {
    .nav-container { padding: 0 16px !important; }
    .logo-text { font-size: 1.4rem !important; }
    .logo-accent { font-size: 0.9rem !important; }
    
    .hero { 
        padding: 80px 20px 50px !important; 
        min-height: auto !important;
    }
    .hero h1 { 
        font-size: 1.8rem !important; 
        letter-spacing: 3px !important;
    }
    .hero p { 
        font-size: 0.9rem !important; 
        max-width: 100% !important;
    }
    
    /* Category Grid - 2 columns on tablet */
    .category-grid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 12px !important; 
        padding: 0 12px !important;
    }
    .category-card { 
        padding: 24px 16px !important; 
        border-radius: 12px !important;
    }
    .category-card h3 { font-size: 1rem !important; }
    .category-card p { font-size: 0.8rem !important; }
    
    /* Partner Brands Showcase - 2 col */
    .brands-showcase { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 10px !important;
        padding: 0 12px !important;
    }
    .brand-item { 
        padding: 16px 12px !important; 
        border-radius: 10px !important;
    }
    .brand-logo-text { font-size: 0.75rem !important; }
    
    /* CTA Section */
    .cta { padding: 50px 20px !important; }
    .cta h2 { font-size: 1.5rem !important; }
    
    /* Footer - stack vertically */
    .footer-content { 
        grid-template-columns: 1fr !important; 
        gap: 24px !important;
        text-align: center !important;
    }
    .footer-bottom { 
        flex-direction: column !important; 
        gap: 12px !important; 
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .nav-container { padding: 0 12px !important; }
    .logo-text { font-size: 1.2rem !important; }
    .logo-accent { font-size: 0.75rem !important; }
    
    .hero { 
        padding: 60px 16px 40px !important; 
    }
    .hero h1 { 
        font-size: 1.4rem !important; 
        letter-spacing: 2px !important;
    }
    .hero p { font-size: 0.82rem !important; }
    
    /* Category Grid - 1 column on phone */
    .category-grid { 
        grid-template-columns: 1fr !important; 
        gap: 10px !important;
        padding: 0 8px !important;
    }
    .category-card { 
        padding: 20px 14px !important; 
    }
    
    /* Brands Showcase - 1 col on small phones */
    .brands-showcase { 
        grid-template-columns: 1fr !important; 
        gap: 8px !important;
        padding: 0 8px !important;
    }
    
    .btn-primary, .btn-secondary { 
        padding: 12px 24px !important; 
        font-size: 0.85rem !important;
    }
}

/* ── Brands.html Enhancements ─────────────── */
@media (max-width: 900px) {
    .brands-page .grid, 
    .brands-page [class*="brand-grid"],
    #brandGrid {
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 10px !important;
        padding: 0 12px !important;
    }
}

@media (max-width: 600px) {
    .brands-page .grid,
    .brands-page [class*="brand-grid"],
    #brandGrid {
        grid-template-columns: 1fr !important; 
        gap: 8px !important;
        padding: 0 8px !important;
    }
}


/* ============================================
   LIGHTBOX - Fullscreen Image Viewer
   ============================================ */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: zoom-out;
    -webkit-tap-highlight-color: transparent;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay img {
    max-width: 92vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    cursor: default;
}

.lightbox-overlay.active img {
    transform: scale(1);
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-product-info {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    z-index: 100000;
    pointer-events: none;
}

.lightbox-product-info .brand {
    font-size: 0.8rem;
    color: #d4af37;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.lightbox-product-info .name {
    font-size: 1rem;
    color: #e0e0e0;
}


/* Hide featured products section on mobile */
@media (max-width: 768px) {
    .featured-products {
        display: none !important;
    }
}
