@media (max-width: 1599px) {
  .top-salons .container {
    width: 92%;
    padding: 50px 0;
  }

  .card-grid {
    /* grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); */
    gap: 36px;
  }

  .salon-card {
    width: 100%;
    box-shadow: 0px 2px 10px #00000020;
  }

  .card-image {
    height: 270px;
  }

  .card-body {
    padding: 20px 16px;
  }

  .card-body button {
    padding: 10px 14px;
  }
  .personal-information-page {
    padding: 45px 294px 176px;
  }
}

@media (max-width: 1280px) {
  .nav .menu {
    display: flex;
    list-style: none;
    gap: 27px;
    align-items: center;
  }

  .container {
    max-width: 100%;
    padding: 0px 20px;
  }

  .hero-content {
    margin-left: 150px;
  }

  .personal-information-page {
    padding: 64px 180px 120px;
  }
  .personal-info-form .form-row {
    gap: 80px;
  }
  .booking-wrapper {
    gap: 70px;
  }
  .hero-media {
    max-width: 100%;
  }
  .form-box {
    padding: 20px 35px;
  }

  .booking-summary {
    /* max-width: 380px; */
    background-size: cover;
  }

  .booking-wrapper {
    margin-left: 0px;
  }
  .salon-profile-grid {
    display: grid;
    grid-template-columns: 858px 1fr;
    gap: 45px;
    max-width: 1364px;
    margin: 20px auto;
  }
}

@media (max-width: 1024px) {
  .logo {
    order: 1;
  }

  .menu-toggle {
    display: block;
    order: 2;
    width: 20px;
  }

  .nav {
    position: absolute;
    top: 71px;
    left: -100%;
    width: 100%;
    height: auto;
    background: var(--light);
    flex-direction: column;
    transition: left 0.3s ease;

    z-index: 1100;
  }

  .nav.open {
    left: 0;
  }

  .nav .menu {
    flex-direction: column;
    width: 100%;
    gap: 0px;
  }

  .menu li {
    width: 100%;
    border-bottom: 1px solid var(--light);
  }
  .right-column {
    margin: 0px auto;
  }
  .menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
  }

  .dropdown-menu {
    position: relative;
    box-shadow: none;
    background: var(--light);
    display: none;
    overflow: hidden;
    /* max-height: 0; */
    top: 0;
    transition: max-height 0.3s ease;
  }

  .dropdown.open .dropdown-menu {
    display: block;
    /* max-height: 300px; */
    width: 100%;
  }

  .dropdown-menu li {
    padding: 0px 15px;
  }

  .header-buttons {
    display: none;
  }
  .reservation-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .business-info {
    justify-content: center;
  }
  .mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
  }

  .nav li a:hover:after,
  .nav li a.active::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 5%;
    width: 16px;
    height: 3px;
    background: var(--primary-200);
    border-radius: 4px;
    margin: 0px auto;
  }

  .nav .mobile-buttons a:hover:after,
  .nav .mobile-buttons a:active:after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 5%;
    width: 0px;
    height: 3px;
    background: var(--primary-200);
    border-radius: 4px;
    margin: 0px auto;
  }

  .prev {
    left: -35px;
  }

  .next {
    right: -35px;
  }

  .top-salons .container {
    width: 95%;
    padding: 40px 0;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
  }

  .salon-card {
    width: 100%;
  }

  .card-image {
    height: 250px;
  }

  .card-body {
    padding: 18px 15px;
  }

  .rating {
    padding: 3px 8px;
  }

  .icon img {
    width: 150px;
    height: 150px;
  }

  .booking_view-icon svg {
    width: 150px;
    height: 150px;
  }

  .calendar-panel {
    max-width: 600px;
    margin: 0 auto;
  }

  .btn-next {
    /* float: none; */
    display: block;
    width: 100%;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .week-navigation {
    gap: 0px;
  }

  .day-item span.date-number {
    width: 28px;
    height: 28px;
    line-height: 28px;
  }

  .btn-next {
    padding: 10px 0;
  }

  .bookings-section-header {
    padding: 20px 10px;
    gap: 8px;
  }

  .bookings-section-header i {
    padding: 8px;
  }

  .booking-card {
    padding: 15px 10px;
    gap: 8px;
  }
  .service-inner {
    padding-left: 20px;
  }
  .service-search-box {
    margin: 0px 100px;
  }
  .service-card-section .service-card {
    height: 100%;
  }
  .booking-btn {
    padding: 8px 0;
  }

  .booking-date h1::after {
    margin: 5px auto 0;
  }

  .salon-info::after {
    margin: 12px auto 5px;
    border-radius: 2px;
  }

  .booking-date .date::after {
    margin: 10px auto;
  }

  .service-info {
    padding: 10px 0;
  }

  .shop-info {
    padding: 0px 10px;
  }

  .booking_view-icon svg {
    width: 150px;
    height: 150px;
  }

  .form-box {
    padding: 15px 20px;
  }

  .input-groups input,
  .input-groups textarea {
    padding: 8px;
  }

  .booking-summary {
    padding: 30px 15px;
    background-size: contain;
  }

  .summary-time {
    margin-bottom: 40px;
  }

  .btn-submit {
    padding: 12px;
  }

  .booking-card {
    padding: 15px 10px;
    gap: 8px;
  }

  .booking-btn {
    padding: 8px 0;
    font-size: 0.9rem;
  }

  .booking-info h3 {
    font-size: var(--font-size-md);
  }

  .booking-info .date,
  .booking-info .location {
    font-size: 13px;
  }

  .booking-wrapper {
    gap: 70px;
  }

  .form-box {
    padding: 20px 35px;
    width: 100%;
  }

  .submit-button {
    padding: 10px 0;
    display: flex;
    justify-content: center;
  }
  .salon-profile-grid {
    grid-template-columns: 100%;
  }
}

