/**
 * 파일명: public/assets/css/web-custom.css
 * 목적: 고객 웹사이트 커스텀 스타일
 *       DreamsTour 테마 오버라이드 및 추가 컴포넌트 스타일을 모두 여기에 작성한다.
 *       인라인 style 속성 또는 <style> 블록 사용 금지 — 반드시 이 파일에 작성한다.
 */

/* ============================================================
   폰트: 프리텐다드 전체 적용
   IBM Plex Sans(테마 기본) → Pretendard 교체
   ============================================================ */
body,
button,
input,
select,
textarea,
h1, h2, h3, h4, h5, h6 {
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* ============================================================
   브랜드 색상 오버라이드: #CF3425(빨강) → #18406F(블루)
   ============================================================ */

/* 버튼: primary 배경/테두리 */
.btn-primary,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background-color: #18406F !important;
    border-color: #18406F !important;
}
.btn-primary:hover {
    background-color: #122f52 !important;
    border-color: #122f52 !important;
}
.btn-outline-primary {
    color: #18406F !important;
    border-color: #18406F !important;
}
.btn-outline-primary:hover {
    background-color: #18406F !important;
    border-color: #18406F !important;
    color: #fff !important;
}

/* 텍스트 primary */
.text-primary,
a.text-primary,
h1 .text-primary,
h2 .text-primary,
h3 .text-primary {
    color: #18406F !important;
}

/* 링크 호버 */
a:hover {
    color: #18406F;
}

/* 배경 primary */
.bg-primary {
    background-color: #18406F !important;
}

/* 텍스트 바(섹션 헤더 왼쪽 라인) */
.text-bar,
.text-bar::before {
    background: #18406F !important;
}

/* 네비게이션: 헤더 메뉴 호버/활성 */
header .header-nav .main-menu-wrapper .main-nav > li > a:hover,
header .header-nav .main-menu-wrapper .main-nav > li.active > a {
    color: #18406F !important;
}
header .header-nav .main-menu-wrapper .main-nav > li .submenu li a:hover {
    color: #18406F !important;
}

/* 로그인/회원가입 버튼 */
.header-nav .header-right .log-register a.btn-primary {
    background-color: #18406F !important;
    border-color: #18406F !important;
}

/* Hero 섹션: 검색 버튼 */
.hero-section .search-btn .btn,
.hero-section .banner-content .search-section .search-btn .btn-primary {
    background-color: #18406F !important;
    border-color: #18406F !important;
}

/* 여행지 카드: 하단 화살표 */
.location-wrap .loc-view-bottom {
    background: #18406F !important;
}

/* 투어 카드: 가격 태그, 찜 버튼 */
.card-wrap .card-content .content-bottom .amount-detail .amount h4,
.price-wrap .amount h4 {
    color: #18406F !important;
}
.fav-icon.active {
    color: #18406F !important;
}

/* 리뷰 별점 */
.ratings .rating-list i.filled,
.rating i.filled {
    color: #18406F !important;
}

/* 페이지네이션 */
.pagination .page-item.active .page-link,
.pagination .page-link:hover {
    background-color: #18406F !important;
    border-color: #18406F !important;
}

/* Footer: 링크 호버, 소셜 아이콘 호버 */
.footer a:hover,
.footer .footer-links li a:hover {
    color: #18406F !important;
}
.footer .social-links li a:hover {
    background-color: #18406F !important;
    border-color: #18406F !important;
}

/* 카테고리 아이콘 슬라이더 */
.travelers-slider .category-item:hover,
.category-item:hover .cate-icon {
    border-color: #18406F !important;
}
.category-item:hover .cate-icon i {
    color: #18406F !important;
}

/* FAQ 아코디언 */
.accordion-button:not(.collapsed) {
    color: #18406F !important;
}

/* 체크박스, 라디오 */
.form-check-input:checked {
    background-color: #18406F !important;
    border-color: #18406F !important;
}

/* OwlCarousel 네비 화살표 호버 */
.owl-nav button:hover {
    background: #18406F !important;
}

/* 프로모션/뱃지 */
.badge-primary,
.offer-badge {
    background-color: #18406F !important;
}

/* 스크롤 탑 버튼 */
.scroll-top {
    background-color: #18406F !important;
}

/* 선택 효과, 포커스 링 */
.form-control:focus,
.form-select:focus {
    border-color: #18406F !important;
    box-shadow: 0 0 0 0.2rem rgba(25, 118, 210, 0.25) !important;
}

/* 섹션 3: 혜택 아이콘 */
.benifit-section .benifits-wrap:hover .benifit-icon {
    background-color: #18406F !important;
}

/* 진행 바 */
.progress-bar {
    background-color: #18406F !important;
}

/* 탭 네비게이션 활성 */
.nav-tabs .nav-link.active,
.nav-pills .nav-link.active {
    background-color: #18406F !important;
    border-color: #18406F !important;
}

/* ============================================================
   헤더 상단 유틸리티 바 (header-topbar)
   style.css의 .header-topbar 기본값을 오버라이드한다
   ============================================================ */
