/* General Body Styles */
html, body {
    overflow-x: hidden;
}

body {
    position: relative;
}

body {
    margin: 0;
    background-color: transparent;
    color: #333;
    /* CRUCIAL: Push content down by header height */
    padding-top: 100px; /* Default for desktop header height */
    overflow-x: hidden; /* Prevent horizontal scrollbar from mobile menu sliding */
    /* Add a generic font family fallback (serif, sans-serif, monospace) */
    line-height: 1.6; /* Good for readability */
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif; /* Apply Lora to all headings */
    font-weight: 700; /* If you want your headings bold, make sure you imported that weight */
    color: #222;
}

p {
    margin-bottom: 7px !important;
}

/* Header Styles */
header {
    background-color: #fff;
    padding: 20px 40px; /* Base padding for header content */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    position: fixed; /* Makes the header stick to the viewport */
    top: 0; /* Positions it at the very top */
    left: 0; /* Positions it at the very left */
    width: 100%; /* Ensures it spans the full width of the viewport */
    z-index: 1000; /* High z-index to ensure it stays on top of all other content */
    height: 100px; /* Explicit height for the header */
    box-sizing: border-box; /* Include padding in the height calculation */
}

    header h1 {
        margin: 0;
        font-size: 0; /* Hide the h1 text visually */
        line-height: 0;
        flex-shrink: 0;
    }

.header-logo {
    max-height: 120px; /* Your desired height for the logo */
    width: auto;
    position: absolute;
    z-index: 1001; /* Ensure logo is on top of nav links, but below hamburger */
    top: 20px;
    left: 40px;
}

nav {
    margin-left: auto; /* Pushes nav to the far right */
    position: relative;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 20px; /* Spacing between desktop nav items */
}

    nav a {
        text-decoration: none;
        color: #b45f06;
        font-weight: bold;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        transition: color 0.3s ease;
    }

        nav a .fab,
        nav a .fas {
            font-size: 20px;
            color: #b45f06;
            transition: color 0.3s ease;
        }

        nav a:hover {
            color: #8c4a00;
        }

        nav a .fab:hover,
        nav a .fas:hover {
            color: #8c4a00;
        }

        nav a[aria-label="Facebook"],
        nav a[aria-label="Instagram"],
        nav a[aria-label="Shopping Cart"] {
            text-decoration: none;
            color: #b45f06;
        }

/* --- Hamburger Menu Styling (Hidden by default on desktop) --- */
.hamburger-menu {
    display: none; /* Hide on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002; /* Ensure hamburger is above logo and mobile nav */
}

    .hamburger-menu .bar {
        width: 100%;
        height: 3px;
        background-color: #333; /* Color of the bars */
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    /* Hamburger animation when active */
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

/* --- Mobile Menu Close Button (Hidden by default) --- */
.close-menu-btn {
    display: none; /* Hidden by default, will be shown in mobile media query when menu is active */
    position: absolute;
    top: 30px; /* Adjust as needed */
    right: 20px; /* Adjust as needed */
    background: none;
    border: none;
    font-size: 30px;
    color: white; /* Color for the 'X' */
    cursor: pointer;
    z-index: 1003; /* Ensure it's on top of everything in the menu */
    padding: 5px; /* Add some padding for easier tapping */
}


/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 450px; /* Adjust slider height as needed */
    overflow: hidden;
    z-index: 5;
}

.slides-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    box-sizing: border-box;
}

    .slide h2 {
        font-size: 48px;
        text-align: center;
        padding: 0 20px; /* Add padding to prevent text touching edges on small screens */
        box-sizing: border-box;
    }

.prev-button,
.next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 24px;
    z-index: 100;
    border-radius: 5px;
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .dot.active {
        background-color: #b45f06;
    }

/* Products Section Styles */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Flexible columns */
    gap: 20px;
    padding: 40px;
}

.product-info-column p {
    padding: 5px;
}

.product {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    height: 600px; /* Fixed height for consistency */
    display: flex;
    flex-direction: column;
}

    .product img {
        width: 100%;
        height: 300px; /* Fixed height for images */
        object-fit: contain;
        flex-shrink: 0;
    }

    .product h3 {
        display: flex;
        height: stretch;
     }

    .product h3 a {
        margin: 10px 0;
        color: #b45f06;
        padding: 0 10px;
        max-height: 30px;
        display: block;
        font-size: large;
        font-weight: bold;
    }

    .product p {
        padding: 0 10px 10px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        font-size: 18px;
        font-weight: bold;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

/* Button CSS (add-to-cart-btn) */
.add-to-cart-btn {
    width: 90%;
    background-color: #22c55e;
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
    transition: background-color 0.3s ease;
    display: block;
    margin: 0 auto;
}

    .add-to-cart-btn:hover {
        background-color: #16a34a;
    }

/* Footer */
footer {
    background: #fafafa;
    padding: 40px;
    text-align: center;
    border-top: 1px solid #ddd;
}

/* Newsletter section */
.newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    margin-top: 20px;
}

    .newsletter p {
        font-size: 1.1em;
        color: #333;
        margin-bottom: 5px;
    }

    .newsletter form {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        width: 100%;
        max-width: 400px;
    }

    .newsletter input[type="email"],
    .newsletter input[type="text"] {
        flex-grow: 1;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 1em;
        color: #333;
        outline: none;
        transition: border-color 0.3s ease;
    }

        .newsletter input[type="email"]:focus,
        .newsletter input[type="text"]:focus {
            border-color: #ff6f61;
        }

