/* Category page padding top */
.tp-product-category.pt-60{
    padding-top: 0 !important;
}


/* Hide Add To Cart completely */
.tp-product-add-cart-btn-large-wrapper {
    display: none !important;
}

/* অর্ডার করুন button */
.tp-product-card-buy-now {
    display: block;
    width: 100%;
    background-color: var(--tp-common-black);
    color: var(--tp-common-white) !important;
    font-family: var(--primary-font);
    font-size: 14px !important;
    font-weight: 700;
    padding: 12px 20px;
    text-align: center;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: background-color .3s ease, color .3s ease;
    margin-top: 8px;
}

.tp-product-card-buy-now:hover,
.tp-product-item:hover .tp-product-card-buy-now {
    background-color: var(--tp-theme-primary) !important;
    color: var(--tp-common-white) !important;
}

.product-form {
    margin: 0;
    padding: 0;
}

/* Mobile 2-col */
.row-cols-2 .tp-product-item .tp-product-card-buy-now {
    font-size: 13px;
    padding: 9px 10px;
}

/* Slider */
.swiper-wrapper .tp-product-item .tp-product-card-buy-now {
    font-size: 13px;
    padding: 8px 14px;
}

/* Footer To Divider */
.tp-footer-top .container{
    border-top: 1px solid #e5e7eb;
    padding-top: 40px !important; /* border থেকে content-এর gap */
    margin-top: 30px;             /* products section থেকে gap */
}


/* Force Hafsa Mart logo size */
.logo img {
    max-height: 50px !important;
    width: auto !important;
    max-width: 230px !important;
    object-fit: contain !important;
}

/* Bottom Overlapping */
body:has(.tp-product-details-sticky-actions) {
    padding-bottom: 110px;
}
@media (max-width: 991px) {
    body:has(.tp-product-details-sticky-actions) {
        padding-bottom: 90px;
    }
}

/* =====Checkout Page mobile form===== */
.checkout-content-wrap .form-control, .checkout-form .form-control, .form-checkout .form-control {
    opacity: 80% !important;
  	font-size: 14px !important;
}

@media (max-width: 767px) {

    .auth-card .auth-card__header h3 {
        font-size: 20px !important;
    }

}

/* =====Products Page===== */
.tp-product-details-bottom {
    padding-bottom: 20px !important;
}
.tp-product-details-desc-wrapper {
    padding-top: 40px !important;
}

@media (max-width: 575px),
       (min-width: 576px) and (max-width: 767px) {

  .tp-product-details-wrapper {
    margin-top: 20px !important;
  }
.tp-cross-sale-product, .tp-product-details-top, .tp-up-sale-product {
    margin-bottom: 20px !important;
}

}

@media (max-width: 767px) {

  .tp-product-details-title {
    font-size: 18px !important;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 10px;
  }

}



/* =====Fonts===== */
body {
  font-family: 'Noto Sans Bengali', sans-serif !important;
  font-weight: 400;
}

strong, b {
  font-weight: 600;
}

/* =====Desktop Menu Bar ===== */
@media (min-width: 1200px) {
    .tp-header-bottom-2 .row > .col-xl-5.d-xl-block {
        flex: 0 0 auto;
        width: 53.333333%;
    }
    .tp-header-bottom-2 .row > .col-xl-5.col-lg-7 {
        flex: 0 0 auto;
        width: 30%;
    }
    .tp-header-bottom-2 .tp-header-search-2 form {
        max-width: 320px;
    }
}

/* =====Products Single ===== */
.tp-product-details-query-item:has(a[href*="product-tags"]) {
  display: none !important;
}
/* Hide share */
.tp-product-details-social {
    display: none !important;
}


/* ===== Top Menu (MOBILE) ===== */

