.nonetop .hBook {
    padding-top: 250px;
    padding-bottom: 150px;
    background: #f5f5f5;
}
.hBook .reservation {display: none;}
.hBook .container {
    max-width: 85%;
}
.hBook .terms .container {
    max-width: 100%;
}
.hBook .sticky-sidebar {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
}
.hBook .sticky-sidebar .card-scroll {
    padding: 20px;
}
/* ── 상단 탭 ── */
.hBook .nav-tabs {
    display: flex;
    gap: 5px;
    padding: 0 2em;
    border-bottom: 0;
}
.hBook .nav-tabs .nav-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
}
.hBook .nav-tabs .nav-link {
    width: 100%;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    background: #aaaaaa;
    color: #fff;
    padding: 20px 5px;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
}
.hBook .nav-tabs .nav-link.active {
    background: #ff710d;
}

/* ── 카드(패널) 공통 ── */
.hBook .card {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 10px;
    border: none;
    box-shadow: 2.5px 4.3px 8px 0 rgba(91, 85, 80, 0.15);
}
.hBook .card-title {
    font-size: 21px;
    font-weight: bold;
    background: #fd7e14;
    border-radius: 10px 10px 0 0;
    color: #fff;
    padding: 20px;
}
.hBook .card-scroll { padding: 20px; }
.hBook .card-scroll .terms {
    height: 250px;
    padding: 0;
    margin-top: 0;
    overflow: auto;
    border: none;
    border-radius: 5px;
    color: #797979;
}
.hBook .card-scroll .terms .privacy { line-height: 21px; }

/* ── 서브그룹 ── */
.hBook .subgroup { margin-bottom: 20px; }
.hBook .subgroup-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #fd7e14;
}

/* ── 상품 카드 ── */
.hBook .product-item {
    border-radius: 8px;
    margin-bottom: 0;
    overflow: hidden;
    background: #fff;
    transition: all 0.2s;
}
.hBook .product-item:hover {
    background: #fd7e140a;
}
.hBook .product-summary {
    display: flex;
    align-items: center;
    padding: 15px;
    cursor: pointer;
}
.hBook .product-thumb {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 20px;
    background: #e9ecef;
    flex-shrink: 0;
}
.hBook .product-title {
    font-weight: bold;
    font-size: 21px;
    display: flex;
    align-items: center;
    gap: 3px;
}
.hBook .product-title span { font-size: 12px; }
.hBook .product-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}
.hBook .product-price {
    font-size: 26px;
    font-weight: bold;
    color: #fd7e14;
    padding-top: 10px;
}

/* ── 상세 영역 ── */
.hBook .product-detail,
.hBook .facility-detail {
    display: none;
    padding: 30px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}
.hBook .detail-left--empty { display: none; }
.hBook .detail-left--empty ~ .detail-right {
    max-width: 100% !important;
    flex: 0 0 100% !important;
}
.hBook .detail-left img.detail-image {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 20px;
    display: block;
}
.hBook .detail-left.col-7 {
    max-height: 600px;
    overflow-y: auto;
}

