

/* @font-face {
  font-family: 'Dancing Script';
  src: url('../fonts/Dancing_Script/static/DancingScript-Regular.ttf') format('truetype');
  font-weight: normal;
} */

@font-face {
      font-family: 'Kalpurush';
      src: url('../fonts/kalpurush.ttf') format('truetype');
      unicode-range: U+0980-09FF;
    }

    @font-face {
      font-family: 'Dancing Script';
      src: url('../fonts/Dancing_Script/static/DancingScript-Regular.ttf') format('truetype');
      unicode-range: U+0000-007F;
    }

    body {
      font-family: 'Dancing Script', 'Kalpurush', cursive, serif;
   
    }


@font-face {
  font-family: 'Dancing Script';
  src: url('../fonts/Dancing_Script/static/DancingScript-Bold.ttf') format('truetype');
  font-weight: bold;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/static/OpenSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/static/OpenSans-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto/static/Roboto-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto/static/Roboto-Regular.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

body {
  font-family: 'Opensans-serif';
}
a {
    color: #000;
    text-decoration: none;
}

.top-header {
  background: linear-gradient(135deg, #f9f5d7, #e2c572);
  color: #333 !important;
  padding: 10px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #d1b865;

}
.src_button{
  background: linear-gradient(135deg, #f9f5d7, #e2c572);
}

.btn-outline-primary {
    --bs-btn-color: #0d6efd;
    --bs-btn-border-color: #000;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg:  #f9f5d7;
}
.tab-pane ul li a{
  text-decoration: none !important;
  text-transform: capitalize !important;
}
.navbar-collapse li a {
    color: #000 !important;
    font-size: 18px;
    text-transform: capitalize;
} 
 /* .navbar-collapse li:hover {
  background-color: rgb(24, 211, 186) !important;
} */



.dropdown-item:focus, .dropdown-item:hover {
    color: var(--bs-dropdown-link-hover-color);
    background-color: rgba(0, 33, 52, 0.9) !important;
    border-radius: 5px;
}

 #categoryAccordion .accordion-button,
        #categoryAccordion a {
            font-size: 16px;
        }
        .offcanvas {
            width: 230px !important;
        }
  .col-auto {
      flex: 0 0 auto;
      width: 50% !important;
  }

  .discount-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: red;
    color: white;
    padding: 5px 8px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 5px;
    z-index: 3;
}
 .hover-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-radius: 0 0 5px 5px;
}
.overlay-text {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  padding: 4px 0;
  font-size: 14px;
}
a.position-relative:hover .hover-overlay {
  opacity: 1;
} 
.product-thumb {
  transition: transform 0.3s ease, opacity 0.3s ease;
 }
.product-thumb:hover {
  transform: scale(1.05);
  opacity: 0.9;
}
.product-card-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
  border-bottom: var(--bs-card-border-width) solid var(--bs-card-border-color);
}
.product-card-wrapper:hover .product-thumb {
  transform: scale(1.05);
}
.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card-wrapper:hover .product-overlay {
  opacity: 1;
}



.dropdown-submenu {
position: relative;
}
.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  display: none;
}
.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
    position: absolute;
}
.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}    
.dropdown-submenu li:hover {
  display: block;
}  


.dropdown-submenu li:hover {
    background: linear-gradient(135deg, rgba(249, 245, 215, 0.5), rgba(226, 197, 114, 0.5));
}

.dropdown-submenu > a::after {
    transform: rotate(-90deg);
    float: right;
    margin-top: 6px;
}
.dropdown-submenu:hover > a::after {
  transform: rotate(-270deg);
}

.offcanvas-start {
  overflow: hidden;
  background: transparent !important; /* fallback */
}

.offcanvas-start::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, #f9f5d7, #e2c572); */
  opacity: 0.5; /* This affects only background */
  z-index: 0;
}




.offcanvas-start .offcanvas-header,
.offcanvas-start .offcanvas-body {
  position: relative;
  z-index: 1; /* Puts content above the background layer */
}

.list-group-flush {
    border-radius: 10px;
}

.list-group-item {
  background-color: rgba(0, 33, 52, 0.5); /* Dark blue with 50% opacity */
  border: none;
}


.toggle-submenu-btn i {
  transition: transform .5s ease;
}
.dropdown-menu{
  background: transparent;
}

.dropdown-menu li {
    background-color: rgba(0, 33, 52, 0.7) !important;
    border: none;
    margin-bottom: 2px;
    border-radius: 5px !important;
    transition: background-color 0.3s ease;
}
.dropdown-menu li:hover {
    background: linear-gradient(135deg, rgba(249, 245, 215, 0.5), rgba(226, 197, 114, 0.5));
}


.cc-yv368 .cc-1kr6o .cc-18ov6 {
    z-index: 2!important;
    display: block!important;
    bottom: 80px!important;
    border-radius: 100%!important;
    right: 70px !important;
}



.dropdown-menu li a{
  
  color: #f0f8ff !important;
}




