/************************************************************************************
    1. MENU DESIGN CSS
************************************************************************************/
.tf-topbar{
    padding: 5px;
    background: #bfdfe0;
}
.form-search-product.style-2 {
    border: 1px solid #ff3d3d;
    background: #ffffff;
}
.tf-header.style-2 .inner-header {
    background: #bfdfe0;
    border-bottom: 1px solid var(--gray-5) !important;
}
/* Main category hover */
.nav-list .nav-item:hover > .item-link {
    background: #fff;
    color: #000;
    border-bottom: 0px;
}

/* Subcategory hover */
.sub-menu-list > li:hover > a {
    background: #BFDFE0;
    color: #000 !important;
    border-bottom: 0px;
}

/* Brand hover */
.menu_brands li:hover > a {
    background: #BFDFE0;
    color: #000000 !important;
}
.sub-menu-list li i {
    color: #000000 !important;
}
.sub-menu-list li:hover i {
    color: #ffffff !important;
}
.main-nav-menu .sub-menu-list li a span {
    padding: 5px 0px;
}
.main-nav-menu .sub-menu-list:hover li:not(:last-child) a span {
    border-bottom: none;
}
.main-nav-menu .sub-menu-container {
    padding: 0px 0px;
}
.menu_brands {
    position: absolute;
    top: 0;
    left: 100%;
    right: auto;
    display: none;
    background: #fff;
    min-width: 200px;
    box-shadow: rgba(0, 64, 193, 0.2) 0px 4px 9px;
    z-index: 9999;
}

.main-nav-menu .sub-menu-container {
    border-radius: 0px;
}
.main-nav-menu .item-link {
    line-height: 40px;
}
.main-nav-menu .item-link i {
    display: none;
}
.main-nav-menu .nav-list {
    display: flex;
    align-items: center;
    gap: 9px;
}
.main-nav-menu .item-link {
    padding: 0px 4px;
}
.main-nav-menu .sub-menu-list {
    min-width: max-content;
}
.sub-menu-list .icon-arrow-right {
    float: right;
    padding: 7px 10px 0px;
    font-size: 10px;
}

.sub-menu-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    background: #fff;
    z-index: 999;
}

.sub-menu-container.align-right {
    left: auto;
    right: 0;
}

/* Brand menu */
.menu_brands {
    position: absolute;
    top: 0;
    left: 100%;
    right: auto;
}

.menu_brands.align-left {
    left: auto;
    right: 100%;
}
.header-bottom {
    overflow: visible;
    position: relative;
}
.tf-sp-5 {
    padding-top: 15px;
    padding-bottom: 15px;
}
.header-bottom{
    background: #bfdfe0 !important;
}


@media screen and (min-width: 1200px) and (max-width: 1516px) {
  .main-nav-menu .nav-list {
    gap: clamp(5px, 0.4vw, 20px);
  }
  .main-nav-menu .item-link {
    font-size: clamp(11px, 0.9vw, 14px);
  }
}

@media screen and (min-width: 0px) and (max-width: 1199px) {
  .s-banner-wrapper .wrap-item-1 {
    width: -webkit-fill-available;
    display: none !important;
}
}
@media (min-width: 1440px) {
    .tf-header.style-2 .inner-header {
        padding: 10px 0px;
    }
}






/************************************************************************************
    2. CUSTOM CSS (HIDDEN ELEMENTS, GENERAL FIXES)
************************************************************************************/

.countdown-box {
    display: none;
}

.card-product .product-progress-sale {
    display: grid;
    gap: 4px;
    display: none;
}





/************************************************************************************
    3. Carousel COLOR & UI CUSTOMIZATION
************************************************************************************/
/* ===== HERO SLIDER ===== */
.mrch-hero-slider {
    width: 100% !important;
    max-width: 70%;
    position: relative;
}
@media (max-width: 1199px) {
    .mrch-hero-slider {
        max-width: 100%;
    }
}

.mrch-hero-slide {
    height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 6px;
}

/* content position: left-middle */
.mrch-hero-content {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
}

.mrch-hero-content h1 {
    font-size: 48px;
    font-weight: 700;
}

.mrch-hero-content h1 span {
    font-weight: 300;
}

.mrch-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 22px;
    border: 1px solid #fff;
    border-radius: 30px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
}

/* bullets */
.mrch-hero-pagination {
    bottom: 25px !important;
}

.mrch-hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: transparent;
    border: 2px solid #fff;
    opacity: .6;
}

.mrch-hero-pagination .swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}

/* শুধু right-side products এর ভেতরের content animate হবে */
/* Only fade-in — no movement */
.slider-products .cls-product,
.slider-products .cls-product .content,
.slider-products .cls-product img {
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
}

.slider-products.active .cls-product,
.slider-products.active .cls-product .content,
.slider-products.active .cls-product img {
    opacity: 1;
}




/************************************************************************************
    4. SEARCH BAR (DESKTOP)
************************************************************************************/

