/* ==========================================================================
   TRÀ SHAN TUYẾT TÀ XÙA + CỔNG TẢI CXC & CCC
   Bố cục đối chiếu từ trang mẫu samngoclinh.vn/san-pham-sam-ngoc-linh/
   Bảng màu chủ đạo: #8f070e, #710011, #b82025, #fcb900, nền kem #fef6eb
   ========================================================================== */

:root {
    --tx-crimson-main: #8f070e;
    --tx-crimson-dark: #710011;
    --tx-crimson-deep: #59000d;
    --tx-btn-red: #b82025;
    --tx-btn-red-hover: #96161b;
    --tx-gold: #fcb900;
    --tx-gold-soft: #fcd299;
    --tx-bg-cream: #fef6eb;
    --tx-card-bg: #ffffff;
    --tx-text-dark: #22252a;
    --tx-text-muted: #686d76;
    --tx-border-warm: #eedec9;
    --tx-shadow-card: 0 6px 20px rgba(113, 0, 17, 0.06);
    --tx-shadow-hover: 0 14px 30px rgba(113, 0, 17, 0.13);
    --tx-container: 1220px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: clip;
    background-color: var(--tx-bg-cream);
    color: var(--tx-text-dark);
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.tx-container {
    max-width: var(--tx-container);
    margin: 0 auto;
    padding: 0 16px;
}

/* ================= HEADER 2 TẦNG + LOGO TRÒN TRÀN VIỀN ================= */
.tx-header {
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.tx-header-top {
    background: linear-gradient(90deg, #9d0c14 0%, var(--tx-crimson-main) 60%, #83050c 100%);
    min-height: 76px;
    display: flex;
    align-items: center;
}

.tx-header-top-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 8px 0 8px 154px;
    flex-wrap: nowrap;
}

.tx-brand-seal {
    position: absolute;
    left: 12px;
    top: 4px;
    width: 126px;
    height: 126px;
    border-radius: 50%;
    z-index: 920;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
    transition: transform 0.2s ease;
}

.tx-brand-seal:hover {
    transform: scale(1.03);
}

.tx-brand-seal img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Search pill */
.tx-search-wrap {
    flex: 1 1 200px;
    max-width: 310px;
    min-width: 160px;
    position: relative;
}

.tx-search-input {
    width: 100%;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    padding: 0 44px 0 20px;
    font-size: 14px;
    outline: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.tx-search-input::placeholder {
    color: rgba(255, 255, 255, 0.85);
}

.tx-search-input:focus {
    background: rgba(255, 255, 255, 0.32);
    border-color: var(--tx-gold-soft);
}

.tx-search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
}

/* Header actions */
.tx-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.tx-dl-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffe394 0%, #f5b400 100%);
    color: var(--tx-crimson-dark);
    font-weight: 800;
    font-size: 11.5px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s ease, filter 0.15s ease;
}

.tx-dl-pill:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.tx-outline-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    color: #ffffff;
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    background: transparent;
    transition: background 0.15s ease;
}

.tx-outline-pill:hover {
    background: rgba(255, 255, 255, 0.15);
}

.tx-divider {
    width: 1px;
    height: 26px;
    background: rgba(255, 255, 255, 0.3);
}

.tx-mobile-call-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--tx-crimson-deep);
    color: var(--tx-gold-soft);
    border: 1px solid rgba(252, 210, 153, 0.4);
    font-size: 16px;
    flex-shrink: 0;
}

.tx-cart-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    padding: 8px 8px;
    min-height: 42px;
    position: relative;
}

.tx-cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--tx-gold);
    color: var(--tx-crimson-dark);
    font-size: 12px;
    font-weight: 800;
}

.tx-hotline-box {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--tx-crimson-deep);
    color: #ffffff;
    padding: 8px 13px;
    border-radius: 11px;
    font-weight: 800;
    font-size: 14.5px;
    white-space: nowrap;
    letter-spacing: 0.3px;
    border: 1px solid rgba(252, 210, 153, 0.25);
}

