/* ===========================
   GORDAK Vietnam - style.css
   Bootstrap 5 custom overrides
   Matched pixel-perfect to home.jpg
   =========================== */

/* ---- Reset & Global ---- */
*, *::before, *::after {
    box-sizing: border-box
}

body {
    font-family: 'Roboto',Arial,Helvetica,sans-serif;
    color: #1a2b4a;
    background: #fff;
    font-size: 15px;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%
}

/* ---- Logo ---- */
.logo-wrap {
    gap: 8px
}

.logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1a3c8a;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 22px;
    flex-shrink: 0;
    border: 2px solid #ffd12a;
}

.logo-mark-sm {
    width: 34px;
    height: 34px;
    font-size: 17px
}

.logo-text {
    font-size: 28px;
    font-weight: 900;
    color: #1a3c8a;
    letter-spacing: .5px;
    line-height: 1;
}

    .logo-text small {
        display: block;
        font-size: 9px;
        letter-spacing: 2.5px;
        margin-top: 0;
        font-weight: 600;
        color: #1a3c8a;
        text-transform: uppercase;
    }

.logo-text-sm {
    font-size: 20px
}

/* ---- Header Desktop ---- */
.top-header {
    background: #fff;
    border-bottom: 1px solid #e0e8f2
}

  .top-header .py-3 {
    padding-top: 1.15rem !important;
    padding-bottom: 1.15rem !important;
}

.search-box {
    max-width: 380px
}

.search-input {
    border: 1px solid #c5d1e3;
    border-right: 0;
    border-radius: 6px 0 0 6px;
    height: 40px;
    font-size: 14px;
    padding: 0 14px;
}

    .search-input:focus {
        box-shadow: none;
        border-color: #1a3c8a
    }

.btn-search {
    width: 42px;
    border: 0;
    border-radius: 0 6px 6px 0;
    background: #1a3c8a;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qi-icon {
    font-size: 22px;
    color: #1a3c8a
}

.quick-item b {
    font-size: 14px;
    color: #1a2b4a;
    line-height: 1.2;
    display: block;
    font-weight: 700
}

.quick-item .text-muted {
    font-size: 12px !important;
    color: #2145A4 !important;
    font-weight: 700;
}

.zalo-circle {
    width: 28px;
    height: 28px;
    border: 1.5px solid #0068ff;
    color: #0068ff;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 900;
    flex-shrink: 0;
}

.cart-wrap {
    cursor: pointer
}

    .cart-wrap b {
        font-size: 14px;
        color: #1a2b4a;
        font-weight: 700
    }

.cart-badge {
    position: absolute;
    top: -5px;
    left: 13px;
    background: #e30000;
    color: #fff;
    border-radius: 50%;
    font-size: 8px;
    width: 15px;
    height: 15px;
    display: grid;
    place-items: center;
    font-weight: 700;
}

/* ===== Desktop Nav (MenuGood pattern: ul > li > a) ===== */
.desktop-nav {
    background: #fff;
    border-top: 1px solid #e0e8f2;
    padding: 0;
    position: relative;
    z-index: 999;
}
.desktop-nav .container { height: 48px; }

/* Top-level list */
.desktop-nav > .container > ul {
    margin: 0; padding: 0;
    display: flex; align-items: center; justify-content: center;
    height: 48px; gap: 0;
}
.desktop-nav ul { margin: 0; padding: 0; list-style: none; }
.desktop-nav ul li { position: relative; }

/* Top-level links */
.desktop-nav > .container > ul > li > a {
    font-weight: 700; font-size: 14px;
    color: #0d2556; display: flex; align-items: center; gap: 6px;
    padding: 0 22px; height: 48px; line-height: 48px;
    text-decoration: none; white-space: nowrap;
    transition: color .15s;
}
.desktop-nav > .container > ul > li > a:hover,
.desktop-nav > .container > ul > li > a.active { color: #1a3c8a; }

.nav-arr { font-size: 9px; margin-left: 2px; }

/* ---- Sub-menu (level 1 dropdown) ---- */
.desktop-nav li > ul {
    position: absolute; z-index: 999;
    top: 48px; left: 0;
    width: 240px;
    background: #fff;
    border: 1px solid #e0e8f2;
    border-top: 2px solid #1a3c8a;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 6px 16px rgba(0,0,0,.10);
    display: none;
    overflow: visible !important;
}
/* Sub-menu links */
.desktop-nav li > ul > li > a {
    display: block; padding: 10px 18px;
    font-weight: 500; font-size: 14px;
    color: #333; text-decoration: none;
    border-bottom: 1px solid #f3f3f3;
    transition: background .15s, color .15s;
    height: auto; line-height: normal;
}
.desktop-nav li > ul > li:last-child > a { border-bottom: none; }
.desktop-nav li > ul > li > a:hover,
.desktop-nav li > ul > li > a.active { background: #f0f5ff; color: #1a3c8a; }

/* ---- Sub-sub-menu (level 2+) ---- */
.desktop-nav li > ul > li > ul {
    top: 0; left: 240px;
    border-radius: 4px;
    border-top: 2px solid #1a3c8a;
}

/* ---- Hover show/hide (like MenuGood) ---- */
.desktop-nav li:hover > ul { display: block; }
.desktop-nav li:hover > ul ul { display: none; }
.desktop-nav li > ul > li:hover > ul { display: block; }
.desktop-nav li > ul > li > ul > li:hover > ul { display: block; }

/* ---- Mobile menu style ---- */
.mobile-header ul { margin: 0; padding: 0; list-style: none; }
.mobile-header ul li a {
    display: block; padding: 10px 15px;
    color: #333; text-decoration: none;
    font-weight: 600; font-size: 14px;
    border-bottom: 1px solid #eee;
}
.mobile-header ul li a:hover,
.mobile-header ul li a.active { color: #1a3c8a; background: #f5f8ff; }
.mobile-header ul li > ul { padding-left: 18px; }
.mobile-header ul li > ul > li > a { font-weight: 400; font-size: 13px; }
.mobile-header .nav-arr { display: none; }


/* ---- Header Mobile ---- */
.mobile-header {
    border-bottom: 1px solid #e0e8f2;
    background: #fff
}

    .mobile-header .search-box {
        max-width: 100%
    }

.mq-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: #5a6c85;
    font-weight: 600;
}

    .mq-item i {
        font-size: 18px;
        color: #1a3c8a
    }

/* ---- Hero Slider ---- */
.hero-section {
    background: #0a1e4a
}

.hero-slider-wrap {
    position: relative;
    overflow: hidden
}

.hero-slider {
    transition: transform .5s ease-in-out;
    width: 100%;
    display: flex
}

.hero-slide {
    min-width: 100%;
    position: relative
}

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    font-size: 18px;
    color: #333;
}
.hero-slider-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #1a3c8a;
}
.hero-slider-btn.prev-btn {
    left: 20px;
}
.hero-slider-btn.next-btn {
    right: 20px;
}

.banner-img {
    width: 100%;
    display: block
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 5;
    color: #fff;
}

    .hero-overlay .row {
        width: 100%
    }

.hero-title {
    font-size: 34px;
    line-height: 1.08;
    font-weight: 900;
    margin-bottom: 20px
}

.hero-gold {
    color: #ffd12a;
    font-size: 50px;
    display: block;
    margin: 4px 0;
    font-weight: 900
}

.hero-list {
    display: grid;
    gap: 10px;
    font-size: 16px;
    font-weight: 500
}

    .hero-list li {
        display: flex;
        align-items: center;
        gap: 9px
    }

.hero-check {
    color: #ffd12a;
    font-size: 10px;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid #ffd12a;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.hero-product-img {
    max-height: 340px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,.35))
}

/* Cert box desktop */
.cert-box {
    position: absolute;
    right: 28px;
    top: 28px;
    width: 200px;
    z-index: 15;
    background: rgba(10,30,74,.88);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    padding: 14px 12px;
    color: #fff;
    backdrop-filter: blur(8px);
}

.cert-gold-wrap {
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding-bottom: 10px;
    margin-bottom: 10px
}

.cert-label {
    font-size: 20px;
    font-weight: 900;
    color: #ffd12a;
    letter-spacing: 2px
}

.cert-sub {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase
}

.cert-loc {
    font-size: 10px;
    color: #ffd12a;
    font-weight: 700;
    margin-top: 2px
}

.cert-stars {
    color: #ffd12a;
    font-size: 12px;
    margin-top: 2px
}

.cert-title {
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 7px
}

.cert-desc {
    font-size: 11px;
    line-height: 1.45;
    color: #c5d4f0;
    margin-bottom: 12px
}

.btn-cert {
    border: 1px solid #fff;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 11px;
    color: #fff;
    font-weight: 700;
    transition: all .2s;
}

    .btn-cert:hover {
        background: #fff;
        color: #0a1e4a
    }

/* Cert mobile */
.cert-badge-mobile {
    position: absolute;
    right: 8px;
    top: 8px;
    background: rgba(10,30,74,.82);
    border: 1px solid rgba(255,209,42,.45);
    border-radius: 6px;
    padding: 6px 8px;
    color: #fff;
    text-align: center;
    z-index: 15;
    font-size: 7px;
    line-height: 1.3;
}

.cert-label-sm {
    font-size: 11px;
    font-weight: 900;
    color: #ffd12a
}

.cert-loc-sm {
    font-size: 7px;
    color: #ffd12a;
    font-weight: 700
}

.cert-stars-sm {
    color: #ffd12a;
    font-size: 8px
}

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
    align-items: center;
}

    .slider-dots span {
        width: 12px;
        height: 12px;
        background: rgba(255,255,255,.15);
        border: 2px solid rgba(255,255,255,.5);
        border-radius: 50%;
        cursor: pointer;
        transition: all .35s ease;
    }

    .slider-dots span:hover {
        background: rgba(255,255,255,.35);
        border-color: rgba(255,255,255,.7);
    }

        .slider-dots span.active {
            width: 32px;
            height: 12px;
            border-radius: 20px;
            background: #fff;
            border-color: #fff;
        }