@media (max-width: 767px) {

  /* Remove extra spacing from header */
  .tp-header-area,
  #header-sticky {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }

  /* Remove row spacing */
  .tp-header-area .row {
    margin: 0 !important;
  }

  /* Remove container extra padding */
  .tp-header-area .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Menu wrapper spacing */
  .tp-mega-menu-wrapper {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Logo spacing fix */
  .tp-header-logo {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Right icons spacing */
  .tp-header-bottom-right {
    padding: 0 !important;
    margin: 0 !important;
  }

}

/* ===== Tracking page (MOBILE) ===== */

    .tp-order-area {
        padding-top: 30px !important;
        padding-bottom: 40px !important;
    }




/* ===== Checkout Shipping Information Title (MOBILE) ===== */
  .checkout-shipping-information-title {
    margin-bottom: 20px;
  }

/* ===== REMOVE TOP GAP ONLY IN SHOP AREA (MOBILE) ===== */
@media (max-width: 768px) {

    .tp-shop-area .container {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    /* If still small gap from section */
    .tp-shop-area {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Sticky header spacing fix */
    #header-sticky-2 + .tp-shop-area {
        margin-top: 0 !important;
    }
}

/* Hide all items */
.tp-page-area {
    padding-top: 0px !important;
}




/* Hide Vendor tab button */
#nav-vendor-tab {
    display: none !important;
}

/* Hide FAQ tab button */
#nav-faq-tab {
    display: none !important;
}

/* Hide Vendor content */
#nav-vendor {
    display: none !important;
}

/* Hide FAQ content */
#nav-faq {
    display: none !important;
}

/* Force override WhatsApp button */
a.product-whatsapp-order-btn.btn.btn-success {
    background-color: #128c7e !important;
    border-color: #128c7e !important;
}

/* Hover */
a.product-whatsapp-order-btn.btn.btn-success:hover {
    background-color: #15766b !important;
    border-color: #15766b !important;
}


.section-title span {
    color: inherit !important;
}
.section-title span::after {
    display: none !important;
}

.tp-footer-top {
    padding-bottom: 15px !important;
    padding-top: 35px !important;
}

.pb-30 {
    padding-bottom: 0px !important;
}

.mb-50 {
    margin-bottom: 30px !important;
}

/* Search category Hide */
.tp-header-search-category { display: none !important; }

