/* ========================================
   Voyages Polaris - New Header/Nav Styles
   Inspired by XingTravel design
   ======================================== */

/* ---- Reset: remove any gap above nav ---- */
body {
    margin-top: 0 !important;
    padding-top: 0 !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
#body-section {
    flex: 1;
}

/* ---- Hide old nav completely ---- */
.navbar.navbar-default {
    display: none !important;
}
/* Old btn-category bar */
.btn-category {
    display: none !important;
}

/* ---- Top Navigation Bar ---- */
.vp-topnav {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid #eee;
    height: 64px;
}
.vp-topnav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    height: 100%;
}

/* Logo */
.vp-topnav-logo {
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    margin-right: 30px;
    line-height: 0;
}
.vp-topnav-logo img {
    height: 44px !important;
    max-height: 44px !important;
    width: auto !important;
    max-width: 200px !important;
    display: block;
    vertical-align: middle;
    object-fit: contain;
    object-position: center;
}

/* Desktop Nav Links */
.vp-topnav-links {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    min-width: 0;
}
.vp-topnav-links a {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
    -webkit-transition: color 0.2s, background 0.2s;
    transition: color 0.2s, background 0.2s;
}
.vp-topnav-links a:hover,
.vp-topnav-links a:focus {
    color: #015cad;
    background: #f0f6ff;
    text-decoration: none;
}

/* Right section: phone, email, lang */
.vp-topnav-right {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    margin-left: auto;
}
.vp-topnav-contact {
    font-size: 13px;
    color: #555;
    white-space: nowrap;
    margin-left: 16px;
}
.vp-topnav-contact i {
    color: #015cad;
    margin-right: 4px;
}

/* Settings dropdown (language/currency) inside new nav */
.vp-topnav-settings {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    margin-left: 12px;
}
.vp-topnav-settings .user_menu {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    height: auto !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.vp-topnav-settings .user_menu > li {
    list-style: none;
}
.vp-topnav-settings .user_menu > li > a {
    font-size: 13px !important;
    color: #555 !important;
    padding: 4px 8px !important;
    margin-top: 0 !important;
}
.vp-topnav-settings .user_menu > li > a:hover {
    color: #015cad !important;
    background: transparent !important;
}
/* Hide mobile-only items from settings.php in desktop nav */
.vp-topnav-settings .visible-xs,
.vp-topnav-settings .mob-menu {
    display: none !important;
}
/* Language dropdown nested inside settings */
.vp-topnav-settings .navbar-nav {
    margin: 0 !important;
    float: none !important;
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.vp-topnav-settings .navbar-nav > li {
    float: none;
    margin-top: 0 !important;
}
.vp-topnav-settings .navbar-nav > li > a {
    padding: 4px 8px !important;
    font-size: 13px !important;
    color: #555 !important;
    line-height: 1.4;
}
.vp-topnav-settings .dropdown-menu {
    max-height: none;
    overflow-y: visible;
}

/* ---- Hamburger Button (mobile only, hidden on desktop) ---- */
.vp-hamburger {
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    margin-left: auto;
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
}
.vp-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #333;
    border-radius: 1px;
    margin: 2px 0;
}

/* ---- Drawer Overlay ---- */
.vp-drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1040;
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}
.vp-drawer-overlay.open {
    display: block;
    opacity: 1;
}