/* Tầng 2 Navbar */
.tx-navbar {
    background: var(--tx-crimson-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tx-navbar-inner {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    padding-left: 154px;
    overflow-x: auto;
    scrollbar-width: none;
}

.tx-navbar-inner::-webkit-scrollbar {
    display: none;
}

.tx-nav-link {
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease;
    cursor: pointer;
    border: none;
    background: transparent;
}

.tx-nav-link:hover,
.tx-nav-link.is-active {
    background: var(--tx-btn-red);
    color: #ffffff;
}

.tx-nav-link--highlight {
    color: var(--tx-gold-soft);
}

/* ================= HERO INTRO (H1 + TRUST ABOVE ACTION + DUAL CTA) & BANNER 2 CỘT ================= */
.tx-hero-section {
    padding: 20px 0 12px;
}

.tx-hero-intro {
    background: #ffffff;
    border: 1px solid var(--tx-border-warm);
    border-left: 6px solid var(--tx-crimson-main);
    border-radius: 16px;
    padding: 18px 22px;
    margin-bottom: 16px;
    box-shadow: var(--tx-shadow-card);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.tx-hero-intro-content {
    flex: 1 1 auto;
    min-width: 0;
}

.tx-origin-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    color: var(--tx-crimson-main);
    background: #fef2e6;
    padding: 4px 11px;
    border-radius: 999px;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}

.tx-hero-h1 {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.28;
    font-weight: 800;
    color: var(--tx-crimson-dark);
}

.tx-hero-lead {
    margin: 0 0 10px;
    font-size: 14.5px;
    color: #3a3f45;
    line-height: 1.55;
    max-width: 780px;
}

.tx-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tx-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 700;
    color: #1d4732;
    background: #eef8f1;
    border: 1px solid #cce6d5;
    padding: 4px 10px;
    border-radius: 999px;
}

.tx-hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex-shrink: 0;
    min-width: 248px;
}

.tx-hero-cta-primary,
.tx-hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    transition: transform 0.16s ease, background 0.16s ease;
}

.tx-hero-cta-primary {
    background: var(--tx-btn-red);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(184, 32, 37, 0.28);
}

.tx-hero-cta-primary:hover {
    background: var(--tx-btn-red-hover);
    transform: translateY(-1px);
}

.tx-hero-cta-secondary {
    background: #fff9f0;
    color: var(--tx-crimson-dark);
    border: 1.5px solid #deb887;
}

.tx-hero-cta-secondary:hover {
    background: #f9ecda;
}

.tx-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.35fr) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.tx-slider-box {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #1d3c2e;
    box-shadow: var(--tx-shadow-card);
}

.tx-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.tx-slide.is-active {
    display: block;
}

.tx-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tx-slider-dots {
    position: absolute;
    right: 22px;
    bottom: 16px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.tx-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--tx-btn-red);
    background: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    padding: 0;
}

.tx-dot.is-active {
    background: var(--tx-btn-red);
    width: 26px;
    border-radius: 999px;
}

.tx-hero-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tx-side-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--tx-shadow-card);
    display: block;
    transition: transform 0.2s ease;
    flex: 1;
}

.tx-side-card:hover {
    transform: translateY(-3px);
}

.tx-side-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* ================= CỔNG TẢI CXC & CCC NỔI BẬT ================= */
.tx-download-hub {
    margin: 26px 0 10px;
    background: linear-gradient(125deg, #6b040c 0%, #8f070e 55%, #3d1218 100%);
    border-radius: 18px;
    padding: 26px 28px;
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(113, 0, 17, 0.18);
    border: 1px solid rgba(252, 210, 153, 0.35);
}

.tx-download-hub-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.tx-download-hub-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--tx-gold-soft);
    letter-spacing: 0.5px;
}

.tx-download-hub-sub {
    margin: 4px 0 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
}

.tx-download-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.tx-dl-card {
    background: rgba(255, 255, 255, 0.97);
    color: var(--tx-text-dark);
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-left: 6px solid var(--tx-gold);
}

.tx-dl-card-main {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.tx-dl-app-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: contain;
    background: #fff9f0;
    border: 1px solid var(--tx-border-warm);
    padding: 4px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.tx-dl-cta-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    object-fit: contain;
    background: #ffffff;
    padding: 1px;
    flex-shrink: 0;
}