/* ---- Categories ---- */
.cat-wrap {
    margin-top: -13px;
    position: relative;
    z-index: 10
}

.cats-row {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(10,30,74,.08);
    border: 1px solid #e0e8f2;
    overflow: hidden;
}

.cat-col {
    border-right: 1px solid #e8eef6
}

    .cat-col:last-child {
        border-right: 0
    }

.cat-item {
    padding: 18px 6px;
    cursor: pointer;
    transition: background .15s
}

    .cat-item:hover {
        background: #f5f8ff
    }

.cat-img {
    height: 55px;
    object-fit: contain;
    margin-bottom: 8px
}

.cat-item b {
    display: block;
    color: #0d2556;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 3px;
    font-weight: 800
}

.cat-item small {
    color: #7a8aa3;
    font-size: 12px
}

/* ---- Section Common ---- */
.section-head {
    padding-bottom: 15px;
    margin-bottom: 15px
}

.section-title {
    font-size: 22px;
    color: #0d2556;
    font-weight: 900;
    margin: 0;
    letter-spacing: .2px
}

.view-all {
    color: #1a3c8a;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px
}

    .view-all i {
        font-size: 11px
    }

.section-products {
    margin-top: 42px;
    margin-bottom: 32px
}

    .section-products .section-head {
        margin-bottom: 18px
    }

/* ---- Product Cards ---- */
.product-card {
    border: 1px solid #e0e8f2;
    border-radius: 8px;
    padding: 12px;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .15s,box-shadow .15s;
}

    .product-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(10,30,74,.08)
    }

.badge-hot {
    position: absolute;
    left: 16px;
    top: 16px;
    background: #e30000;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 3px;
    padding: 2px 6px;
    z-index: 1;
}

.badge-heart {
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 17px;
    color: #b0bdd0;
    cursor: pointer;
    z-index: 1;
    transition: color .2s;
}

    .badge-heart:hover {
        color: #e30000
    }

.product-img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 10px
}

.product-name {
    font-size: 14px;
    line-height: 1.35;
    color: #0d2556;
    margin: 0 0 5px;
    min-height: 36px;
    overflow: hidden;
    font-weight: 700
}

.product-desc {
    font-size: 12px;
    line-height: 1.45;
    color: #5a6c85;
    margin: 0;
    min-height: 32px;
    overflow: hidden
}

.product-price {
    font-size: 15px;
    color: #e30000;
    font-weight: 900;
    margin: 10px 0
}

.product-actions {
    margin-top: auto
}

/* Buttons */
.btn-outline-gd {
    border: 1px solid #1a3c8a;
    color: #1a3c8a;
    border-radius: 5px;
    padding: 7px 4px;
    text-align: center;
    font-size: 16px !important;
    transition: all .15s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

    .btn-outline-gd:hover {
        background: #eef2fb
    }

.btn-gd {
    background: #1a3c8a;
    color: #fff;
    border: 1px solid #1a3c8a;
    border-radius: 5px;
    padding: 7px 4px;
    text-align: center;
    font-size: 13px;
    transition: all .15s;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-gd:hover {
        background: #102b6a;
        color: #fff
    }

    .btn-gd i {
        font-size: 15px
    }

/* ---- Why Choose ---- */
.section-why {
    margin: 38px auto 32px
}

    .section-why .section-title {
        font-size: 22px;
        margin-bottom: 28px
    }

.why-ico {
    font-size: 42px;
    color: #1a3c8a;
    margin-bottom: 14px
}

.why-desktop b {
    color: #1a3c8a;
    font-size: 16px;
    display: block;
    margin-bottom: 6px;
}

.why-desktop p {
    font-size: 13px;
    color: #5a6c85;
    line-height: 1.5;
    margin: 0
}

.why-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.why-m-item {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #e0e8f2
}

.why-m-ico {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: #edf2fc;
    display: grid;
    place-items: center;
    color: #1a3c8a;
    font-size: 16px;
}

.why-m-item b {
    font-size: 14px;
    color: #0d2556
}

/* ---- Brand ---- */
.section-brand {
    margin-bottom: 40px
}

.brand-card {
    background: #f0f3f9;
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
}

.brand-img-wrap {
    border-radius: 8px;
    overflow: hidden
}

.factory-img {
    object-fit: cover
}

.brand-title {
    font-size: 24px;
    color: #1a3c8a;
    font-weight: 900;
    margin-bottom: 12px
}

.brand-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #3a4d6b;
    margin-bottom: 6px
}

.stat-ico {
    font-size: 22px;
    color: #1a3c8a;
    display: block;
    margin-bottom: 6px
}

.stat-num {
    font-size: 22px;
    color: #1a3c8a;
    display: block;
    font-weight: 900
}

.stat-label {
    font-size: 10px;
    color: #5a6c85;
    text-transform: uppercase;
    display: block;
    font-weight: 600
}

/* ---- Media (Video + News) ---- */
.section-media {
    margin-bottom: 40px
}

    .section-media .section-head {
        margin-bottom: 14px
    }

.video-card {
    cursor: pointer
}

.video-thumb {
    border-radius: 6px;
    overflow: hidden;
    background: #0a1e4a;
    margin-bottom: 6px
}

    .video-thumb img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        opacity: .85;
        transition: opacity .15s
    }

    .video-thumb:hover img {
        opacity: 1
    }

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 34px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
    z-index: 3;
}

.video-time {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: rgba(0,0,0,.7);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 1px 4px;
    border-radius: 2px;
    z-index: 2;
}

.video-card b {
    font-size: 13px;
    color: #0d2556;
    line-height: 1.35;
    display: block
}

.news-thumb {
    width: 120px;
    min-width: 120px;
    height: 78px;
    object-fit: cover;
    border-radius: 6px
}

.news-item {
    border-bottom: 1px solid #e0e8f2;
    padding-bottom: 12px;
    cursor: pointer
}

    .news-item:last-child {
        border-bottom: 0;
        padding-bottom: 0
    }

    .news-item small {
        font-size: 12px;
        color: #7a8aa3
    }

    .news-item b {
        font-size: 14px;
        color: #0d2556;
        line-height: 1.45;
        transition: color .15s;
        display: block;
        margin-top: 3px
    }

    .news-item:hover b {
        color: #1a3c8a
    }