/* ---- Slide-in Drawer ---- */
.vp-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    max-width: 85vw;
    height: 100%;
    background: #fff;
    z-index: 1050;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.vp-drawer.open {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

/* Drawer Header */
.vp-drawer-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #eee;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}
.vp-drawer-logo img {
    height: 36px !important;
    max-height: 36px !important;
    width: auto !important;
    max-width: 160px !important;
}
.vp-drawer-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* Drawer Nav Links */
.vp-drawer-nav {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    padding: 8px 0;
}
.vp-drawer-nav a {
    display: block;
    padding: 14px 24px;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    -webkit-transition: background 0.15s;
    transition: background 0.15s;
}
.vp-drawer-nav a:hover,
.vp-drawer-nav a:active {
    background: #f7f9fc;
    color: #015cad;
    text-decoration: none;
}

/* Drawer Footer */
.vp-drawer-footer {
    padding: 16px 24px;
    border-top: 1px solid #eee;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}
.vp-drawer-contact {
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}
.vp-drawer-contact i {
    color: #015cad;
    width: 20px;
    margin-right: 6px;
}
.vp-drawer-contact a {
    color: #333;
    text-decoration: none;
}

/* Drawer Language Buttons */
.vp-drawer-lang {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 12px;
}
.vp-lang-btn {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-decoration: none;
    margin: 0 8px 8px 0;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}
.vp-lang-btn:hover {
    border-color: #015cad;
    color: #015cad;
    text-decoration: none;
}
.vp-lang-btn.active {
    background: #015cad;
    color: #fff;
    border-color: #015cad;
}
.vp-lang-btn.active:hover {
    color: #fff;
    text-decoration: none;
}

/* ============================================
   Responsive: Tablet & below (< 992px)
   ============================================ */
@media (max-width: 991px) {
    .vp-topnav-links,
    .vp-topnav-right {
        display: none !important;
    }
    .vp-hamburger {
        display: -webkit-box;
        display: -webkit-flex;
        display: flex;
    }
    .vp-topnav {
        height: 56px;
    }
    .vp-topnav-logo img {
        height: 36px;
    }
}

/* ============================================
   Responsive: Small phones 320px (iPhone SE 1st gen)
   ============================================ */
@media (max-width: 374px) {
    .vp-topnav-inner {
        padding: 0 10px;
    }
    .vp-topnav-logo {
        margin-right: 0;
    }
    .vp-topnav-logo img {
        height: 28px;
    }
    .vp-drawer {
        width: 260px;
    }
    .vp-drawer-nav a {
        padding: 12px 16px;
        font-size: 15px;
    }
    .vp-drawer-footer {
        padding: 12px 16px;
    }
    .vp-lang-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
    .vp-hamburger {
        width: 36px;
        height: 36px;
    }
}


/* ========================================
   Voyages Polaris — Modern Footer
   ======================================== */

.vp-footer {
    position: relative;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    line-height: 1.7;
    background: #0f172a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.vp-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Newsletter bar ── */
.vp-footer-newsletter {
    background: #1e293b;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 28px 0;
}
.vp-footer-newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.vp-footer-newsletter-text h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px;
}
.vp-footer-newsletter-text p {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    margin: 0;
}
.vp-footer-newsletter-form {
    display: flex;
    gap: 8px;
    flex: 0 1 400px;
}
.vp-footer-newsletter-form input[type="email"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    background: rgba(255,255,255,0.04);
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}
.vp-footer-newsletter-form input[type="email"]::placeholder {
    color: rgba(255,255,255,0.3);
}
.vp-footer-newsletter-form input[type="email"]:focus {
    border-color: #3b82f6;
    background: rgba(255,255,255,0.06);
}
.vp-footer-newsletter-form button {
    padding: 10px 20px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.vp-footer-newsletter-form button:hover {
    background: #2563eb;
}

/* ── Main grid ── */
.vp-footer-main {
    padding: 48px 0 40px;
}
.vp-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

/* Columns */
.vp-footer-col {}
.vp-footer-col-brand {}

.vp-footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}
.vp-footer-logo img {
    height: 38px;
    width: auto;
    opacity: 0.9;
}
.vp-footer-desc {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 12px;
}
.vp-footer-opc {
    color: rgba(255,255,255,0.3);
    font-size: 11px;
    letter-spacing: 0.3px;
}

.vp-footer-title {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3b82f6;
    display: inline-block;
}

/* Links */
.vp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.vp-footer-links li {
    margin-bottom: 10px;
}
.vp-footer-links a {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}
.vp-footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

/* Contact list */
.vp-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}
.vp-footer-contact li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #3b82f6;
}
.vp-footer-contact li span {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    line-height: 1.5;
}

