body {
    word-break: keep-all;
    overflow-wrap: break-word;
}

.banner-pc {
    display: block;
}

.banner-mobile {
    display: none;
}

@media (max-width: 1280px) {
    .banner-pc {
        display: none;
    }

    .banner-mobile {
        display: block;
    }
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section1 .section1-search-bar .search-iten input[type="text"],
.section1 .section1-search-bar .search-iten input[type="date"],
.section1 .section1-search-bar .search-iten input[type="number"] {
    color: #fff;
    font-weight: 400;
    background: transparent;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 0;
    width: 200px;
}

.section1 .section1-search-bar .search-iten input::placeholder {
    color: #fff;
    opacity: 0.7;
}

.section1 .section1-search-bar .search-iten input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.section1 .section1-search-bar .search-iten input[type="number"]::-webkit-inner-spin-button,
.section1 .section1-search-bar .search-iten input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.recommended-products-swiper {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.recommended-products-swiper.swiper-ready {
    opacity: 1;
}

.section1 .section1-search-bar .search-iten.date-range .date-range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.section1 .section1-search-bar .search-iten.date-range .date-range-inputs input[type="date"] {
    width: auto;
    flex: 1;
    min-width: 0;
}

.section1 .section1-search-bar .search-iten.date-range .date-range-inputs span {
    color: #fff;
    font-size: 14px;
    opacity: 0.7;
}

.section1 .section1-search-bar .search-iten select option {
    color: #000;
    background: #fff;
}

.map-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.map-modal {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    height: 80vh;
    max-height: 600px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.map-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.map-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.map-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.map-modal-close:hover {
    color: #000;
}

.map-modal-body {
    flex: 1;
    position: relative;
}

@media (max-width: 768px) {
    .map-modal {
        width: 95%;
        height: 90vh;
    }
}

/* 이미지 확대 모달 */
.image-zoom-modal-overlay {
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-zoom-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90%;
    overflow: hidden;
}

.image-zoom-modal-close {
    position: absolute;
    top: 0px;
    right: 0;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    z-index: 10;
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-zoom-modal-close i {
    font-size: 32px;
    font-weight: bold;
}

.image-zoom-modal-swiper {
    width: 100%;
    height: 100%;
    position: relative;
}

.image-zoom-modal-image-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-zoom-modal-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.image-zoom-modal-prev,
.image-zoom-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.image-zoom-modal-prev:hover,
.image-zoom-modal-next:hover {
    background: rgba(255, 255, 255, 1);
}

.image-zoom-modal-prev {
    left: 20px;
}

.image-zoom-modal-next {
    right: 20px;
}

.image-zoom-modal-prev i,
.image-zoom-modal-next i {
    font-size: 24px;
    color: #333;
}

.image-zoom-modal-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: auto;
    color: #fff;
}
.image-zoom-modal-pagination > span { color: #fff; }

@media (max-width: 768px) {
    .image-zoom-modal-content {
        width: 95%;
        height: 80%;
    }

    .image-zoom-modal-close {
        top: -40px;
        font-size: 28px;
    }

    .image-zoom-modal-prev,
    .image-zoom-modal-next {
        width: 40px;
        height: 40px;
    }

    .image-zoom-modal-prev {
        left: 10px;
    }

    .image-zoom-modal-next {
        right: 10px;
    }
}

.person-count-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.person-count-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.person-count-item:last-child {
    border-bottom: none;
}

.person-count-item .label-wrap {
    flex: 1;
}

.person-count-item .label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.count-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-count {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #d0d0d0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-count:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #999;
}

.btn-count:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-count i {
    font-size: 14px;
    color: #333;
}

.count-controls .count {
    min-width: 32px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

@media (max-width: 768px) {
    .person-count-item .label {
        font-size: 14px;
    }

    .btn-count {
        width: 28px;
        height: 28px;
    }

    .count-controls .count {
        font-size: 14px;
        min-width: 28px;
    }
}

.popup-btn-wrap { display: flex; justify-content: center; }

.room-select-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.room-select-item {
    padding: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background-color: #fff;
}

.room-select-item:hover {
    border-color: #8b5cf6;
    background-color: #faf5ff;
}

.room-select-item-header {
    margin-bottom: 8px;
}

.room-select-item-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.room-select-item-description {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.room-select-item-info {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: #888;
}

.room-select-no-data {
    text-align: center;
    padding: 20px 0;
    color: #999;
}

/* 티타임 목록 비활성화 및 예약마감 스타일 */
.tee-time-item-type1.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.tee-time-item-type1 .sold-out-text {
    font-size: 12px;
    color: #999;
}

.tee-time-list-type1 .no-result-text {
    text-align: center;
    padding: 20px;
    color: #999;
}

/* 검색 팝업 */
.popup-search .popup-content {
    padding: 24px;
}

.popup-search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.popup-search-form .search-iten {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popup-search-form .search-iten .label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.popup-search-form .search-iten .label img {
    width: 20px;
    height: 20px;
}

.popup-search-form .search-iten select,
.popup-search-form .search-iten input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.popup-search-form .search-iten select:focus,
.popup-search-form .search-iten input:focus {
    border-color: #8b5cf6;
}

.popup-search-form .search-iten input::placeholder {
    color: #999;
}

.popup-search-form .search-iten.date-range .date-range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: column;
}

.popup-search-form .search-iten.date-range .date-range-inputs input {
    flex: 1;
}

.popup-search-form .search-iten.date-range .date-range-inputs span {
    color: #666;
    font-size: 14px;
}

@media (max-width: 768px) {
    .popup-search .popup-content {
        padding: 16px;
    }

    .popup-search-form {
        gap: 16px;
        margin-top: 16px;
    }
}

.floating-btn-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 9; display: flex; gap: 16px; flex-direction: column; }
.go-consults-btn { width: 56px; height: 56px; padding: 8px 0; position: relative; background-color: #6A1B9A; display: flex; border-radius: 8px; color: #fff !important; font-size: 12px; justify-content: center; align-items: flex-end; font-weight: 600; }
.go-consults-btn::before { content: ''; width: 54px; height: 66px; background-image: url("../images/consults.png"); display: block; position: absolute; right: 0; bottom: 16px; z-index: 1; }


.go-kakao-btn { display: flex; justify-content: center; align-items: center; width: 56px; height: 56px; background-color: #FEE500; border-radius: 100%; box-shadow: 0px 4px 8px 0px #1D242B29; color: rgba(0, 0, 0, 0.9); margin-bottom: 16px; }
.go-kakao-btn i { font-size: 32px; line-height: 1; color: rgba(0, 0, 0, 0.9); }
.back-to-top-btn { display: flex; justify-content: center; align-items: center; width: 56px; height: 56px; background-color: #fff; border: 1px solid #C9E7F3; border-radius: 100%; box-shadow: 0px 4px 8px 0px #1D242B29; }
.back-to-top-btn i { font-size: 24px; color: #333333; }
@media (max-width: 1280px) {
    .floating-btn-wrap { display: none; }
}

.policies-page-wrap { padding-top: 40px; }
.body-wrap { min-height: 100vh; }

/* 고해상도 모니터 사이트 가로폭 제한 (2560px) */
body {
    max-width: 2560px;
    margin-left: auto;
    margin-right: auto;
}

/* #header {
    max-width: 2560px;
    left: calc(100vw - 100%);
    right: 0;
    margin-left: auto;
    margin-right: auto;
} */

@media screen and (min-width: 2561px) {
    body {
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    }
}


/* 프로모션 전용관 */
.promotion-hall-page { padding-bottom: 80px; }
.promotion-hall-notice { padding: 12px 20px; text-align: center; font-size: 15px; font-weight: 600; word-break: keep-all; }
.promotion-hall-notice.ended { background-color: #F5F5F5; color: #303030; }
.promotion-hall-notice.ready { background-color: #F5F5F5; color: #6A1B9A; }
.promotion-hall-notice.soon { background-color: #F8C120; color: #303030; }

/* 히어로는 기획전 상세(.MDPromotionDetail-box + .md-item-type3)를 그대로 재사용한다 */
/* background 단축 속성을 쓰면 기획전 쪽 background-size/position이 초기화되므로 개별 속성으로 지정한다 */
.promotion-hall-hero { background-image: linear-gradient(135deg, #6A1B9A 0%, #2A009C 100%); background-size: cover; background-position: center; background-repeat: no-repeat; margin-bottom: 40px; }
/* 배경 사진이 비치도록 제목 박스 검정 오버레이를 옅게 한다 */
.promotion-hall-hero .md-item-type3 { background: #00000099; }
/* 기획전 카드는 안에 썸네일 스와이퍼가 들어가지만 프로모션은 없어서 여백을 줄인다 */
.promotion-hall-hero .md-item-type3 .md-item .txt-wrap { padding: 40px 32px; word-break: keep-all; }
.promotion-hall-hero .md-item-type3 .md-item .txt-wrap .txt-top { margin-bottom: 4px; }
.promotion-hall-hero .md-item-type3 .md-item .txt-wrap .d-day-wrap::after { display: none; }
.promotion-hall-ratio { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; }
.promotion-hall-ratio strong { font-size: 44px; font-weight: bold; color: #fff; line-height: 1.1; }
.promotion-hall-ratio span { font-size: 15px; color: #FFFFFFCC; }
.promotion-hall-locations { padding: 0; margin-bottom: 24px; }
.promotion-hall-locations .category-tabs { margin-bottom: 0; }
.promotion-hall-locations .category-tabs + .category-tabs { margin-top: 8px; }
.promotion-hall-locations .category-tabs + .category-tabs button { background-color: #F5F5F5; border-color: #F5F5F5; }
.promotion-hall-locations .category-tabs + .category-tabs button.active { background-color: #6A1B9A; border-color: #6A1B9A; color: #fff; }
.promotion-hall-empty { padding: 120px 20px; text-align: center; word-break: keep-all; }
.promotion-hall-empty .title { font-size: 24px; font-weight: bold; color: #000000; }
.promotion-hall-empty .text { margin-top: 12px; font-size: 16px; color: #757575; }
.promotion-hall-empty .btn-wrap { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
@media screen and (max-width: 1280px) {
    .promotion-hall-hero { margin-bottom: 24px; }
    /* 지역 목록은 컨테이너 좌우 여백만큼 빼서 화면 끝까지 스크롤되게 한다 */
    .promotion-hall-locations { margin-left: -20px; margin-right: -20px; }
    .promotion-hall-locations .category-tabs { padding: 0 20px; }
    .promotion-hall-ratio { margin-top: 16px; }
    .promotion-hall-ratio strong { font-size: 32px; }
    .promotion-hall-ratio span { font-size: 13px; }
    .promotion-hall-empty { padding: 80px 20px; }
    .promotion-hall-empty .btn-wrap { flex-direction: column; }
}
