fieldset {
  appearance: none;
}

input[type='submit'] {
  appearance: none;
  cursor: pointer;
  border: 0px;
}

input:focus {
  outline: 0;
}

.search-active-meta {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.7;
  text-align: left;
}

.btn-set-location {
  margin-top: 6px;
  font-size: 12px;
  padding: 4px 10px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  cursor: pointer;
}

.btn-set-location:hover {
  background: rgba(255, 255, 255, 0.9);
}

ul {
  margin: 0;
  list-style: none;
  list-style-image: none;
}

.main-search {
  position: relative;
  margin: 0 15px;
  height: 48px;
  border: 1px solid rgb(95, 0, 128);
  border-radius: 50px;
  background-color: #fff;
}

.main-search .search-word {
  position: absolute;
  top: 0;
  right: 110px;
  bottom: 0;
  left: 48px;
}

.search-icon {
  display: block;
  position: absolute;
  top: 50%;
  left: -27px;
  text-indent: -9999px;
}

.main-search input[type='text'] {
  display: block;
  width: 100%;
  font-size: 0.813rem;
  color: #cbcbcb;
  line-height: 44px;
  border: 0;
}

.main-search .btn-search {
  display: block;
  position: absolute;
  top: 0;
  right: -1px;
  width: 110px;
  font-size: 0.813rem;
  color: #fff;
  line-height: 48px;
  border-radius: 50px;
  background-color: rgb(95, 0, 128);
  height: 100%;
}

.category_fillter_box {
  height: 68px;
  background: #fff;
}

.swiper_container {
  padding-top: 14px;
  text-align: center;
}

.swiper_wrap {
  display: flex;
  margin-left: 7px;
  width: auto;
  padding: 0;
}

.swiper_slide {
  display: flex;
  float: left;
  box-sizing: content-box;
}

.swiper_slide a:hover {
  color: #fff;
}

.btn_fillter {
  color: #fff;
  background-color: #acacac;
  display: flex;
  font-size: 14px;
  padding: 0 16px;
  text-align: left;
  height: 40px;
  line-height: 40px;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
}

.btn_fillter span {
  padding-left: 24px;
  background: url(/assets/sliders2.svg) no-repeat 0 center;
  display: block;
}

.layer_wrap {
  top: 50%;
  margin-top: -300px;
  z-index: 3;
  display: none;
  position: fixed;
  left: 0;
  width: 100%;
}

.Modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  z-index: 2;
  background-color: rgb(0, 0, 0, 0.4);
  display: none;
}

.layer_filter_box {
  position: relative;
  z-index: 3;
  width: 920px;
  height: 625px;
  margin: 0 auto;
  background: #fff;
}

.layer_header {
  overflow: hidden;
  border-bottom: 1px solid #d7d7d7;
  height: 70px;
  padding: 0 26px;
}

.layer_header h2 {
  float: left;
  line-height: 70px;
  font-size: 1.75em;
  letter-spacing: -1px;
  font-weight: 700;
}

.layer_area_cont {
  padding: 26px;
}

.area_cont1 {
  height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
}

.area_list,
.filter_list {
  background: #f5f5f5;
}

.area_list ul,
.filter_list ul {
  overflow: hidden;
  padding: 2px 0 18px;
  margin-left: -4px;
}

.area_list ul li,
.filter_list ul li {
  float: left;
  min-width: 64px;
  margin-top: 16px;
  margin-left: 16px;
}

.area_list ul li a,
.filter_list ul li a {
  display: table;
  width: 100%;
  line-height: 17px;
  text-align: center;
  color: #222;
  text-decoration: none;
}

.area_list ul .on a,
.filter_list ul .on a {
  color: #fff;
}

.area_list ul .on a span,
.filter_list ul .on a span {
  background: #000;
  border-radius: 100px;
}

.area_list ul li a span,
.filter_list ul li a span {
  display: table-cell;
  vertical-align: middle;
  padding: 0 16px;
  height: 34px;
  line-height: 17px;
}

.btn_layer_close {
  position: absolute;
  right: 0;
  top: -46px;
  z-index: 3;
  width: 35px;
  height: 35px;
  background: url(/assets/x.svg) no-repeat 0 center;
  background-size: cover;
}

.layer_header1 {
  overflow: hidden;
  height: 70px;
}

.layer_header1 h2 {
  float: left;
  line-height: 70px;
  font-size: 1.75em;
  letter-spacing: -1px;
  font-weight: 700;
}

.search-recently {
  display: none;
  position: absolute;
  top: 48px;
  left: 30px;
  width: 100%;
  max-width: 400px;
  border: 1px solid #ddd;
  box-sizing: border-box;
  z-index: 3;
  overflow: auto;
}

.contents {
  background-color: #fff;
}

