/* WordPress MenuWalker wrappers inside the demo's flat navigation layout. */
.nav > .menu-list {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav .menu-item {
    list-style: none;
}

.nav .menu-link {
    display: inline-flex;
}

.site-footer .menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 1240px) {
    .nav > .menu-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .nav .menu-item,
    .nav .menu-link {
        width: 100%;
    }
}

/* Preserve native hidden behavior against component display rules. */
.rev[hidden],
.filters[hidden],
.load-more[hidden] {
    display: none !important;
}

.contact.contact--no-form {
    grid-template-columns: minmax(0, 1fr);
    max-width: 800px;
}

.about-actions .social-block,
.about-actions .social-list {
    display: flex;
    align-items: center;
}

.about-actions .social-list {
    gap: 0.6rem;
}

.about-actions .social-link {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: #111;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.about-actions .social-link:hover {
    transform: translateY(-3px);
    background: var(--teal);
}

.about-actions .social-link img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* Hero section layout & background overrides */
.hero#top {
    padding: 0;
}

.hero .hero-bg {
    background-image: none;
}

.hero-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.hero-picture .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Page content section rhythm */
.page-body-section {
    padding-top: var(--sp-5);
}

.page-hero--reviews {
    padding-bottom: var(--sp-4);
}

.tour-hero .hero-actions {
    margin-top: 1.6rem;
}

.wrap--form {
    max-width: 780px;
}

.step-pane h2 {
    font-size: 1.5rem;
}

.legal-nowrap {
    white-space: nowrap;
}

@media (max-width: 640px) {
    .legal-nowrap,
    .legal .by {
        white-space: normal;
    }

    .legal > span {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}

/* 19/11/2026 — Logo to bằng demo (268x121px) */
.brand,
.custom-logo-link {
    display: block !important;
    height: 88px !important;
    overflow: hidden !important;
}

.brand img,
.custom-logo-link img,
.custom-logo-link .custom-logo {
    height: 134px !important;
    width: auto !important;
    max-width: none !important;
    margin: -22px 0 0 -38px !important;
}

@media (max-width: 1240px) {
    .brand,
    .custom-logo-link {
        min-width: 0;
        max-width: calc(100% - 62px);
    }

    .nav-toggle {
        flex: none;
    }
}

@media (max-width: 860px) {
    .brand,
    .custom-logo-link {
        height: 64px !important;
    }
    .brand img,
    .custom-logo-link img,
    .custom-logo-link .custom-logo {
        height: 98px !important;
        margin: -16px 0 0 -28px !important;
    }
}

/* 19/11/2026 — nút nổi gọn (không che nội dung), dòng giới thiệu Gats ở hero */
.fab {
    align-items: flex-end;
}

.fab a {
    padding: .85rem;
    gap: 0;
}

.fab a span {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width .25s ease, opacity .2s ease, margin .25s ease;
}

.fab a:hover span,
.fab a:focus-visible span {
    max-width: 11rem;
    opacity: 1;
    margin-left: .55rem;
}

.fab .fab-call {
    background: linear-gradient(135deg, #E9D29A, #B58A3A);
    color: #111;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.fab .fab-call:hover {
    background: linear-gradient(135deg, #F2DEAA, #C9A45C);
}

.hero .byline {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin: .2rem 0 1rem;
    color: var(--gold-3);
    font-size: .92rem;
    line-height: 1.35;
}

.hero .byline img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 22%;
    border: 1.5px solid var(--gold-2);
    flex: none;
}

.hero .byline b {
    color: #fff;
}

.author-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 2.4rem;
    align-items: start;
}

.author-grid .ph img {
    width: 100%;
    border-radius: 18px;
    display: block;
}

.author-grid h2 {
    margin-top: 0;
}

.author-facts {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0;
}

.author-facts li {
    padding: .55rem 0;
    border-bottom: 1px solid var(--line);
}

@media (max-width: 860px) {
    .author-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.author-grid > * {
    min-width: 0;
}

/* 19/11/2026 — khối giấy phép và đăng ký (tăng độ tin cậy) */
.trust {
    margin: 1.3rem 0 1.4rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--gold-2);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow-1);
}

