/* ===== Navbar / Offcanvas ===== */
.offcanvas {
    display: none;
}

@media (max-width: 992px) {
    .offcanvas {
        display: block;
    }
}

@media (min-width: 992px) {
    .nav-search {
        min-width: 520px;
        max-width: 680px;
    }
}

#heroCarousel {
    padding-bottom: 1rem;
}

#heroCarousel .carousel-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-search .input-group-text {
    background: #fff;
}

.icon-badge {
    font-size: .65rem;
    line-height: 1;
    padding: .25rem .35rem;
}

.navbar-toggler {
    border: 0 !important;
    box-shadow: none !important;
}

/* ===== Category Slider ===== */
.cat-wrap {
    position: relative;
}

.cat-track {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    /* keep programmatic scroll */
    scroll-snap-type: x mandatory;
    padding: 10px 64px;
    /* room for the arrows */
    -webkit-overflow-scrolling: touch;

    /* hide scrollbars (keeps scroll programmatically) */
    scrollbar-width: none;
    /* Firefox */
}

.cat-track::-webkit-scrollbar {
    display: none;
}

/* Chrome/Safari/Edge */

.cat-item {
    text-decoration: none;
    color: #222;
    width: 70px;
    /* keeps them neat */
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.cat-thumb {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 2px #e9ecef inset;
    display: grid;
    place-items: center;
    background: #fff;
    transition: box-shadow .2s ease, transform .25s ease;
}

.cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-label {
    margin-top: 8px;
    font-size: .75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Arrow buttons */
.cat-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #23b34a;
    color: #23b34a;
    background: transparent;
    display: grid;
    place-items: center;
}

.cat-nav:hover {
    background: rgba(35, 179, 74, .08);
}

.cat-prev {
    left: 1rem;
}

.cat-next {
    right: 1rem;
}

/* Hover effect */
.cat-item:hover .cat-thumb {
    box-shadow: 0 0 0 2px #23b34a inset;
    transform: scale(1.03);
}

@media (max-width: 576px) {
    .cat-track {
        gap: 18px;
        padding: 8px 56px;
    }

    .cat-item {
        width: 60px;
    }

    .cat-thumb {
        width: 50px;
        height: 50px;
    }
}

/*////////////////*/

/*************************************
     * Limited Time Offers – Product Cards
     * Works with your existing HTML/Owl
     *************************************/

/* Layout header */

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 28px 0 14px;
}

.section-head h3 {
    color: #000;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    /* 62.5% */
    letter-spacing: -0.05px;
}

.bannerSection img {
    object-fit: cover;
}

@media (max-width: 991px) and (min-width: 768px) {
    .carousel-item img {
        height: 250px;
        object-fit: cover;
    }
}

@media (max-width: 425px) {
    .bannerSection img {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .carousel-item img {
        height: 200px;
        object-fit: cover;

    }
}

.more-link {
    color: #353535;
    text-decoration: none;
    font-weight: 500;
}

.more-link:hover {
    color: #090909;
}


#productsCarousel .owl-stage {
    padding: 1rem 0;
}

#catCarousel {
    display: flex;
}

/* keeps card shadows crisp */
#productsCarousel .owl-item {
    display: flex;
    justify-content: center;
    height: min-content
}

.owl-carousel .owl-item {
    display: flex;
    justify-content: center;
}

#productsCarousel .item {
    width: 100%;
}

#productsCarousel .owl-dots {
    text-align: center;
    margin-top: 14px;
}

#productsCarousel .owl-dot span {
    width: 10px;
    height: 10px;
    display: block;
    border-radius: 50%;
    background: #d9d9d9;
    margin: 5px 6px;
    transition: transform .2s ease, background .2s ease;
}

#productsCarousel .owl-dot.active span {
    background: #6b847b;
    transform: scale(1.05);
}

.mobile-app-add {
    margin: 2rem 0;
    background-image: url("/assets/images/mobile-add.png");
    width: 100%;
    height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
}

.add-topic {
    color: #FFF;
    font-size: 52px;
    font-style: normal;
    font-weight: 600;
    line-height: 69px;
    /* 132.692% */
    letter-spacing: -0.05px;
}

.text-green {
    color: #389721;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: 54px;
    letter-spacing: -0.05px;
}

.txt-wrapper-add {
    color: white;
    display: flex;
    justify-content: center;
    height: 100%;
    flex-direction: column;
}

.details-para {
    width: 50%;
}

.btn-download {
    background: white !important;
    color: #389721 !important;
    font-weight: 600 !important;
    margin-top: 1rem !important;
    width: fit-content !important;
    border-radius: 5px !important;
}

.btn-download:hover {
    background: transparent !important;
    color: white !important;
    margin-top: 1.1rem !important;
    border: none;
}


.btn-load_more {
    border: 1px solid #389721;
    color: #389721;
    background: white;
    margin-top: 1rem;
    width: 200px;
    padding: 5px 0;
    border-radius: 10px;
}


@media (max-width: 575.98px) {
    .mobile-app-add {
        height: auto;
        padding: 40px 0;
    }

    .txt-wrapper-add {
        text-align: center;
        align-items: center;
    }

    .add-topic {
        font-size: 30px;
    }

    .text-green {
        font-size: 34px;
        line-height: 1.1;
    }

    .details-para {
        width: 100%;
        padding: 0 12px;
    }

    .btn-download {
        width: 80%;
        max-width: 280px;
    }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    padding: 20px;
}

.product-grid .item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}

.product-grid .item:hover {
    transform: translateY(-5px);
}

#catCarousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

#catCarousel .owl-nav span {
    display: none !important;
}


#catCarousel .owl-nav button.owl-prev,
#catCarousel .owl-nav button.owl-next {
    pointer-events: auto;
    background-color: white;
    color: #389721 !important;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid #389721;
    font-size: 24px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-75%);
}

#catCarousel .owl-nav button.owl-prev::before {
    content: "\f104";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

#catCarousel .owl-nav button.owl-next::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

#catCarousel .owl-nav button.owl-prev {
    left: -10px !important;
}

#catCarousel .owl-nav button.owl-next {
    right: -10px !important;
}

@media (max-width: 850px) {

    #catCarousel .owl-nav button.owl-prev,
    #catCarousel .owl-nav button.owl-next {
        display: none;
    }
}