/* ── Bottom bar ── */
.vp-footer-bottom {
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 16px 0;
    text-align: center;
}
.vp-footer-bottom span {
    color: rgba(255,255,255,0.35);
    font-size: 11px;
    letter-spacing: 0.3px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .vp-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}
@media (max-width: 767px) {
    .vp-footer-newsletter-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .vp-footer-newsletter-form {
        flex: 1 1 100%;
        width: 100%;
    }
    .vp-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .vp-footer-main {
        padding: 36px 0 28px;
    }
}
@media (max-width: 480px) {
    .vp-footer-container {
        padding: 0 16px;
    }
    .vp-footer-newsletter-form {
        flex-direction: column;
    }
    .vp-footer-newsletter-form button {
        width: 100%;
    }
}

/* ── Back to top ── */
#gotop {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 38px;
    height: 38px;
    background: #3b82f6;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 38px;
    font-size: 18px;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
    transition: background 0.2s;
}
#gotop:hover {
    background: #2563eb;
    color: #fff;
    text-decoration: none;
}
#gotop span {
    display: block;
    line-height: 38px;
}


/* ========================================
   VP Tour Card — Modern Style
   ======================================== */
.vp-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 24px 0;
}
.vp-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}
.vp-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.14);
    transform: translateY(-3px);
}
.vp-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #eee;
}
.vp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.vp-card:hover .vp-card-img img {
    transform: scale(1.05);
}
.vp-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.vp-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.4;
}
.vp-card-visit {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.vp-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}
.vp-card-price {
    display: flex;
    flex-direction: column;
}
.vp-card-price-label {
    display: none;
}
.vp-card-price-value {
    font-size: 18px;
    font-weight: 800;
    color: #015cad;
    line-height: 1.2;
    display: inline;
}
.vp-card-price-suffix {
    font-size: 13px;
    color: #999;
    margin-left: 2px;
}
.vp-card-btn {
    display: inline-block;
    padding: 9px 18px;
    background: #015cad;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s;
}
.vp-card-btn:hover {
    background: #0170d4;
    color: #fff !important;
    text-decoration: none !important;
}
.vp-card-onsale {
    font-size: 14px;
    font-weight: 700;
    color: #e53935;
}