/* ── 하위상품(child) ── */
.hBook .child-item {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 10px;
    background: #fff;
    transition: all 0.2s;
}
.hBook .child-name {
    font-weight: bold;
    font-size: 19px;
    margin-bottom: 10px;
    line-height: 21px;
    text-align: left;
}
.hBook .child-price {
    color: #fd7e14;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 0;
}
.hBook .child-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hBook .qty-minus,
.hBook .qty-plus {
    width: 32px;
    height: 32px;
    border: 1px solid #dee2e6;
    background: #fff;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}
.hBook .qty-minus:hover,
.hBook .qty-plus:hover { background: #f8f9fa; }
.hBook .qty-display {
    min-width: 28px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

/* ── 예약일/날짜 입력 ── */
.hBook .calendar-wrapper { margin-bottom: 25px; }
.hBook .detail-date,
.hBook .fac-date-input {
    text-align: center;
    font-size: 16px;
    padding: 10px;
    color: #f26121;
    width: 100%;
    background: #fff !important;
    border: 1px solid #dee2e6;
    font-weight: bold;
    height: auto;
}
.hBook .fac-label {
    display: block;
    font-weight: bold;
    font-size: 16px;
}

/* ── 선택 내역(장바구니) 패널 ── */
.hBook .badge.badge-info {
    background-color: #f26121;
    color: #fff;
    font-size: 14px;
    padding: 7px 15px 7px 7px !important;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    text-align: left;
    font-weight: normal;
    line-height: 1.2;
}
.hBook .badge.badge-info i { font-size: 16px; cursor: pointer; padding-right: 10px; }
.hBook .option_area { display: block; }
.hBook .option {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hBook .option .option_name {
    font-size: 21px;
    font-weight: bold;
    margin-bottom: 0;
}
.hBook .ticket_qty {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 21px;
    font-weight: bold;
    margin: 0;
}
.hBook .ticket_qty span { font-size: 21px; }
.hBook .title-single { font-size: 21px; font-weight: bold; margin-bottom: 0; }
.hBook .totalAmt { font-size: 31px; font-weight: bold; margin-bottom: 0; }
.hBook .totalAmtInfo {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

/* 할인 표시 3줄 구조 */
.hBook .option_name_sale {
    font-size: 16px !important;
    color: #aaa !important;
    text-decoration: line-through;
    margin-bottom: 5px;
}
.hBook .option_name2 {
    font-size: 14px !important;
    color: #ff6a00;
    font-weight: bold;
}
.hBook .selectedTicket1 ~ div,
.hBook .selectedTicket2 ~ div {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
.hBook .option_area .option {
    gap: 0;
    margin-bottom: 4px;
}
.hBook .option_area .badge.badge-info {
    margin-bottom: 4px;
}

/* ── 버튼 ── */
.hBook .btn.btn-orange {
    border: 1px solid #f26121;
    color: #f26121;
    font-size: 16px;
    width: 100%;
    margin-top: 20px;
    background: #fff;
    font-weight: bold;
}

.hBook .description { margin-left: 0; }
.hBook .description li { font-size: 14px; line-height: 20px; }
.hBook ul#v2NoticeList li:first-child { color: red; }

/* SweetAlert2 커스텀 */
.hBook .swal2-confirm,
.hBook .swal2-confirm:hover {
    border: 1px solid #f26121;
    color: #f26121;
    background: #fff;
    font-weight: bold;
}
.hBook .swal2-actions { width: 50%; }
.hBook .swal2-popup { padding: 2em 0; }
.hBook .swal2-title { color: #2c2c2c; font-size: 26px; font-weight: bold; }
.hBook .swal2-html-container {
    font-size: 16px;
    color: #2c2c2c;
    white-space: pre-line;
    line-height: 21px;
}
.hBook .swal2-icon { font-size: 10px; }
.hBook div:where(.swal2-icon).swal2-info {
    border-color: #f26121;
    color: #f26121;
}

/* ── 부대시설 예약 UI ── */
.hBook .fac-box { padding: 10px 0; }
.hBook .fac-row { margin-bottom: 16px; }
.hBook .fac-place { width: 100%; max-width: 360px; }

/* ── 패키지/다회권 안내 문구 ── */
.hBook .pkg-info-note {
    display: block;
    padding: 4px 12px;
    font-size: 11px;
    color: #aaa;
    text-align: right;
    margin-top: 4px;
}

/* ── 더보기 버튼(모바일 상세 펼침) ── */
.hBook .more-btn {
    display: none;
    padding: 8px;
    cursor: pointer;
    text-align: center;
    border: 1px solid #f26121;
    color: #ffffff;
    font-size: 16px;
    width: 100%;
    margin-top: 20px;
    background: #f26121;
    font-weight: bold;
    position: absolute;
    bottom: 0;
    border-radius: 5px;
    z-index: 999;
}
.hBook .facility-detail .more-btn,
.hBook .facility-detail .detail-left.col-7:not(.is-expanded)::after {
    display: none;
}

/* ── 제휴할인 코드 박스 ── */
.hBook .partner-code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px 18px;
    border: 1px solid #f3c49f;
    border-radius: 8px;
    background: #fff8f2;
}
.hBook .partner-code-status {
    margin: 0;
    color: #555;
    font-size: 14px;
}
.hBook .partner-code-status strong {
    color: #f57300;
}
.hBook .member-tab-scroll {
    padding-top: 0;
}
.hBook .member-tab-sections {
    width: 100%;
}
.hBook .member-product-section {
    padding: 22px 0;
}
.hBook .member-product-section + .member-product-section {
    border-top: 1px solid #dedede;
}
.hBook .member-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.hBook .member-section-title {
    margin: 0;
    color: #2c2c2c;
    font-size: 18px;
    font-weight: 700;
}
.hBook .member-section-header .btn {
    width: auto;
    min-height: 36px;
    margin: 0;
}
.hBook .member-tab-state {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 20px 18px;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    background: #fafafa;
    color: #444;
}
.hBook .member-tab-state--centered {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
}
.hBook .member-tab-state--centered .member-tab-actions {
    justify-content: center;
}
.hBook .member-tab-state--centered + .product-item {
    margin-top: 14px;
}
.hBook .member-tab-state > i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff1e7;
    color: #f57300;
    font-size: 21px;
}
.hBook .member-tab-state--error > i {
    background: #f3f4f6;
    color: #6c757d;
}
.hBook .member-tab-state-copy {
    min-width: 0;
}
.hBook .member-tab-state-copy strong {
    display: block;
    margin-bottom: 6px;
    color: #2c2c2c;
    font-size: 17px;
    line-height: 1.4;
}
.hBook .member-tab-state-copy p {
    margin: 0;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}
.hBook .member-tab-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.hBook .member-tab-actions .btn {
    width: auto;
    min-width: 110px;
    margin: 0;
}
/* ── 상단/하단 기본 메뉴 숨김 (이 페이지 전용 예약 버튼 대체) ── */
.hBook a#ftBookBtn { display: none; }

/* ── 모바일 하단 고정 바 ── */
.hBook .mobile-bar { display: none; }

@media (min-width: 1200px) {
    .hBook .container { max-width: 85%; }
}

@media (max-width: 768px) {
    .hBook .container { max-width: 100%; }
    .hBook {
        padding-top: 70px !important;
        padding-bottom: 50px !important;
    }
    .hBook.v2-book-main {
        padding-bottom: calc(210px + env(safe-area-inset-bottom)) !important;
        transition: padding-bottom 0.25s ease;
    }
    .hBook.v2-book-main.mobile-cart-collapsed {
        padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important;
    }
    .hBook .nav-tabs { padding: 0 0.5em; }
    .hBook .nav-tabs .nav-link { padding: 5px; font-size: 16px; }
    .hBook .card-scroll { padding: 0; }
    .hBook .product-item {
        border: none;
    }
    .hBook .product-summary { align-items: flex-start; gap: 25px; }
    .hBook .product-thumb { width: 25%; height: auto; margin-right: 0; }
    .hBook .product-info { width: 95%; }
    .hBook .product-title {
        font-size: 16px;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }
    .hBook .child-name { font-size: 16px !important; }
    .hBook .product-price {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    .hBook .child-price { font-size: 12px; }
    .hBook .product-detail,
    .hBook .facility-detail { padding: 15px !important; }
    .hBook .detail-layout.row { flex-direction: column-reverse; }
    .hBook .detail-left.col-7 {
        margin-top: 25px;
        max-height: 300px;
        overflow: hidden;
        position: relative;
        transition: max-height 0.3s ease;
    }
    .hBook .detail-left.col-7.is-expanded { max-height: none; }
    .hBook .detail-left.col-7.is-expanded .more-btn { position: relative; }
    .hBook .detail-left.col-7:not(.is-expanded)::after {
        content: '';
        position: absolute;
        bottom: 36px;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(transparent, #f8f9fa);
        pointer-events: none;
    }
    .hBook .more-btn { display: block; }

    /* 하단 고정 바 */
    .hBook .mobile-bar {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 9999;
        background: #fff;
        box-shadow: 0 -3px 12px rgba(0,0,0,0.12);
        border-top: 1px solid #eee;
        padding: 0 16px calc(10px + env(safe-area-inset-bottom));
    }
    .hBook .mobile-cart-summary {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        min-height: 66px;
    }
    .hBook .mobile-cart-total-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 36px;
    }
    .hBook .mobile-cart-total-label {
        color: #555;
        font-size: 14px;
    }
    .hBook .mobile-cart-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 30px;
        padding: 0;
        border: 0;
        background: #fff;
        color: #555;
        cursor: pointer;
    }
    .hBook .mobile-cart-toggle-total {
        color: #f26121;
        font-size: 20px;
        text-align: right;
    }
    .hBook .mobile-cart-chevron {
        margin-right: 3px;
        color: #555;
        font-size: 16px;
        line-height: 1;
        transform: rotate(0deg);
        transition: transform 0.25s ease;
    }
    .hBook .mobile-bar-content {
        display: grid;
        gap: 6px;
        max-height: 100px;
        overflow: hidden;
        opacity: 1;
        transition: max-height 0.25s ease, opacity 0.2s ease;
    }
    .hBook .mobile-bar.is-collapsed .mobile-bar-content {
        max-height: 0;
        opacity: 0;
        pointer-events: none;
    }
    .hBook .mobile-bar.is-collapsed .mobile-cart-chevron {
        transform: rotate(180deg);
    }
    .hBook .mobile-cart-pay-btn {
        width: 100%;
        height: 48px;
        margin: 0;
    }
    .hBook .mobile-cart-detail-btn {
        width: 100%;
        height: 38px;
        margin: 0;
        padding: 4px 8px;
        background: #fff;
        color: #444;
        font-size: 14px;
    }
    .hBook .mobile-total { font-weight: bold; }
    .hBook .col-4 { max-width: 33.333333% !important; }
    .hBook .card-title,
    .hBook .title-single { font-size: 17px; }
    .hBook .card-title { padding: 15px; }
    .hBook .totalAmt { font-size: 25px; }
    .hBook .partner-code-box {
        align-items: stretch;
        flex-direction: column;
    }
    .hBook .partner-code-box .btn.btn-orange {
        margin-top: 0;
    }
    .hBook .member-product-section {
        padding: 18px 0;
    }
    .hBook .member-tab-state {
        grid-template-columns: 36px minmax(0, 1fr);
        padding: 16px 14px;
    }
    .hBook .member-tab-state--centered {
        grid-template-columns: minmax(0, 1fr);
    }
    .hBook .member-tab-state > i {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    .hBook .member-tab-actions {
        flex-direction: column;
    }
    .hBook .member-tab-actions .btn {
        width: 100%;
    }
}

/* ── V2 상품조회 로딩 스피너 (전역 오버레이라 .hBook 스코프 밖) ── */
#v2-loading-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 2147483000;
    background: rgba(0, 0, 0, 0.28);
    display: none;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 16px;
    box-sizing: border-box;
    pointer-events: all;
    isolation: isolate;
}
#v2-loading-overlay .v2-loading-box {
    background: #fff;
    padding: 22px 28px;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 180px;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
}
#v2-loading-overlay .v2-loading-spinner {
    position: static;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    margin: 0;
    background: transparent;
    border: 4px solid #f1f1f1;
    border-top-color: #fd7e14;
    border-radius: 50%;
    box-sizing: border-box;
    animation: v2-loading-spin 0.9s linear infinite;
}
#v2-loading-overlay .v2-loading-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
}
@keyframes v2-loading-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@media (max-width: 768px) {
    #v2-loading-overlay {
        padding: 20px;
    }
    #v2-loading-overlay .v2-loading-box {
        width: min(220px, calc(100vw - 40px));
        min-width: 0;
        padding: 20px 18px;
    }
}
.member-info-callout {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 104px;
    margin: 0 0 14px;
    padding: 16px 18px;
    border: 1px solid #f4a269;
    border-radius: 6px;
    background: #fff8f2;
    color: #2f2f2f;
    text-align: left;
    box-shadow: 0 3px 10px rgba(84, 61, 43, 0.08);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.member-info-callout:hover,
.member-info-callout:focus {
    border-color: #f26121;
    background: #fff3e9;
    color: #2f2f2f;
    box-shadow: 0 5px 14px rgba(84, 61, 43, 0.13);
    outline: none;
}

.member-info-callout-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    color: #f26121;
    font-size: 24px;
    box-shadow: inset 0 0 0 1px #ffd7bd;
}

