.sale-section {
    background: linear-gradient(90deg, #000000, #ff0000);
    border-radius: 12px;
    padding: 10px;
    color: #fff;
}

.wishlist-btn{
    display:none;
    position: absolute;
    bottom:10px;
    right:10px;
}

.category-product-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        /* সর্বোচ্চ ২ লাইন */
        -webkit-box-orient: vertical;
        overflow: hidden;

        color: #222222;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.35;
        text-decoration: none;
        margin-bottom: 5px;
        text-align: center;
        height: 37px;
    }

    .category-product-title:hover {
        color: #041832;
    }

.best-sale-section {
    background: #fff;
    padding: 20px;
}

.sale-card {
    border-radius: 6px;
    background: #fff;
    padding: 0px;
    position: relative;
    height: 100%;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    border: 1px solid #ddd;
}

/* hover effect zoom-in */
.sale-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.badge-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e0006c;
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 5px;
}

.badge-tag+.badge-tag {
    top: 35px;
}

.product-cat-title {
    font-size: 14px;
    font-weight: bold;
    color: #b86c36;
    margin-top: 10px;
    padding-left:6px;
}

.product-title {
    font-size: 14px;
    color: #333;
    padding-left:6px;
    /* min-height: 40px; */
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    padding-left:6px;
}

.price-new {
    color: #000;
    font-weight: bold;
    font-size: 16px;
    margin-left: 5px;
}

.see-all-btn {
    background: #fff;
    color: #000;
    font-weight: bold;
    border-radius: 30px;
    padding: 2px 7px;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid #ddd;
}
.see-all-btn:hover {
    color: #000;
    background: #ddd;
}
#cam{
    font-weight: bold;
    position: absolute;
    top: 6px;
    right: 6px;
    background: #F85606;
    color: #fff;
    height: 15px;
    width: 14px;
    line-height: 15px;
    font-size: 10px;
    border-radius: 50px;
    padding: 0px 4px;
}
#cam2{
    font-weight: bold;
    position: absolute;
    top: 6px;
    right: 20px;
    background: #F85606;
    color: #fff;
    height: 15px;
    width: 14px;
    line-height: 15px;
    font-size: 10px;
    border-radius: 50px;
    padding: 0px 4px;
}

.owl-nav button {
    background: #F85606 !important;
    border-radius: 50% !important;
    height: 27px;
    width: 30px;
    color: #fff !important;
    font-size: 18px !important;
    margin: 0 5px;
}

.owl-nav button:hover {
    background: #F85606 !important;
    color: #fff !important;
}

/* ====== Hover Add Button (+) ====== */
.mobile-add-btn {
    position: absolute;
    top: 2px;
    right: 3px;
    background: #e0006c;
    color: #fff;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* ====== Hover Add Button (+) ====== */
.sale-card .add-btn {
    position: absolute;
    top: -50px;
    right: -50px;
    background: #F85606;
    color: #fff;
    border-radius: 50%;
    height: 45px;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.sale-card:hover .add-btn {
    top: 10px;
    right: 10px;
}

.sale-card img{
    width:100%;
    height:200px;
    object-fit:cover;
}
.featured-cat-title{
    color: gray;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
}



@media screen and (min-width:700px){
    .mobile-add-btn {
        display: none;
    }
}
@media screen and (max-width:700px) {
    .sale-card .add-btn {
        display: none;
    }
    #live-search-results{
        top: 107px;
    }
}



.submenu-container {
    width: 100%;
    border: 1px solid #e9e9e9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0px auto;
}

.submenu-column {
    padding: 0 10px;
}

.submenu-column h6 {
    font-weight: bold;
}

.submenu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu-column ul li {
    padding: 2px 0;
    cursor: pointer;
}

.submenu-column ul li:hover {}

@media (max-width: 991px) {
    .submenu-container {
        max-width: 100%;
    }
}

.category-menu {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
    scrollbar-width: thin;
}
/* @media (max-width: 700px) { */
    .category-menu {
        height: 55px;
    }
/* } */
.category-menu::-webkit-scrollbar {
    height: 6px;
}

.category-menu::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.category-item {
    flex: 0 0 auto;
    padding: 6px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}

.category-item:hover {
    background: #f8f9fa;
}

.category-item.active {
    border-color: #ff4d4d;
    background: #fff0f0;
    color: #ff4d4d;
}


.feature-box {
    width: 100%;
    min-height: 78px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.10);
}

