        /* General Reset */
         html, body { overflow-x: hidden; }



        #sliderTrack,#homecategory-slider-track {
        list-style-type: none;
        padding-left: 0;
        margin: 0;
        }

       
       
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }


        body {
            font-family: Arial, sans-serif;
            
        }

        .row {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .site_logo .logo {
            font-size: 1.8rem;
            font-weight: bold;
            text-decoration: none;
        }

        .search-bar {
            display: flex;
            align-items: center;
            flex: 1;
            margin: 0 15px;
        }

        .search-bar form {
    display: flex;
    align-items: center;
    width: 100%;
}

        .search-bar input {
            width: 100%;
            padding: 8px;
            border-radius: 4px;
            border: none;
        }

        .search-bar {
            position: relative;
            /* Relative positioning for absolute child */
            display: flex;
            align-items: center;
            flex: 1;
            margin: 0 15px;
        }

   

        .search-bar .search-btn {
            margin-left: 8px;
            padding: 8px 12px;
            background-color:  #28a745 ;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        .login-signup-btn {
            padding: 8px 16px;
            background-color: #ff5722;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        .addtocartlogo .addtocart-btn {
            display: flex;
            justify-content: center;
            align-items: center;
            text-decoration: none;
            width: 45px;
            height: 45px;
            background-color: #d52323;
            border-radius: 50%;
            color: white;
            font-size: 1.5rem;
        }

        .dropdown-menu a {
            color: #000;
        }

        .dropdown-menu a:hover {
            background-color: #f1f1f1;
        }

        .dropdown:hover .dropdown-menu {
            display: block;
            margin-top: 0;
            /* Prevent gap between parent and dropdown */
        }

        .nav-full-width {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .navbar-nav {
            flex-grow: 1;
            display: flex;
            justify-content: space-between;
        }

        .nav-link {
            flex: 1;
            /* Makes each nav-link take equal width */
            text-align: center;
        }

        .nav-item {
            position: relative;
            display: inline-block;
        }

        .nav-item a {
            color: #000;
            /* Initial text color */
            text-decoration: none;
            /* Remove default underline */
            transition: color 0.3s ease;
            /* Smooth color transition */
        }

        .nav-item::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            /* Position underline just below the nav-item */
            width: 0;
            height: 2px;
            /* Thickness of the underline */
            background-color: #ff5722;
            /* Color of the underline */
            transition: width 0.3s ease;
            /* Smooth animation for underline */
        }

        .nav-item:hover a {
            color:rgb(15, 13, 12);
            /* Change text color on hover */
        }

        .nav-item:hover::after {
            width: 100%;
            /* Expand underline to full width */
        }

        #profileDropdown {
            font-size: 1.5rem;
            display: none;

        }

        .nav-full-width {
            margin-top: 15px;
        }

        #search-results {
    position: absolute;
    top: 100%;
    left: 47%;
    transform: translateX(-50%);
    width: 94%;
    z-index: 1000;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    margin: -1px 0px;
}


        .product_name,
        .product_price,
        .search-add-to-cart {
            display: contents;
        }



        /* HERE IS THE CAROUSAL CSS */
        :root {
            --carousel-height: 450px;
            --speed-fast: 0.12s;
            --speed-medium: 0.22s;
            --speed-slow: 0.4s;
        }


        .carousel {
            width: 100%;
            max-width: 1140px;
            height: var(--carousel-height);
            position: relative;
            border-radius: 8px;
            box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.06), 0px 6px 24px 0px rgba(0, 0, 0, 0.12);
            transition: var(--speed-slow) ease;

            @media screen and (max-width: 989px) {
                --carousel-height: 320px;
                height: var(--carousel-height);
            }
        }

        .slide {
            width: 100%;
            height: 100%;
            position: absolute;
            opacity: 0;
            transition: var(--speed-medium) ease;

            &.active {
                opacity: 1;
            }
        }

        .slide {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;

            img {
                aspect-ratio: 16 / 9;
                width: 100%;
                height: 100%;
                object-fit: cover;
                border-radius: 8px;
            }
        }

        .dots {
            position: absolute;
            bottom: 14px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
        }

        .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            margin: 0 5px;
            cursor: pointer;

            &.active {
                background-color: white;
            }
        }

        .timer {
            position: absolute;
            top: 8px;
            right: 8px;
            left: 8px;
            height: 4px;
            border-radius: 100vh;
            background-color: #fff;
            backdrop-filter: blur(8px);
            width: 0;
            z-index: 10;
        }

        .nav-arrow {
            --arrow-width: 64px;
            aspect-ratio: 1;
            position: absolute;
            top: calc(var(--carousel-height) / 2 - var(--arrow-width) / 2);
            background: #fff;
            transition: var(--speed-slow) ease;
            width: 64px;
            border-radius: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;

            svg {
                transition: 0.2s ease-in-out;
                fill: #000;
            }

            &:hover {
                background-color: #000;

                svg {
                    fill: #fff;
                }

                &.prev {
                    svg {
                        transform: translateX(-4px);
                    }
                }

                &.next {
                    svg {
                        transform: translateX(4px);
                    }
                }
            }

            &.prev {
                left: 0px;
                transform: translateX(-50%);
            }

            &.next {
                right: 0;
                transform: translateX(50%);
            }
        }

        .pause-play-button {
            position: absolute;
            bottom: 8px;
            right: 8px;
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            padding: 5px 10px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
            display: flex;
            align-items: center;
            border-radius: 20px;

            &:hover {
                background-color: rgba(0, 0, 0, 0.8);
            }

            svg {
                width: 20px;
                height: 20px;
                margin-right: 4px;
            }

            span {
                white-space: nowrap;
            }
        }


    .sticky {
    position: fixed;
    top: 0px;
    padding: 7px 10px;
    width: 90%;
    z-index: 1000;
    background-color: white;
    transition: top 0.3s ease-in-out;
    }