.subscribe-button {
    background-color: #ff6f61;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    min-width: 120px;
    flex-shrink: 0;
}

    .subscribe-button:hover {
        background-color: #e65c50;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .subscribe-button:active {
        background-color: #cc4d44;
        transform: translateY(1px);
    }

.newsletter input::placeholder {
    color: #aaa;
}

.social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

    .social-icons a {
        color: #b45f06;
        font-size: 24px;
        transition: color 0.3s ease;
        text-decoration: none;
    }

        .social-icons a:hover {
            color: #8c4a00;
        }

.copyright-content {
    margin-top: 20px;
    font-size: 14px;
}

/* Overlay background */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* Popup container */
.popup {
    background-color: #ffe6e6;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 90%; /* Responsive width */
    max-width: 500px;
    text-align: center;
    position: relative;
}

    .popup img {
        width: auto;
        max-width: 60%; /* Responsive image size */
        border-radius: 12px;
        margin-bottom: 15px;
        object-fit: cover;
    }

    .popup h2 {
        font-size: 22px;
        margin-bottom: 5px;
    }

    .popup p {
        font-size: 16px;
        margin: 8px 0;
    }

    .popup .popup-button {
        background-color: #000;
        color: #fff;
        border: none;
        padding: 12px 25px;
        font-size: 16px;
        margin-top: 15px;
        border-radius: 8px;
        cursor: pointer;
    }

    .popup .close-btn {
        position: absolute;
        top: 10px;
        right: 15px;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }

/* New styles for About Us and Contact Us sections */
.section-container {
    /*padding: 60px 40px;  Default padding */
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Default to column for mobile */
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) { /* On medium screens and up, use row layout */
    .section-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.section-content {
    flex: 1;
    min-width: 0;
    padding: 0 10px; /* Add some horizontal padding for text content */
    box-sizing: border-box;
}

.about-us-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-map {
    width: 100%;
    max-width: 500px;
    height: 300px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #b45f06;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button {
    background-color: #b45f06;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

    .contact-form button:hover {
        background-color: #8c4a00;
    }


/* --- Responsive Adjustments for Mobile (768px and below) --- */
@media (max-width: 768px) {
    /* General Body Adjustments */
    body {
        padding-top: 80px; /* Match mobile header height */
    }

    /* Header Adjustments */
    header {
        padding: 15px 20px;
        height: 80px;
    }

    .header-logo {
        max-height: 80px;
        left: 20px;
    }

    /* Hamburger Menu (already good) */
    .hamburger-menu {
        display: flex;
        margin-left: auto;
    }

    /* Mobile Navigation Specifics */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100%;
        background-color: #333;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        z-index: 1001;
        padding-top: 20px; /* Push content below fixed header */
        box-sizing: border-box;
    }

    /* Mobile Menu Close Button Styling */
    .close-menu-btn {
        display: block; /* Show the close button on mobile */
        position: absolute; /* Position it relative to the nav */
        top: 30px; /* Adjust as needed */
        right: 20px; /* Adjust as needed */
        background: none;
        border: none;
        font-size: 30px;
        color: white; /* Color for the 'X' */
        cursor: pointer;
        z-index: 1003; /* Ensure it's on top of everything in the menu */
        padding: 5px; /* Add some padding for easier tapping */
    }

    /* When nav has 'active' class, slide it into view */
    nav.active {
        right: 0;
    }

    nav a {
        color: white;
        font-size: 1.3em;
        padding: 15px 20px; /* Increased horizontal padding for better touch targets and visual spacing */
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        margin-left: 0;
        box-sizing: border-box;
    }

        nav a:last-child {
            border-bottom: none;
        }

        nav a:hover {
            background-color: rgba(255,255,255,0.1);
            color: #ff6f61;
        }

        nav a .fab,
        nav a .fas {
            color: white;
        }

    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    nav:not(.active) {
        display: none;
    }

    /* Hero Slider Adjustments */
    .hero-slider {
        height: 300px;
    }

    .slide h2 {
        font-size: 32px;
    }

    .prev-button,
    .next-button {
        font-size: 18px;
        padding: 8px 12px;
    }

    .dots-container {
        bottom: 10px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    /* Products Section Adjustments */
    .products {
        padding: 20px;
        grid-template-columns: 1fr;
    }

    .product {
        height: 480px;
        padding-bottom: 15px;
    }

        .product img {
            height: 180px;
        }

        .product h3 {
            font-size: 1.1em;
        }

        .product p {
            font-size: 1.3em;
        }

    /* Footer Adjustments */
    footer {
        padding: 20px;
    }

    .newsletter p {
        font-size: 1em;
    }

    .newsletter form {
        flex-direction: column;
        max-width: 100%;
    }

    .newsletter input[type="email"],
    .newsletter input[type="text"],
    .subscribe-button {
        width: 100%;
    }

    .social-icons {
        gap: 10px;
    }

        .social-icons a {
            font-size: 20px;
        }

    .copyright-content {
        font-size: 12px;
    }

    /* Popup Adjustments */
    .popup {
        padding: 20px 15px;
    }

        .popup img {
            max-width: 80%;
        }

        .popup h2 {
            font-size: 22px;
        }

        .popup p {
            font-size: 14px;
        }

        .popup .popup-button {
            padding: 10px 20px;
            font-size: 14px;
        }

        .popup .close-btn {
            font-size: 20px;
        }

    /* About Us and Contact Us sections */
    .section-container {
        padding: 30px 20px;
        gap: 20px;
    }

    .section-content h2 {
        font-size: 1.8em;
    }

  /*  .section-content p {
        font-size: 0.95em;
    }*/

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form textarea {
        padding: 10px;
        font-size: 14px;
    }

    .contact-form button {
        padding: 10px 20px;
        font-size: 16px;
    }

    .w-full {
        width: 85%;
    }

    .contact-map {
        width: 85%;
    }
}

/* --- Responsive Adjustments for Very Small Phones (480px and below) --- */
@media (max-width: 480px) {
    /* Header Adjustments */
    header {
        padding: 10px 15px;
        height: 70px;
    }

    .header-logo {
        max-height: 70px;
        left: 15px;
    }

    body {
        padding-top: 70px;
    }

    /* Mobile Navigation Specifics */
    nav {
        width: 85%; /* Slightly wider menu for very small screens */
        padding-top: 70px; /* Match new header height */
    }

        nav a {
            font-size: 1.2em;
            padding: 12px 15px; /* Slightly less padding for very small screens */
        }

    /* Hero Slider Adjustments */
    .hero-slider {
        height: 250px; /* Even shorter slider */
    }

    .slide h2 {
        font-size: 24px; /* Even smaller heading */
    }

    /* Products Section Adjustments */
    .products {
        padding: 15px; /* Even less padding */
    }

    .product img {
        height: 150px; /* Even smaller image height */
    }

    /* Footer Adjustments */
    footer {
        padding: 15px;
    }

    .newsletter input[type="email"],
    .newsletter input[type="text"],
    .subscribe-button {
        padding: 10px 12px; /* Smaller padding for inputs/button */
        font-size: 0.9em;
    }

    /* Popup Adjustments */
    .popup {
        padding: 15px 10px;
    }

        .popup h2 {
            font-size: 20px;
        }

        .popup p {
            font-size: 13px;
        }

    /* About Us and Contact Us sections */
    .section-container {
        padding: 20px 15px;
        gap: 15px;
    }

    .section-content h2 {
        font-size: 1.5em;
    }
}

/* Product Detail Layout */
.product-detail-wrapper {
    display: flex;
    flex-direction: column; /* Stacks columns on small screens */
    gap: 40px; /* Space between columns */
    padding: 40px 20px;
    max-width: 1200px; /* Max width of the content */
    margin: 0 auto; /* Center the wrapper */
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .product-detail-wrapper {
        flex-direction: column; /* Side-by-side on larger screens */
        align-items: flex-start; /* Align items to the top */
    }

    .product-info-column {
        /*flex: 1;  Takes up 1 part of available space */
        padding-right: 30px; /* Space between content and slider */
    }

    .product-slider-column {
        /*flex: 1;  Takes up 1 part of available space */
    }
}

/* Product Info Column Styling */
.product-info-column h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.product-description {
    font-size: 1.1em;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.product-price {
    font-size: 2em;
    color: #b45f06; /* A nice cookie/bakery color */
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
}

.add-to-cart-btn {
    display: block; /* Make button full width in column */
    width: 80%; /* Adjust width for better appearance */
    max-width: 300px;
    margin: 0 auto 20px auto; /* Center button and add margin below */
    padding: 15px 30px;
    background-color: #b45f06;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .add-to-cart-btn:hover {
        background-color: #8c4a00;
        transform: translateY(-2px);
    }

.back-to-products-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #777;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .back-to-products-link:hover {
        color: #333;
        text-decoration: underline;
    }

/* Image Slider Column Styling */
.product-slider-column {
    position: relative;
    overflow: hidden; /* Important for slider */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-detail-slides-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.product-detail-slide {
    min-width: 100%; /* Each slide takes full width of its container */
    /* flex-shrink: 0; /* Prevent shrinking */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eee;
    height: 400px; /* Fixed height for consistency */
    overflow: hidden; /* Hide overflow if image is too big */
}

    .product-detail-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Cover the slide area, cropping if necessary */
        border-radius: 8px;
    }

.product-detail-prev-button,
.product-detail-next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5em;
    border-radius: 50%; /* Circular buttons */
    z-index: 10;
    transition: background-color 0.3s ease;
}

    .product-detail-prev-button:hover,
    .product-detail-next-button:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

.product-detail-prev-button {
    left: 10px;
}

.product-detail-next-button {
    right: 10px;
}

.product-detail-dots-container {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
    z-index: 10;
}

.product-detail-dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .product-detail-dot.active {
        background-color: #b45f06; /* Active dot color */
        transform: scale(1.2);
    }

/* Fallback for no images */
.placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensure placeholder image is fully visible */
    background-color: #e0e0e0;
}

