/* === CONSOLIDATED & CLEANED CSS === */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #1a1a1a; --secondary: #ff6b35; --accent: #f4f4f4; --text: #333333;
    --light-text: #666666; --white: #ffffff; --border: #e0e0e0; --success: #10b981;
    --shadow: 0 4px 12px rgba(0,0,0,0.08); --transition: all 0.3s ease;
}
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: var(--text); background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
button, .btn { cursor: pointer; transition: var(--transition); border: none; font-family: inherit; }
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 1rem; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; line-height: 1.2; margin-bottom: 0.5rem; }
h1 { font-size: 3rem; } h2 { font-size: 2.25rem; } h3 { font-size: 1.75rem; } h4 { font-size: 1.25rem; }

/* Header & Navigation */
header { position: fixed; top: 0; left: 0; width: 100%; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; }
.logo { font-family: 'Playfair Display', serif; font-size: 1.75rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 0.5rem; }
.logo img { height: 40px; width: auto; }
.logo i { color: var(--secondary); font-size: 1.5rem; }
.nav-desktop { display: flex; gap: 2rem; align-items: center; }
.nav-desktop a { font-weight: 500; color: var(--text); position: relative; padding: 0.5rem 0; }
.nav-desktop a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--secondary); transition: var(--transition); }
.nav-desktop a:hover::after { width: 100%; }
.nav-actions { display: flex; gap: 1rem; align-items: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--text); position: relative; }
.icon-btn:hover { background: var(--secondary); color: white; }
.cart-count { position: absolute; top: -6px; right: -6px; background: var(--secondary); color: white; font-size: 0.65rem; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.mobile-menu-toggle { display: none; font-size: 1.5rem; color: var(--primary); }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; background: white; padding: 5rem 2rem 2rem; transition: var(--transition); z-index: 2000; box-shadow: -5px 0 15px rgba(0,0,0,0.1); }
.mobile-menu.open { right: 0; }
.mobile-menu ul { list-style: none; margin-bottom: 2rem; }
.mobile-menu li { margin-bottom: 1rem; }
.mobile-menu a { font-weight: 500; font-size: 1.1rem; color: var(--text); display: block; padding: 0.5rem 0; }
.mobile-menu .nav-actions { flex-direction: column; gap: 1rem; }
.mobile-menu .icon-btn { width: 100%; border-radius: 8px; justify-content: flex-start; padding: 0.75rem; }
.mobile-menu-close { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 1.5rem; color: var(--text); cursor: pointer; }

/* Hero Slider */
.hero-slider { margin-top: 80px; position: relative; height: 80vh; min-height: 600px; overflow: hidden; }
.slider-wrapper { width: 100%; height: 100%; position: relative; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease-in-out; }
.slide.active { opacity: 1; z-index: 1; }
.slide-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.slide-overlay { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: -1; }
.slide .container { height: 100%; display: flex; align-items: center; }
.slider-nav { position: absolute; top: 50%; left: 0; width: 100%; transform: translateY(-50%); display: flex; justify-content: space-between; padding: 0 2rem; z-index: 10; }
.slider-btn { background: rgba(255,255,255,0.2); color: white; border: 1px solid rgba(255,255,255,0.3); width: 50px; height: 50px; border-radius: 50%; font-size: 1.2rem; }
.slider-btn:hover { background: var(--secondary); border-color: var(--secondary); }
.slider-dots { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 0.75rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: var(--transition); }
.dot.active { background: white; transform: scale(1.2); }

/* Hero Slider Text Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Initial state for hero content elements */
.hero-content > * {
    opacity: 0;
}

/* Animation trigger on active slide */
.slide.active .hero-content > * {
    animation-fill-mode: forwards;
    animation-duration: 0.8s;
    animation-timing-function: ease-out;
}

.slide.active .hero-content .animate-fade-in-down { animation-name: fadeInDown; }
.slide.active .hero-content .animate-fade-in-up { animation-name: fadeInUp; }
.slide.active .hero-content .animate-fade-in-left { animation-name: fadeInLeft; }
.slide.active .hero-content .animate-fade-in-right { animation-name: fadeInRight; }

