#introduction-section {
  flex: 1;
  background: var(--color-background);
  /* max-height: 2400px; */
  flex-direction: column;
  display: flex;
  padding-top: 78px;
  padding-bottom: 100px;
}

.book-box {
  display: flex;
  width: 100%;
  padding: 40px;
  justify-content: space-between;
  align-items: flex-end;
  border-radius: 16px;
  background: var(--White, #fff);
}

.book-img {
  width: 160px;
  height: 220px;
}

.book-detail {
  width: 378px;
  height: 520px;
}

.sort-select-btn {
  white-space: nowrap;
  display: flex;
  width: 140px;
  padding: 8px 8px 8px 12px;
  justify-content: space-between;
  align-items: center;
  /* gap: 59px; */
  border-radius: 8px;
  border: 0.5px solid var(--color-grey);
  background: #fff;
}

.web-sort-item.open {
  display: block;
}

.web-sort-item {
  cursor: pointer;
}

.sort-menu {
  position: absolute;
  margin-top: 8px;
  width: 140px;
  padding: 16px 12px;
  align-items: center;
  border-radius: 8px;
  border: 0.5px solid var(--Gray, #bbb);
  background: white;
  display: none;
  z-index: 1000;
  list-style: none;
}

#mo-sort-box.sort-menu.open {
  width: 140px;
  display: block;
}

#web-sort-box.sort-menu.open {
  display: block;
}

.search-input-group {
  position: relative;
  display: flex;
  padding: 8px 8px 8px 12px;
  justify-content: flex-end;
  align-items: center;
  gap: 111px;
  border-radius: 8px;
  border: 0.5px solid var(--Gray, #bbb);
  background: var(--White, #fff);
}

.introduction-search-input {
  color: var(--color-text);
  &::placeholder {
    color: var(--Gray, #bbb);
    /* Caption_6 */
    font-family: Pretendard;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 114.286% */
  }
}

.book-map-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.book {
  display: flex;
  gap: 60px;
  width: 100%;
}

.detail-text-box {
  overflow: hidden;
  width: 100%;
  display: flex;
  padding-top: 40px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 52px;
}

.more-btn {
  background: white;
  white-space: nowrap;
  width: 133px;
  height: 44px;
  display: flex;
  padding: 12px 36px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 100px;
  border: 2px solid var(--color-point);
}

.detail_btn {
  background: white;
  white-space: nowrap;
  display: flex;
  padding: 12px 28px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  border: 2px solid var(--color-point);
}

.book-content {
  text-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pagination {
  flex-wrap: wrap;
  margin-top: 40px;
  display: flex;
  gap: 16px;
  width: 100%;
  justify-content: center;
}

.page_btn {
  background: none;
  border: none;
}

.num_btn_box {
  display: flex;
  gap: 8px;
}

.num_btn {
  width: 32px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  border: none;
  border-radius: 4px;
  background: #fff;
  color: #1b1c1e;
  text-align: center;
  leading-trim: both;
  text-edge: cap;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.num_active {
  color: var(--color-point);
  border: 1px solid var(--color-point);
}

.button_box {
  width: 100%;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

#popup-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

#example {
  overflow: clip;
}

#popup-swiper {
  overflow: hidden;
  position: initial;
}

/* 슬라이더 이동 버튼 스타일 */
#popup-swiper .btn {
  position: absolute;
  top: 45%;
  z-index: 10;
  transform: translateY(0, -50%);
  cursor: pointer;
}

#popup-swiper .btn.btn_prev {
  right: 50%;
  margin-right: 25%;
}
#popup-swiper .btn.btn_next {
  left: 50%;
  margin-left: 25%;
}

#popup-swiper .swiper-button-disabled {
  opacity: 0.5;
}

.example_swiper {
  margin: 0 auto;
  width: 100%;
  overflow: clip;
}

#example .swiper-wrapper {
  display: flex;
  width: 100%;
  /* max-height: 200px;
  height: auto; */
}

#example .swiper-slide {
  flex: 0 0 auto; /* flex-basis를 auto로 설정하여 실제 이미지 크기에 맞춤 */
  display: flex;
  width: 100%;
  height: auto;
}
#example .swiper-slide img {
  /* object-fit: cover; */
  max-height: 188px;
  cursor: pointer;
}

.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(23, 23, 25, 0.52);
  justify-content: center;
  align-items: center;
}

.popup-content {
  position: relative;
  margin: auto;
  width: 100%;
  height: 100%;
  max-width: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#popup-swiper .swiper-pagination {
  display: none;
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.swiper-button-next,
.swiper-button-prev {
  color: #000; /* 버튼 색상 */
}

.close {
  z-index: 333;
  position: absolute;
  top: 25%;
  transform: translateY(-48px);
  margin-left: 25%;
  left: 50%;
  /* right: 10px; */
  cursor: pointer;
}

@media (max-width: 1440px) {
  #introduction-section {
    padding-top: 78px;
    padding-bottom: 60px;
  }

  .page_btn {
    width: 20px;
    height: 20px;
  }

  .sort-menu {
    position: absolute;
    margin-top: 4px;
    width: 120px;
    padding: 12px;
  }

  .book-map-container {
    gap: 16px;
  }

  .book-box {
    display: flex;
    width: 100%;
    padding: 20px 20px 32px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 16px;
    background: var(--White, #fff);
  }

  .book {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 32px;
    width: 100%;
  }

  .more-btn {
    font-size: 18px !important;
    height: 100%;
    width: 100%;
    padding: 16px 36px;
  }

  .button_box {
    flex-direction: column;
    gap: 12px;
  }

  .detail_btn {
    font-size: 18px !important;
    width: 100%;
    padding: 16px 28px;
  }

  .book-content {
    text-align: center;
    margin-bottom: 60px;
  }

  .book_text_padding {
    /* padding-left: 40px;
    padding-right: 40px; */
    margin-bottom: 28px !important;
  }

  #example .swiper-wrapper .swiper-slide > img {
    width: 100%;
  }

  .pagination {
    align-items: center;
    margin-top: 32px;
  }

  .num_btn {
    width: 28px;
    height: 31px;
    padding: 10px;
  }

  .book-detail {
    width: 100%;
    max-width: 262px;
    height: 360px;
  }

  .popup-content {
    height: 100%;
  }

  /* .close {
    top: 5%;
    background: red;
  } */
}

@media (min-width: 1439px) {
  .pl-w-2 {
    padding-left: 8px;
  }

  /* .close {
    top: 10%;
    background: yellow;
  } */
}

@media (max-width: 1120px) {
  .popup {
    padding: 20px;
  }

  .popup-content {
    position: relative;
    height: auto;
    top: 10%;
  }

  .close {
    transform: none;
    margin-left: 25%;
    top: -10%;
    right: 0;
    /* left: 40%; */
  }

  #popup-swiper .swiper-slide {
    height: auto;
    overflow: hidden;
  }

  #popup-swiper .swiper-slide img {
    height: 100%;
  }

  #popup-swiper .btn {
    display: none;
  }

  #popup-swiper .swiper-pagination {
    position: absolute;
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
  }

  .popup-swiper-pagination {
    border-radius: 100px;
    width: auto !important;
    background: #bbb;
    padding: 4px 8px;
    gap: 10px;
    .swiper-pagination-bullet-active {
      background: black;
      /* bottom: 0;
      top: 100%; */
      .swiper-pagination-bullet {
        opacity: 0.16;
      }
    }
  }

  #popup-swiper .swiper-pagination {
    display: block;
    .swiper-pagination-bullet {
      width: 10px;
      height: 10px;
    }
  }
}