/* Add these styles to your existing CSS */

/* Smooth transitions for submenus - MOBILE */
.submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  display: block !important; /* Override the inline style */
}

.submenu.open {
  max-height: 500px; /* Adjust based on your content needs */
  transition: max-height 0.6s ease-in;
}

/* Improve the visual appearance of menu items */
.list-group-item {
  background-color: rgba(0, 33, 52, 0.7) !important;
  border: none;
  margin-bottom: 2px;
  border-radius: 5px !important;
  transition: background-color 0.3s ease;
}

.list-group-item:hover {
  background-color: rgba(0, 33, 52, 0.9) !important;
}

/* Smooth rotation for the chevron icon */
.toggle-submenu-btn i {
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Subtle animation for menu items when they appear */
@keyframes fadeIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.submenu .list-group-item {
  animation: fadeIn 0.3s ease forwards;
}

/* DESKTOP MENU ENHANCEMENTS */
.dropdown-menu {
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: block !important;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-submenu > .dropdown-menu {
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateX(10px);
  display: block !important;
}

.dropdown-submenu:hover > .dropdown-menu {
  opacity: 1;
  transform: translateX(0);
}

/* Smooth dropdown arrow rotation */
.navbar .dropdown-toggle::after {
  transition: transform 0.3s ease;
}

.navbar .dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Stagger animation for desktop menu items */
.dropdown-menu li {
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-menu.show li {
  opacity: 1;
  transform: translateY(0);
}

/* Apply staggered delays */
/* .dropdown-menu.show li:nth-child(1) { transition-delay: 0.05s; }
.dropdown-menu.show li:nth-child(2) { transition-delay: 0.1s; }
.dropdown-menu.show li:nth-child(3) { transition-delay: 0.15s; }
.dropdown-menu.show li:nth-child(4) { transition-delay: 0.2s; }
.dropdown-menu.show li:nth-child(5) { transition-delay: 0.25s; }
.dropdown-menu.show li:nth-child(6) { transition-delay: 0.3s; }
.dropdown-menu.show li:nth-child(7) { transition-delay: 0.35s; }
.dropdown-menu.show li:nth-child(8) { transition-delay: 0.4s; }
.dropdown-menu.show li:nth-child(9) { transition-delay: 0.45s; }
.dropdown-menu.show li:nth-child(10) { transition-delay: 0.5s; } */

/* For submenu items */
.dropdown-submenu > .dropdown-menu li {
  opacity: 0;
  transform: translateX(-5px);
}

.dropdown-submenu:hover > .dropdown-menu li {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delays for submenu items */
/* .dropdown-submenu > .dropdown-menu li:nth-child(1) { transition-delay: 0.05s; }
.dropdown-submenu > .dropdown-menu li:nth-child(2) { transition-delay: 0.1s; }
.dropdown-submenu > .dropdown-menu li:nth-child(3) { transition-delay: 0.15s; }
.dropdown-submenu > .dropdown-menu li:nth-child(4) { transition-delay: 0.2s; }
.dropdown-submenu > .dropdown-menu li:nth-child(5) { transition-delay: 0.25s; } */






.card-body a {
    text-decoration: none !important;
    color: 000;
}
.card-body p{
  margin: 0 !important;
}
.product-thumb {
  width: 100%;
  height: 170px;
}
.card-title {
  font-size: 1rem;
  font-weight: bold;
  margin-top: 0.5rem;
  text-transform: capitalize;
}
.card-price {
  font-size: 0.95rem;
  color: #28a745;
}
/* #myBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #002134;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 15px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
#myBtn:hover {
  background-color: #002134;
} */





#myBtn {
  display: none; /* ডিফল্ট অবস্থায় hidden */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  color: white;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 18px;
}
#myBtn:hover {
  background-color: #333;
}
#menu-tab, #category-tab{
  color: #000;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #000 !important;
}
#mainSlider .carousel-item img {
  height: 400px;
  object-fit: cover;
}
.mgb{
  margin-bottom: 10px !important;
}
.mgb p{
  margin: 0px !important;
}
.double-border-button {
  border: none; /* সব দিকের border বন্ধ */
  border-bottom: 3px double #e2c572;
  background-color: transparent;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  margin-top: 12px !important;
}
.modal-close-btn {
      z-index: 1056; /* Bootstrap modal content z-index is 1055 */
  }
  .modal-body {
      padding: 1px !important;
  }

  #modalImage {
  width: 100%; /* Full width of the modal */
  height: 500px; /* Fixed height for uniformity */
}

.hover-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 0 0 5px 5px;
}

.overlay-text {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  padding: 4px 0;
  font-size: 14px;
}

a.position-relative:hover .hover-overlay {
  opacity: 1;
}
.category-item {
  transition: all 0.3s ease;
  padding: 10px;
}
.category-item:hover {
  transform: translateY(-5px);
}
.category-logo {
    height: 120px;
    width: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 1.2);
    transition: all 0.3s ease;
}
  .logo img{
    height: 60px;
  }