.header-topbar {
    background-color: #f3f3f3 !important;
    color: #666 !important;
    font-size: 13px;
    line-height: 1;
    border-bottom: 1px solid #e5e5e5 !important;
    padding: 0 !important;
    display: block !important; /* style.css의 display:none 미디어쿼리 대비 — 데스크톱에서만 */
}
@media (max-width: 767.98px) {
    .header-topbar {
        display: none !important;
    }
}
.header-topbar-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 0 !important;
}
.header-topbar-left,
.header-topbar-right {
    display: flex !important;
    align-items: center !important;
}
.header-topbar-left ul,
.header-topbar-right ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 20px;
    flex-wrap: nowrap;
}
.header-topbar-left ul li {
    display: flex !important;
    align-items: center;
}
.header-topbar-left ul li a {
    color: #666;
    text-decoration: none;
    display: flex !important;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: color 0.2s;
}
.header-topbar-left ul li a:hover {
    color: #18406F;
}
.header-topbar-left ul li i {
    font-size: 14px;
    color: #18406F;
}
.header-topbar-right ul li {
    display: flex !important;
    align-items: center;
}
.header-topbar-right ul li a {
    color: #888;
    font-size: 14px;
    transition: color 0.2s;
}
.header-topbar-right ul li a:hover {
    color: #18406F;
}

@media (max-width: 767px) {
    .header-topbar {
        display: none !important;
    }
}

/* 투어 상품 카드 이미지: 모든 이미지를 동일 비율(3:2)로 통일 */
.card-tour-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* 헤더 메뉴 활성 상태: 점 3개 제거, 색상만 강조 */
header .header-nav .main-menu-wrapper .main-nav > li.active > a {
    color: #18406F !important;
    font-weight: 600;
}
header .header-nav .main-menu-wrapper .main-nav > li.active > a::after,
header .header-nav .main-menu-wrapper .main-nav > li.active.has-submenu > a::after {
    content: none !important;
    display: none !important;
}