.trust h3 {
    font-size: 1.02rem;
    margin: 0 0 .5rem;
    color: var(--navy);
}

.trust ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.trust li {
    padding: .45rem 0 .45rem 1.5rem;
    position: relative;
    line-height: 1.5;
}

.trust li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .95rem;
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background: var(--gold-2);
}

.trust a {
    font-weight: 600;
    white-space: normal;
}

.trust,
.author-facts,
.entry-content {
    overflow-wrap: anywhere;
}

/* 19/11/2026 — nút thứ 3 & 4: Messenger fanpage & Facebook cá nhân */
.fab .fab-mess {
    background: #0084FF;
    color: #fff;
}

.fab .fab-mess:hover {
    background: #0073e6;
}

.fab .fab-fb {
    background: #1877F2;
    color: #fff;
}

.fab .fab-fb:hover {
    background: #1466d6;
}

/* 19/11/2026 — Khung bài viết Cẩm nang (Single Post) chuẩn SEO */
.single-post-page {
    max-width: 840px;
    margin: 0 auto;
    padding: var(--sp-5, 3rem) 1.2rem;
}
.single-post-page .crumbs {
    font-size: .92rem;
    color: var(--ink-muted, #666);
    margin-bottom: 1rem;
}
.single-post-page .crumbs a {
    color: inherit;
    text-decoration: underline;
}
.single-post-page h1 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.25;
    margin: 0 0 1rem;
    color: var(--navy);
}
.single-post-page .byline {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.8rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--line);
    font-size: .95rem;
    color: var(--ink-muted, #666);
}
.single-post-page .byline img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 22%;
    border: 1.5px solid var(--gold-2);
}
.single-post-page .byline b {
    color: var(--navy);
}
.single-post-page .byline a {
    color: inherit;
    text-decoration: none;
}
.single-post-page .post-featured-image {
    margin: 0 0 2rem;
}
.single-post-page .post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
}
.single-post-page .entry-content {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--ink);
}
.single-post-page .entry-content h2 {
    font-size: 1.75rem;
    margin: 2.2rem 0 1rem;
    color: var(--navy);
}
.single-post-page .entry-content h3 {
    font-size: 1.35rem;
    margin: 1.8rem 0 .8rem;
    color: var(--navy);
}
.single-post-page .entry-content p {
    margin: 0 0 1.4rem;
}
.author-box {
    margin: 3rem 0;
    padding: 1.5rem;
    background: var(--cream, #FBF8F1);
    border: 1px solid var(--gold-2, #C9A45C);
    border-radius: 14px;
}
.author-box__inner {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}
.author-box__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 22%;
    border: 2px solid var(--gold-2);
    flex-shrink: 0;
}
.author-box__info h4 {
    margin: 0 0 .3rem;
    font-size: 1.15rem;
    color: var(--navy);
}
.author-box__info p {
    margin: 0 0 .8rem;
    font-size: .95rem;
    color: var(--ink-muted, #555);
    line-height: 1.45;
}
.author-box__links {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}
.related-posts {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}
.related-posts h3 {
    margin-bottom: 1.4rem;
    color: var(--navy);
}
@media (max-width: 640px) {
    .author-box__inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .author-box__info {
        min-width: 0;
    }
}

/* ==========================================================
   TÍNH NĂNG GỬI ĐÁNH GIÁ (CUSTOMER REVIEW SUBMISSION)
   ========================================================== */
.rev-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 1.6rem;
}

.rev-trigger-wrap {
    margin-left: auto;
}

.btn-write-rev {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: var(--shadow-1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-write-rev:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
}

.btn-write-rev svg {
    flex-shrink: 0;
}

/* Modal overlay cho popup đánh giá */
.rev-form-container {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.75rem, 3vw, 1.5rem);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.rev-form-container[hidden] {
    display: none !important;
}

.rev-form-container.is-open {
    opacity: 1;
    visibility: visible;
    display: flex !important;
}

.rev-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 25, 47, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
    cursor: pointer;
}

.rev-form {
    position: relative;
    z-index: 2;
    max-width: 760px;
    width: 100%;
    max-height: calc(100vh - 2.5rem);
    overflow-y: auto;
    margin: auto;
    background: #fff;
    border-radius: var(--r-md);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    padding: clamp(1.2rem, 3.2vw, 2.2rem);
    transform: scale(0.95) translateY(12px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.rev-form-container.is-open .rev-form {
    transform: scale(1) translateY(0);
}

.rev-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #f8fafc;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    z-index: 3;
    padding: 0;
}

.rev-modal-close:hover,
.rev-modal-close:focus-visible {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
    transform: rotate(90deg);
}

html.rev-modal-lock,
body.rev-modal-lock {
    overflow: hidden !important;
    touch-action: none;
}

.rev-form-head {
    margin-bottom: 1.4rem;
    padding-bottom: 1rem;
    padding-right: 2.5rem;
    border-bottom: 1px solid var(--line);
}

.rev-form-head h3 {
    margin: 0 0 0.4rem;
    font-size: 1.35rem;
    color: var(--navy);
}

.rev-form-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Selector chọn số sao tương tác (tối ưu touch target $\ge 44px$) */
.star-rating-select {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.15rem;
    margin-top: 0.25rem;
}

.star-rating-select input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.star-rating-select label {
    font-size: 2.25rem;
    line-height: 1;
    color: #D1D5DB;
    cursor: pointer;
    padding: 0.25rem 0.35rem;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease, transform 0.15s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.star-rating-select input:checked ~ label {
    color: #F59E0B;
}

.star-rating-select:hover label {
    color: #D1D5DB;
}

.star-rating-select label:hover,
.star-rating-select label:hover ~ label {
    color: #F59E0B;
}

.star-rating-select label:hover,
.star-rating-select label:active {
    transform: scale(1.15);
}

.star-desc {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #92400E;
}

.field .opt {
    font-weight: normal;
    font-size: 0.85rem;
    color: var(--muted);
}

/* Căn chỉnh toolbar đánh giá thẳng hàng tuyệt đối */
.rev-toolbar .filters {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .rev-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .rev-trigger-wrap {
        margin-left: 0;
        width: 100%;
    }

    .btn-write-rev {
        width: 100%;
        justify-content: center;
    }
}

/* Callout thông tin nguồn gốc đánh giá */
.rev-provenance-callout {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(12, 128, 141, 0.06);
    border: 1px solid rgba(12, 128, 141, 0.2);
    border-left: 4px solid var(--teal);
    border-radius: var(--r-sm);
    padding: 0.85rem 1.15rem;
    margin-bottom: 1.6rem;
    color: var(--navy);
    font-size: 0.92rem;
    line-height: 1.5;
}

.rev-provenance-callout svg {
    flex-shrink: 0;
    color: var(--teal);
}

.rev-provenance-callout p {
    margin: 0;
}

/* Thanh tóm tắt uy tín (Review Summary Bar) */
.rev-summary-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    flex-wrap: wrap;
    background: #fff;
    border-radius: var(--r-md);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-1);
    padding: 1.1rem 1.6rem;
    margin-bottom: 1.4rem;
}

.rev-score-block {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.rev-score-num {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.rev-score-stars {
    color: #F59E0B;
    letter-spacing: 0.12em;
    font-size: 1.25rem;
    line-height: 1;
}

.rev-score-count {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    border-left: 1px solid var(--line);
    padding-left: 0.85rem;
}

.rev-summary-badges {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.rev-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--teal);
}

.rev-badge-item svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .rev-summary-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.2rem;
        gap: 0.9rem;
    }
    .rev-summary-badges {
        gap: 0.5rem 1rem;
    }
}

