:root{
        --primary: #6367FF;
            --primary-dark: #4E51D1;
            --white: #FFFFFF;
            --black: #111111;
            --bg-light: #F8F9FF;
            --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            --shadow: 0 10px 30px rgba(99, 103, 255, 0.1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Inter', sans-serif; color: var(--black); background: var(--white); overflow-x: hidden; scroll-behavior: smooth; }

        .cookie-regular { font-family: 'Cookie', cursive; }
        a { text-decoration: none; color: inherit; transition: var(--transition); cursor: pointer; }
        ul { list-style: none; }

        /* --- HEADER --- */
        header {
            background: var(--white);
            padding: 1rem 5%;
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid rgba(99, 103, 255, 0.1);
        }

        .nav-container { display: flex; align-items: center; justify-content: space-between; max-width: 1400px; margin: 0 auto; }
        .logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); letter-spacing: -1px; }
        
        .nav-links { display: flex; gap: 2rem; font-weight: 500; }
        .nav-links a { position: relative; padding: 5px 0; }
        .nav-links a::after {
            content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
            background: var(--primary); transition: var(--transition);
        }
        .nav-links a:hover::after { width: 100%; }

        .nav-actions { display: flex; align-items: center; gap: 1.5rem; }
        
        .search-box {
            position: relative;
            display: flex;
            align-items: center;
        }
        .search-box input {
            padding: 10px 40px 10px 15px;
            border-radius: 50px;
            border: 1px solid var(--primary);
            font-family: 'Inter';
            width: 220px;
            transition: var(--transition);
        }
        .search-box input:focus { outline: none; box-shadow: 0 0 10px rgba(99, 103, 255, 0.2); width: 280px; }
        .search-box i { position: absolute; right: 15px; color: var(--primary); }

        .cart-icon { position: relative; transition: var(--transition); cursor: pointer; }
        .cart-icon:hover { transform: scale(1.1); }
        .cart-badge {
            position: absolute; top: -8px; right: -8px; background: var(--primary);
            color: var(--white); font-size: 10px; width: 18px; height: 18px;
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
        }

        /* --- MARQUEE --- */
        .marquee-wrapper {
            background: var(--primary);
            color: var(--white);
            padding: 12px 0;
            overflow: hidden;
            white-space: nowrap;
        }
        .marquee-content {
            display: inline-block;
            animation: marquee 30s linear infinite;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 0.9rem;
        }
        @keyframes marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        /* Hide hamburger on desktop */
.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Tablet & Mobile */
@media (max-width: 992px) {

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fffafa;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 30px 0;
        display: none;
        animation: fadeDown 0.3s ease;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        margin-right: 15px;
    }

    .search-box {
        display: none;
    }

    .nav-container {
        position: relative;
    }
}

/* Smaller screens */
@media (max-width: 600px) {

    .search-box {
        display: none;
    }

    .nav-actions #authLinks {
        display: none;
    }
}

