/* ==========================================================================
   1. GIAO DIỆN TRANG CHI TIẾT TOUR (GIỮ NGUYÊN HOÀN TOÀN TỪ FILE CŨ)
   ========================================================================== */
.tour-page {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #2d3748;
}
.tour-title {
    font-weight: 800;
    color: #1a202c;
    font-size: 2.2rem;
    line-height: 1.3;
    padding: 30px 0px;
}
.tour-slide-img, .tour-cover {
    height: 450px;
}
@media (max-width: 768px) {
    .tour-slide-img, .tour-cover { height: 260px; }
    .tour-title { font-size: 1.6rem; }
}
.rounded-4 {
    border-radius: 16px !important;
}
.tour-summary {
    border-left: 5px solid #0d6efd;
    background-color: #f7fafc !important;
}
.summary-item strong {
    color: #2d3748;
}
.tour-section {
    border: 1px solid #edf2f7;
    transition: transform 0.2s;
}
.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a202c;
    border-bottom: 2px solid #edf2f7;
    padding-bottom: 12px;
    margin: 0;
}
.include-box { border-top: 4px solid #198754; }
.exclude-box { border-top: 4px solid #dc3545; }

.tour-timeline ul, .tour-timeline ol { padding-left: 20px; }
.tour-timeline li { margin-bottom: 15px; }

.bg-price-box {
    background-color: #fff5f5;
    border: 1px dashed #feb2b2;
}
.tour-booking-box {
    border-color: #0d6efd !important;
}
.tour-meta li {
    font-size: 0.95rem;
    color: #4a5568;
}

@keyframes pulse-warning {
    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}
.animate-pulse {
    animation: pulse-warning 2s infinite;
    background-color: #ff9800 !important;
    border: none;
}
.animate-pulse:hover {
    background-color: #e65100 !important;
    transform: translateY(-2px);
    transition: all 0.2s;
}

/* Accordion Lịch trình */
.tour-accordion .accordion-item {
    border: 1px solid #e2e8f0 !important;
    background: #ffffff;
}
.tour-accordion .accordion-button {
    background-color: #ffffff;
    color: #1a202c;
    font-size: 1.1rem;
    box-shadow: none !important;
    transition: all 0.2s ease;
}
.tour-accordion .accordion-button:not(.collapsed) {
    background-color: #f1f5f9;
    color: #0d6efd;
}
.tour-accordion .day-dot {
    width: 10px;
    height: 10px;
    background-color: #0d6efd;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.2s;
}
.tour-accordion .accordion-button.collapsed .day-dot {
    background-color: #a0aec0;
}
.tour-accordion .accordion-body {
    background-color: #fafafa !important;
    font-size: 0.975rem;
    line-height: 1.6;
    border-top: 1px solid #e2e8f0;
}
.tour-accordion .accordion-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

/* Bao gồm / Không bao gồm */
.include-box .section-body ul, .exclude-box .section-body ul { list-style: none; padding-left: 0; }
.include-box .section-body li, .exclude-box .section-body li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.include-box .section-body li::before, .exclude-box .section-body li::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900; position: absolute; left: 0; top: 2px;
}
.include-box .section-body li::before { content: "\f00c"; color: #198754; }
.exclude-box .section-body li::before { content: "\f00d"; color: #dc3545; }

/* Khối Highlight */
.highlight-box {
    border-left: 4px solid #ffb300 !important;
    background: #fffcf4 !important;
    border-radius: 12px !important;
}
.highlight-box .section-body ul { list-style: none; padding-left: 0; margin: 0; }
.highlight-box .section-body li {
    position: relative; padding-left: 28px; margin-bottom: 12px;
    line-height: 1.6; font-size: 1rem; font-weight: 500; color: #2d3748;
}
.highlight-box .section-body li::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900;
    content: "\f005"; position: absolute; left: 0; top: 3px; color: #ffb300;
    font-size: 0.95rem; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Lưới hình ảnh Gallery */
.tour-gallery-grid { background-color: #f7fafc; }
.gallery-item { cursor: pointer; overflow: hidden; position: relative; }
.gallery-item.main-img img { height: 364px; }
.gallery-item.sub-img img { height: 178px; }
.gallery-item img { transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.more-images-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.55); transition: background 0.3s;
}
.gallery-item:hover .more-images-overlay { background: rgba(0, 0, 0, 0.45); }
.view-all-btn {
    border: 1px solid #cbd5e1; color: #334155 !important;
    border-radius: 8px !important; font-size: 0.85rem; z-index: 5;
}
.view-all-btn:hover { background-color: #f8fafc !important; color: #0284c7 !important; }
.lightbox-modal .modal-xl { max-width: 90vw; }
.lightbox-img { height: 80vh; background-color: rgba(0, 0, 0, 0.9); }
.style-caption { left: 50% !important; transform: translateX(-50%); bottom: 20px !important; width: fit-content; }

/* Bảng giá */
.tour-price-container { background: #fff; transition: transform 0.3s ease; }
.tour-price-container:hover { transform: translateY(-2px); }
.price-detailed-table th { padding: 10px 8px; font-weight: 600; }
.price-detailed-table td { padding: 12px 8px; }
.border-bottom-dashed { border-bottom: 1px dashed #e2e8f0; }
.fs-7 { font-size: 0.75rem; }
.price-detailed-table .text-decoration-line-through { font-size: 0.85rem; opacity: 0.7; }
.price-detailed-table .text-danger { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; letter-spacing: -0.5px; }


/* Đưa logo lên sát mép trên và loại bỏ khoảng trống (padding/margin) */
.logo-image, .navbar-brand, .header-logo {
    align-self: flex-start !important; /* Căn top nếu dùng Flexbox */
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Nếu vùng chứa logo (Header) có khoảng cách lớn, thu nhỏ nó lại */
header, .sp-header, #astroid-header {
    padding-top: 0 !important;
}