.main {
  width: 85%;
}

.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-btn {
  /* background: #3498db; */
  color: #dc3545;
  padding: 4px 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  /* border-radius: 5px; */
}

.dropdown-btn:hover {
  color: #ef0a21;

}
.dropdown-content {
  right: 0;
  display: none;
  position: absolute;
  background: white;
  min-width: 150px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  overflow: hidden;
  z-index: 1;
}
.dropdown-content a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #dc3545;
}
.dropdown-content a:hover {
  background: #f1f1f1;
}
.show {
  display: block;
}

.hidden {
  display: none;
}

.category-heading {
  border-top: 1px solid rgb(230, 224, 224);
  border-bottom: 1px solid rgb(230, 224, 224);
}

.list-group-item.active {
  z-index: 2;
  color: #D92662;
  background-color: #ebc9d5;
  border-color: #D92662;
}

.list-group-item {
  border-color: rgba(219, 230, 240, 1);
  border-top-width: 1px !important;
}

.btn-secondary {
  color: #000;
  background-color: #DEE2E6;
  border: none;
}

.btn {
  font-weight: 500;
  font-size: 14px;
}

.btn-search {
  padding: 8px 12px;
  margin-left: -2px;
  border-right: 1px solid #DBE6F0;
  border-top: 1px solid #DBE6F0;
  color: #D92662;
  border-bottom: 1px solid #DBF6F0;
}

.search-bar {
  border-right: none;
  background-color: #F8F9FA;
  border-color: #DBE6F0;
}

.popular-item{
  height: 450px;
}

.popular-item-img{
  height: 300px;
  object-fit: cover;
}

.no-wrap{
  white-space: nowrap;
}

.quantity {
  display: flex;
  border: 1px solid rgb(226, 226, 226);
  border-radius: 4px;
  /* overflow: hidden; */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quantity button {
  background-color: #fff;
  color: black;
  border: none;
  cursor: pointer;
  font-size: 14px;
  width: 24px;
  height: auto;
  text-align: center;
  transition: background-color 0.2s;
}

.quantity button:hover {
  background-color: rgb(213, 213, 213);
}

.quantity .input-box {
  width: 40px;
  text-align: center;
  border: none;
  /* padding: 4px 10px; */
  font-size: 16px;
  outline: none;
}

/* Hide the number input spin buttons */
.quantity .input-box::-webkit-inner-spin-button,
.quantity .input-box::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity .input-box[type="number"] {
  -moz-appearance: textfield;
}

.iti {
  width: 100% !important;
}

.cstm-b-t {
  border-top-left-radius: 8px !important;
  border-top-right-radius: 8px !important;
}

.cstm-b-b {
  border-bottom-left-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
}

.cstm-b-l {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.cstm-b-r {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.swiper-container {
  width: 100%;
  height: auto;
  /* Adjust height based on your content */
}

.mobile {
  display: none;
}

.desktop {
  display: block;
}

.btn-no-wrap {
  width: 100%;
  /* Makes each button fill its list item */
  white-space: nowrap;
  /* Prevents text from wrapping to the next line */
  text-align: center;
  /* Centers the button text */
}

.close-modal {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #000;
  position: absolute;
  top: 20%;
  left: 45%;
}

.close-modal>button {
  width: 36px;
  height: 35px;
  border-radius: 50%;
  border: none;
  background-color: #000;
  color: #fff;
}

.close-modal>button>i {
  font-size: 29px;
}
.hide-on-mobile{
  display: block;
}

.desktop-scroll{
  height: 100%;
  overflow-y: scroll;
}

@media (max-width: 768px) {
  .hide-on-mobile{
    display: none;
  }

  .desktop-scroll{
    overflow-y: auto;
  }
  
  .main {
    width: 100%;
  }

  .popular-item{
    height: 260px;
  }

  .mobile-heading{
    font-size: 16px;
  }

  .mobile-text{
    font-size: 14px;
  }

  .popular-item-img{
    height: 150px;
  }

  .fixed-element {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 1000; /* Ensures it stays above other elements */
    background: #F8F9FA; /* Change to match your design */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px 10px; /* Adjust padding as needed */
}

  /* .popular-item-price{
    font-size: 12px;
  } */

  .mobile {
    display: flex;
  }

  .desktop {
    display: none;
  }

  .view-cart-mobile {
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 999;
  }
}