.product-wrap .product-banner {
    height: 650px;
}
.product-wrap .product-banner .swiper-slide img {
    max-height: 650px;
    max-width: none !important
}
.product-wrap .sec.similar .similar-item .similar-name {
    white-space: break-spaces;
    height: 56px;
}

.product-wrap .sec.similar .similar-item .similar-date {
    height: 18px;
}

.product-wrap .detail-wrap .includes-item.flight-disabled {
    text-decoration: line-through;
    color: #d2d2d2;
}

.product-wrap .detail-wrap .schedule td:nth-child(5) {
    text-align: left !important;
    /* white-space: pre; */
}

.product-wrap .detail-wrap .schedule td:nth-child(5) div {
    display:none;
}
.product-wrap .detail-wrap .schedule td:nth-child(5) div.flight-airportD {
    display: block;
}
.product-wrap .detail-wrap .schedule td:nth-child(5) div.flight-airportA {
    display: block;
}
/* .product-wrap .detail-wrap .booking-calendar table td .day-box .price {
    font-size: 10px;
} */

.booking-calendar table tbody .emptyTr {
    height: 208px !important;
}

.agree-term pre {
    padding: 0 20px;
}

.couponDesc {
    display: none;
}

.btnShare {
    display: none;
}

.product-wrap .detail-wrap .booking-calendar table td .day-box .price {
    color: #000000;
}

.highlight {
    color: #5CC89C;
    font-weight: bold;
}

.mendantory {
    font-size: 10px;
    color: red;
}

.btnReserve {
    background: #000000 !important;
}

.product-wrap .detail-wrap .detail-booking {
  position: sticky;
  /* top: 160px; */
  top: 20px;
  width: 350px;
}
.product-wrap .detail-wrap .detail-booking:has(.booking-form-fields.slide-in) {
  position: relative;
}
.product-wrap .detail-wrap .booking-title { font-size: 18px; }

/* .product-wrap .detail-wrap .detail-booking-container.fixed {
    position: fixed;
    width: 450px;
    top: 149px;
    right: 20px;
    z-index: 11;
    border-radius: 12px;
    border: 1px solid #F0F0F0;
    background: #FFF;
    box-shadow: 1px 1px 6.1px 0px rgba(139, 157, 181, 0.06);
    transition: transform 0.2s ease;
} */

/* .product-wrap .detail-wrap .detail-booking-container.fixed.bottom-fixed {
    position: fixed !important;
    top: auto !important;
    bottom: 20px;
    transform: none !important;
    transition: bottom 0.00s ease !important;
} */

.fnb {
    z-index: 12 !important;
}

.product-wrap .detail-wrap .schedule th, .product-wrap .detail-wrap .schedule td {
    line-height: 19px;
}

.product-wrap .product-banner {
    /* height: auto !important; */
    /* max-width: 1240px !important; */
    aspect-ratio: 16 / 6 !important;
}

.product-wrap .product-banner .swiper-slide img {
    max-height: 100% !important;
}

.product-wrap .product-banner .swiper-button-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}
.product-wrap .product-banner .swiper-button-wrapper .swiper-button-next {
  right: 0;
}
.product-wrap .product-banner .swiper-button-wrapper .swiper-button-prev {
  left: 0;
}

.number-input {
    display: flex;
    align-items: center; /* 수직 가운데 정렬 */
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 40px;
}

.number-input button {
    display: flex;           /* Flexbox 사용 */
    align-items: center;     /* 수직 가운데 정렬 */
    justify-content: center; /* 수평 가운데 정렬 */
    width: 40px;
    height: 100%;
    border: none;
    background: transparent;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    padding: 0;             /* 패딩 제거 */
}

.number-input input {
    flex: 1;
    text-align: center;
    border: none;
    padding: 0;            /* 패딩 제거 */
    font-size: 14px;
    background: transparent;
    min-width: 60px;
    height: 100%;         /* 높이 100%로 설정 */
    line-height: 40px;    /* 텍스트 수직 가운데 정렬 */
}

