/* COMMON */
:root {
  --main-color: #F97316;
  --footer-height: 7.8rem;
}

body {
  background: #fff;
}

#wrap {
  margin-bottom: var(--footer-height);
}

.inner {
  width: 100%;
  padding: 0 2.4rem;
  margin: 0 auto;
}

.notice_container {
  padding-bottom: 2.4rem;
}
.notice_container .inner,
.notice_container.flex {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.notice_container .title_wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.notice_container .title_wrap img {
  width: 1.6rem;
  aspect-ratio: 1 / 1;
  margin-top: .2rem;
}
.notice_container p {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 2rem;
  color: #64748B;
  word-break: keep-all;
}

main {
  margin-top: 8.5rem;
  padding-bottom: 2.5rem;
}

/* HEADER */
header {
  text-align: center;
  padding: 2rem 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  background: #fff;
}
header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .logo {
  display: inline-block;
  width: 4.5rem;
}
header .logo img {
  width: 100%;
}
header .header_wrap button,
header .header_wrap a {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1.5px;
}


/* FOOTER */
footer {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999;
  border-top: 1px solid var(--main-color);
  background: #fff;
  padding-bottom: env(safe-area-inset-bottom);
}
footer ul {
  display: flex;
  justify-content: space-evenly;
  gap: 2rem;
}
footer ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  padding: 1.3rem 0;
}
footer ul li a img {
  width: 3rem;
  aspect-ratio: 1 / 1;
}
footer ul li a p {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F3D5C1;
  white-space: nowrap;
}
footer ul li.active a p {
  color: var(--main-color);
}

/* index.php */
.common_search_wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f6f6f6;
  border-radius: 3rem;
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
}
.common_search_wrap input[type="text"] {
  width: 100%;
  font-size: 1.4rem;
  outline: none;
  background: none;
  border: 0;
  letter-spacing: -1px;
}
.home .menu_wrap {
  margin-bottom: 5rem;
}
.home .menu_wrap ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.home .menu_wrap ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0px 0px 10px 0px #0000001A;
}
.home .menu_wrap ul li a p {
  font-size: 2rem;
  font-weight: 700;
}

.common_restaurant_wrap h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 2.4rem;
}
.common_restaurant_wrap ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.common_restaurant_wrap ul li a {
  display: block;
  background: #fff;
  box-shadow: 0px 0px 10px 0px #0000001A;
  border-radius: 1rem;
  overflow: hidden;
}
.common_restaurant_wrap ul li a .img_wrap {
  width: 100%;
  height: 13rem;
}
.common_restaurant_wrap ul li a .img_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.common_restaurant_wrap ul li a .text_wrap {
  padding: 1.6rem;
}
.common_restaurant_wrap ul li a .text_wrap .title_box {
  position: relative;
}
.common_restaurant_wrap ul li a .text_wrap .title_box h3 {
  max-width: calc(100% - 10rem);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  word-break: keep-all;
  line-height: 1.3;
}
.common_restaurant_wrap ul li a .text_wrap .title_box p {
  font-size: 1.4rem;
  font-weight: 500;
}
.common_restaurant_wrap ul li a .text_wrap .title_box span {
  display: block;
  border-radius: 3rem;
  padding: .5rem 1rem;
  font-size: 1.4rem;
  color: var(--main-color);
  position: absolute;
  top: 0;
  right: 0;
  border: 1px solid var(--main-color);
}
.common_restaurant_wrap ul li a .text_wrap .location_box {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 2.3rem;
}
.common_restaurant_wrap ul li a .text_wrap .location_box p {
  font-size: 1.4rem;
  font-weight: 500;
  color: #6b7280;
}
.common_restaurant_wrap ul li a .text_wrap .location_box button {
  margin-left: auto;
}

/* search.php */
.search .recent_wrap .title_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.4rem 1rem;
  border-bottom: 1px solid #E5E7EB;
}
.search .recent_wrap .title_wrap h2 {
  font-size: 1.3rem;
  color: #6b7280;
}
.search .recent_wrap .title_wrap button {
  font-size: 1.3rem;
  color: #6b7280;
}
.search .recent_wrap .list_wrap ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2.4rem;
  border-bottom: 1px solid #E5E7EB;
}
.search .recent_wrap .list_wrap ul li p {
  font-size: 1.7rem;
  font-weight: 600;
  color: #6b7280;
}