.tx-dl-code-tag {
    display: inline-block;
    background: var(--tx-crimson-dark);
    color: var(--tx-gold-soft);
    font-weight: 800;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 6px;
}

.tx-dl-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
    color: var(--tx-crimson-dark);
}

.tx-dl-meta {
    font-size: 12.5px;
    color: var(--tx-text-muted);
    margin-bottom: 6px;
}

.tx-dl-desc {
    margin: 0;
    font-size: 13px;
    color: #444950;
}

.tx-dl-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--tx-btn-red);
    color: #ffffff;
    font-weight: 800;
    font-size: 13.5px;
    box-shadow: 0 6px 16px rgba(184, 32, 37, 0.3);
    transition: background 0.18s ease, transform 0.18s ease;
}

.tx-dl-cta:hover {
    background: var(--tx-btn-red-hover);
    transform: translateY(-2px);
}

.tx-dl-cta.is-disabled {
    background: #9aa0a6;
    pointer-events: none;
    box-shadow: none;
}

/* ================= FILTER STATUS BAR ================= */
.tx-filter-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid var(--tx-border-warm);
    border-radius: 12px;
    padding: 12px 18px;
    margin: 20px 0 6px;
}

.tx-filter-bar.is-visible {
    display: flex;
}

.tx-reset-filter-btn {
    background: var(--tx-crimson-main);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

/* ================= CATEGORY SECTIONS & PRODUCT GRID (4 CỘT) ================= */
.tx-cat-section {
    margin: 34px 0 40px;
}

.tx-cat-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #ead8c1;
    padding-bottom: 12px;
    margin-bottom: 22px;
}

.tx-cat-title {
    margin: 0;
    font-size: 21px;
    font-weight: 800;
    text-transform: uppercase;
    color: #1a1a1a;
    letter-spacing: 0.4px;
    position: relative;
    padding: 0 14px;
}

.tx-cat-title::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -13px;
    height: 3px;
    background: var(--tx-crimson-main);
    border-radius: 2px;
}

.tx-view-all-btn {
    position: absolute;
    right: 0;
    bottom: 10px;
    background: transparent;
    border: none;
    color: #3a3f45;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tx-view-all-btn:hover {
    color: var(--tx-crimson-main);
}

.tx-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.tx-product-card {
    background: var(--tx-card-bg);
    border-radius: 14px;
    border: 1px solid #f2e6d8;
    box-shadow: var(--tx-shadow-card);
    padding: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.tx-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--tx-shadow-hover);
}

.tx-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    background: var(--tx-btn-red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(184, 32, 37, 0.3);
}

.tx-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: #faf5ec;
    cursor: pointer;
    margin-bottom: 12px;
}

.tx-prod-media-pill {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(15, 20, 17, 0.78);
    color: #fef3c7;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    pointer-events: none;
    backdrop-filter: blur(3px);
}

.tx-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.tx-product-card:hover .tx-thumb-wrap img {
    transform: scale(1.04);
}

.tx-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--tx-text-muted);
    margin-bottom: 6px;
}

.tx-sold-pill {
    background: #fdf2e4;
    color: #8a4b08;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 600;
}

.tx-prod-title {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--tx-text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
    cursor: pointer;
}

.tx-prod-title:hover {
    color: var(--tx-crimson-main);
}

.tx-card-bottom {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed #efe3d3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.tx-price-current {
    font-size: 17px;
    font-weight: 800;
    color: var(--tx-crimson-main);
    display: block;
}

.tx-price-old {
    font-size: 12px;
    color: #9aa0a6;
    text-decoration: line-through;
}

.tx-card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tx-btn-add-bag {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: none;
    background: var(--tx-btn-red);
    color: #ffffff;
    cursor: pointer;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.15s ease;
}

.tx-btn-add-bag:hover {
    background: var(--tx-btn-red-hover);
    transform: scale(1.05);
}