/* Hero Section */
.hero { margin-top: 80px; position: relative; height: 80vh; min-height: 600px; display: flex; align-items: center; overflow: hidden; }
.hero video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: -1; }
.hero-content { max-width: 600px; color: white; }
.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; text-shadow: 0 2px 4px rgba(0,0,0,0.3); position: relative; z-index: 1; }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; }
.btn-primary { background: var(--secondary); color: white; padding: 0.875rem 2rem; border-radius: 50px; font-weight: 600; font-size: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; box-shadow: var(--shadow); }
.btn-primary:hover { background: #e55a2b; transform: translateY(-2px); }
.btn-outline { background: transparent; color: white; border: 2px solid white; padding: 0.875rem 2rem; border-radius: 50px; font-weight: 600; margin-left: 1rem; }
.btn-outline:hover { background: white; color: var(--primary); }

/* Modals & Overlays */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 2500;
    display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition);
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal {
    background: white; width: 90%; max-width: 500px; border-radius: 16px; overflow: hidden; transform: scale(0.9); transition: var(--transition);
}
.modal-overlay.show .modal { transform: scale(1); }
.modal-header { padding: 1.5rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-title { font-size: 1.5rem; font-weight: 600; }
.modal-close { font-size: 1.5rem; color: var(--light-text); cursor: pointer; }
.modal-body { padding: 1.5rem; }
.modal input { width: 100%; padding: 0.875rem; border: 1px solid var(--border); border-radius: 8px; font-size: 1rem; margin-bottom: 1rem; }
.modal .btn-primary { width: 100%; justify-content: center; }

/* Cart Sidebar */
.cart-sidebar {
    position: fixed; top: 0; right: -100%; width: 380px; height: 100vh; background: white; z-index: 3000; box-shadow: -10px 0 30px rgba(0,0,0,0.15); transition: var(--transition); padding: 1.5rem; overflow-y: auto;
}
.cart-sidebar.open { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.cart-title { font-size: 1.5rem; font-weight: 600; }
.cart-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.cart-item-img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; }
.cart-item-info { flex: 1; }
.cart-item-title { font-weight: 500; font-size: 0.95rem; margin-bottom: 0.25rem; }
.cart-item-price { font-weight: 600; color: var(--primary); }
.cart-item-remove { color: #ef4444; font-size: 1.1rem; cursor: pointer; }
.cart-total { font-weight: 600; font-size: 1.25rem; text-align: right; margin: 1.5rem 0; }
.cart-actions { display: flex; gap: 0.75rem; }
.cart-actions .btn-primary { flex: 1; }

/* Quick View Modal */
.quickview-modal .modal { max-width: 800px; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.quickview-img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.quickview-info h3 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.quickview-price { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin: 1rem 0; }
.quickview-rating { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 1rem; }
.quickview-actions { display: flex; gap: 1rem; margin-top: 1.5rem; }

/* Features */
.features {
    padding: 4rem 0;
    background: var(--accent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.feature-card p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* Categories */
.categories {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.category-card {
    position: relative;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.15);
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
}

.category-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary);
    color: white;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Featured Products */
.featured-products {
    padding: 5rem 0;
    background: var(--accent);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.15);
}

.product-img-container {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.product-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-action-btn {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    color: var(--text);
}

.product-action-btn:hover {
    background: var(--secondary);
    color: white;
}

.product-info {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-brand {
    font-size: 0.8rem;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--primary);
}

.product-price {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.price-old {
    font-size: 1rem;
    color: var(--light-text);
    text-decoration: line-through;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.stars {
    color: #fbbf24;
    font-size: 0.9rem;
}

.rating-count {
    font-size: 0.8rem;
    color: var(--light-text);
}

.add-to-cart {
    margin-top: 0.75rem;
    background: var(--primary);
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-to-cart:hover {
    background: #000000;
}

.checkout-qty-btn {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    padding: 0 5px;
    cursor: pointer;
    color: #333;
    line-height: 1.4; /* Adjust for alignment */
}
.checkout-qty-btn:hover {
    background: #f0f0f0;
}

/* Newsletter */
.newsletter {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, #2d2d2d 100%);
    color: white;
    text-align: center;
}

.newsletter h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    font-size: 1.1rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.newsletter-btn {
    background: var(--secondary);
    color: white;
    padding: 0 2rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.newsletter-btn:hover {
    background: #e55a2b;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: #cccccc;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.payment-methods {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.payment-methods img {
    height: 30px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #aaaaaa;
}

.footer-bottom a {
    color: var(--secondary);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero .btn-outline {
        margin-left: 0;
        margin-top: 1rem;
        display: inline-flex;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-btn {
        border-radius: 0 0 12px 12px;
    }
    .product-controls {
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .btn-primary, .btn-outline {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-info {
        padding: 1rem;
    }
}

/* Loading Animation */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Brand Story */
.brand-story { padding: 5rem 0; background: var(--accent); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.story-img { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.story-content h2 { margin-bottom: 1rem; }
.story-content p { margin-bottom: 1.5rem; color: var(--light-text); }
.read-more { color: var(--secondary); font-weight: 600; }

/* Stats */
.stats { padding: 4rem 0; background: var(--primary); color: white; text-align: center; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; }
.stat-item h3 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.stat-item p { font-size: 1rem; opacity: 0.8; }

/* Reviews Carousel */
.reviews { padding: 5rem 0; }
.reviews-carousel { 
    display: flex; 
    gap: 2rem; 
    margin-top: 2rem; 
}
.review-card { min-width: 320px; background: white; padding: 2rem; border-radius: 16px; box-shadow: var(--shadow); flex-shrink: 0; scroll-snap-align: start; }
.review-stars { color: #fbbf24; margin-bottom: 1rem; }
.review-text { font-style: italic; margin-bottom: 1rem; color: var(--light-text); }
.review-author { display: flex; align-items: center; gap: 1rem; }
.review-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.review-author h4 { font-size: 1rem; }

/* Instagram Feed */
.instagram { padding: 5rem 0; background: var(--accent); }
.insta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.insta-item { position: relative; overflow: hidden; border-radius: 12px; cursor: pointer; }
.insta-item img { transition: transform 0.5s ease; }
.insta-item:hover img { transform: scale(1.1); }
.insta-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,107,53,0.8); color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.insta-item:hover .insta-overlay { opacity: 1; }

/* Promo Banner */
.promo-banner { background: linear-gradient(135deg, #ff6b35, #f7931e); color: white; text-align: center; padding: 3rem 1rem; }
.promo-banner h2 { margin-bottom: 0.5rem; }
.countdown { display: flex; justify-content: center; gap: 1.5rem; margin: 1.5rem 0; font-size: 1.5rem; font-weight: 700; }
.countdown span { background: rgba(255,255,255,0.2); padding: 0.5rem 1rem; border-radius: 8px; min-width: 60px; }

/* Promo CTA Buttons (Light style for colored backgrounds) */
.promo-cta-btn, .video-cta-btn {
    background: white;
    color: var(--primary);
}
.promo-cta-btn:hover, .video-cta-btn:hover {
    background: #f0f0f0;
    color: var(--secondary);
}

/* Blog Preview */
.blog-preview { padding: 5rem 0; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.blog-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.blog-card:hover { transform: translateY(-8px); }
.blog-img { height: 200px; object-fit: cover; }
.blog-info { padding: 1.5rem; }
.blog-meta { font-size: 0.8rem; color: var(--light-text); margin-bottom: 0.5rem; }
.blog-title { font-family: 'Inter', sans-serif; font-weight: 600; margin-bottom: 0.75rem; }
.blog-excerpt { color: var(--light-text); font-size: 0.95rem; margin-bottom: 1rem; }
.read-more-btn { color: var(--secondary); font-weight: 600; font-size: 0.9rem; }

/* Floating Cart Bubble */
.cart-bubble {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
}
.cart-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.5);
}
.cart-bubble .count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: white;
    font-size: 0.8rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .nav-desktop { display: none; }
    .mobile-menu-toggle { display: block; }
    .hero { height: 70vh; min-height: 500px; }
    .hero h1 { font-size: 2.75rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; } 
    h2 { font-size: 1.875rem; } 
    h3 { font-size: 1.5rem; }
    .nav-desktop { display: none; }
    .mobile-menu-toggle { display: block; }
    .cart-sidebar { width: 100%; }
    .hero { text-align: center; }
    .hero-content { max-width: 100%; }
    .hero .btn-outline { margin-left: 0; margin-top: 1rem; display: inline-flex; }
    .section-header { margin-bottom: 2rem; }
    .newsletter-form { flex-direction: column; border-radius: 12px; }
    .newsletter-btn { border-radius: 0 0 12px 12px; }
    .footer-bottom { text-align: center; flex-direction: column; }
    .story-grid, .quickview-modal .modal { grid-template-columns: 1fr; }
    .countdown { flex-wrap: wrap; gap: 1rem; font-size: 1.2rem; }
    .reviews-carousel { scroll-snap-type: none; }
    .review-card { min-width: 100%; }
    .categories-grid {
        display: flex;
        overflow-x: auto;
        gap: 1rem;
        padding-bottom: 1rem; /* Space for scrollbar */
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    .categories-grid::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Chrome, Safari, Opera */
    }
    .category-card {
        flex: 0 0 150px; /* Don't grow, don't shrink, base width */
        height: 200px; /* Adjust height for smaller cards */
    }
}
@media (max-width: 480px) {
    .container { padding: 0 0.75rem; }
    .hero h1 { font-size: 2.25rem; }
    .btn-primary, .btn-outline { padding: 0.75rem 1.5rem; font-size: 0.95rem; }
    .categories-grid { grid-template-columns: 1fr; }
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--border);
    background: white;
    border-radius: 50px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.load-more-container {
    text-align: center;
    margin-top: 2.5rem;
}
#loadMoreBtn {
    background: var(--primary);
    color: white;
    padding: 0.75rem 2.5rem;
}
#loadMoreBtn:hover {
    background: #000;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Product Controls (Sort & Filter) */
.product-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.sort-options {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-options label {
    font-weight: 500;
    color: var(--light-text);
    white-space: nowrap;
}

.sort-options select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 0.6rem 2.5rem 0.6rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.sort-options select:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.sort-options::after {
    content: '\f078'; /* Font Awesome down arrow */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-text);
    pointer-events: none;
    transition: var(--transition);
}

.top-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.advanced-filters {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
    flex-wrap: wrap;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 100%;
    margin-top: 1rem;
}

body[data-theme="dark"] .advanced-filters {
    background: var(--accent);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--light-text);
}

.filter-group select,
.filter-group input[type="number"] {
    padding: 0.6rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--white);
}

.price-inputs {
    display: flex;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-height: 110px;
    overflow-y: auto;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    min-width: 150px;
}

.filter-options::-webkit-scrollbar {
    width: 5px;
}
.filter-options::-webkit-scrollbar-track {
    background: var(--accent);
}
.filter-options::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 5px;
}

.filter-option {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: var(--transition);
    cursor: pointer;
    background: none;
    color: var(--text);
}
.filter-option.active, .filter-option:hover {
    background-color: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

/* Cart Quantity Styles */
.cart-item {
    align-items: center;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--border);
}

.qty-value {
    font-weight: 500;
}

.cart-item-total {
    font-weight: 600;
    text-align: right;
    margin-bottom: 0.5rem;
}

.cart-item-remove {
    display: block;
    text-align: right;
}

/* Utility class for pages without a hero section */
.page-content {
    padding-top: 120px; /* Adjust as needed for header height */
    padding-bottom: 4rem;
}

/* NEW: Breadcrumbs */
.breadcrumb-nav {
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--light-text);
}
.breadcrumb-nav a {
    color: var(--light-text);
}
.breadcrumb-nav a:hover {
    color: var(--secondary);
}
.breadcrumb-nav span.current {
    color: var(--text);
    font-weight: 500;
}

.breadcrumb-nav .separator {
    font-size: 0.8rem;
}

/* MODIFIED: Product Detail Page */
.product-detail-layout {
    display: grid;
    grid-template-columns: 100px 1.2fr 1fr; /* thumbnails | main image | info */
    gap: 3rem;
    align-items: start;
}

.product-detail-info .product-brand {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;    
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-detail-info h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.product-detail-info .product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-detail-info .price-current {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
}

.product-detail-info .price-old {
    font-size: 1.25rem;
    opacity: 0.7;
}

.product-detail-info .product-price {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
}

.product-detail-info .product-description {
    color: var(--light-text);
    margin: 1.5rem 0;
    line-height: 1.7;
}

/* NEW: Variant Selectors */
.product-variants {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.variant-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.variant-label {
    font-weight: 600;
    font-size: 1rem;
}
.variant-label .selected-value {
    font-weight: 400;
    color: var(--light-text);
    margin-left: 0.5rem;
}
.color-swatches, .size-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid var(--border);
    transition: var(--transition);
    position: relative;
}
.color-swatch:hover {
    transform: scale(1.1);
}
.color-swatch.active {
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px var(--secondary);
}
.size-option {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}
.size-option:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.size-option.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
body[data-theme="dark"] .size-option.active {
    color: #111827; /* page background color in dark mode */
}

/* MODIFIED: Product Detail Actions */
.product-detail-actions {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    margin-top: 2rem;
}
.product-detail-actions .cart-item-qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 50px;
}

.product-detail-actions .btn-primary {
    flex-grow: 1;
    padding: 1rem;
    border-radius: 50px;
    font-size: 1rem;
    justify-content: center;
}
.action-buttons {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.policy-badges {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.policy-item { display: flex; align-items: center; gap: 0.75rem; color: var(--light-text); font-size: 0.9rem; }
.policy-item i { color: var(--secondary); font-size: 1.2rem; }

/* MODIFIED: Secondary Actions */
.secondary-actions {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
}
.secondary-actions .wishlist-btn {
    background: none;
    border: none;
    font-size: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text);
    font-weight: 500;
}
.secondary-actions .wishlist-btn:hover {
    color: var(--secondary);
}
.secondary-actions .wishlist-btn i {
    font-size: 1.2rem;
}
.social-share a {
    color: var(--light-text);
    font-size: 1.1rem;
}

.size-chart-link {
    color: var(--secondary);
    font-size: 0.9rem;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 1rem;
}

/* MODIFIED: Product Page Skeleton */
.product-detail-skeleton {
    display: grid;
    grid-template-columns: 100px 1.2fr 1fr;
    gap: 3rem;
    width: 100%;
}
.skeleton-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.skeleton-thumb { width: 100px; height: 100px; border-radius: 8px; }
.skeleton-image-main { width: 100%; height: 600px; border-radius: 16px; }
.skeleton-info .skeleton { margin-bottom: 1.5rem; border-radius: 4px; }
.skeleton-info .skeleton:first-child { width: 40%; height: 20px; }
.skeleton-info .skeleton:nth-child(2) { height: 40px; }
.skeleton-info .skeleton:nth-child(3) { width: 60%; height: 30px; }
.skeleton-info .skeleton:nth-child(4) { height: 80px; margin-top: 2rem; }

/* MODIFIED: Product Gallery */
.product-gallery {
    grid-column: 1 / 3; /* Span first two columns */
    display: grid;
    grid-template-columns: 100px 1fr; /* thumbnails | main image */
    gap: 1.5rem;
}
.product-main-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 600px;
    cursor: crosshair; /* Indicates zoom */
}
.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease-out;
    transform-origin: center center;
}
.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.thumbnail-item {
    border: 2px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    height: 100px;
    width: 100px;
}
.thumbnail-item:hover {
    border-color: var(--secondary);
}
.thumbnail-item.active {
    border-color: var(--secondary);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}
.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-360-view {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10;
    transition: var(--transition);
}
.btn-360-view:hover { background: var(--secondary); color: white; transform: translateY(-2px); }

/* Size Chart Modal Table */
.size-chart-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.size-chart-table th, .size-chart-table td { padding: 0.75rem; border: 1px solid var(--border); text-align: center; }
.size-chart-table th { background: var(--accent); font-weight: 600; }

/* Buy Now Button */
.btn-buy-now {
    background: var(--primary);
    color: white;
}
.btn-buy-now:hover {
    background: #333;
}
.product-detail-actions .btn-primary,
.product-detail-actions .btn-buy-now {
    padding: 0.875rem;
}

/* Product Info Tabs */
.product-info-tabs-container {
    margin: 4rem 0;
}
.tab-buttons {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}
.tab-btn {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--light-text);
    position: relative;
    cursor: pointer;
}
.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary);
    transform: scaleX(0);
    transition: var(--transition);
}
.tab-btn.active {
    color: var(--primary);
}
.tab-btn.active::after {
    transform: scaleX(1);
}
.tab-panel {
    display: none;
    line-height: 1.8;
    animation: fadeIn 0.5s ease;
}
.tab-panel.active {
    display: block;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Reviews Section */
.reviews-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}
.review-summary h3, .review-form h3 {
    margin-bottom: 1.5rem;
}
.review-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.review-item {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
}
.review-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.review-author-name {
    font-weight: 600;
}
.review-item .stars {
    font-size: 0.8rem;
}
.review-text {
    color: var(--light-text);
}

/* Review Form */
.review-form .form-group {
    margin-bottom: 1.5rem;
}
.review-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.star-rating-input {
    font-size: 1.75rem;
    color: var(--light-text);
}
.star-rating-input .fa-star {
    cursor: pointer;
    transition: color 0.2s ease;
}
.star-rating-input .fa-star:hover,
.star-rating-input .fa-star.selected {
    color: #fbbf24;
}
.review-form input, .review-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
}
.review-form textarea {
    min-height: 120px;
    resize: vertical;
}
.review-form .btn-primary {
    border-radius: 8px;
}

/* Related Products */
.related-products {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
    .product-gallery {
        grid-column: 1 / -1;
        grid-template-columns: 1fr; /* Main image only */
    }
    .product-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        flex-direction: row; /* horizontal thumbnails below */
        order: 2;
    }
    .thumbnail-item { height: 60px; width: 60px; }
    .product-main-image { height: 400px; order: 1; }
    .product-detail-info {
        grid-column: 1 / -1;
        position: static;
        top: auto;
    }
    .product-detail-info h1 { font-size: 2rem; }
    .reviews-section { grid-template-columns: 1fr; }
}

/* Form Validation */
.checkout-form input.error {
    border-color: #ef4444;
}

/* --- Auto-scrolling Sections --- */
@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.scrolling-wrapper {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
    mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
}

.scrolling-content {
    display: flex;
    width: fit-content;
    animation: scroll-left 25s linear infinite;
}

.scrolling-wrapper:hover .scrolling-content {
    animation-play-state: paused;
}

/* Partners Section */
.partners {
    padding: 3rem 0;
    background: var(--accent);
}
.partner-logo {
    height: 40px;
    margin: 0 2.5rem;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}
.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Scroll Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Video Promo Section */
.video-promo-section { padding: 5rem 0; background: var(--primary); color: white; }
.video-promo-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: center; }
.video-promo-content h2 { color: white; }
.video-promo-content p { opacity: 0.8; margin-bottom: 2rem; }
.video-promo-player { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.3); cursor: pointer; }
.video-promo-player video { width: 100%; }
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.9);
    color: var(--primary);
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.video-promo-player:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.1); background: white; }
.video-promo-player.playing .video-play-btn { opacity: 0; }

