/* --- General Setup & Variables --- */
:root {
    --primary-color: #FADADD; /* Soft Pink */
    --secondary-color: #1a1a1a; /* Dark Grey/Black */
    --accent-color: #D4AF37; /* Gold */
    --text-color: #333;
    --bg-color: #FFFFFF;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --header-height: 80px;
    
    /* Variables for hero background images using placeholders */
    --hero-bg-before: url('/assets/images/hero1.webp');
    --hero-bg-after: url('/assets/images/hero2.webp');
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-color); background-color: var(--bg-color); line-height: 1.6; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--secondary-color); line-height: 1.2; }
a { text-decoration: none; color: var(--accent-color); transition: color 0.3s ease; }
a:hover { color: var(--secondary-color); }
ul { list-style: none; }
.content-section { padding: 80px 5%; text-align: center; }
.content-section h2 { font-size: 2.5rem; margin-bottom: 40px; position: relative; }
.content-section h2::after { content: ''; display: block; width: 60px; height: 3px; background: var(--primary-color); margin: 10px auto 0; }

/* --- Header & Navigation --- */
.header { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid #eee; padding: 0 5%; position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; transition: box-shadow 0.3s ease-in-out; }
.header.sticky { box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.navbar { display: flex; justify-content: space-between; align-items: center; height: var(--header-height); }
.nav-logo { font-family: var(--font-heading); font-size: 1.8rem; color: var(--secondary-color); font-weight: 700; }
.nav-menu { display: flex; gap: 30px; }
.nav-link { font-size: 1rem; color: var(--text-color); font-weight: 500; position: relative; padding: 5px 0; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--accent-color); transition: width 0.3s ease; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-icons { display: flex; align-items: center; gap: 20px; }
.search-btn-header { background: none; border: none; cursor: pointer; font-size: 1.1rem; color: var(--text-color); }
.cart-icon { position: relative; cursor: pointer; font-size: 1.2rem; }
.cart-item-count { position: absolute; top: -8px; right: -10px; background: var(--primary-color); color: var(--secondary-color); border-radius: 50%; width: 20px; height: 20px; display: flex; justify-content: center; align-items: center; font-size: 0.75rem; font-weight: bold; }
.hamburger { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--secondary-color); transition: all 0.3s ease-in-out; }

/* --- Hero Section --- */
.hero-section { display: flex; justify-content: center; align-items: center; height: 100vh; text-align: center; color: var(--secondary-color); position: relative; overflow: hidden; }
.hero-section::before, .hero-section::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center center; z-index: -1; transition: opacity 1.5s ease-in-out; }
.hero-section::before { background-image: var(--hero-bg-before); opacity: 1; }
.hero-section::after { background-image: var(--hero-bg-after); opacity: 0; }
.hero-section.fade-to-after::before { opacity: 0; }
.hero-section.fade-to-after::after { opacity: 1; }
.hero-content { animation: fadeIn 1.5s ease-out; z-index: 1; }
.hero-logo { width: 120px; height: 120px; object-fit: cover; margin-bottom: 20px; border-radius: 50%; background: white; padding: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.hero-content h1 { font-size: 4rem; margin-bottom: 1rem; }
.hero-content p { font-size: 1.2rem; margin-bottom: 2rem; }
.cta-button { background: var(--secondary-color); color: var(--bg-color); padding: 15px 30px; font-size: 1rem; font-weight: 500; border-radius: 50px; transition: background 0.3s ease, transform 0.3s ease; cursor: pointer; border: none; }
.cta-button:hover { background: var(--accent-color); transform: translateY(-3px); color: var(--bg-color); }

/* --- Product & Carousel --- */
.carousel-container { position: relative; max-width: 1200px; margin: 0 auto; overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.5s ease-in-out; }
.carousel-product-card { flex: 0 0 23%; margin: 0 1%; min-width: 250px; }
.carousel-button { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.7); border: none; font-size: 2rem; cursor: pointer; padding: 10px; border-radius: 50%; z-index: 10; }
.prev { left: 10px; }
.next { right: 10px; }
.product-card { background: #fff; border: 1px solid #eee; border-radius: 10px; overflow: hidden; text-align: left; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.product-image-container { position: relative; overflow: hidden; }
.product-card img { width: 100%; height: 300px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.product-card:hover img { transform: scale(1.1); }
.product-quick-view { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(0, 0, 0, 0.6); color: #fff; text-align: center; padding: 10px; transform: translateY(100%); transition: transform 0.3s ease; cursor: pointer; }
.product-card:hover .product-quick-view { transform: translateY(0); }
.product-info { padding: 20px; }
.product-info h3 { font-size: 1.1rem; margin-bottom: 5px; }
.product-price { font-size: 1.2rem; font-weight: 500; color: var(--accent-color); margin-bottom: 15px; }
.add-to-cart-btn { width: 100%; background: var(--secondary-color); color: #fff; border: none; padding: 12px; border-radius: 5px; cursor: pointer; transition: background 0.3s ease; }
.add-to-cart-btn:hover { background: var(--primary-color); color: var(--secondary-color); }

/* --- Promo Banners --- */
.promo-banners-section { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 80px 5%; }
.promo-banner { position: relative; overflow: hidden; height: 400px; display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; border-radius: 10px; background-size: cover; background-position: center; }
.promo-banner::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); transition: background 0.3s ease; }
.promo-banner:hover::after { background: rgba(0,0,0,0.2); }
.banner-1 { background-image: url('/assets/images/Summar\ Glow\ Collection.webp'); }
.banner-2 { background-image: url('/assets/images/New\ Arrivals.webp'); }
.banner-content { z-index: 1; }
.banner-content h3 { font-size: 2.5rem; color: #fff; }
.banner-content p { font-size: 1.2rem; margin-bottom: 20px; }
.banner-cta { background: #fff; color: var(--secondary-color); padding: 10px 25px; border-radius: 30px; }

/* --- Other Sections --- */
.counters-section { background: var(--primary-color); display: flex; justify-content: space-around; align-items: center; }
.counter-item { text-align: center; color: var(--secondary-color); }
.counter-item i { font-size: 2.5rem; margin-bottom: 10px; }
.counter-item h3 { font-size: 3rem; font-weight: 700; }
.counter-item p { font-size: 1rem; }
.testimonials-section { background-color: #f9f9f9; }
.testimonial-slider-container { max-width: 800px; margin: auto; position: relative; overflow: hidden; }
.testimonial-slider-track { display: flex; transition: transform 0.5s ease-in-out; }
.testimonial-slide { flex: 0 0 100%; padding: 40px; text-align: center; }
.testimonial-quote { font-style: italic; font-size: 1.1rem; margin-bottom: 20px; }
.testimonial-author { font-weight: bold; color: var(--accent-color); }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.7); border: none; font-size: 1.5rem; cursor: pointer; padding: 10px; border-radius: 50%; }
.prev-testimonial { left: 0; }
.next-testimonial { right: 0; }
.newsletter-form { display: flex; justify-content: center; max-width: 500px; margin: 20px auto 0; }
.newsletter-form input { width: 70%; padding: 15px; border: 1px solid #ddd; border-radius: 50px 0 0 50px; border-right: none; outline: none; }
.newsletter-form button { padding: 15px 30px; border: none; background: var(--secondary-color); color: #fff; border-radius: 0 50px 50px 0; cursor: pointer; }

/* --- Footer --- */
.footer { background: var(--secondary-color); color: #f1f1f1; padding: 60px 5% 20px; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-column h3 { color: var(--bg-color); margin-bottom: 20px; font-size: 1.2rem; }
.footer-column p, .footer-column li { margin-bottom: 10px; color: #ccc; }
.footer-column ul li a { color: #ccc; transition: color 0.3s, padding-left 0.3s; }
.footer-column ul li a:hover { color: var(--primary-color); padding-left: 5px; }
.social-icons a { color: #ccc; font-size: 1.5rem; margin-right: 15px; transition: color 0.3s ease; }
.social-icons a:hover { color: var(--primary-color); }
.footer-bottom { text-align: center; border-top: 1px solid #444; padding-top: 20px; }

/* --- Shared Page Header --- */
.page-header { padding: 60px 20px; text-align: center; border-radius: 10px; margin-bottom: 40px; background-size: cover; background-position: center; color: var(--secondary-color); }
.page-header h1 { font-size: 3rem; }
.shop-header, .about-header, .contact-header { background-image: linear-gradient(rgba(250,218,221,0.8), rgba(250,218,221,0.8)), url('/assets/images/header.png'); }

/* --- Shop Page, About Page, Contact Page --- */
.shop-page, .about-page, .contact-page { padding-top: var(--header-height); }
.shop-container { display: grid; grid-template-columns: 250px 1fr; gap: 40px; padding: 40px 5%; }
.filter-sidebar-header {
    display: none;
}
.filters-sidebar h3, .filters-sidebar h4 { margin-bottom: 15px; }
.filter-group { margin-bottom: 30px; }
.filter-group ul li { margin-bottom: 10px; }
#price-filter { width: 100%; }
#sort-filter { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 5px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.no-products-found { grid-column: 1 / -1; text-align: center; font-size: 1.2rem; color: #888; }
.story-section .story-content { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: center; text-align: left; max-width: 1200px; margin: 0 auto; }
.story-image img { width: 100%; border-radius: 10px; }
.story-text h2 { text-align: left; }
.story-text h2::after { margin-left: 0; }
.story-text p { margin-bottom: 1rem; }
.mission-section { background-color: #f9f9f9; }
.mission-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1000px; margin: 0 auto; }
.mission-item i { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 15px; }
.mission-item h3 { margin-bottom: 10px; }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::after { content: ''; position: absolute; width: 3px; background-color: var(--primary-color); top: 0; bottom: 0; left: 50%; margin-left: -1.5px; }
.timeline-item { padding: 10px 40px; position: relative; width: 50%; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }
.timeline-dot { content: ''; position: absolute; width: 16px; height: 16px; background-color: white; border: 3px solid var(--accent-color); top: 20px; border-radius: 50%; z-index: 1; }
.timeline-item:nth-child(odd) .timeline-dot { right: -8px; }
.timeline-item:nth-child(even) .timeline-dot { left: -8px; }
.founder-section { background: #f9f9f9; }
.founder-card { max-width: 500px; margin: 0 auto; padding: 30px; }
.founder-card img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; }
.founder-card h3 { font-size: 1.8rem; }
.founder-card h4 { color: var(--accent-color); margin-bottom: 15px; font-weight: 400; }
.founder-card .social-icons { margin-top: 20px; justify-content: center; display: flex; }
.contact-container { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; max-width: 1200px; margin: 0 auto; text-align: left; }
.contact-form-container h3, .contact-info-container h3 { font-size: 1.8rem; margin-bottom: 30px; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 5px; font-family: var(--font-body); }
.contact-info p { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.contact-info i { color: var(--accent-color); width: 20px; text-align: center; }
.map-container { border-radius: 10px; overflow: hidden; }

/* --- Cart & Checkout --- */
.cart-sidebar { position: fixed; top: 0; right: -100%; width: 400px; height: 100vh; background: #fff; box-shadow: -5px 0 15px rgba(0,0,0,0.1); z-index: 1002; transition: right 0.4s ease-in-out; display: flex; flex-direction: column; }
.cart-sidebar.open { right: 0; }
.cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1001; display: none; }
.cart-overlay.open { display: block; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid #eee; }
.close-cart-btn { background: none; border: none; font-size: 1.5rem; cursor: pointer; }
.cart-body { flex-grow: 1; overflow-y: auto; padding: 20px; }
.cart-item { display: flex; gap: 15px; margin-bottom: 20px; }
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 5px;}
.cart-item-details { flex-grow: 1; }
.cart-item-details h4 { font-size: 1rem; }
.cart-item-controls { display: flex; align-items: center; margin-top: 10px; }
.cart-item-controls input { width: 40px; text-align: center; border: 1px solid #ddd; }
.remove-item-btn { color: #f00; margin-left: auto; cursor: pointer; }
.cart-footer { padding: 20px; border-top: 1px solid #eee; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.2rem; margin-bottom: 20px; }
.checkout-btn { width: 100%; padding: 15px; background: var(--secondary-color); color: #fff; border: none; cursor: pointer; font-size: 1rem; }
.checkout-modal-content { max-width: 900px; padding: 40px; }
.checkout-container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; text-align: left; }
.customer-info h3, .order-summary h3 { margin-bottom: 20px; font-size: 1.5rem; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 500; font-size: 0.9rem; }
.form-group-row { display: flex; gap: 20px; }
.form-group-row .form-group { flex: 1; }
#checkout-order-summary { max-height: 200px; overflow-y: auto; padding-right: 10px; margin-bottom: 20px; }
.summary-item { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; margin-bottom: 10px; }
.summary-item-name { color: var(--text-color); }
.summary-item-price { font-weight: 500; }
.summary-total { display: flex; justify-content: space-between; font-weight: bold; font-size: 1.2rem; margin: 20px 0; }
.order-summary hr { border: none; border-top: 1px solid #eee; margin: 20px 0; }
.promo-section { margin: 20px 0; }
.promo-input-group { display: flex; }
.promo-input-group input { flex-grow: 1; border-radius: 5px 0 0 5px; border-right: none; padding: 10px; border: 1px solid #ddd; }
.promo-input-group button { border: 1px solid var(--secondary-color); background-color: var(--secondary-color); color: white; padding: 0 20px; border-radius: 0 5px 5px 0; cursor: pointer; transition: background-color 0.3s ease; flex-shrink: 0; }
.promo-input-group button:hover { background-color: var(--accent-color); border-color: var(--accent-color); }
.promo-feedback { font-size: 0.9rem; margin-top: 8px; min-height: 1.2em; }
.promo-feedback.success { color: #28a745; }
.promo-feedback.error { color: #dc3545; }
.payment-info-text { font-size: 0.9rem; color: #666; margin-bottom: 15px; }
#secure-payment-element { background-color: #f9f9f9; padding: 15px; border-radius: 5px; border: 1px solid #ddd; min-height: 50px; margin-bottom: 20px; }
#pay-now-btn { width: 100%; margin-top: 10px; }

/* --- Search & Modals --- */
.search-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); z-index: 1010; display: flex; justify-content: center; padding-top: 10vh; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.search-overlay.active { opacity: 1; visibility: visible; }
.close-search-btn { position: absolute; top: 30px; right: 40px; font-size: 3rem; color: var(--text-color); background: none; border: none; cursor: pointer; }
.search-overlay-content { width: 90%; max-width: 700px; }
#search-input { width: 100%; background: transparent; border: none; border-bottom: 2px solid var(--text-color); padding: 15px 0; font-size: 2rem; font-family: var(--font-heading); color: var(--secondary-color); outline: none; }
#search-input::placeholder { color: #ccc; }
.search-results { margin-top: 30px; max-height: 60vh; overflow-y: auto; }
.search-result-item { display: flex; align-items: center; padding: 15px; border-radius: 5px; cursor: pointer; transition: background-color 0.2s ease; }
.search-result-item:hover { background-color: #f5f5f5; }
.search-result-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 5px; margin-right: 20px; }
.search-result-info h4 { margin-bottom: 5px; }
.search-result-info p { color: var(--accent-color); font-weight: 500; }
.modal, .popup { position: fixed; z-index: 1005; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); display: none; align-items: center; justify-content: center; }
.modal-content, .popup-content { background-color: #fefefe; padding: 30px; border-radius: 10px; max-width: 800px; width: 90%; position: relative; animation: slideIn 0.4s; }
.modal-product-details { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.modal-product-image img { width: 100%; border-radius: 10px; }
.modal-product-info h2 { font-size: 2rem; margin-bottom: 15px; }
.modal-product-price { font-size: 1.5rem; color: var(--accent-color); margin-bottom: 20px; }
.modal-product-desc { margin-bottom: 20px; }
.buy-now-btn { background: var(--accent-color); color: #fff; padding: 15px 30px; border: none; cursor: pointer; }
.close-popup-btn { position: absolute; top: 10px; right: 20px; font-size: 2rem; cursor: pointer; }

/* Add this to the bottom of your style.css file */

/* --- Mobile Filter Button --- */
.mobile-filter-container {
    display: none; /* Hidden on desktop */
    padding: 0 5% 20px;
    border-bottom: 1px solid #eee;
}

#mobile-filter-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* --- Responsive styles for the filter sidebar itself --- */
@media (max-width: 992px) {
    .shop-container {
        display: block; /* Change from grid to block layout */
    }

    .mobile-filter-container {
        display: block; /* Show the button on mobile/tablet */
    }

    .filters-sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        width: 320px;
        height: 100vh;
        background: #fff;
        z-index: 1003;
        overflow-y: auto;
        padding: 20px;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
        transition: left 0.4s ease-in-out;
    }

    .filters-sidebar.open {
        left: 0;
    }
    
    .filter-sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .close-filter-btn {
        background: none;
        border: none;
        font-size: 2rem;
        cursor: pointer;
    }
}

/* --- Welcome Offer Popup --- */
.welcome-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1020;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.welcome-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.welcome-popup {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    width: 90%;
    max-width: 450px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.welcome-popup-overlay.active .welcome-popup {
    transform: scale(1);
}

.popup-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.welcome-popup h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.welcome-popup p {
    margin-bottom: 25px;
    color: #666;
}

.welcome-popup-form .form-group {
    margin-bottom: 15px;
}

.welcome-popup-form input {
    width: 100%;
    text-align: center;
}

/* Add this to the bottom of your style.css */
.hidden {
    display: none;
}

/* --- Animations --- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .nav-menu { position: fixed; left: -100%; top: var(--header-height); flex-direction: column; background-color: #fff; width: 100%; text-align: center; transition: 0.3s; box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05); }
    .nav-menu.active { left: 0; }
    .nav-item { margin: 1.5rem 0; }
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    /* Add this inside your @media (max-width: 992px) { ... } block */
    .desktop-filter-title {
        display: none;
    }
    .filter-sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 3rem; }
    .content-section { padding: 60px 5%; }
    .content-section h2 { font-size: 2rem; }
    .counters-section, .promo-banners-section { flex-direction: column; gap: 40px; }
    .cart-sidebar { width: 100%; }
    .modal-product-details, .checkout-container, .story-section .story-content, .contact-container, .shop-container { grid-template-columns: 1fr; }
    .filters-sidebar { border-bottom: 1px solid #eee; padding-bottom: 20px; }
    .timeline::after { left: 20px; }
    .timeline-item, .timeline-item:nth-child(even) { left: 0; width: 100%; padding-left: 60px; text-align: left; }
    .timeline-dot, .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot { left: 12px; }
    .carousel-product-card { flex: 0 0 80%; margin: 0 2%; }
    .carousel-track { padding-left: 8%; }
    .nav-logo { flex-shrink: 0; }
    .nav-icons { gap: 15px; }
    .search-box:hover .search-input, .search-input:focus, .search-input { width: 0; padding: 0; border: none; } /* Disable search expand on mobile */
    .promo-banners-section, .counters-section { display: flex; } /* Revert promo/counters to flex for stacking */
    /* --- Mobile "Our Journey" Timeline Fix --- */
    .timeline::after {
        left: 20px;
    }

    /* Target BOTH odd and even items with high specificity */
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        text-align: left;
        padding: 15px 20px 15px 60px; /* Top, Right, Bottom, Left */
    }

    /* Force ALL dots to the same left position */
    .timeline-item .timeline-dot {
        left: 12px;
        right: auto; /* Remove the conflicting 'right' property */
    }

    /* --- Mobile Checkout Form Fix --- */
    .checkout-container {
        /* Stacks the form and order summary vertically */
        grid-template-columns: 1fr;
    }

    .checkout-modal-content {
        padding: 30px 20px;
        /* Adds scrolling for very short screens */
        max-height: 85vh;
        overflow-y: auto;
    }
}