.tx-btn-choose {
    min-height: 44px;
    padding: 9px 16px;
    border-radius: 999px;
    border: none;
    background: var(--tx-btn-red);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.tx-btn-choose:hover {
    background: var(--tx-btn-red-hover);
}

.tx-btn-quick {
    min-height: 44px;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid #e6cdb2;
    background: #fff9f2;
    color: var(--tx-crimson-dark);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
}

.tx-btn-quick:hover {
    background: #f9ebd9;
}

/* ================= MID BANNER TRI ÂN ================= */
.tx-heritage-banner {
    margin: 42px 0;
    border-radius: 18px;
    background: linear-gradient(120deg, #1a3b2b 0%, #2b5941 60%, #710011 100%);
    color: #ffffff;
    padding: 32px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.tx-heritage-banner h2 {
    margin: 0 0 8px;
    font-size: 24px;
    color: var(--tx-gold-soft);
}

.tx-heritage-banner p {
    margin: 0;
    max-width: 680px;
    color: #e9f2ec;
}

/* ================= FOOTER ================= */
.tx-footer {
    background: var(--tx-crimson-deep);
    color: #f6e9e9;
    padding: 44px 0 24px;
    margin-top: 48px;
    border-top: 4px solid var(--tx-gold);
}

.tx-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tx-footer h4,
.tx-footer-heading {
    margin: 0 0 14px;
    color: var(--tx-gold-soft);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
}

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

.tx-footer li {
    margin-bottom: 8px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
}

.tx-footer-link {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.15s ease;
}

.tx-footer-link:hover {
    color: var(--tx-gold-soft);
    text-decoration: underline;
}

.tx-bct-wrap {
    margin-top: 14px;
}

.tx-bct-badge {
    height: 48px;
    width: auto;
    display: block;
    border-radius: 6px;
}

.tx-qr-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.tx-qr-card {
    background: #ffffff;
    color: var(--tx-text-dark);
    border-radius: 10px;
    padding: 7px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease;
}

.tx-qr-card:hover {
    transform: translateY(-2px);
}

.tx-qr-card img {
    width: 100%;
    max-width: 84px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.tx-footer-copy {
    padding: 18px 68px 8px;
    text-align: center;
    font-size: 12.8px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

/* ================= HỘP QR CHUYỂN KHOẢN TRONG MODAL ĐẶT HÀNG ================= */
.tx-bank-box {
    display: none;
    grid-template-columns: 112px 1fr;
    gap: 14px;
    align-items: center;
    background: #fff9ef;
    border: 1.5px dashed #d6a456;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-size: 13px;
}

.tx-bank-box.is-visible {
    display: grid;
}

.tx-bank-box img {
    width: 112px;
    height: 112px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #ead8c1;
    padding: 3px;
}

/* ================= TRANG CHÍNH SÁCH & PHÁP LÝ (policy.php) ================= */
.tx-policy-wrap {
    padding: 28px 0 36px;
}

.tx-legal-banner {
    background: #ffffff;
    border: 1px solid var(--tx-border-warm);
    border-left: 6px solid var(--tx-crimson-main);
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 20px;
    box-shadow: var(--tx-shadow-card);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.tx-policy-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tx-policy-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 15px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--tx-border-warm);
    font-size: 13px;
    font-weight: 700;
    color: var(--tx-text-dark);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tx-policy-tab:hover,
.tx-policy-tab.is-active {
    background: var(--tx-crimson-main);
    border-color: var(--tx-crimson-main);
    color: #ffffff;
}

.tx-policy-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--tx-border-warm);
    box-shadow: var(--tx-shadow-card);
    padding: 28px 32px;
}

.tx-policy-card h1 {
    margin: 0 0 16px;
    font-size: 23px;
    color: var(--tx-crimson-dark);
    border-bottom: 2px solid #f2e4d0;
    padding-bottom: 12px;
}

.tx-policy-card h2 {
    margin: 22px 0 10px;
    font-size: 17px;
    color: var(--tx-crimson-main);
}

.tx-policy-card h3 {
    margin: 16px 0 8px;
    font-size: 15px;
    color: #2c3136;
}

.tx-policy-card p,
.tx-policy-card li {
    font-size: 14.5px;
    line-height: 1.65;
    color: #2f343a;
}

.tx-policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 18px;
    font-size: 13.8px;
}

.tx-policy-table th,
.tx-policy-table td {
    border: 1px solid #e4d4be;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.tx-policy-table th {
    background: #fdf3e4;
    color: var(--tx-crimson-dark);
    font-weight: 800;
}

.tx-table-scroll {
    width: 100%;
    overflow-x: auto;
}

.tx-payment-qr-panel {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 22px;
    align-items: center;
    background: #fef8ee;
    border: 1.5px solid #e7d3b6;
    border-radius: 14px;
    padding: 20px;
    margin: 14px 0;
}

.tx-trust-note {
    background: #eef8f1;
    border: 1px solid #c9e5d2;
    color: #1d4732;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 12.8px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.tx-trust-note a {
    color: var(--tx-crimson-main);
    font-weight: 700;
    text-decoration: underline;
}

/* ================= MINI-CART DRAWER ================= */
.tx-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.tx-backdrop.is-open {
    display: block;
}

.tx-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 410px;
    height: 100vh;
    background: #ffffff;
    z-index: 1010;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.22);
    transform: translateX(100%);
    transition: transform 0.26s ease;
    display: flex;
    flex-direction: column;
}