/* 인기 여행지 카드: 도시명 정중앙 + 크게 */
.location-wrap .loc-name-top {
    text-align: center !important;
    left: 0 !important;
    right: 0 !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: 100% !important;
}
.location-wrap .loc-name-top h5 {
    font-size: 34px !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.location-wrap .loc-name-top span {
    font-size: 16px !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* ============================================================
   2행 헤더 레이아웃
   style.css의 header .header-nav .main-menu-wrapper 규칙을 오버라이드한다
   ============================================================ */
.header-four .header-nav {
    height: auto !important;
    padding: 0 !important;
}
/* style.css: header .header-nav .main-menu-wrapper { display:flex; flex-wrap:wrap; justify-content:space-between } 오버라이드 */
header .header-nav .main-menu-wrapper.hdr-two-row,
.main-menu-wrapper.hdr-two-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    padding: 0 !important;
    gap: 0 !important;
    height: auto !important;
}

/* Row 1: 3컬럼 Grid — 로고 | 검색창 | 버튼 */
.hdr-row-top {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 20px;
    padding: 17px 0;
    width: 100%;
}
.hdr-logo {
    justify-self: start;
    flex-shrink: 0;
}
.hdr-row-top .header-btn {
    justify-self: end;
}

/* 여행 검색폼 */
.hdr-search-wrap {
    width: clamp(280px, 38vw, 520px);
    min-width: 0;
}
.hdr-search-form { width: 100%; }

.hdr-search-inner {
    display: flex !important;
    align-items: center !important;
    background: #fff;
    border: 1.5px solid #c0c7d2;
    border-radius: 34px;
    padding: 5px 5px 5px 0;
    height: 44px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.hdr-search-inner:hover {
    border-color: #9aa5b4;
}
.hdr-search-inner:focus-within {
    border-color: #18406F;
    box-shadow: 0 0 0 3px rgba(25,118,210,0.12);
}

/* 지역 선택 영역 */
.hdr-region-wrap {
    display: flex;
    align-items: center;
    padding: 0 10px 0 16px;
    flex-shrink: 0;
    gap: 5px;
}
.hdr-loc-icon {
    color: #18406F;
    font-size: 13px;
    flex-shrink: 0;
}
.hdr-region-select {
    border: none;
    background: transparent;
    color: #222;
    font-size: 13px;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding-right: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23555' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 8px;
}
.hdr-region-select option {
    color: #333;
    background: #fff;
}

/* 구분선 */
.hdr-search-divider {
    width: 1px;
    height: 22px;
    background: #d0d5de;
    flex-shrink: 0;
    margin-right: 12px;
}

/* 키워드 입력 */
.hdr-search-inner input[type="text"] {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: #111;
    font-size: 14px;
    padding: 4px 0;
    outline: none;
}
.hdr-search-inner input[type="text"]::placeholder {
    color: #9aa5b4;
}

/* 검색 아이콘 버튼 */
.hdr-search-btn {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    background: #18406F;
    border: none;
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.15s;
}
.hdr-search-btn:hover {
    background: #122f52;
    transform: scale(1.08);
}

/* Row 2: 네비게이션 + 카카오 버튼 */
.hdr-row-nav {
    border-top: 1px solid #c8cdd6;
    border-bottom: 1px solid #c8cdd6;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
}
.sticky .hdr-row-nav {
    border-top-color: #c8cdd6;
    border-bottom-color: #c8cdd6;
}
.hdr-row-nav nav {
    flex: 1;
    min-width: 0;
}

/* 메뉴 왼쪽 정렬 + 글자 크게 */
.hdr-row-nav .main-nav {
    justify-content: flex-start !important;
    padding: 0 !important;
}
.hdr-row-nav .main-nav > li > a {
    padding: 12px 12px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
}
.sticky .hdr-row-nav .main-nav > li > a {
    color: #222 !important;
}
.sticky .hdr-row-nav .main-nav > li > a:hover,
.sticky .hdr-row-nav .main-nav > li.active > a {
    color: #18406F !important;
}

/* 카카오채널 문의하기 버튼 */
.hdr-kakao-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    background: #FEE500;
    color: #3A1D1D !important;
    text-decoration: none !important;
    border-radius: 22px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    margin-left: 16px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(254, 229, 0, 0.35);
}
.hdr-kakao-btn:hover {
    background: #f5d900;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(254, 229, 0, 0.5);
    color: #3A1D1D !important;
}
.hdr-kakao-btn span {
    line-height: 1;
}

@media (max-width: 991px) {
    .hdr-search-wrap { display: none !important; }
    .hdr-row-nav { display: none !important; }

    /* iOS Safari 가로 오버플로 방지 — html/body에만 적용.
       헤더에는 overflow:hidden을 주지 않는다. 이유: offcanvas(햄버거 메뉴)가
       .main-header-four 안에 있어 클리핑되면 iOS에서 사이드 메뉴가 안 보인다. */
    html, body { overflow-x: hidden !important; max-width: 100vw; }
    .main-header,
    .main-header-four,
    .header-four,
    .main-header-four .container {
        max-width: 100vw !important;
        box-sizing: border-box;
        /* overflow 제어는 상위 body에 위임 */
    }
    /* Bootstrap .container 기본 여백(약 24px) 축소 — iPhone SE 같은 좁은 화면 대응 */
    .main-header-four .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Offcanvas 메뉴 z-index 이슈 해결.
       원인: .main-header 가 position:absolute + z-index:1050 으로 자체 stacking context를 만들며,
             offcanvas는 그 안에 갇혀 뒤따르는 섹션(도시 카드 등)보다 z-order가 낮아진다.
       해결: .main-header 자체의 z-index를 최상위로 끌어올리고, offcanvas는 fixed로 뷰포트 루트에 고정. */
    .main-header,
    .main-header-four,
    .header-four {
        z-index: 100000 !important;
    }

    /* iOS Safari에서 부모 transform 영향으로 position:fixed가 깨지지 않도록 방어 */
    .offcanvas-info {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        z-index: 100002 !important;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        will-change: transform;
    }
    .offcanvas-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 100001 !important;
    }

    /* Row 1: 로고(좌) + 카카오+햄버거(우) 한 줄 정렬 */
    .main-header-four .hdr-row-top {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 8px !important;
        gap: 8px !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* 로고: 우측 요소 공간 확보를 위해 shrink 허용 + 최대 폭 제한 */
    .main-header-four .hdr-logo {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        max-width: 60% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .main-header-four .hdr-logo .header-logo {
        display: inline-block;
    }
    .main-header-four .hdr-logo .header-logo img {
        max-height: 44px !important;
        width: auto !important;
        max-width: 100% !important;
        display: block;
    }
    /* 중복 로고(다크/라이트) 안전장치 — 활성 테마 한 쪽만 표시 */
    .main-header-four .hdr-logo .logo-white + .logo-dark,
    .main-header-four .hdr-logo .logo-dark + .logo-white {
        display: none !important;
    }

    /* 우측 버튼 영역 */
    .main-header-four .header-btn {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
        margin-left: auto !important;
        padding-right: 0 !important;
    }

    /* 통화/계정/다크모드/투어예약 숨김 */
    .main-header-four .header-btn .dropdown,
    .main-header-four .header-btn .theme-toggle,
    .main-header-four .header-btn > a.btn-primary,
    .main-header-four .header-btn > div:not(.sidebar-menu):not(.hdr-mobile-kakao) > a:not(.hdr-mobile-kakao) {
        display: none !important;
    }

    /* 모바일 전용 카카오 버튼 */
    a.hdr-mobile-kakao.hdr-kakao-btn {
        display: inline-flex !important;
        padding: 6px 12px !important;
        font-size: 12px !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    /* 햄버거 메뉴 */
    .main-header-four .sidebar-menu {
        margin-left: 0 !important;
        margin-right: 0 !important;
        font-size: 24px !important;
        flex-shrink: 0 !important;
    }

    /* 카카오 버튼: 모바일에서 아이콘만 표시 */
    a.hdr-mobile-kakao.hdr-kakao-btn span {
        display: none !important;
    }
    a.hdr-mobile-kakao.hdr-kakao-btn {
        padding: 7px !important;
        border-radius: 50% !important;
        width: 34px !important;
        height: 34px !important;
        justify-content: center !important;
    }
    a.hdr-mobile-kakao.hdr-kakao-btn svg {
        width: 18px !important;
        height: 18px !important;
    }

    /* 헤더 하단 회색 줄 + 여백 제거 */
    .main-header-four .header-nav,
    .main-header-four .main-menu-wrapper,
    .main-header-four .hdr-two-row,
    .header-four {
        border-bottom: none !important;
        box-shadow: none !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    .main-header-four .header-nav .main-menu-wrapper {
        padding: 0 !important;
    }

}
/* 데스크탑에서 모바일 카카오 버튼 숨김 */
.hdr-mobile-kakao {
    display: none !important;
}

/* Offcanvas 메뉴 전역 z-index 강제 (미디어쿼리 밖) —
   iOS Safari에서 .main-header의 stacking context에 갇히는 문제를 모든 해상도에서 방지 */
body > .offcanvas-info,
.main-header .offcanvas-info,
.offcanvas-info {
    z-index: 100002 !important;
}
.offcanvas-overlay {
    z-index: 100001 !important;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .hdr-row-nav .main-nav > li > a {
        padding: 12px 8px !important;
        font-size: 13px !important;
    }
    .hdr-kakao-btn { padding: 7px 12px; font-size: 12px; }
}

/* ============================================================
   섹션 상하 여백 축소 (테마 기본 60px → 30px)
   ============================================================ */
.section {
    padding: 30px 0 !important;
}
.section .section-header {
    margin-bottom: 20px !important;
}

/* ============================================================
   내부 페이지 배너 (inner-banner)
   ============================================================ */
.inner-banner {
    background-color: transparent;
    padding: 24px 0 20px;
    margin-top: 20px;
}
.inner-banner h1 {
    color: #1a2235;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}
.inner-banner .breadcrumb-item a {
    color: #444 !important;
    text-decoration: none;
}
.inner-banner .breadcrumb-item a:hover {
    color: #18406F !important;
}
.inner-banner .breadcrumb-item.active {
    color: #777 !important;
}
.inner-banner .breadcrumb-item + .breadcrumb-item::before {
    color: #aaa !important;
}

@media (max-width: 991px) {
    .inner-banner {
        margin-top: 10px;
        padding: 20px 0 16px;
    }
    .inner-banner h1 {
        font-size: 22px;
    }
}

/* ============================================================
   콤보 상품 섹션 (home.blade.php)
   ============================================================ */
.combo-section {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

/* ============================================================
   상품 상세 페이지 — 이미지 갤러리 (tours/show.blade.php)
   ============================================================ */

/* 대표 이미지 래퍼: 상대 위치 기준으로 "전체보기" 버튼 절대 배치 */
.gallery-main-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f0f0f0;
}

/* 대표 이미지: 16:9 비율, 전체 너비 커버 */
.gallery-main-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}
.gallery-main-wrap:hover .gallery-main-img {
    transform: scale(1.02);
}

/* "전체보기" 버튼: 우하단 절대 배치 */
.view-all-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    padding: 6px 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.2s;
}
.view-all-btn:hover {
    background: rgba(255,255,255,1);
}

/* 썸네일 슬라이더: 슬릭(slick) 기반 가로 스크롤 */
.gallery-thumb-slider {
    margin-top: 10px;
}
.gallery-thumb-slider .slick-slide {
    padding: 0 4px;
}

/* 개별 썸네일 이미지 */
.gallery-thumb-item {
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, opacity 0.2s;
    opacity: 0.75;
}
.gallery-thumb-item.active,
.gallery-thumb-item:hover {
    border-color: #18406F;
    opacity: 1;
}

/* ============================================================
   상품 상세 — 일정표 이미지 (itinerary-img)
   ============================================================ */
.itinerary-img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}
/* 모바일에서는 이미지가 가로 전체 + 약간 더 큰 비율로 표시 */
@media (max-width: 767.98px) {
    .itinerary-img {
        aspect-ratio: 16 / 10;
        max-height: 280px;
    }
}

/* ============================================================
   상품 상세 — 수량 조절 버튼 (qty-btn)
   ============================================================ */
.qty-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    border-radius: 6px;
    flex-shrink: 0;
}

/* ============================================================
   상품 상세 — 리뷰 모달 본문
   ============================================================ */
#review-modal-body {
    max-height: 60vh;
    overflow-y: auto;
}