/* ---- CTA ---- */
.cta-section {
    background: linear-gradient(90deg,#0a1e4a 0%,#1a3c8a 100%);
    color: #fff
}

.cta-title {
    font-size: 22px;
    font-weight: 900;
    margin: 0
}

.cta-sub {
    margin: 4px 0 0;
    color: #c5d4f0;
    font-size: 14px
}

.cta-btn-white {
    background: #fff;
    color: #1a3c8a;
    border-radius: 5px;
    padding: 11px 20px;
    font-weight: 800;
    font-size: 14px;
    transition: opacity .15s;
    white-space: nowrap;
}

    .cta-btn-white:hover {
        opacity: .9;
        color: #1a3c8a
    }

.cta-btn-outline {
    border: 1px solid #fff;
    color: #fff;
    border-radius: 5px;
    padding: 11px 20px;
    font-weight: 800;
    font-size: 14px;
    transition: background .15s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

    .cta-btn-outline:hover {
        background: rgba(255,255,255,.1);
        color: #fff
    }

/* ---- Footer (new design) ---- */
.commitment-bar {
    background-color: #001D57;
    color: #fff;
    padding: 16px 0;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

.flex-footer-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.commitment-text {
    display: flex;
    align-items: center;
    gap: 16px;
}

.commitment-text i {
    font-size: 32px;
    color: #fff;
    flex-shrink: 0;
}

.commitment-text strong {
    font-size: 14px;
    letter-spacing: 0.4px;
    display: block;
    margin-bottom: 2px;
}

.commitment-text p {
    font-size: 12px;
    opacity: 0.75;
    margin: 0;
}

.commitment-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-cb-quote {
    background: #fff;
    color: #001D57;
    padding: 9px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    transition: opacity .15s;
}

.btn-cb-quote:hover { opacity: .85; color: #001D57; }

.btn-cb-call {
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
    transition: background .15s;
}

.btn-cb-call:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn-cb-zalo {
    background: #fff;
    color: #001D57;
    padding: 7px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: opacity .15s;
}

.btn-cb-zalo img { width: 20px; }
.btn-cb-zalo:hover { opacity: .85; }

/* Main Footer */
.main-footer {
    background-color: #001D57;
    color: #fff;
    padding: 40px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 32px;
    padding-bottom: 32px;
}

.footer-logo-wrap {
    margin-bottom: 14px;
}

.footer-logo-img {
    height: 42px;
    max-width: 190px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
}

.footer-col-desc {
    font-size: 13px;
    line-height: 1.65;
    color: #a8bcd8;
    margin-bottom: 14px;
}

.footer-social {
    display: flex;
    gap: 9px;
    margin-top: 4px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: opacity .15s;
}

.footer-social a:hover { opacity: .8; }
.fsoc-fb { background: #3b5998; }
.fsoc-yt { background: #ff0000; }
.fsoc-zl { background: #0084ff; }

.footer-col h4 {
    font-size: 13px;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #fff;
}

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

.footer-col ul li {
    margin-bottom: 9px;
}

    .footer-col ul li a {
        color: #a8bcd8;
        text-decoration: none;
        font-size: 13px;
        transition: color .15s;
    }

.footer-col ul li a:hover { color: #fff; }

.footer-contact-info li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: #a8bcd8;
    line-height: 1.5;
}

.footer-contact-info li a {
    color: #a8bcd8;
    text-decoration: none;
}

.footer-contact-info li a:hover { color: #fff; }

.footer-contact-info i {
    margin-top: 3px;
    font-size: 13px;
    flex-shrink: 0;
    color: #6b8abf;
    width: 14px;
    text-align: center;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 14px 0;
    font-size: 12px;
    color: #6b8abf;
    text-align: center;
}

/* ---- Mobile Bottom Nav ---- */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e0e8f2;
    display: flex;
    justify-content: space-around;
    padding: 5px 0 calc(5px + env(safe-area-inset-bottom));
    z-index: 1000;
    box-shadow: 0 -1px 6px rgba(0,0,0,.04);
}

.mnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    font-size: 9px;
    color: #1a3c8a;
    font-weight: 600;
}

    .mnav-item i {
        font-size: 16px
    }

    .mnav-item.active {
        color: #1a3c8a
    }

.mnav-badge {
    position: absolute;
    top: -3px;
    right: -7px;
    background: #1a3c8a;
    color: #fff;
    border-radius: 50%;
    font-size: 7px;
    width: 14px;
    height: 14px;
    display: grid;
    place-items: center;
}

/* ---- Floating Chat ---- */
.chat-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    background: #fff;
    border: 1px solid #c5d1e3;
    border-radius: 24px;
    padding: 7px 14px;
    font-weight: 800;
    font-size: 12px;
    color: #1a3c8a;
    box-shadow: 0 3px 12px rgba(0,0,0,.08);
    align-items: center;
    gap: 7px;
    cursor: pointer;
    z-index: 100;
    transition: transform .15s;
}

    .chat-float:hover {
        transform: translateY(-2px)
    }

/* ========== RESPONSIVE ========== */
@media(max-width:991.98px) {
    .banner-img {
        height: 180px
    }

    .hero-overlay {
        padding: 14px 10px
    }

    .hero-title {
        font-size: 18px
    }

    .hero-gold {
        font-size: 26px
    }

    .hero-list {
        font-size: 11px;
        gap: 5px
    }

    .hero-check {
        width: 15px;
        height: 15px;
        font-size: 8px;
        min-width: 15px
    }

    .cat-wrap {
        margin-top: -24px
    }

    .cats-row {
        border-radius: 7px
    }

    .cat-img {
        height: 36px;
        margin-bottom: 4px
    }

    .cat-item {
        padding: 10px 2px
    }

        .cat-item b {
            font-size: 8px;
            margin-bottom: 0
        }

    .section-products {
        margin-top: 22px;
        margin-bottom: 22px
    }

    .section-title {
        font-size: 14px
    }

    .product-img {
        height: 110px
    }

    .product-name {
        font-size: 11px;
        min-height: 26px
    }

    .product-desc {
        font-size: 9px;
        min-height: 22px
    }

    .product-price {
        font-size: 14px;
        margin: 5px 0
    }

    .btn-outline-gd, .btn-gd {
        font-size: 11px;
        padding: 5px 6px;
        border-radius: 6px;
        gap: 3px;
    }

    .btn-gd i {
        font-size: 11px;
    }

    .section-why {
        margin: 22px auto
    }

    .section-brand {
        margin-bottom: 22px
    }

    .brand-card {
        padding: 0;
        border-radius: 8px
    }

    .factory-img {
        height: 160px
    }

    .brand-title {
        font-size: 16px
    }

    .brand-desc {
        font-size: 11px
    }

    .section-media {
        margin-bottom: 22px
    }

    .video-thumb img {
        height: 80px
    }

    .video-card b {
        font-size: 10px
    }

    .cta-title {
        font-size: 15px
    }

    .cta-sub {
        font-size: 11px
    }

    .cta-btn-white, .cta-btn-outline {
        padding: 8px 12px;
        font-size: 11px
    }

    .footer-col h4 {
        font-size: 12px;
    }

    .footer-col-desc {
        font-size: 11px;
    }

    .footer-col ul li a {
        font-size: 11px;
    }

    body {
        padding-bottom: 56px
    }
}

@media(max-width:575.98px) {
    .section-title {
        font-size: 13px
    }

    .product-img {
        height: 90px
    }

    .product-name {
        font-size: 10px;
        min-height: 24px
    }

    .product-price {
        font-size: 13px
    }

    .stats-row .col-3 {
        flex: 0 0 50%;
        max-width: 50%
    }

    .stat-num {
        font-size: 16px
    }

    .stat-label {
        font-size: 7px
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== PRODUCT DETAIL V2 (REAL LAYOUT) ========== */
.pd2-wrap {
    margin-top: 20px;
    margin-bottom: 40px;
}

.pd2-breadcrumb {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

    .pd2-breadcrumb a {
        color: #333;
        text-decoration: none;
        transition: color 0.2s;
    }

        .pd2-breadcrumb a:hover {
            color: #1a3c8a;
        }

    .pd2-breadcrumb i {
        font-size: 10px;
        color: #999;
    }

    .pd2-breadcrumb .active {
        color: #666;
    }

/* Layout Grid */
.pd2-main-row {
    margin-bottom: 30px;
}

/* Gallery */
.pd2-gallery {
    padding-right: 0;
}

.pd2-main-img-wrap {
    position: relative;
    border: 1px solid #e5e5e5;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 380px;
    background: #fff;
}

    .pd2-main-img-wrap img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }

.pd2-expand-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f0f0f0;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    opacity: 0.7;
    transition: opacity 0.2s;
}

    .pd2-expand-btn:hover {
        opacity: 1;
    }

.pd2-thumbs {
    display: flex;
    gap: 10px;
    align-items: center;
    overflow-x: auto;
    flex-wrap: nowrap;
    scroll-behavior: smooth;
    /* Hide scrollbar */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.pd2-thumbs::-webkit-scrollbar {
    display: none;
}

.pd2-thumb-item {
    flex: 0 0 calc(25% - 8px);
    width: calc(25% - 8px);
    aspect-ratio: 1;
    border: 1px solid #e5e5e5;
    padding: 5px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s;
}

    .pd2-thumb-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .pd2-thumb-item.active, .pd2-thumb-item:hover {
        border-color: #1a3c8a;
    }

.pd2-thumb-nav {
    cursor: pointer;
    color: #333;
    font-size: 18px;
    padding: 0 5px;
}

/* Info */
.pd2-info {
    padding-left: 0;
}

.pd2-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 3px;
    line-height: 1.3;
}

.pd2-meta-table {
    width: 100%;
    font-size: 14px;
    color: #333;
    margin-bottom: 3px;
}

    .pd2-meta-table td {
        padding: 4px 0;
    }

.pd2-meta-label {
    color: #666;
    width: 130px;
}

.pd2-status-green {
    color: #28a745;
    font-weight: 500;
}

/* Price */
.pd2-price-wrap {
    margin-bottom: 20px;
    padding-bottom: 0px;
}

.pd2-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    font-size: 14px;
}

.pd2-price-red {
    color: #e30000;
    font-weight: 700;
}

.pd2-price-main {
    color: #e30000;
    font-weight: 700;
    font-size: 18px;
}

/* Buttons */
.pd2-btn-buy {
    background: #1a3c8a;
    border: 1px solid #1a3c8a;
    color: #fff;
    width: 100%;
    padding: 3px;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 12px;
    transition: background 0.2s;
    display: block;
}

    .pd2-btn-buy:hover {
        background: #132a61;
        color: #fff;
    }

    .pd2-btn-buy .main-text {
        font-size: 16px;
        font-weight: 700;
        display: block;
        margin-bottom: 2px;
    }

    .pd2-btn-buy .sub-text {
        font-size: 12px;
        font-weight: 400;
        display: block;
    }

.pd2-btn-outline {
    background: #fff;
    border: 1px solid #1a3c8a;
    color: #1a3c8a;
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 12px;
    font-weight: 700;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .pd2-btn-outline:hover {
        background: #f4f8ff;
        color: #1a3c8a;
    }

.pd2-btn-zalo {
    background: #fff;
    border: 1px solid #1a3c8a;
    color: #1a3c8a;
    width: 100%;
    padding: 3px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
}

    .pd2-btn-zalo:hover {
        background: #f4f8ff;
        color: #1a3c8a;
    }

    .pd2-btn-zalo .zalo-icon-right {
        position: absolute;
        right: 15px;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        border: 1px solid #1a3c8a;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 9px;
        font-weight: bold;
    }

    .pd2-btn-zalo .text-wrap {
        text-align: center;
    }

    .pd2-btn-zalo .main-text {
        font-size: 14px;
        font-weight: 700;
        display: block;
        color: #333;
        margin-bottom: 2px;
    }

    .pd2-btn-zalo .sub-text {
        font-size: 12px;
        color: #1a3c8a;
        display: block;
    }

/* E-commerce links */
.pd2-ecommerce {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.pd2-ecommerce-btn {
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 5px 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #333;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: border-color 0.2s;
    background: #fff;
}

    .pd2-ecommerce-btn:hover {
        border-color: #1a3c8a;
    }

    .pd2-ecommerce-btn i {
        font-size: 16px;
    }

    .pd2-ecommerce-btn .shopee-text {
        color: #ee4d2d;
    }

    .pd2-ecommerce-btn .lazada-text {
        color: #0f136d;
    }

/* Sidebar */
.pd2-sidebar-box {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 20px;
    background: #f8f9fa;
    overflow: hidden;
    padding: 15px 0;
}

    .pd2-sidebar-box.bg-white {
        background: #fff;
    }

.pd2-sidebar-title {
    background: transparent;
    padding: 0 15px 15px 15px;
    font-size: 15px;
    font-weight: 700;
    color: #1a3c8a;
    margin: 0;
    border-bottom: none;
    text-transform: uppercase;
    text-align: center;
}

    .pd2-sidebar-title.text-start {
        text-align: left;
    }

.pd2-commit-list {
    padding: 0 15px;
}

.pd2-commit-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    align-items: flex-start;
}

    .pd2-commit-item:last-child {
        margin-bottom: 0;
    }

.pd2-commit-icon {
    width: 24px;
    font-size: 20px;
    color: #1a3c8a;
    text-align: center;
    margin-top: 2px;
}

    .pd2-commit-icon img {
        max-width: 30px;
    }
.pd2-commit-text h4 {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin: 0 0 4px;
}

.pd2-commit-text p {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.pd2-cert-content {
    padding: 0 15px;
    text-align: center;
}

.pd2-cert-img {
    max-width: 100%;
    margin-bottom: 15px;
    border: none;
}

.pd2-cert-btn {
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    padding: 6px 15px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    display: inline-block;
}

    .pd2-cert-btn:hover {
        background: #1a3c8a;
        color: #fff;
    }

.pd2-acc-list {
    padding: 0 15px;
}

.pd2-acc-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 0;
    border-bottom: none;
}

    .pd2-acc-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.pd2-acc-img {
    width: 60px;
    height: 60px;
    border: none;
    object-fit: contain;
    padding: 0;
    background: transparent;
}

.pd2-acc-info {
    flex: 1;
}

.pd2-acc-name {
    font-size: 12px;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.3;
}

.pd2-acc-price {
    font-size: 13px;
    font-weight: 700;
    color: #e30000;
    margin-bottom: 5px;
}

.pd2-acc-btn {
    border: 1px solid #999;
    border-radius: 3px;
    font-size: 11px;
    color: #666;
    text-decoration: none;
    padding: 2px 8px;
    display: inline-block;
    transition: all 0.2s;
}

    .pd2-acc-btn:hover {
        border-color: #1a3c8a;
        color: #1a3c8a;
    }

/* Tabs */
.pd2-tabs-wrap {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    margin-top: 20px;
    background: #fff;
}

.pd2-nav-tabs {
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

    .pd2-nav-tabs li {
        border-right: 1px solid #e5e5e5;
    }

    .pd2-nav-tabs button {
        border: none;
        background: transparent;
        padding: 14px 24px;
        font-size: 14px;
        font-weight: 600;
        color: #555;
        cursor: pointer;
        border-top: 2px solid transparent;
        border-bottom: 1px solid transparent;
        text-transform: uppercase;
        white-space: nowrap;
        display: block;
        height: 100%;
    }

        .pd2-nav-tabs button.active {
            background: #fff;
            color: #1a3c8a;
            border-top-color: #1a3c8a;
            border-bottom: 1px solid #fff;
            margin-bottom: -1px;
        }

.pd2-tab-content {
    padding: 25px;
}

.pd2-tab-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.pd2-tab-desc {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.pd2-tab-features {
    padding-left: 0;
    list-style: none;
    margin-bottom: 20px;
}

    .pd2-tab-features li {
        position: relative;
        padding-left: 20px;
        margin-bottom: 10px;
        font-size: 14px;
        color: #333;
    }

        .pd2-tab-features li::before {
            content: '\2713';
            position: absolute;
            left: 0;
            top: 0;
            font-size: 12px;
            color: #333;
            font-weight: bold;
        }

@media (max-width: 991px) {
    .pd2-main-img-wrap {
        height: 300px;
    }

    .pd2-gallery {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .pd2-info {
        padding-left: 0;
    }

    .pd2-spec-table {
        width: 100% !important;
    }
}

/* Các box mới và chỉnh màu */
.pd2-view-all {
    font-size: 13px;
    color: #333;
    display: block;
    text-align: center;
    margin-top: 10px;
    text-decoration: none;
    font-weight: 500;
}

    .pd2-view-all:hover {
        color: #1a3c8a;
    }

.pd2-spec-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.pd2-spec-table {
    width: calc(50% - 7.5px);
    border-collapse: collapse;
    font-size: 13px;
}

    .pd2-spec-table td {
        padding: 8px 12px;
        border: 1px solid #e5e5e5;
        color: #333;
    }

        .pd2-spec-table td.label {
            background: #f9f9f9;
            font-weight: 500;
            width: 40%;
        }

.pd2-related-sec {
    margin-top: 40px;
    border-top: none;
    padding-top: 0;
    margin-bottom: 30px;
}

.pd2-related-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a3c8a;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.pd2-product-list {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 2px 2px 15px 2px;
}

    .pd2-product-list::-webkit-scrollbar {
        height: 6px;
    }

    .pd2-product-list::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }

.pd2-product-card {
    width: calc(16.666% - 12.5px);
    min-width: 160px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    background: #fff;
    flex-shrink: 0;
    text-decoration: none;
    display: block;
}

    .pd2-product-card img {
        width: 100%;
        height: 120px;
        object-fit: contain;
        margin-bottom: 10px;
    }

    .pd2-product-card .name {
        font-size: 13px;
        color: #333;
        margin-bottom: 8px;
        line-height: 1.4;
        height: 36px;
        overflow: hidden;
    }

    .pd2-product-card .price {
        font-size: 14px;
        font-weight: 700;
        color: #e30000;
        margin-bottom: 10px;
    }

    .pd2-product-card .btn-detail {
        border: 1px solid #999;
        color: #666;
        padding: 4px 15px;
        font-size: 11px;
        border-radius: 3px;
        display: inline-block;
        text-decoration: none;
        transition: 0.2s;
    }

        .pd2-product-card .btn-detail:hover {
            border-color: #1a3c8a;
            color: #1a3c8a;
        }

/* ========================================================
   TRANG SAN PHAM (prefix: .sp-)
   ======================================================== */
.sp-breadcrumb {
    font-size: 13px;
    color: #666;
}

    .sp-breadcrumb a {
        color: #666;
        text-decoration: none;
    }

        .sp-breadcrumb a:hover {
            color: #1a3c8a;
        }

    .sp-breadcrumb i {
        font-size: 8px;
        margin: 0 6px;
    }

.sp-cat-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 5px;
}

.sp-cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
    transition: all 0.2s;
    background: #fff;
    min-width: fit-content;
}

    .sp-cat-item i {
        font-size: 22px;
        color: #1a3c8a;
    }

    .sp-cat-item strong {
        font-size: 13px;
        display: block;
        color: #1a3c8a;
    }

    .sp-cat-item small {
        font-size: 11px;
        color: #888;
    }

    .sp-cat-item.active, .sp-cat-item:hover {
        border-color: #1a3c8a;
        background: #f4f8ff;
    }

        .sp-cat-item.active strong {
            color: #1a3c8a;
        }

.sp-mobile-filter {
    display: none;
}

@media (min-width: 992px) {
    .sp-col-5 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

.sp-card {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 15px;
    background: #fff;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

    .sp-card:hover {
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    }

    .sp-card img {
        width: 100%;
        height: 150px;
        object-fit: contain;
        margin-bottom: 12px;
    }

.sp-card-name {
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 36px;
}

.sp-card-price {
    font-size: 15px;
    font-weight: 700;
    color: #e30000;
    margin-bottom: 12px;
    font-style: italic;
}

.sp-card-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: auto;
}

.sp-btn-detail {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px 14px;
    font-size: 12px;
    color: #555;
    text-decoration: none;
    transition: 0.2s;
    background: #fff;
}

    .sp-btn-detail:hover {
        border-color: #1a3c8a;
        color: #1a3c8a;
    }

.sp-btn-cart {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 12px;
    color: #555;
    text-decoration: none;
    transition: 0.2s;
    background: #fff;
    display: flex;
    align-items: center;
}

    .sp-btn-cart:hover {
        border-color: #1a3c8a;
        color: #1a3c8a;
    }

.sp-btn-loadmore {
    border: 1px solid #ccc;
    border-radius: 25px;
    padding: 10px 30px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    display: inline-block;
}

    .sp-btn-loadmore:hover {
        border-color: #1a3c8a;
        color: #1a3c8a;
    }

.sp-bestseller-sec {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.sp-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a3c8a;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.sp-slider-wrap {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 2px 2px 10px 2px;
}

    .sp-slider-wrap::-webkit-scrollbar {
        height: 5px;
    }

    .sp-slider-wrap::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }

.sp-slider-item {
    min-width: 160px;
    flex: 0 0 calc(16.666% - 12.5px);
    text-align: center;
}

    .sp-slider-item img {
        width: 100%;
        height: 120px;
        object-fit: contain;
        margin-bottom: 8px;
    }

.sp-slider-name {
    font-size: 13px;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.3;
}

.sp-slider-price {
    font-size: 14px;
    font-weight: 700;
    color: #e30000;
    font-style: italic;
}

.sp-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

    .sp-slider-btn:hover {
        border-color: #1a3c8a;
        color: #1a3c8a;
    }

.sp-slider-prev {
    left: -18px;
}

.sp-slider-next {
    right: -18px;
}

.sp-commit-bar {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px 25px;
    background: #fff;
    flex-wrap: wrap;
}

.sp-commit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 200px;
	        padding:  0px 20px !important;
}

    .sp-commit-item i {
        font-size: 24px;
        color: #1a3c8a;
        margin-top: 2px;
    }

    .sp-commit-item strong {
        font-size: 13px;
        color: #333;
        display: block;
        margin-bottom: 3px;
    }

    .sp-commit-item small {
        font-size: 11px;
        color: #888;
    }

.sp-cta-bar {
    background: #1a3c8a;
    color: #fff;
    padding: 20px 0;
    margin-top: 10px;
}

.sp-cta-btn {
    padding: 10px 22px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    white-space: nowrap;
}

.sp-cta-red {
    background: #e30000;
    color: #fff;
    border: 1px solid #e30000;
}

    .sp-cta-red:hover {
        background: #c00;
        color: #fff;
    }

.sp-cta-outline {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

    .sp-cta-outline:hover {
        background: rgba(255,255,255,0.1);
        color: #fff;
    }

@media (max-width: 991px) {
    .sp-cat-list {
        display: none;
    }

    .sp-mobile-filter {
        display: flex;
        gap: 10px;
    }

    .sp-mf-btn {
        flex: 1;
        border: 1px solid #e5e5e5;
        border-radius: 25px;
        padding: 10px 16px;
        text-align: center;
        text-decoration: none;
        color: #333;
        font-size: 13px;
        font-weight: 500;
        background: #fff;
    }

        .sp-mf-btn.active {
            border-color: #1a3c8a;
            color: #1a3c8a;
            background: #f4f8ff;
        }

        .sp-mf-btn i {
            margin-right: 5px;
        }

        .sp-mf-btn small {
            font-size: 10px;
            color: #888;
        }

    .sp-card img {
        height: 120px;
    }

    .sp-commit-bar {
        flex-direction: column;
    }

    .sp-slider-btn {
        display: none;
    }

    .sp-slider-item {
        flex: 0 0 45%;
    }

    /* Footer responsive */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .flex-footer-between {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .commitment-actions {
        justify-content: center;
    }
}

/* ========================================================
   TRANG LIEN HE (prefix: .lh-)
   ======================================================== */
.lh-page-title {
    font-size: 22px;
    font-weight: 900;
    color: #1a3c8a;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.2;
}

.lh-intro {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.lh-contact-box {
    padding: 10px 0 0;
}

.lh-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid #eef0f4;
}

    .lh-contact-item:last-child {
        border-bottom: none;
    }

.lh-contact-icon {
    width: 52px;
    height: 52px;
    background: #1a3c8a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.lh-contact-item strong {
    font-size: 13px;
    color: #1a3c8a;
    display: block;
    margin-bottom: 3px;
    font-weight: 600;
}

.lh-contact-val {
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.6;
}

.lh-form-box {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 30px 35px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.lh-form-title {
    font-size: 18px;
    font-weight: 800;
    color: #1a3c8a;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.lh-label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.lh-input {
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .lh-input:focus {
        border-color: #1a3c8a;
        box-shadow: 0 0 0 2px rgba(26,60,138,0.1);
        outline: none;
    }

.lh-btn-submit {
    width: 100%;
    padding: 14px;
    background: #1a3c8a;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .lh-btn-submit:hover {
        background: #1a3c8a;
        transform: translateY(-1px);
    }

.lh-connect-sec {
    margin: 40px 0 36px;
}

.lh-connect-box {
    background: #f5f8ff;
    border: 1px solid #dde8fb;
    border-radius: 8px;
    padding: 18px 24px;
    display: flex;
    align-items: stretch;
    gap: 0;
}

.lh-connect-left {
    min-width: 310px;
    max-width: 310px;
    padding-right: 5px;
    border-right: 2px solid #c8d8f4;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lh-connect-title {
    font-size: 16px;
    font-weight: 900;
    color: #1a3c8a;
    margin-bottom: 6px;
    text-transform: uppercase;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.lh-connect-desc {
    font-size: 12.5px;
    color: #777;
    line-height: 1.5;
    margin: 0;
}

.lh-connect-right {
    flex: 1;
    padding-left: 20px;
    display: flex;
    gap: 0;
    flex-wrap: nowrap;
    align-items: center;
}
.lh-val-card {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0px 19px;
}
.lh-contact-val .Email {
    color: #1a3c8a;
}

    .lh-val-card:last-child {
        border-right: none;
    }

.lh-val-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .lh-val-card-icon img {
        width: 46px;
        height: 46px;
        object-fit: contain;
    }

    .lh-val-card-icon i {
        font-size: 40px;
        color: #1a3c8a;
    }

.lh-val-card-body strong {
    font-size: 14px;
    color: #1a3c8a;
    display: block;
    margin-bottom: 2px;
    font-weight: 700;
    line-height: 1.3;
}

.lh-val-card-body small {
    font-size: 12px;
    color: #555;
    line-height: 1.4;
    display: block;
}

.lh-val-card-body p {
    line-height: 21px;
    padding-top: 5px;
}

.lh-faq-section {
    margin-bottom: 48px;
}

.lh-faq-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a3c8a;
    margin-bottom: 8px;
    text-transform: uppercase;
    text-align: center;
}

.lh-faq-underline {
    width: 60px;
    height: 3px;
    background: #1a3c8a;
    border-radius: 2px;
    margin: 0 auto 28px auto;
}

.lh-faq-item {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #1a3c8a;
    transition: all 0.2s;
    background: #fff;
    margin-bottom: 0;
}

    .lh-faq-item:hover {
        border-color: #1a3c8a;
        background: #f4f8ff;
    }

    .lh-faq-item i {
        font-size: 11px;
        color: #888;
        transition: transform 0.2s;
    }

.lh-faq-answer {
    padding: 12px 18px;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    background: #f8f9fa;
    border-radius: 0 0 6px 6px;
    border: 1px solid #e5e5e5;
    border-top: none;
}

/* ---- CTA: CAN TU VAN THEM? ---- */
.lh-cta-section {
    background: transparent;
    margin-bottom: 8px;
}

.lh-cta-inner {
    display: flex;
    align-items: stretch;
    min-height: 185px;
    background: #011A56;
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
    position: relative;
}

.lh-cta-person {
    width: 230px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 12px 0 0 12px;
}

    .lh-cta-person img {
        width: 100%;
        height: 215px;
        object-fit: contain;
        object-position: bottom center;
        display: block;
        margin-top: -30px;
    }

.lh-cta-body {
    flex: 1;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.lh-cta-title {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 6px;
    text-transform: uppercase;
    line-height: 1.2;
}

.lh-cta-subtitle {
    font-size: 13.5px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 12px;
    line-height: 1.5;
}

.lh-cta-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.lh-cta-feature {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 6px;
}

    .lh-cta-feature i {
        color: #4ecdc4;
        font-size: 15px;
    }

.lh-cta-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.lh-cta-btn-call {
    background: #f5a623;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    white-space: nowrap;
}

    .lh-cta-btn-call:hover {
        background: #e09018;
        color: #fff;
    }

.lh-cta-btn-zalo {
    background: #fff;
    color: #1a3c8a;
    border: 2px solid #fff;
    border-radius: 6px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    white-space: nowrap;
}

    .lh-cta-btn-zalo:hover {
        background: #e8f0ff;
        border-color: #e8f0ff;
        color: #1a3c8a;
    }

    .lh-cta-btn-zalo .zalo-badge {
        background: #0068ff;
        color: #fff;
        font-size: 11px;
        font-weight: 800;
        padding: 2px 7px;
        border-radius: 4px;
        letter-spacing: 0.5px;
    }

.lh-cta-product {
    width: 420px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: hidden;
    padding: 8px 11px 7px 0;
}

    .lh-cta-product img {
        width: 100%;
        height: 210px;
        object-fit: contain;
        object-position: bottom right;
        display: block;
        filter: drop-shadow(-4px 4px 10px rgba(0,0,0,0.35));
    }

@media (max-width: 991px) {
    .lh-page-title { font-size: 22px; }
    .lh-form-box { padding: 22px 18px; }
    .lh-connect-box { flex-direction: column; padding: 18px 16px; gap: 16px; }
    .lh-connect-left { border-right: none; border-bottom: 1px solid #ccd9f0; padding-right: 0; padding-bottom: 14px; min-width: unset; width: 100%; }
    .lh-connect-right { padding-left: 0; width: 100%; flex-wrap: wrap; gap: 8px; }
    .lh-val-card { min-width: calc(50% - 8px); flex: 0 0 calc(50% - 8px); }
    .lh-cta-product { display: none; }
    .lh-cta-person { width: 130px; }
    .lh-cta-body { padding: 20px 16px; }
    .lh-cta-title { font-size: 18px; }
    .lh-cta-features { gap: 10px; }
}

@media (max-width: 575px) {
    .lh-faq-title { font-size: 18px; }
    .lh-val-card { min-width: 100%; }
    .lh-connect-title { font-size: 17px; }
    .lh-cta-person { display: none; }
    .lh-cta-btns { flex-direction: column; align-items: flex-start; }
}


/* ========================================================
   TRANG GIO HANG (prefix: .gh-)
   ======================================================== */
.gh-form-box {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 30px;
}

.gh-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a3c8a;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-style: italic;
}

    .gh-section-title i {
        margin-right: 8px;
    }

.gh-input-wrap {
    position: relative;
}

    .gh-input-wrap i {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
        font-size: 14px;
    }

    .gh-input-wrap input, .gh-input-wrap textarea {
        padding-left: 40px;
    }

.gh-vat-check {
    padding: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.gh-vat-form {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 20px;
    background: #f8f9fa;
}

.gh-vat-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a3c8a;
    text-transform: uppercase;
}

.gh-btn-submit {
    width: 100%;
    padding: 16px;
    background: #1a3c8a;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    text-transform: uppercase;
}

    .gh-btn-submit:hover {
        background: #142e6b;
    }

    .gh-btn-submit i {
        margin-right: 8px;
    }

.gh-order-box {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 25px;
}

.gh-order-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a3c8a;
    text-transform: uppercase;
    font-style: italic;
    margin: 0;
}

    .gh-order-title i {
        margin-right: 8px;
        color: #1a3c8a;
    }

.gh-edit-link {
    font-size: 12px;
    color: #1a3c8a;
    text-decoration: underline;
}

.gh-order-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.gh-order-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.gh-order-info {
    flex: 1;
}

    .gh-order-info strong {
        font-size: 14px;
        color: #333;
        display: block;
        margin-bottom: 4px;
    }

    .gh-order-info small {
        font-size: 11px;
        color: #888;
        display: block;
    }

.gh-order-price-wrap {
    text-align: right;
}

.gh-order-price {
    font-size: 16px;
    font-weight: 700;
    color: #e30000;
    display: block;
}

.gh-total-price {
    font-size: 22px;
    font-weight: 900;
    color: #e30000;
}

.gh-support-box {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
}

    .gh-support-box h4 {
        font-size: 15px;
        font-weight: 700;
        color: #1a3c8a;
        margin-bottom: 5px;
    }

/* ========================================================
   TRANG TIN TUC (prefix: .tt-)
   ======================================================== */
.tt-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tt-filter-btn {
    padding: 8px 18px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    background: #fff;
}

    .tt-filter-btn.active, .tt-filter-btn:hover {
        background: #1a3c8a;
        color: #fff;
        border-color: #1a3c8a;
    }

.tt-card-big {
    margin-bottom: 0;
}

.tt-card-img-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

    .tt-card-img-wrap img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        display: block;
    }

.tt-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #1a3c8a;
    color: #fff;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.tt-badge-green {
    background: #28a745;
}

.tt-badge-orange {
    background: #fd7e14;
}

.tt-badge-purple {
    background: #6f42c1;
}

.tt-badge-teal {
    background: #20c997;
}

.tt-card-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

    .tt-card-meta i {
        margin-right: 3px;
    }

.tt-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a3c8a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.tt-card-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
}

.tt-readmore {
    font-size: 13px;
    color: #1a3c8a;
    text-decoration: none;
    font-weight: 500;
}

    .tt-readmore:hover {
        text-decoration: underline;
    }

    .tt-readmore i {
        margin-left: 4px;
        font-size: 11px;
    }

.tt-card-small .tt-card-img-wrap img {
    height: 180px;
}

.tt-card-title-sm {
    font-size: 14px;
    font-weight: 700;
    color: #1a3c8a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.tt-sidebar-box {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
}

.tt-sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a3c8a;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.tt-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .tt-sidebar-list li {
        border-bottom: 1px solid #f0f0f0;
    }

        .tt-sidebar-list li a {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            font-size: 13px;
            color: #333;
            text-decoration: none;
        }

            .tt-sidebar-list li a:hover {
                color: #1a3c8a;
            }

            .tt-sidebar-list li a span {
                background: #f0f0f0;
                border-radius: 12px;
                padding: 2px 10px;
                font-size: 12px;
                font-weight: 600;
                color: #1a3c8a;
            }

.tt-sidebar-link {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #1a3c8a;
    text-decoration: none;
    margin-top: 10px;
    font-weight: 500;
}

    .tt-sidebar-link:hover {
        text-decoration: underline;
    }

.tt-hot-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

    .tt-hot-item:last-of-type {
        border-bottom: none;
    }

    .tt-hot-item img {
        width: 70px;
        max-width: 70px;
        height: 50px;
        object-fit: cover;
        border-radius: 4px;
        flex-shrink: 0;
    }

.tt-hot-title {
    font-size: 12px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
    display: block;
    margin-bottom: 4px;
}

    .tt-hot-title:hover {
        color: #1a3c8a;
    }

.tt-hot-meta {
    font-size: 10px;
    color: #999;
}

.tt-cta-box {
    background: linear-gradient(135deg, #1a3c8a 0%, #1a3c8a 100%);
    border-radius: 8px;
    padding: 25px;
    color: #fff;
}

    .tt-cta-box h4 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 12px;
    }

    .tt-cta-box ul {
        list-style: none;
        padding-left: 0;
        text-align: left;
    }

    .tt-cta-box li {
        font-size: 13px;
        margin-bottom: 8px;
        position: relative;
        padding-left: 20px;
        text-align: left;
    }

    .tt-cta-box li::before {
        content: "\f058";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        left: 0;
        top: 2px;
        color: #fff;
    }

    .tt-cta-box li i {
        display: none;
    }

.tt-cta-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ffc107;
    color: #1a3c8a;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 10px;
    transition: 0.2s;
}

    .tt-cta-btn:hover {
        background: #e0a800;
        color: #1a3c8a;
    }

@media (max-width: 991px) {
    .tt-card-img-wrap img {
        height: 180px;
    }

    .tt-card-small .tt-card-img-wrap img {
        height: 150px;
    }
}

/* ========================================================
   TRANG VIDEO (prefix: .vd-)
   ======================================================== */
.vd-player-wrap {
    background: #fff;
}

.vd-player-main {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.vd-player-thumb {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    opacity: 0.85;
}

.vd-player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.vd-badge-live {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e30000;
    color: #fff;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
}

.vd-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    color: #1a3c8a;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

    .vd-play-btn:hover {
        background: #fff;
        transform: translate(-50%, -50%) scale(1.1);
    }

.vd-progress-bar {
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    margin-bottom: 8px;
}

.vd-progress-fill {
    height: 100%;
    background: #e30000;
    border-radius: 2px;
}

.vd-player-controls {
    display: flex;
    justify-content: space-between;
    color: #fff;
    font-size: 13px;
}

    .vd-player-controls span {
        cursor: pointer;
    }

.vd-video-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a3c8a;
    margin: 15px 0 8px;
}

.vd-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.vd-action-btn {
    padding: 6px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: 0.2s;
}

    .vd-action-btn:hover {
        border-color: #1a3c8a;
        color: #1a3c8a;
    }

.vd-related-card {
    margin-bottom: 0;
}

.vd-thumb-wrap {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

    .vd-thumb-wrap img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        display: block;
    }

.vd-duration {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 3px;
    font-weight: 600;
}

.vd-rel-name {
    font-size: 12px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 4px;
}

.vd-thumb-sm {
    width: 80px;
    height: 55px;
    flex-shrink: 0;
}

    .vd-thumb-sm img {
        width: 80px;
        height: 55px;
    }

.vd-dur-sm {
    font-size: 9px;
    padding: 1px 5px;
}

.vd-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.vd-page-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: 0.2s;
}

    .vd-page-btn.active {
        background: #1a3c8a;
        color: #fff;
        border-color: #1a3c8a;
    }

    .vd-page-btn:hover {
        border-color: #1a3c8a;
        color: #1a3c8a;
    }

.vd-page-dots {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #999;
}

@media (max-width: 991px) {
    .vd-player-thumb {
        height: 220px;
    }

    .vd-thumb-wrap img {
        height: 100px;
    }
}

/* ========================================================
   TRANG GIOI THIEU (prefix: .gt-)
   ======================================================== */
.gt-hero {
    background: linear-gradient(135deg, #1a3c8a 0%, #1a3c8a 100%);
    color: #fff;
    padding: 50px 0 40px;
}

.gt-hero-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.gt-hero-title {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 5px;
    letter-spacing: 3px;
}

.gt-hero-subtitle {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #c0d0ff;
    font-style: italic;
}

.gt-hero-desc {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.9;
    max-width: 550px;
}

.gt-hero-img {
    max-height: 320px;
    border-radius: 12px;
    object-fit: cover;
    width: 100%;
}

.gt-stat {
    text-align: center;
    padding: 18px 10px;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .gt-stat i {
        font-size: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 50px;
        margin-bottom: -5px;
    }

    .gt-stat img {
        max-height: 40px;
        min-height: 50px;
        object-fit: contain;
        display: block;
        margin: 0 auto 12px;
        opacity: 0.6;
    }

    .gt-stat strong {
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        margin-bottom: 6px;
        color: #fff;
        font-weight: 600;
        line-height: 1.3;
    }

    .gt-stat small {
        font-size: 12px;
        opacity: 0.6;
        color: #fff;
        display: block;
        line-height: 1.5;
    }

        .gt-stat small::before {
            display: none;
        }

.gt-stat-col:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 0;
    width: 1px;
    height: 80%;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0) 100%);
}

.gt-stat-col:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -3px;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-top: 1.5px solid rgba(255,193,7,0.45);
    border-right: 1.5px solid rgba(255,193,7,0.45);
    z-index: 2;
    filter: none;
}

@media (max-width: 767px) {
    .gt-stat-col:nth-child(even)::after,
    .gt-stat-col:nth-child(even)::before {
        display: none;
    }
}

.gt-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a3c8a;
    text-transform: uppercase;
}

.gt-about-sec {
    padding: 50px 0;
}

.gt-about-img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    max-height: 350px;
}

.gt-about-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.gt-check-list {
    list-style: none;
    padding: 0;
}

    .gt-check-list li {
        padding: 6px 0;
        font-size: 14px;
        color: #555;
    }

        .gt-check-list li i {
            color: #1a3c8a;
            margin-right: 8px;
            font-size: 16px;
        }

.gt-about-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: #1a3c8a;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
}

    .gt-about-btn:hover {
        background: #122b63;
        color: #fff;
    }