.tx-cart-drawer.is-open {
    transform: translateX(0);
}

.tx-drawer-head {
    background: var(--tx-crimson-dark);
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tx-drawer-head h3 {
    margin: 0;
    font-size: 17px;
}

.tx-close-btn {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}

.tx-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.tx-cart-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f1e6d8;
}

.tx-cart-item img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
}

.tx-qty-ctrl {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 6px;
}

.tx-qty-ctrl button {
    width: 38px;
    height: 36px;
    border: none;
    background: #f6f6f6;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
}

.tx-qty-ctrl span {
    min-width: 30px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

.tx-drawer-foot {
    padding: 16px 20px;
    border-top: 1px solid #eee;
    background: #fffaf3;
}

.tx-cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 17px;
    font-weight: 800;
    color: var(--tx-crimson-main);
    margin-bottom: 12px;
}

.tx-primary-cta {
    width: 100%;
    padding: 13px 18px;
    border: none;
    border-radius: 999px;
    background: var(--tx-btn-red);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.tx-primary-cta:hover {
    background: var(--tx-btn-red-hover);
}

/* ================= MODALS (CHI TIẾT / BIẾN THỂ & ĐẶT HÀNG NHANH) ================= */
.tx-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.55);
}

.tx-modal.is-open {
    display: flex;
}

