/* --- General Reset & Body --- */
        :root {
            --brand-blue: #004f9f;
            --brand-yellow: #ffc220;
            --promo-beige: #f6f3ed;
            --page-bg: #f1f2f4;
            --text-dark: #222;
            --text-light: #333;
            --border-color: #e0e0e0;
        }

        body {
            margin: 0;
            /* Using a system font stack for better performance and native feel */
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background-color: #ffffff; /* White background */
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        h2 {
            font-size: 24px;
            font-weight: 700;
            margin: 0;
        }

        /* --- Top Bar (Blue) --- */
        .top-bar {
            color: white;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 40px;
            gap: 20px;
        }

        /* --- Logo & Location --- */
        .logo-section {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
        }

        .logo-section .fa-asterisk { /* Updated icon */
            font-size: 28px;
            color: #ff2927;
        }

        .location-details .delivery-option {
            display: block;
            font-weight: bold;
            font-size: 14px;
        }

        .location-details .location {
            display: block;
            font-size: 12px;
        }

        .logo-section .fa-chevron-down {
            font-size: 12px;
            margin-left: 8px;
        }

        /* --- Search Bar --- */
        .search-bar {
            flex-grow: 1; /* Makes search bar take available space */
            position: relative;
            max-width: 100%;
        }

        .search-bar input[type="search"] {
            width: 100%;
            padding: 12px 60px 12px 20px; /* Right padding for button */
            border: none;
            border-radius: 25px;
            font-size: 14px;
            box-sizing: border-box; /* Ensures padding doesn't affect width */
        }

        .search-bar input[type="search"]::placeholder {
            color: #757575;
        }

        .search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #d3effa;
    color: #105ab6;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 16px;
}

        /* --- User Options & Cart --- */
        .user-options {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .option {
            display: flex;
            align-items: center;
            text-align: left;
            line-height: 1.3;
        }

        .option-text .line1 {
            font-size: 12px;
            display: block;
        }

        .option-text .line2 {
            font-size: 14px;
            font-weight: bold;
            display: block;
        }

        .cart {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .cart-icon-wrapper {
            position: relative;
        }

        .cart .fa-cart-shopping {
            font-size: 24px;
            color: #fff;
        }

        .cart-count {
    position: absolute;
    top: -5px;
    left: 15px;
    background-color: #ff2927;
    color: rgb(255, 255, 255);
    border-radius: 50%;
    width: 17px;
    height: 16px;
    line-height: 1.2;
    font-size: 12px;
    font-weight: bold;
    display: flex
;
    align-items: center;
    justify-content: center;
}

        .cart-total {
            font-size: 14px;
            font-weight: bold;
        }

        /* --- Bottom Nav (White) - SLIDER MODIFICATIONS --- */
        .bottom-nav {
            background-color: #fff;
            border-bottom: 1px solid var(--border-color);
            padding: 0 10px; /* Add padding for buttons */
            position: relative;
            overflow: hidden; /* Hide overflowing content */
        }
        
        /* Gradient shadows to indicate scroll */
        .bottom-nav::before,
        .bottom-nav::after {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            width: 40px;
            z-index: 2;
            pointer-events: none;
            transition: opacity 0.3s;
        }
        
        .bottom-nav::before {
            left: 0;
            background: linear-gradient(to right, white, rgba(255, 255, 255, 0));
            opacity: 0; /* Hidden by default */
        }
        
        .bottom-nav::after {
            right: 0;
            background: linear-gradient(to left, white, rgba(255, 255, 255, 0));
            opacity: 1; /* Visible by default */
        }
        
        /* Show/hide gradients based on scroll */
        .bottom-nav.scrolled-start::before { opacity: 0; }
        .bottom-nav.scrolled::before { opacity: 1; }
        .bottom-nav.scrolled-end::after { opacity: 0; }


        .nav-scroll-container {
            display: flex;
            overflow-x: auto;
            /* Hiding scrollbar for a cleaner look */
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none;  /* IE and Edge */
            scroll-behavior: smooth;
            cursor: grab; /* Indicates draggable content */
            user-select: none; /* Prevents text selection while dragging */
            padding: 0 30px; /* Padding so items don't touch edges */
        }

        .nav-scroll-container::-webkit-scrollbar {
            display: none; /* Safari and Chrome */
        }

        .nav-scroll-container.grabbing {
            cursor: grabbing;
        }

        .bottom-nav .nav-links {
            display: flex;
            align-items: center;
            gap: 24px;
            flex-wrap: nowrap; /* Prevents wrapping, forces overflow */
        }

        .bottom-nav li {
            padding: 14px 0;
            flex-shrink: 0; /* Prevents items from shrinking */
        }

        .bottom-nav a {
            color: var(--text-light);
            font-size: 14px;
            font-weight: 500;
            white-space: nowrap; /* Prevents links from breaking */
            /* Prevent dragging links from navigating */
            pointer-events: none; 
        }
        
        /* Re-enable pointer events for links only if not dragging */
        .bottom-nav.allow-click a {
            pointer-events: auto;
        }

        .bottom-nav a:hover {
            color: var(--brand-blue);
        }

        .bottom-nav a .fa-chevron-down {
            font-size: 10px;
            margin-left: 4px;
        }

        .bottom-nav .featured a {
            font-weight: bold;
        }
        
        /* Scroll buttons for bottom-nav */
        .nav-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: grid;
            place-items: center;
            cursor: pointer;
            z-index: 3;
            opacity: 0; /* Hidden by default */
            transition: opacity 0.3s;
            pointer-events: none;
        }
        
        .nav-arrow.visible {
            opacity: 1;
            pointer-events: auto;
        }
        
        .nav-arrow:hover {
            background-color: #f5f5f5;
        }

        .nav-arrow.prev {
            left: 8px;
        }
        
        .nav-arrow.next {
            right: 8px;
        }


        /* --- Main Content Wrapper --- */
        .content-wrapper {
            padding: 20px;
            background-color: #ffffff;
            max-width: 90vw; /* Constrain width */
            margin: 0 auto; /* Center it */
        }

        /* --- Promo Banner - SLIDER MODIFICATIONS --- */
        .promo-banner {
            background-color: #eeeeee4f;
            border-radius: 40px;
            position: relative;
            overflow: hidden; /* This is crucial for the slider */
        }

        /* This track holds all the slides */
        .slider-track {
            display: flex;
            width: 200%; /* 100% * 2 slides */
            transition: transform 0.5s ease-in-out;
        }

        /* Each slide takes up a portion of the track */
        .slide {
            width: 50%; /* 100% / 2 slides */
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            padding: 0px;
            box-sizing: border-box; /* Ensures padding is included in width */
        }

        .promo-text {
            flex: 1;
            min-width: 300px;
        }

        .promo-text span {
            font-size: 16px;
            font-weight: 500;
        }

        .promo-text h2 {
            font-size: 48px;
            margin: 8px 0 24px 0;
            font-weight: 700;
        }

        .shop-now-btn {
            background-color: white;
            border: 1px solid var(--text-light);
            border-radius: 20px;
            padding: 10px 24px;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.2s, color 0.2s;
        }

        .shop-now-btn:hover {
            background-color: var(--text-light);
            color: white;
        }

        .promo-images {
            display: flex;
            align-items: flex-end; /* Aligns images to the bottom */
            gap: 16px;
        }

        .promo-images img {
            border-radius: 12px;
            object-fit: cover;
        }

        /* Specific sizes from image */
      .promo-images .img-large {
    width: 374px;
    max-height: 285px;
    padding: 0;
    object-fit: cover;
    border: solid 1px #3333331f;
}

        .promo-images .img-small {
            width: 250px;
            height: 250px;
            margin-right: 50px;
        }

        /* Main slider navigation */
        .slider-nav {
    position: absolute;
    bottom: 15px;
    right: 24px;
    display: flex;
    gap: 2px;
    z-index: 5;
}

        .slider-arrow {
    background-color: #e8e7eaa3;
    border: 1px solid #7b7b7b26;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
    display: grid;
    place-items: center;
}

        .slider-arrow:hover {
            background-color: #f5f5f5;
        }
        
        /* Styles for play/pause button icons */
        .slider-arrow .icon-play {
            display: none;
        }
        .slider-arrow.paused .icon-play {
            display: block;
        }
        .slider-arrow.paused .icon-pause {
            display: none;
        }

        /* --- MODIFIED: Category Section (Now a Carousel) --- */
        .category-grid-container {
            /* This class is now a product-carousel-container */
        }

        .section-header {
    display: flex
;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-top: 8px;
}

        .section-header .view-all {
            font-size: 14px;
            font-weight: 500;
            color: #000;
        }

     

        .category-item {
            text-align: center;
            /* ADDED: Styles for when .category-item is inside a carousel */
            flex-shrink: 0;
            width: 120px;
        }

        .category-item img {
    width: 100%;
    max-width: 80px;
    height: auto;
    margin-bottom: 8px;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--border-color);
}

        .category-item img {
    object-fit: contain;
    padding: 13px;
    border-radius: 30px;
}

        .category-item span {
            font-size: 14px;
            font-weight: 500;
            color: var(--text-light);
        }

        /* --- NEW: Product Carousel Section --- */
        .product-carousel-container {
            background-color: white;
            border-radius: 16px;
            padding: 24px;
            margin-top: 24px;
            position: relative;
        }

        .product-carousel-container .section-header {
            padding-right: 80px; /* Space for nav buttons */
        }

        .product-carousel-container .section-header .subtitle {
            font-size: 14px;
            color: #555;
            font-weight: 400;
            margin-top: 4px;
        }

        .carousel-nav {
            position: absolute;
            top: 24px;
            right: 24px;
            display: flex;
            gap: 8px;
        }

        .carousel-arrow {
            background-color: white;
            border: 1px solid var(--border-color);
            border-radius: 50%;
            width: 36px;
            height: 36px;
            font-size: 14px;
            color: var(--text-light);
            cursor: pointer;
            display: grid;
            place-items: center;
            transition: opacity 0.2s, pointer-events 0.2s;
            opacity: 1;
            pointer-events: auto;
        }
        
        .carousel-arrow.hidden {
            opacity: 0.5;
            pointer-events: none;
            cursor: default;
        }

        .product-carousel {
            display: flex;
            overflow-x: auto;
            gap: 15px;
            padding-bottom: 16px; /* Space for scrollbar if it appears */
            /* Hiding scrollbar for a cleaner look */
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none;  /* IE and Edge */
            scroll-behavior: smooth;
            /* ADDED: Drag-to-scroll styles */
            cursor: grab;
            user-select: none;
        }
        
        .product-carousel.grabbing {
            cursor: grabbing;
        }
        
        .product-carousel::-webkit-scrollbar {
            display: none; /* Safari and Chrome */
        }

  .product-card {
    width: 300px;
    flex-shrink: 0;
    border: 1px solid #044a8d17;
    background: #f5f5f53d;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: 0.5s ease;
}


 .product-card:hover {
    background: #f5f5f5;
    transition: 0.3s ease;
}

        .product-card .wishlist-btn {
            position: absolute;
            top: 8px;
            right: 8px;
            background-color: #fff;
            border: 1px solid var(--border-color);
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: grid;
            place-items: center;
            cursor: pointer;
            z-index: 3; /* Above slider buttons */
        }
        
        .product-card .wishlist-btn:hover {
            background-color: white;
        }

        .product-card .reduced-price-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: #ff2927;
    color: #eef5ff;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 10px;
    border-radius: 400px;
    z-index: 3;
    text-transform: uppercase;
}

        .product-card-image {
            width: 100%;
            height: 230px;
            object-fit: contain;
            padding: 10px;
            box-sizing: border-box;
            
            /* --- MODIFIED: For product image slider --- */
            flex-shrink: 0;
            scroll-snap-align: start;
        }

        /* --- NEW: Product Image Slider --- */
        .product-image-slider {
            position: relative;
            overflow: hidden; /* Hides buttons when not hovered, and scrollbar */
        }
        
        .product-image-track {
            display: flex;
            overflow-x: auto;
            scroll-behavior: smooth;
            /* Hide scrollbar */
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none;  /* IE and Edge */
        }
        
        .product-image-track::-webkit-scrollbar {
            display: none; /* Safari and Chrome */
        }

        .product-slide-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid var(--border-color);
            border-radius: 50%;
            width: 33px;
            height: 33px;
            font-size: 14px;
            color: var(--text-light);
            cursor: pointer;
            display: grid;
            place-items: center;
            opacity: 0; /* Hidden by default */
            transition: opacity 0.2s;
            z-index: 2;
        }
        
        /* Show buttons on hover */
        .product-image-slider:hover .product-slide-btn {
            opacity: 1;
        }
        
        .product-slide-btn.prev {
            left: 8px;
        }
        .product-slide-btn.next {
            right: 8px;
        }
        /* --- End Product Image Slider --- */


        .product-card-info {
            padding: 20px 25px;
            border-top: 1px solid var(--border-color);
        }

        /* --- NEW: Product Card Title --- */
        .product-card-title {
            font-size: 14px;
            font-weight: 500;
            color: var(--text-dark);
            margin-bottom: 4px;
            /* Truncate title if it's too long */
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        /* --- End Product Card Title --- */
        
        /* --- MODIFIED: Product Rating --- */
        .product-rating {
            display: flex;
            align-items: center;
            gap: 4px;
            margin-bottom: 4px;
            font-size: 13px;
            font-weight: 500;
            color: #555;
        }
        .product-rating .fa-star {
            color: var(--brand-yellow);
            font-size: 14px;
            margin-right: 2px;
        }
        .product-rating .review-count {
            font-size: 12px;
            color: #777;
            font-weight: 400;
        }
        /* --- End Product Rating --- */

        .product-card-info .price {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 4px;
        }
        
        .product-card-info .price .original-price {
            font-size: 14px;
            font-weight: 400;
            text-decoration: line-through;
            color: #777;
            margin-left: 4px;
        }
        
        /* --- MODIFIED: Animated Product Features --- */
        
        /* This is the new fade-in/out animation */
        @keyframes fade-features {
            0%   { opacity: 0; transform: translateY(5px); }
            11%  { opacity: 1; transform: translateY(0); } /* 1s fade in */
            33%  { opacity: 1; transform: translateY(0); } /* 2s hold */
            44%  { opacity: 0; transform: translateY(-5px); } /* 1s fade out */
            100% { opacity: 0; } /* Stay hidden */
        }
        
        .product-features-box {
            position: relative;
            height: 1.4em; /* Height of one line item */
            line-height: 1.4em;
            margin: 8px 0;
            font-size: 12px;
            font-weight: 500;
        }
        
        .product-features-track {
            position: relative; /* Changed from absolute */
            height: 100%;
        }
        
        .product-feature-item {
            position: absolute; /* Items are now absolute */
            top: 0;
            left: 0;
            width: 100%;
            height: 1.4em; /* Match box height */
            display: flex;
            align-items: center;
            opacity: 0; /* Start hidden */
            
            /* Total animation 9s (3s per item) */
            animation: fade-features 9s infinite cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        /* Stagger the animations */
        .product-feature-item:nth-child(1) {
            animation-delay: 0s;
        }
        .product-feature-item:nth-child(2) {
            animation-delay: 3s;
        }
        .product-feature-item:nth-child(3) {
            animation-delay: 6s;
        }

        .product-feature-item .icon {
            margin-right: 6px;
            width: 14px; /* Give icon a fixed width */
            text-align: center;
        }
        
        .product-feature-item.stock-alert {
            color: #ff2927; /* Red for urgency */
        }
        
        .product-feature-item.sale-alert {
            color: #ff2927; /* Green for sale */
        }
        
        .product-feature-item.delivery-info {
            color: #ff2927; /* Blue for delivery */
        }
        
        .product-feature-item.sold-info {
            color: #ff2927; /* Orange for popular */
        }
        /* --- End Animated Product Features --- */

        .product-card-info .shipping {
            font-size: 12px;
            color: #555;
            margin-bottom: 8px;
        }

        .product-card-info .description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.4;
    height: max-content;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 12px;
}

img.addtocarticn {
    max-width: 20px;
}

.product-card-btn {
    width: 100%;
    padding: 7px 10px;
    margin-top: 10px;
    border: 1px solid #ff292763;
    color: #ff2927;
    background-color: #ff292700;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.product-card-btn.add {
    width: 100%;
    padding: 7px 10px;
    margin-top: 10px;
    border: 1px solid #ff292763;
    color: #ff2927;
    background-color: #ff292700;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

button#add-to-cart-btn {
    background: #ff2927;
}

.text-blue-600 {
    --tw-text-opacity: 1;
    color: #ff2927 !important;
}


.priceapp {
    display: flex;
    align-items: center;
}

button#checkout-btn {
    background-color: #ff2927;
}
        .product-card-btn:hover {
            background-color: #ff2927;
            color: white;
        }
        
        .product-card-btn.options:hover {
            background-color: #ff2927;
            color: white;
        }
        
        /* Left promo card for Halloween */
        .promo-card {
    width: 35vw;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    position: relative;
    padding: 30px 40px;
    box-sizing: border-box;
    display: flex;
    color: white;
    justify-content: space-between;
    align-items: flex-end;
}

