* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
button, a, [onclick], .cart-icon, .user-icon, .menu-toggle, .product-img-container, .thumb-img, .remove-item { 
    outline: none !important; 
    -webkit-tap-highlight-color: transparent; 
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; 
}
body { background-color: #f9f9f9; overflow-x: hidden; }

/* Navbar */
.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 20px 2%; 
    background: #000; 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.3); 
    transition: background 0.4s ease, box-shadow 0.4s ease; 
}
.navbar.transparent { background: transparent !important; box-shadow: none !important; }
.navbar.scrolled { background: #000 !important; box-shadow: 0 2px 15px rgba(0,0,0,0.5) !important; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; cursor: pointer; }
.logo-img { height: 45px; width: auto; object-fit: contain; }
.desktop-nav { display: flex; list-style: none; gap: 40px; }
.desktop-nav a { 
    text-decoration: none; 
    color: #fff; 
    font-weight: 800; 
    font-size: 15px; 
    opacity: 0.85; 
    transition: 0.3s; 
    text-transform: uppercase;
    letter-spacing: 1px;
}
.desktop-nav a:hover { opacity: 1; }
.desktop-nav a.active { opacity: 1; border-bottom: 2px solid #fff; }
.nav-icons { display: flex; align-items: center; gap: 25px; }
.cart-icon { font-size: 26px; cursor: pointer; position: relative; color: #fff !important; }


/* Menu Toggle */
.menu-toggle { display: none; font-size: 22px; cursor: pointer; color: #fff !important; }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100%;
    background: #fff;
    z-index: 5000;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 30px 25px;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    left: 0;
}

@media (max-width: 768px) {
    .mobile-menu {
        left: -320px;
        top: 0;
        bottom: 0;
        width: 300px;
        height: 100vh;
        max-height: none;
        border-radius: 0;
        padding: 40px 25px 50px;
        box-shadow: 15px 0 40px rgba(0,0,0,0.15);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        background: #fff;
    }
    
    .mobile-menu.active {
        left: 0;
        bottom: 0;
    }

    .mobile-menu-header {
        margin-bottom: 30px;
        border-bottom: 1px solid #f5f5f5;
        padding-bottom: 20px;
    }

    .mobile-nav-links li {
        margin-bottom: 15px;
        border-bottom: 1px solid #f9f9f9;
        padding-bottom: 15px;
    }
    
    .mobile-nav-links a {
        font-size: 18px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 700;
        color: #111;
    }
}
.mobile-menu-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 40px; border-bottom: 1px solid #eee; padding-bottom: 15px;
}
.mobile-menu-header i { font-size: 18px; cursor: pointer; color: #333; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #f0f0f0; transition: all 0.3s ease; }
.mobile-menu-header i:hover { background: #ff4757; color: #fff; transform: rotate(90deg); }
.mobile-nav-links { list-style: none; }
.mobile-nav-links li { margin-bottom: 25px; }
.mobile-nav-links a {
    text-decoration: none; color: #333; font-size: 18px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
}
.mobile-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 4500; display: none;
}
.mobile-overlay.active { display: block; }

/* User Dropdown */
.user-dropdown.show {
    display: block;
}

.user-dropdown-header {
    background: #fcfcfc;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}

.user-hi {
    font-size: 15px;
    font-weight: 800;
    color: #111;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.user-email {
    font-size: 12px;
    color: #888;
    margin: 0;
    display: block;
    word-break: break-all;
    font-weight: 500;
}

.user-dropdown-item {
    padding: 15px 20px;
    font-size: 14px;
    color: #333;
    transition: 0.2s;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    cursor: pointer;
}

.user-dropdown-item i {
    font-size: 18px;
    color: #444;
    width: 20px;
}

.user-dropdown-item:last-child {
    border: none;
    color: #ff4757;
}

.user-dropdown-item.logout {
    color: #ff4757;
}

.user-dropdown-item.logout i {
    color: #ff4757;
}

.user-dropdown-item:hover {
    background: #fafafa;
    padding-left: 24px;
}

/* Hero Section & Hover Fix */
.hero { 
    height: 85vh; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    color: #fff; 
    background-color: #000; /* Fixes the grey flash */
    position: relative; 
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    background-size: cover;
    background-position: center;
    transition: opacity 1.2s ease-in-out;
    z-index: 0;
    opacity: 0;
}
.hero-slide.active {
    opacity: 1;
}
.hero::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.65); z-index: 1; }
.hero-content { position: relative; z-index: 2; width: 100%; padding: 0 20px; }
.hero-content h1 { font-size: clamp(35px, 7vw, 65px); text-transform: uppercase; margin-bottom: 20px; letter-spacing: 5px; font-weight: 800; }

.cta-btn { 
    display: inline-block; padding: 16px 45px; background: #fff; color: #000; 
    text-decoration: none; font-weight: 700; border-radius: 50px; transition: 0.3s ease; 
    margin-top: 30px; border: 2px solid #fff; 
}
.cta-btn:hover { background: transparent; color: #fff; transform: translateY(-3px); }

/* Product Grid & Select Options Button */
.section { padding: 60px 5%; text-align: center; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; } }
.product-card { 
    background: rgba(255, 255, 255, 0.5); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    padding: 12px; 
    border-radius: 10px; 
    text-align: center; 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.product-card:hover { 
    transform: translateY(-8px);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.product-img-container { 
    position: relative; 
    width: 100%; 
    aspect-ratio: 3/4; 
    overflow: hidden; 
    border-radius: 6px; 
    background: #fdfdfd;
}
.product-img-container img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    position: absolute; 
    left: 0; 
    top: 0;
    transition: transform 0.8s ease; 
}
.img-hover { opacity: 0; }
.product-card:hover .img-main { opacity: 0; }
.product-card:hover .img-hover { opacity: 1; transform: scale(1.05); }

.product-info-glass {
    padding: 15px 0 5px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.product-card h3 {
    font-size: 14px; 
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.price-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.price-regular { font-size: 15px; font-weight: 800; color: #000; }
.price-sale { font-size: 16px; font-weight: 900; color: #ff4757; }
.price-original { font-size: 12px; text-decoration: line-through; color: #aaa; font-weight: 600; }

.sale-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4757;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.5px;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(255, 71, 87, 0.2);
}

/* Fixed Gallery Modal Size */
.modal { display: none; position: fixed; z-index: 3000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(4px); }
.modal-content { 
    background: #fff; margin: 8vh auto; padding: 20px; width: 90%; max-width: 650px; 
    border-radius: 15px; position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.3); 
}
.close-modal { position: absolute; right: 15px; top: 10px; font-size: 28px; cursor: pointer; color: #333; }
.modal-body { display: flex; gap: 20px; flex-wrap: wrap; text-align: left; }

.modal-img-section { flex: 1; min-width: 250px; text-align: center; }
#modal-img-src { width: 100%; height: 350px; object-fit: cover; border-radius: 10px; }
.thumbnail-container { display: flex; gap: 8px; margin-top: 12px; justify-content: center; }
.thumb-img { width: 50px; height: 65px; object-fit: cover; border-radius: 4px; cursor: pointer; border: 2px solid transparent; transition: 0.2s; }
.thumb-img.active { border-color: #000; }

.modal-info { flex: 1.2; min-width: 250px; }
.modal-info h2 { font-size: 22px; margin-bottom: 5px; color: #111; }
.modal-price-tag { font-size: 19px; font-weight: bold; margin-bottom: 12px; color: #ff4757; }
.description { font-size: 14px; color: #666; line-height: 1.5; margin-bottom: 15px; }

/* Controls */
.size-selector { display: flex; gap: 8px; margin: 10px 0; }
.size-btn { width: 35px; height: 35px; border: 1px solid #ddd; background: #fff; cursor: pointer; font-weight: bold; border-radius: 5px; transition: 0.2s; }
.size-btn.selected { background: #000; color: #fff; border-color: #000; }

.qty-selector { display: flex; align-items: center; gap: 15px; margin: 20px 0; font-weight: bold; }
.qty-controls { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 5px; overflow: hidden; }
.qty-controls button { width: 35px; height: 35px; border: none; background: #f8f8f8; cursor: pointer; font-size: 18px; }
.qty-controls span { width: 45px; text-align: center; }

.add-to-cart { width: 100%; padding: 15px; background: #000; color: #fff; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; text-transform: uppercase; }

/* Cart Styling */
.cart-sidebar { position: fixed; top: 0; right: -400px; width: 360px; height: 100%; background: #fff; z-index: 2000; transition: 0.4s; display: flex; flex-direction: column; }
.cart-sidebar.open { right: 0; }
.cart-header { padding: 20px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.cart-items-container { flex: 1; overflow-y: auto; padding: 20px; }
.cart-item { display: flex; gap: 15px; margin-bottom: 15px; align-items: center; border-bottom: 1px solid #f9f9f9; padding-bottom: 10px; }
.cart-item img { width: 60px; height: 80px; object-fit: cover; border-radius: 5px; }
.remove-item { color: #ff4757; cursor: pointer; margin-left: auto; font-size: 18px; }

.cart-footer { padding: 20px; border-top: 1px solid #eee; }
.cart-total { display: flex; justify-content: space-between; font-weight: bold; font-size: 18px; margin-bottom: 15px; }
.checkout-btn { width: 100%; padding: 15px; background: #000; color: #fff; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; }
.cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1500; display: none; }
.cart-overlay.show { display: block; }

/* Footer */
.footer { background: #111; color: #fff; }
.footer-inner { display: flex; gap: 40px; padding: 60px 5%; flex-wrap: wrap; }
.footer-brand { flex: 2; min-width: 200px; }
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; margin-bottom: 15px; }
.footer-logo-img { height: 60px; width: auto; object-fit: contain; }
.footer-wordmark { height: 28px; width: auto; object-fit: contain; }
.footer-tagline { color: #888; font-size: 14px; line-height: 1.8; }
.footer-links, .footer-contact { flex: 1; min-width: 150px; }
.footer-links h4, .footer-contact h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; color: #fff; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { color: #888; text-decoration: none; font-size: 14px; transition: 0.2s; }
.footer-links ul li a:hover { color: #fff; padding-left: 5px; }
.footer-contact p { color: #888; font-size: 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.footer-bottom { border-top: 1px solid #222; padding: 20px 5%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.footer-bottom p { color: #555; font-size: 13px; }
.footer-socials { display: flex; gap: 15px; }
.footer-socials a { color: #555; font-size: 18px; transition: 0.2s; }
.footer-socials a:hover { color: #fff; }

/* Sale Badge */
.sale-badge { position: absolute; top: 10px; right: 10px; background: #ff4757; color: #fff; padding: 4px 8px; font-size: 10px; font-weight: 800; border-radius: 4px; letter-spacing: 1px; z-index: 5; }

/* Price Styles */
.price-container { margin-top: 8px; margin-bottom: 10px; }
.price-sale { font-weight: 800; color: #ff4757; font-size: 16px; }
.price-regular { font-weight: 800; color: #111; font-size: 16px; }
.price-original { text-decoration: line-through; color: #aaa; font-size: 13px; }

/* Announcement bar */
#announcement-bar { display: none; background: #000; color: #fff; text-align: center; padding: 10px; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }

/* Category Grid */
.category-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
    padding: 0 5% 60px;
}
.category-card { 
    position: relative; height: 400px; overflow: hidden; border-radius: 12px;
    cursor: pointer; transition: 0.4s;
}
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.category-card:hover img { transform: scale(1.08); }
.category-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.category-overlay { 
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px 20px; color: #fff;
}
.category-overlay h3 { font-size: 22px; font-weight: 800; letter-spacing: 2px; }

/* Section title */
.section-title { font-size: 28px; font-weight: 800; text-transform: uppercase; margin-bottom: 40px; text-align: center; }/* See More Button */
.see-more-container { margin-top: 50px; text-align: center; }
.see-more-btn { display: inline-block; padding: 15px 40px; background: transparent; color: #000; text-decoration: none; font-weight: 700; border: 2px solid #000; border-radius: 5px; transition: 0.3s all ease; text-transform: uppercase; font-size: 14px; letter-spacing: 1px; }
.see-more-btn:hover { background: #000; color: #fff; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* Lookbook section */
.lookbook-section { padding: 60px 5%; background: #fff; }
.lookbook-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.lookbook-header h2 { font-size: 28px; font-weight: 800; text-transform: uppercase; }
.lookbook-header p { color: #666; margin-top: 5px; }

.video-scroll-container { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; scrollbar-width: none; }
.video-scroll-container::-webkit-scrollbar { display: none; }
.video-card { position: relative; min-width: 300px; height: 450px; border-radius: 12px; overflow: hidden; cursor: pointer; }
.video-bg { width: 100%; height: 100%; object-fit: cover; }
.video-badge-new { position: absolute; top: 15px; left: 15px; background: #fff; color: #000; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 20px; z-index: 2; }
.video-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: #fff; z-index: 2; }
.video-title { font-size: 20px; font-weight: 800; }
.video-subtitle { font-size: 13px; opacity: 0.8; }
.play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; background: rgba(255,255,255,0.3); backdrop-filter: blur(5px); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; z-index: 2; transition: 0.3s; }
.video-card:hover .play-icon { background: #fff; color: #000; }

/* Mobile Responsive */
@media (max-width: 900px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: block; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); }
    .navbar { position: relative; justify-content: flex-end; padding: 20px 4%; }
    .navbar .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
    .navbar .nav-icons { margin-left: auto; }
    .user-name-label { display: none !important; }
    .user-icon { padding: 0 !important; background: transparent !important; border: none !important; }
    .category-grid { grid-template-columns: 1fr; }
    .category-card { height: 280px; }
}

@media (max-width: 600px) {
    .cart-sidebar { width: 100%; right: -100%; }
    .modal-content { padding: 15px; margin: 1vh auto; width: 98%; }
    .add-to-cart { padding: 18px; font-size: 16px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .section { padding: 30px 10px; }
    .product-card { padding: 10px; border-radius: 10px; }
    .product-img-container { aspect-ratio: 3/4; height: auto; }
    .product-card h3 { font-size: 14px; min-height: 2.8em; }
    .price-sale, .price-regular { font-size: 14px; }
    .price-original { font-size: 11px; }
    .select-opt-btn { padding: 10px; font-size: 11px; }
}