.gt-core-sec {
    background: #f4f8ff;
    padding: 50px 0;
}

.gt-core-card {
    padding: 30px 15px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    height: 100%;
    transition: 0.2s;
}

    .gt-core-card:hover {
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
        transform: translateY(-3px);
    }

    .gt-core-card i {
        font-size: 36px;
        color: #1a3c8a;
        margin-bottom: 15px;
        display: block;
    }

    .gt-core-card strong {
        font-size: 13px;
        color: #1a3c8a;
        display: block;
        margin-bottom: 8px;
        text-transform: uppercase;
    }

    .gt-core-card small {
        font-size: 12px;
        color: #666;
        line-height: 1.5;
    }

.gt-journey-sec {
    padding: 50px 0;
}

.gt-timeline {
    position: relative;
    padding-left: 30px;
}

    .gt-timeline::before {
        content: '';
        position: absolute;
        left: 11px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: #e5e5e5;
    }

.gt-tl-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    position: relative;
}

.gt-tl-dot {
    width: 24px;
    height: 24px;
    background: #1a3c8a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    margin-left: -30px;
}

.gt-tl-item strong {
    font-size: 14px;
    color: #1a3c8a;
    display: block;
    margin-bottom: 4px;
}

.gt-tl-item p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.gt-journey-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
}