i.fa-solid.fa-heart {
    line-height: 1;
    margin-bottom: -2px;
}
i.fa-regular.fa-heart {
    margin-bottom: -2px;
}

        
        .promo-card h3 {
            font-size: 28px;
            font-weight: 700;
            margin: 0;
            line-height: 1.2;
        }
        
        .promo-card .promo-price {
            font-size: 14px;
        }
        
        .promo-card .promo-price strong {
            font-size: 28px;
            font-weight: 700;
        }
        
        .promo-card .shop-now-btn-white {
            background-color: white;
            border: 1px solid white;
            border-radius: 20px;
            padding: 8px 20px;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
            color: var(--text-dark);
            text-align: center;
            width: fit-content;
        }

        /* ADDED: Make carousel links unclickable by default */
        .product-carousel-container a {
            pointer-events: none;
        }
        .product-carousel-container.allow-click a {
            pointer-events: auto;
        }


        /* Responsive adjustments */
        @media (max-width: 1200px) {
            .promo-images .img-large {
                width: 300px;
                height: 225px;
            }
            .promo-images .img-small {
                width: 200px;
                height: 200px;
            }
            .promo-text h2 {
                font-size: 36px;
            }
            .category-grid {
                /* grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); */
                /* gap: 16px; */
            }
        }
        
        @media (max-width: 992px) {
            .content-wrapper {
                padding: 12px;
            }
            /* Hide the right-side user options in the top bar */
            .user-options {
                display: none;
            }
            
            .slide {
                flex-direction: column;
                text-align: center;
                padding: 24px;
            }
            
            .promo-images {
                justify-content: center;
                align-items: center;
            }
            
            .promo-images .img-large {
                width: 250px;
                height: 188px;
            }
            .promo-images .img-small {
                width: 150px;
                height: 150px;
            }
            
            .slider-nav {
                top: 16px;
                right: 16px;
            }
            
            .promo-card {
                display: none; /* Hide promo card on smaller screens */
            }
        }
        
        @media (max-width: 768px) {
            /* Stack logo and search on mobile */
            .top-bar {
                flex-direction: column;
                gap: 12px;
                padding: 12px;
            }
            
            .logo-section {
                width: 100%;
                justify-content: space-between;
            }
            
            .search-bar {
                width: 100%;
                max-width: none;
            }
            
            .promo-images {
                flex-direction: column;
            }
            
            .promo-images .img-large,
            .promo-images .img-small {
                width: 100%;
                max-width: 300px;
                height: auto;
            }

            .product-card {
                width: 160px;
            }
        }







        /* --- NEW: Site Footer --- */