@media (max-width: 768px) { .video-promo-grid { grid-template-columns: 1fr; } }

/* MODIFIED: Product Detail Info */
.product-detail-info {
    position: sticky;
    top: 120px; /* Header height + padding */
}

@media (max-width: 992px) {
    .product-detail-layout {
        grid-template-columns: 1.2fr 1fr; /* main image | info */
    }
    .product-gallery {
        grid-column: 1 / 2;
    }
}
/* Product Specifications Table */
.specs-table {
    width: 100%;
    max-width: 600px;
    border-collapse: collapse;
    margin-top: 1rem;
}
.specs-table th, .specs-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.specs-table th {
    font-weight: 600;
    width: 35%;
    background-color: var(--accent);
}

/* Product Video Showcase */
.product-video-showcase {
    margin: 4rem 0;
}
.video-promo-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: start;
}
.main-video video, .video-feature-card video {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
    background: #000;
}
.video-features-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.video-feature-card h4 {
    margin-top: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

@media (max-width: 992px) {
    .video-promo-container {
        grid-template-columns: 1fr;
    }
    .video-features-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}
@media (max-width: 480px) {
    .video-features-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Slider */
.product-slider-section {
    padding: 4rem 0;
    background: #fff;
}
.product-slider-wrapper {
    position: relative;
    padding: 0 1rem;
}
.product-slider-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1.5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.product-slider-track::-webkit-scrollbar {
    display: none;
}
.slider-card {
    flex: 0 0 280px; /* Fixed width for slider items */
    border: 1px solid var(--border);
}
.slider-arrow {
    position: absolute;
    top: 45%; /* Adjust to vertically center relative to card height */
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--primary);
    transition: var(--transition);
}
.slider-arrow:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}
.prev-arrow { left: -20px; }
.next-arrow { right: -20px; }