/* ============================================================
   날짜 달력 — 세련된 대형 디자인
   daterangepicker.css 기본값을 덮어쓴다 (tours/show.blade.php)
   ============================================================ */

/* 달력 컨테이너 */
.daterangepicker {
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 4px 16px rgba(0,0,0,0.10) !important;
    padding: 0 !important;
    font-family: inherit !important;
    background: #fff !important;
    min-width: 0 !important;
    width: auto !important;
}
.daterangepicker::before,
.daterangepicker::after { display: none !important; }

/* 달력 내부 패딩 */
.daterangepicker .drp-calendar {
    max-width: none !important;
    padding: 16px 18px 14px !important;
    min-width: 290px !important;
    max-width: 310px !important;
}

/* 헤더: 월/년 이동 영역 */
.daterangepicker .calendar-table table {
    width: 100% !important;
    border-spacing: 0 !important;
    border-collapse: separate !important;
}
.daterangepicker th.month {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    letter-spacing: -0.3px !important;
    padding: 6px 0 14px !important;
}
.daterangepicker th.prev,
.daterangepicker th.next {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    transition: background 0.18s !important;
    color: #555 !important;
}
.daterangepicker th.prev:hover,
.daterangepicker th.next:hover {
    background: #f0f4ff !important;
    color: #3563e9 !important;
}
.daterangepicker th.prev span,
.daterangepicker th.next span {
    border-color: currentColor !important;
    border-width: 0 2px 2px 0 !important;
    width: 8px !important;
    height: 8px !important;
}