.tx-modal-dialog {
    background: #ffffff;
    border-radius: 16px;
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.tx-detail-modal-dialog {
    max-width: 960px;
}

.tx-modal-head {
    background: var(--tx-crimson-main);
    color: #ffffff;
    padding: 15px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tx-modal-head h3 {
    margin: 0;
    font-size: 17px;
}

.tx-modal-body {
    padding: 22px;
}

.tx-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.tx-detail-grid > div {
    min-width: 0;
}

.tx-detail-grid > div > img {
    width: 100%;
    border-radius: 12px;
}

.tx-prod-gallery-box {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 20, 17, 0.14);
}

.tx-prod-gallery-box .tx-bb-medium {
    aspect-ratio: 4 / 3;
}

.tx-prod-gallery-box .tx-bb-stage-item img {
    object-fit: contain;
    background: #0f1411;
    border-radius: 0;
}

.tx-prod-gallery-box .tx-bb-thumb-btn {
    flex: 0 0 84px;
    height: 58px;
}

.tx-prod-gallery-box .tx-bb-thumb-btn img {
    border-radius: 0;
}

@media (max-width: 820px) {
    .tx-detail-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.tx-variant-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.tx-variant-chip {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1.5px solid #d9c8b4;
    background: #fffdf9;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.tx-variant-chip.is-selected {
    border-color: var(--tx-crimson-main);
    background: #fdecee;
    color: var(--tx-crimson-main);
}

.tx-form-group {
    margin-bottom: 14px;
}

.tx-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
}

.tx-form-control {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d5c7b8;
    font-size: 14px;
    font-family: inherit;
}

/* ================= FLOATING ACTION BUTTON & TOAST ================= */
.tx-fab-wrap {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 880;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.tx-fab-menu {
    display: none;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.tx-fab-wrap.is-open .tx-fab-menu {
    display: flex;
}

.tx-fab-item {
    background: #ffffff;
    color: var(--tx-crimson-dark);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    border: 1px solid var(--tx-border-warm);
}

.tx-fab-main {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid #fbd2d7;
    background: #9a1934;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(154, 25, 52, 0.4);
}

.tx-toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%) translateY(20px);
    background: #1f2937;
    color: #ffffff;
    padding: 11px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1200;
}

.tx-toast.is-shown {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.tx-toast.is-error {
    background: #b82025;
}

/* Responsive */
@media (max-width: 900px) {
    .tx-header-top-inner,
    .tx-navbar-inner {
        padding-left: 110px;
    }
    .tx-header-top-inner {
        flex-wrap: wrap;
    }
    .tx-brand-seal {
        width: 94px;
        height: 94px;
    }
    .tx-hero-intro {
        flex-direction: column;
        align-items: stretch;
    }
    .tx-hero-cta-group {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: 0;
    }
    .tx-hero-cta-primary,
    .tx-hero-cta-secondary {
        flex: 1 1 220px;
    }
    .tx-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .tx-hero-grid {
        grid-template-columns: 1fr;
    }
    .tx-hero-side {
        flex-direction: row;
    }
}

@media (max-width: 760px) {
    .tx-hide-mobile {
        display: none !important;
    }
    .tx-header-top-inner {
        padding: 10px 0 10px 76px;
        flex-wrap: nowrap;
        gap: 8px;
    }
    .tx-search-wrap {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
    }
    .tx-search-input,
    .tx-form-control {
        font-size: 16px;
    }
    .tx-mobile-call-btn {
        display: inline-flex;
    }
    .tx-cart-label {
        display: none;
    }
    .tx-cart-trigger {
        padding: 8px 6px;
    }
    .tx-navbar-inner {
        padding-left: 0;
    }
    .tx-brand-seal {
        width: 64px;
        height: 64px;
        left: 8px;
        top: 6px;
    }
    .tx-hotline-box {
        display: none;
    }
    .tx-hero-intro {
        padding: 15px 16px;
    }
    .tx-hero-h1 {
        font-size: 20px;
    }
    .tx-hero-lead {
        font-size: 14px;
    }
    .tx-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .tx-card-bottom {
        flex-direction: column;
        align-items: stretch;
    }
    .tx-card-actions {
        justify-content: space-between;
    }
    .tx-btn-quick,
    .tx-btn-choose {
        flex: 1 1 auto;
    }
    .tx-download-cards,
    .tx-footer-grid,
    .tx-detail-grid,
    .tx-payment-qr-panel {
        grid-template-columns: 1fr;
    }
    .tx-dl-card {
        flex-direction: column;
        align-items: stretch;
    }
    .tx-dl-cta {
        justify-content: center;
    }
    .tx-hero-side {
        flex-direction: column;
    }
    .tx-bank-box {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .tx-footer-copy {
        padding: 16px 12px 8px;
    }
    .tx-policy-card {
        padding: 18px 16px;
    }
}

/* ==========================================================================
   CHUYÊN MỤC HOẠT ĐỘNG VÙNG TRÀ (TX-HERO-GRID + BONBANH IMG-BOX GALLERY)
   ========================================================================== */
.tx-journal-section {
    margin: 38px 0 34px;
    padding: 26px 24px 28px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fffdf9 0%, #f8f1e5 100%);
    border: 1px solid #e6d5bc;
    box-shadow: 0 12px 32px rgba(92, 45, 12, 0.07);
}

.tx-journal-head {
    margin-bottom: 18px;
}

.tx-journal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    color: #7c2d12;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.tx-journal-heading {
    margin: 0 0 6px;
    font-size: clamp(19px, 2.2vw, 25px);
    color: #6f0b16;
    font-weight: 800;
    line-height: 1.3;
}

.tx-journal-sub {
    margin: 0;
    font-size: 14.5px;
    color: #4b5563;
    max-width: 900px;
    line-height: 1.55;
}

/* Bố cục 2 cột đồng nhất với .tx-hero-grid (2.35fr / 1fr) */
.tx-journal-grid {
    display: grid;
    grid-template-columns: 2.35fr 1fr;
    gap: 18px;
    align-items: start;
}

.tx-journal-main {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5d5c0;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(31, 41, 55, 0.05);
}

/* Khối trình bày ảnh/video kiểu Bonbanh (medium_img + list_thumb) */
.tx-bb-img-box {
    background: #171c18;
    padding: 12px 12px 10px;
    position: relative;
}

.tx-bb-loading {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    background: rgba(17, 24, 39, 0.86);
    color: #fde68a;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
}

.tx-bb-medium {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f1411;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tx-bb-stage-item {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
}

.tx-bb-stage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: transform 0.35s ease;
}

.tx-bb-stage-item:hover img {
    transform: scale(1.015);
}

.tx-bb-stage-item video,
.tx-bb-stage-item iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #000000;
}

.tx-bb-zoom-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.76);
    color: #f8fafc;
    font-size: 12px;
    font-weight: 600;
    pointer-events: none;
    backdrop-filter: blur(3px);
}