.header-center {
    position: relative;
    width: 100%;
}

.search-wrapper {
    width: 100%;
}

#search-input {
    width: 100%;
}

.form-search-product.style-2.abc {
    position: relative;
}

/* Result dropdown */
#search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    z-index: 99999;
    display: none;
    overflow: hidden;
}

/* Tabs */
.search-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
}

.search-tabs button {
    flex: 1;
    border: none;
    padding: 10px;
    cursor: pointer;
    background: #f8f8f8;
}

.search-tabs .active {
    background: #ff3c00;
    color: white;
}

/* Results */
.results-list {
    padding: 10px;
    max-height: 350px;
    overflow-y: auto;
}

.result-item {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.result-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.result-item h6 {
    font-size: 14px;
    margin: 0;
}

.result-item span {
    color: #ff3c00;
    font-size: 14px;
}

.see-all {
    display: block;
    text-align: center;
    padding: 10px;
    color: #ff3c00;
    font-weight: 600;
}





/************************************************************************************
    5. MOBILE SEARCH
************************************************************************************/

.tf-header.style-2 .btn-open-nav {
    color: red !important;
}

#mobile-search-results {
    position: absolute;
    top: auto;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: none;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Reuse same styles — no change */
.results-list {
    max-height: 300px;
}





/************************************************************************************
    6. CATEGORY FILTER LEFT SIDE
************************************************************************************/

.accordion-header {
    margin-bottom: 0;
    line-height: 20px;
}

.accordion-item:last-of-type > .accordion-header .accordion-button.collapsed {
    background-color: #bfdfe0;
}

.accordion-button:not(.collapsed) {
    background-color: #bfdfe0;
}





/************************************************************************************
    7. CATEGORY PAGE DESIGN
************************************************************************************/

.categorybreakcrumbs {
    padding-top: 20px;
    padding-bottom: 20px !important;
    background: #f2f4f8;
}

.categorypage {
    background: #F2F4F8;
}

.categorypage .tf-shop-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-5);
    margin-bottom: 10px;
}

.categorypage .canvas-filter-product {
    background: #f2f4f8;
}

.categorypage .card-product {
    background: white;
    border-radius: 10px !important;
}

.categorypage .card-product-wrapper {
    border-radius: 10px !important;
}

.categorypage .card-product-info {
    padding: 0 15px 0px;
}

.categorypage .tf-grid-layout {
    column-gap: 10px;
    row-gap: 10px;
}

.categorypage .tf-sp-2 {
    background: #f2f4f8;
}





/************************************************************************************
    8. FOOTER PAYMENT ICONS
************************************************************************************/

.method-list {
    display: flex;
    align-items: center;
    gap: 10px;
}

.method-list li img {
    width: 50px;
    height: auto;
    object-fit: contain;
}





/************************************************************************************
    9. E-COMMERCE ICONS
************************************************************************************/

.tf-header.style-2 .header-right {
    margin-right: 0px;
}

.fs-26 {
    color: rgb(0, 0, 0) !important;
}



/* .brandbox {
    background: #bfdfe0;
    border-color: #146062;
    color: #000000;
} */



/************************************************************************************
    9. price range
************************************************************************************/
.range-container {
    position: relative;
    width: 100%;
    height: 36px;
}

.range-container input[type=range] {
    position: absolute;
    width: 100%;
    height: 36px;
    pointer-events: none;
    -webkit-appearance: none;
    background: none;
    z-index: 2;
}

.range-container input[type=range]::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    height: 18px;
    width: 18px;
    background: #7b2cbf;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

.range-container input[type=range]::-moz-range-thumb {
    pointer-events: auto;
    height: 18px;
    width: 18px;
    background: #7b2cbf;
    border-radius: 50%;
    cursor: pointer;
}

.slider-track {
    position: absolute;
    height: 6px;
    width: 100%;
    background: #e5e7eb;
    border-radius: 6px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.slider-track::before {
    content: '';
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, #7b2cbf, #9d4edd);
    border-radius: 6px;
    left: 0;
    right: 0;
}


/**************************************************** bullet css for key feature */
.product-key-features ul {
   
    list-style: inherit !important;
    margin-left: 10px !important; 
}
.product-key-features li {
   
    list-style: inherit !important; 
    margin-left: 10px !important; 
}



/***************************************************** buy now and compare button css */
.detail-actions a {
    padding: 10px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.buy-now-btn a {
    background: #BFDFE0;
    color: #000000 !important;
    border-radius: 6px;
}
.buy-now-btn a:hover {
    background: #000000;
    color: #ffffff !important;
    border-radius: 6px;
}
.compare-btn a:hover {
    background: #000000;
    color: #ffffff !important;
    border-radius: 6px;
}
.compare-btn a {
    background: #E9F1FF;
    border-radius: 6px !important;
}
.card-product {
    gap: 0px !important;
}
.product-bottom-buttons {
    margin-top: auto !important;
    padding: 0 15px 15px;
}