/* Mobile Call and Whatsapp Button */
@media (max-width: 767px) {

  .offcanvas__cta {
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .offcanvas__cta a {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;

    padding: 10px 12px !important; /* 🔥 reduced */
    border-radius: 6px !important; /* slightly smaller */

    font-weight: 500 !important;
    font-size: 13px !important; /* 🔥 smaller text */
  }

  .offcanvas__cta a.call-btn {
    background-color: #0d6efd !important;
    color: #fff !important;
  }

  .offcanvas__cta a.whatsapp-btn {
    background-color: #25D366 !important;
    color: #fff !important;
  }

}


 /* Mobile Menu Width */
@media (max-width: 767px) {

  .offcanvas__area {
    width: 260px !important;
    max-width: 80% !important;
  }

}

 /* Mobile Menu Bottom */
.offcanvas__content {
    padding-bottom: 50px !important;
}
.mb-40 {
    margin-bottom: 20px !important;
}


 /* Mobile Menu Bottom */
.tp-product-sm-area .row.g-4 {
    margin-top: 0 !important;
}

 /* Login page */
.login-options-title {
    display: none !important;
}

.login-options {
    text-align: center;
  	border-top: 1px solid #e0e2e3;
  	padding-top: 15px;
  	margin-top: 10px;
  	
}

@media (max-width: 767px) {
    .auth-card__header-icon {
        display: none !important;
    }
  
  .pb-80 {
    padding-bottom: 0px;
	}
}
  .auth-card .auth-card__header p {
    display: none !important;
	}

.auth-card .auth-card__header h3 {
    margin-top: 13px !important;
}

.auth-card .auth-card__header {
    border: 0;
    padding: 1.5rem 3rem 0 !important;
}

 /* Home Page Title Bangla Fonts Break */
.section-title span {
    display: contents !important;
}
.section-title {
    letter-spacing: 0 !important;
}


 /* Shop Page */
@media (max-width: 767px) {
    .tp-shop-top.mb-45 {
        margin-top: 25px !important;
    }
}

 /* Products Details Page */
@media (max-width: 767px) {
    .tp-product-details-area {
        padding-top: 15px !important;
    }
}

 /* Mobile Sticky Top */
@media (max-width: 767px) {
	.tp-header-main {
    padding-bottom: 5px !important;
    padding-top: 5px !important;
	}
  .offcanvas__area .offcanvas__top {
        margin-bottom: 0px !important;
    }
  .offcanvas__area .offcanvas__content .offcanvas__category {
        padding-bottom: 10px !important;
    }
   .offcanvas__content .tp-main-menu-mobile {
        margin-bottom: 0px !important;
    }
}


/* ===== MOBILE ONLY SLIDER FIX (FINAL) ===== */
@media (max-width: 768px) {

    /* ===== FORCE REMOVE HUGE HEIGHT ===== */
    .tp-slider-item,
    .tp-slider-item.tp-slider-height,
    .tp-slider-height {
        height: auto !important;
        max-height: none !important;
        min-height: 320px !important;
        padding: 20px 0 !important;
    }

    /* ===== REMOVE VERTICAL CENTER GAP ===== */
    .tp-slider-item {
        align-items: flex-start !important;
        padding-top: 15px !important;
    }

    /* ===== CONTENT WIDTH ===== */
    .tp-slider-content {
        max-width: 100%;
        padding: 0 10px;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* ===== REMOVE EMPTY SPAN GAP ===== */
    .tp-slider-content > span {
        display: none !important;
    }

    /* ===== TITLE ===== */
    .tp-slider-title {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px;
        margin-top: 0 !important;
    }

    /* ===== SUBTITLE ===== */
    .tp-slider-content p {
        font-size: 13px !important;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    /* ===== BUTTON ===== */
    .tp-slider-btn {
        margin-top: 5px !important;
    }

    .tp-slider-btn .tp-btn {
        padding: 8px 14px !important;
        font-size: 13px !important;
        border-radius: 5px;
    }

    .tp-slider-item {
        padding-top: 60px !important; /* push content below header */
    }

    /* If header is sticky, ensure spacing */
    .tp-slider-area {
        margin-top: 0 !important;
    }
      /* Allow content to fully show */
    .tp-slider-item {
        overflow: visible !important;
        padding-top: 70px !important;
    }

    /* Prevent parent clipping */
    .tp-slider-area,
    .tp-slider-active,
    .owl-stage-outer {
        overflow: visible !important;
    }

    /* Ensure text block is not pushed up */
    .tp-slider-content {
        position: relative;
        top: 0 !important;
        transform: none !important;
    }

    /* Optional: small top spacing for first line */
    .tp-slider-content > span {
        display: block !important;
        margin-bottom: 6px;
    }
      /* Remove column spacing */
    .tp-slider-item .row > div {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    /* Remove bottom gap from text block */
    .tp-slider-content {
        margin-bottom: 5px !important;
    }

    /* Remove top gap from image wrapper */
    .tp-slider-thumb {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Tight image spacing */
    .tp-slider-thumb img {
        margin-top: 5px !important;
        display: block;
    }

    /* Remove extra gap from button */
    .tp-slider-btn {
        margin-bottom: 5px !important;
    }

    /* Kill any hidden spacing from columns */
    .col-xl-7,
    .col-lg-6,
    .col-md-6 {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* ===== FINAL RECOMMENDED LINE SPACING ===== */

.tp-slider-title {
    line-height: 1.20 !important;
    margin-bottom: 12px;
}

.tp-slider-content p {
    line-height: 1.50 !important;
    margin-top: 6px;
    margin-bottom: 14px;
}

.tp-slider-btn {
    margin-top: 10px !important;
}