/* Tag tour và meta trên thẻ đánh giá (Card review) */
.rev-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.rev-tour-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(12, 128, 141, 0.1);
    color: #0A6F66;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.2rem 0.58rem;
    border-radius: var(--r-pill);
    letter-spacing: 0.01em;
    border: 1px solid rgba(12, 128, 141, 0.22);
}

/* Upload ảnh trong form đánh giá */
.upload-dropzone {
    position: relative;
    border: 2px dashed #CBD5E1;
    border-radius: var(--r-sm);
    background: #F8FAFC;
    padding: 1.6rem 1.2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.upload-dropzone:hover,
.upload-dropzone.drag-active {
    border-color: var(--gold);
    background: rgba(234, 179, 8, 0.05);
}

.upload-dropzone.has-max {
    opacity: 0.55;
    pointer-events: none;
}

.upload-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.upload-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: var(--ink);
    pointer-events: none;
}

.upload-prompt svg {
    color: var(--gold);
    margin-bottom: 0.2rem;
}

.upload-prompt span {
    font-size: 0.95rem;
}

.upload-prompt small {
    font-size: 0.82rem;
    color: var(--muted);
}

.upload-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.upload-preview-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-1);
    background: #E2E8F0;
}

.upload-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.upload-remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    border: 0;
    font-size: 15px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
    z-index: 2;
    padding: 0;
}