.site-footer {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    font-size: 14px;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    box-sizing: border-box;
}

/* --- Footer Top (Help) --- */
.footer-top {
    background-color: #f7f7f7;
    border-bottom: 1px solid var(--border-color);
}

.footer-top .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.help-intro h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--text-dark);
}

.help-intro p {
    font-size: 13px;
    color: #555;
    margin: 0;
}

.help-options {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.help-option {
    display: flex;
    align-items: center;
    gap: 12px;
}

.help-option i {
    font-size: 24px;
    color: #888;
}

.help-option span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #777;
    text-transform: uppercase;
}

.help-option strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

/* --- Footer Main (Links) --- */
.footer-main {
    background-color: #fff;
    padding: 20px 0;
}

.footer-main .footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links {
    display: flex;
    flex: 3; /* Takes more space */
    flex-wrap: wrap;
    gap: 24px;
    min-width: 60%;
}

.footer-connect {
    display: flex;
    flex: 1; /* Takes less space */
    gap: 24px;
    min-width: 300px;
}

.footer-column {
    min-width: 150px;
}

.footer-column h5 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column ul li a {
    color: #555;
    font-size: 13px;
    font-weight: 500;
}

.footer-column ul li a:hover {
    color: var(--brand-blue);
    text-decoration: underline;
}