.feature-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.feature-content {
    border-left: 1px solid #ddd;
    padding-left: 15px;
}

.feature-content h6 {
    margin: 0 0 3px 0;
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

.feature-content p {
    margin: 0;
    font-size: 14px;
    color: #222;
    line-height: 1.3;
}


/* Mobile */
@media (max-width: 767px) {

    .feature-box {
        min-height: 75px;
        padding: 10px 14px;
    }

    .feature-icon,
    .feature-icon img {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .feature-content {
        padding-left: 12px;
    }

    .feature-content h6 {
        font-size: 15px;
    }

    .feature-content p {
        font-size: 13px;
    }
}

/* Homepage hero, product carousels, and ads */
.cp-home-slider-column {
    min-width: 0;
}

.cp-home-hero #slidernew,
.cp-home-hero #slidernew .item,
.cp-home-hero #slidernew .item a {
    width: 100%;
}

.cp-home-hero #slidernew .item a {
    display: block;
}

.cp-home-hero #slidernew .item img {
    display: block;
    width: 100%;
    max-width: none;
    height: 520px;
    object-fit: cover;
}

.cp-home-hero #slidernew.owl-carousel:not(.owl-loaded) {
    display: block !important;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
}

.cp-home-hero #slidernew.owl-carousel:not(.owl-loaded) .item:not(:first-child) {
    display: none;
}

.cp-home-subcategory-slider {
    margin-top: 10px;
}

.cp-home-subcategory-slider.owl-carousel:not(.owl-loaded) {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 16px;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
}

.cp-home-subcategory-slider.owl-carousel:not(.owl-loaded) > .item {
    flex: 0 0 calc((100% - 64px) / 5);
    min-width: 0;
}

.cp-home-subcategory-card {
    display: block;
    position: relative;
    height: 228px;
    overflow: hidden;
    border-radius: 8px;
    color: #111;
    text-decoration: none;
}

.cp-home-subcategory-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cp-home-subcategory-card span {
    position: absolute;
    right: 8%;
    bottom: 3px;
    left: 8%;
    padding: 6px 8px;
    border-radius: 24px;
    background: #F85606;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.home-product-row {
    align-items: stretch;
}

.home-product-ad {
    position: relative;
    display: flex;
    min-height: 0;
}

.home-product-ad-link {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #f2f3f5;
}

.home-product-ad-right .home-product-ad-link {
    left: 12px;
}

.home-product-ad-left .home-product-ad-link {
    right: 12px;
}

.home-product-ad-image {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.home-main-ad-image {
    width: 100%;
    border-radius: 8px;
}

.category-product-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    min-width: 0;
}

.category-product-sort-label {
    flex: 0 0 auto;
    color: #111;
    font-size: 13px;
    font-weight: 700;
}

.category-product-sort-options {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    margin-top: 15px;
}

.category-product-sort-options::-webkit-scrollbar {
    display: none;
}

.catalog-static-banner {
    width: 100%;
    height: 150px;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 8px;
}

.catalog-static-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-category-carousel {
    margin-bottom: 16px;
}

.catalog-category-carousel.owl-carousel:not(.owl-loaded) {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 12px;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
}

.catalog-category-carousel.owl-carousel:not(.owl-loaded) > .item {
    flex: 0 0 calc((100% - 60px) / 6);
    min-width: 0;
}

.catalog-category-card {
    display: block;
    position: relative;
    height: 130px;
    overflow: hidden;
    border-radius: 7px;
    color: #111;
    text-decoration: none;
}

.catalog-category-card img,
.catalog-category-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: #f4f5f6;
    object-fit: cover;
}

.catalog-category-name {
    position: absolute;
    right: 5%;
    bottom: 3px;
    left: 5%;
    padding: 6px;
    overflow: hidden;
    border-radius: 20px;
    background: #F85606;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-page-heading {
    margin-bottom: 12px;
}

.category-sort-btn {
    flex: 0 0 auto;
    padding: 7px 12px;
    border: 1px solid #e2e5e9;
    border-radius: 5px;
    background: #fff;
    color: #222;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.category-sort-btn.active {
    border-color: #F85606;
    background: #F85606;
    color: #fff;
}