/* 促销徽章 */
.vp-card-badge {
    position: absolute;
    top: 12px;
    left: 0;
    background: linear-gradient(135deg, #e53935, #ff6f00);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px 5px 10px;
    border-radius: 0 20px 20px 0;
    box-shadow: 0 2px 8px rgba(229,57,53,.3);
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
    letter-spacing: 0.3px;
}

/* Responsive */
@media (max-width: 991px) {
    .vp-card-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 575px) {
    .vp-card-grid { grid-template-columns: 1fr; gap: 14px; }
    .vp-card-title { font-size: 14px; }
}
@media (max-width: 374px) {
    .vp-card-grid { padding: 12px 0; }
}


/* ========================================
   Detail Page — Departure Date & Place Buttons
   ======================================== */

/* Date button */
.departure-date-btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border: 1.5px solid #d0d8e4;
    border-radius: 20px;
    background: #fff;
    color: #444;
    cursor: pointer;
    transition: all 0.15s ease;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    white-space: nowrap;
}
.departure-date-btn:hover {
    border-color: #015cad;
    color: #015cad;
    background: #f0f6ff;
    box-shadow: 0 2px 8px rgba(1,92,173,0.12);
}
.departure-date-btn.dep-active {
    border-color: #015cad;
    background: #015cad;
    color: #fff;
    box-shadow: 0 2px 8px rgba(1,92,173,0.25);
}
.departure-date-btn .dep-month {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.departure-date-btn .dep-day {
    font-size: 14px;
    font-weight: 800;
}
.departure-date-btn .dep-year {
    font-size: 12px;
    opacity: 0.65;
}
.departure-date-btn.dep-active .dep-year {
    opacity: 0.85;
}

/* Place button */
.departure-place-btn,
.cruise-cabin-btn {
    display: inline-block;
    padding: 7px 14px;
    border: 1.5px solid #d0d8e4;
    border-radius: 20px;
    background: #fff;
    color: #444;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.departure-place-btn:hover,
.cruise-cabin-btn:hover {
    border-color: #015cad;
    color: #015cad;
    background: #f0f6ff;
}
.departure-place-btn.dep-active,
.cruise-cabin-btn.dep-active {
    border-color: #015cad;
    background: #015cad;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(1,92,173,0.2);
}

/* Responsive: smaller screens */
@media (max-width: 480px) {
    .departure-date-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    .departure-date-btn .dep-day {
        font-size: 13px;
    }
    .departure-place-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Date pager arrows */
@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/fa/fontawesome-webfont.eot?v=4.3.0');
    src: url('../fonts/fa/fontawesome-webfont.eot?#iefix&v=4.3.0') format('embedded-opentype'),
         url('../fonts/fa/fontawesome-webfont.woff2?v=4.3.0') format('woff2'),
         url('../fonts/fa/fontawesome-webfont.woff?v=4.3.0') format('woff'),
         url('../fonts/fa/fontawesome-webfont.ttf?v=4.3.0') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'proximanovalight';
    src: url('../fonts/pl/proximanovalight.woff') format('woff'),
         url('../fonts/pl/proximanovalight.ttf') format('truetype');
    font-display: swap;
}

#datePrevBtn:not(:disabled):hover,
#dateNextBtn:not(:disabled):hover {
    border-color: #015cad;
    color: #015cad;
    background: #f0f6ff;
}

/* ========================================
   VP Tour Detail — Modern Redesign 2026
   ======================================== */

/* ---- Hero Title Section ---- */
.vp-detail-hero {
    background: #f7f9fc;
    padding: 32px 0 24px;
    border-bottom: 1px solid #e8ecf2;
}
.vp-detail-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.vp-detail-title {
    font-size: 28px;
    font-weight: 800;
    color: #0d1b2a;
    margin: 0 0 10px;
    line-height: 1.3;
}
.vp-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    font-size: 14px;
    color: #555;
}
.vp-detail-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.vp-detail-meta-item i {
    color: #015cad;
    font-size: 15px;
}
.vp-detail-meta-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #015cad;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}
.vp-detail-price-hero {
    text-align: right;
    flex-shrink: 0;
}
.vp-detail-price-hero .price-from {
    font-size: 13px;
    color: #777;
    display: block;
    margin-bottom: 2px;
}
.vp-detail-price-hero .price-value {
    font-size: 32px;
    font-weight: 800;
    color: #015cad;
    line-height: 1;
}
.vp-detail-price-hero .price-unit {
    font-size: 14px;
    color: #888;
}

/* ---- Main Layout: 2 columns ---- */
.vp-detail-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 20px 60px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
}
.vp-detail-left {
    flex: 1;
    min-width: 0;
}
.vp-detail-right {
    width: 360px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

/* ---- Slider modern style ---- */
.vp-detail-slider {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    margin-bottom: 28px;
    background: #000;
}
.vp-detail-slider .fotorama__wrap {
    border-radius: 16px;
}
.vp-detail-slider .fotorama__stage {
    border-radius: 16px;
}
.vp-detail-slider img {
    border-radius: 16px;
}

/* ---- Booking Card ---- */
.vp-booking-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #eef1f6;
}
.vp-booking-card-header {
    background: #015cad;
    color: #fff;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 700;
}
.vp-booking-card-body {
    padding: 20px;
}
.vp-booking-section {
    margin-bottom: 18px;
}
.vp-booking-section-title {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.vp-booking-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 180px;
    overflow-y: auto;
    padding-right: 4px;
}
.vp-booking-places {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Price table in booking card */
.vp-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.vp-price-table th,
.vp-price-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}
.vp-price-table th {
    font-weight: 600;
    color: #333;
    background: #f8fafc;
    font-size: 13px;
}
.vp-price-table td {
    color: #444;
}
.vp-price-table .price-cell {
    text-align: center;
    font-weight: 700;
    color: #015cad;
    white-space: nowrap;
}
.vp-price-table select {
    min-width: 50px;
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}
.vp-price-table .price-per {
    font-size: 12px;
    color: #888;
    font-weight: 400;
}