/* #header-logo {
        transition: top 0.3s ease-in-out;
    } */


    #header-logo {
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}


.mobile-bottom-nav {
    display: none;
}
        @media (max-width: 768px) {

            .mobile-bottom-nav {
        display: flex !important;
    }

.whatsapp_icon {
        bottom: 72px !important;
}


            /* mobile only bottom navigation */
.mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        display: flex;
        justify-content: space-around;
        padding: 8px 0;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .mobile-bottom-nav .item {
        text-align: center;
        color: #777;
        font-size: 12px;
        position: relative;
    }

    .mobile-bottom-nav .item.active {
        color: #00834f;
        font-weight: 600;
    }

    .mobile-bottom-nav .item i {
        display: block;
        font-size: 24px;
        margin-bottom: 3px;
    }

    /* Badge for basket */
    .mobile-bottom-nav .badge {
        position: absolute;
        top: -2px;
        right: 18px;
        background: #00834f;
        color: #fff;
        font-size: 10px;
        padding: 2px 6px;
        border-radius: 10px;
        font-weight: bold;
    }

    .mobile-bottom-nav i {
    font-size: 18px !important; /* decrease icon size */
}




            /* end */

             .whatsapp_icon img {
        width: 40px !important;
        height: 40px !important;
    }
            /* third carousal class */
            .nav-arrow.prev {
                /* left: 19px !important; */
                left: 35px !important;
                height: 50px;
        width: 50px;
            }

             .nav-arrow.next {
                /* right: 19px !important; */
                right: 35px !important;
                height: 50px;
        width: 50px;
            }

            #profileDropdown {
                display: block;

            }

            #product-quantity-id {
                display: none !important;
            }

            #search-results {
                left: 49%;
                width: 100%;
            }

            .login-signup-btn,
            .site_logo,
            .addtocartlogo {
                display: none;
            }

            .nav-full-width {
                margin-top: 0px;
            }

            #container-mobile {
                padding-right: 0px;
                padding-left: 0px;
            }

            .search-bar {
                margin: 0 5px;
            }

   

            .sticky {
    width: 100%;

}
        }


        .product-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
}

.product-col {
    padding-left: 12px;
    padding-right: 12px;
    width: 50%; /* Show 2 cards per row on all devices by default */
}
@media (min-width: 768px) {
    .product-col {
        width: 33.3333%;
    }
}
@media (min-width: 992px) {
    .product-col {
        width: 25%;
    }
}

    @media (max-width: 575.98px) {
    .cat-card .card {
        margin-bottom: 1rem;
        padding: 0.5rem;
    }
    .cat-card .card-img-top {
        height: 150px !important;
    }
    .cat-card .card-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
  .profile {
    display: none !important;
  }
}