/* 요일 헤더 (일~토) */
.daterangepicker th.dow {
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #9ca3af !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 4px 0 10px !important;
}
/* 일요일 강조 */
.daterangepicker th.dow:first-child { color: #ef4444 !important; }

/* 날짜 셀 공통 */
.daterangepicker td {
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    transition: background 0.15s, color 0.15s, transform 0.1s !important;
    position: relative !important;
    border: none !important;
    text-align: center !important;
    vertical-align: middle !important;
}
.daterangepicker td.available:hover {
    background: #eff4ff !important;
    color: #3563e9 !important;
    transform: scale(1.08) !important;
}

/* 선택된 날짜 */
.daterangepicker td.active,
.daterangepicker td.active:hover {
    background: linear-gradient(135deg, #3563e9 0%, #5b8af7 100%) !important;
    color: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(53,99,233,0.35) !important;
    transform: scale(1.1) !important;
    font-weight: 700 !important;
}

/* 오늘 날짜 */
.daterangepicker td.today,
.daterangepicker td.today.available {
    font-weight: 700 !important;
    color: #3563e9 !important;
}
.daterangepicker td.today::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #3563e9;
}

/* 비활성(과거/불가) 날짜 */
.daterangepicker td.off,
.daterangepicker td.disabled {
    color: #d1d5db !important;
    background: transparent !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
}

/* 드롭다운(월/년 선택) */
.daterangepicker .monthselect,
.daterangepicker .yearselect {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 4px 8px !important;
    background: #f9fafb !important;
    color: #1a1a2e !important;
    cursor: pointer !important;
}

/* ===== 날짜별 예약상태 표시 ===== */

/* 예약 가능 (available) — 진초록 배경 + 초록 점 */
td.available.dp-available {
    background: #bbf7d0 !important;
    color: #14532d !important;
    font-weight: 600 !important;
}
td.available.dp-available::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #16a34a;
}

/* 매진 (soldout) — 진빨간 배경 */
td.available.dp-soldout {
    background: #fecaca !important;
    color: #7f1d1d !important;
    font-weight: 600 !important;
    text-decoration: line-through !important;
}
td.available.dp-soldout::after {
    content: 'FULL';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.48rem;
    font-weight: 900;
    color: #dc2626;
    letter-spacing: 0.3px;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}

/* 마감 (closed) — 진회색 배경 */
td.available.dp-closed {
    background: #e2e8f0 !important;
    color: #475569 !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
    opacity: 0.7 !important;
}
td.available.dp-closed::after {
    content: '마감';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.45rem;
    color: #64748b;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}

/* 휴무 (holiday) — 진주황 배경 */
td.available.dp-holiday {
    background: #fed7aa !important;
    color: #7c2d12 !important;
    font-weight: 600 !important;
}
td.available.dp-holiday::after {
    content: '휴무';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.45rem;
    font-weight: 700;
    color: #c2410c;
    letter-spacing: 0.2px;
    line-height: 1;
    white-space: nowrap;
}

/* 달력 하단 범례 — 세로 2열 그리드 */
.cal-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
    padding: 10px 20px 14px;
    border-top: 1px solid #e5e7eb;
    font-size: 0.76rem;
    color: #374151;
}
.cal-legend-item {
    display: flex;
    align-items: center;
    gap: 7px;
}
.cal-legend-dot {
    width: 22px;
    height: 18px;
    border-radius: 5px;
    flex-shrink: 0;
}

/* ============================================================
   홈페이지 — 인기 여행지 슬라이더 (home.blade.php)
   ============================================================ */

/* 좌우 화살표 */
.dest-city-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 5px;
}
.dest-city-slider .owl-nav button {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.9) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.dest-city-slider .owl-nav button:hover {
    background: #18406F !important;
    color: #fff !important;
}
.dest-city-slider .owl-nav button i { font-size: 20px; }

/* 하단 도트 */
.dest-city-slider .owl-dots {
    text-align: center;
    margin-top: 20px;
}
.dest-city-slider .owl-dots .owl-dot span {
    width: 10px; height: 10px; margin: 0 5px;
    background: #ddd; border-radius: 50%;
    display: inline-block; transition: all 0.3s;
}
.dest-city-slider .owl-dots .owl-dot.active span {
    background: #18406F; width: 24px; border-radius: 5px;
}

/* 여행지 슬라이더 카드 모서리 통일 */
.dest-city-slider .location-wrap {
    border-radius: 10px !important;
    overflow: hidden !important;
}
.dest-city-slider .location-wrap::before,
.dest-city-slider .location-wrap-two::before {
    border-radius: 10px !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 100%) !important;
}
.dest-city-slider .location-wrap a:first-child {
    display: block;
    line-height: 0;
}
.dest-city-slider .location-wrap img {
    display: block;
    border-radius: 0 !important;
}

/* ============================================================
   투어 목록 페이지 전용 스타일 (tours/index.blade.php)
   ============================================================ */

/* 사이드바: 아코디언 필터 */
.filter-sidebar .accordion-button {
    padding: 12px 0;
    background: none;
    box-shadow: none;
    font-weight: 600;
    font-size: 15px;
    color: #333;
}
.filter-sidebar .accordion-button::after {
    width: 14px;
    height: 14px;
    background-size: 14px;
}
.filter-sidebar .accordion-button:not(.collapsed) {
    color: #18406F !important;
}
.filter-sidebar .accordion-body {
    padding: 0 0 12px 0;
}
.filter-sidebar .form-check {
    padding-left: 0;
}
.filter-sidebar .form-check .form-check-input {
    margin-left: 0;
}
.filter-sidebar .form-check-label {
    margin-left: 8px;
}