@media (max-width: 768px) {
    .slider-arrow { display: none; } /* Hide arrows on mobile, allow touch scroll */
    .product-slider-wrapper { padding: 0; }
    .slider-card { flex: 0 0 220px; }
}

/* === DARK MODE STYLES === */
body[data-theme="dark"] {
    --primary: #f9fafb;       /* Main text color */
    --secondary: #ff7a45;     /* Accent orange, keep for branding */
    --accent: #1f2937;        /* Card/modal backgrounds */
    --text: #d1d5db;          /* Regular text */
    --light-text: #9ca3af;    /* Muted text */
    --white: #111827;         /* Page background */
    --border: #374151;        /* Borders */
    --shadow: 0 4px 12px rgba(0,0,0,0.5);
}

body[data-theme="dark"] header {
    background: rgba(17, 24, 39, 0.9); /* Corresponds to --white */
}

body[data-theme="dark"] .logo span,
body[data-theme="dark"] .mobile-menu-toggle {
    color: var(--primary);
}

body[data-theme="dark"] .modal,
body[data-theme="dark"] .mobile-menu,
body[data-theme="dark"] .cart-sidebar,
body[data-theme="dark"] .product-card,
body[data-theme="dark"] .review-card,
body[data-theme="dark"] .blog-card,
body[data-theme="dark"] .sort-options select,
body[data-theme="dark"] .feature-card,
body[data-theme="dark"] .contact-form-wrapper,
body[data-theme="dark"] .stats,
body[data-theme="dark"] .order-summary {
    background: var(--accent);
}