/* Simple animation */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

        /* --- HERO --- */
        .hero {
            height: 130vh;
            background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://i.pinimg.com/736x/0f/e9/98/0fe998ccdd1dc0a1ebf345a9e74ba50b.jpg');
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            padding: 0 10%;
        }

        .hero-card {
            background: var(--white);
            padding: 50px;
            border-radius: 12px;
            width: 450px;
            box-shadow: 0 25px 50px rgba(0,0,0,0.15);
            animation: fadeUp 1s ease-out;
        }
        .hero-card h1 { font-size: 4.5rem; color: var(--primary); margin-bottom: 1rem; line-height: 1; }
        .hero-card p { color: var(--black); opacity: 0.8; margin-bottom: 2.5rem; line-height: 1.6; }

        .btn {
            padding: 15px 30px;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: inline-block;
            border: none;
            font-family: 'Inter';
        }
        .btn-primary { background: var(--primary); color: var(--white); }
        .btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); }
        .btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
        .btn-outline:hover { background: var(--primary); color: var(--white); }

        /* --- PRODUCT GRID --- */
        .section { padding: 100px 8%; }
        .section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 50px; text-align: center; }
        
        .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
        .product-card {
            background: var(--white);
            border-radius: 12px;
            overflow: hidden;
            transition: var(--transition);
            position: relative;
        }
        .product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
        .product-img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: var(--transition); }
        .product-card:hover .product-img { transform: scale(1.05); }
        .product-info { padding: 20px; }
        .product-info h3 { font-size: 1.2rem; margin-bottom: 10px; }
        .product-info .price { font-weight: 700; color: var(--primary); font-size: 1.3rem; }
        
        .quick-add {
            position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(20px);
            opacity: 0; transition: var(--transition); width: 80%;
        }
        .product-card:hover .quick-add { opacity: 1; transform: translateX(-50%) translateY(0); }

        /* --- FEATURES --- */
        .features { background: var(--bg-light); display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 100px 8%; }
        .feature-item { text-align: center; }
        .feature-icon { color: var(--primary); margin-bottom: 20px; }
        .feature-item h4 { margin-bottom: 10px; font-size: 1.2rem; }

        /* --- MASONRY GALLERY --- */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: repeat(2, 300px);
            gap: 15px;
        }
        .gallery-item { position: relative; overflow: hidden; border-radius: 8px; }
        .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
        .gallery-overlay {
            position: absolute; inset: 0; background: rgba(99, 103, 255, 0.8);
            display: flex; align-items: center; justify-content: center;
            opacity: 0; transition: var(--transition); color: var(--white); font-weight: 700;
        }
        .gallery-item:hover .gallery-overlay { opacity: 1; }
        .gallery-item:hover img { transform: scale(1.1); }
        .item-lg { grid-column: span 2; grid-row: span 2; }

        /* --- TESTIMONIALS --- */
        .testimonials { background: var(--primary); color: var(--white); text-align: center; }
        .testi-track { display: flex; transition: var(--transition); }
        .testi-card { min-width: 100%; padding: 40px; }
        .stars { color: #FFD700; margin-bottom: 20px; }

        /* --- SHOP PAGE --- */
        .shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 50px 5%; }
        .sidebar-widget { margin-bottom: 40px; }
        .sidebar-widget h4 { margin-bottom: 20px; font-size: 1.2rem; border-bottom: 2px solid var(--primary); padding-bottom: 10px; }
        .filter-list li { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; cursor: pointer; }
        .filter-list li:hover { color: var(--primary); }

        /* --- AUTH --- */
        .auth-box { max-width: 450px; margin: 100px auto; padding: 40px; background: var(--bg-light); border-radius: 12px; }
        .input-group { margin-bottom: 20px; }
        .input-group label { display: block; margin-bottom: 8px; font-weight: 600; }
        .input-group input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-family: 'Inter'; }
        .input-group input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(99, 103, 255, 0.1); }

        /* --- FOOTER --- */
        footer { background: #4E51D1; color: var(--white); padding: 80px 5% 20px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 60px; margin-bottom: 60px; }
        .footer-logo { font-size: 1.8rem; font-weight: 800; margin-bottom: 20px; }
        .footer-links h5 { font-size: 1.2rem; margin-bottom: 25px; }
        .footer-links li { margin-bottom: 12px; opacity: 0.8; }
        .footer-links li:hover { opacity: 1; padding-left: 5px; transition: 0.3s; }
        .social-icons { display: flex; gap: 15px; margin-top: 20px; }

        /* --- ANIMATIONS --- */
        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .page { display: none; }
        .page.active { display: block; animation: fadeUp 0.6s ease-out; }

        /* --- MODAL --- */
        .modal {
            position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 2000;
            display: none; align-items: center; justify-content: center; padding: 20px;
        }
        .modal-body {
            background: var(--white); max-width: 900px; width: 100%; display: grid;
            grid-template-columns: 1fr 1fr; border-radius: 12px; overflow: hidden; position: relative;
        }

        /* --- SEARCH OVERLAY --- */
        #searchOverlay {
            position: fixed; inset: 0; background: var(--white); z-index: 3000;
            display: none; flex-direction: column; padding: 50px 10%;
        }

        @media (max-width: 1024px) {
            .hero { justify-content: center; }
            .features, .footer-grid { grid-template-columns: repeat(2, 1fr); }
            .shop-layout { grid-template-columns: 1fr; }
            .gallery-grid { grid-template-columns: repeat(2, 1fr); }
        }

/* ===== ABOUT PAGE ===== */

.about-hero {
    text-align: center;
    margin-bottom: 80px;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.about-section img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.about-text p {
    line-height: 1.9;
    opacity: 0.85;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 100px;
    text-align: center;
}

.about-features h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.about-timeline {
    max-width: 800px;
    margin: 0 auto 100px;
}

.timeline-item {
    padding: 20px;
    border-left: 3px solid var(--primary);
    margin-bottom: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

/* ===== CONTACT PAGE ===== */

.contact-box {
    background: var(--bg-light);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.contact-box h1 {
    color: var(--primary);
    margin-bottom: 40px;
}

.contact-box input,
.contact-box textarea {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-family: 'Inter';
    transition: var(--transition);
}

.contact-box input:focus,
.contact-box textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,103,255,0.15);
}

.btn-luxury {
    padding: 15px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-luxury:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
    .about-section {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}
/* MODAL BACKGROUND */
.footer-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(6px);
}

/* MODAL BOX */
.footer-modal-content {
    background: #111;
    color: white;
    width: 90%;
    max-width: 600px;
    padding: 40px;
    border-radius: 18px;
    position: relative;
    animation: fadeUp 0.4s ease;
}

/* CLOSE BUTTON */
.footer-close {
    position: absolute;
    top: 18px;
    right: 25px;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
}

.footer-close:hover {
    opacity: 1;
}