/* Booking total */
.vp-booking-total {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    margin: 16px 0;
}
.vp-booking-total-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}
.vp-booking-total-value {
    font-size: 26px;
    font-weight: 800;
    color: #0d1b2a;
}

/* Book Now button */
.vp-btn-book {
    display: block;
    width: 100%;
    padding: 16px;
    background: #e67e22;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s, transform 0.1s;
    text-decoration: none !important;
}
.vp-btn-book:hover {
    background: #d35400;
    color: #fff;
    transform: translateY(-1px);
}
.vp-btn-book:active {
    transform: translateY(0);
}

/* ---- Modern Tabs ---- */
.vp-tabs-wrap {
    margin-bottom: 24px;
}
.vp-tabs-nav {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid #e8ecf2;
    margin-bottom: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.vp-tabs-nav::-webkit-scrollbar { display: none; }
.vp-tabs-nav li {
    flex-shrink: 0;
}
.vp-tabs-nav li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    white-space: nowrap;
    background: none !important;
    border-radius: 0 !important;
}
.vp-tabs-nav li a:hover {
    color: #015cad;
    background: none;
}
.vp-tabs-nav li.active a {
    color: #015cad;
    border-bottom-color: #015cad;
    background: none;
}

/* Tab content */
.vp-tab-content {
    background: #fff;
    border-radius: 0 0 16px 16px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #eef1f6;
    border-top: none;
}
.vp-tab-pane {
    display: none;
}
.vp-tab-pane.active {
    display: block;
}

/* ---- Content Cards inside tabs ---- */
.vp-content-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #eef1f6;
    margin-bottom: 24px;
}
.vp-content-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef1f6;
    display: inline-block;
}
.vp-content-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin: 20px 0 10px;
}

/* Highlight box */
.vp-highlight-box {
    background: #f0f6ff;
    border-left: 4px solid #015cad;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.8;
    color: #334;
}
.vp-highlight-box ul {
    margin: 0;
    padding-left: 20px;
}
.vp-highlight-box li {
    margin-bottom: 6px;
}

/* Inclusion / Exclusion lists */
.vp-list-ok {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
.vp-list-ok li {
    padding: 6px 0 6px 28px;
    position: relative;
    font-size: 14px;
    color: #444;
}
.vp-list-ok li::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    top: 6px;
    color: #27ae60;
    font-size: 14px;
}
.vp-list-no {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
.vp-list-no li {
    padding: 6px 0 6px 28px;
    position: relative;
    font-size: 14px;
    color: #444;
}
.vp-list-no li::before {
    content: '\f00d';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    top: 6px;
    color: #e74c3c;
    font-size: 14px;
}

/* Notes */
.vp-note-item {
    padding: 8px 0;
    font-size: 14px;
    color: #555;
    border-bottom: 1px dashed #eee;
}
.vp-note-item:last-child {
    border-bottom: none;
}
.vp-note-item i {
    color: #f39c12;
    margin-right: 8px;
}

/* Entrance tickets table */
.vp-ticket-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 12px 0;
}
.vp-ticket-table th,
.vp-ticket-table td {
    padding: 10px 14px;
    border: 1px solid #e8ecf2;
    text-align: left;
}
.vp-ticket-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #333;
}
.vp-ticket-table tr:nth-child(even) td {
    background: #fafbfc;
}

/* Marquee */
.vp-marquee-bar {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 10px 16px;
    margin: 16px 0;
    font-size: 14px;
    color: #856404;
    font-weight: 500;
}