@media (max-width: 992px) {
  .nav {
    position: absolute;
    top: 71px;
    left: -100%;
    width: 100%;
    height: auto;
    background: var(--light);
    flex-direction: column;
    transition: left 0.3s ease;
    /* padding-top: 80px; */
    z-index: 1100;
    box-shadow: 0px 4px 6px -2px rgba(0, 0, 0, 0.29);
  }

  .nav.open {
    left: 0;
  }

  .nav .menu {
    flex-direction: column;
    width: 100%;
    gap: 0px;
  }

  .menu li {
    width: 100%;
    border-bottom: 1px solid var(--light);
  }

  .menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
  }

  .dropdown-menu {
    position: relative;
    box-shadow: none;
    background: var(--light);
    display: none;
    overflow: hidden;
    /* max-height: 0; */
    padding: 15px 0;
    top: 0;
    transition: max-height 0.3s ease;
  }

  .dropdown.open .dropdown-menu {
    display: block;
    /* max-height: 300px; */
  }

  .dropdown-menu li {
    padding: 0px 15px;
  }
  .dropdown-menu li a:hover:after,
  .dropdown-menu li a.active::after {
    left: 7%;
    bottom: 2px;
  }

  .header-buttons {
    display: none;
  }

  .mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
  }

  .nav li a:hover:after,
  .nav li a.active::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 5%;
    width: 16px;
    height: 3px;
    background: var(--primary-200);
    border-radius: 4px;
    margin: 0px auto;
  }

  .hero-section {
    height: auto;
    padding: 60px 0;
    justify-content: center;
    text-align: center;
  }

  .hero-overlay {
    top: 47%;
  }

  .hero-content {
    margin: 0 auto;
    padding: 0 20px;
  }

  .hero-content h1 {
    text-align: left;
  }

  .hero-content p {
    text-align: left;
  }

  .search-box {
    margin: 25px auto 0;
    max-width: 300px;
  }

  .testimonials-swiper {
    width: 90%;
  }

  .custom-prev,
  .custom-next {
    width: 40px;
    height: 40px;
  }

  .text-box {
    min-width: 250px;
    order: 2;
  }

  .image-box img {
    max-width: 250px;
  }

  .footer-column,
  .newsletter-column {
    width: 48%;
    margin-bottom: 30px;
  }

  .registration_section {
    padding: 50px 20px 120px;
  }

  .form-row {
    gap: 60px;
  }

  .registration_form {
    max-width: 90%;
  }

  .service-content {
    padding-left: 22px;
  }

  .service-search-box {
    grid-template-columns: 1fr 1fr;
  }

  .slide img {
    height: 340px;
  }

  .nav-btn {
    padding: 8px;
  }

  .service-card-section {
    padding: 15px 0;
    text-align: center;
  }

  .service-search-box {
    width: 95%;
    margin: 0px auto;
  }

  .search-field:last-of-type {
    border-bottom: none;
  }

  .search-btn {
    width: 100%;
    margin-top: 10px;
  }

  .service-card-section {
    padding: 0px 0 40px;
    text-align: center;
  }

  .custom-prev,
  .custom-next {
    display: none;
  }

  .partner-section {
    flex-direction: column;
  }

  .partner-image {
    height: 350px;
  }

  .card {
    padding: 25px 30px;
  }

  .profile_divider {
    margin: 0 25px;
  }

  .avatar {
    width: 70px;
    height: 70px;
  }

  .personal-information-page {
    padding: 48px 80px 100px;
  }

  .avatar {
    width: 110px;
    height: 110px;
  }
  .personal-information-header {
    justify-content: center;
  }

  .avatar-wrapper {
    align-items: center;
  }

  .personal-information-page .intro-text {
  }

  .bookings-section {
    height: 80vh;
    padding: 40px 15px 20px;
  }

  .bookings {
    width: 95%;
    margin: 20px auto;
  }

  .booking-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-box {
    padding: 25px 30px;
  }

  .payment-method {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-submit {
    width: 100%;
    text-align: center;
  }

  .results-section .results-grid {
    grid-template-columns: 1fr;
  }

  .filter-sidebar .title::after {
    width: 100%;
  }

  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .booking-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .booking-summary {
    max-width: 422px;

    padding: 50px 30px;
    margin: 0px auto;
  }

  .form-box {
    padding: 25px 30px;
  }

  .payment-method {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-submit {
    width: 100%;
    text-align: center;
  }

  .submit-button {
    padding: 10px 0;
    display: flex;
    width: auto;
  }

  /* .hero-media {
    max-width: 730px;
  } */

  .results-grid {
    grid-template-columns: 1fr;
  }

  .filter-sidebar .title::after {
    width: 100%;
  }

  .footer-content-wrapper {
    flex-wrap: nowrap;
  }

  .contact-card {
    width: 400px;

    margin: 0px auto;
  }
  .personal-info-form .form-row {
    display: flex;
    gap: 80px;

    flex-wrap: wrap;
  }
  .reviews-list {
    margin: 24px auto;
  }
  .reservation-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .calendar-days-panel {
    gap: 50px;
  }
  .results-grid {
    grid-template-columns: 1fr;
  }

  .filter-sidebar .title::after {
    width: 100%;
  }

  .results-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .studio-card {
    width: 100%;
  }
  .business-info {
    flex-direction: column;
  }
  .reservation-section {
    padding: 73px 0px;
    height: auto;
  }
  .booking-wrapper {
    margin-left: 0px;
  }

  .form-box {
    width: 100%;
  }

  .image-box {
    justify-content: center;
    padding: 50px 0px;
  }
  .appointment-content {
    gap: 0;
    grid-template-columns: 1fr;
  }
  .features-section {
    padding: 99px 0px 123px;
  }
  .business-info .back-link {
    margin-top: 0px;
  }
  .scroll-top-btn {
    right: 60px;
    bottom: 35px;
  }
  .user-btn .user-name {
    display: none;
  }
}

@media (max-width: 768px) {
  .container-fluid {
    padding: 20px;
  }

  .container {
    max-width: 90%;
  }

  .popup {
    width: 90%;
    padding: 35px 25px;
  }

  .popup p {
    margin-bottom: 20px;
  }

  .close-btn {
    top: 8px;
    right: 10px;
  }

  .facebook,
  .gmail {
    width: 100%;
    padding: 14px 0;
  }

  .search-box {
    flex-direction: column;
    gap: 15px;
  }

  .btn.btn-primary-1,
  .input-group {
    width: 100%;
  }

  .category-grid {
    gap: 25px;
  }

  .category-card {
    width: 140px;
    height: 140px;
  }

  .category-card img {
    width: 50px;
    height: 50px;
  }

  .slider-wrapper {
  }

  .card-image {
    height: 200px;
  }

  .features-section {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    height: auto;
    padding: 60px 15px;
  }

  .features-section .section-title {
    margin-bottom: 60px;
  }

  .popular-section {
    padding: 60px 0;
  }

  .btn-wrapper {
    margin-top: 30px;
  }

  .categories {
    text-align: center;
    padding: 60px 0;
    background: var(--light);
  }
  .categories h2 {
    margin-bottom: 60px;
  }
  .features {
    flex-direction: column;
    gap: 30px;
  }

  .divider {
    display: none;
  }

  .feature-item {
    justify-content: center;
    text-align: center;
  }

  .feature-item img {
    width: 40px;
    height: 40px;
  }

  .slider-wrapper {
    gap: 10px;
  }

  .testimonials-swiper {
    width: 95%;
  }

  .custom-prev,
  .custom-next {
    width: 35px;
    height: 35px;
  }

  .appointment-content {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .text-box {
    border-left: none;
    padding-left: 0;
    order: 2;
  }

  .image-box {
    justify-content: center;
  }

  .image-box img {
    max-width: 220px;
  }

  .footer-content-wrapper {
    flex-direction: column;
    align-items: center;
    padding-bottom: 40px;
    text-align: center;
  }

  .footer-column,
  .newsletter-column {
    width: 100%;
  }

  .newsletter-form {
    max-width: 100%;
    align-items: center;
  }

  .footer-column p,
  .newsletter-title {
    text-align: center;
  }

  .app-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .copyright-bar {
    text-align: center;
  }

  .signup-section {
    padding: 40px 15px;
  }

  .signup-form {
    width: 90%;
    padding: 35px 25px;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .form-field {
    width: 100%;
  }

  .submit-button {
    width: 100%;
    max-width: 100%;
  }

  .top-salons {
    padding: 15px 0 30px;
  }

  .top-salons .container {
    width: 95%;
    padding: 40px 0;
  }

  .section-title {
  }

  .section-subtitle {
    margin-bottom: 30px;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .salon-card {
    width: 100%;
  }

  .card-image {
    height: 220px;
  }

  .card-body p img {
    width: 18px;
    height: 18px;
  }

  .steps-section {
    padding: 30px 0px 60px;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .service-card-section {
    padding: 0px 0 40px;
    text-align: center;
  }

  .custom-prev,
  .custom-next {
    display: none;
  }

  .main-image {
    height: 320px;
  }

  .thumb {
    width: calc((100% - 36px) / 4);
    height: 70px;
  }

  .store-section {
    flex-direction: column;
    align-items: center;
  }

  .map-card,
  .hours-card {
    width: 90%;
  }

  .profile {
    padding: 50px 0px;
  }

  .card {
    flex-direction: column;
    padding: 20px;
  }

  .profile_divider {
    width: 100%;
    height: 2px;
    margin: 20px 0px 25px;
  }

  .card-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .user-info {
    text-align: center;
  }

  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
  }

  .icon img {
    width: 200px;
    height: 200px;
  }

  .personal-information-page {
    padding: 40px 30px 80px;
  }

  .personal-information-header {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .avatar {
    width: 100px;
    height: 100px;
  }

  .personal-information-page .intro-text {
    text-align: center;
  }

  .personal-info-form .form-row {
    flex-direction: column;
    gap: 0px;
  }

  .personal-info-form .form-field {
    width: 100%;
    margin-bottom: 10px;
  }

  .personal-info-form .password-field {
    max-width: 100%;
  }

  .bookings-section {
    height: 80vh;
    padding: 40px 15px 20px;
  }

  .bookings {
    width: 95%;
    margin: 20px auto;
  }

  .booking_view-icon svg {
    width: 180px;
    height: 180px;
  }

  .bookings-section {
    padding: 40px 15px 20px;
  }

  .bookings {
    width: 95%;
    margin: 20px auto;
  }

  .radio input[type="radio"],
  .checkbox input[type="checkbox"] {
    width: 19px;
    height: 19px;
  }

  .radio input[type="radio"]:checked::before,
  .checkbox input[type="checkbox"]:checked::before {
    width: 10.5px;
    height: 10.5px;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .booking-summary {
    max-width: 100%;
  }
  .service-search-box {
    flex-direction: column;
    align-items: stretch;
    padding: 0px 16px 16px;
    margin: 10px;
    width: 77%;
    margin: 0px auto;
    top: -120px;
  }
  .search-field {
    border-right: none;
    border-bottom: 1px solid var(--secondary);
  }
  .day-item span.date-number {
    font-size: 15px;
  }
  .appointment-content {
    grid-template-columns: 1fr;
  }
  .results-page {
    height: 355px;
  }
  .results-section {
    padding: 48px 0 105px;
  }
}

@media (max-width: 576px) {
  .container-fluid {
    padding: 15px;
  }

  .container {
    max-width: 100%;
    padding: 0 10px;
  }

  .popup {
    width: 94%;
    padding: 30px 20px;
  }

  input {
    height: 38px;
  }

  .submit-btn {
    padding: 12px;
  }

  /* .cards-grid {
    grid-template-columns: 1fr;
  } */

  .search-box {
    max-width: 100%;
  }

  .testimonials-section .section-subtitle {
    text-align: center;
    margin-bottom: 30px;
  }

  .signup-form {
    padding: 28px 20px;
    border: 1px solid var(--light);
  }

  .form-group input {
    padding: 8px 10px;
  }

  .registration_section {
    padding: 40px 15px 80px;
  }

  .form-field input {
    height: 38px;
  }

  .submit-button {
    padding: 10px 0;
  }

  .search-form {
    width: 100%;
  }

  .service-search-box {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .search-btn {
    width: 100%;
    padding: 12px;
  }

  .section-title {
  }

  .salon-card {
    box-shadow: 0px 2px 4px #0000001a;
    border-radius: 8px;
  }

  .card-image {
    height: 200px;
  }

  .card-body {
    padding: 15px;
  }

  .thumb-container {
    display: flex;
    gap: 0px;
    overflow-x: auto;
    scroll-behavior: smooth;
  }

  .main-image {
    height: 250px;
  }

  .thumb {
    /* width: calc((100% - 24px) / 3); */
    width: 100%;
    height: 100px;
  }

  .service-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .right-section {
    width: 100%;
    justify-content: space-between;
  }

  .settings-page {
    padding: 64px 0px;
  }

  .submit-btn {
    width: 100%;
    text-align: center;
  }

  .icon img {
    width: 150px;
    height: 150px;
  }

  .personal-information-page {
    padding: 24px 16px 60px;
  }

  .avatar {
    width: 80px;
    height: 80px;
  }

  .avatar-wrapper {
    align-items: center;
  }

  .personal-info-form .form-field input {
    height: 38px;
    width: 100%;
  }

  .personal-info-form .submit-button {
    padding: 12px;
  }

  .bookings-section-header {
    padding: 20px 10px;
    gap: 8px;
  }

  .bookings-section-header i {
    padding: 8px;
  }

  .bookings-section-header h2 {
  }

  .booking_view {
    flex-direction: column;
  }

  .service-information {
    padding: 10px 0;
    margin-bottom: 58px;
  }

  .form-box {
    padding: 15px 20px;
  }

  .form-box-title {
    font-size: 18px;
  }

  .input-groups label {
    font-size: 14px;
  }

  .input-groups input,
  .input-groups textarea {
    font-size: 14px;
    padding: 8px;
  }

  .booking-summary {
    padding: 30px 15px;
    background-size: contain;
  }

  .summary-day {
    font-size: 20px;
  }

  .summary-time {
    margin-bottom: 40px;
  }

  .btn-submit {
    font-size: 14px;
    padding: 12px;
  }

  .contact-card {
    width: 426px;
    margin: 0px auto;
  }

  .reviews-list {
    max-width: 426px;
    margin: 24px auto;
  }

  .hero-overlay {
    top: 51%;
  }
  .calendar-days-panel {
    gap: 27px;
  }
  .booking-card {
    align-items: end;
  }
  .user-info img {
    width: 64px;
    height: 64px;
  }
  .scroll-top-btn {
    right: 20px;
    bottom: 25px;
    width: 42px;
    height: 42px;
  }
  /* .hero-media {
    max-width: 410px;
  } */
}

@media (max-width: 576px) {
  :root {
    --font-size-xll: 20px;
    --font-size-xl: 18px;
    --font-size-lg: 18px;
  }
}

@media (max-width: 479px) {
  .booking_view-card {
    padding: 8px;
  }
  .service-information {
    padding: 10px 0;
    margin-bottom: 10px;
  }
  /* .hero-media {
    max-width: 377px;
  } */
  .summary-address {
    margin-bottom: 20px;
    position: relative;
  }

  .contact-card {
    width: 363px;
    margin: 0px auto;
  }

  .reviews-list {
    max-width: 359px;
    margin: 24px auto;
  }

  .calendar-days-panel {
    gap: 16px;
  }
  .hours-row {
    grid-template-columns: 1fr 1fr;
  }
  :root {
    --font-size-md: 14px;
  }
}