.gt-quote-bar {
    background: #f4f8ff;
    border-left: 4px solid #1a3c8a;
    padding: 20px 25px;
    margin-top: 30px;
    border-radius: 0 8px 8px 0;
}

    .gt-quote-bar p {
        font-size: 14px;
        color: #555;
        line-height: 1.6;
        margin: 0;
        font-style: italic;
    }

.gt-featured-sec {
    padding: 0 0 50px;
    background: #fff;
}

.gt-featured-sec > .container {
    padding-top: 50px;
    border-top: 1px solid #e5e5e5;
}

.gt-cert-sec {
    padding: 0 0 60px;
    background: #fff;
}

.gt-cert-sec > .container {
    padding-top: 60px;
    border-top: 1px solid #e5e5e5;
}

.gt-cert-card {
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .gt-cert-card img {
        width: 100%;
        height: 140px;
        object-fit: contain;
        margin-bottom: 15px;
    }

    .gt-cert-card small {
        font-size: 13px;
        color: #444;
        font-weight: 500;
        line-height: 1.5;
    }

.gt-cert-text {
    padding: 20px;
}

    .gt-cert-text p {
        font-size: 13px;
        color: #555;
        line-height: 1.6;
    }

.gt-cert-text-box {
    background: #fbfdff;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #eef2f7;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

    .gt-cert-text-box p {
        font-size: 14px;
        color: #444;
        margin-bottom: 25px;
        line-height: 1.7;
    }

.gt-cert-btn {
    display: block;
    text-align: center;
    border: 1px solid #1a3c8a;
    color: #1a3c8a;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background: #fff;
    transition: 0.3s;
}

    .gt-cert-btn:hover {
        background: #1a3c8a;
        color: #fff;
    }

@media (max-width: 991px) {
    .gt-hero {
        padding: 30px 0;
        text-align: center;
    }

    .gt-hero-title {
        font-size: 36px;
    }

    .gt-hero-desc {
        max-width: 100%;
    }

    .gt-about-sec, .gt-journey-sec, .gt-cert-sec, .gt-featured-sec {
        padding: 30px 0;
    }
}

/* Fix Category Filter Spacing */
.sp-cat-list { gap: 16px !important; margin-bottom: 15px; }
.sp-cat-item { padding: 12px 25px !important; }

/* Fix Pagination Hover Color */
.vd-page-btn.active { color: #fff !important; }

/* ========================================================
   OVERRIDE: TRANG GIỚI THIỆU - Ảnh chìm dần vào nền
   ======================================================== */
.gt-hero {
    position: relative;
    color: #fff;
    padding: 55px 0 40px;
    overflow: hidden;
    background: #1a3c8a;
    min-height: 380px;
}
/* Ảnh nền phía sau - hiện rõ bên phải, mờ dần bên trái */
.gt-hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 65%;
    background: var(--gt-hero-bg, url('/assets/images/z7775799762257_f058bd78c3b1f94e77da2c4eda69efb3.jpg'));
    background-size: cover;
    background-position: center;
    opacity: 0.55;
    z-index: 0;
}
/* Gradient mờ dần: đậm trái → nhạt phải */
.gt-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        #1a3c8a 0%,
        #1a3c8a 30%,
        rgba(13,27,74,0.92) 42%,
        rgba(13,27,74,0.65) 58%,
        rgba(13,27,74,0.35) 75%,
        rgba(13,27,74,0.15) 100%
    );
    z-index: 1;
}
.gt-hero > .container {
    position: relative;
    z-index: 2;
}
.gt-hero-img {
    max-height: 380px;
    object-fit: cover;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
/* Gradient mask cho ảnh foreground - chìm cạnh trái + dưới */
.gt-hero-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(to right, rgba(13,27,74,0.6) 0%, rgba(13,27,74,0) 20%),
                linear-gradient(to top, rgba(13,27,74,0.4) 0%, rgba(13,27,74,0) 25%);
    pointer-events: none;
}
.gt-hero-label {
    font-size: 13px;
    letter-spacing: 3px;
    opacity: 0.7;
    font-weight: 500;
}
.gt-hero-title {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 4px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.gt-hero-subtitle {
    font-size: 18px;
    color: #ffd12a;
    font-style: italic;
}
.gt-hero-desc {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.85;
    max-width: 580px;
    color: #c8d6f0;
}
/* (stat overrides đã chuyển lên CSS gốc) */
/* Nút "Xem các sản phẩm Gordak" - nền xanh đậm giống mẫu */
.gt-about-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: #1a3c8a;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    transition: 0.2s;
}
.gt-about-btn:hover {
    background: #122b63;
    color: #fff;
}