.tx-bb-counter {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: #fde68a;
    font-size: 12px;
    font-weight: 800;
    z-index: 4;
}

.tx-bb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(15, 23, 42, 0.68);
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.tx-bb-nav:hover {
    background: #8f070e;
}

.tx-bb-nav--prev {
    left: 12px;
}

.tx-bb-nav--next {
    right: 12px;
}

.tx-bb-caption {
    margin-top: 8px;
    padding: 4px 6px 6px;
    font-size: 13px;
    color: #e7e5e4;
    text-align: center;
    min-height: 24px;
    line-height: 1.45;
}

.tx-bb-list-thumb {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tx-bb-thumb-gallery {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.tx-bb-thumb-btn {
    position: relative;
    flex: 0 0 98px;
    height: 62px;
    padding: 0;
    border-radius: 7px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.22);
    background: #0c0a09;
    cursor: pointer;
    opacity: 0.72;
    transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tx-bb-thumb-btn:hover {
    opacity: 0.95;
}

.tx-bb-thumb-btn.is-active {
    opacity: 1;
    border-color: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.35);
}

.tx-bb-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tx-bb-thumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.36);
    color: #ffffff;
    font-size: 15px;
}

.tx-journal-story {
    padding: 18px 22px 22px;
}

.tx-journal-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    font-size: 13px;
    color: #57534e;
    margin-bottom: 9px;
}

.tx-journal-cat-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    background: #710011;
    color: #fffbeb;
    font-size: 11.5px;
    font-weight: 700;
}

.tx-journal-title {
    margin: 0 0 9px;
    font-size: clamp(18px, 1.8vw, 22px);
    color: #1f2937;
    line-height: 1.38;
    font-weight: 800;
}

.tx-journal-summary {
    margin: 0 0 15px;
    font-size: 14.5px;
    color: #374151;
    line-height: 1.62;
}

.tx-journal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.tx-journal-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    min-height: 42px;
    border-radius: 9px;
    border: 1px solid #8f070e;
    background: #fff8ee;
    color: #710011;
    font-size: 13.5px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.tx-journal-read-btn:hover {
    background: #710011;
    color: #ffffff;
}

/* Cột phải: Danh sách các chuyến đi & bài viết */
.tx-journal-side {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5d5c0;
    padding: 13px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 6px 18px rgba(31, 41, 55, 0.04);
}

.tx-journal-side-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 4px 8px;
    border-bottom: 1px solid #f0e4d4;
    font-size: 12.5px;
    font-weight: 800;
    color: #710011;
}

.tx-journal-side-head small {
    font-weight: 700;
    color: #6b7280;
}

.tx-journal-side-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 675px;
    overflow-y: auto;
    padding-right: 2px;
}