/* 뷰 모드 토글 아이콘 */
.list-item .list-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    color: #999;
    transition: all 0.2s;
}
.list-item .list-icon:hover,
.list-item .list-icon.active {
    background: #18406F;
    border-color: #18406F;
    color: #fff;
}
.list-item .list-icon i {
    font-size: 18px;
}

/* 리스트 뷰: 가로 카드 레이아웃 */
.place-item-list {
    display: flex !important;
    flex-direction: row !important;
}
.place-item-list .place-img {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
}
.place-item-list .place-img img {
    height: 100% !important;
    min-height: 220px;
    border-radius: 10px 0 0 10px !important;
}
.place-item-list .place-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 767px) {
    .place-item-list {
        flex-direction: column !important;
    }
    .place-item-list .place-img {
        width: 100%;
        min-width: unset;
        max-width: unset;
    }
    .place-item-list .place-img img {
        border-radius: 10px 10px 0 0 !important;
    }
}

/* 정렬 드롭다운 */
.sort-dropdown .dropdown-toggle {
    border: 1px solid #e5e5e5;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
}
.sort-dropdown .dropdown-toggle::after {
    margin-left: 8px;
}
.sort-dropdown .dropdown-menu {
    min-width: 200px;
    padding: 12px;
}

/* 추천 여행지 키워드 버튼 */
.destination-keyword-btn {
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    border-color: #dee2e6;
}
.destination-keyword-btn:hover {
    background: #18406F;
    border-color: #18406F;
    color: #fff;
}
.destination-keyword-btn.btn-primary {
    background: #18406F;
    border-color: #18406F;
}

/* 프로모션 배너 */
.promo-banner {
    background-color: #e3f2fd;
    border-radius: 10px;
}

/* 모바일 필터 토글 */
.mobile-filter-toggle {
    display: none;
}
@media (max-width: 991px) {
    .mobile-filter-toggle {
        display: block;
    }
    .filter-sidebar-col {
        display: none;
    }
    .filter-sidebar-col.show-mobile {
        display: block;
    }
}

/* ============================================================
   Slick Carousel 폰트 404 오류 방지
   slick/fonts/ 디렉터리가 없으므로 @font-face를 로컬 폰트로 덮어쓰고
   화살표를 Font Awesome 아이콘으로 교체한다
   ============================================================ */
@font-face {
    font-family: 'slick';
    font-weight: normal;
    font-style: normal;
    src: local('Arial');  /* 네트워크 요청 없이 시스템 폰트 사용 */
}

/* 슬릭 화살표 버튼: Font Awesome chevron 아이콘으로 교체 */
.slick-prev:before,
.slick-next:before {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-size: 16px !important;
    opacity: 1 !important;
}
.slick-prev:before { content: '\f053' !important; } /* fa-chevron-left */
.slick-next:before { content: '\f054' !important; } /* fa-chevron-right */

/* ============================================================
   여행유형 카드 그라데이션 밝기 2배 조정
   원본: #000000(opacity 1.0) → rgba(0,0,0,0.5)
   ============================================================ */
.travelers-card .card-img:before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%) !important;
}

/* ============================================================
   도시 카드 그라데이션 밝기 2배 조정
   원본: rgba(0,0,0,0.7) → rgba(0,0,0,0.35)
   ============================================================ */
.location-wrap::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.35) 100%) !important;
}

/* ============================================================
   헤더 메뉴 글씨 크기 확대 + 볼드 적용
   원본: font-size 14px, font-weight 500
   ============================================================ */
header .header-nav .main-menu-wrapper .main-nav > li > a {
    font-size: 16px !important;
    font-weight: 700 !important;
}

/* ============================================================
   프로모션 띠배너 (top-banner)
   관리자 > 배너 관리 > "프로모션 띠배너" 위치로 등록한 배너 표시
   ============================================================ */
.top-banner {
    background-color: #1a1a2e;
    color: #ffffff;
    position: relative;
    z-index: 1050;
    max-height: 120px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}