.app-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.app-badges img {
    height: 40px;
    max-width: 135px;
    object-fit: contain;
}

.social-links {
    display: flex;
    gap: 6px;
}

.fa-brands, .fab {
    font-family: "Font Awesome 6 Brands";
    font-size: 14px;
}

a.view-all {
    margin-right: 20px;
}


.social-icon {
    display: grid
;
    place-items: center;
    width: 26px;
    height: 26px;
    min-height: 26px;
    min-width: 26px;
    border-radius: 50%;
    background-color: #ff2927;
    color: #ffffff;
    font-size: 18px;
}

.social-icon:hover {
    opacity: 0.8;
}

/* --- Footer Bottom (Legal) --- */
.footer-bottom {
    background-color: #f7f7f7;
    border-top: 1px solid var(--border-color);
    padding: 10px 0;
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 12px;
    color: #777;
    flex-shrink: 0;
}

.payment-methods {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.payment-methods img {
    height: 20px;
}

.legal-links ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legal-links a {
    font-size: 12px;
    font-weight: 500;
    color: #555;
}

.legal-links a:hover {
    color: var(--brand-blue);
    text-decoration: underline;
}

/* Responsive adjustments for footer */
@media (max-width: 992px) {
    .footer-links {
        justify-content: space-between;
    }
    .footer-column {
        min-width: 140px; /* Allow columns to get a bit smaller */
    }
    .footer-bottom .footer-container {
        flex-direction: column-reverse; /* Stack vertically */
    }
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-top .footer-container,
    .footer-main .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .help-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .footer-connect {
        flex-direction: row;
    }
    .app-badges {
        flex-direction: row; /* Stack side-by-side on mobile */
    }
    .app-badges img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .footer-connect {
        flex-direction: column;
        align-items: flex-start;
    }
     .app-badges {
        flex-direction: column; /* Stack vertically again on very small screens */
    }
    .app-badges img {
        height: 40px;
    }
}


img.mainlgo {
    max-width: 150px;
}




/* --- NEW: Mega Menu Styles --- */
.bottom-nav li.has-megamenu {
    position: relative;
}

.mega-menu {
    display: none; /* Hidden by default */
    position: fixed;
    top: 126px;
    left: 13px;
    width: auto;
    min-width: 600px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-top: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    z-index: 99999999999999999999999;
    padding: 20px;
    flex-direction: row;
    gap: 30px;
}

/* Show on hover */
.bottom-nav li.has-megamenu:hover .mega-menu {
    display: flex;
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 180px;
}

.mega-menu-column h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.mega-menu-column ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-menu-column ul li a {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    /* IMPORTANT: Make mega menu links clickable */
    pointer-events: auto !important; 
}

.mega-menu-column ul li a:hover {
    color: var(--brand-blue);
    text-decoration: underline;
}



.locationapp {
    display: flex
;
    align-items: center;
    background: #0000;
    color: #111;
    padding: 5px 25px;
    padding-left: 6px;
    border-radius: 400px;
    gap: 10px;
        margin-left: 10px;
        border: solid 1px #3333331c;
}


img.locationicn {
    max-width: 35px;
}


span.original-price {
    display: flex
;
    flex-direction: column;
}


div#locationapp {
    position: relative;
}