.paddin-category-logo{
  padding:0;
}
.category-item:hover .category-logo {
  border-color: #e2c572; 
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); /* Deeper shadow on hover */
}

.card-body {
    flex: 1 1 auto;
    padding-top: 5px;
}

.usp-item {
  transition: all 0.3s ease;
  cursor: default;
  padding-top:15px;
}
.usp-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.usp-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  background-color: #f0f8ff; /* subtle color for icon circle */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.usp-icon img {
  height: 98px;
  width: 98px;
  border-radius: 50%;
}
.usp-item:hover .usp-icon {
  background-color: #007bff; /* hover color */
}
.usp-item h6 {
  margin-top: 10px;
}
.usp-item small {
  color: #666;
}

.row_padding_right {
    padding-right: 0;
}


.middle_bar {
    --bs-bg-opacity: 1;
    background: #002134 !important;
    padding: 2px 0px;
}


.best-deal-carousel .owl-nav {
  position: absolute;
  top: 40%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none; /* outside click allow */
}

.best-deal-carousel .owl-nav button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  pointer-events: all; /* button clickable */
}

.best-deal-carousel .owl-nav button:hover {
  background: #007bff;
  color: #fff;
}

.owl-carousel .owl-nav {
  position: absolute;
  top: 40%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none; /* outer click pass */
}
.owl-carousel .owl-nav button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  pointer-events: all; /* button clickable */
}
.owl-carousel .owl-nav button:hover {
  background: #007bff;
  color: #fff;
}
.img-thumbnail {
    height: 130px;
    width: 130px;
}


/* Mobile - Extra Small (<= 576px) */
@media (max-width: 576px) {
  .category-logo {
    height: 75px;
    width: 75px !important;
  }
  .logo img{
    height: 35px;
    margin-left: 15px;
  }
 .category_txt {
    font-size: 12px !important;

  }

.category-item {
    padding: 10px 0px 0px 0px !important;
}
  .middle_bar small{
  font-size: 12px !important;
}
  .usp-icon img {
    height: 60px !important;
    width: 60px !important;
}
.usp-icon {
    width: 65px !important;
    height: 65px !important;
}
.usp-item {
    padding-top: 5px !important;
}
.usp-item p {
    margin: 0px !important;
}
.small, small {
    font-size: .60em !important;
}
.footer-padding{
  padding: 0 !important;
}
.footer-padding h6 {
font-size: 15px;
}
.footer-padding ul li a {
  font-size: 0.60em !important;
}
.btn {
    --bs-btn-padding-x: 0.3rem;
    --bs-btn-padding-y: 0.1rem;
}
.cart-table{
  font-size: 12px;
}

.img-thumbnail {
    padding: 1px;
    height: 60px;
    max-width: 60px;
}
#modalImage {
    width: 100%;
    height: 300px;
}
.td-padding{
  padding: 0px !important;
}
.order-summary h4{
  margin-top: 15px;
}
.table-responsive{
  font-size: 12px;
}
table.dataTable td, table.dataTable th {
    padding: 2px;
}
.view-orders p{
  margin: 0px;
  font-size: 12px;
}
.form-control {   
    padding:0PX 5px !important;
}

.owl-carousel .owl-nav button {   
    width: 24px !important;
    height: 24px !important;
}
.nav-item {
    
    background-color: var(--bs-nav-tabs-link-active-bg);
    /* border: 1px solid; */
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: var(--bs-nav-tabs-link-active-color);
    background: linear-gradient(135deg, #f9f5d7, #e2c572);
    border-color: var(--bs-nav-tabs-link-active-border-color);
}
}


/* Tablet size (>=768px) */
@media (min-width: 768px) {
  .category-logo {
    height: 100px;
    width: 100px;
  }
}

/* Desktop size (>=1200px) */
@media (min-width: 1200px) {
  .category-logo {
    height: 100px;
    width: 100px !important;
  }
}





@media (max-width: 767.98px) {
    @media (max-width: 767.98px) {
      #mainSlider .carousel-item img {
        height: 150px !important;
        object-fit: cover;
      }
      .product-thumb {
          height: 130px;
      }
      .card-body{
        padding-top: 0px !important;
      }
      .gap-2{
        margin-top: 0px !important;
      }
      .card-body h5 {
          margin-top: 4px;
          font-size: 14px;
          margin-bottom: 0px;
      }

      .middle_bar {
        padding: 0px 5px !important;
      }
      
      .fa-2x {
        font-size: 1em !important;
      } 
      .small, small {
          font-size: 9px !important;
      }
      .w-50 {
        width: 42%!important;
    }
    .search button {
        padding: 0 5px !important;
    }
    .search i {
        font-size: 12px !important;
    }
    /* .product_dtls{
      font-size: 12px;
    } */
    .product_dtls h3 {
        font-size: 1.1rem;
    }
  }
}