.sidebar {
    width: 0;
    transition: 0.3s;
    overflow: hidden;
}
.sidebar.active {
    width: 250px; /* or whatever size */
}


.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #1c1c1c;
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 60px;
    z-index: 9999;
}

.sidebar a {
    padding: 10px 20px;
    text-decoration: none;
    font-size: 18px;
    color: #fff;
    display: block;
    transition: 0.2s;
}

.sidebar a:hover {
    background-color: #333;
}

/* Close button */
.sidebar .closebtn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    text-decoration: none;
}

/* Badges */
.stock-label {
    float: right;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.stock-label.red {
    background: red;
}

.stock-label.green {
    background: green;
}

.whatsapp_icon {
    position: fixed;
    bottom: 20px;   /* distance from bottom */
    right: 20px;    /* distance from right */
    z-index: 9999;  /* ensures it stays above all elements */
}

.cart_icon_mobile{
    position: fixed;
    bottom: 70px;   /* distance from bottom */
    right: 20px;    /* distance from right */
    z-index: 9999;  /* ensures it stays above all elements */
}

.whatsapp_icon img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp_icon img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Orchard Story */
.orchard-story-section {
    margin-top: 24px;
    margin-bottom: 24px;
}

.orchard-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
    background: #f7f6f4;
    border-radius: 20px;
    padding: 20px;
}

.orchard-story-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 460px;
}

.orchard-story-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.legacy-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #ffbf1f, #e98807);
    color: #231707;
    border-radius: 18px;
    padding: 16px 24px;
    min-width: 180px;
    text-align: left;
}

.legacy-badge strong {
    display: block;
    font-size: 54px;
    font-weight: 800;
    line-height: 1;
}

.legacy-badge span {
    font-size: 30px;
    font-weight: 600;
}

.orchard-quote {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    padding: 26px 24px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.05));
}

.orchard-quote p {
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 1.45;
    font-style: italic;
}

.orchard-quote small {
    font-size: 16px;
    opacity: 0.95;
}

.orchard-story-content h6 {
    color: #1f7a4a;
    font-size: 13px;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 12px;
}

.orchard-story-content h2 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #2f1f15;
    font-weight: 700;
}

.orchard-story-content h2 span {
    color: #e89410;
}

.orchard-story-content p {
    color: #5d5147;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.orchard-story-content strong {
    color: #2a2018;
    font-weight: 700;
}

.orchard-story-content .highlight-red {
    color: #f23f33;
}

.meet-farmers-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    text-decoration: none;
    background: linear-gradient(120deg, #ffc61a, #ea7d00);
    color: #1b130a;
    padding: 14px 34px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.meet-farmers-btn:hover {
    color: #1b130a;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(233, 136, 7, 0.3);
}

@media (max-width: 1200px) {
    .orchard-story-content h2 {
        font-size: 42px;
    }

    .orchard-story-content p {
        font-size: 20px;
    }
}

@media (max-width: 991px) {
    .orchard-story-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .orchard-story-visual {
        min-height: 360px;
    }

    .legacy-badge strong {
        font-size: 42px;
    }

    .legacy-badge span {
        font-size: 18px;
    }

    .orchard-quote p {
        font-size: 20px;
    }

    .orchard-quote small {
        font-size: 15px;
    }

    .orchard-story-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .orchard-story-grid {
        padding: 14px;
    }

    .orchard-story-visual {
        min-height: 320px;
        border-radius: 14px;
    }

    .legacy-badge {
        min-width: auto;
        border-radius: 12px;
        padding: 10px 14px;
    }

    .legacy-badge strong {
        font-size: 24px;
    }

    .legacy-badge span {
        font-size: 12px;
    }

    .orchard-quote {
        padding: 16px 14px 12px;
    }

    .orchard-quote p {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .orchard-quote small {
        font-size: 12px;
    }

    .orchard-story-content h6 {
        font-size: 12px;
    }

    .orchard-story-content h2 {
        font-size: 30px;
        margin-bottom: 12px;
    }

    .orchard-story-content p {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .meet-farmers-btn {
        width: 100%;
        justify-content: center;
        font-size: 16px;
        padding: 12px 18px;
    }
}


        
