@charset "UTF-8";

.business__list .item_desc.retrieve-type {
  padding: 15px 10px;
  margin-top: 10px;
}
.business__list
  .item_desc.retrieve-type
  .retrieve-status {
  color: #6f4538;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0;
}
.business__list .list__thumb{
  overflow: visible;
}
.business__list .list__thumb .list__cate{
  top: auto;
  bottom: -12px;
  right: 20px;
}
.retrieve-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.retrieve-body-container {
  width: 100%;
  height: 180px;
  margin-top: 20px;
}
.retrieve-body-container .retrieve-body-title {
  width: 100%;
  height: auto;
  font-size: 18px;
  color: #000;
  font-weight: 600;
}
.retrieve-body-container ul {
  width: 100%;
  height: auto;
  overflow: hidden;
  margin-top: 10px;
}
.retrieve-body-container ul li {
  width: 100%;
  line-height: 1.5em;
  height: auto;
  overflow: hidden;
  font-size: 13px;
  color: #000;
}
.retrieve-body-container ul li strong {
  font-size: 13px;
  color: #000;
  font-weight: 600;
  padding-right: 5px;
}

.retrieve-footer-container {
  width: 100%;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  gap: 7px;
}
.retrieve-footer-container button {
  width: 100%;
  height: 28px;
  border: 1px solid #85714d;
  background-color: #fff;
  color: #85714d;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.retrieve-footer-container button:hover {
  background-color: #85714d;
  color: #fff;
}

.retrieve-button-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #f9f9f9;
}
.retrieve-button-container a {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex: 1;
  transition: all 0.3s ease;
  background-color: #fff;
}
.retrieve-button-container a img {
  transition: all 0.3s ease;
  filter: brightness(0) saturate(100%) invert(99%) sepia(10%) saturate(8%)
    hue-rotate(1deg) brightness(88%) contrast(92%);
}
.retrieve-button-container_box a span {
  font-size: 16px;
  color: #666;
  font-weight: 600;
  transition: all 0.3s ease;
}

.retrieve-button-container a:hover {
  background-color: #041e42;
}
.retrieve-button-container a:hover img {
  filter: brightness(0) saturate(100%) invert(92%) sepia(13%) saturate(1193%)
    hue-rotate(307deg) brightness(91%) contrast(103%);
}
.retrieve-button-container a:hover span {
  color: #fff;
}

/* 모달 */
.modal-container {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
}

.modal-content {
  position: fixed;
  z-index: 1;
  width: min(900px, calc(100vw - 40px));
  height: min(560px, calc(100vh - 80px));
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-content.is-fullscreen {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  border-radius: 0;
  top: 0 !important;
  left: 0 !important;
  max-height: 100vh;
  transform: translateY(0) !important;
}
.modal-content.is-fullscreen .modal-body iframe{
  height: 100% !important;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 16px;
  background: #85714d;
  color: #fff;
  cursor: move;
  flex-shrink: 0;
  user-select: none;
  position: relative;
}

.modal-header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.modal-header-actions {
  position: absolute;
  right: 16px;
  top: 0;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.modal-header-actions button {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.modal-header-actions button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.modal-header-actions button img {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  pointer-events: none;
}

.modal-body {
  flex: 1;
  min-height: 0;
  background: #fff;
  overflow-y: auto;
}

.modal-body img{
  max-width: 100%;
  margin: 0 auto;
}
.modal-body .modal-empty {
  width: 100%;
  height: 100%;
  min-height: 260px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 16px;
  text-align: center;
}

.modal-body iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.modal-body--slider {
  padding: 0;
  background: #f5f5f5;
  position: relative;
}

.floorplan-swiper {
  width: 100%;
  height: 100%;
}

.floorplan-swiper .swiper-slide {
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  width: 100% !important;
  overflow-y: auto;
}

.floorplan-swiper .swiper-slide img {
  display: block;
  max-width: 100%;
  height: auto;
  width: 100%;
  object-fit: cover;
}

.floorplan-swiper .swiper-button-prev,
.floorplan-swiper .swiper-button-next {
  width: 49px;
  height: 49px;
  margin-top: -20px;
  background-size: 20px 32px;
}
.floorplan-swiper .swiper-button-prev img,
.floorplan-swiper .swiper-button-next img{
  filter: brightness(0) saturate(100%) invert(45%) sepia(24%) saturate(580%) hue-rotate(360deg) brightness(93%) contrast(90%);
}

.floorplan-swiper .swiper-button-prev {
  left: 12px;
}

.floorplan-swiper .swiper-button-next {
  right: 12px;
}

.floorplan-swiper .swiper-button-prev.swiper-button-black,
.floorplan-swiper .swiper-button-next.swiper-button-black {
  background-size: 20px 32px;
  background: none;
}

@media (max-width: 768px) {
  .modal-content {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 48px);
    height: auto;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  .modal-header {
    cursor: default;
  }
  .modal-body iframe{
    height: 55.5vw;
  }
}
