.salon-search--item {
  display: flex;
  transition: all 0.3s ease;
  padding: 1rem;

  position: relative;
}

.link-card {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.btn-booknow {
  z-index: 2;
}

.clicked-Salon {
  border: 1px solid #fdf1f4;
  background: #fdf1f4;
  border-radius: 8px;
}

.salon-search--item:hover {
  background: #f7dfe7;
  cursor: pointer;
  border-radius: 8px;
}

.salon-search--item:not(:last-child) {
  border-bottom: 1px solid #ebebeb;
}

.salon-search--logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #777;
  overflow: hidden;
}

.salon-img {
  width: 195px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
}

.sponsor_container {
  display: flex;
  margin-left: auto;
}

/* .salon-description{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
} */
.p-border-color {
  border-color: #777;
}

.grid-search-view {
  grid-template-columns: 1fr 2fr;
}

.grid-column-custom {
  grid-template-columns: calc(100% - 627px) auto;
}

.filters-btn-list {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  z-index: 1;
}

.drop-btn {
  position: relative;
  /* border-radius: 20px; */
  /* border-color: #cdcdcd; */
}

.filter-header {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  position: absolute;
  top: 0px;
}

.filter-btn {
  border-radius: 20px;
  border-color: #cdcdcd;
}

.drop-menu {
  list-style-type: none;
  margin: 0;
  padding: 0 1rem 0.75rem;
  border-width: 0 1px 1px;
  border-style: solid;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  border-color: #cdcdcd;
  background-color: #fff;
}

.drop-item {
  color: #777;
  text-decoration: none;
}

.drop-btn ~ .drop-menu {
  display: none;
}

.drop-item:hover {
  color: #333;

  font-weight: 600;
}

.drop-btn-show {
  min-width: 160px;
  text-align: start;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom: 0;
}

.drop-btn-show:hover {
  background-color: transparent;
  color: #777;
  border-color: #cdcdcd;
}

.drop-btn-show ~ .drop-menu {
  display: block;
}

.drop-btn-show::after {
  float: right;
  margin-top: 7px;
}

#list-salon-search {
  height: 1000px;
  margin-top: 70px;
  overflow: auto;
}

.drop-sort-btn:has(.drop-btn-show) {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  border-radius: 20px;
}

.filter-header,
.form-footer {
  background-color: white;
  padding-top: 13px;
  padding-bottom: 13px;
  padding: 1rem !important;
}

.form-footer {
  border-bottom-left-radius: calc(0.5rem - 1px);
  border-bottom-right-radius: calc(0.5rem - 1px);
}

.search-name::placeholder,
.search-name:focus {
  color: #777;
}

.form-item {
  height: 40px;
}

.form-footer button {
  min-width: 150px;
  transition: all 0.3s ease-in-out;
}

.cancel-btn {
  border: 1px solid #777;
}

.gm-ui-hover-effect {
  outline: none;
}

.cancel-btn:hover {
  background-color: #777 !important;
  color: #fff;
  border: 1px solid #fff;
}

.cancel-btn-search {
  border: 1px solid #777;
}

.cancel-btn-search :hover {
  background-color: #777 !important;
  color: #fff;
  border: 1px solid #fff;
}

.filter-border-top {
  border-top: 1px solid #ebebeb;
}

#page-content {
  min-height: 400px;
}

.form-check .form-check-input:hover {
  cursor: pointer;
  background-color: #ebebeb;
}

.optionSearchDiv {
  font-size: clamp(0.625rem, -0.1023rem + 3.6364vw, 0.875rem);
  background: #fff;
  margin: 10px;
  border-color: rgb(235, 235, 235);
  background-color: rgb(255, 255, 255);
  border-radius: 4px;
  padding: 10px 12px 9px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 18px;
}

.redo__search {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  height: 21px;
}

#redo__search-checkbox:checked {
  background-color: var(--n360-main-color);
  border-color: var(--n360-main-color);
  --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.fadeup__card--avatar img {
  background-color: #cdcdcd;
}

@media screen and (min-width: 769px) {
  .gm-ui-hover-effect {
    position: absolute !important;
    right: 0;
    z-index: 1;
  }

  .form-check:hover,
  .form-check .form-check-label:hover {
    cursor: pointer;
    background-color: #ebebeb;
  }
}

.form-check:has(.form-check-input:checked) {
  border-color: var(--n360-main-color) !important;
}

@media (max-width: 1671.98px) {
  .grid-search-view {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* // Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .grid-column-custom {
    grid-template-columns: calc(100% - 470px) auto;
  }
}

/* // Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .grid-column-custom {
    grid-template-columns: calc(100% - 350px) auto;
  }

  .salon-search--item {
    /* width: 100%; */
    width: 430px;
    flex-wrap: wrap-reverse;
    justify-content: space-between;
  }

  .salon-img {
    width: 120px;
    height: 120px;
    aspect-ratio: 1.85;
    object-fit: cover;
    object-position: center;
  }

  .filter-header {
    width: 430px;
  }

  .sponsor_container {
    display: flex;
    margin: 0px;
  }
}

/* // Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  #map {
    margin: 2rem;
    height: 100vh;
    /* height: unset !important; */
    width: calc(100% - 4rem);
    aspect-ratio: 1/1;
  }

  .grid-search-view,
  .grid-column-custom {
    grid-template-columns: 1fr;
  }

  .map-container-loading::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
  }

  .map-container-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35px;
    height: 35px;
    border: 4px solid var(--n360-main-color);
    border-top-color: transparent;
    border-radius: 50%;
    z-index: 1;
    animation: rotateLoading 1s linear infinite;
  }

  .autocomplete-container {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }

  .svh-100 {
    height: calc(100svh - 67px) !important;
  }

  #mobile-search:has(.location-items) .autocomplete-container,
  #nearbycontent:has(.location-items) .autocomplete-container {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }

  .location-items {
    max-height: 165px;
    width: 100%;
    overflow: auto;
    padding: 0px 15px 13px 15px;
    z-index: 2;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin-top: -1px;
  }

  .location-items::-webkit-scrollbar {
    width: 5px;
  }

  .location-items::-webkit-scrollbar-track {
    box-shadow: inset 1px 1px 5px #e1e1e1;
    border-radius: 15px;
  }

  .location-items::-webkit-scrollbar-thumb {
    background-color: #d9d9d9;
    border-radius: 15px;
  }

  .location-items::-webkit-scrollbar-thumb:hover {
    background: #777;
  }

  .location-item {
    border-bottom: 1px solid #414141;

    padding: 13px 15px;
  }

  #nearbycontent:has(.location-items) .salon-wrapper {
    filter: blur(10px);
    -webkit-filter: blur(10px);
  }

  #nearbycontent:has(.location-items) .salon-wrapper .salon-item {
    pointer-events: none;
    user-select: none;
  }
}

@keyframes rotateLoading {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 400px) {
  .fadeup__card--avatar {
    flex-grow: 1;
  }
}