/* Checklist trong About Intro - từ CKEditor output <ul><li> */
.gt-about-sec .col-lg-7 ul,
.gt-about-sec .col-lg-7 ul.gt-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
}
.gt-about-sec .col-lg-7 ul li {
    position: relative;
    padding: 8px 0 8px 32px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.6;
}
/* Check icon tự thêm qua CSS ::before - FontAwesome check */
.gt-about-sec .col-lg-7 ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 8px;
    color: #1a3c8a;
    font-size: 16px;
}
/* Nếu đã có icon <i> bên trong (từ RestoreDefaults) thì ẩn ::before */
.gt-about-sec .col-lg-7 ul li:has(> i)::before {
    display: none;
}
.gt-about-sec .col-lg-7 ul li i {
    color: #1a3c8a;
    margin-right: 8px;
    font-size: 16px;
}
@media (max-width: 991px) {
    .gt-hero { padding: 30px 0; text-align: center; min-height: auto; }
    .gt-hero::before { width: 100%; opacity: 0.2; }
    .gt-hero-title { font-size: 36px; }
    .gt-hero-desc { max-width: 100%; }
    .gt-hero-img-wrap::after { display: none; }
}

/* ========================================================
   Journey Image Grid - giống mẫu gốc
   ======================================================== */
.gt-journey-grid {
    display: grid;
    gap: 10px;
    height: 100%;
}
/* Ảnh đầu tiên: to, chiếm full width */
.gt-jimg-large {
    grid-column: 1 / -1;
    border-radius: 10px;
    overflow: hidden;
}
.gt-jimg-large img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
/* Ảnh nhỏ: tự chia đều trong grid */
.gt-jimg-small {
    border-radius: 10px;
    overflow: hidden;
}
.gt-jimg-small img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
/* Auto-layout: ảnh nhỏ chia đều trong hàng */
.gt-journey-grid {
    grid-template-columns: 1fr;
}
/* Khi có 3 ảnh (1 lớn + 2 nhỏ) */
.gt-journey-grid:has(.gt-jimg-small:nth-child(2):last-child) {
    grid-template-columns: 1fr 1fr;
}
.gt-journey-grid:has(.gt-jimg-small:nth-child(2):last-child) .gt-jimg-large {
    grid-column: 1 / -1;
}
/* Khi có 4 ảnh (1 lớn + 3 nhỏ) */
.gt-journey-grid:has(.gt-jimg-small:nth-child(4)) {
    grid-template-columns: 1fr 1fr 1fr;
}
.gt-journey-grid:has(.gt-jimg-small:nth-child(4)) .gt-jimg-large {
    grid-column: 1 / -1;
}
/* Fallback: dùng flex cho tương thích */
@supports not selector(:has(*)) {
    .gt-journey-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .gt-jimg-large { width: 100%; }
    .gt-jimg-small { flex: 1 1 calc(50% - 5px); min-width: calc(33% - 7px); }
}