.top-banner.has-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.top-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 40px 10px 0;
    min-height: 80px;
    position: relative;
}
.top-banner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    flex: 1;
}
.top-banner-link:hover {
    opacity: 0.9;
    color: inherit;
}
.top-banner-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.4;
    flex-wrap: wrap;
    justify-content: center;
}
.top-banner-badge {
    background: rgba(255,255,255,0.2);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.top-banner-title {
    font-weight: 600;
}
.top-banner-desc {
    font-weight: 400;
    opacity: 0.9;
}
/* 버튼 공통 */
.top-banner-btn {
    font-weight: 600;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.top-banner-btn:hover { opacity: 0.85; }

/* 밑줄 텍스트 (기본) */
.top-banner-btn--underline {
    text-decoration: underline;
}

/* 채움 버튼 */
.top-banner-btn--solid {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 4px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 13px;
}

/* 테두리 버튼 */
.top-banner-btn--outline {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 4px;
    border: 1px solid;
    background: transparent;
    text-decoration: none;
    font-size: 13px;
}

/* 둥근 버튼 */
.top-banner-btn--pill {
    display: inline-block;
    padding: 4px 20px;
    border-radius: 50px;
    border: 1px solid;
    background: transparent;
    text-decoration: none;
    font-size: 13px;
}
.top-banner-close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: inherit;
    font-size: 28px;
    cursor: pointer;
    padding: 8px;
    opacity: 0.7;
    transition: opacity 0.2s;
    line-height: 1;
}
.top-banner-close:hover {
    opacity: 1;
}

/* 모바일 반응형 */
@media (max-width: 767.98px) {
    .top-banner-inner {
        padding: 8px 30px 8px 0;
    }
    .top-banner-text {
        font-size: 12px;
        gap: 6px;
    }
    .top-banner-desc {
        display: none;
    }
    .top-banner-badge {
        font-size: 11px;
        padding: 1px 8px;
    }
}

/* ============================================================
   봇 차단 — Honeypot 필드 (사용자에게는 보이지 않음)
   ============================================================ */

/* ============================================================
   맞춤여행 견적 요청 폼 — 카드형 체크박스/라디오 선택 UI
   .form-check-card: 여행지/스타일/여행유형/예산/경로 선택에 사용
   ============================================================ */

/* 카드형 선택지 기본 스타일 */
.form-check-card {
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    border-color: #dee2e6 !important;
}

.form-check-card:hover {
    border-color: var(--bs-primary) !important;
    background-color: rgba(var(--bs-primary-rgb), 0.04);
}

/* 선택된 카드 강조 (JS로 클래스 토글, 서버 side old()로도 반영) */
.form-check-card.border-primary {
    box-shadow: 0 0 0 2px rgba(var(--bs-primary-rgb), 0.25);
}

/* 카드 내 label이 클릭 영역 전체를 커버 */
.form-check-card .form-check-label {
    cursor: pointer;
    user-select: none;
}

/* 유틸: cursor-pointer (Bootstrap 5에서 기본 미제공) */
.cursor-pointer {
    cursor: pointer;
}

/* 인원 수 입력 — 가운데 숫자 필드 너비 축소 */
.pax-decrement,
.pax-increment {
    flex: 0 0 auto;
}

#pax_adult,
#pax_child,
#pax_infant {
    max-width: 60px;
    flex: 1 1 auto;
}

/* 폼 섹션 카드 헤더 구분선 제거 */
.card-header.bg-white {
    border-bottom: none;
}

/* 모바일: 카드형 선택지 아이콘 크기 축소 */
@media (max-width: 575.98px) {
    .form-check-card .ti {
        font-size: 1.25rem !important;
    }
}

/* Honeypot 봇 차단 필드 — 사람 눈에는 완전히 숨김 (스크린리더에도 미노출).
 * display:none / visibility:hidden 은 일부 봇이 필터링하므로 오프스크린 + 0크기 조합으로 차단. */
.honeypot-field {
    position: absolute !important;
    left: -10000px !important;
    top: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.honeypot-field input,
.honeypot-field label {
    opacity: 0 !important;
}

/* ── 맞춤여행 견적 완료 페이지 ───────────────────────────────────── */
.quote-complete-icon {
    width: 88px;
    height: 88px;
}
.quote-complete-check {
    font-size: 2.8rem;
    line-height: 1;
}
.quote-number-box {
    background: #f0f7ff;
    border: 2px dashed #90bff5;
    padding: 1.5rem;
}
.quote-number-text {
    font-size: 2rem;
    font-weight: 700;
    color: #1a6fce;
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin: 0;
}
.quote-kakao-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    padding: 1rem 1.25rem;
}
.quote-card-img-wrap {
    height: 180px;
}
.quote-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.hover-card:hover .quote-card-img {
    transform: scale(1.05);
}
.quote-card-img-placeholder {
    height: 180px;
}
.quote-card-placeholder-icon {
    font-size: 2.5rem;
}

/* ============================================================
 * 도시 카테고리 섹션 페이지 (/zones/{slug})
 * ============================================================ */