.no-image-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #777;
    font-size: 1.2em;
}

/* Responsive adjustments for info column */
@media (max-width: 767px) {
    .product-info-column h2 {
        font-size: 2em;
    }

    .product-description {
        font-size: 1em;
    }

    .product-price {
        font-size: 1.6em;
    }

    .add-to-cart-btn {
        font-size: 1.1em;
        padding: 12px 25px;
    }
}

.toast {
    visibility: hidden; /* Hidden by default */
    min-width: 250px;
    background-color: #d4edda; /* Light green background */
    color: #155724; /* Dark green text for contrast */
    text-align: center;
    border-radius: 4px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    right: 30px; /* Position to the right */
    bottom: 30px;
    font-size: 17px;
    white-space: nowrap;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Optional: add shadow */
}

    .toast.show {
        visibility: visible; /* Show the toast */
        opacity: 1; /* Fade in */
    }

    @media (max-width: 600px) {
    /* Mobile-only toast override (does not change desktop rules) */
    .toast {
        left: 16px;
        right: 16px;
        bottom: 16px;
        min-width: 0;
        max-width: none;
        width: auto;
        box-sizing: border-box;
        white-space: normal; /* allow wrapping on small screens */
        font-size: 15px;
        padding: 12px 14px;
        z-index: 10000; /* ensure visible above other elements */
    }

        .toast.show {
            visibility: visible;
            opacity: 1;
        }
    }

    /* Tablet / iPad layout (medium size) - preserves desktop rules */
    @media (min-width: 601px) and (max-width: 1024px) {
        .toast {
            /* Centered and wider than mobile but not full desktop width */
            left: 50% !important;
            right: auto !important;
            transform: translateX(-50%) !important;
            bottom: 24px !important;
            min-width: 300px;
            width: 70%;
            max-width: 720px;
            box-sizing: border-box;
            white-space: normal; /* allow wrapping */
            font-size: 16px;
            padding: 14px 18px;
            z-index: 10000; /* ensure visible above other elements */
        }

            .toast.show {
                visibility: visible;
                opacity: 1;
            }
    }

/* Style for the cart count badge */
.cart-count {
    background-color: #ff0000; /* Red background */
    color: white; /* White text */
    border-radius: 50%; /* Make it round */
    padding: 2px 4px; /* Adjust padding as needed */
    font-size: 14px; /* Smaller font size */
    position: relative; /* Position relative to its normal place in the flow */
    top: -8px; /* Move it up slightly */
    left: -5px; /* Move it left slightly to overlap the icon */
    min-width: 20px; /* Ensure it's wide enough for double digits */
    text-align: center;
    display: inline-block; /* Allows padding and width */
}

    /* Optional: Hide if count is 0, though we'll handle this in JS */
    .cart-count:empty {
        display: none;
    }

#scrollToTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position so it stays in place */
    bottom: 20px; /* 20px from the bottom */
    left: 20px; /* 20px from the left */
    z-index: 99; /* Make sure it's on top of other content */
    font-size: 20px; /* Adjust size as needed */
    border: none; /* No border */
    outline: none; /* No outline on focus */
    background-color: #b45f06; /* Blue background, choose your color */
    color: white; /* White text/icon color */
    cursor: pointer; /* Pointer cursor on hover */
    padding: 6px 11px; /* Some padding */
    border-radius: 3px; /* Slightly rounded corners */
    text-decoration: none; /* No underline for the link */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

    #scrollToTopBtn:hover {
        background-color: #0056b3; /* Darker blue on hover */
    }