/* 기존 스핀버튼 제거 스타일 유지 */
.number-input input::-webkit-outer-spin-button,
.number-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.booking-form-fields {
    position: fixed;
    top: 50%;
    right: -100%;
    transform: translateY(-50%);
    width: 90%;
    max-width: 500px;
    background: #fff;
    padding: 32px 20px 32px 20px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
    max-height: 95vh;  /* 높이 증가 */
}

.booking-form-fields .close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    z-index: 1;
}

.close-button:hover {
    color: #000;
}

.booking-form-fields.slide-in {
    right: 50%;
    transform: translate(50%, -50%);
}

/* 배경 오버레이 */
.booking-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.booking-overlay.show {
    display: block;
}

.flight {
    cursor: pointer;
}

.flight .unit {
    display: none;
}

.redBg {
    background-color: #FF6D6D !important;
}

.aquaBg {
    background-color: #0ee2d9 !important;
}

.morningBg {
    background-color: #d7f2ff !important;
    color: #005d7e !important;
}

.product-wrap .detail-wrap .form-row .text-input {
    font-weight: 900;
    font-size: 130%;
}
.product-wrap .detail-wrap .form-row .text-input::placeholder {
    font-weight: normal;
    font-size: 100%;
}
#requestPeople {
    border: none;
}

.info {
    margin-top: 20px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.info-content h4 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding-bottom: 8px;
    border-bottom: 1px solid #c6c6c6;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-details p {
    margin: 0;
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    display: flex;
    align-items: flex-start;
}

.info-details p i {
    margin-right: 8px;
    color: #007bff;
    min-width: 16px;
    margin-top: 2px;
}

.info-details p.description {
    color: #444;
    font-weight: 500;
    padding-left: 0;
}

.info-details p.address,
.info-details p.phone,
.info-details p.holes,
.info-details p.rating {
    font-size: 13px;
    color: #777;
}

@media screen and (max-width: 1461px) {
  .detail-wrap {
    padding: 0;
  }
}

@media screen and (max-width: 767px) {

  .product-wrap .product-banner .swiper-button-wrapper .swiper-button-next {
    right: 15px;
  }
  .product-wrap .product-banner .swiper-button-wrapper .swiper-button-prev {
    left: 15px;
  }
  .product-wrap .detail-wrap .detail-booking {
    position: relative;
    top: auto;
    width: 100%;
  }

    .product-wrap .product-banner {
        height: 426px;
    }

    /* .detail-wrap {
        display: flex !important;
        flex-direction: column;
    }

    .detail-booking {
        order: 0;
    }

    .detail-infomation {
        order: 1;
    } */

    .booking-form-fields {
        padding: 25px 20px;
        max-height: 90vh;
    }

    .booking-form-fields .close-button {
        top: 10px;
        right: 10px;
        font-size: 1.5rem;
        /* transform: translateX(45vw); */
        /* 모바일에서 폼 너비에 맞게 조정 */
    }

    .form-label {
        margin-bottom: 5px;  /* 라벨 마진 축소 */
    }

    /* 입력 필드 높이 최적화 */
    .text-input, 
    .number-input,
    textarea {
        padding: 8px;  /* 입력 필드 패딩 축소 */
        height: 36px;  /* 입력 필드 높이 축소 */
    }

    textarea {
        height: auto;  /* 텍스트영역은 자동 높이 */
        min-height: 60px;  /* 최소 높이 설정 */
    }
    
    .schedule table thead tr th:nth-child(2),
    .schedule table thead tr th:nth-child(4),
    .schedule table thead tr th:nth-child(6),
    .schedule table tbody tr td:nth-child(2),
    .schedule table tbody tr td:nth-child(4),
    .schedule table tbody tr td:nth-child(6) {
        display: none;
    }

    .info {
        margin-top: 16px;
        padding: 20px;
    }

    .info-content h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .info-details {
        gap: 10px;
    }

    .info-details p {
        font-size: 13px;
        padding: 6px 0;
    }

}