.zone-hero .breadcrumb-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    letter-spacing: 0.04em;
}
.zone-page .zone-section {
    padding-top: 28px;
    border-top: 1px dashed #e6e9ed;
}
.zone-page .zone-section:first-of-type {
    padding-top: 32px;
    border-top: 0;
}
.zone-page .section-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}
.zone-page .section-header .text-bar {
    display: inline-block;
    width: 18px;
    height: 2px;
    background: var(--bs-primary, #ff7b6b);
    margin-right: 8px;
}

/* ----- zone 섹션 상품 슬라이더 -----
 * 한 화면에 5장(데스크탑) + 슬라이드로 추가 노출.
 * OwlCarousel(.zone-products-slider) 가 .owl-item 으로 카드를 감싸므로
 * 카드 outer col- 클래스의 width 가 carousel 폭 계산을 깨뜨리지 않도록 무력화한다.
 */
.zone-page .zone-section .zone-products-slider .owl-item > [class*="col-"] {
    flex: 0 0 auto;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0;
    padding-right: 0;
}
/* 카드(.place-item) 좌우 마진 제거 — owl margin 옵션으로 16px 간격 부여 */
.zone-page .zone-section .zone-products-slider .place-item {
    margin: 0 !important;
}
/* 슬라이더 네비게이션 — 카드 좌·우 끝에 세로 중앙으로 위치
 * (헤더의 "전체 보기" 버튼과 겹치지 않도록 우상단 배치는 사용하지 않음)
 */
.zone-page .zone-section .zone-products-slider {
    position: relative;
}
.zone-page .zone-section .zone-products-slider .owl-nav {
    margin: 0;
}
.zone-page .zone-section .zone-products-slider .owl-nav button.owl-prev,
.zone-page .zone-section .zone-products-slider .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #e6e9ed !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    line-height: 1;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}
.zone-page .zone-section .zone-products-slider .owl-nav button.owl-prev {
    left: -8px;
}
.zone-page .zone-section .zone-products-slider .owl-nav button.owl-next {
    right: -8px;
}
.zone-page .zone-section .zone-products-slider .owl-nav button.owl-prev:hover,
.zone-page .zone-section .zone-products-slider .owl-nav button.owl-next:hover {
    background: var(--bs-primary, #ff7b6b) !important;
    color: #fff !important;
    border-color: var(--bs-primary, #ff7b6b) !important;
}
/* disabled 상태 — 첫/마지막 슬라이드에서 자연스럽게 사라지게 */
.zone-page .zone-section .zone-products-slider .owl-nav button.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}
/* 카드 내부 텍스트/이미지가 좁은 폭에서 깨지지 않게 미세 조정 */
@media (min-width: 992px) {
    .zone-page .zone-section .place-item .card-body,
    .zone-page .zone-section .place-item .place-content {
        padding: 12px;
    }
    .zone-page .zone-section .place-item h5,
    .zone-page .zone-section .place-item .place-title {
        font-size: 0.95rem;
        line-height: 1.3;
    }
}

/* ----- zone 카드 세로 단축 -----
 * 1) 기간(1일/4시간) + 인원(최대 N명/인원 문의) 행 숨김
 * 2) 상품명 mb 축소 + min-height 제거
 * 3) 가격 영역 mb 축소
 * 공용 _card.blade.php 는 수정 없이 zone 페이지에서만 적용.
 */
.zone-page .zone-section .place-content > .d-flex.border-top.pt-3 {
    display: none !important;
}
.zone-page .zone-section .place-content h5 {
    margin-bottom: 0.4rem !important;
    min-height: auto !important;
}
.zone-page .zone-section .place-content > .mb-3 {
    margin-bottom: 0.25rem !important;
}

/* ----- zone 섹션 전체 상품 그리드(.zone-products-grid) -----
 * 전체 상품 모드 섹션은 슬라이더 없이 그리드로 표시.
 * _card.blade.php 의 outer col 은 col-xxl-4 col-md-6 (XL 3컬럼, MD 2컬럼) 이지만
 * 이 영역에서는 한 줄 5장(XL+), 4장(LG), 3장(MD), 2장(SM), 1장(XS)으로 강제.
 */
.zone-page .zone-section .zone-products-grid > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
}
@media (min-width: 576px) {
    .zone-page .zone-section .zone-products-grid > [class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (min-width: 768px) {
    .zone-page .zone-section .zone-products-grid > [class*="col-"] {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}
@media (min-width: 992px) {
    .zone-page .zone-section .zone-products-grid > [class*="col-"] {
        flex: 0 0 25%;
        max-width: 25%;
    }
}
@media (min-width: 1200px) {
    .zone-page .zone-section .zone-products-grid > [class*="col-"] {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* ----- zone 배너 섹션 (.zone-banner-section) -----
 * 배너 이미지는 폭만 폭(banner_size 의 col 클래스) 으로 결정, 높이는 비율 유지.
 * 링크 클릭 시 미세 확대 효과로 클릭 가능성 표시.
 */
.zone-page .zone-banner-section .zone-banner-image {
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.zone-page .zone-banner-section .zone-banner-link:hover .zone-banner-image {
    transform: scale(1.01);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ============================================================
 * 모바일 예약 위젯 — 하단 슬라이드업 시트
 * 작은 화면(< 992px)에서 우측 사이드바 예약 카드를 풀스크린 바닥 시트로 전환.
 * 데스크탑에는 영향 없음 (lg 이상에서는 기본 사이드바 그대로).
 * ============================================================ */
@media (max-width: 991.98px) {
    /* 사이드바의 #booking-widget 를 화면 하단 고정 시트로 전환
       theiaStickySidebar 가 inline-style 로 position 을 덮어쓰므로 !important 사용. */
    #booking-widget {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        width: 100% !important;
        max-height: 88vh;
        overflow-y: auto;
        margin: 0 !important;
        z-index: 1056;
        border-radius: 20px 20px 0 0 !important;
        box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.18);
        transform: translateY(100%);
        transition: transform 0.3s ease;
        background: #fff !important;
    }
    #booking-widget.show-mobile-sheet {
        transform: translateY(0);
    }

    /* 시트 백드롭 */
    .mobile-book-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1055;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease;
    }
    .mobile-book-backdrop.show {
        opacity: 1;
        visibility: visible;
    }

    /* 하단 CTA 바 */
    .mobile-book-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1050;
        background: #fff;
        border-top: 1px solid #e6e9ed;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
        padding: 10px 16px;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .mobile-book-cta-price {
        flex: 1 1 auto;
        min-width: 0;
    }
    .mobile-book-cta .btn {
        min-width: 130px;
    }

    /* 시트 열렸을 때 본문 스크롤 잠금 */
    body.mobile-book-open {
        overflow: hidden;
    }

    /* 본문 하단 여백 — 고정 CTA 바에 콘텐츠가 가려지지 않도록 */
    body {
        padding-bottom: 76px;
    }
}

/* lg 이상에서는 모바일 CTA 바/백드롭/시트 헤더 미노출 (Bootstrap d-lg-none 보조) */
@media (min-width: 992px) {
    .mobile-book-cta,
    .mobile-book-backdrop,
    .mobile-sheet-header {
        display: none !important;
    }
}