@media (max-width: 575px) {
    .catalog-static-banner {
        height: 100px;
        margin-bottom: 10px;
    }

    .catalog-category-carousel.owl-carousel:not(.owl-loaded) {
        gap: 8px;
    }

    .catalog-category-carousel.owl-carousel:not(.owl-loaded) > .item {
        flex-basis: calc((100% - 16px) / 3);
    }

    .catalog-category-card {
        height: 96px;
    }

    .category-product-sort {
        align-items: flex-start;
        gap: 7px;
    }

    .category-product-sort-label,
    .category-sort-btn {
        font-size: 12px;
    }

    .category-sort-btn {
        padding: 7px 10px;
    }
}

.category-page-top {
    padding-top: 12px;
}

.category-page-banner,
.subcategory-page-banner {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 8px;
}

.category-page-banner img,
.subcategory-page-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-subcategory-carousel {
    margin-top: 12px;
}

.category-subcategory-card {
    display: block;
    position: relative;
    height: 180px;
    overflow: hidden;
    border-radius: 7px;
    color: #111;
    text-decoration: none;
}

.category-subcategory-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-subcategory-card span {
    position: absolute;
    right: 5%;
    bottom: 3px;
    left: 5%;
    padding: 6px 8px;
    overflow: hidden;
    border-radius: 20px;
    background: #F85606;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .category-page-top {
        padding-top: 8px;
    }

    .category-page-banner,
    .subcategory-page-banner {
        height: 120px;
        border-radius: 6px;
    }

    .category-subcategory-card {
        height: 125px;
        border-radius: 5px;
    }

    .category-subcategory-card span {
        font-size: 11px;
    }
}

.categoryProductSlider.owl-carousel:not(.owl-loaded) {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 15px;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
}

.categoryProductSlider.owl-carousel:not(.owl-loaded) > .category-product-card {
    flex: 0 0 calc((100% - 75px) / 6);
    min-width: 0;
}

.home-product-carousel.owl-carousel:not(.owl-loaded) {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 12px;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
}

.home-product-carousel.owl-carousel:not(.owl-loaded) > .item {
    flex: 0 0 calc((100% - 36px) / 4);
    min-width: 0;
}

@media (max-width: 1199px) {
    .categoryProductSlider.owl-carousel:not(.owl-loaded) > .category-product-card {
        flex-basis: calc((100% - 45px) / 4);
    }
}

@media (max-width: 991px) {
    .cp-home-hero #slidernew .item img {
        height: 260px;
    }

    .cp-home-subcategory-card {
        height: 108px;
        border-radius: 5px;
    }

    .cp-home-subcategory-slider {
        margin-top: 8px;
    }

    .cp-home-subcategory-slider.owl-carousel:not(.owl-loaded) {
        gap: 8px;
    }

    .cp-home-subcategory-slider.owl-carousel:not(.owl-loaded) > .item {
        flex-basis: calc((100% - 16px) / 3);
    }

    .cp-home-subcategory-card span {
        right: 3%;
        left: 3%;
        padding: 3px 4px;
        font-size: 10px;
    }

    .categoryProductSlider.owl-carousel:not(.owl-loaded) {
        gap: 15px;
    }

    .categoryProductSlider.owl-carousel:not(.owl-loaded) > .category-product-card {
        flex-basis: calc((100% - 30px) / 3);
    }

    .home-product-carousel.owl-carousel:not(.owl-loaded) > .item {
        flex-basis: calc((100% - 24px) / 3);
    }
}

@media (max-width: 767px) {
    .categoryProductSlider.owl-carousel:not(.owl-loaded) {
        gap: 12px;
    }

    .categoryProductSlider.owl-carousel:not(.owl-loaded) > .category-product-card {
        flex-basis: calc(40% - 12px);
    }
}

@media (max-width: 575px) {
    .categoryProductSlider.owl-carousel:not(.owl-loaded) {
        gap: 10px;
    }

    .categoryProductSlider.owl-carousel:not(.owl-loaded) > .category-product-card {
        flex-basis: calc(50% - 10px);
    }

    .home-product-carousel.owl-carousel:not(.owl-loaded) > .item {
        flex-basis: calc((100% - 12px) / 2);
    }

    .home-product-ad {
        display: block;
    }

    .home-product-ad-link,
    .home-product-ad-image {
        position: relative;
        inset: auto;
        display: block;
        height: auto !important;
    }
}
