@charset "utf-8";

/* =========================================
   ✨ Premium Header & Navigation Styles
========================================= */
body { margin: 0; padding: 0; font-family: "Meiryo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; overflow-x: hidden; }
.wrap-inner { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
a { text-decoration: none; }

/* 1. 상단 유틸리티 바 */
.premium-top-bar { background: #0f172a; color: #94a3b8; font-size: 12px; padding: 8px 0; letter-spacing: 0.5px; }
.premium-top-bar .wrap-inner { display: flex; justify-content: flex-end; }
.premium-top-bar a { color: #cbd5e1; margin-left: 25px; transition: color 0.3s ease; display: flex; align-items: center; }
.premium-top-bar a i { margin-right: 6px; font-size: 14px; }
.premium-top-bar a:hover { color: #ffffff; }

/* 2. 메인 로고 및 검색 바 */
.premium-header { background: #ffffff; padding: 20px 0; border-bottom: 1px solid #e2e8f0; }
.premium-header-flex { display: flex; align-items: center; justify-content: space-between; }
.header-logo img { max-height: 55px; width: auto; transition: transform 0.3s ease; }
.header-logo img:hover { transform: scale(1.02); }

.header-search { flex-grow: 1; max-width: 550px; margin: 0 50px; }
.header-search form { 
    display: flex; 
    border: 2px solid #e2e8f0; 
    border-radius: 50px; 
    background: #f8fafc; 
    height: 46px; 
    transition: all 0.3s ease; 
    overflow: hidden;
}
.header-search form:focus-within {
    border-color: #ce2029;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(206, 32, 41, 0.1);
}
.header-search input { 
    flex-grow: 1; 
    border: none; 
    padding: 0 25px; 
    font-size: 14.5px; 
    outline: none; 
    color: #1e293b; 
    background: transparent;
}
.header-search input::placeholder { color: #94a3b8; }
.header-search button { 
    background: #ce2029; 
    color: #fff; 
    border: none; 
    padding: 0 30px; 
    cursor: pointer; 
    font-size: 16px; 
    transition: background 0.3s ease; 
}
.header-search button:hover { background: #b91c1c; }

/* 우측 LINE 배너 등 */
.header-actions { display: flex; align-items: center; gap: 15px; }
.header-actions img { height: 42px; border-radius: 6px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); transition: transform 0.3s ease; }
.header-actions img:hover { transform: translateY(-2px); box-shadow: 0 4px 6px rgba(0,0,0,0.1); }

/* 3. GNB (메인 내비게이션 메뉴) */
.premium-nav { 
    background: linear-gradient(to right, #ce2029, #b91c1c); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}
.premium-nav-flex { display: flex; justify-content: space-between; align-items: center; }
.main-menu, .sub-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; }
.main-menu li a, .sub-menu li a { 
    display: flex; 
    align-items: center; 
    color: #ffffff; 
    font-size: 15px; 
    font-weight: bold; 
    padding: 14px 18px; 
    transition: all 0.3s ease; 
    letter-spacing: 0.5px; 
    white-space: nowrap; 
}
.main-menu li a i { margin-right: 8px; font-size: 17px; opacity: 0.9; }
.main-menu li a:hover, .sub-menu li a:hover { background: rgba(255, 255, 255, 0.15); }
.main-menu li:first-child a { background: rgba(0, 0, 0, 0.15); }

.sub-menu { gap: 5px; }
.sub-menu li a { font-size: 13.5px; padding: 14px 15px; opacity: 0.9; font-weight: normal; }
.sub-menu li a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; background: transparent; }

/* =========================================
   🔥 스마트 기기 반응형 최적화
========================================= */
@media screen and (max-width: 992px) {
    .sub-container {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 15px !important;
        box-sizing: border-box;
    }
    .sub-left {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 25px;
    }
    .sub-right {
        width: 100% !important;
    }
}

@media screen and (max-width: 768px) {
    .premium-top-bar { padding: 6px 0; }
    .premium-top-bar .wrap-inner { justify-content: center; }
    
    .premium-header { padding: 15px 0; }
    .premium-header-flex { flex-direction: column; gap: 15px; align-items: stretch; }
    .header-logo { text-align: center; }
    .header-search { margin: 0; width: 100%; max-width: 100%; }
    .header-actions { display: none; }

    .premium-nav-flex { flex-direction: column; align-items: stretch; }
    .main-menu {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; 
        -ms-overflow-style: none; 
        padding: 0 5px;
    }
    .main-menu::-webkit-scrollbar { display: none; }
    .main-menu li a { padding: 12px 16px; font-size: 14px; }
    .sub-menu { display: none; }
}

@media screen and (max-width: 1024px) {
    .sub-container {
        display: flex !important;
        flex-direction: column !important;
    }
    .sub-container .sub-right {
        order: 1 !important;
        width: 100% !important;
    }
    .sub-container > :not(.sub-right) {
        order: 2 !important;
        width: 100% !important;
        margin-top: 40px !important; 
    }
    .sub-container #left_box, 
    .sub-container .sub-left {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* =========================================
   폰트 강제 적용 (Meiryo) 및 리셋
========================================= */
html, body, .sub-tour, .sub-tour * {
    font-family: 'Meiryo', 'メイリオ', 'Hiragino Kaku Gothic ProN', sans-serif !important;
}

html, body {
    overflow-x: hidden !important; 
    width: 100% !important;
    max-width: 100vw !important;
    background-color: #f8fafc;
}

@media screen and (max-width: 1200px) {
    .wrap, .sub-container, .all, .contents, .wrap-inner, #head_box, #foot_box, table {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
}

/* =========================================
   1. 기본 레이아웃 (PC 기준)
========================================= */
.sub-container {
    display: flex !important;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 30px auto 50px auto;
    box-sizing: border-box;
}
.sub-left {
    width: 250px;
    flex-shrink: 0;
    margin-right: 30px;
    float: none !important;
}
.sub-right {
    flex: 1;
    min-width: 0;
    float: none !important;
}
.clear-footer { clear: both; display: block; width: 100%; height: 1px; }

/* =========================================
   2. 대형 스크린 히어로 슬라이더
========================================= */
.modern-hero {
    position: relative;
    width: 100%;
    height: 360px; 
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background-color: #f1f5f9; 
}
.hero-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}
.hero-slider img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; 
    opacity: 0;
    animation: fade3 15s infinite;
}
.hero-slider img:nth-child(1) { animation-delay: 0s; }
.hero-slider img:nth-child(2) { animation-delay: -10s; }
.hero-slider img:nth-child(3) { animation-delay: -5s; }

@keyframes fade3 {
    0%, 26% { opacity: 1; }
    33%, 93% { opacity: 0; }
    100% { opacity: 1; }
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.15); 
    z-index: 1;
}
.modern-hero-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(2px); 
    -webkit-backdrop-filter: blur(8px); 
    padding: 25px 50px; 
    border-radius: 12px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); 
    text-align: center;
}
.modern-hero h1 {
    font-size: 1.3rem; 
    font-weight: 900;
    color: rgb(153, 10, 5); 
    margin: 0 0 10px 0; 
    letter-spacing: 1px;
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 1), 
        0 0 15px rgba(255, 255, 255, 0.9), 
        1px 1px 3px rgba(255, 255, 255, 0.8);
}
.modern-hero p {
    font-size: 1.05rem; 
    font-weight: 600;
    color: #ffffff; 
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7); 
    margin: 0;
}

/* =========================================
   3. 우측 본문 영역 분할 & 메인 투어 리스트
========================================= */
.index-right-layout { display: flex; gap: 25px; width: 100%; }
.index-center-col { flex: 1; min-width: 0; }
.index-right-col { width: 220px; flex-shrink: 0; }

.index-center-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 20px;
    padding: 10px 15px;
    background: #fff;
    border-left: 5px solid #ce2029; 
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.modern-tour-card {
    display: flex;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px; 
    padding: 15px;
    margin-bottom: 20px; 
    box-shadow: 0 3px 10px rgba(0,0,0,0.03); 
    text-decoration: none;
    color: #334155;
    transition: all 0.3s ease; 
    box-sizing: border-box;
}
.modern-tour-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 12px 25px rgba(206, 32, 41, 0.15); 
    border-color: rgba(206, 32, 41, 0.3); 
}
.modern-tour-card img.thumb {
    width: 180px; 
    height: 120px;
    object-fit: cover;
    border-radius: 8px; 
    margin-right: 15px;
    flex-shrink: 0;
}
.modern-tour-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.modern-tour-title {
    font-size: 15px;
    font-weight: bold;
    color: #0f172a;
    margin-bottom: 8px;
    border-bottom: 1px dashed #cbd5e1;
    padding-bottom: 8px;
    line-height: 1.3;
}
.modern-tour-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}
.modern-tour-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}
.badge-popular {
    background: #ce2029;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
}
.modern-tour-price {
    color: #1e293b;
    font-weight: bold;
    font-size: 15px;
}
.modern-tour-price span { color: #ce2029; }

/* 4. 우측 사이드 패널 */
.right-side-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0; 
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    overflow: hidden; 
}
.right-side-title {
    background: #ce2029; 
    color: #fff; 
    font-weight: bold;
    text-align: center;
    padding: 12px 10px;
    font-size: 14px;
    margin: 0;
}
.right-side-content { padding: 15px; }
.notice-list { list-style: none; padding: 0; margin: 0; }
.notice-list li {
    font-size: 13px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    line-height: 1.4;
}
.notice-list li a { color: #475569; text-decoration: none; }
.notice-list li a:hover { color: #ce2029; font-weight: bold; }

.banner-list { display: flex; flex-direction: column; gap: 12px; }
.banner-list img { width: 100%; height: auto; border-radius: 6px; transition: transform 0.2s; }
.banner-list img:hover { transform: scale(1.02); }

@media screen and (max-width: 1024px) {
    .index-right-layout { flex-direction: column; }
    .index-right-col { width: 100%; display: flex; flex-direction: column; gap: 15px; }
    .modern-tour-card { flex-direction: column; }
    .modern-tour-card img.thumb { width: 100% !important; height: 250px !important; margin-right: 0 !important; margin-bottom: 15px !important; }
    .keyword-banner-panel { display: none !important; }
    .modern-hero { height: 350px; }
}
@media screen and (max-width: 768px) {
    .modern-hero { height: 280px; }
    .modern-tour-card img.thumb { height: 200px !important; }
}

/* =========================================
   5. 좌측 메뉴 (left_land_nw, left_emp)
========================================= */
.sub-left-nav {
    font-family: "Meiryo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    width: 100%;
}
.sub-left-nav .title {
    background: #ce2029;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    padding: 15px 20px;
    margin: 0;
    text-align: center;
    border-bottom: 2px solid #b91c1c;
}
.gallery-container { display: flex; flex-direction: column; background: #fff; }
.gallery-card { display: block; border-bottom: 1px solid #e2e8f0; overflow: hidden; }
.gallery-card:last-child { border-bottom: none; }

.card-header {
    padding: 12px 20px;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    cursor: pointer;
    user-select: none;
}
.gallery-card.is-open .card-header, .card-header:hover { background: #fdf8f6; }
.cat-main, .card-title {
    font-size: 15px;
    font-weight: bold;
    color: #0f172a;
    transition: color 0.3s ease;
    margin: 0;
}
.gallery-card.is-open .cat-main, .card-header:hover .cat-main,
.gallery-card.is-open .card-title, .card-header:hover .card-title { color: #ce2029; }

.toggle-icon {
    font-size: 12px;
    color: #94a3b8;
    transition: transform 0.3s ease, color 0.3s ease;
}
.gallery-card.is-open .toggle-icon { transform: rotate(180deg); color: #ce2029; }

.card-image-wrap { width: 100%; height: auto; overflow: hidden; background: #e2e8f0; border-bottom: 1px solid #f1f5f9; }
.card-image-wrap img { width: 100% !important; height: auto !important; display: block !important; transition: transform 0.5s ease; }
.card-expanded-link:hover .card-image-wrap img { transform: scale(1.05); }

.card-expanded-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
    background: #fff;
}
.gallery-card.is-open .card-expanded-content { max-height: 1500px; opacity: 1; }

.cat-sub {
    display: block;
    padding: 10px 20px 10px 35px;
    font-size: 14px;
    color: #475569;
    text-decoration: none;
    border-bottom: 1px dashed #f1f5f9;
    position: relative;
    transition: all 0.2s;
}
.cat-sub:last-child { border-bottom: none; }
.cat-sub::before {
    content: '▶';
    position: absolute;
    left: 20px;
    color: #cbd5e1;
    font-size: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: color 0.2s;
}
.cat-sub:hover, .cat-sub.active { background: #fff0f2; color: #ce2029; font-weight: bold; }
.cat-sub:hover::before, .cat-sub.active::before { color: #ce2029; }

.card-desc { padding: 12px; font-size: 11px; color: #475569; line-height: 1.5; background: #fff; border-top: 1px solid #f1f5f9; }
.view-all-text { display: block; margin-top: 8px; color: #0284c7; font-weight: bold; text-align: right; font-size: 12px; }

/* =========================================
   6. 골프 사이드바 전용 CSS (#golf-sidebar-wrap)
========================================= */
#golf-sidebar-wrap {
    font-family: "Meiryo", "メイリオ", -apple-system, sans-serif;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    width: 100%;
}
#golf-sidebar-wrap .golf-title {
    background: #059669;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 20px;
    margin: 0;
    text-align: center;
    border-bottom: 2px solid #047857;
}
#golf-sidebar-wrap .golf-container { display: flex; flex-direction: column; padding: 15px; gap: 15px; background: #f8fafc; }
#golf-sidebar-wrap .golf-card { display: block; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
#golf-sidebar-wrap .golf-header {
    padding: 12px; background: #fff; border-bottom: 1px solid transparent; transition: background 0.3s ease;
    display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none;
}
#golf-sidebar-wrap .golf-card.is-open .golf-header, 
#golf-sidebar-wrap .golf-header:hover { background: #ecfdf5; border-bottom-color: #6ee7b7; }
#golf-sidebar-wrap .golf-card-title { font-size: 15px; font-weight: bold; color: #0f172a; margin: 0; }
#golf-sidebar-wrap .golf-card.is-open .golf-card-title, 
#golf-sidebar-wrap .golf-header:hover .golf-card-title { color: #059669; }
#golf-sidebar-wrap .golf-icon { font-size: 12px; color: #94a3b8; transition: transform 0.3s ease; }
#golf-sidebar-wrap .golf-card.is-open .golf-icon { transform: rotate(180deg); color: #059669; }
#golf-sidebar-wrap .golf-content { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.4s ease-out, opacity 0.3s ease-out; }
#golf-sidebar-wrap .golf-card.is-open .golf-content { max-height: 800px; opacity: 1; }
#golf-sidebar-wrap .golf-img-wrap { width: 100%; height: auto; overflow: hidden; background: #e2e8f0; }
#golf-sidebar-wrap .golf-img-wrap img { width: 100% !important; height: auto !important; display: block !important; }
#golf-sidebar-wrap .golf-sub {
    display: block; padding: 12px 15px !important; position: relative; font-size: 13px;
    color: #475569; text-decoration: none; border-top: 1px solid #f1f5f9; background: #fff; line-height: 1.4;
}
#golf-sidebar-wrap .golf-sub:hover, 
#golf-sidebar-wrap .golf-sub.active { background: #f8fafc; color: #059669; font-weight: bold; }

/* =========================================
   7. 오아후 인터랙티브 지도 (.map-premium-frame)
========================================= */
.map-premium-frame {
    background: #ffffff; border-radius: 20px; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    padding: 35px; margin-bottom: 40px; border: 1px solid #f1f5f9; border-top: 5px solid #ce2029; position: relative; box-sizing: border-box;
}
.map-frame-title { text-align: center; font-size: 26px; font-weight: 900; color: #0f172a; margin: 0 0 25px 0; letter-spacing: 2px; font-family: 'Montserrat', 'Meiryo', sans-serif; }
.map-frame-title span { color: #ce2029; }
.modern-map-container { position: relative; width: 100%; max-width: 560px; margin: 0 auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.modern-map-image { width: 100%; height: auto; display: block; border-radius: 8px; pointer-events: none; }
.map-pin {
    position: absolute; width: 16px; height: 16px; background-color: #ce2029; border: 3px solid #ffffff; border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); cursor: pointer; transform: translate(-50%, -50%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s; z-index: 5;
}
.map-pin:hover { transform: translate(-50%, -50%) scale(1.3); background-color: #b91c1c; z-index: 10; }
.map-pin::before {
    content: ''; position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px;
    border-radius: 50%; border: 2px solid rgba(206, 32, 41, 0.5); animation: pulse 2s infinite; pointer-events: none;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.5); opacity: 0; } }

.map-tooltip {
    position: absolute; background: #ffffff; color: #0f172a; padding: 8px 14px; border-radius: 8px;
    font-size: 13px; font-weight: bold; font-family: 'Meiryo', sans-serif; white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); opacity: 0; visibility: hidden; transition: all 0.3s ease; pointer-events: none;
}
.map-tooltip::after { content: ''; position: absolute; border-width: 6px; border-style: solid; }
.map-pin:hover .map-tooltip,
.modern-map-container:hover .map-tooltip,
.modern-map-container.show-all .map-tooltip { opacity: 1 !important; visibility: visible !important; z-index: 20 !important; }

.map-tooltip { bottom: 150%; left: 50%; transform: translateX(-50%); border-top: 3px solid #ce2029; }
.map-tooltip::after { top: 100%; left: 50%; transform: translateX(-50%); border-color: #ffffff transparent transparent transparent; }
.map-pin:hover .map-tooltip:not([class*="dir-"]), 
.modern-map-container:hover .map-tooltip:not([class*="dir-"]),
.modern-map-container.show-all .map-tooltip:not([class*="dir-"]) { bottom: 180% !important; }

.map-tooltip.dir-bottom { top: 150%; bottom: auto; left: 50%; transform: translateX(-50%); border-top: none; border-bottom: 3px solid #ce2029; }
.map-tooltip.dir-bottom::after { bottom: 100%; top: auto; left: 50%; transform: translateX(-50%); border-color: transparent transparent #ffffff transparent; }
.map-pin:hover .map-tooltip.dir-bottom, 
.modern-map-container:hover .map-tooltip.dir-bottom,
.modern-map-container.show-all .map-tooltip.dir-bottom { top: 180% !important; }

.map-tooltip.dir-left { right: 150%; left: auto; top: 50%; bottom: auto; transform: translateY(-50%); border-top: none; border-left: 3px solid #ce2029; }
.map-tooltip.dir-left::after { left: 100%; top: 50%; right: auto; transform: translateY(-50%); border-color: transparent transparent transparent #ffffff; }
.map-pin:hover .map-tooltip.dir-left, 
.modern-map-container:hover .map-tooltip.dir-left,
.modern-map-container.show-all .map-tooltip.dir-left { right: 180% !important; }

.map-tooltip.dir-right { left: 150%; right: auto; top: 50%; bottom: auto; transform: translateY(-50%); border-top: none; border-right: 3px solid #ce2029; }
.map-tooltip.dir-right::after { right: 100%; top: 50%; left: auto; transform: translateY(-50%); border-color: transparent #ffffff transparent transparent; }
.map-pin:hover .map-tooltip.dir-right, 
.modern-map-container:hover .map-tooltip.dir-right,
.modern-map-container.show-all .map-tooltip.dir-right { left: 180% !important; }

.map-tooltip.dir-top-left { bottom: 150%; right: -10px; left: auto; transform: none; border-top: 3px solid #ce2029; }
.map-tooltip.dir-top-left::after { top: 100%; right: 12px; left: auto; transform: none; border-color: #ffffff transparent transparent transparent; }
.map-tooltip.dir-top-right { bottom: 150%; left: -10px; right: auto; transform: none; border-top: 3px solid #ce2029; }
.map-tooltip.dir-top-right::after { top: 100%; left: 12px; right: auto; transform: none; border-color: #ffffff transparent transparent transparent; }
.map-tooltip.dir-bottom-left { top: 150%; bottom: auto; right: -10px; left: auto; transform: none; border-top: none; border-bottom: 3px solid #ce2029; }
.map-tooltip.dir-bottom-left::after { bottom: 100%; top: auto; right: 12px; left: auto; transform: none; border-color: transparent transparent #ffffff transparent; }
.map-tooltip.dir-bottom-right { top: 150%; bottom: auto; left: -10px; right: auto; transform: none; border-top: none; border-bottom: 3px solid #ce2029; }
.map-tooltip.dir-bottom-right::after { bottom: 100%; top: auto; left: 12px; right: auto; transform: none; border-color: transparent transparent #ffffff transparent; }

@media screen and (max-width: 768px) {
    .map-premium-frame { padding: 20px; margin-bottom: 25px; }
    .map-frame-title { font-size: 20px; }
}

/* =========================================
   8. 공통 모던 슬라이더 (top_slider.php)
========================================= */
.modern-slider-inc {
    position: relative; 
    width: 100%; 
    height: 360px;
    border-radius: 12px; 
    overflow: hidden;
    margin-bottom: 35px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modern-slider-inc::after {
    content: ''; 
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.25); 
    z-index: 1;
}
.modern-slider-inc img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; animation: fade-inc 15s infinite; filter: brightness(0.95); transform: scale(1.05);
}
.modern-slider-inc img:nth-child(1) { animation-delay: 0s; }
.modern-slider-inc img:nth-child(2) { animation-delay: 5s; }
.modern-slider-inc img:nth-child(3) { animation-delay: 10s; }

@keyframes fade-inc { 
    0%, 20% { opacity: 1; transform: scale(1); } 
    33%, 100% { opacity: 0; transform: scale(1.05); } 
}

.slider-text-inc { 
    position: relative; 
    z-index: 2; 
    color: #ffffff; 
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(8px);
    padding: 30px 50px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 5px rgba(0,0,0,0.5); 
}
.slider-text-inc h2 { 
    margin: 0 0 10px 0; 
    font-size: 20px; 
    font-weight: 800; 
    letter-spacing: 1px; 
    color: #ffffff;
    font-family: 'Meiryo', sans-serif;
}
.slider-text-inc p { 
    margin: 0; 
    font-size: 16px; 
    font-weight: bold; 
    font-family: 'Meiryo', sans-serif;
} 

@media screen and (max-width: 768px) {
    .modern-slider-inc { height: 220px; }
    .slider-text-inc { padding: 15px 25px; width: 90%; }
    .slider-text-inc h2 { font-size: 20px; margin-bottom: 5px; }
    .slider-text-inc p { font-size: 13px; }
}

/* =========================================
   9. 푸터 스타일 (footer_nw.php)
========================================= */
.premium-footer {
    width: 100%;
    background: #0f172a;
    color: #94a3b8;
    font-family: "Meiryo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin-top: 60px;
    border-top: 4px solid #ce2029;
    box-sizing: border-box;
    clear: both;
    position: relative;
    z-index: 100;
}
.premium-footer a { color: #cbd5e1; text-decoration: none; transition: color 0.2s; }
.premium-footer a:hover { color: #fff; }
.pf-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }

.pf-menu-bar { background: #1e293b; padding: 20px 0; border-bottom: 1px solid #334155; width: 100%; }
.pf-menu-bar .pf-wrap { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 15px; }
.pf-menu-bar a { font-size: 14px; font-weight: bold; letter-spacing: 1px; }
.pf-menu-bar span { color: #475569; font-size: 12px; }

.pf-main { padding: 40px 0; width: 100%; }
.pf-main .pf-wrap { display: flex; justify-content: space-between; align-items: center; }
.pf-info { font-size: 13px; line-height: 1.8; }
.pf-info strong { color: #fff; font-size: 18px; display: block; margin-bottom: 15px; letter-spacing: 1px; }
.pf-info-item { display: inline-block; margin-right: 15px; word-break: break-word; }
.pf-info-divider { color: #475569; margin: 0 10px; }

.pf-copy { background: #0b1120; text-align: center; padding: 20px 15px; font-size: 12px; color: #64748b; letter-spacing: 0.5px; width: 100%; }

@media screen and (max-width: 768px) {
    .pf-menu-bar .pf-wrap { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    .pf-menu-bar span { display: none !important; }
    .pf-menu-bar a {
        display: flex !important; justify-content: center; align-items: center; width: 100% !important;
        background: #0f172a !important; text-align: center; padding: 12px 5px !important;
        border-radius: 6px; font-size: 13px; border: 1px solid #1e293b;
    }
    .pf-main .pf-wrap { flex-direction: column !important; text-align: center; gap: 20px; }
    .pf-info-item { display: block !important; margin-right: 0 !important; margin-bottom: 5px; }
    .pf-info-divider { display: none !important; }
    .pf-copy { line-height: 1.6; }
}

/* =========================================
   10. 투어 아일랜드 리스트 & 스페셜 추천 그리드
========================================= */
.modern-slider {
    position: relative; width: 100%; height: 360px; border-radius: 12px; overflow: hidden; margin-bottom: 35px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); background: #000;
}
.modern-slider::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%); z-index: 1;
}
.modern-slider img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; animation: fade 15s infinite; filter: brightness(0.95) contrast(1.1); transform: scale(1.05);
}
.modern-slider img:nth-child(1) { animation-delay: 0s; }
.modern-slider img:nth-child(2) { animation-delay: 5s; }
.modern-slider img:nth-child(3) { animation-delay: 10s; }
@keyframes fade { 0%, 20% { opacity: 1; } 33%, 100% { opacity: 0; } }

.slider-text { position: absolute; bottom: 30px; left: 30px; z-index: 2; }
.slider-text h2 { 
    margin: 0; font-size: 28px; font-weight: 900; letter-spacing: 1px; color: rgb(153, 10, 5); 
    text-shadow: 0 0 8px rgba(255, 255, 255, 1), 0 0 15px rgba(255, 255, 255, 0.9), 1px 1px 3px rgba(255, 255, 255, 0.8);
}
.slider-text p { margin: 5px 0 0 0; font-size: 15px; font-weight: bold; color: #ffffff; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); }

.premium-recommend-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 50px; }
.premium-card {
    background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,0.08); border: 1px solid #f1f5f9;
    text-decoration: none; position: relative; transition: all 0.3s ease; display: flex; flex-direction: column;
}
.premium-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(206, 32, 41, 0.15); border-color: #ce2029; }
.premium-badge {
    position: absolute; top: 15px; left: -5px; background: linear-gradient(135deg, #ce2029, #b91c1c); color: #fff;
    font-size: 12px; font-weight: bold; padding: 6px 15px; border-radius: 0 4px 4px 0; box-shadow: 2px 2px 5px rgba(0,0,0,0.3); z-index: 10;
}
.premium-badge::after { content: ''; position: absolute; bottom: -6px; left: 0; border-top: 6px solid #7f1d1d; border-left: 6px solid transparent; }
.premium-img-wrap { width: 100%; aspect-ratio: 4/3; overflow: hidden; position: relative; background: #e2e8f0; }
.premium-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.premium-card:hover .premium-img-wrap img { transform: scale(1.12); }
.premium-info { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; background: #fff; }
.premium-title { font-size: 16px; font-weight: 800; color: #0f172a; margin-bottom: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.premium-bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f1f5f9; padding-top: 15px; }
.premium-price { font-size: 20px; font-weight: 900; color: #ce2029; }
.premium-price span { font-size: 13px; color: #94a3b8; font-weight: normal; }
.premium-btn { font-size: 12px; color: #475569; font-weight: bold; background: #f8fafc; padding: 6px 12px; border-radius: 20px; transition: 0.2s; border: 1px solid #e2e8f0; }
.premium-card:hover .premium-btn { background: #ce2029; color: #fff; border-color: #ce2029; }

.normal-tour-row { display: flex; margin-bottom: 30px; border-bottom: 1px solid #e2e8f0; padding-bottom: 30px; }
.normal-tour-thumb-wrap { width: 280px; height: 180px; flex-shrink: 0; overflow: hidden; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.06); position: relative; }
.normal-tour-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.normal-tour-row:hover .normal-tour-thumb-wrap img { transform: scale(1.08); }
.normal-tour-info-wrap { flex: 1; padding-left: 25px; display: flex; flex-direction: column; }
.normal-tour-title { font-size: 18px; font-weight: bold; color: #0f172a; margin-bottom: 8px; transition: color 0.2s; }
.normal-tour-row:hover .normal-tour-title a { color: #ce2029; }
.normal-tour-desc { font-size: 14px; color: #64748b; line-height: 1.6; margin-bottom: 15px; }
.normal-tour-price { color: #ce2029; font-weight: bold; font-size: 16px; margin-top: 5px; margin-bottom: 10px; }
.normal-tour-bottom-btn {
    align-self: flex-end; margin-top: auto; display: inline-block; border: 1px solid #cbd5e1; color: #475569; padding: 8px 16px; border-radius: 6px; font-weight: bold; font-size: 13px; text-decoration: none; transition: 0.2s;
}
.normal-tour-bottom-btn:hover { background: #ce2029; color: #fff; border-color: #ce2029; }

@media screen and (max-width: 992px) {
    .premium-recommend-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 768px) {
    .premium-recommend-grid { grid-template-columns: 1fr; gap: 15px; }
    .modern-slider { height: 200px; }
    .slider-text h2 { font-size: 20px; }
    .normal-tour-row { flex-direction: column; padding-bottom: 25px; margin-bottom: 25px; }
    .normal-tour-thumb-wrap { width: 100%; height: 200px; margin-bottom: 15px; }
    .normal-tour-info-wrap { padding-left: 0; }
    .normal-tour-title { font-size: 16px; }
    .normal-tour-bottom-btn { align-self: flex-start; width: 100%; text-align: center; box-sizing: border-box; }
}

/* =========================================
   11. 투어 상세 (tour_view.php)
========================================= */
.modern-view-wrap { font-family: "Meiryo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #1e293b; width: 100%; }
.modern-header-title { font-size: 24px; font-weight: 800; color: #0f172a; padding-bottom: 15px; border-bottom: 3px solid #ce2029; margin-bottom: 30px; line-height: 1.4; }
.modern-hero-section { display: flex; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.modern-gallery { flex: 1; min-width: 320px; }
.modern-main-img { width: 100%; height: 380px; object-fit: cover; border-radius: 12px; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.modern-thumbnails { display: flex; gap: 10px; margin-top: 15px; overflow-x: auto; padding-bottom: 5px; scroll-behavior: smooth; }
.modern-thumb-img { width: 75px; height: 55px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; transition: all 0.2s; }
.modern-thumb-img:hover { border-color: #ce2029; transform: translateY(-2px); }

.modern-summary-card { width: 100%; max-width: 360px; margin: 0 auto; flex-shrink: 0; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; }
.summary-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed #cbd5e1; font-size: 14px; }
.summary-label { font-weight: bold; color: #475569; }
.summary-value { font-weight: 600; color: #0f172a; text-align: right; }
.summary-price { font-size: 24px; font-weight: 800; color: #ce2029; }

.modern-tabs { display: flex; border-bottom: 2px solid #e2e8f0; margin-bottom: 25px; }
.modern-tab-btn { padding: 12px 24px; font-size: 15px; font-weight: bold; color: #64748b; background: none; border: none; border-bottom: 3px solid transparent; cursor: pointer; transition: all 0.2s; }
.modern-tab-btn.active { color: #ce2029; border-bottom-color: #ce2029; }
.modern-tab-btn:hover:not(.active) { color: #0f172a; }
.modern-tab-content { display: none; line-height: 1.7; font-size: 14.5px; }
.modern-tab-content.active { display: block; animation: fadeIn 0.3s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.content-section h4 { font-size: 16px; color: #0f172a; border-left: 4px solid #ce2029; padding-left: 10px; margin: 30px 0 15px 0; }
.wysiwyg-content img { max-width: 100% !important; height: auto !important; }
.wysiwyg-content p { margin-bottom: 10px; }

.cal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; background: #f8fafc; padding: 10px 20px; border-radius: 8px; border: 1px solid #e2e8f0; }
.cal-nav a { text-decoration: none; color: #334155; font-weight: bold; padding: 5px 10px; border-radius: 4px; border: 1px solid #cbd5e1; background: #fff; transition: 0.2s; }
.cal-nav a:hover { background: #ce2029; color: #fff; border-color: #ce2029; }
.cal-grid-wrapper { display: flex; gap: 20px; }
.cal-month-table { flex: 1; border-collapse: collapse; background: #fff; border: 1px solid #e2e8f0; }
.cal-month-table th { padding: 10px 0; font-size: 13px; border-bottom: 1px solid #e2e8f0; }
.cal-month-table td { width: 14.28%; height: 60px; border: 1px solid #f1f5f9; vertical-align: top; padding: 5px; font-size: 12px; }
.cal-date-num { font-weight: bold; margin-bottom: 5px; display: block; }
.cal-avail a { display: inline-block; width: 24px; height: 24px; line-height: 24px; border-radius: 50%; background: #fee2e2; color: #ce2029; text-decoration: none; font-weight: bold; }
.cal-avail a:hover { background: #ce2029; color: #fff; }
.cal-unavail { color: #94a3b8; font-weight: bold; }

@media (max-width: 768px) {
    .modern-hero-section { flex-direction: column; gap: 20px; }
    .modern-gallery { min-width: 100%; }
    .modern-summary-card { max-width: 100%; }
    .modern-tabs { flex-wrap: wrap; }
    .modern-tab-btn { flex: 1 1 50%; text-align: center; padding: 10px; font-size: 13px; }
    .cal-grid-wrapper { flex-direction: column; }
}

/* =========================================
   12. 예약/장바구니/결제 공통 UI
========================================= */
.modern-reservation-wrap, .modern-result-wrap, .modern-checkout-wrap, .modern-cart-wrap {
    font-family: "Meiryo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1e293b;
    width: 100%;
    margin-bottom: 50px;
}
.modern-top-banner { width: 100%; height: auto; border-radius: 8px; margin-bottom: 25px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.modern-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 25px; margin-bottom: 25px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.modern-card-header, .modern-result-header, .modern-checkout-header, .modern-cart-header {
    font-size: 18px; font-weight: 800; color: #0f172a; border-bottom: 2px solid #ce2029; padding-bottom: 12px; margin-bottom: 20px; display: flex; align-items: center;
}
.modern-card-header::before { content: '✏️'; margin-right: 8px; font-size: 20px; }
.modern-cart-header::before { content: '🛒'; margin-right: 10px; font-size: 26px; }
.modern-card-title { font-size: 18px; font-weight: bold; color: #0f172a; border-left: 4px solid #ce2029; padding-left: 10px; margin-bottom: 20px; }

/* 일반 단일 행 */
.info-row { display: flex; padding: 12px 0; border-bottom: 1px dashed #cbd5e1; font-size: 15px; }
.info-row:last-child { border-bottom: none; }
.info-label { font-weight: bold; color: #475569; width: 140px; flex-shrink: 0; }
.info-value { color: #0f172a; font-weight: 600; flex: 1; }

/* 🔥 4열 고객정보/픽업정보 그리드 (reservation_content_d 겹침 완벽 해결) */
.info-grid {
    display: grid !important;
    grid-template-columns: 150px 1fr 150px 1fr !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    margin-bottom: 25px !important;
    width: 100% !important;
}
.info-grid .info-row {
    display: contents !important;
}
.info-grid .info-label,
.info-grid .info-label-grid {
    background: #f8fafc !important;
    padding: 12px 15px !important;
    font-weight: bold !important;
    color: #475569 !important;
    font-size: 13.5px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-right: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
    width: auto !important;
    flex-shrink: initial !important;
}
.info-grid .info-value,
.info-grid .info-value-grid {
    background: #ffffff !important;
    padding: 12px 15px !important;
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-right: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    min-height: 48px !important;
    word-break: break-all !important;
    box-sizing: border-box !important;
}
.info-grid .info-value:nth-child(4n),
.info-grid .info-value-grid:nth-child(4n) {
    border-right: none !important;
}
.info-grid .info-value.full-span,
.info-grid .info-value-grid.full-span {
    grid-column: span 3 !important;
    border-right: none !important;
}

.modern-table { width: 100%; border-collapse: collapse; margin-top: 10px; margin-bottom: 10px; }
.modern-table th, .modern-table td { padding: 12px; border: 1px solid #e2e8f0; text-align: center; vertical-align: middle; font-size: 14px; }
.modern-table th { background: #f8fafc; font-weight: bold; color: #475569; }
.modern-table td.text-left { text-align: left; }
.sub-table { width: 100%; margin-top: 10px; border: 1px solid #e2e8f0; }
.sub-table th, .sub-table td { padding: 8px; font-size: 13px; }

.modern-select { padding: 8px 12px; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; font-size: 14px; cursor: pointer; min-width: 80px; }
.price-tag { font-weight: bold; color: #ce2029; font-size: 15px; }
.person-count { color: #ce2029; font-weight: bold; }
.sub-total-row td { background: #fdf8f6; font-weight: bold; color: #0f172a; padding: 15px !important; }

.total-price-box, .grand-total-box, .cart-grand-total {
    background: #fef2f2; border: 1px solid #fecaca; padding: 20px; border-radius: 8px; text-align: right; font-size: 18px; font-weight: bold; color: #b91c1c; display: flex; justify-content: flex-end; align-items: center; gap: 10px;
}
.grand-total-box { border: 2px solid #ce2029; border-radius: 12px; margin-bottom: 30px; }
.total-price-val, .grand-total-val { font-size: 28px; color: #ce2029; }
.grand-total-val { font-size: 32px; margin-left: 15px; }

.notice-box { background: #f8fafc; padding: 15px; border-radius: 8px; border: 1px solid #e2e8f0; color: #64748b; font-size: 13.5px; line-height: 1.6; }
.alert-box { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; padding: 20px; border-radius: 8px; font-size: 14px; line-height: 1.6; }
.empty-cart-msg { background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 12px; padding: 50px 20px; text-align: center; color: #64748b; font-size: 16px; line-height: 1.6; }

.modern-btn-group { display: flex; justify-content: center; gap: 15px; margin-top: 30px; }
.btn-submit { background: #ce2029; color: #fff; border: none; padding: 14px 40px; border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer; transition: 0.2s; box-shadow: 0 4px 6px rgba(206,32,41,0.2); }
.btn-submit:hover { background: #b91c1c; transform: translateY(-1px); }
.btn-cancel, .btn-continue { background: #64748b; color: #fff; border: none; padding: 14px 40px; border-radius: 8px; font-size: 16px; font-weight: bold; text-decoration: none; display: inline-block; transition: 0.2s; }
.btn-cancel:hover, .btn-continue:hover { background: #475569; }

.btn-checkout { background: #ce2029; color: #fff; padding: 15px 40px; border-radius: 8px; font-size: 16px; font-weight: bold; text-decoration: none; transition: 0.2s; box-shadow: 0 4px 6px rgba(206,32,41,0.2); display: inline-block; }
.btn-checkout:hover { background: #b91c1c; transform: translateY(-1px); }
.modern-btn-submit { display: block; width: 100%; max-width: 400px; margin: 40px auto; background: #ce2029; color: #fff; border: none; padding: 18px; border-radius: 8px; font-size: 20px; font-weight: bold; cursor: pointer; transition: 0.2s; box-shadow: 0 4px 6px rgba(206,32,41,0.2); }
.modern-btn-submit:hover { background: #b91c1c; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(206,32,41,0.3); }

.status-badge { display: inline-block; padding: 6px 12px; border-radius: 20px; font-weight: bold; font-size: 14px; }
.status-0 { background: #fef3c7; color: #d97706; }
.status-1 { background: #dcfce7; color: #166534; }
.status-2 { background: #fee2e2; color: #991b1b; }
.status-3 { background: #e0e7ff; color: #3730a3; }
.btn-home { display: inline-block; background: #475569; color: #fff; padding: 12px 30px; border-radius: 6px; font-weight: bold; text-decoration: none; transition: 0.2s; margin-top: 20px; }
.btn-home:hover { background: #334155; }

.form-group { display: flex; margin-bottom: 15px; border-bottom: 1px dashed #cbd5e1; padding-bottom: 15px; }
.form-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.form-label { width: 200px; font-weight: bold; color: #475569; flex-shrink: 0; padding-top: 8px; }
.form-label .req { color: #ce2029; margin-left: 5px; }
.form-control-area { flex: 1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.form-input { padding: 10px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 14px; transition: 0.2s; box-sizing: border-box; }
.form-input:focus { border-color: #3b82f6; outline: none; box-shadow: 0 0 0 3px rgba(59,130,246,0.1); }
.form-select { padding: 10px; border: 1px solid #cbd5e1; border-radius: 6px; box-sizing: border-box; }
.form-textarea { width: 100%; height: 100px; padding: 10px; border: 1px solid #cbd5e1; border-radius: 6px; resize: vertical; box-sizing: border-box; }
.help-text { font-size: 13px; color: #64748b; width: 100%; margin-top: 5px; }

/* 장바구니 카드 */
.cart-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 25px; margin-bottom: 25px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); position: relative; transition: transform 0.2s; }
.cart-card:hover { transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.cart-card-top { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid #f1f5f9; padding-bottom: 15px; margin-bottom: 15px; }
.cart-title { font-size: 18px; font-weight: bold; color: #ce2029; text-decoration: none; display: block; margin-bottom: 8px; line-height: 1.4; }
.cart-title:hover { text-decoration: underline; }
.cart-meta-info { font-size: 14px; color: #475569; display: flex; gap: 20px; }
.cart-meta-info span { display: flex; align-items: center; gap: 5px; }
.cart-actions { display: flex; gap: 10px; }
.btn-sm-edit, .btn-sm-del { padding: 6px 12px; font-size: 12px; border-radius: 4px; text-decoration: none; font-weight: bold; transition: 0.2s; white-space: nowrap; }
.btn-sm-edit { background: #f8fafc; color: #3b82f6; border: 1px solid #bfdbfe; }
.btn-sm-edit:hover { background: #eff6ff; border-color: #3b82f6; }
.btn-sm-del { background: #fef2f2; color: #ef4444; border: 1px solid #fecaca; cursor: pointer; }
.btn-sm-del:hover { background: #fee2e2; border-color: #ef4444; }

@media screen and (max-width: 768px) {
    .info-grid {
        grid-template-columns: 120px 1fr !important;
    }
    .info-grid .info-value.full-span,
    .info-grid .info-value-grid.full-span {
        grid-column: span 1 !important;
    }
    .info-grid .info-label,
    .info-grid .info-value {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }
    .info-row:not(.info-grid .info-row) { flex-direction: column; gap: 5px; }
    .info-label:not(.info-grid .info-label) { width: 100%; }
    
    .modern-table, .modern-table tbody, .modern-table tr, .modern-table td { display: block; width: 100%; box-sizing: border-box; }
    .modern-table thead { display: none; }
    .modern-table tr { border: 1px solid #e2e8f0; margin-bottom: 15px; border-radius: 8px; overflow: hidden; }
    .modern-table td { display: flex; justify-content: space-between; align-items: center; text-align: right; padding: 12px 15px; border: none; border-bottom: 1px solid #f1f5f9; }
    .modern-table td:last-child { border-bottom: none; }
    .modern-table td::before { content: attr(data-label); font-weight: bold; color: #64748b; text-align: left; margin-right: 15px; flex-shrink: 0; }
    .modern-table td.text-left { flex-direction: column; align-items: flex-start; text-align: left !important; background: #f8fafc; border-bottom: 2px solid #e2e8f0; }
    .modern-table td.text-left::before { margin-bottom: 8px; color: #0f172a; }
    .total-price-box { flex-direction: column; text-align: center; justify-content: center; }
    .modern-btn-group { flex-direction: column; gap: 10px; }
    .btn-submit, .btn-cancel { width: 100%; text-align: center; box-sizing: border-box; }
}

/* =========================================
   13. 예약 확인 및 검색 (reservation_confirm & search)
========================================= */
.reservation-search-wrapper { max-width: 600px; margin: 60px auto 100px auto; padding: 0 20px; }
.reservation-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05); padding: 40px 30px; text-align: center; }
.reservation-title { font-size: 22px; font-weight: 800; color: #0f172a; margin-bottom: 10px; letter-spacing: -0.5px; }
.reservation-desc { font-size: 14px; color: #64748b; margin-bottom: 30px; line-height: 1.5; }
.search-input-group { display: flex; flex-direction: column; gap: 15px; max-width: 400px; margin: 0 auto; }
.modern-search-input { width: 100%; padding: 14px 18px; font-size: 15px; border: 2px solid #e2e8f0; border-radius: 8px; outline: none; transition: all 0.2s ease; text-align: center; box-sizing: border-box; }
.modern-search-input:focus { border-color: #ce2029; box-shadow: 0 0 0 4px rgba(206, 32, 41, 0.1); }
.btn-search-submit { width: 100%; background: #ce2029; color: #ffffff; border: none; padding: 14px; font-size: 16px; font-weight: bold; border-radius: 8px; cursor: pointer; transition: background 0.2s ease, transform 0.1s ease; }
.btn-search-submit:hover { background: #b91c1c; transform: translateY(-1px); }
.btn-search-submit:active { transform: translateY(0); }

.search-result-title { font-size: 20px; font-weight: bold; color: #0f172a; padding-bottom: 10px; border-bottom: 3px solid #01B9C5; margin-bottom: 20px; }
.badge-campaign { background: #f59e0b; color: #fff; font-size: 12px; font-weight: bold; padding: 4px 10px; border-radius: 4px; }