.search-list {
  padding: 0 10px;
  border: 1px solid #ddd;
}

.search-list li {
  position: relative;
  border-bottom: 1px solid #ddd;
  text-align: left;
  list-style: none;
}

.search-list li:last-child {
  border-bottom: none;
}

.search-list li .recently-list {
  display: block;
  width: 100%;
  font-size: 16px;
  color: #999;
  padding: 12px 10px;
  box-sizing: border-box;
  cursor: pointer;
  text-decoration: none;
}

.search-list li .recently-list:hover {
  color: black;
}

.search-delete {
  position: absolute;
  top: 10px;
  right: 7px;
  width: 8rem;
  text-align: right;
}

.btn_search_delete {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: url(/assets/x3.svg) no-repeat 0 center;
  background-size: cover;
}

.card-rest {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
  position: relative;
}

.card-rest:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.08);
  cursor: pointer;
}

.card-rest .card-img-top {
  aspect-ratio: 4/3;
  object-fit: cover;
}

.card-rest .name {
  margin-bottom: 0.25rem;
  font-weight: 800;
}

.card-rest .addrest {
  color: #374151;
  font-size: 0.95rem;
}

.meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.meta .chip {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-weight: 600;
  font-size: 0.85rem;
}

.meta .dot {
  opacity: 0.35;
}

.meta .stars {
  color: #f59e0b;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.meta .count {
  color: #6c757d;
}

.card-rest .stretched-link {
  position: static;
}

@media (hover: hover) {
  #user-menu:hover > .dropdown-menu {
    display: block;
    margin-top: 0.3rem;
  }
}

@media screen and (min-width: 769px) {
  .main-search {
    margin: 0 auto;
    height: 50px;
    width: 738px;
    border: 2px solid rgb(95, 0, 128);
    border-radius: 80px;
    /* overflow: hidden; */
  }

  .search-word {
    right: 238px;
    left: 85px;
  }

  .search-icon {
    left: -20px;
    margin-top: -15.5px;
    background-image: url(/assets/search.svg);
    background-size: cover;
    width: 30px;
    height: 31px;
  }

  .main-search input[type='text'] {
    height: 45px;
    width: 415px;
    margin: 0 30px;
    padding: 0;
    font-size: 1.1rem;
    line-height: 50px;
    color: #000;
  }

  .main-search input[type='text']:placeholder-shown {
    line-height: 50px;
    color: #cbcbcb;
    opacity: 1;
  }

  .main-search .btn-search {
    width: 180px;
    font-size: 1.313rem;
    line-height: 42px;
    border-radius: 80px;
  }

  .swiper_slide:nth-child(2) {
    padding-left: 25px;
  }
}

@media screen and (max-width: 769px) {
  .search-icon {
    margin-top: -10px;
    background-image: url(/assets/search.svg);
    background-size: cover;
    width: 19px;
    height: 20px;
  }

  .category_fillter_box {
    height: 63px;
  }

  .swiper_container {
    padding-top: 8px;
    height: 55px;
  }

  .swiper_wrap {
    overflow: hidden;
    margin-left: 0;
    height: 48px;
  }

  .swiper_slide {
    padding: 0 12px;
  }

  .layer_wrap {
    top: 0;
    left: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    position: fixed;
  }

  .layer_filter_box {
    width: 100%;
    height: 100%;
  }

  .layer_header {
    height: 50px;
    padding: 0 12px;
  }

  .layer_header h2 {
    line-height: 50px;
    font-size: 1.2em;
  }

  .layer_area_cont {
    padding: 20px 12px;
  }

  .area_cont1 {
    position: fixed;
    width: 100%;
    height: 100%;
    min-height: 100%;
    top: 51px;
    left: 0;
    overflow: hidden;
  }

  .layer_header1 {
    height: 50px;
    padding: 0 12px;
  }

  .layer_header1 h2 {
    line-height: 50px;
    font-size: 1.2em;
  }

  .area_box {
    width: 100%;
  }

  .area_list,
  .filter_list {
    margin: 0 12px;
  }

  .area_list ul,
  .filter_list ul {
    padding-top: 7px;
    padding-right: 12px;
    padding-left: 2px;
    margin-left: 0;
  }

  .area_list ul li,
  .filter_list ul li {
    min-width: 46px;
    margin-top: 12px;
    margin-right: 0;
    margin-left: 12px;
  }

  .area_list ul li a,
  .filter_list ul li a {
    font-size: 12px;
  }

  .area_list ul li a span,
  .filter_list ul li a span {
    padding: 0 12px;
    height: 25px;
  }

  .btn_layer_close {
    top: 5px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: url(/assets/x2.svg) no-repeat 0 center;
    background-size: cover;
  }
}