.upload-remove-btn:hover {
    background: #EF4444;
    transform: scale(1.1);
}

/* UI hiển thị ảnh chuyến đi trong thẻ đánh giá (Card review) */
.rev-photos {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin: 0.85rem 0 0.95rem;
}

.rev-photo-link {
    display: block;
    width: 74px;
    height: 74px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #E2E8F0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.rev-photo-link:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.rev-photo-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   21/11/2026 — BỘ NÂNG CẤP TOÀN DIỆN UI/UX: REVIEW, FAB & TOUR DETAILS
   ========================================================================== */

/* 1. Palette avatar màu sắc cá nhân hóa (Color-hashed avatars) */
.avatar--p1 { background: linear-gradient(135deg, #0d9488, #0f766e) !important; color: #fff !important; }
.avatar--p2 { background: linear-gradient(135deg, #d97706, #b45309) !important; color: #fff !important; }
.avatar--p3 { background: linear-gradient(135deg, #2563eb, #1e40af) !important; color: #fff !important; }
.avatar--p4 { background: linear-gradient(135deg, #059669, #047857) !important; color: #fff !important; }

/* 2. Badge đếm số lượng trên nút lọc review */
.filters button .f-count {
    font-size: 0.82em;
    opacity: 0.72;
    font-weight: 500;
    margin-left: 0.2rem;
}
.filters button[aria-pressed="true"] .f-count {
    opacity: 0.95;
    font-weight: 700;
}

/* 3. Ô tìm kiếm đánh giá tức thì (Instant Review Search) */
.rev-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 240px;
    max-width: 340px;
    flex: 1 1 240px;
}
@media (max-width: 768px) {
    .rev-search-wrap {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
    }
}
.rev-search-icon {
    position: absolute;
    left: 0.85rem;
    color: var(--muted, #64748b);
    pointer-events: none;
    flex-shrink: 0;
}
.rev-search-input {
    width: 100%;
    height: 42px;
    padding: 0.45rem 2.2rem 0.45rem 2.35rem;
    border-radius: var(--r-pill, 999px);
    border: 1px solid var(--line, #e2e8f0);
    background: #fff;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--ink, #1e293b);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rev-search-input:focus {
    border-color: var(--teal, #0d676e);
    box-shadow: 0 0 0 3px rgba(13, 103, 110, 0.14);
}
.rev-search-input::-webkit-search-cancel-button {
    display: none;
}
.rev-search-clear {
    position: absolute;
    right: 0.65rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 0;
    background: #e2e8f0;
    color: #475569;
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.rev-search-clear:hover {
    background: #cbd5e1;
    color: #0f172a;
}
.rev-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border-radius: var(--r-md, 12px);
    border: 1px dashed var(--line, #cbd5e1);
    margin-bottom: 2rem;
}
.rev-empty-icon {
    font-size: 2.2rem;
    margin-bottom: 0.6rem;
}
.rev-empty p {
    color: var(--muted, #64748b);
    font-size: 0.98rem;
    margin: 0 0 1.1rem;
}

/* 4. Speed Dial / Nút nổi liên hệ (.fab) */
.fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-end;
}
.fab-items {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-end;
}
.fab-toggle {
    display: none;
}

@media (max-width: 860px) {
    .fab {
        right: 14px;
        bottom: calc(68px + env(safe-area-inset-bottom, 0px) + 12px);
        flex-direction: column;
        align-items: flex-end;
        gap: 0.65rem;
        z-index: 90;
    }
    .fab-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        border: 0;
        background: linear-gradient(135deg, #0d676e, #0a808d);
        color: #fff;
        box-shadow: 0 8px 24px rgba(13, 103, 110, 0.42);
        cursor: pointer;
        padding: 0;
        position: relative;
        touch-action: manipulation;
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
        -webkit-tap-highlight-color: transparent;
    }
    .fab-toggle:hover {
        transform: scale(1.05);
    }
    .fab-toggle-icon,
    .fab-toggle svg {
        pointer-events: none;
    }
    .fab-toggle-icon {
        position: absolute;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
    }
    .fab-toggle-open {
        opacity: 1;
        transform: scale(1);
    }
    .fab-toggle-close {
        opacity: 0;
        transform: scale(0.6) rotate(-90deg);
    }
    .fab.is-open .fab-toggle {
        background: #0f172a;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.45);
    }
    .fab.is-open .fab-toggle-open {
        opacity: 0;
        transform: scale(0.6) rotate(90deg);
    }
    .fab.is-open .fab-toggle-close {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    .fab-items {
        position: absolute;
        right: 0;
        bottom: calc(100% + 0.65rem);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(10px) scale(0.92);
        transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease;
        gap: 0.55rem;
    }
    .fab.is-open .fab-items {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }
    .fab.is-open .fab-items a {
        display: inline-flex;
        align-items: center;
        padding: 0.65rem 0.95rem;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    }
    .fab.is-open .fab-items a span {
        display: inline-block;
        max-width: 12rem;
        opacity: 1;
        margin-left: 0.45rem;
        font-size: 0.88rem;
        font-weight: 600;
    }
    .site-footer {
        padding-bottom: calc(var(--sp-3) + 78px + env(safe-area-inset-bottom, 0px));
    }
}

/* 5. Nâng cấp Visual Checklist Tour (Bao gồm / Không bao gồm) */
.inc, .exc {
    border-radius: var(--r-md, 12px) !important;
    box-shadow: var(--shadow-1, 0 4px 14px rgba(0,0,0,0.06));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.inc:hover, .exc:hover {
    box-shadow: var(--shadow-2, 0 10px 24px rgba(0,0,0,0.1));
}
.inc {
    border: 1px solid rgba(13, 103, 110, 0.2) !important;
    border-top: 4px solid var(--teal, #0d676e) !important;
    background: #ffffff !important;
}
.inc h3 {
    color: var(--navy, #0a192f);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.exc {
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
    border-top: 4px solid #ef4444 !important;
    background: #ffffff !important;
}
.exc h3 {
    color: var(--navy, #0a192f);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.inc li {
    position: relative;
    padding-left: 2rem !important;
    line-height: 1.55;
}
.inc li::before {
    content: "✓" !important;
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(13, 103, 110, 0.12);
    color: var(--teal, #0d676e);
    font-weight: 800 !important;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.exc li {
    position: relative;
    padding-left: 2rem !important;
    line-height: 1.55;
}
.exc li::before {
    content: "✕" !important;
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
    font-weight: 800 !important;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* 6. Thanh liên hệ nhanh cố định đáy màn hình Mobile (.mobile-quick-bar) */
.mobile-quick-bar {
    display: none;
}
@media (max-width: 860px) {
    .mobile-quick-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 88;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: center;
        gap: 0.45rem;
        padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--line, #e7e3d6);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    }
    .mobile-quick-bar--tour {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.4rem;
        padding: 0.5rem 0.6rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
    }
    .mqb-btn {
        min-width: 0;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        padding: 0.5rem 0.45rem;
        border-radius: var(--r-pill, 999px);
        font: 700 0.78rem / 1.15 var(--font-body);
        text-decoration: none;
        white-space: nowrap;
        color: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
        overflow: hidden;
    }
    .mqb-btn svg {
        flex: none;
        width: 17px;
        height: 17px;
    }
    .mqb-zalo {
        background: #0068FF;
        color: #fff;
    }
    .mqb-mess {
        background: #0084FF;
        color: #fff;
    }
    .mqb-fb {
        background: #1877F2;
        color: #fff;
    }
    .mqb-quote {
        background: linear-gradient(135deg, #E9D29A, #C9A45C 55%, #B58A3A);
        color: #111;
    }
}
@media (max-width: 380px) {
    .mobile-quick-bar {
        gap: 0.3rem;
        padding: 0.45rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
    }
    .mqb-btn {
        gap: 0.2rem;
        padding: 0.45rem 0.25rem;
        font-size: 0.72rem;
    }
    .mqb-btn svg {
        width: 15px;
        height: 15px;
    }
    .mobile-quick-bar--tour .mqb-btn {
        gap: 0.18rem;
        padding: 0.45rem 0.2rem;
        font-size: 0.67rem;
    }
    .mobile-quick-bar--tour .mqb-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* 7. Đồng bộ thẻ thanh toán tour (.pay-sum) */
.pay-sum {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}
.pay-sum > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-width: 0;
}
.pay-sum b {
    font: 700 clamp(1.35rem, 2.2vw, 1.85rem) / 1.2 var(--font-head);
    overflow-wrap: anywhere;
}
@media (max-width: 900px) {
    .pay-sum {
        grid-template-columns: minmax(0, 1fr);
    }
}






/* ==========================================================================
   21/11/2026 — UI/UX Optimization Upgrades (Itinerary, Nav, Header, Blog)
   ========================================================================== */

/* 1. Header Elevation on Scroll */
.site-header {
    transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(201, 164, 92, 0.4);
}

/* 2. Mobile Nav Backdrop & Drawer Scroll Lock */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 25, 47, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 95;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
html.nav-lock,
body.nav-lock {
    overflow: hidden !important;
    touch-action: none;
}
.nav-toggle {
    position: relative;
    z-index: 2;
    touch-action: manipulation;
}
.nav-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.nav-toggle-close {
    display: none;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-open {
    display: none;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-close {
    display: inline-flex;
}
@media (max-width: 1240px) {
    .nav {
        z-index: 101;
    }
}

/* 3. Itinerary Toggle All Days & Day Badges */
.sec-head--itinerary {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.btn-toggle-all-days {
    background: #ffffff;
    border: 1px solid var(--line, #e2e8f0);
    border-radius: var(--r-pill, 999px);
    padding: 0.45rem 1rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--navy, #0a192f);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.btn-toggle-all-days:hover,
.btn-toggle-all-days:focus-visible {
    background: #f8fafc;
    border-color: var(--gold, #c9a45c);
    color: var(--gold-dark, #a88438);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}
.btn-toggle-all-days .btn-toggle-icon {
    font-size: 0.95rem;
    line-height: 1;
}
.day-summary-left {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.day-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.22rem 0.7rem;
    border-radius: var(--r-pill, 999px);
    background: #0a192f;
    color: var(--gold, #c9a45c);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    flex-shrink: 0;
    line-height: 1.3;
}
.day-title-text {
    font-weight: 700;
    color: var(--navy, #0a192f);
}

/* 4. Single Post Reading Time & Share Bar */
.post-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    color: var(--muted, #64748b);
    font-weight: 500;
}
.post-share-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1.2rem 0 1.8rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid var(--line, #e2e8f0);
    border-radius: var(--r-md, 12px);
    flex-wrap: wrap;
}
.post-share-bar__label {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--navy, #0a192f);
    margin-right: 0.25rem;
}
.post-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: var(--r-pill, 999px);
    border: 1px solid var(--line, #cbd5e1);
    background: #ffffff;
    color: var(--navy, #0a192f);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.post-share-btn:hover,
.post-share-btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.btn-share-copy:hover {
    border-color: var(--navy, #0a192f);
    background: #f1f5f9;
}
.btn-share-fb:hover {
    border-color: #1877f2;
    color: #1877f2;
    background: #eff6ff;
}
.btn-share-zalo:hover {
    border-color: #0068ff;
    color: #0068ff;
    background: #eff6ff;
}

/* 5. FAQ Details Open Elevation */
.faq details {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.faq details[open] {
    border-color: rgba(201, 164, 92, 0.55);
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.faq details[open] summary {
    color: var(--gold-dark, #a88438);
}