/* Quote bar - giống mẫu gốc */
.gt-journey-sec > .gt-quote-bar {
    margin-top: 30px;
    text-align: center;
    border-left: 4px solid #1a3c8a;
    border-top: none;
    border-radius: 0 8px 8px 0;
    padding: 20px 30px;
    background: #f5f7fa;
}
.gt-journey-sec > .gt-quote-bar p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    font-style: italic;
}

/* Featured section - border trên đầu (moved to container) */

/* Nút "Xem tất cả sản phẩm" - giống mẫu */
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    padding: 10px 24px;
    border: 1.5px solid #1a3c8a;
    border-radius: 6px;
    color: #1a3c8a;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    background: #fff;
}
.view-all-btn:hover {
    background: #1a3c8a;
    color: #fff;
}
.view-all-btn i {
    font-size: 11px;
}

/* Fix Level 2 Menu Icon Alignment */
.desktop-nav li > ul > li > a .nav-arr {
    float: right;
    margin-top: 5px;
}

/* Disabled Pagination Button */
.vd-page-btn.disabled {
    color: #999 !important;
    background: #f8f9fa;
    cursor: not-allowed;
    border-color: #eee;
    pointer-events: none;
}
/* ========================================================
   TRANG GIO HANG (prefix: .gh-)
   ======================================================== */