.location-modal-body {
    width: max-content;
    display: flex
;
    align-items: center;
}

div#delivery-card {
    max-width: 250px;
}

div#location-modal {
    width: max-content;
    justify-content: center;
    align-items: center;
}

.location-modal {
    display: none;
}


input[type="search"] {
    border: solid 1px #3333331c !important; 
    outline: 0;
}






/* --- Wishlist Button Active State --- */
.wishlist-btn {
    transition: all 0.2s ease;
}

.wishlist-btn.active {
    /* Make the button active (red) */
    color: #e53935;
    border: 1px solid #e5393500;
}

.wishlist-btn.active:hover {
    background-color: #ffcdd2;
}

.wishlist-btn.active .fa-solid.fa-heart {
    /* This makes the solid heart icon show */
    display: inline-block;
}

.wishlist-btn.active .fa-regular.fa-heart {
    /* This hides the regular heart icon */
    display: none;
}


/* --- Starter CSS for Navbar Icon --- */
/* You will need to adjust this to match your header's design */
.user-options .option-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333; /* Or your icon color */
    font-size: 1.5rem; /* Match your other icons */
    padding: 8px;
}

.user-options a.option {
    text-decoration: none;
}

.user-options .icon-count {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: #ff2927; /* Red count bubble */
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    display: none; /* Hidden by default */
}


