@media (min-width: 768px) {
    .modal-dialog.modal-lg {
      max-width: 710px;
    }
  }

@media (min-width: 1400px) {
  .user-container {
    max-width: 1320px;
  }
}

@media (min-width: 1599px) {
  .user-container {
    max-width: 1470px;
  }
}

@media (max-width: 1439px) {
  .hero-section h1 {
    font-size: 62px;
  }
}

@media (max-width: 1365px) {
  :root {
    --height-48: 44px;
    --space-108: 100px;
    --space-120: 110px;
    --space-145: 130px;
  }

  .hero-section h1 {
    font-size: 58px;
  }

  .salon-icon-wrap {
    width: 60px;
    height: 60px;
  }

  .salon-btn {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 1199px) {
  :root {
    --space-108: 80px;
    --space-120: 90px;
    --space-145: 110px;
  }

  .hero-section {
    min-height: unset;
    padding-bottom: 8%;
  }

  .hero-section h1 {
    font-size: 52px;
  }

  .header-srch-wrap {
    max-width: 400px;
  }

  .avatar-wrap {
    width: 35px;
    height: 35px;
  }

  .sub-header-link:not(:last-child) {
    margin-right: var(--size-32);
  }

  .salon-service-container {
    flex-direction: column;
  }

  .salon-service-left,
  .salon-service-right {
    width: 100%;
    padding: 0;
  }

  .salon-service-left {
    margin-bottom: var(--size-42);
  }

  .hero-inner-container {
    --hero-left: 40%;
  }

  .appointment-inner-container {
    --appointment-right: 45%;
  }

  .saved-card-container{
    max-width: unset;
  }
}

@media (max-width: 1023px) {
  .logo-wrap {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 991px) {
  :root {
    --space-108: 60px;
    --space-120: 70px;
    --space-145: 80px;
  }

  .hero-section h1 {
    font-size: 42px;
  }

  .footer-link:not(:last-child) {
    margin-right: 15px;
  }

  .logo-wrap {
    width: 32px;
    height: 32px;
  }

  .header-srch-wrap {
    max-width: unset;
  }

  .header-srch-container {
    margin-top: 5px;
    padding-bottom: 10px;
  }

  .salon-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .sub-header-container {
    max-width: unset;
  }

  .salon-btn:not(:last-child) {
    margin-right: 10px;
  }

  .hero-inner-container {
    --hero-left: 45%;
  }

  .hero-right {
    padding-left: 4%;
  }

  .appointment-inner-container {
    flex-direction: column;
    --appointment-right: 100%;
  }

  .appointment-left {
    width: 100%;
    margin-right: 0;
    margin-bottom: calc(var(--size-32) - 4px);
  }

  .confirm-icon-wrap {
    width: 80px;
    height: 80px;
  }

  .privacy-inner-container {
    max-width: unset;
  }

  .my-profile-left {
    width: 200px;
  }

  .my-profile-right {
    padding-left: 4%;
  }

  .profile-link i {
    width: 20px;
    height: 20px;
  }

  .appointment-date-wrap {
    min-width: 98px;
    max-width: 108px;
    min-height: 108px;
  }

  .fav-img-wrap {
    width: 150px;
    height: 92px;
  }

  .payment-modal .modal-content {
    padding-bottom: 45px;
  }

  .payment-receipt-curve {
    bottom: -14px;
  }

  .saved-card-container{
    grid-template-columns: repeat(2, 1fr);
  }

  .card-btn-container{
    width: 80% !important;
  }

  .photo-section-inner{
    height: 90px;
  }

  .photos-label-wrap {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 767px) {
  :root {
    --height-48: 40px;
  }

  .hero-section h1 {
    font-size: 32px;
  }

  .srch-btn i {
    width: 20px;
    height: 20px;
  }

  .sb-swiper-btn .swiper-button-next i,
  .sb-swiper-btn .swiper-button-prev i {
    width: 22px;
    height: 22px;
  }

  .salon-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .salon-pagination-wrap {
    width: unset;
  }

  .service-detail-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-about-wrap {
    margin-bottom: 15px;
  }

  .service-des {
    max-width: unset;
    margin-right: 0;
  }

  .service-price-wrap {
    justify-content: space-between;
    width: 100%;
  }

  .salon-icon-wrap {
    width: 40px;
    height: 40px;
  }

  .salon-btn {
    width: 40px;
    height: 40px;
  }

  .salon-slider-img-wrap {
    padding-bottom: 60%;
    background-color: #D9D9D9;
  }

  .salon-slider-content-bottom .h3 {
    font-size: var(--font-20);
  }

  .salon-slider-rating .h5 {
    font-size: 14px;
  }

  .salon-social-media {
    width: 42px;
    height: 42px;
  }

  .salon-service-srch {
    width: 100%;
  }

  .hero-inner-container {
    flex-direction: column;
    --hero-left: 100%;
  }

  .hero-right {
    width: 100%;
    margin-top: var(--size-32);
    padding-left: 0;
  }

  .confrm-salon-icon-wrap {
    width: 45px;
    height: 45px;
  }

  .confirm-icon-wrap {
    width: 70px;
    height: 70px;
  }

  .my-profile-container {
    flex-direction: column;
  }

  .my-profile-left {
    width: 100%;
    margin-bottom: var(--size-42);
  }

  .my-profile-right {
    padding-left: 0;
  }

  .my-profile-form {
    max-width: unset;
  }

  /* SERVICE MODAL START */
  .add-service-left{
    max-width: unset;
    margin-bottom: 15px;
  }
  /* SERVICE MODAL END */

  .add-service-right-wrap{
    width: 100%;
  }
  .saved-card-container{
    grid-template-columns: repeat(1, 1fr);
  }

  .saved-card-container .saved-card{
    display: block;
    width: 100%;
    margin: 0 auto;

  }
}

@media (max-width: 575px) {
  .sub-header-container {
    white-space: nowrap;
    overflow: auto;
    padding-bottom: 4px;
    justify-content: flex-start;
  }

  .salon-filter-container {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 12px;
  }

  .brand-logo-wrap {
    width: 35px;
    height: 35px;
  }

  .breadcrumb-wrap {
    white-space: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .footer-bottom {
    flex-direction: column;
    row-gap: 12px;
    justify-content: center !important;
  }

  .photo-section-inner{
    height: 75px;
  }

  .photos-label-wrap {
    width: 75px;
    height: 75px;
  }
}

@media (max-width: 480px) {
  .logo-wrap,
  .avatar-wrap {
    width: 30px;
    height: 30px;
    margin-right: 15px;
  }

  .join-business {
    margin-right: 15px;
  }

  .salon-icon-wrap,
  .salon-btn {
    width: 35px;
    height: 35px;
  }

  .confrm-booking-head {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .confrm-booking-head span:first-child {
    margin-bottom: 4px !important;
    display: block;
  }

  .appointment-card {
    flex-direction: column;
  }

  .appointment-info-wrap {
    width: 100%;
  }

  .appointment-date-wrap {
    margin-right: 0;
    margin-bottom: 10px;
    min-width: 100%;
  }

  .favorite-card {
    flex-direction: column;
  }

  .fav-img-wrap {
    width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .fav-top-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
  }

  .fav-btn {
    position: unset;
  }

  .profile-appointment-time-wrap {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px;
  }

  .paid-icon {
    width: 38px;
    height: 38px;
  }

  .payment-source-wrap {
    flex-direction: column;
    align-items: flex-end !important;
  }

  .payment-source-wrap span {
    margin-bottom: var(--size-12);
  }

  .photos-section{
    grid-template-columns: repeat(3, 1fr);
  }

  .photo-section-inner {
    height: 68px;
    }
    .photos-label-wrap {
        width: 68px;
        height: 68px;
    }

    .category-img-wrap{
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .category-img-wrap img{
        position: relative !important;
    }

   .categories-section{
    padding: 28px 0 28px;
   }
}

@media (max-width: 370px) {
    .payment-modal .input-grid{
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 350px) {
  .join-business,
  .avatar-wrap ~ span {
    font-size: 12px;
  }

  .appointment-schedule-wrap {
    grid-template-columns: repeat(3, 1fr);
  }

  .photo-section-inner {
    height: 60px;
    }
    .photos-label-wrap {
        width: 60px;
        height: 60px;
    }
}