.tx-story-side-card {
    width: 100%;
    text-align: left;
    background: #fdfaf5;
    border: 1px solid #e9dcc9;
    border-radius: 11px;
    padding: 9px;
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 10px;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.18s ease;
}

.tx-story-side-card:hover {
    border-color: #c78d2c;
    background: #fff9ef;
    transform: translateY(-1px);
}

.tx-story-side-card.is-active {
    background: #fff5e6;
    border-color: #8f070e;
    box-shadow: 0 0 0 2px rgba(143, 7, 14, 0.14);
}

.tx-story-side-thumb {
    position: relative;
    width: 116px;
    height: 82px;
    border-radius: 8px;
    overflow: hidden;
    background: #1f2937;
}

.tx-story-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tx-story-side-count {
    position: absolute;
    left: 5px;
    bottom: 5px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.8);
    color: #fef3c7;
    font-size: 10px;
    font-weight: 700;
}

.tx-story-side-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tx-story-side-cat {
    font-size: 11px;
    font-weight: 800;
    color: #9a3412;
    text-transform: uppercase;
}

.tx-story-side-title {
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tx-story-side-date {
    font-size: 11.5px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Modal Đọc trọn vẹn bài viết & phóng sự */
.tx-story-modal-dialog {
    max-width: 860px;
}

.tx-story-modal-body {
    max-height: 80vh;
    overflow-y: auto;
    line-height: 1.72;
    color: #1f2937;
}

.tx-story-article-lead {
    font-size: 15.5px;
    font-weight: 700;
    color: #374151;
    background: #fdf6ec;
    border-left: 4px solid #c78d2c;
    padding: 12px 15px;
    border-radius: 8px;
    margin: 12px 0 16px;
}

.tx-story-article-content p {
    margin: 0 0 14px;
    font-size: 15px;
    text-align: justify;
}

.tx-story-modal-gallery {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.tx-story-modal-figure {
    margin: 0;
    background: #faf6f0;
    border: 1px solid #e7dac8;
    border-radius: 10px;
    overflow: hidden;
}

.tx-story-modal-figure img,
.tx-story-modal-figure video,
.tx-story-modal-figure iframe {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    border: 0;
    background: #111827;
}

.tx-story-modal-figure img {
    cursor: zoom-in;
}

.tx-story-modal-figure figcaption {
    padding: 8px 11px;
    font-size: 12.5px;
    color: #4b5563;
}

/* Lightbox Phóng to Ảnh (Thay thế Highslide thuần JS) */
.tx-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1600;
    background: rgba(10, 12, 16, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px 56px;
}

.tx-lightbox.is-open {
    display: flex;
}

.tx-lb-inner {
    max-width: min(1140px, 100%);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tx-lb-stage img {
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
    display: block;
}

.tx-lb-bar {
    margin-top: 12px;
    text-align: center;
    color: #f3f4f6;
}

.tx-lb-counter {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fde68a;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 5px;
}

.tx-lb-caption {
    margin: 0;
    font-size: 14px;
    color: #e5e7eb;
    max-width: 780px;
}

.tx-lb-close {
    position: fixed;
    top: 16px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(31, 41, 55, 0.78);
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.tx-lb-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(31, 41, 55, 0.78);
    color: #ffffff;
    font-size: 17px;
    cursor: pointer;
    z-index: 2;
}

.tx-lb-nav--prev {
    left: 16px;
}

.tx-lb-nav--next {
    right: 16px;
}

@media (max-width: 980px) {
    .tx-journal-grid {
        grid-template-columns: 1fr;
    }
    .tx-journal-side-list {
        max-height: none;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .tx-journal-section {
        padding: 18px 14px 20px;
    }
    .tx-journal-story {
        padding: 15px 14px 18px;
    }
    .tx-journal-side-list,
    .tx-story-modal-gallery {
        grid-template-columns: 1fr;
    }
    .tx-bb-zoom-badge {
        font-size: 11px;
        padding: 4px 8px;
    }
    .tx-lightbox {
        padding: 16px 12px;
    }
}