.top-bar * i.fa-regular.fa-heart {
    color: #000;
    font-size: 20px;
}


section.promo-banner {
    border: solid 1px #3333330d;
}



div#product-content {
    padding: 20px;
    background-color: #ffffff;
    max-width: 85vw;
    margin: 0 auto;
}


h2 {
    text-transform: capitalize;
}


img.product-card-image {
    padding: 0;
    margin: 0;
    width: 100%;
    object-fit: cover;
}





div#category-carousel-track {
    gap: 5px;
}


section.promo-banner {
    min-height: 402px;
}


.skeleton-hero-large.shimmer {
    margin-top: 50px;
}


.skeleton-line.h-18 {
    margin-top: 4px;
    margin-bottom: 5px;
}

p.promo-price > strong {
    font-size: 22px !important;
    margin-left: 4px;
}

p.promo-price {
    margin-top: 4px;
    margin-bottom: 0px;
}

.rnavcntnt {
    display: flex;
    gap: 30px;
    width: 40vw;
    transition: 0.5s 
ease;
}


.prdctcrdttl {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.promo-card {
    background-size: cover;
    background-position: center;
}


.product-card-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}






/* Hide scrollbar on the social track */
.social-track {
  -ms-overflow-style: none;      /* IE/Edge */
  scrollbar-width: none;         /* Firefox */
}
.social-track::-webkit-scrollbar { display: none; } /* Chrome/Safari */

