@media (max-width: 340px) {
  .order-type-button button.select-type {
    padding: 7px 11px 8px;
    font-size: 10px;
  }
}

@media (min-width: 341px) and (max-width: 767px) {
  .order-type-button button.select-type {
    padding: 7px 11px 8px;
    line-height: 15px;
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .row.row-cols-1 .col,
  .row.row-cols-sm-2 .col,
  .row.row-cols-md-3 .col {
    width: 100%;
    padding: 0 5px;
  }

  .minimum_text {
    font-size: 12px;
  }

  .cart-edit-text {
    font-size: 10px;
    margin-right: 10px;
  }

  .cart-modal-popup .modal-dialog {
    margin: 0;
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
  }

  .placeorder-cart {
    width: 100%;
  }

  ul.cart-content-header li h5 {
    font-size: 15px;
  }

  .cart-item-col .cart-item-text h6 {
    font-size: 13px;
    line-height: 16px;
  }

  .cart-modal-popup .modal-body {
    padding: 8px 10px;
    padding-left: 10px;
  }

  .cart-items-area .cart-items-price h4 {
    font-size: 15px;
  }

  .cart-content-area {
    padding: 0 15px 0 20px;
  }

  .cart-item-col a {
    position: absolute;
    left: -27px;
  }

  .cart-items-counter .cart-counter-text span {
    width: 28px;
    height: 28px;
  }

  .cart-items-counter .cart-counter-text qty {
    font-size: 15px;
    width: 28px;
  }

  .cart-area-footer .cart-totalprice img {
    width: 30px;
  }

  .cart-area-footer .cart-totalprice h5 span {
    font-size: 12px;
    line-height: 15px;
  }

  .cart-area-footer .cart-totalprice h5 {
    font-size: 16px;
    line-height: 20px;
    margin-left: 8px;
  }

  .cart-area-footer a {
    font-size: 16px;
  }

  .cart-area-footer {
    padding: 10px 10px;
    border-radius: 7px;
  }

  .placeorder-cart .placeorder-location h6 {
    font-size: 14px;
  }

  .login-area {
    padding: 0 5% 30px;
  }

  ul.variants-list-style li.variants-name-list {
    width: 50%;
  }

  ul.variants-list-style li.variants-name-list h6 {
    font-size: 13px;
    font-weight: bold;
    line-height: 18px;
  }

  ul.variants-list-style li.variants-list-price h5 {
    font-size: 15px;
    line-height: 15px;
  }

  ul.variants-list-style li.variants-item-counter button.add-btn {
    font-size: 11px;
    padding: 5px 22px 6px;
    padding-left: 28px;
    border-radius: 3px;
    color: #624ba1;
    background: #624ba1;
    border: 1px solid #624ba1;
  }

  .cart-counter-text qty {
    font-size: 12px;
    width: 26px;
  }

  .cart-counter-text span {
    width: 26px;
    height: 26px;
  }
  .hm-product-section .modal.show .modal-dialog {
    align-items: start;
  }
}

@media (max-width: 767px) {
  ul.hm-category-list {
    justify-content: start;
    margin: 0;
    border-radius: 0;
  }

  .hm-product-section .product-details {
    padding-top: 15px;
  }

  .viewcart-area {
    right: 0;
    width: 96%;
    left: 0;
    margin: auto;
    min-width: auto;
  }
  .hm-product-section .modal {
    z-index: 99999;
  }
  .brand-logo a img {
    max-height: 52px;
  }

  .mobile-search {
    display: block;
    margin-right: 8px;
  }

  .minimum_text {
    font-size: 13px;
  }

  .cart-edit-text {
    font-size: 11px;
  }

  .header-search {
    display: none;
  }

  /* .brand-logo {
        display: none;
    } */
  .header-middle-area .postcode-icon img {
    width: 20px;
    position: relative;
    top: -3px;
  }

  .header-postcode-col .header-postcode-cnt h3 {
    font-size: 16px;
  }

  section#hero-section img {
    /* height: 130px; */
    object-fit: cover;
    border-radius: 8px;
  }

  .hero-col {
    padding: 0 15px;
  }

  .restaurant-title {
    display: block;
  }

  .restaurant-title h3 {
    font-size: 12px;
    line-height: 16px;
    margin-left: 0;
  }

  .restaurant-title h3 span {
    font-size: 9px;
    padding: 5px 7px;
  }

  .header-login a span {
    display: none;
  }

  .header-login a img {
    width: 20px;
  }

  .store-title-col h1 {
    font-size: 17px;
    line-height: 22px;
  }

  .store-title-col h5 {
    font-size: 12px;
    line-height: 18px;
  }

  .order-type-button {
    padding: 4px;
  }

  section#store-title-area {
    padding: 12px 0;
  }

  header#header {
    padding: 10px 0;
  }

  /* .hm-product-section {
    padding-left: 15px;
  } */

  ul.hm-category-list {
    width: 100px;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 5px 0px;
    gap: 8px;
    margin-left: -0px;
    margin-right: -15px;
    width: 100%;
  }

  .hm-product-section * h5.modal-title {
    display: none;
  }

  ul.hm-category-list li a {
    width: 120px;
    height: 120px;
    padding: 5px 2px 5px 2px;
  }

  ul.hm-category-list li a img {
    width: 70px;
    padding: 5px;
    margin: 0;
    height: 70px;
  }

  ul.hm-category-list li a h6 {
    font-size: 9px;
  }

  .products-categroy-title-row h2 {
    font-size: 14px;
    line-height: 18px;
  }

  .products-categroy-title-row span {
    font-size: 11px;
    line-height: 16px;
  }

  .products-categroy-title-row {
    margin-bottom: 12px;
  }

  /* .hm-product-section {
    padding-left: 15px;
  } */

  .products-categroy-title-row h2 {
    font-size: 16px;
    line-height: 20px;
  }

  .products-categroy-title-row p {
    font-size: 12px;
    line-height: 18px;
  }

  .prdct-text h4 {
    font-size: 18px;
    line-height: 24px;
  }

  .prdct-text p {
    font-size: 10px;
    line-height: 13px;
    margin-bottom: 0px;
  }

  .prdct-col-counter button.add-btn {
    font-size: 12px;
    padding: 5px 15px 6px;
  }

  /* Universal Cart Button Styles for Mobile */
  .hm-product-section * button.add-btn,
  .hm-product-section * .btn-primary,
  .hm-product-section * .add-cart,
  .col-md-6 .btn-primary,
  .row.row-cols-1.row-cols-sm-2.row-cols-md-3 * button.add-btn,
  .row.row-cols-1.row-cols-sm-2.row-cols-md-3 * .btn-primary,
  .row.row-cols-1.row-cols-sm-2.row-cols-md-3 * .add-cart {
    background-color: rgb(98, 75, 161) !important;
    border-color: rgb(98, 75, 161) !important;
    padding: 12px 24px !important;
    padding-left: 28px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    box-sizing: border-box !important;
  }

  .prdct-col-footer h5 {
    font-size: 20px;
    line-height: 20px;
  }

  /* .prdct-img img {
    width: 238px;
    height: 413px;
    object-fit: cover;
  } */

  ul.hm-category-list li {
    margin-bottom: 0px;
  }

  .header-postcode-col .header-postcode-cnt h3 {
    font-size: 16px;
  }

  .centre-modal-popup .modal-header h5 {
    font-size: 16px;
    font-weight: 700;
  }

  div#select-address-Modal .modal-header button.btn-close img {
    width: 13px;
  }

  div#select-address-Modal .modal-header button.btn-close {
    width: 15px;
    height: 15px;
  }

  .centre-modal-popup .modal-header {
    padding: 10px;
  }

  .centre-modal-popup .modal-body {
    padding: 10px;
    padding-left: 28px;
  }

  form.delivery-address-form button.btn-address-submit {
    width: 57px;
    height: 39px;
  }

  .viewcart-area .cart-totalprice img {
    width: 30px;
  }

  .viewcart-area .cart-totalprice h5 {
    font-size: 18px;
    line-height: 24px;
    padding-left: 8px;
  }

  .viewcart-area a {
    font-size: 18px;
    line-height: 20px;
  }

  section.checkout-area {
    padding: 35px 0;
  }

  .payment-method-col h2 {
    font-size: 16px;
    line-height: 21px;
    margin-bottom: 15px;
  }

  .select-payment-mode {
    padding: 15px;
  }

  .select-payment-buttons {
    display: block;
    margin-top: 20px;
  }

  .select-payment-buttons a {
    display: block;
    margin: 10px 0;
  }

  .select-payment-mode .radio .checkmark {
    height: 27px;
    width: 27px;
  }

  .scroll-top-btn {
    bottom: 92px;
    right: 18px;
  }
  .hm-product-section .modal-body {
    padding: 0;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  header#header {
    padding: 8px 0;
  }

  .header-middle-area .postcode-icon img {
    width: 23px;
  }

  .brand-logo a img {
    max-height: 54px;
  }

  .brand-logo {
    margin-right: 20px;
  }

  .store-title-col h1 {
    font-size: 22px;
    line-height: 30px;
  }

  .order-type-button button.select-type {
    padding: 5px 10px 5px;
  }

  ul.hm-category-list {
    width: 90px;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 5px 8px;
    gap: 6px;
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
  }

  ul.hm-category-list li a img {
    width: 100px;
  }

  ul.hm-category-list li a h6 {
    font-size: 12px;
  }

  ul.hm-category-list li {
    margin-bottom: 5px;
  }

  .viewcart-area {
    bottom: 20px;
    right: 12px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .row.row-cols-md-3 .col {
    /* width: 33.33%;
    padding: 0 5px; */
  }
}