body[data-theme="dark"] .newsletter-input {
    background: var(--border);
    color: var(--primary);
}

body[data-theme="dark"] footer {
    background: #0d1117; /* A slightly darker shade for footer */
}

body[data-theme="dark"] .payment-methods img,
body[data-theme="dark"] .partner-logo {
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

body[data-theme="dark"] .payment-option input[type="radio"]:checked + .payment-option-label {
    background-color: var(--accent);
}

body[data-theme="dark"] .advanced-filters {
    background: #2d3748; /* Lighter than background for visibility */
    border: 1px solid #4b5563;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

body[data-theme="dark"] .filter-group select,
body[data-theme="dark"] .filter-group input,
body[data-theme="dark"] .filter-options {
    background-color: var(--accent); /* Make inputs/groups stand out */
}

/* Fix button visibility in dark mode */
body[data-theme="dark"] .add-to-cart,
body[data-theme="dark"] .btn-buy-now {
    color: var(--white); /* Use dark text on light background */
}

body[data-theme="dark"] .add-to-cart:hover {
    color: white; /* On hover, background becomes black, so text must be white */
}

body[data-theme="dark"] .btn-outline:hover {
    color: var(--white); /* Use dark text on white hover background */
}

body[data-theme="dark"] .filter-btn,
body[data-theme="dark"] .product-action-btn,
body[data-theme="dark"] .checkout-qty-btn,
body[data-theme="dark"] .slider-arrow {
    background: var(--accent);
    color: var(--text);
    border-color: var(--border);
}

body[data-theme="dark"] .slider-arrow {
    color: var(--primary); /* Keep icon color light */
}

body[data-theme="dark"] .checkout-qty-btn:hover {
    background: var(--border);
}

/* Fix Load More Button Visibility in Dark Mode */
body[data-theme="dark"] #loadMoreBtn {
    background: var(--primary); /* Light background */
    color: var(--accent);       /* Dark text for contrast */
}
body[data-theme="dark"] #loadMoreBtn:hover {
    background: #e5e7eb;
    color: black;
}