/* Hotspot dot + ring — keep yours or use these */
.hotspot-dot { 
  position:absolute; width:18px; height:18px; border-radius:999px; 
  background:#fff; display:grid; place-items:center; cursor:pointer;
  transform: translate(-50%, -50%); box-shadow:0 2px 8px rgba(0,0,0,.25);
}
.hotspot-ring { width:8px; height:8px; background:#111; border-radius:999px; }

/* Tooltip card (black pill with thumb, title, price, chevron) */
.hotspot-pop {
  position:absolute; transform:translate(-50%, -110%);
  background:#111; color:#fff; border-radius:12px; padding:8px 10px;
  display:flex; align-items:center; gap:10px; box-shadow:0 8px 20px rgba(0,0,0,.45);
  font-size:12px; white-space:nowrap; pointer-events:auto; opacity:0; 
  transition:opacity .18s ease;
}
.hotspot-pop img { width:44px; height:44px; border-radius:6px; object-fit:cover; }
.hotspot-pop .meta { max-width:180px; }
.hotspot-pop .title { font-weight:700; line-height:1.2; overflow:hidden; text-overflow:ellipsis; }
.hotspot-pop .price { opacity:.9; margin-top:2px; }
.hotspot-pop .chev { margin-left:2px; }

.hotspot-dot:hover + .hotspot-pop,
.hotspot-pop.show { opacity:1; }




/* Hide scrollbar on the social track */
.social-track{ -ms-overflow-style:none; scrollbar-width:none; }
.social-track::-webkit-scrollbar{ display:none; }

/* Dot + ring */
.hotspot-dot{
  position:absolute; width:18px; height:18px; border-radius:999px;
  background:#fff; display:grid; place-items:center; cursor:pointer;
  transform:translate(-50%,-50%); box-shadow:0 2px 8px rgba(0,0,0,.25);
}
.hotspot-ring{ width:8px; height:8px; background:#111; border-radius:999px; }

/* Black pill tooltip (clickable link) */
.hotspot-tooltip{
  position:absolute; transform:translate(-50%,-110%);
  background:#111; color:#fff; border-radius:12px; padding:8px 10px;
  display:flex; align-items:center; gap:10px; box-shadow:0 8px 20px rgba(0,0,0,.45);
  font-size:12px; white-space:nowrap; pointer-events:auto; /* IMPORTANT */
  opacity:0; transition:opacity .18s ease;
  text-decoration:none; /* keep link unstyled */
}
.hotspot-tooltip img{ width:44px; height:44px; border-radius:6px; object-fit:cover; }
.hotspot-tooltip .meta{ max-width:180px; }
.hotspot-tooltip .title{ font-weight:700; line-height:1.2; overflow:hidden; text-overflow:ellipsis; }
.hotspot-tooltip .price{ opacity:.9; margin-top:2px; }
.hotspot-tooltip .chev{ margin-left:2px; }

.hotspot-dot:hover + .hotspot-tooltip,
.hotspot-tooltip.show{ opacity:1; }


a.hotspot-tooltip > img {
    max-width: 35px;
}

a.hotspot-tooltip {
    overflow: hidden;
}

.social-card img {
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: 10 / 9;
    object-fit: contain;
}

.social-card {
    background: #0000;
}

section.preftr-notes {
    margin-top: 50px;
}

.preftrntsttl {
    font-size: 18px;
    font-weight: 500;
}

.preftrntsdesc {
    margin-top: 10px;
    margin-bottom: 25px;
    font-size: 14px;
    color: #777777;
    line-height: 1.5;
}



/* Re-enable carousel links; JS handles drag vs click */
.product-carousel-container a { pointer-events: auto !important; }

.bottom-nav a { pointer-events: auto !important; }








button.notification-bar-button {
    text-transform: capitalize;
}

/* ===========================
   Notifications Bar - Ticker
   =========================== */

.notification-bar {
    width: 100%;
    color: #fff;
    display: flex;
    align-items: stretch;
    font-size: 14px;
    /* background is set from JS based on first notification */
}

.notification-bar-track {
    flex: 1;
    overflow: hidden;
    min-height: 40px;
    display: flex;
    align-items: center;
}

/* The moving strip */
.notification-bar-scroller {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
    padding: 6px 16px;
    will-change: transform;
    flex-shrink: 0;         
}

/* Individual notification item inside the ticker */
.notification-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 4px 24px;
    border-radius: 999px;
    font-weight: 500;
    text-transform: none;
    background-color: transparent;
    color: inherit;
    position: relative;
}

/* Optional per-item colour overrides (set via CSS vars from JS) */
.notification-bar-item {
    background-color: var(--notif-bg, transparent);
    color: var(--notif-color, inherit);
}

nav#bottom-nav {
    border-top: solid 1px #33333324;
}

