/* ═══════════════════════════════════════
   INSTA HOTEL - Responsive CSS
   Base design targets 1920px.
   Booking bar minimum safe width: ~1700px
   (item1=478 + item2=626 + item4=116 + padding=60 + item3padding=296 + content=120)
   ═══════════════════════════════════════ */

/* ── 모바일 네비게이션 드로어 (전체 해상도 공통) ── */
#mobileNavOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0);
    z-index: 9998;
    pointer-events: none;
    transition: background 0.3s ease;
}
#mobileNavOverlay.open {
    background: rgba(0,0,0,0.52);
    pointer-events: all;
}
#mobileNavDrawer {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 280px;
    background: rgb(28,28,28);
    color: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
}
#mobileNavOverlay.open #mobileNavDrawer {
    transform: translateX(0);
}
#mobileNavClose {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(255,255,255,0.08);
    border: none;
    color: #fff;
    width: 34px; height: 34px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    font-family: inherit;
}
#mobileNavClose:hover { background: rgba(255,255,255,0.18); }
.mob-nav-logo {
    padding: 28px 20px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mob-nav-logo img {
    height: 48px;
    filter: brightness(0) invert(1);
    display: block;
}
.mob-nav-links {
    list-style: none;
    padding: 10px 0;
    flex: 1;
}
.mob-nav-links li a {
    display: block;
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.15s, color 0.15s;
    font-family: 'Barlow', sans-serif;
    letter-spacing: 0.2px;
}
.mob-nav-links li a:hover,
.mob-nav-links li a.mob-active {
    background: rgba(255,255,255,0.07);
    color: #fff;
}
.mob-nav-lang {
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
}
.mob-lang-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    color: rgba(255,255,255,0.85);
    padding: 6px 14px;
    font-size: 13px;
    font-family: 'Barlow', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
}
.mob-lang-btn:hover { background: rgba(255,255,255,0.14); }
.mob-lang-chevron { font-size: 10px; }
.mob-lang-dropdown {
    display: none;
    position: absolute;
    bottom: calc(100% - 8px);
    left: 24px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    overflow: hidden;
    min-width: 110px;
    z-index: 10;
}
.mob-lang-dropdown.open { display: block; }
.mob-lang-option {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    font-family: 'Barlow', sans-serif;
    transition: background 0.15s;
}
.mob-lang-option:hover { background: #f5f5f5; }
.mob-lang-option.active { font-weight: 700; color: #111; }
.mob-nav-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 16px;
}
.mob-nav-footer a {
    color: rgba(255,255,255,0.65);
    font-size: 20px;
    text-decoration: none;
    transition: color 0.2s;
}
.mob-nav-footer a:hover { color: #fff; }
.mob-nav-contact {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    line-height: 1.5;
    font-family: 'Barlow', sans-serif;
}

/* ── 예약 팝업 공통 기본 스타일 (mobile-nav.js 주입 팝업에서도 사용) ── */
.booking-dropdown {
    position: absolute;
    top: calc(100% + 20px);
    left: 0;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    padding: 30px;
    z-index: 2000;
    display: none;
    cursor: default;
}
.booking-dropdown.active { display: block; }
.dropdown-close { position: absolute; top: 20px; right: 20px; font-size: 16px; cursor: pointer; color: rgb(112,112,112); }
.dropdown-close:hover { color: rgb(28,28,28); }

.calendar-dropdown { width: 750px; left: -20px; }
.cal-months-wrap { display: flex; justify-content: space-between; gap: 40px; margin-top: 10px; }
.cal-month { flex: 1; }
.cal-month-header { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15px; margin-bottom: 20px; }
.cal-month-header i { cursor: pointer; font-size: 16px; padding: 5px; color: rgb(112,112,112); transition: color 0.2s; }
.cal-month-header i:hover { color: #00768e; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; gap: 10px 0; }
.cal-day-name { font-size: 12px; font-weight: 700; color: rgb(112,112,112); margin-bottom: 10px; }
.cal-date { font-size: 13px; font-weight: 500; color: rgb(112,112,112); padding: 10px 0; cursor: pointer; border-radius: 20px; transition: all 0.2s ease; position: relative; }
.cal-date.faded { color: #ccc; cursor: default; }
.cal-date.selected-start { background: #000; color: #fff; border-radius: 20px 0 0 20px; }
.cal-date.selected-end   { background: #000; color: #fff; border-radius: 0 20px 20px 0; }
.cal-date.selected-single { background: #000; color: #fff; border-radius: 20px; }
.cal-date.in-range { background: #FAFAFA; border-radius: 0; }
.cal-date:hover:not(.faded):not(.selected-start):not(.selected-end):not(.selected-single) { background: #eaeaea; border-radius: 20px; }

.guest-dropdown { width: 420px; left: -20px; }
.guest-row { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid #f0f0f0; }
.guest-row:last-of-type { border-bottom: none; }
.guest-label-box { display: flex; flex-direction: column; gap: 5px; }
.g-title { font-weight: 700; font-size: 15px; color: rgb(28,28,28); }
.guest-controls { display: flex; align-items: center; gap: 15px; }
.btn-ctrl { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #ddd; background: #fff; display: flex; justify-content: center; align-items: center; cursor: pointer; color: rgb(112,112,112); }
.btn-ctrl:hover { border-color: rgb(28,28,28); color: rgb(28,28,28); }
.val-ctrl { font-size: 15px; font-weight: 600; width: 15px; text-align: center; }

.price-popup { width: 320px; padding: 20px 24px; left: 0; right: auto; }
.price-popup-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid #f0f0f0; cursor: pointer; }
.price-popup-row:last-child { border-bottom: none; }
.price-popup-row:hover .price-popup-name { color: #2A91A8; }
.price-popup-name { font-size: 14px; font-weight: 600; color: rgb(28,28,28); }
.price-popup-total { font-size: 13px; font-weight: 600; color: rgb(28,28,28); white-space: nowrap; }
.price-popup-unavail { cursor: default; opacity: 0.45; }
.price-popup-unavail:hover .price-popup-name { color: rgb(28,28,28); }

.dropdown-done-btn { display: block; width: 100px; margin: 30px auto 0; padding: 10px 0; border-radius: 20px; border: 1px solid #777; background: #fff; font-weight: 600; font-size: 13px; cursor: pointer; transition: background 0.2s; text-align: center; font-family: inherit; }
.dropdown-done-btn:hover { background: #FAFAFA; }

/* 달력 첫 번째 달 > 버튼: 데스크탑 숨김, ::after 스페이서로 타이틀 중앙 유지 */
.cal-nav-right-mob { display: none; }
.cal-month:first-child .cal-month-header::after { content: ''; display: inline-block; width: 26px; flex-shrink: 0; }

/* ── 1700px 이하: 예약바 패딩 완화 시작 ── */
@media (max-width: 1700px) {
    .booking-bar   { padding: 0 24px; }
    .booking-item  { padding: 0 120px; }
    .booking-item:first-child { padding-left: 0; }
    .booking-item:nth-child(1) { flex: 0 0 460px; padding-right: 0; }
    .booking-item:nth-child(2) { flex: 0 0 580px; }
    .booking-item:nth-child(3) { padding-right: 80px; }
    .booking-item:last-child   { flex: 0 0 112px; padding: 0 14px 0 0; }
}

/* ── 1536px 이하 (FHD 랩탑, 윈도우 125% 스케일링 포함) ── */
@media (max-width: 1536px) {
    .booking-bar   { padding: 0 20px; }
    .booking-item  { padding: 0 80px; }
    .booking-item:first-child { padding-left: 0; }
    .booking-item:nth-child(1) { flex: 0 0 420px; padding-right: 0; }
    .booking-item:nth-child(2) { flex: 0 0 530px; }
    .booking-item:nth-child(3) { padding-right: 60px; }
    .booking-item:last-child   { flex: 0 0 108px; padding: 0 12px 0 0; }
}

/* ── 1440px 이하 (14인치 랩탑) ── */
@media (max-width: 1440px) {
    .top-util-bar  { padding: 0 30px 0 20px; }
    .top-header    { padding: 0 30px; }
    .sub-header    { padding: 0 30px; }
    .main-nav      { gap: 22px; }

    .booking-bar   { padding: 0 18px; }
    .booking-item  { padding: 0 64px; }
    .booking-item:first-child { padding-left: 0; }
    .booking-item:nth-child(1) { flex: 0 0 400px; padding-right: 0; }
    .booking-item:nth-child(2) { flex: 0 0 510px; }
    .booking-item:nth-child(3) { padding-right: 50px; }
    .booking-item:last-child   { flex: 0 0 106px; padding: 0 10px 0 0; }
}

/* ── 1366px 이하 (일반 랩탑) ── */
@media (max-width: 1366px) {
    .booking-item  { padding: 0 50px; }
    .booking-item:nth-child(1) { flex: 0 0 380px; }
    .booking-item:nth-child(2) { flex: 0 0 490px; }
    .booking-item:nth-child(3) { padding-right: 40px; }
    .booking-item:last-child   { flex: 0 0 104px; }

    .calendar-dropdown { width: 700px; }
}

/* ── 1280px 이하 (소형 랩탑) ── */
@media (max-width: 1280px) {
    /* 헤더 */
    .top-util-bar  { padding: 0 18px; }
    .top-header    { padding: 0 18px; height: 80px; }
    .logo img      { height: 56px; }
    .main-nav      { gap: 16px; font-size: 13px; }
    .sub-header    { padding: 0 18px; }
    .hotel-name    { font-size: 18px; }
    .hotel-info-right { gap: 14px; font-size: 13px; }

    /* 예약바 */
    .booking-bar   { padding: 0 14px; height: 100px; }
    .booking-item  { padding: 0 38px; gap: 12px; }
    .booking-item:first-child { padding-left: 0; }
    .booking-item:nth-child(1) { flex: 0 0 348px; padding-right: 0; }
    .booking-item:nth-child(2) { flex: 0 0 448px; }
    .booking-item:nth-child(3) { padding-right: 30px; }
    .booking-item:last-child   { flex: 0 0 100px; padding: 0 8px 0 0; }

    .booking-label { font-size: 11px; }
    .booking-value { font-size: 14px; }
    .search-btn    { width: 86px; height: 36px; font-size: 14px; }

    /* 달력 팝업 */
    .calendar-dropdown { width: 620px; left: -10px; }
    .cal-months-wrap   { gap: 24px; }
    .cal-date          { font-size: 12px; padding: 8px 0; }

    /* 게스트 팝업 */
    .guest-dropdown { width: 370px; }

    /* 가격 팝업 */
    .price-popup { width: 280px; }

    /* 섹션 패딩 */
    .rooms-section-hd { padding: 0 20px; }
    .rooms-grid            { padding: 0 20px; gap: 24px 20px; }
    .promo-pkg-section     { padding: 0 20px; }
    .facilities-section    { padding: 40px 20px; }
    .info-section          { padding: 40px 20px 80px; }
    .location-section      { padding: 60px 20px; }
    .faq-details-section   { padding: 60px 20px; }
    .footer-section        { padding: 40px 20px 60px; }
    .rooms-section         { padding: 40px 20px; }

    /* 위치 섹션 */
    .location-container    { gap: 36px; }

    /* 어메니티 그리드 */
    .fac-category-grid     { gap: 36px 20px; }
    .info-grid             { gap: 28px; }
}

/* ── 1200px 이하 ── */
@media (max-width: 1200px) {
    .main-nav        { gap: 12px; font-size: 12px; }
    .hotel-info-right { display: none; }

    /* 달력: 단일 월 표시 */
    .calendar-dropdown  { width: 340px; }
    .cal-months-wrap    { flex-direction: column; gap: 10px; }

    /* 위치 섹션 세로 배치 */
    .location-container { flex-direction: column; }
    .location-info      { max-width: 100%; }
    .location-map       { width: 100%; }

    /* 그리드 2열 */
    .fac-category-grid { grid-template-columns: repeat(2, 1fr); }
    .info-grid         { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════
   모바일 (768px 이하)
   ═══════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── 상단 유틸리티 바 ── */
    .top-util-bar { padding: 0 14px; height: 44px; }
    .util-promo   { display: none; }
    .util-login-btn { font-size: 10px; padding: 4px 10px; }

    /* ── 헤더 ── */
    .top-header { padding: 0 14px; height: 56px; }
    .logo img   { height: 34px; }
    .main-nav   { display: none; }
    .header-right { display: none; }

    /* ── 서브헤더 ── */
    .sub-header {
        padding: 0 14px;
        height: auto;
        min-height: 48px;
        flex-wrap: wrap;
        gap: 0;
    }
    .hotel-info-left { flex-wrap: nowrap; gap: 5px; }
    .hotel-name     { font-size: 13px; white-space: nowrap; }
    .rating-dots    { gap: 2px; flex-shrink: 0; }
    .rating-dots i  { font-size: 9px; }
    .rating-text    { font-size: 11px; white-space: nowrap; flex-shrink: 0; font-family: 'swiss-721', 'Barlow', sans-serif; }
    .hotel-info-right { display: none; }

    /* rooms.html 기존 sticky-wrapper 숨김 (index.html의 #booking-header 제외) */
    .sticky-wrapper:not(#booking-header) {
        display: none !important;
    }

    /* ── 기존 예약바 숨기기 (height:0으로 처리 — display:none 쓰면 fixed 드롭다운도 같이 숨겨짐) ── */
    .booking-bar {
        height: 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
    }

    #mob-trigger-bar {
        padding: 10px 16px;
        background: #fff;
        border-top: 1px solid #eee;
    }
    #mob-sticky-top {
        background: #fafafa;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    #mob-sticky-top.is-fixed {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    #mob-ext-panel {
        display: none;
        flex-direction: column;
        background: #fff;
        border-top: 1px solid #eee;
    }
    #mob-ext-panel.open { display: flex; }
    #mob-sub-bar {
        background: rgb(244,244,244);
        border-bottom: 1px solid #e6e6e6;
        padding: 8px 16px;
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: nowrap;
    }
    #mob-book-bar {
        padding: 10px 16px;
        background: #fff;
        border-top: 1px solid #eee;
    }
    #mob-book-bar a { display: block; }
    #mob-book-bar-btn {
        width: 100%;
        height: 46px;
        background: rgb(244,244,244);
        color: #1a1a1a;
        border: none;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 700;
        font-family: 'Barlow', sans-serif;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        outline: none;
    }
    #mob-book-bar-btn:active { opacity: 0.85; }
    #mob-book-trigger {
        width: 100%;
        height: 46px;
        background: rgb(244,244,244);
        color: #1a1a1a;
        border: none;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 700;
        font-family: 'Barlow', sans-serif;
        cursor: pointer;
        letter-spacing: -0.2px;
        -webkit-tap-highlight-color: transparent;
        outline: none;
    }
    #mob-book-trigger:active { opacity: 0.85; }

    #mob-panel-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 9499;
        background: transparent;
    }
    #mob-panel-backdrop.open { display: block; }

    #mob-book-panel {
        display: none;
        flex-direction: column;
        background: #fff;
        border-top: 1px solid #eee;
    }
    #mob-book-panel.open {
        display: flex;
        box-shadow: 0 4px 12px rgba(0,0,0,0.10);
    }

    .mob-panel-row {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 16px 20px 14px;
        border-bottom: 1px solid #f0f0f0;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .mob-panel-row:active { background: rgba(0,0,0,0.02); }
    .mob-panel-label {
        font-size: 12px;
        font-weight: 600;
        color: rgb(100,100,100);
    }
    .mob-panel-value {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 16px;
        font-weight: 500;
        color: rgb(28,28,28);
    }
    .mob-panel-confirm {
        width: 100%;
        height: 50px;
        background: rgb(244,244,244);
        color: #1a1a1a;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 700;
        font-family: 'Barlow', sans-serif;
        cursor: pointer;
        letter-spacing: -0.2px;
        -webkit-tap-highlight-color: transparent;
    }
    .mob-panel-confirm:active { opacity: 0.85; }
    .mob-panel-confirm.room-selected { background: rgb(58,154,180); color: #fff; }
    .mob-panel-confirm.room-selected:active { opacity: 0.85; }

    /* 기존 예약바 — 수직 스택 (이 블록은 이제 사용 안 함, 하단 .booking-item 스타일만 유지) */
    .booking-bar-unused {
        flex-direction: column;
        height: auto;
        padding: 0 14px 14px;
        align-items: stretch;
        gap: 0;
    }
    .booking-item {
        flex: none !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        padding: 12px 0 !important;
        gap: 5px;
        border-bottom: 1px solid #eee;
        position: static;
    }
    .booking-item:last-child {
        border-bottom: none;
        padding-top: 14px !important;
        align-items: stretch;
    }
    .booking-item:nth-child(-n+2)::after { display: none; }
    #guest-booking-item .booking-value,
    .booking-item:nth-child(3) .booking-value { width: 100%; }
    #date-booking-item .booking-value { gap: 10px; }
    .booking-label { font-size: 11px; }
    .booking-value { font-size: 14px; }
    .search-btn {
        width: 100%;
        height: 46px;
        border-radius: 8px;
        font-size: 15px;
    }

    /* ── 달력 드롭다운 (모바일 전체폭) ── */
    .booking-dropdown {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
        width: calc(100vw - 28px);
        max-width: 400px;
        max-height: 80vh;
        overflow-y: auto;
        z-index: 9000 !important;
        border-radius: 16px;
        box-sizing: border-box;
    }
    .calendar-dropdown {
        width: calc(100vw - 28px);
        max-width: 400px;
        padding: 20px 16px;
        box-sizing: border-box;
    }
    .calendar-dropdown .dropdown-close { display: none; }
    .cal-months-wrap { flex-direction: column; gap: 20px; }
    .cal-month:last-child { display: none !important; }
    .cal-month:first-child .cal-month-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .cal-month:first-child .cal-month-header #cal-month-title-left,
    .cal-month:first-child .cal-month-header #ext-cal-month-title-left {
        flex: 1;
        text-align: center;
    }
    .cal-nav-right-mob { display: inline-block !important; }
    .cal-month:first-child .cal-month-header::after { display: none; }
    .cal-date { font-size: 12px; padding: 8px 2px; }
    .cal-day-name { font-size: 11px; }

    /* ── 게스트 드롭다운 ── */
    .guest-dropdown {
        width: calc(100vw - 28px);
        max-width: 380px;
        padding: 20px 16px;
    }

    /* ── 가격 팝업 ── */
    .price-popup {
        width: calc(100vw - 28px);
        max-width: 380px;
        padding: 16px;
    }

    /* ── 히어로 ── */
    .hero-section { height: 52vw; min-height: 220px; }
    .hero-controls { bottom: 14px; }
    .slider-nav           { width: 90px; height: 30px; }
    .slider-nav i         { font-size: 11px; }
    .slider-dots          { gap: 6px; }
    .dot                  { width: 6px; height: 6px; }
    .gallery-btn          { width: 85px; height: 30px; font-size: 11px; gap: 5px; white-space: nowrap; }
    .gallery-btn i        { font-size: 12px; }

    /* ── 소개 섹션 ── */
    .intro-section  { margin: 18px auto 10px; padding: 0 16px; }
    .intro-welcome  { font-size: 13px; }
    .intro-title    { font-size: 22px; }
    .intro-desc     { font-size: 13px; margin-bottom: 0; }
    .intro-more-dots { display: inline; }
    .intro-desc-more { display: none; }
    .intro-more-btn {
        display: inline;
        background: none;
        border: none;
        color: #00768e;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        padding: 0 2px;
        vertical-align: baseline;
        text-decoration: underline;
        font-family: inherit;
    }
    .intro-less-btn {
        display: inline;
        background: none;
        border: none;
        color: #00768e;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        padding: 0 2px;
        vertical-align: baseline;
        text-decoration: underline;
        font-family: inherit;
    }

    /* ── 프로모 배너 ── */
    .promo-banner       { flex-direction: column; align-items: flex-start; gap: 16px; padding: 18px 16px; }
    .promo-banner-left  { flex-direction: column; gap: 12px; }
    .promo-card-img     { display: none; }
    .promo-btn          { width: auto; align-self: center; }

    /* ── 객실 섹션 ── */
    .rooms-section  { padding: 32px 16px; }

    /* ── 프로모·패키지 카드 ── */
    .promo-pkg-section { padding: 0 16px; }
    .promo-pkg-title   { font-size: 22px; }
    .promo-pkg-card    { flex: 0 0 230px; width: 230px; height: 230px; border-radius: 10px; }

    /* ── 시설 탭 ── */
    .facilities-section { padding: 8px 16px 16px; }
    .fac-main-title     { font-size: 26px; margin-bottom: 28px; }
    .fac-tabs ul        { gap: 14px; overflow-x: auto; justify-content: center; padding-bottom: 2px; }
    .fac-tabs li        { font-size: 13px; white-space: nowrap; }
    .fac-category-grid  { grid-template-columns: 1fr; gap: 0; }
    .fac-box            { gap: 0; }
    .fac-box-title i    { width: 22px; text-align: center; flex-shrink: 0; }
    .fac-box-title      { font-weight: 500; }

    /* ── 시설 카테고리 토글 (모바일) ── */
    .fac-box-title.fac-toggleable {
        cursor: pointer;
        justify-content: space-between;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        margin-top: 0 !important;
    }
    .fac-toggle-hint {
        display: flex;
        align-items: center;
        gap: 4px;
        margin-left: auto;
        font-size: 12px;
        color: rgb(112,112,112);
        font-weight: 500;
        flex-shrink: 0;
    }
    .fac-toggle-hint::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 11px;
        color: rgb(112,112,112);
        transition: transform 0.25s ease;
    }
    .fac-box-title.collapsed .fac-toggle-hint::after {
        transform: rotate(-90deg);
    }
    .fac-box-title.fac-toggleable + .fac-box-list,
    .fac-box-title.fac-toggleable + .fac-box-text {
        margin-top: 10px;
    }

    /* ── 어메니티 정보 ── */
    .info-section { padding: 32px 16px 60px; }
    .info-grid    { grid-template-columns: 1fr; gap: 18px; }

    /* ── 피처 슬라이더 ── */
    .feature-slider-section { flex-direction: column-reverse; height: auto; }
    .feature-left-panel {
        width: 100%;
        padding: 36px 20px 28px;
        min-height: auto;
    }
    .feature-right-panel { width: 100%; height: 220px; flex-shrink: 0; }
    .feature-title { font-size: 22px; }
    .feature-desc  { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
    .feature-nav   { font-size: 12px; }
    .feature-counter { font-size: 12px; }

    /* ── 호텔 투숙 방법 ── */
    .hotel-ways-section { padding: 0; }
    .hotel-ways-section .promo-pkg-header { margin-bottom: 18px; }
    .hotel-ways-title   { font-size: 22px; }
    .hotel-ways-section .promo-pkg-card { flex: 0 0 200px; width: 200px; height: 200px; }

    /* ── 위치 섹션 ── */
    .location-section   { padding: 16px; }
    .location-container { flex-direction: column; gap: 32px; align-items: stretch; }
    .location-info      { max-width: 100%; width: 100%; }
    .location-map       { width: 100%; height: 240px; }
    .loc-title          { font-size: 24px; margin-bottom: 15px; }

    /* ── 푸터 ── */
    .footer-section { padding: 0 16px; }
    .footer-follow  { padding: 15px 0; }
    .footer-info    { font-size: 11px; line-height: 1.8; word-break: keep-all; padding: 15px 0; }

    /* ── 피크 갤러리 (peek gallery overlay) ── */
    .pgallery-slide { width: calc(100vw - 24px); min-width: calc(100vw - 24px); height: 50vh; }
    .pgallery-prev  { left: 8px; }
    .pgallery-next  { right: 8px; }

    /* ── 갤러리 라이트박스 (nearby/gallery) ── */
    .gallery-slide  { width: calc(100vw - 24px); min-width: calc(100vw - 24px); height: 50vh; }
    .gallery-prev   { left: 8px; }
    .gallery-next   { right: 8px; }

    /* ── 주변관광 히어로 ── */
    .nearby-hero { height: 52vw; min-height: 200px; }
    .nearby-hero-title { font-size: 24px; }
    .nearby-hero-scroll { bottom: 14px; }
    .nearby-inner { padding: 0 16px; }
    .nb-photo-grid { grid-template-columns: repeat(2, 1fr); }

    /* ── 갤러리 페이지 ── */
    .gal-header-inner { padding: 0 16px; }
    .gal-header-title { font-size: 22px; }
    .gal-grid-wrap  { padding: 0 16px 60px; }
    .gal-grid       { columns: 2; }
    .gal-count      { padding: 12px 16px; }

    /* ── rooms.html 객실 목록 ── */
    .hero-section         { height: 58vw; min-height: 200px; }
    .hero-title           { font-size: 18px; line-height: 1.3; white-space: nowrap; }
    .hero-scroll-hint     { bottom: 14px; }
    .hero-label-text      { font-size: 11px; letter-spacing: 2px; }
    .rooms-section        { padding: 10px 0 10px; }
    .rooms-section-hd { padding: 0 16px; margin-bottom: 20px; }
    .rooms-section-header { padding: 0 16px; margin-bottom: 20px; }
    .rooms-section-title  { font-size: 18px; }
    .rooms-grid           { grid-template-columns: 1fr; padding: 0 16px; gap: 28px; }
    .room-card-img-wrap   { height: 220px; }
    .room-card-body       { padding: 14px 2px 20px; }
    .room-card-name       { font-size: 15px; }
    .room-card-meta       { flex-direction: column; align-items: flex-start; gap: 4px; }
    .room-card-price      { flex-wrap: wrap; gap: 4px; }
    .room-card-price-item { font-size: 11px; }

    /* ── rooms.html 팝업 모달 ── */
    .modal-overlay  { top: 0; padding-top: 0; align-items: flex-end; }
    .modal-box      { width: 100%; height: auto; max-height: 92vh; border-radius: 16px 16px 0 0; }
    .modal-slider-outer { height: 185px; }
    .modal-header   { padding: 12px 16px 11px; }
    .modal-body     { padding: 14px 16px 20px; }
    .modal-amenity-grid { grid-template-columns: 1fr 1fr; gap: 0; }
    .modal-amenity-col-title { font-size: 13px; margin-bottom: 6px; }
    .modal-amenity-item { font-size: 12px; }
    .modal-amenity-item { font-size: 13px; padding: 3px 0; }
    .modal-top-row  { flex-wrap: wrap; gap: 10px; }
    .modal-sub-row  { flex-wrap: wrap; gap: 6px; }
    .modal-room-price { flex-wrap: wrap; gap: 6px; }
    .modal-amenity-grid { grid-template-columns: 1fr; }
    .gallery-prev   { left: 24px; }
    .gallery-next   { right: 24px; }

    /* ── 객실 상세 (rooms/*.html) ── */
    .room-detail-section  { padding: 28px 16px 48px; }
    .room-detail-title    { font-size: 24px; }
    .room-detail-subtitle { font-size: 13px; margin-bottom: 28px; }
    .room-detail-body     { flex-direction: column; gap: 28px; }
    .room-detail-right    { width: 100%; }
    .room-booking-card    { position: static; padding: 20px 16px; }
    .room-booking-price strong { font-size: 22px; }
    .room-stats           { gap: 14px; flex-wrap: wrap; }
    .room-stat-label      { font-size: 10px; }
    .room-stat-value      { font-size: 14px; }
    .room-amenities-grid  { grid-template-columns: 1fr; }
    .room-breadcrumb      { font-size: 12px; margin-bottom: 20px; }
    .hero-controls        { gap: 8px; }
    .slider-nav           { width: 90px; height: 30px; padding: 0 10px; }
    .gallery-btn          { width: 88px; height: 30px; font-size: 11px; }

    /* ── 예약 성공/실패 페이지 ── */
    .page-wrap  { margin: 32px auto 60px; }
    .card-body  { padding: 22px 20px; }
    .success-top { padding: 36px 20px 28px; }
    .success-title { font-size: 22px; }

    /* ── 예약 페이지 (booking.html) ── */
    .booking-page { flex-direction: column; padding: 16px 14px 60px; gap: 14px; }
    .booking-summary-area { width: 100%; position: static; }
    .form-row   { grid-template-columns: 1fr; }
    .pay-grid   { grid-template-columns: 1fr; }
    .form-section { padding: 20px 16px; }
    .breadcrumb-bar { padding: 10px 14px; }

    /* ── 모달 공통 ── */
    .review-modal-box { border-radius: 12px; }
    .review-modal-header { padding: 16px 18px; }
    .review-list { padding: 0 18px; }
}

/* ── 후기 모달 공통 (전 페이지) ── */
#reviewModal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 9999; align-items: center; justify-content: center; padding: 20px; }
#reviewModal.open { display: flex; }
.review-modal-box { background: #fff; border-radius: 16px; width: 100%; max-width: 820px; max-height: 88vh; display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(0,0,0,0.22); overflow: hidden; animation: reviewPop 0.28s cubic-bezier(0.2,0.8,0.2,1); }
@keyframes reviewPop { from { opacity:0; transform: scale(0.96) translateY(12px); } to { opacity:1; transform: none; } }
.review-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 28px 18px; border-bottom: 1px solid #ebebeb; flex-shrink: 0; background: #f7f7f7; }
.review-modal-title { font-size: 16px; font-weight: 700; color: rgb(28,28,28); }
.review-modal-close { background: none; border: none; font-size: 20px; cursor: pointer; color: rgb(112,112,112); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.15s; }
.review-modal-close:hover { background: #eee; }
.review-summary { padding: 22px 28px 18px; border-bottom: 1px solid #ebebeb; flex-shrink: 0; display: flex; align-items: center; gap: 14px; }
.review-summary-dots { display: flex; gap: 5px; }
.review-summary-dots i { color: #3A9AB4; font-size: 18px; }
.review-summary-score { font-size: 28px; font-weight: 800; color: rgb(28,28,28); letter-spacing: -1px; }
.review-summary-count { font-size: 14px; color: rgb(112,112,112); font-weight: 500; }
.review-list { overflow-y: auto; padding: 0 28px; flex: 1; }
.review-item { padding: 22px 0; border-bottom: 1px solid #ebebeb; }
.review-item:last-child { border-bottom: none; }
.review-item-meta { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.review-item-left { display: flex; flex-direction: column; gap: 5px; }
.review-item-name { font-size: 13px; font-weight: 700; color: rgb(28,28,28); }
.review-item-stars { display: flex; align-items: center; gap: 6px; }
.review-item-stars i { font-size: 13px; color: #3A9AB4; }
.review-item-stars span { font-size: 13px; font-weight: 700; color: rgb(28,28,28); }
.review-item-date { font-size: 12px; color: rgb(112,112,112); }
.review-item-title { font-size: 14px; font-weight: 700; color: rgb(28,28,28); margin-bottom: 7px; }
.review-item-body { font-size: 13px; color: rgb(112,112,112); line-height: 1.75; }
.review-item-lang { display: inline-block; font-size: 10px; font-weight: 600; color: rgb(112,112,112); background: #f0f0f0; padding: 2px 7px; border-radius: 10px; margin-bottom: 8px; }
.review-modal-footer { padding: 16px 28px; border-top: 1px solid #ebebeb; flex-shrink: 0; display: flex; justify-content: flex-end; }
.review-more-btn { background: #fff; border: 1px solid #ccc; border-radius: 20px; padding: 9px 20px; font-size: 13px; font-weight: 600; color: rgb(28,28,28); cursor: pointer; transition: border-color 0.15s; }

/* ── 데스크탑에서 모바일 전용 주입 요소 숨김 ── */
@media (min-width: 769px) {
    #mob-sticky-top, #mob-sub-bar, #mob-book-bar, #mob-sticky-spacer, #mob-trigger-bar, #mob-book-panel { display: none !important; }

    /* 예약바 버튼: 색상 변경 */
    .search-btn { background-color: rgb(58,154,180) !important; }
    .search-btn:hover { background-color: rgb(44,132,156) !important; }
}

/* ── 480px 이하 (소형 폰) ── */
@media (max-width: 480px) {
.promo-pkg-card { flex: 0 0 190px; width: 190px; height: 190px; }
    .hotel-ways-section .promo-pkg-card { flex: 0 0 170px; width: 170px; height: 170px; }
    .gal-grid { columns: 1; }
    .nb-photo-grid { grid-template-columns: 1fr; }
    .nearby-hero-title { font-size: 20px; }
}

/* ── Booking bar auto-advance highlight ── */
