@media only screen and (min-width: 200px) and (max-width: 575px) {
  * {
    /* overflow: hidden; */
  }
  header {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    justify-content: space-between;
    padding: 15px;
  }
  .logo {
    padding: 10px;
  }
  .headerLeft {
    justify-content: center;
  }
  .headerAddress {
    padding: 10px;
  }
  .headerAddress p {
    font-size: 12px;
  }
  .headerAddress h3 {
    font-size: 15px;
  }
  .searchBox button {
    padding: 10px;
  }
  .headerBtn {
    position: fixed;
    bottom: 0px;
    justify-content: center;
    width: 100%;
     z-index: 9999;
    margin-right: 0px;
    /* background-color: #dfdddd; */
  }
  .control_prev {
  visibility: hidden;
}
.control_next{
  visibility: hidden;
}
  .headerBtn button{
    background-color: #c0bebe;
    width: auto;           
    min-width: 100px;     
    padding: 12px 15px;
    border-radius: 10px;
    font-weight: 500;
    /* font-size: 22px; */

  }
  #cart-btn{
   /* width: auto;            */
    min-width: 100px;     
/* margin-right: 5px; */
    padding: 20px 15px;
  }
  .bannerSection {
    display: none;
  }
  .orderBanner {
    padding: 10px;
    flex-direction: column;
  }
  .categorySection {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
  }
  .categoryItems {
    flex: 0 0 calc(20% - 8px);
  }

  .productSection {
    padding: 20px 0;
    margin: 20px 0;
  }

  .headingRow {
    padding: 0 15px;
  }

  .headingRow h2 {
    font-size: 18px;
  }
.headingRow a {
    font-size: 14px;
  }

  .productRowWrapper {
    padding: 0 10px;
  }

  .productRow {
    gap: 12px;
    padding: 15px 0;
  }

  .productItems {
    min-width: 145px;
    max-width: 145px;
    overflow-x: hidden;
  }
  .productImg {
    padding: 10px;
  }

  .productContent {
    padding: 0 10px 10px;
  }

  .product-name {
    font-size: 13px;
    min-height: 35px;
  }

  .product-size {
    font-size: 11px;
  }

  .product-price {
    font-size: 14px;
  }

  .btn-add-cart {
    padding: 5px 12px;
    font-size: 12px;
  }

  .product-name{
    text-overflow: ellipsis;
  }
  .productSection {
    padding: 30px 10px;
  }
  .productRow {
    white-space: nowrap;
    overflow-x: auto;
  }
  .phone-input{
    font-size: 10px;
  }
  footer {
    margin: 0;
  }
  .footer-mid-row1 {
    padding: 10px;
    flex-direction: column;
  }
  .FooterLinks__List {
    flex-basis: 48%;
  }
  .footer-mid-row3 {
    padding: 0px 10px;
  }
  .footer-mid-row2 {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  /* .location-modal-container {
    background: rgb(244, 246, 252);
    width: 100%;
    max-width: 250px;
  }
  .location-btn input {
    padding: 12px 6px;
    font-size: 8px;
  } */
  #locationModalOverlay {
    padding: 15px;
    background-color: transparent;
  }

  .location-modal-container {
    width: 80%;
    max-width: 100%;
    padding: 20px;
    margin: 0 auto;
  }
    .close-icon {
    top: 15px;
    right: 15px;
    font-size: 18px;
  }

  .location-container h5 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .location-btn {
    flex-direction: column;
    gap: 12px;
  }
  .or-cont {
    margin: 10px auto;
    width: 50px;
    height: 30px;
  }
 
}

/* Tablet View */
@media only screen and (min-width: 575px) and (max-width: 1000px) {
  header {
      flex-direction: column;
      gap: 15px;
      padding: 15px;
    }
  
    .headerBtn {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      justify-content: space-around;
      width: 100%;
      z-index: 9999;
      margin: 0;
      background-color: #fff;
      border-top: 1px solid #ccc;
      padding: 12px;
      box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }
  
    .headerBtn button {
      background-color: #f0f0f0;
      min-width: 140px;
      padding: 15px 20px;
      border-radius: 10px;
      font-weight: 500;
      font-size: 16px;
    }
  
    #cart-btn {
      min-width: 150px;
      padding: 15px 20px;
    }
    /* .headerBtn button {
    padding: 10px;
  }
  .headerBtn {
    margin-right: 20px;
    gap: 2px;
  }
  .headerBtn button:last-child {
    width: 10vw;
  }
  header {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 15px;
  }
  .headerBtn {
    position: fixed;
    z-index: 9999;
    bottom: 0px;
    justify-content: center;
    width: 100%;
    margin-right: 0px;
  }
  .headerBtn button{
    background-color: #c0bebe;
    width: auto;           
    min-width: 150px;     
    padding: 20px 15px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 22px;
  }
  #cart-btn{
   /* width: auto;            */
    /* min-width: 150px;     
    padding: 20px 15px;
  }
  .categoryItems {
    flex-basis: 18%;
  }
  .categorySection {
    display: flex;
    justify-content: center;
  }

  .productRow {
    white-space: nowrap;
    overflow-x: auto;
  } */ 
   .categoryItems {
    flex: 0 0 calc(14.28% - 10px);
  }


   .control_prev {
  visibility: hidden;
}
.control_next{
  visibility: hidden;
}
}



@media (max-width: 768px) {
  #cartModal {
    width: 100%;
    right: -100%;
  }
  
}