/* === ACCOUNT DROPDOWN === */
.account-dropdown { position: relative; display: inline-flex; align-items: center; }
.account-dropdown-menu {
    position: absolute; top: 100%; right: 0; width: 180px;
    background: var(--white); border: 1px solid var(--border);
    border-radius: 8px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: var(--transition); z-index: 1100;
    overflow: hidden; padding: 0.5rem 0;
}
.account-dropdown:hover .account-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.account-dropdown-menu a {
    display: block; padding: 0.75rem 1.25rem; color: var(--text);
    font-size: 0.9rem; font-weight: 500; transition: var(--transition);
}
.account-dropdown-menu a:hover { background: var(--accent); color: var(--secondary); }
/* Dark Mode for Dropdown */
body[data-theme="dark"] .account-dropdown-menu { background: var(--accent); border-color: var(--border); }
body[data-theme="dark"] .account-dropdown-menu a:hover { background: var(--border); }

/* === ORDERS PAGE === */
.orders-container { max-width: 900px; margin: 0 auto; padding: 2rem 0; }
.order-card { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 2rem; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.order-header { background: var(--accent); padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.order-id { font-weight: 600; color: var(--primary); }
.order-date { color: var(--light-text); font-size: 0.9rem; }
.order-status { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; }

.status-processing { background: #dbeafe; color: #1e40af; }
.status-delivered { background: #d1fae5; color: #065f46; }
.status-shipped { background: #ffedd5; color: #9a3412; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

.order-body { padding: 1.5rem; }
.order-item { display: flex; gap: 1rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); align-items: center; }
.order-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.order-item-img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
.order-item-info h4 { font-size: 1rem; margin-bottom: 0.25rem; color: var(--text); }
.order-footer { padding: 1rem 1.5rem; background: var(--accent); border-top: 1px solid var(--border); display: flex; justify-content: flex-end; align-items: center; gap: 1rem; font-weight: 500; }
.order-total { font-size: 1.2rem; font-weight: 700; color: var(--primary); }

body[data-theme="dark"] .status-processing { background: rgba(30, 64, 175, 0.2); color: #93c5fd; }
body[data-theme="dark"] .status-cancelled { background: rgba(153, 27, 27, 0.2); color: #fca5a5; }

/* === ORDER DATE FILTERS === */
.date-filters {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.date-input {
    padding: 0.6rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
    font-family: inherit;
    outline: none;
}
.date-input:focus { border-color: var(--secondary); }
body[data-theme="dark"] .date-input { background: var(--accent); }

/* === ORDER TRACKING BAR === */
.track-order {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 1.5rem 0.5rem;
    padding-bottom: 1rem;
}
.track-line-bg {
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--border);
    z-index: 0;
}
.track-line-active {
    position: absolute;
    top: 15px;
    left: 0;
    height: 4px;
    background: var(--success);
    z-index: 0;
    transition: width 0.5s ease;
}
.track-step {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 80px;
}
.track-icon {
    width: 34px;
    height: 34px;
    background: var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    margin: 0 auto 0.5rem;
    border: 4px solid var(--white); /* Gap from line */
    transition: var(--transition);
}
.track-step.active .track-icon {
    background: var(--success);
    color: white;
}
.track-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--light-text);
}
.track-step.active .track-label {
    color: var(--text);
    font-weight: 600;
}
/* Dark mode adjustments for tracking bar */
body[data-theme="dark"] .track-icon { border-color: var(--white); }

/* === DARK MODE SPECIFIC FIXES === */

/* Fix Video Promo Section: Ensure dark background and visible text */
body[data-theme="dark"] .video-promo-section {
    background: var(--accent);
    color: var(--primary);
}

/* Fix Buttons in Promo & Video Sections: Light background, Dark text */
body[data-theme="dark"] .promo-cta-btn, 
body[data-theme="dark"] .video-cta-btn {
    background: var(--primary); /* Dark button on dark bg? No, make it contrast */
    color: var(--accent);
    font-weight: 700;
}

/* Fix Read More Button Visibility */
body[data-theme="dark"] .read-more-btn {
    color: var(--secondary);
    font-weight: 700;
}

/* === INSTAGRAM SCROLLING ANIMATION === */
.instagram .container {
    overflow: hidden; /* Hide overflow for the scrolling effect */
}

.insta-scroll-wrapper {
    display: flex;
    width: max-content;
    animation: scroll-right 40s linear infinite; /* Left to Right animation */
}

.insta-scroll-wrapper:hover {
    animation-play-state: paused;
}

@keyframes scroll-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* Update insta-item to work in flex row */
.insta-item {
    flex: 0 0 220px;
    width: 220px;
    height: 220px;
    margin-right: 1.5rem;
}

/* Search Suggestions */
.search-suggestions {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    margin-top: -1rem; /* Aligns with input margin-bottom */
    margin-bottom: 1rem;
    display: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.search-suggestions.active {
    display: block;
}
.suggestion-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover, 
.suggestion-item.highlight { background: var(--accent); }
.suggestion-img { width: 45px; height: 45px; object-fit: cover; border-radius: 4px; }
.suggestion-info { display: flex; flex-direction: column; }
.suggestion-name { font-weight: 600; font-size: 0.95rem; color: var(--primary); }
.suggestion-price { font-size: 0.85rem; color: var(--secondary); font-weight: 500; }

body[data-theme="dark"] .search-suggestions {
    background: var(--accent);
    border-color: var(--border);
}
body[data-theme="dark"] .suggestion-item:hover,
body[data-theme="dark"] .suggestion-item.highlight {
    background: var(--border);
}

/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}
.toast {
    background: var(--accent);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: toastIn 0.3s ease-out;
    transition: opacity 0.3s ease;
    min-width: 250px;
    border-left: 4px solid var(--secondary);
}
.toast i { color: var(--secondary); }
.toast.success { border-left-color: var(--success); }
.toast.success i { color: var(--success); }

@keyframes toastIn {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Chatbot Bubble */
.cart-bubble, .chatbot-bubble {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem; /* Slightly smaller base size for composition */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
}
.chatbot-bubble:hover {
    transform: scale(1.1);
    background: var(--primary);
}

/* Chatbot Popup Window */
.chatbot-window {
    position: fixed;
    bottom: 90px; /* Above the bubble */
    right: 2rem;
    width: 350px;
    height: 450px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}
.chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chatbot-header {
    background: var(--secondary);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: #f9f9f9;
}

.message {
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    max-width: 80%;
    font-size: 0.9rem;
    line-height: 1.4;
}

.bot-message a {
    color: var(--secondary);
    text-decoration: underline;
    font-weight: 500;
}

.bot-message { background: white; border: 1px solid var(--border); align-self: flex-start; }
.user-message { background: var(--secondary); color: white; margin-left: auto; }

.chatbot-input-area {
    display: flex;
    padding: 0.75rem;
    background: white;
    border-top: 1px solid var(--border);
}
#chatbotInput {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 0.6rem 1rem;
    margin-bottom: 0;
    outline: none;
}
#chatbotSend {
    background: var(--secondary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

body[data-theme="dark"] .chatbot-window,
body[data-theme="dark"] .chatbot-messages,
body[data-theme="dark"] .chatbot-input-area,
body[data-theme="dark"] .bot-message {
    background: var(--accent);
    color: var(--text);
    border-color: var(--border);
}

body[data-theme="dark"] .bot-message a {
    color: var(--secondary);
}

/* Typing Indicator */
.typing-indicator {
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
.typing-indicator span {
    height: 8px;
    width: 8px;
    background-color: #9ca3af;
    border-radius: 50%;
    display: inline-block;
    animation: typing-bounce 1.2s infinite ease-in-out;
}
.typing-indicator span:nth-of-type(2) { animation-delay: -1.0s; }
.typing-indicator span:nth-of-type(3) { animation-delay: -0.8s; }

@keyframes typing-bounce {
    0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1.0); }
}

@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100% - 2rem);
        right: 1rem;
        bottom: 80px;
    }
}

/* Chatbot Animation: Robot Carrying Bags */
.chatbot-anim-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bot-walk 1.5s infinite ease-in-out;
}