/* list.php */
.list .list_wrap .menu_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
}
.list .list_wrap .menu_wrap .view_btn {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.list .list_wrap .menu_wrap .view_btn p {
  font-size: 1.5rem;
  font-weight: 600;
  color: #6b7280;
}
.list .list_wrap .menu_wrap .filter_wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.list .list_wrap .menu_wrap .filter_wrap p {
  font-size: 1.5rem;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
}
.list .list_wrap .menu_wrap .filter_wrap p.active {
  font-weight: 700;
  color: #1f2937;
}
.list .list_wrap .menu_wrap .filter_wrap.hidden {
  display: none;
}
.list .common_restaurant_wrap.hidden {
  display: none;
}
.list .common_restaurant_wrap ul li.empty_text {
  padding: 3rem 0;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 500;
  color: #6b7280;
  white-space: pre-line;
  line-height: 1.6;
}
.list .map_wrap {
  position: relative;
  width: 100%;
  height: calc(100dvh - 8.5rem);
  overflow: hidden;
}
.list .map_wrap.hidden {
  display: none;
}
.list .map_wrap #kakao_map {
  width: 100%;
  height: 100%;
}
.list .map_wrap .my_location_btn {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  z-index: 10;
  width: 6rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0px 0px 10px 0px #00000033;
}
.list .map_wrap .my_location_btn img {
  width: 3.6rem;
  aspect-ratio: 1 / 1;
}
.list .my_location_dot {
  position: relative;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--main-color);
  border: .3rem solid #fff;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, .3), 0 2px 6px rgba(0, 0, 0, .3);
}
.list .my_location_dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4rem;
  height: 4rem;
  margin: -2rem 0 0 -2rem;
  border-radius: 50%;
  background: rgba(249, 115, 22, .18);
  animation: my-location-pulse 2s ease-out infinite;
}
@keyframes my-location-pulse {
  0% {
    transform: scale(.4);
    opacity: .7;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
.list .remove_btn {
  display: block;
  width: 100%;
  background: #f5f5f5;
  border-radius: 1rem;
  padding: 1.7rem 0;
  font-size: 1.6rem;
  text-align: center;
  color: #6b7280;
  margin-top: 2.4rem;
}
.list .remove_btn.hidden {
  display: none;
}

.list .store_wrap {
  position: fixed;
  bottom: -40rem;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 4rem 4rem 0 0;
  box-shadow: 0px -5px 10px 0px #00000033;
  z-index: 9999;
  transition: bottom .3s ease;
  pointer-events: none;
}
.list .store_wrap.active {
  bottom: var(--footer-height);
  pointer-events: auto;
}
.list .store_wrap a {
  padding: 2.4rem;
  display: block;
}
.list .store_wrap .img_wrap {
  height: 13rem;
  margin-bottom: 1.6rem;
  border-radius: 2rem;
  overflow: hidden;
}
.list .store_wrap .img_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.list .store_wrap .text_wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.list .store_wrap .text_wrap .info_wrap h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
  word-break: keep-all;
}
.list .store_wrap .text_wrap .info_wrap p {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 1.6rem;
}
.list .store_wrap .text_wrap .info_wrap .location_box {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.list .store_wrap .text_wrap .info_wrap .location_box span {
  font-size: 1.4rem;
  font-weight: 500;
  color: #6b7280;
}
.list .store_wrap .text_wrap .sub_wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}
.list .store_wrap .text_wrap .sub_wrap span {
  display: inline-block;
  border-radius: 3rem;
  padding: .5rem 1rem;
  font-size: 1.4rem;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  white-space: nowrap;
}



/* detail.php */
.detail {
  padding-bottom: 0;
}
.detail .detail_wrap {
  display: flex;
  flex-direction: column;
  border-radius: 2rem 2rem 0 0;
  overflow: hidden;
  min-height: calc(100dvh - 16.5rem);
}
.detail .detail_wrap .img_wrap {
  width: 100%;
  height: 22rem;
}
.detail .detail_wrap .img_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail .detail_wrap .text_wrap {
  padding: 2.4rem;
}
.detail .detail_wrap .text_wrap .title_box h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.6rem;
  line-height: 1.3;
  word-break: keep-all;
}
.detail .detail_wrap .text_wrap .title_box > span {
  display: inline-block;
  border-radius: 3rem;
  padding: .5rem 1rem;
  font-size: 1.4rem;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  margin-bottom: 1.6rem;
}
.detail .detail_wrap .text_wrap .title_box .location_wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid #E5E7EB;
  padding-bottom: 2.8rem;
}
.detail .detail_wrap .text_wrap .title_box .location_wrap p {
  font-size: 1.8rem;
  font-weight: 500;
  color: #6b7280;
}
.detail .detail_wrap .text_wrap .title_box .location_wrap button {
  margin-left: auto;
}
.detail .detail_wrap .text_wrap .title_box .info_wrap {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
  padding: 2.8rem 0;
}
.detail .detail_wrap .text_wrap .title_box .info_wrap .info_box {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.detail .detail_wrap .text_wrap .title_box .info_wrap .info_box p {
  font-size: 1.6rem;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.3;
  word-break: keep-all;
}
.detail .detail_wrap .notice_wrap {
  padding: 2.4rem 0;
  text-align: center;
  background: #f8fafc;
  margin-top: auto;
}
.detail .detail_wrap .notice_wrap p {
  font-size: 1.2rem;
  color: #6b7280;
  line-height: 2rem;
}