.member-info-callout-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.member-info-callout-question {
    color: #555;
    font-size: 14px;
}

.member-info-callout-copy strong {
    color: #d95812;
    font-size: 18px;
    line-height: 1.35;
}

.member-info-callout-copy small {
    margin-top: 2px;
    color: #666;
    font-size: 13px;
    line-height: 1.45;
}

.member-info-callout-arrow {
    color: #f26121;
    font-size: 18px;
}

@media (max-width: 768px) {
    .member-info-callout {
        grid-template-columns: 40px minmax(0, 1fr) 16px;
        gap: 11px;
        min-height: 88px;
        margin-bottom: 10px;
        padding: 13px 12px;
    }

    .member-info-callout-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .member-info-callout-question {
        font-size: 12px;
    }

    .member-info-callout-copy strong {
        font-size: 16px;
    }

    .member-info-callout-copy small {
        font-size: 12px;
    }
}

.buyer-info-readonly,
.buyer-info-readonly:focus {
    background-color: #f1f3f5 !important;
    border-color: #d5d9de !important;
    color: #495057 !important;
    cursor: not-allowed;
    box-shadow: none !important;
}

.button-disabled,
.button:disabled {
    cursor: not-allowed;
    opacity: .58;
}

.member-transition-summary {
    text-align: left;
}

.member-transition-items {
    max-height: 210px;
    overflow-y: auto;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.member-transition-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 2px;
    border-bottom: 1px solid #eef0f2;
}

.member-transition-item:last-child {
    border-bottom: 0;
}

.member-transition-item span {
    color: #c94f00;
    font-size: 14px;
}

.member-transition-total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding: 12px;
    background: #f7f7f7;
}

@media (max-width: 576px) {
    .member-transition-total {
        flex-direction: column;
    }
}