.robot-icon {
    font-size: 1.8rem;
    z-index: 2;
    position: relative;
    top: -2px;
}

.bag-left, .bag-right {
    position: absolute;
    font-size: 0.85rem;
    bottom: 15px;
    z-index: 3;
    color: rgba(255, 255, 255, 0.9);
}

.bag-left { left: 10px; transform: rotate(-10deg); animation: bag-swing-left 1.5s infinite ease-in-out; }
.bag-right { right: 10px; transform: rotate(10deg); animation: bag-swing-right 1.5s infinite ease-in-out; }

@keyframes bot-walk {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes bag-swing-left { 0%, 100% { transform: rotate(-15deg); } 50% { transform: rotate(5deg); } }
@keyframes bag-swing-right { 0%, 100% { transform: rotate(15deg); } 50% { transform: rotate(-5deg); } }
/* Blog Post Page */
.blog-post-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.blog-post-title {
    font-size: 2.75rem;
    color: var(--primary);
}
.blog-post-meta {
    color: var(--light-text);
    margin-top: 1rem;
    font-size: 0.9rem;
}
.blog-post-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}
.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
}
.blog-post-content p { margin-bottom: 1.5rem; }
.blog-post-content h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* FAQ Page */
.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item.open {
    background: var(--accent);
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: none;
}
.faq-question i { transition: transform 0.3s ease; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 1.5rem 1.5rem;
    color: var(--light-text);
}

/* Referral Page */
.referral-container {
    max-width: 900px;
    margin: 2rem auto;
    text-align: center;
}
.referral-header h1 {
    color: var(--secondary);
}
.referral-header p {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 1rem auto 0;
}
.referral-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}
.step-icon {
    width: 70px;
    height: 70px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary);
    margin: 0 auto 1.5rem;
}
.referral-action {
    background: var(--accent);
    padding: 2.5rem;
    border-radius: 16px;
}
.referral-link-box {
    display: flex;
    max-width: 500px;
    margin: 1rem auto 0;
    border: 1px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
}
.referral-link-box input {
    flex-grow: 1;
    border: none;
    padding: 0.875rem 1.5rem;
    background: var(--white);
    color: var(--text);
    font-size: 1rem;
    outline: none;
}

/* Promo Strip */
.promo-strip {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 0.75rem;
    font-weight: 500;
    font-size: 0.9rem;
}
body[data-theme="dark"] .promo-strip {
    background: var(--secondary);
    color: #fff;
}

/* Accessibility Utility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
}

@media (max-width: 768px) {
    .referral-steps { grid-template-columns: 1fr; }
}