/* Video grid */
.vp-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.vp-video-item {
    position: relative;
    padding-bottom: 56%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}
.vp-video-item iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}
.vp-video-title {
    margin-top: 8px;
    font-size: 14px;
    color: #444;
}

/* Policy / Terms */
.vp-policy-box {
    background: #fafbfc;
    border-radius: 12px;
    padding: 20px 24px;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

/* ---- Mobile: move booking card above tabs ---- */
@media (max-width: 991px) {
    .vp-detail-main {
        flex-direction: column;
        padding: 20px 16px 40px;
    }
    .vp-detail-right {
        width: 100%;
        position: static;
        order: -1;
        margin-bottom: 24px;
    }
    .vp-detail-hero {
        padding: 20px 0 16px;
    }
    .vp-detail-title {
        font-size: 22px;
    }
    .vp-detail-price-hero .price-value {
        font-size: 24px;
    }
    .vp-detail-left {
        width: 100%;
    }
    .vp-tab-content {
        padding: 20px;
    }
    .vp-content-card {
        padding: 20px;
    }
    .vp-video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .vp-detail-hero-inner {
        padding: 0 16px;
    }
    .vp-detail-title {
        font-size: 20px;
    }
    .vp-detail-meta {
        gap: 10px;
        font-size: 13px;
    }
    .vp-tabs-nav li a {
        padding: 10px 14px;
        font-size: 13px;
    }
    .vp-tab-content {
        padding: 16px;
        border-radius: 0 0 12px 12px;
    }
    .vp-content-card {
        padding: 16px;
        border-radius: 12px;
    }
    .vp-detail-slider {
        border-radius: 12px;
        margin-bottom: 20px;
    }
}

@media (max-width: 374px) {
    .vp-detail-hero-inner {
        padding: 0 12px;
    }
    .vp-detail-title {
        font-size: 18px;
    }
    .vp-detail-main {
        padding: 16px 12px 32px;
    }
    .vp-tabs-nav li a {
        padding: 8px 12px;
        font-size: 12px;
    }
    .vp-booking-card-body {
        padding: 16px;
    }
    .vp-price-table th,
    .vp-price-table td {
        padding: 8px 4px;
        font-size: 13px;
    }
    .vp-btn-book {
        padding: 14px;
        font-size: 15px;
    }
}

/* Hide old tab nav when modern tabs are present */
#detailTab.vp-tabs-nav + .tab-content .mob-row.tab-pane {
    padding: 0;
    margin: 0;
}

/* Fix old panel styles inside new design */
.vp-tab-content .panel-default,
.vp-tab-content .panel {
    border: none;
    box-shadow: none;
    margin-bottom: 0;
}
.vp-tab-content .panel-body {
    padding: 0;
}
.vp-tab-content .panel-heading {
    display: none;
}

/* Map box inside content */
.vp-map-box {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}
#datePrevBtn:disabled,
#dateNextBtn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Date buttons scrollable container */
#departureDateBtns {
    scrollbar-width: thin;
    scrollbar-color: #d0d8e4 transparent;
}
#departureDateBtns::-webkit-scrollbar {
    width: 4px;
}
#departureDateBtns::-webkit-scrollbar-track {
    background: transparent;
}
#departureDateBtns::-webkit-scrollbar-thumb {
    background: #d0d8e4;
    border-radius: 2px;
}

/* Price table — bold numbers */
.phTB5 td,
table.phTB5 td {
    font-weight: 700;
}
.phTB5 th,
table.phTB5 th {
    font-weight: 600;
}
/* 划线原价稍微细一点，不要和现价抢 */
.phTB5 td s,
.phTB5 td del {
    font-weight: 400;
    color: #999;
}

/* Fotorama slider — no background color */
.fotorama__stage,
.fotorama__stage__shaft,
.fotorama__stage__frame {
    background: transparent !important;
}

/* No departure dates notice */
.vp-no-departure {
    display: inline-block;
    padding: 6px 14px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    color: #999;
    font-size: 13px;
    font-style: italic;
}