/* The last duplicated item still shows a dot, which is fine
   because the sequence loops seamlessly. */

/* Main text */
.notification-bar-text {
    font-weight: 500;
}

/* CTA button inside ticker */
.notification-bar-button {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 4px 12px;
    background: transparent;
    color: inherit;
    font-size: 13px;
    cursor: pointer;
    text-transform: capitalize;
}

.notification-bar-button:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Countdown timer inside a notification */
.notification-bar-timer {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
}

.notification-bar-timer .label {
    opacity: 0.9;
}

.notification-bar-timer .value {
    font-variant-numeric: tabular-nums;
}

/* We no longer use prev/next arrow buttons, but keep style in case */
.notification-bar-arrow {
    display: none;
}

/* Infinite scrolling animation */
.notification-bar-scroller-animate {
    animation-name: notification-bar-scroll;
    animation-duration: var(--scroll-duration, 30s);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-play-state: running;
}

@keyframes notification-bar-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-1 * var(--scroll-distance, 100%)));
    }
}



/* Make video promo cards behave like existing cards */
.promo-card--video {
  position: relative;
  overflow: hidden;
}

/* The video sits behind the content */
.promo-card--video .promo-card-bg-video,
.promo-card--video .promo-card-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Gradient overlay similar to your old background-image gradient */
.promo-card--video .promo-card-overlay {
  background: linear-gradient(rgb(0 0 0 / 3%), #0000009e);
}

/* Keep text & button on top and clickable */
.promo-card--video > div,
.promo-card--video > button {
  position: relative;
  z-index: 1;
}



video.img-large {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 100% !important;
}

.promo-images {
    height: 100%;
}