.gh-form-box { background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 30px; }
.gh-section-title { font-size: 18px; font-weight: 700; color: #212d45; margin-bottom: 20px; text-transform: uppercase; font-style: italic; }
.gh-section-title i { margin-right: 8px; }
.gh-input-wrap { position: relative; }
.gh-input-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #999; font-size: 14px; }
.gh-input-wrap input, .gh-input-wrap textarea, .gh-input-wrap select { padding-left: 40px; }

.gh-vat-check { padding: 15px; border: 1px solid #e5e5e5; border-radius: 6px; }
.gh-vat-form { border: 1px solid #e5e5e5; border-radius: 6px; padding: 20px; background: #f8f9fa; }
.gh-vat-title { font-size: 14px; font-weight: 700; color: #1a3c8a; text-transform: uppercase; }

.gh-btn-submit { width: 100%; padding: 16px; background: #1a3c8a; color: #fff; border: none; border-radius: 6px; font-size: 16px; font-weight: 700; cursor: pointer; transition: 0.2s; text-transform: uppercase; }
.gh-btn-submit:hover { background: #142e6b; }
.gh-btn-submit i { margin-right: 8px; }

.gh-order-box { background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 25px; }
.gh-order-title { font-size: 16px; font-weight: 700; color: #212d45; text-transform: uppercase; font-style: italic; margin: 0; }
.gh-order-title i { margin-right: 8px; color: #1a3c8a; }
.gh-edit-link { font-size: 12px; color: #1a3c8a; text-decoration: underline; }

.gh-order-item { display: flex; gap: 12px; align-items: flex-start; padding: 15px; border: 1px solid #e5e5e5; border-radius: 6px; margin-bottom: 15px;}
.gh-order-img { width: 80px; height: 80px; object-fit: contain; flex-shrink: 0; }
.gh-order-info { flex: 1; }
.gh-order-info strong { font-size: 14px; color: #333; display: block; margin-bottom: 4px; }
.gh-order-info small { font-size: 11px; color: #888; display: block; }
.gh-order-price-wrap { text-align: right; }
.gh-order-price { font-size: 16px; font-weight: 700; color: #e30000; display: block; }
.gh-total-price { font-size: 22px; font-weight: 900; color: #e30000; }

.gh-support-box { background: #f8f9fa; border: 1px solid #e5e5e5; border-radius: 8px; padding: 20px; }
.gh-support-box h4 { font-size: 15px; font-weight: 700; color: #212d45; margin-bottom: 5px; }

.d-flex.justify-content-between.align-items-center.mt-3.border-top.pt-3.d-lg-none {
    display: none !important;
}

/* ========================================================
   MOBILE: Trang Giới thiệu + Footer - khoảng cách chuẩn
   ======================================================== */
@media (max-width: 767px) {
    /* --- About: Khoảng cách 2 bên mép --- */
    section.container.gt-journey-sec,
    section.container.gt-about-sec {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .gt-core-sec .container,
    .gt-cert-sec .container,
    .gt-featured-sec .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .gt-hero .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* --- About: Checklist tighter --- */
    .gt-about-sec .col-lg-7 ul li {
        padding: 4px 0 4px 28px;
        font-size: 13px;
    }
    .gt-about-sec .col-lg-7 ul li::before {
        font-size: 14px;
        top: 5px;
    }
    .gt-about-sec .gt-about-desc,
    .gt-about-sec .col-lg-7 p {
        font-size: 13px;
        margin-bottom: 10px;
    }
    .gt-about-sec .gt-about-btn {
        font-size: 14px;
        padding: 10px 20px;
    }

    /* --- About: Giá trị cốt lõi tighter --- */
    .gt-core-sec {
        padding: 25px 0;
    }
    .gt-core-card {
        padding: 15px;
    }

    /* --- About: Timeline tighter --- */
    .gt-journey-sec {
        padding: 25px 0;
    }
    .gt-tl-item {
        margin-bottom: 16px;
        gap: 10px;
    }
    .gt-tl-item strong {
        font-size: 13px;
    }
    .gt-tl-item p {
        font-size: 12px;
    }
    .gt-tl-dot {
        width: 20px;
        height: 20px;
        font-size: 9px;
        margin-left: -26px;
    }
    .gt-timeline {
        padding-left: 26px;
    }
    .gt-timeline::before {
        left: 9px;
    }

    /* --- About: Chứng nhận tighter --- */
    .gt-cert-sec {
        padding: 25px 0;
    }
    .gt-cert-card img {
        height: 100px;
        margin-bottom: 8px;
    }
    .gt-cert-card small {
        font-size: 11px;
    }
    .gt-cert-text-box {
        padding: 18px;
        margin-top: 15px;
    }
    .gt-cert-text-box p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    /* --- About: Section title --- */
    .gt-section-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    /* --- Footer: 2 cột gọn gàng trên mobile --- */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px 16px;
        padding-bottom: 20px;
    }
    .footer-col h4 {
        font-size: 12px;
        margin-bottom: 12px;
    }
    .footer-col ul li {
        margin-bottom: 6px;
    }
    .footer-col ul li a {
        font-size: 12px;
    }
    .footer-col-desc {
        font-size: 12px;
        margin-bottom: 10px;
    }
    .footer-logo-img {
        height: 34px;
    }
    .footer-contact-info li {
        font-size: 12px;
        gap: 6px;
    }
    .main-footer {
        padding: 25px 0 0;
    }

    /* Commitment bar mobile */
    .commitment-text strong {
        font-size: 12px;
    }
    .commitment-text p {
        font-size: 11px;
    }
    .commitment-text i {
        font-size: 24px;
    }
}

@media (max-width: 575px) {
    /* Footer stack 1 column on very small screens */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}
h1.fw-bold.mb-3.display-5 {
    font-size: 33px;
}

/* Ghi đè màu của Bootstrap cho nút tải về */
.btn-primary[download] {
    background-color: #1a3c8a !important;
    border-color: #1a3c8a !important;
    color: #ffffff !important; /* Đảm bảo chữ màu trắng cho dễ đọc */
}

    /* Hiệu ứng khi di chuột qua (Hover) để nút trông chuyên nghiệp hơn */
    .btn-primary[download]:hover {
        background-color: #122b63 !important;
        border-color: #122b63 !important;
    }



/* === Utilities === */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =================================================================
   CMS CONTENT STYLES
   Áp dụng cho mọi vùng nội dung do Admin soạn thảo bằng TinyMCE:
   .product-content  → Chi tiết / Thông số sản phẩm
   .main-detail-content → Chi tiết Tin tức, Trang nội dung
   ================================================================= */
.product-content,
.main-detail-content {
    font-size: 15px;
    line-height: 1.75;
    color: #1a2b4a;
    word-break: break-word;
}

/* ---- Link ---- */
.product-content a,
.main-detail-content a {
    color: #0d6efd;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .15s;
}
.product-content a:hover,
.main-detail-content a:hover {
    color: #0a58ca;
}

/* ---- Headings ---- */
.product-content h1,
.product-content h2,
.product-content h3,
.product-content h4,
.product-content h5,
.product-content h6,
.main-detail-content h1,
.main-detail-content h2,
.main-detail-content h3,
.main-detail-content h4,
.main-detail-content h5,
.main-detail-content h6 {
    color: #0d2556;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 1.4em;
    margin-bottom: .6em;
}
.product-content h2, .main-detail-content h2 { font-size: 1.35em; }
.product-content h3, .main-detail-content h3 { font-size: 1.18em; }
.product-content h4, .main-detail-content h4 { font-size: 1.05em; }

/* ---- Paragraph & spacing ---- */
.product-content p,
.main-detail-content p {
    margin-top: 0;
    margin-bottom: .85em;
}

/* ---- Image ---- */
.product-content img,
.main-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 10px 0;
    display: block;
}

/* ---- TABLE - khôi phục đường kẻ ---- */
.product-content table,
.main-detail-content table {
    width: 100%;
    border-collapse: collapse !important;
    margin: 18px 0;
    font-size: 14px;
    overflow-x: auto;
    display: table;
}
.product-content table td,
.product-content table th,
.product-content table tr,
.product-content table thead,
.product-content table tbody,
.product-content table tfoot,
.main-detail-content table td,
.main-detail-content table th,
.main-detail-content table tr,
.main-detail-content table thead,
.main-detail-content table tbody,
.main-detail-content table tfoot {
    border: 1px solid #c8d6e5 !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: #c8d6e5 !important;
}
.product-content table th,
.main-detail-content table th {
    background: #f0f4fb;
    font-weight: 700;
    color: #0d2556;
    padding: 9px 14px;
    text-align: center;
}
.product-content table td,
.main-detail-content table td {
    padding: 8px 14px;
    vertical-align: middle;
    color: #2a3a54;
}
.product-content table tr:nth-child(even) td,
.main-detail-content table tr:nth-child(even) td {
    background: #f8faff;
}
.product-content table tr:hover td,
.main-detail-content table tr:hover td {
    background: #eef3fb;
}

/* ---- List ---- */
.product-content ul,
.product-content ol,
.main-detail-content ul,
.main-detail-content ol {
    padding-left: 1.6em;
    margin-bottom: .85em;
}
.product-content ul { list-style: disc; }
.product-content ol { list-style: decimal; }
.main-detail-content ul { list-style: disc; }
.main-detail-content ol { list-style: decimal; }
.product-content li,
.main-detail-content li {
    margin-bottom: .3em;
}

/* ---- Blockquote ---- */
.product-content blockquote,
.main-detail-content blockquote {
    border-left: 4px solid #1a3c8a;
    margin: 16px 0;
    padding: 10px 18px;
    background: #f4f7fb;
    border-radius: 0 6px 6px 0;
    color: #334;
    font-style: italic;
}

/* ---- Code / Pre ---- */
.product-content pre,
.main-detail-content pre {
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 6px;
    padding: 14px 18px;
    overflow-x: auto;
    font-size: 13px;
    margin: 16px 0;
}
.product-content code,
.main-detail-content code {
    background: #f0f4fb;
    border-radius: 4px;
    padding: 1px 5px;
    font-size: 13px;
    color: #c0392b;
}

/* Responsive table wrapper */
@media (max-width: 768px) {
    .product-content table,
    .main-detail-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ---- Hiển thị nhiều ảnh trên 1 dòng trong bài viết ---- */
.product-content h1:has(> img:nth-of-type(2)),
.product-content h2:has(> img:nth-of-type(2)),
.product-content h3:has(> img:nth-of-type(2)),
.product-content h4:has(> img:nth-of-type(2)),
.product-content h5:has(> img:nth-of-type(2)),
.product-content h6:has(> img:nth-of-type(2)),
.product-content p:has(> img:nth-of-type(2)) {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.product-content h1:has(> img:nth-of-type(2)) > img,
.product-content h2:has(> img:nth-of-type(2)) > img,
.product-content h3:has(> img:nth-of-type(2)) > img,
.product-content h4:has(> img:nth-of-type(2)) > img,
.product-content h5:has(> img:nth-of-type(2)) > img,
.product-content h6:has(> img:nth-of-type(2)) > img,
.product-content p:has(> img:nth-of-type(2)) > img {
    flex: 1 1 0;
    min-width: 0;
    max-height: 400px; /* Tránh ảnh quá cao làm vỡ layout */
    object-fit: contain;
    width: auto;
}

