/**
 * NexStone - Premium Stone Masonry & Crafts Theme Stylesheet
 * Brand: Đá Mỹ Nghệ Đức Thịnh
 */

:root {
    --color-bg: #f8fafc;
    --color-surface: #ffffff;
    --color-surface-soft: #f1f5f9;
    --color-slate-900: #0f172a;
    --color-slate-800: #1e293b;
    --color-slate-700: #334155;
    --color-slate-600: #475569;
    --color-slate-500: #64748b;
    --color-slate-400: #94a3b8;
    --color-border: #e2e8f0;
    
    /* Stone Artisan Gold & Bronze Accent - Màu chủ đạo #b88638 */
    --color-gold: #b88638;
    --color-gold-hover: #a07328;
    --color-gold-light: #faf5eb;
    --color-gold-border: #ecdcb8;

    /* Zalo & Phone Accent */
    --color-zalo: #0068ff;
    --color-zalo-dark: #0052cc;
    --color-phone: #dc2626;
    --color-phone-dark: #b91c1c;

    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-alt: 'Playfair Display', Georgia, serif;

    --radius: 5px;
    --radius-sm: 5px;
    --radius-md: 5px;
    --radius-lg: 5px;
    --radius-xl: 5px;
    --radius-btn: 99px;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
    --shadow-gold: 0 8px 24px rgba(184, 134, 56, 0.28);

    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* CSS Reset & General */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Global Button Radius - 99px pill shape */
button:not(.slider-dot):not(.showcase-arrow-btn):not(.slider-nav-btn):not(.nextheme-tab-btn),
.btn,
.btn-header-quote,
.btn-hero-primary,
.btn-hero-secondary,
.btn-card-view,
.btn-consult,
.btn-submit-consult,
.filter-btn,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    border-radius: var(--radius-btn) !important;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-slate-800);
    background-color: var(--color-bg);
    line-height: 1.6;
    font-size: 14.5px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

/* Headings font inheritance: Font tiêu đề chỉ áp dụng cho h1 và h2 */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

h1, h2, .h1, .h2 {
    font-family: var(--font-heading);
}

h3, h4, h5, h6 {
    font-family: var(--font-body);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TOPBAR */
.site-topbar {
    background: #0b111e;
    color: var(--color-slate-400);
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-item .icon {
    color: var(--color-gold);
}

.topbar-right a {
    color: var(--color-slate-300);
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-right a:hover {
    color: var(--color-gold);
}

/* HEADER */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.mobile-menu-toggle,
.mobile-nav-header,
.mobile-nav-backdrop,
.submenu-toggle-btn,
.mobile-bottom-nav {
    display: none;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 0 20px;
    gap: 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    padding: 14px 0;
}

.brand-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-logo-img {
    max-width: 180px;
    width: auto;
    height: auto;
    max-height: 56px;
    object-fit: contain;
    display: block;
    transition: transform var(--transition);
}

.site-logo-img:hover {
    transform: scale(1.02);
}

.site-logo .brand-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-logo .brand-title .gold-accent {
    color: var(--color-gold);
}

.site-logo .brand-tagline {
    font-size: 11px;
    color: var(--color-slate-500);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.site-nav {
    display: flex;
    align-items: stretch;
}

.primary-menu-list {
    display: flex;
    align-items: stretch;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu-list li {
    position: relative;
}

.primary-menu-list > li {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
}

.primary-menu-list a,
.site-nav a {
    font-weight: 500;
    color: var(--color-slate-700);
    font-size: 14px;
    position: relative;
    padding: 4px 0;
    display: inline-flex;
    align-items: center;
}

.primary-menu-list > li > a {
    height: 100%;
    display: inline-flex;
    align-items: center;
    padding: 0;
}

.primary-menu-list > li.menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 100%;
}

.primary-menu-list > li.menu-item-has-children > a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    color: var(--color-slate-400);
    transition: var(--transition);
}

.primary-menu-list > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
    color: var(--color-gold);
}

.primary-menu-list a:hover,
.primary-menu-list li.current-menu-item > a,
.primary-menu-list li.current_page_item > a,
.site-nav a:hover,
.site-nav a.active {
    color: var(--color-gold);
}

/* Submenu Cấp 2 (Dưới Sản phẩm) */
.primary-menu-list .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.04);
    border: 1px solid var(--color-border);
    border-radius: 0 0 5px 5px;
    padding: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: var(--transition);
    z-index: 1000;
}

.primary-menu-list .sub-menu::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.primary-menu-list li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu-list .sub-menu li {
    position: relative;
    width: 100%;
    padding: 0;
}

.primary-menu-list .sub-menu li a {
    padding: 9px 18px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--color-slate-700);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    white-space: nowrap;
}

.primary-menu-list .sub-menu li.menu-item-has-children > a::after {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    color: var(--color-slate-400);
    margin-left: 12px;
    transition: var(--transition);
}

.primary-menu-list .sub-menu li:hover > a {
    background: var(--color-gold-light);
    color: var(--color-gold);
    padding-left: 22px;
}

.primary-menu-list .sub-menu li:hover > a::after {
    color: var(--color-gold);
    transform: translateX(3px);
}

.primary-menu-list .sub-menu li:last-child > a {
    border-bottom: none;
    border-bottom-left-radius: 9px;
    border-bottom-right-radius: 9px;
}

/* Submenu Cấp 3 (Các danh mục con bay sang phải) */
.primary-menu-list .sub-menu .sub-menu {
    top: -8px;
    left: 100%;
    margin-left: 2px;
    min-width: 220px;
    max-height: 480px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.primary-menu-list .sub-menu .sub-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: -12px;
    bottom: 0;
    width: 12px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
}

.btn-header-quote {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    padding: 7px 16px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.btn-header-quote:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.45);
    color: #ffffff;
}

.header-search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--color-slate-700);
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    margin: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.header-search-toggle:hover,
.header-search-toggle:active {
    color: var(--color-gold);
    transform: scale(1.08);
}

/* SEARCH POPUP MODAL */
.search-popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    box-sizing: border-box;
}

.search-popup-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.search-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.search-popup-content {
    position: relative;
    z-index: 2;
    background: #ffffff;
    width: 100%;
    max-width: 660px;
    border-radius: 5px;
    padding: 32px 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(25px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-popup-modal.is-open .search-popup-content {
    transform: translateY(0) scale(1);
}

.search-popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-popup-close:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
    transform: rotate(90deg);
}

.search-popup-header {
    margin-bottom: 20px;
    padding-right: 36px;
}

.search-popup-badge {
    display: inline-block;
    color: var(--color-gold);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.search-popup-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-slate-900);
    margin: 0;
    line-height: 1.35;
}

.search-popup-form {
    margin-bottom: 18px;
}

.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-input-icon {
    position: absolute;
    left: 16px;
    color: var(--color-gold);
    font-size: 18px;
    pointer-events: none;
}

.search-popup-input {
    width: 100%;
    height: 52px;
    border: 2px solid #e2e8f0;
    border-radius: 5px;
    padding: 0 120px 0 46px;
    font-size: 15px;
    color: var(--color-slate-900);
    background: #f8fafc;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}

.search-popup-input:focus {
    border-color: var(--color-gold);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(184, 134, 56, 0.15);
}

.search-popup-submit-btn {
    position: absolute;
    right: 6px;
    height: 40px;
    padding: 0 16px;
    border-radius: 5px;
    background: var(--color-gold);
    color: #ffffff;
    border: none;
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-popup-submit-btn:hover {
    background: #a6762c;
    box-shadow: 0 4px 10px rgba(184, 134, 56, 0.35);
}

.search-quick-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12.5px;
    color: var(--color-slate-500);
}

.search-tags-label {
    font-weight: 600;
    color: var(--color-slate-700);
}

.search-tag-item {
    background: #f1f5f9;
    color: var(--color-slate-700);
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.search-tag-item:hover {
    background: #fef9ed;
    color: var(--color-gold);
    border-color: var(--color-gold);
}

body.search-modal-active {
    overflow: hidden;
}

@media (max-width: 640px) {
    .search-popup-modal {
        padding: 16px;
    }
    .search-popup-content {
        padding: 24px 16px;
        border-radius: 5px;
        max-height: 90dvh;
        overflow-y: auto;
    }
    .search-popup-title {
        font-size: 17px;
    }
    .search-popup-input {
        height: 48px;
        font-size: 14px;
        padding-right: 48px;
    }
    .search-popup-submit-btn {
        width: 38px;
        height: 38px;
        padding: 0;
        justify-content: center;
        border-radius: 5px;
    }
    .search-popup-submit-btn span {
        display: none;
    }
}

/* BREADCRUMBS */
.nextheme-breadcrumbs,
#breadcrumbs {
    padding: 14px 0 12px 0;
    margin: 0 0 16px 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--color-slate-400);
}

.nextheme-breadcrumbs a,
#breadcrumbs a {
    color: var(--color-slate-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nextheme-breadcrumbs a:hover,
#breadcrumbs a:hover {
    color: var(--color-gold);
}

.nextheme-breadcrumbs .sep,
#breadcrumbs .sep {
    color: var(--color-slate-400);
    margin: 0 4px;
}

.nextheme-breadcrumbs .current,
.nextheme-breadcrumbs .breadcrumb_last,
.nextheme-breadcrumbs strong,
#breadcrumbs .breadcrumb_last,
#breadcrumbs strong {
    color: var(--color-slate-800);
    font-weight: 600;
}

/* Brecrum trên mobile: hiển thị duy nhất 1 dòng, nếu dài quá thì có dấu ba chấm (...) */
@media (max-width: 768px) {
    .nextheme-breadcrumbs,
    #breadcrumbs,
    nav.nextheme-breadcrumbs,
    nav#breadcrumbs {
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 10px 0 8px 0 !important;
        margin-bottom: 12px !important;
        line-height: 1.4 !important;
    }

    .nextheme-breadcrumbs *,
    #breadcrumbs *,
    nav.nextheme-breadcrumbs *,
    nav#breadcrumbs * {
        display: inline !important;
        white-space: nowrap !important;
        float: none !important;
    }

    .nextheme-breadcrumbs span,
    #breadcrumbs span,
    .nextheme-breadcrumbs a,
    #breadcrumbs a,
    .nextheme-breadcrumbs strong,
    #breadcrumbs strong {
        display: inline !important;
        white-space: nowrap !important;
    }
}

/* SINGLE PRODUCT BODY BACKGROUND */
body.wp-singular.product-template-default,
body.single-product {
    background: #ffffff !important;
}

/* PRODUCT DETAIL LAYOUT */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* GALLERY COMPONENT */
.product-gallery-section {
    position: sticky;
    top: 90px;
    align-self: start;
}

.gallery-main-view {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #0f172a;
    border: 1px solid var(--color-border);
    cursor: zoom-in;
}

.gallery-main-view img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-main-view:hover img {
    transform: scale(1.03);
}

.gallery-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: var(--color-gold);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(184, 134, 56, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
    pointer-events: none;
}

/* THUMBNAILS LIST */
.gallery-thumbs-list {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}

.thumb-item {
    width: 80px;
    height: 60px;
    aspect-ratio: 4 / 3;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: #e2e8f0;
    transition: var(--transition);
}

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

.thumb-item:hover {
    border-color: var(--color-slate-400);
}

.thumb-item.active {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 1px var(--color-gold);
}

/* PRODUCT SUMMARY / INFO */
.product-info-section {
    display: flex;
    flex-direction: column;
}

.product-taxonomy-pill {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    color: var(--color-gold);
    background: var(--color-gold-light);
    border: 1px solid var(--color-gold-border);
    padding: 4px 12px;
    border-radius: var(--radius-btn);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.product-taxonomy-pill:hover {
    background: var(--color-gold);
    color: #ffffff;
    border-color: var(--color-gold);
}

.product-main-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-slate-900);
    line-height: 1.35;
    margin-bottom: 14px;
}

/* SHORT DESCRIPTION (Rich Text) */
.product-short-desc {
    background: var(--color-gold-light);
    border-left: 3px solid var(--color-gold);
    padding: 14px 18px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 24px;
    font-size: 15px;
    color: var(--color-slate-700);
}

.product-short-desc p:last-child {
    margin-bottom: 0;
}



.specs-row .spec-label {
    color: var(--color-slate-500);
    font-weight: 500;
}

.specs-row .spec-value {
    color: var(--color-slate-900);
    font-weight: 600;
    text-align: right;
}

/* CONSULTATION ACTION SECTION (NO CART BUTTON) */
.nextheme-consult-actions {
    margin-top: 15px;
}

.consult-price-box {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-border);
}

.price-label {
    font-size: 13px;
    color: var(--color-slate-500);
    display: block;
}

.price-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-phone);
    display: block;
    margin-top: 2px;
}

.price-subtext {
    font-size: 12.5px;
    color: var(--color-slate-500);
    margin-top: 4px;
}

.consult-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.btn-consult {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: var(--radius-btn);
    color: #ffffff;
    text-align: center;
    transition: var(--transition);
}

.btn-consult strong {
    display: block;
    font-size: 13.5px;
    letter-spacing: 0.3px;
}

.btn-consult small {
    display: block;
    font-size: 11.5px;
    opacity: 0.9;
    font-weight: 400;
}

.btn-call,
.btn-consult.btn-call,
a.btn-call {
    background: #dc2626 !important;
    background-color: #dc2626 !important;
    background-image: linear-gradient(135deg, #e11d48 0%, #dc2626 50%, #b91c1c 100%) !important;
    border: 1.5px solid #dc2626 !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4) !important;
    color: #ffffff !important;
}

.btn-call *,
.btn-consult.btn-call *,
.btn-call i,
.btn-call span,
.btn-call strong {
    color: #ffffff !important;
}

.btn-call:hover,
.btn-consult.btn-call:hover,
a.btn-call:hover {
    background: #b91c1c !important;
    background-color: #b91c1c !important;
    background-image: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border-color: #b91c1c !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.55) !important;
    color: #ffffff !important;
}

.btn-zalo {
    background: linear-gradient(135deg, var(--color-gold) 0%, #996c27 100%);
    box-shadow: 0 4px 14px rgba(184, 134, 56, 0.35);
}

.btn-zalo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(184, 134, 56, 0.45);
    color: #fff;
}

.artisan-commitments {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: var(--color-slate-600);
    padding-top: 10px;
}

.commitment-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.commit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    flex-shrink: 0;
}

/* FULL CONTENT ARTICLE */
.product-content-section {
    margin-bottom: 40px;
}

.section-headline {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-slate-900);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-gold);
    display: inline-block;
    margin-bottom: 24px;
}

.entry-content {
    line-height: 1.8;
    color: var(--color-slate-700);
    font-size: 16px;
}

.entry-content p {
    margin-bottom: 16px;
}

.entry-content h2 {
    font-family: var(--font-heading);
    color: var(--color-slate-900);
    margin: 24px 0 12px 0;
}

.entry-content h3 {
    font-family: var(--font-body);
    color: var(--color-slate-900);
    margin: 24px 0 12px 0;
}

.entry-content img {
    border-radius: var(--radius-md);
    margin: 16px auto;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}

.entry-content th,
.entry-content td {
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    text-align: left;
}

.entry-content th {
    background: var(--color-surface-soft);
    font-weight: 600;
    color: var(--color-slate-800);
}

.entry-content tr:nth-child(even) {
    background: #f8fafc;
}

.entry-content ul {
    margin-left: 30px;
}

/* PRODUCT CARD COMPONENT (Grid / Catalog) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(var(--product-grid-columns, 3), minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 1023px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.product-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gold-border);
}

.product-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: var(--product-aspect-ratio, 4 / 3);
    overflow: hidden;
    background: #e2e8f0;
}

.product-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-thumb img {
    transform: scale(1.06);
}

.card-cat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: var(--color-gold);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
}

.product-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-title {
    font-family: var(--font-body);
    font-size: 16.5px;
    font-weight: 700;
    color: var(--color-slate-900);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-title:hover {
    color: var(--color-gold);
}

.product-card-desc {
    font-size: 13.5px;
    color: var(--color-slate-600);
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}

.card-price-text {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-phone);
}

.btn-card-view {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-slate-700);
    border: 1px solid var(--color-border);
    padding: 6px 12px;
    border-radius: var(--radius-btn);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.product-card:hover .btn-card-view {
    background: var(--color-gold);
    color: #ffffff;
    border-color: var(--color-gold);
}

/* ARCHIVE & PAGE HERO BANNER - ĐỒNG BỘ VỚI TRANG LIÊN HỆ & TRANG CHỦ */
.archive-header-banner {
    background: url('../images/backgroundok.webp') no-repeat center center;
    background-size: cover;
    color: #ffffff;
    padding: 56px 24px;
    margin-bottom: 32px;
    border-radius: 5px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #92661f8a;
    box-shadow: 0 4px 20px rgb(146 146 146 / 23%);
}

.archive-header-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(255 255 255 / 79%);
    pointer-events: none;
    z-index: 0;
}

.archive-header-banner > * {
    position: relative;
    z-index: 1;
}

.archive-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    position: relative;
    text-transform: none;
}

.archive-title span {
    color: #926620;
}

.archive-description {
    font-size: 15.5px;
    color: #334155;
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    line-height: 1.65;
}

/* CATEGORY FILTER BAR */
.product-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.filter-btn {
    padding: 7px 16px;
    border-radius: var(--radius-btn);
    font-size: 13.5px;
    font-weight: 500;
    background: #ffffff;
    border: 1px solid var(--color-border);
    color: var(--color-slate-700);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-gold);
    color: #ffffff;
    border-color: var(--color-gold);
}

/* FOOTER - NỀN NGÀ, TEXT ĐEN SANG TRỌNG */
.site-footer {
    background: linear-gradient(180deg, #fbf7f0 0%, #f6efe3 100%);
    color: #334155;
    padding: 56px 0 24px 0;
    margin-top: 60px;
    border-top: 3px solid var(--color-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: var(--font-body);
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--color-gold);
}

.footer-col p {
    color: #475569;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    color: #334155;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.6;
    color: #334155;
}

.footer-contact-list li a {
    color: #334155;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-contact-list li a:hover {
    color: #926620;
    transform: translateX(4px);
}

.footer-contact-list .icon,
.footer-contact-list i.fa-angle-right {
    color: #926620;
    flex-shrink: 0;
    margin-top: 4px;
    font-size: 11px;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #926620;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.25s ease;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.footer-social-btn:hover {
    background: var(--color-gold);
    color: #ffffff;
    border-color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(184, 134, 56, 0.35);
}

/* FOOTER GOOGLE MAP */
.footer-map-wrap {
    margin-top: 14px;
    border-radius: var(--radius-md, 6px);
    overflow: hidden;
    border: 1px solid rgba(184, 134, 56, 0.28);
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.06);
    line-height: 0;
    transition: var(--transition);
}

.footer-map-wrap:hover {
    border-color: var(--color-gold);
    box-shadow: 0 6px 18px rgba(184, 134, 56, 0.22);
}

.footer-map-wrap iframe {
    width: 100% !important;
    height: 155px !important;
    border: 0 !important;
    display: block;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(184, 134, 56, 0.22);
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

/* LIGHTBOX MODAL & GALLERY SLIDER */
.nextheme-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(8, 12, 22, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 0;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.nextheme-modal.open {
    display: flex;
    opacity: 1;
}

.lightbox-dialog {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 20px;
    box-sizing: border-box;
    user-select: none;
}

.lightbox-top-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    position: relative;
    z-index: 10;
}

.lightbox-counter {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f1f5f9;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 20;
    line-height: 1;
}

.modal-close-btn:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #ffffff;
    transform: rotate(90deg) scale(1.08);
    box-shadow: 0 4px 14px rgba(184, 134, 56, 0.4);
}

.lightbox-stage {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    margin: 8px 0;
}

.lightbox-img-wrap {
    max-width: calc(100% - 130px);
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-target-img {
    max-width: 100%;
    max-height: calc(100vh - 190px);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.16);
    cursor: default;
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.lightbox-arrow.btn-prev {
    left: 8px;
}

.lightbox-arrow.btn-next {
    right: 8px;
}

.lightbox-arrow:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(184, 134, 56, 0.4);
}

.lightbox-thumbs-container {
    width: 100%;
    max-width: 780px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: thin;
    padding: 6px 0;
}

.lightbox-thumbs-container::-webkit-scrollbar {
    height: 4px;
}

.lightbox-thumbs-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.lightbox-thumbs-track {
    display: flex;
    gap: 10px;
    padding: 4px 8px;
    align-items: center;
}

.lightbox-thumb-item {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.25);
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: #0f172a;
}

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

.lightbox-thumb-item:hover {
    opacity: 0.85;
    border-color: rgba(255, 255, 255, 0.7);
}

.lightbox-thumb-item.active {
    opacity: 1;
    border-color: var(--color-gold);
    box-shadow: 0 0 12px rgba(184, 134, 56, 0.7);
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .lightbox-dialog {
        padding: 10px 10px 14px;
    }
    .modal-close-btn {
        top: 10px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
    .lightbox-arrow {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
    .lightbox-arrow.btn-prev {
        left: 4px;
    }
    .lightbox-arrow.btn-next {
        right: 4px;
    }
    .lightbox-img-wrap {
        max-width: calc(100% - 90px);
    }
    #lightbox-target-img {
        max-height: calc(100vh - 160px);
    }
    .lightbox-thumb-item {
        width: 50px;
        height: 50px;
    }
}

/* ==========================
   404 ERROR PAGE STYLES (PREMIUM)
========================== */
.error-404-container {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
}

.error-404-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
    border: 1px solid var(--color-border);
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern/gradient */
.error-404-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(135deg, var(--color-gold-light) 0%, transparent 100%);
    opacity: 0.6;
    z-index: 0;
}

.error-404-graphic {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.error-404-text {
    font-size: 160px;
    font-weight: 900;
    line-height: 1;
    color: var(--color-gold);
    background: linear-gradient(135deg, var(--color-gold), #8c6424);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 20px 40px rgba(184, 134, 56, 0.15);
    display: inline-block;
    position: relative;
}

/* Shadow duplicate for a cool 3D effect */
.error-404-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    background: none;
}

.error-404-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.error-subtitle {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-slate-900);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.error-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-slate-500);
    margin-bottom: 40px;
}

.error-search-box {
    margin-bottom: 30px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid var(--color-border);
    border-radius: 99px;
    padding: 6px 6px 6px 20px;
    transition: var(--transition);
}

.search-input-wrapper:focus-within {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(184, 134, 56, 0.1);
}

.search-icon-left {
    color: var(--color-slate-400);
    font-size: 18px;
    margin-right: 12px;
}

.search-field-404 {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--color-slate-800);
    background: transparent;
    width: 100%;
}

.search-field-404::placeholder {
    color: var(--color-slate-400);
}

.search-submit-404 {
    background: var(--color-gold);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.search-submit-404:hover {
    background: var(--color-gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 134, 56, 0.2);
}

.error-btn-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 99px;
}

.error-suggested-posts {
    margin-top: 60px;
    padding-top: 50px;
}

.error-suggested-posts .suggested-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--color-slate-900);
    position: relative;
    display: inline-block;
}

.error-suggested-posts .suggested-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-gold);
    border-radius: 3px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    /* Mobile Header: Logo Left, Menu Icon Right */
    .header-inner {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 12px 20px !important;
        gap: 16px;
        box-sizing: border-box;
    }

    .site-logo {
        flex: 0 1 auto;
        display: flex;
        align-items: center;
        padding: 8px 0;
    }

    .site-logo-img {
        max-height: 42px;
        max-width: 145px;
        width: auto;
    }

    .site-logo .brand-title {
        font-size: 18px;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 8px 0;
    }

    .header-actions .btn-header-quote {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: auto !important;
        height: auto !important;
        border-radius: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: #1e293b;
        cursor: pointer;
        padding: 6px !important;
        margin: 0 !important;
        transition: color 0.2s ease, transform 0.2s ease;
    }

    .mobile-menu-toggle:hover,
    .mobile-menu-toggle:active {
        background: transparent !important;
        border: none !important;
        color: var(--color-gold) !important;
        transform: scale(1.08);
    }

    .mobile-menu-toggle .menu-icon-svg {
        width: 25px;
        height: 25px;
        color: currentColor;
        display: block;
    }

    /* Mobile Navigation Drawer */
    .site-nav {
        position: fixed !important;
        top: 0 !important;
        right: -320px !important;
        width: 300px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #ffffff !important;
        box-shadow: -6px 0 30px rgba(0, 0, 0, 0.25) !important;
        z-index: 9999 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        padding: 20px 18px !important;
        transition: right 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
        overflow-y: auto !important;
    }

    .site-nav.is-open {
        right: 0 !important;
    }

    .mobile-nav-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 14px;
        border-bottom: 1px solid #e2e8f0;
        margin-bottom: 14px;
    }

    .mobile-nav-title {
        font-weight: 700;
        font-size: 15px;
        color: var(--color-slate-900);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .mobile-nav-close {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        color: #64748b;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .mobile-nav-close:hover {
        background: #fee2e2;
        color: #ef4444;
        border-color: #fca5a5;
    }

    .primary-menu-list {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .primary-menu-list > li {
        border-bottom: 1px solid #f1f5f9;
        padding: 0 !important;
        width: 100% !important;
        height: auto !important;
    }

    .primary-menu-list > li.menu-item-has-children {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: relative !important;
    }

    .primary-menu-list > li > a {
        padding: 13px 4px !important;
        font-size: 15px !important;
        font-weight: 600;
        color: var(--color-slate-800);
        display: block !important;
        flex: 1 !important;
        height: auto !important;
    }

    .primary-menu-list > li.menu-item-has-children > a::after {
        display: none !important;
    }

    /* Icon toggle dấu + nằm hẳn bên phải */
    .submenu-toggle-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: var(--color-gold);
        font-size: 15px;
        cursor: pointer;
        margin-left: auto;
        padding: 0;
        transition: color 0.2s ease, transform 0.2s ease;
    }

    .submenu-toggle-btn:hover,
    .submenu-toggle-btn:active {
        color: #926620;
    }

    /* Mặc định submenu ĐÓNG (khi bấm dấu + mới show) */
    .primary-menu-list .sub-menu {
        display: none !important;
        width: 100% !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 2px solid var(--color-gold) !important;
        background: #f8fafc !important;
        padding: 4px 0 8px 14px !important;
        margin: 2px 0 10px 4px !important;
        list-style: none !important;
        border-radius: 5px;
    }

    .primary-menu-list .sub-menu.is-open {
        display: block !important;
    }

    .primary-menu-list .sub-menu li {
        padding: 0 !important;
        border-bottom: 1px dashed #e2e8f0;
    }

    .primary-menu-list .sub-menu li:last-child {
        border-bottom: none;
    }

    .primary-menu-list .sub-menu li a {
        padding: 8px 0 !important;
        font-size: 13.5px !important;
        color: var(--color-slate-600);
        display: block;
    }

    .primary-menu-list a:hover,
    .primary-menu-list a.active,
    .primary-menu-list li.current-menu-item > a {
        color: var(--color-gold) !important;
    }

    .mobile-nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .mobile-nav-backdrop.is-open {
        display: block !important;
        opacity: 1;
        visibility: visible;
    }

    body.mobile-nav-active {
        overflow: hidden;
    }

    /* Mobile Bottom Fixed Navigation */
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 60px !important;
        background: #ffffff !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
        border-top: 1px solid #e2e8f0 !important;
        z-index: 9995 !important;
        align-items: center !important;
        justify-content: space-around !important;
        padding: 0 4px !important;
        padding-bottom: env(safe-area-inset-bottom, 0px) !important;
        box-sizing: border-box !important;
    }

    .mob-bottom-item {
        flex: 1;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: #64748b;
        text-decoration: none;
        background: transparent;
        border: none;
        box-shadow: none;
        cursor: pointer;
        padding: 4px 0;
        margin: 0;
        transition: color 0.2s ease, transform 0.2s ease;
        font-family: inherit;
    }

    .mob-bottom-item:hover,
    .mob-bottom-item:active,
    .mob-bottom-item.active {
        color: var(--color-gold);
    }

    .mob-bottom-icon {
        font-size: 18px;
        display: block;
        transition: transform 0.2s ease;
    }

    .mob-bottom-label {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.2px;
        line-height: 1;
        white-space: nowrap;
    }

    .mob-bottom-hotline {
        color: #e11d48;
    }

    .mob-hotline-badge {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
        margin-top: -14px;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .mob-hotline-badge .mob-bottom-icon {
        font-size: 16px;
        color: #ffffff;
        animation: phonePulse 1.8s infinite;
    }

    @keyframes phonePulse {
        0%, 100% { transform: rotate(0deg) scale(1); }
        15% { transform: rotate(14deg) scale(1.1); }
        30% { transform: rotate(-14deg) scale(1.1); }
        45% { transform: rotate(10deg) scale(1.05); }
        60% { transform: rotate(-10deg) scale(1.05); }
        75% { transform: rotate(0deg) scale(1); }
    }

    .mob-bottom-hotline .mob-bottom-label {
        color: #e11d48;
        font-weight: 700;
        margin-top: 2px;
    }

    body {
        padding-bottom: 64px !important;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .product-gallery-section {
        position: static;
    }
    .product-content-section {
        margin-bottom: 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-intro-grid,
    .contact-layout-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .error-404-text {
        font-size: 100px;
    }
    .error-404-inner {
        padding: 40px 20px;
    }
    .error-subtitle {
        font-size: 22px;
    }
    .header-inner {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 18px !important;
        box-sizing: border-box;
    }
    .site-logo-img {
        max-height: 38px;
        max-width: 150px;
    }
    .site-logo .brand-title {
        font-size: 16px;
    }
    .consult-buttons-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .product-main-title {
        font-size: 22px;
    }
}

/* ============================================================ */
/* 7 HOMEPAGE SECTIONS - DESIGN SYSTEM (RADIUS: 5PX)           */
/* ============================================================ */

/* Section Headings & Badges */
.sec-badge-gold {
    color: var(--color-gold);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 6px;
}

.sec-heading-center {
    text-align: center;
    margin-bottom: 38px;
}

.sec-title-main {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-slate-900);
    margin: 4px 0 0 0;
}

.sec-gold-line {
    width: 50px;
    height: 3px;
    background: var(--color-gold);
    margin: 12px auto 14px auto;
    border-radius: 5px;
}

.sec-desc-main {
    font-size: 15px;
    color: var(--color-slate-600);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.65;
}

/* BỎ TOÀN BỘ ĐƯỜNG VIỀN PHÂN CÁCH GIỮA CÁC SECTION */
.sec-hero,
.sec-why,
.sec-featured-products,
.sec-products,
.sec-commitments,
.sec-process,
.sec-completed-projects,
.sec-home-videos,
.sec-consult-form,
.sec-news,
.sec-reviews {
    border-top: none !important;
    border-bottom: none !important;
    border: none !important;
}

/* 1. HERO BANNER - SMOOTH FLOWING GRADIENT (TÔNG #f1d8b1 & TÔNG NHẸ HƠN, TEXT ĐEN) */
.sec-hero {
    background: url('../images/backgroundok.webp') no-repeat center center;
    background-size: cover;
    color: #0f172a;
    padding: 75px 0 70px 0;
    border: none;
    position: relative;
    overflow: hidden;
}

@keyframes heroGradientShift {
    0% {
        background-position: 0% 0%, 0% 40%;
    }
    50% {
        background-position: 0% 0%, 100% 60%;
    }
    100% {
        background-position: 0% 0%, 20% 80%;
    }
}

/* Hoa văn đầm sen truyền thống làm nền Hero Home */
.sec-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-overlay-color, rgb(255 255 255 / 46%));
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 36px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left-content {
    text-align: left;
}

.sec-hero .sec-badge-gold {
    color: #926620;
    font-weight: 800;
}

.hero-main-heading {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 800;
    line-height: 1.3;
    color: #202a3c;
    margin: 12px 0 16px 0;
}

.hero-main-heading span {
    color: inherit;
}

.hero-main-desc {
    font-size: 15.5px;
    line-height: 1.7;
    color: #1e293b;
    margin-bottom: 26px;
}

.hero-action-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, #996c27 100%);
    color: #ffffff;
    padding: 11px 24px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(184, 134, 56, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(184, 134, 56, 0.45);
    color: #ffffff;
}

.btn-hero-secondary,
.hero-action-buttons .btn-hero-secondary,
a.btn-hero-secondary {
    background: #dc2626 !important;
    background-color: #dc2626 !important;
    background-image: linear-gradient(135deg, #e11d48 0%, #dc2626 50%, #b91c1c 100%) !important;
    border: 1.5px solid #dc2626 !important;
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: var(--radius-btn) !important;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4) !important;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.btn-hero-secondary *,
.btn-hero-secondary i,
.btn-hero-secondary span {
    color: #ffffff !important;
}

.btn-hero-secondary:hover,
.hero-action-buttons .btn-hero-secondary:hover,
a.btn-hero-secondary:hover {
    background: #b91c1c !important;
    background-color: #b91c1c !important;
    background-image: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border-color: #b91c1c !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.55) !important;
}

.hero-trust-indicators {
    display: flex;
    gap: 18px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.trust-badge {
    font-size: 12.5px;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.trust-badge i {
    color: #926620;
}

.hero-right-media {
    position: relative;
}

.hero-media-card {
    border-radius: 5px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 28px rgba(184, 134, 56, 0.12);
    position: relative;
}

.hero-showcase-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hero-media-card:hover .hero-showcase-img {
    transform: scale(1.03);
}

.hero-media-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(6px);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 5px;
    font-size: 12.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(184, 134, 56, 0.35);
}

.hero-media-badge i {
    color: var(--color-gold);
    font-size: 15px;
}

/* ============================================================ */
/* HERO DUAL-CARD SHOWCASE SLIDER (THEO THIẾT KẾ SCREENSHOT)   */
/* ============================================================ */
:root {
    --hero-main-h: 380px;
    --hero-main-w: calc(var(--hero-main-h) * 4 / 3); /* ~507px: chuẩn tỷ lệ 4:3 */
    --hero-next-h: calc(var(--hero-main-h) / 1.3);   /* ~292px: ảnh lớn gấp đúng 1.3 lần ảnh nhỏ */
    --hero-next-w: 170px;                             /* chiều rộng ảnh nhỏ */
    --hero-gap: 18px;                                 /* khoảng cách giữa 2 ảnh */
}

.hero-right-media {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.hero-showcase-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--hero-gap);
    height: var(--hero-main-h);
    user-select: none;
    width: fit-content;
}

/* Card 1: Ảnh lớn (Tỷ lệ 4:3 chuẩn, cố định chiều cao, hiển thị trọn vẹn 100% không crop) */
.showcase-card-main {
    width: var(--hero-main-w);
    height: var(--hero-main-h);
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
    cursor: zoom-in;
}

/* Nút icon phóng to trên ảnh lớn */
.showcase-zoom-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    opacity: 0.85;
    transition: all 0.25s ease;
    pointer-events: none;
    z-index: 3;
}

.showcase-card-main:hover .showcase-zoom-btn {
    opacity: 1;
    background: var(--color-gold);
    color: #ffffff;
    border-color: var(--color-gold);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(184, 134, 56, 0.45);
}

/* Card 2: Ảnh nhỏ ở sau (Cố định chiều rộng, chiều cao = H_main / 1.3, căn giữa dọc) */
.showcase-card-next {
    width: var(--hero-next-w);
    height: var(--hero-next-h);
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.showcase-card-next:hover {
    transform: scale(1.02);
}

/* Khung card: bo góc 5px chuẩn hệ thống, hiển thị trọn vẹn 100% không bị cắt mép */
.showcase-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: 0 10px 28px rgba(184, 134, 56, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);
}

.showcase-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 5px;
    border: none;
    transition: transform 0.4s ease;
}

.showcase-card-main:hover .showcase-card-img {
    transform: scale(1.03);
}

/* Thẻ bay trung gian khi chuyển slide "thế chỗ" */
.showcase-card-flyer {
    position: absolute;
    z-index: 8;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(184, 134, 56, 0.15);
    border: none;
    pointer-events: none;
}

.showcase-card-flyer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Nút Next tròn trắng có mũi tên -> đè lên ranh giới giữa 2 ảnh */
.showcase-arrow-btn {
    position: absolute;
    top: 50%;
    left: calc(var(--hero-main-w) + (var(--hero-gap) / 2));
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 99px;
    background: #ffffff;
    color: #1e293b;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-arrow-btn i {
    font-size: 15px;
}

.showcase-arrow-btn:hover {
    background: var(--color-gold);
    color: #ffffff;
    border-color: var(--color-gold);
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 8px 24px rgba(184, 134, 56, 0.45);
}

/* Removed: showcase-arrow-prev (user requested only next button) */

/* 2. VÌ SAO CHỌN CHÚNG TÔI (3 CỘT) */
.sec-why {
    padding: 60px 0;
    background: #ffffff;
}

.why-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    border-color: var(--color-gold);
    background: #ffffff;
}

.why-icon-box {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background: #fbf7ef;
    border: 1.5px solid #ecdcb8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 26px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-icon-box img {
    max-width: 36px;
    max-height: 36px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
    transition: transform 0.3s ease;
}

.why-card:hover .why-icon-box {
    transform: scale(1.08);
    background: var(--color-gold);
    color: #ffffff;
    border-color: var(--color-gold);
    box-shadow: 0 8px 20px rgba(184, 134, 56, 0.3);
}

.why-card:hover .why-icon-box img {
    transform: scale(1.1);
}

.why-card-title {
    font-size: 17.5px;
    font-weight: 700;
    color: var(--color-slate-900);
    margin-bottom: 10px;
}

.why-card-text {
    font-size: 14px;
    color: var(--color-slate-600);
    line-height: 1.65;
}

/* SECTION: SẢN PHẨM NỔI BẬT (4 CỘT) */
.sec-featured-products {
    padding: 65px 0;
    background-color: #faf8f5;
    position: relative;
}

.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 36px;
}

.featured-products-grid .product-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid #ebdcc5;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-products-grid .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(184, 134, 56, 0.18);
    border-color: var(--color-gold);
}

.featured-products-action {
    text-align: center;
    margin-top: 12px;
}

.btn-featured-view-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 36px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-gold) 0%, #996c27 100%);
    color: #ffffff;
    border-radius: var(--radius-btn);
    box-shadow: 0 6px 18px rgba(184, 134, 56, 0.28);
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-featured-view-more:hover {
    background: linear-gradient(135deg, #caa15a 0%, var(--color-gold) 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(184, 134, 56, 0.42);
}

@media (max-width: 1200px) {
    .featured-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 880px) {
    .featured-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 540px) {
    .featured-products-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* 3. SẢN PHẨM CỦA CHÚNG TÔI (DANH MỤC LƯỚI) */
.sec-products {
    padding: 65px 0 60px 0;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.sec-products::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/bg-lotus-pond-full.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
}

.sec-products .container {
    position: relative;
    z-index: 1;
}

.category-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cat-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cat-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
    border-color: var(--color-gold);
}

.cat-card-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    background: #0f172a;
}

.cat-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.cat-card-item:hover .cat-card-thumb img {
    transform: scale(1.06);
}

.cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.5) 100%);
}

.cat-card-info {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cat-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-slate-900);
    margin-bottom: 6px;
    transition: color 0.2s;
}

.cat-card-item:hover .cat-card-title {
    color: var(--color-gold);
}

.cat-card-desc {
    font-size: 13px;
    color: var(--color-slate-500);
    margin-bottom: 14px;
    line-height: 1.5;
}

.cat-card-btn {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.cat-card-item:hover .cat-card-btn i {
    transform: translateX(4px);
    transition: transform 0.2s;
}

/* NÚT XEM TẤT CẢ DANH MỤC TRANG CHỦ */
.btn-cat-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 34px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-gold) 0%, #996c27 100%);
    color: #ffffff;
    border-radius: var(--radius-btn);
    box-shadow: 0 6px 18px rgba(184, 134, 56, 0.32);
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-cat-view-all:hover {
    background: linear-gradient(135deg, #caa15a 0%, var(--color-gold) 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(184, 134, 56, 0.45);
}

/* 4. QUY TRÌNH LÀM VIỆC (ĐƯỜNG CHẠY CHỮ S NỐI CÁC BƯỚC) */
.sec-process {
    padding: 70px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.process-s-track {
    position: relative;
    max-width: 940px;
    margin: 40px auto 0 auto;
    padding: 10px 0;
}

.process-s-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.s-road-ribbon {
    stroke: rgba(184, 134, 56, 0.09);
    stroke-width: 34px;
    stroke-linecap: round;
    fill: none;
}

.s-road-line {
    stroke: #ecdcb8;
    stroke-width: 2.5px;
    stroke-dasharray: 8 6;
    stroke-linecap: round;
    fill: none;
}

.s-road-flow {
    stroke: var(--color-gold);
    stroke-width: 3.5px;
    stroke-dasharray: 60 300;
    stroke-linecap: round;
    fill: none;
    animation: sRoadFlow 8s linear infinite;
    filter: drop-shadow(0 0 5px rgba(184, 134, 56, 0.65));
}

@keyframes sRoadFlow {
    from {
        stroke-dashoffset: 720;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.process-steps-list {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.process-step-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 22px;
    transition: transform 0.25s ease;
}

.process-step-row.process-step-left {
    flex-direction: row;
    justify-content: flex-start;
    padding-right: 60px;
}

.process-step-row.process-step-right {
    flex-direction: row-reverse;
    justify-content: flex-start;
    padding-left: 60px;
}

.process-milestone-node {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.milestone-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold) 0%, #8c6322 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(184, 134, 56, 0.4);
    border: 2.5px solid #ffffff;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.milestone-pulse {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.5px solid var(--color-gold);
    opacity: 0.35;
    animation: milestonePulse 2.5s infinite;
}

@keyframes milestonePulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.18);
        opacity: 0.1;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
}

.process-step-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 5px;
    padding: 22px 28px;
    width: 450px;
    max-width: calc(100% - 78px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.process-step-row:hover .process-step-card {
    transform: translateY(-4px);
    border-color: var(--color-gold);
    box-shadow: 0 12px 30px rgba(184, 134, 56, 0.16);
}

.process-step-row:hover .milestone-num {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(184, 134, 56, 0.6);
}

.process-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.step-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-gold);
    background: #faf5eb;
    border: 1px solid #ecdcb8;
    padding: 2px 10px;
    border-radius: 99px;
    letter-spacing: 0.5px;
}

.process-step-title {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--color-slate-900);
}

.process-step-text {
    font-size: 13.5px;
    color: var(--color-slate-600);
    line-height: 1.65;
    margin: 0;
}

/* Responsive Process Track Mobile */
@media (max-width: 768px) {
    .process-s-svg {
        display: none;
    }
    .process-s-track {
        margin-top: 24px;
        padding: 0;
    }
    .process-steps-list {
        padding-left: 28px;
        gap: 20px;
    }
    .process-steps-list::before {
        content: '';
        position: absolute;
        left: 27px;
        top: 20px;
        bottom: 20px;
        width: 2px;
        border-left: 2px dashed #ecdcb8;
    }
    .process-step-row.process-step-left,
    .process-step-row.process-step-right {
        flex-direction: row !important;
        padding: 0 !important;
        gap: 14px;
        align-items: flex-start;
    }
    .process-milestone-node {
        width: 44px;
        height: 44px;
        margin-left: -22px;
    }
    .milestone-num {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    .process-step-card {
        width: 100%;
        max-width: 100%;
        padding: 16px 18px;
        border-radius: 5px;
    }
    .process-step-title {
        font-size: 15.5px;
    }
}

/* 5. FORM NHẬN TƯ VẤN (THIẾT KẾ ĐẲNG CẤP - KHÔNG LỒNG BOX) */
.sec-consult-form {
    padding: 75px 0 80px 0;
    background: linear-gradient(135deg, #f1d8b1 0%, #faede0 50%, #fdf9f4 100%);
    color: #0f172a;
    position: relative;
    overflow: hidden;
}

.consult-ambient-glow {
    position: absolute;
    top: -120px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 134, 56, 0.12) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.consult-layout-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Cột trái: Nội dung mở, không lồng box */
.consult-content-col {
    display: flex;
    flex-direction: column;
}

.sec-consult-form .sec-badge-gold {
    color: #926620;
    font-weight: 800;
}

.consult-main-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    margin: 12px 0 14px 0;
    line-height: 1.35;
    color: #0f172a;
}

.consult-main-desc {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 24px;
}

.consult-perks-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 4px;
}

.consult-perk-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14.5px;
    color: #334155;
    line-height: 1.6;
}

.consult-perk-item i {
    color: #926620;
    font-size: 15px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Cột phải: Thẻ Form DUY NHẤT (Chỉ có form, không có tiêu đề) */
.consult-form-col {
    position: relative;
}

.consult-form-card-single {
    background: #ffffff;
    border-radius: 5px;
    padding: 30px 28px;
    color: var(--color-slate-900);
    box-shadow: 0 16px 36px rgba(184, 134, 56, 0.12), 0 2px 10px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(184, 134, 56, 0.2);
    position: relative;
    overflow: hidden;
}

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

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-slate-700);
    margin-bottom: 6px;
    display: block;
}

.form-group label .required {
    color: #dc2626;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-slate-400);
    font-size: 14px;
}

.input-with-icon input,
.input-with-icon select {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1.5px solid #cbd5e1;
    border-radius: 5px;
    font-size: 13.5px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #f8fafc;
    color: var(--color-slate-900);
}

.input-with-icon input:focus,
.input-with-icon select:focus {
    outline: none;
    border-color: var(--color-gold);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(184, 134, 56, 0.16);
}

.btn-submit-consult {
    width: auto;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gold) 0%, #9e6f24 100%);
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: 99px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(184, 134, 56, 0.38);
    transition: all 0.25s ease;
    margin-top: 18px;
}

.btn-submit-consult:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(184, 134, 56, 0.5);
    opacity: 0.96;
}

.btn-submit-consult:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.form-result-message {
    margin-top: 14px;
    padding: 11px 16px;
    border-radius: 5px;
    font-size: 13.5px;
    line-height: 1.5;
}

.form-result-message.success {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.form-result-message.error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

/* Responsive Section Form */
@media (max-width: 900px) {
    .consult-layout-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .consult-main-title {
        font-size: 24px;
    }
    .consult-form-card-single {
        padding: 26px 20px;
    }
}

/* 6. TIN TỨC (1 Ô LỚN TRÁI + 4 Ô LIST PHẢI) */
.sec-news {
    padding: 60px 0;
    background: #f8fafc;
}

.news-split-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 26px;
}

.news-featured-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.featured-card-thumb {
    height: 260px;
    position: relative;
    display: block;
    overflow: hidden;
    background: #0f172a;
}

.featured-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.featured-card-thumb:hover img {
    transform: scale(1.05);
}

.news-date-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11.5px;
    padding: 4px 9px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-date-badge i {
    color: var(--color-gold);
}

.featured-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.featured-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.featured-card-title a {
    color: var(--color-slate-900);
}

.featured-card-title a:hover {
    color: var(--color-gold);
}

.featured-card-excerpt {
    font-size: 13.5px;
    color: var(--color-slate-600);
    line-height: 1.65;
    margin-bottom: 16px;
}

.featured-card-link {
    color: var(--color-gold);
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.news-list-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.news-list-item {
    display: flex;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
    padding: 0;
    align-items: stretch;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.news-list-item:hover {
    transform: translateX(4px);
    border-color: var(--color-gold);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.list-item-thumb {
    width: 120px;
    min-height: 84px;
    flex-shrink: 0;
    overflow: hidden;
    display: block;
    background: #0f172a;
    position: relative;
}

.list-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.news-list-item:hover .list-item-thumb img {
    transform: scale(1.08);
}

.list-item-info {
    flex-grow: 1;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.list-item-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 6px;
    flex-wrap: wrap;
    font-size: 11.5px;
    color: var(--color-slate-400);
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.meta-item i {
    color: var(--color-gold);
    font-size: 12px;
}

.meta-author {
    color: var(--color-slate-500);
    font-weight: 500;
}

.list-item-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.list-item-title a {
    color: var(--color-slate-800);
}

.list-item-title a:hover {
    color: var(--color-gold);
}

/* 7. KHÁCH HÀNG ĐÁNH GIÁ (SLIDER NẾU > 3 BOX) */
.sec-reviews {
    padding: 60px 0;
    background: #ffffff;
}

.reviews-wrapper {
    position: relative;
}

.is-row-active .reviews-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.is-slider-active .reviews-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 4px;
}

.is-slider-active .reviews-track::-webkit-scrollbar {
    display: none;
}

.review-box-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.is-slider-active .review-box-item {
    flex: 0 0 calc((100% - 44px) / 3);
    scroll-snap-align: start;
    min-width: 280px;
}

.review-box-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
    border-color: var(--color-gold);
    background: #ffffff;
}

.review-stars-gold {
    color: #f59e0b;
    font-size: 13.5px;
    margin-bottom: 12px;
    display: flex;
    gap: 3px;
}

.review-quote-text {
    font-size: 13.5px;
    color: var(--color-slate-700);
    line-height: 1.65;
    font-style: italic;
    margin-bottom: 16px;
    flex-grow: 1;
}

.review-author-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid #e2e8f0;
    padding-top: 14px;
}

.review-avatar-wrap,
.review-avatar-circle {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-gold);
    box-shadow: 0 3px 10px rgba(184, 134, 56, 0.25);
    background: #fef9ed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.review-author-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-slate-900);
    margin: 0;
}

.review-author-loc {
    font-size: 12px;
    color: var(--color-slate-500);
}

/* ============================================================= */
/* ZALO SCREENSHOT REVIEWS CARDS */
/* ============================================================= */
.is-row-active .reviews-zalo-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .is-row-active .reviews-zalo-track {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .is-row-active .reviews-zalo-track {
        grid-template-columns: 1fr;
    }
}

.is-slider-active .reviews-zalo-track .review-zalo-item {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 250px;
}

@media (max-width: 1024px) {
    .is-slider-active .reviews-zalo-track .review-zalo-item {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 576px) {
    .is-slider-active .reviews-zalo-track .review-zalo-item {
        flex: 0 0 100%;
    }
}

.review-zalo-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.review-zalo-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(184, 134, 56, 0.16);
    border-color: var(--color-gold);
}

.review-zalo-img-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    background: #0f172a;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
}

.review-zalo-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #0068ff, #0052cc);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 5px 11px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 104, 255, 0.35);
    text-transform: uppercase;
    pointer-events: none;
}

.review-zalo-badge i {
    font-size: 12px;
}

.review-zalo-zoom-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: zoom-in;
}

.review-zalo-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
}

.review-zalo-item:hover .review-zalo-screenshot {
    transform: scale(1.04);
}

.review-zalo-zoom-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 3;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.review-zalo-item:hover .review-zalo-zoom-btn {
    opacity: 1;
    transform: translateY(0);
}

.review-zalo-caption {
    padding: 16px 16px 18px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    flex-grow: 1;
}

.review-zalo-quote-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: #fef9ed;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.review-zalo-desc-text {
    font-size: 13.5px;
    color: var(--color-slate-700);
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.slider-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-slate-700);
    font-size: 16px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.25s ease;
}

.slider-nav-btn:hover {
    background: var(--color-gold);
    color: #ffffff;
    border-color: var(--color-gold);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 18px rgba(184, 134, 56, 0.35);
}

.slider-nav-btn.btn-prev {
    left: -22px;
}

.slider-nav-btn.btn-next {
    right: -22px;
}

.reviews-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.25s ease;
}

.slider-dot.active {
    background: var(--color-gold);
    width: 26px;
    border-radius: 10px;
}

/* RESPONSIVE FOR 7 HOMEPAGE SECTIONS */
@media (max-width: 1200px) and (min-width: 993px) {
    :root {
        --hero-main-h: 260px;
        --hero-next-w: 115px;
        --hero-gap: 12px;
    }
}

@media (max-width: 992px) {
    :root {
        --hero-main-h: 280px;
        --hero-next-w: 125px;
        --hero-gap: 14px;
    }
    .hero-container,
    .consult-form-card,
    .news-split-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-right-media {
        justify-content: center;
    }
    .why-grid-3,
    .category-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-grid-boxes {
        grid-template-columns: 1fr;
    }
    .is-slider-active .review-box-item {
        flex: 0 0 calc((100% - 22px) / 2);
    }
}

@media (max-width: 640px) {
    :root {
        --hero-main-h: 195px;
        --hero-next-w: 85px;
        --hero-gap: 10px;
    }
    .sec-hero::before {
        background-size: 280px 280px;
    }
    .showcase-arrow-btn {
        width: 36px;
        height: 36px;
    }
    .showcase-arrow-btn i {
        font-size: 13px;
    }
    .why-grid-3,
    .category-showcase-grid {
        grid-template-columns: 1fr;
    }
    .hero-main-heading {
        font-size: 26px;
    }
    .hero-action-buttons {
        flex-wrap: nowrap;
        gap: 8px;
    }
    .hero-action-buttons .btn-hero-primary,
    .hero-action-buttons .btn-hero-secondary {
        flex: 1;
        justify-content: center;
        padding: 10px 8px;
        font-size: 12.5px;
        white-space: nowrap;
    }
    .consult-form-card {
        padding: 22px 16px;
    }
    .is-slider-active .review-box-item {
        flex: 0 0 100%;
    }
    .slider-nav-btn.btn-prev {
        left: 0;
    }
    .slider-nav-btn.btn-next {
        right: 0;
    }
}

/* CONTACT MAP WRAPPER & TONE FILTER */
.contact-map-wrapper {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    height: 420px;
    background: #e2e8f0;
    border: 1px solid var(--color-border);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04);
}

.contact-map-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block;
    /* Tông màu trang nhã: giảm độ chói lóa của Google Map, hơi ấm nhẹ chuẩn chất đá & phong thủy */
    filter: grayscale(35%) contrast(1.08) brightness(0.98) sepia(8%);
    transition: filter 0.4s ease;
}

.contact-map-wrapper:hover iframe {
    filter: grayscale(0%) contrast(1) brightness(1) sepia(0%);
}

/* NEWS & POSTS LISTING STYLES */
.news-posts-grid {
    display: grid;
    grid-template-columns: repeat(var(--blog-grid-columns, 3), minmax(0, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 991px) {
    .news-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .news-posts-grid {
        grid-template-columns: 1fr;
    }
}

.news-card-item {
    background: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.news-card-thumb {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: var(--blog-aspect-ratio, 16 / 9);
    overflow: hidden;
    background: #f1f5f9;
}

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

.news-card-item:hover .news-thumb-img {
    transform: scale(1.05);
}

.news-card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: var(--color-gold);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 5px;
    border: 1px solid rgba(184, 134, 56, 0.35);
}

/* Hai góc dưới của ảnh: ngày tháng (góc trái) và thời gian đọc (góc phải) */
.news-thumb-meta-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.75) 100%);
    pointer-events: none;
    z-index: 2;
}

.thumb-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(4px);
    padding: 3.5px 8.5px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    line-height: 1.2;
}

.thumb-meta-item i {
    color: var(--color-gold);
    font-size: 11px;
}

.news-card-content {
    padding: 18px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 10px;
}

.news-card-title a {
    color: var(--color-slate-900);
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-card-title a:hover {
    color: var(--color-gold);
}

.news-card-excerpt {
    font-size: 14.5px;
    color: var(--color-slate-600);
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-card-bottom {
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.news-card-link {
    color: var(--color-gold);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.news-card-link:hover {
    gap: 10px;
}

/* ARTICLE / SINGLE POST RICH CONTENT TYPOGRAPHY & INTERLEAVED MEDIA */
.content-styled {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
}

.content-styled p {
    margin-bottom: 18px;
}

.content-styled h2 {
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 700;
    color: var(--color-slate-900);
    margin-top: 32px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.content-styled h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--color-gold);
}

.content-styled h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-slate-800);
    margin-top: 24px;
    margin-bottom: 12px;
}

.content-styled figure,
.content-styled .wp-caption,
figure.wp-caption,
.wp-caption {
    max-width: 100% !important;
    width: auto !important;
    margin: 28px auto !important;
    text-align: center;
    box-sizing: border-box;
}

.content-styled figure img,
.content-styled .wp-caption img,
.content-styled img,
.single-post-content img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    border-radius: 5px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
    display: block;
    margin: 0 auto;
    border: 1px solid var(--color-border);
    box-sizing: border-box;
}

.aligncenter,
div.aligncenter,
figure.aligncenter {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.alignleft,
div.alignleft,
figure.alignleft {
    float: left;
    margin: 0 24px 20px 0;
    max-width: 100% !important;
}

.alignright,
div.alignright,
figure.alignright {
    float: right;
    margin: 0 0 20px 24px;
    max-width: 100% !important;
}

.alignnone,
div.alignnone,
figure.alignnone {
    margin: 0 0 20px 0;
    max-width: 100% !important;
}

@media (max-width: 768px) {
    .alignleft,
    .alignright,
    div.alignleft,
    div.alignright,
    figure.alignleft,
    figure.alignright {
        float: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        display: block !important;
    }
}

.content-styled figcaption,
.wp-caption-text {
    font-size: 13.5px;
    font-style: italic;
    color: #64748b;
    margin-top: 10px;
    line-height: 1.5;
    text-align: center;
    max-width: 100%;
    word-break: break-word;
}

.content-styled blockquote {
    margin: 28px 0;
    padding: 20px 26px;
    background: #fbf9f4;
    border-left: 4px solid var(--color-gold);
    border-radius: 0 5px 5px 0;
    font-size: 16px;
    font-style: italic;
    color: #475569;
    line-height: 1.75;
}

.content-styled blockquote p:last-child {
    margin-bottom: 0;
}

.content-styled ul,
.content-styled ol {
    margin: 18px 0 24px 24px;
    padding-left: 8px;
}

.content-styled li {
    margin-bottom: 10px;
    line-height: 1.75;
}

.content-styled strong {
    color: var(--color-slate-900);
}

.content-styled table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 15px;
    background: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.content-styled th,
.content-styled td {
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.content-styled th {
    background: #f8fafc;
    font-weight: 700;
    color: var(--color-slate-800);
}

.content-styled tr:hover td {
    background: #fcfbf8;
}

.post-callout {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #cbd5e1;
    border-left: 4px solid var(--color-gold);
    border-radius: 5px;
    padding: 24px;
    margin: 32px 0;
}

.post-callout-title {
    font-weight: 700;
    font-size: 16.5px;
    color: var(--color-slate-900);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-callout-title i {
    color: var(--color-gold);
}

/* ==========================================================================
   ACCESSIBILITY & SCREEN READER TEXT
   ========================================================================== */
.screen-reader-text {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    word-wrap: normal !important;
}

/* ==========================================================================
   PAGINATION (PHÂN TRANG TRÒN HIỆN ĐẠI CAO CẤP)
   ========================================================================== */
.navigation.pagination {
    margin: 48px auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    clear: both;
}

.navigation.pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

/* Các nút phân trang hình tròn hoàn hảo */
.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    max-width: 44px;
    border-radius: 50% !important;
    padding: 0 !important;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-slate-700);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    line-height: 1;
}

/* Hover các nút tròn */
.navigation.pagination a.page-numbers:hover {
    color: var(--color-gold);
    background: #faf6ee;
    border-color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(184, 134, 56, 0.22);
}

/* Trang hiện tại (Active) */
.navigation.pagination .page-numbers.current {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--color-gold) 0%, #926620 100%) !important;
    border-color: var(--color-gold) !important;
    box-shadow: 0 6px 18px rgba(184, 134, 56, 0.42) !important;
    cursor: default;
    font-weight: 700;
    transform: none !important;
}

/* Dấu ba chấm (...) */
.navigation.pagination .page-numbers.dots {
    width: 32px;
    min-width: 32px;
    border: none;
    background: transparent;
    box-shadow: none;
    color: var(--color-slate-400);
    font-weight: 700;
    font-size: 16px;
    cursor: default;
}

/* Nút Trước (Prev) và Sau (Next) hình tròn có Icon Left & Right */
.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50% !important;
    padding: 0 !important;
    font-size: 14px;
    color: var(--color-slate-600);
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.navigation.pagination .page-numbers.prev i,
.navigation.pagination .page-numbers.next i {
    font-size: 13px;
    line-height: 1;
}

.navigation.pagination a.page-numbers.prev:hover,
.navigation.pagination a.page-numbers.next:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--color-gold) 0%, #926620 100%) !important;
    border-color: var(--color-gold) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(184, 134, 56, 0.35);
}

@media (max-width: 640px) {
    .navigation.pagination {
        margin: 32px auto 20px;
    }

    .navigation.pagination .nav-links {
        gap: 6px;
    }

    .navigation.pagination .page-numbers {
        width: 38px;
        height: 38px;
        min-width: 38px;
        max-width: 38px;
        font-size: 13.5px;
    }

    .navigation.pagination .page-numbers.prev,
    .navigation.pagination .page-numbers.next {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 12px;
    }
}

/* ==========================================================================
   SINGLE POST LAYOUT WITH SIDEBAR (CHI TIẾT BÀI VIẾT + SIDEBAR)
   ========================================================================== */
.single-post-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 36px;
    align-items: start;
    margin-bottom: 60px;
}

.single-post-main {
    min-width: 0;
}

.single-post-wrapper {
    background: #ffffff;
    border-radius: 5px;
    border: 1px solid var(--color-border);
    padding: 36px 40px;
    box-shadow: var(--shadow-sm);
}

.single-post-header {
    margin-bottom: 28px;
}

.single-post-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-slate-900);
    line-height: 1.4;
    margin: 0 0 18px 0;
}

/* Post Meta Bar (Hiển thị sau tiêu đề: Tác giả, Ngày đăng, Phút đọc + Nút Share) */
.single-post-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.meta-left-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--color-slate-500);
    flex-wrap: wrap;
}

.meta-left-group .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-left-group .meta-item i {
    color: var(--color-gold);
    font-size: 13.5px;
}

.meta-left-group .meta-author span {
    font-weight: 600;
    color: var(--color-slate-800);
}

.meta-left-group .meta-sep {
    color: #cbd5e1;
}

.meta-share-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-share-group .share-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-slate-500);
    margin-right: 2px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.meta-share-group .share-label i {
    color: var(--color-gold);
    font-size: 13px;
}

.meta-share-group .share-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--color-slate-600);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.meta-share-group .share-facebook:hover {
    background: #1877f2;
    color: #ffffff;
    border-color: #1877f2;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(24, 119, 242, 0.35);
}

.meta-share-group .share-linkedin:hover {
    background: #0a66c2;
    color: #ffffff;
    border-color: #0a66c2;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(10, 102, 194, 0.35);
}

.meta-share-group .share-pinterest:hover {
    background: #bd081c;
    color: #ffffff;
    border-color: #bd081c;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(189, 8, 28, 0.35);
}

.meta-share-group .share-twitter:hover {
    background: #0f1419;
    color: #ffffff;
    border-color: #0f1419;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(15, 20, 25, 0.35);
}

@media (max-width: 640px) {
    .single-post-meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .meta-share-group {
        width: 100%;
        padding-top: 10px;
        border-top: 1px dashed #e2e8f0;
        justify-content: flex-start;
    }
}

.single-post-wrapper {
    background: #ffffff;
    border-radius: 5px;
    border: 1px solid var(--color-border);
    padding: 36px 40px;
    box-shadow: var(--shadow-sm);
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.single-post-thumbnail {
    margin-bottom: 28px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background: #f8fafc;
    text-align: center;
}

.single-post-thumbnail img {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.single-post-content {
    font-size: 16px;
    line-height: 1.85;
    color: var(--color-slate-700);
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
}

.single-post-tags {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.single-post-tags .tags-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-slate-600);
}

.single-post-tags .tags-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.single-post-tags .tag-item {
    font-size: 13px;
    color: var(--color-slate-700);
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.single-post-tags .tag-item:hover {
    color: #ffffff;
    background: var(--color-gold);
}

.single-post-footer {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* SIDEBAR STYLES */
.single-post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: sticky;
    top: 90px;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 5px;
    border: 1px solid var(--color-border);
    padding: 24px 22px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.sidebar-widget-title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-slate-900);
    margin: 0 0 18px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-widget-title .title-bar {
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, var(--color-gold) 0%, #926620 100%);
    border-radius: 2px;
    display: inline-block;
}

/* Posts List in Sidebar */
.sidebar-posts-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-post-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px dashed #e2e8f0;
}

.sidebar-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-post-thumb {
    width: 78px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
    display: block;
}

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

.sidebar-post-item:hover .sidebar-post-thumb img {
    transform: scale(1.08);
}

.sidebar-post-info {
    flex: 1;
    min-width: 0;
}

.sidebar-post-title {
    margin: 0 0 4px 0;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.45;
}

.sidebar-post-title a {
    color: var(--color-slate-800);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.sidebar-post-item:hover .sidebar-post-title a {
    color: var(--color-gold);
}

.sidebar-post-meta {
    font-size: 12px;
    color: var(--color-slate-400);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Products List in Sidebar */
.sidebar-products-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-product-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px dashed #e2e8f0;
}

.sidebar-product-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-product-thumb {
    width: 70px;
    height: 70px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
    display: block;
    border: 1px solid #e2e8f0;
}

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

.sidebar-product-thumb .no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    color: var(--color-gold);
    font-size: 22px;
}

.sidebar-product-item:hover .sidebar-product-thumb img {
    transform: scale(1.08);
}

.sidebar-product-info {
    flex: 1;
    min-width: 0;
}

.sidebar-product-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-gold);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.sidebar-product-title {
    margin: 0 0 6px 0;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
}

.sidebar-product-title a {
    color: var(--color-slate-800);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.sidebar-product-item:hover .sidebar-product-title a {
    color: var(--color-gold);
}

.sidebar-product-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price-label {
    font-size: 12px;
    font-weight: 600;
    color: #b45309;
}

.product-view-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #faf6ee;
    color: var(--color-gold);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
}

.sidebar-product-item:hover .product-view-icon {
    background: var(--color-gold);
    color: #ffffff;
    transform: translateX(3px);
}

/* Sidebar Call to Action Box */
.sidebar-cta-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 5px;
    padding: 26px 22px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

.sidebar-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold) 0%, #fef3c7 50%, var(--color-gold) 100%);
}

.sidebar-cta-box .cta-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(184, 134, 56, 0.18);
    border: 1px solid rgba(184, 134, 56, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.sidebar-cta-box .cta-title {
    font-family: var(--font-body);
    font-size: 16.5px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.sidebar-cta-box .cta-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 0 16px 0;
}

.sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 18px;
    background: linear-gradient(135deg, var(--color-gold) 0%, #926620 100%);
    color: #ffffff !important;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(184, 134, 56, 0.35);
    transition: all 0.25s ease;
}

.sidebar-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 56, 0.5);
    color: #ffffff;
}

@media (max-width: 991px) {
    .single-post-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .single-post-sidebar {
        position: static;
        margin-top: 10px;
    }

    .single-post-wrapper {
        padding: 24px 20px;
    }

    .single-post-title {
        font-size: 22px;
    }
}

/* ==========================================================================
   RELATED POSTS SECTION (BÀI VIẾT LIÊN QUAN - 3.5 CỘT CUỘN NGANG ẨN THANH CUỘN)
   ========================================================================== */
.related-posts-section {
    margin-top: 50px;
    margin-bottom: 70px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.related-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.related-subtitle {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

.related-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--color-slate-900);
    margin: 0;
}

.related-nav-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-nav-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50% !important;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-slate-700);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    font-size: 14px;
    padding: 0;
}

.related-nav-btn:hover {
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-gold) 0%, #926620 100%);
    border-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(184, 134, 56, 0.35);
}

.related-nav-btn:active {
    transform: translateY(0);
}

.related-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Track cuộn ngang mượt mà, ẩn thanh cuộn */
.related-carousel-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 6px 2px 20px 2px;
    -webkit-overflow-scrolling: touch;
    /* Ẩn hoàn toàn thanh cuộn */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE & Edge */
}

.related-carousel-track::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Thẻ bài viết liên quan: Hiển thị đúng 3.5 cột */
.related-card-item, .related-product-item {
    flex: 0 0 calc((100% - (2.5 * 22px)) / 3.5);
    min-width: calc((100% - (2.5 * 22px)) / 3.5);
    max-width: calc((100% - (2.5 * 22px)) / 3.5);
    scroll-snap-align: start;
}

.related-product-item .product-card {
    height: 100%;
    margin-bottom: 0;
}

.related-card-item {
    background: #ffffff;
    border-radius: 5px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.related-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
}

.related-card-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    background: #0f172a;
}

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

.related-card-item:hover .related-thumb-img {
    transform: scale(1.08);
}

.related-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    color: #fef08a;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(254, 240, 138, 0.2);
}

.related-card-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.related-card-meta {
    font-size: 12px;
    color: var(--color-slate-400);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.related-card-meta i {
    color: var(--color-gold);
}

.related-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 10px 0;
}

.related-card-title a {
    color: var(--color-slate-800);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.related-card-item:hover .related-card-title a {
    color: var(--color-gold);
}

.related-card-excerpt {
    font-size: 13.5px;
    color: var(--color-slate-500);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 991px) {
    .related-card-item, .related-product-item {
        flex: 0 0 calc((100% - 20px) / 2.3);
        min-width: calc((100% - 20px) / 2.3);
        max-width: calc((100% - 20px) / 2.3);
    }
}

@media (max-width: 640px) {
    .related-posts-section {
        margin-top: 36px;
        margin-bottom: 50px;
        padding-top: 30px;
    }

    .related-title {
        font-size: 22px;
    }

    .related-carousel-track {
        gap: 14px;
    }

    .related-card-item, .related-product-item {
        flex: 0 0 calc((100% - 14px) / 1.35);
        min-width: calc((100% - 14px) / 1.35);
        max-width: calc((100% - 14px) / 1.35);
    }

    .related-nav-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 12px;
    }
}

/* ==========================================================================
   TAXONOMY SEO DESCRIPTION CARD (Mô tả SEO danh mục / thẻ dưới phân trang)
   ========================================================================== */
.taxonomy-seo-card {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 20px;
    margin: 40px auto 50px auto;
    position: relative;
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;
}

.taxonomy-seo-inner {
    width: 100%;
    max-width: 100%;
    line-height: 1.75;
    color: var(--color-slate-700);
    font-size: 14px;
    position: relative;
    box-sizing: border-box;
}

.taxonomy-seo-inner p {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 12px;
}

.taxonomy-seo-inner h2 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-slate-900);
    margin: 20px 0 10px 0;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--color-border);
}

.taxonomy-seo-inner h3 {
    font-family: var(--font-body);
    font-size: 15.5px;
    font-weight: 700;
    color: var(--color-slate-800);
    margin: 16px 0 8px 0;
}

.taxonomy-seo-inner ul,
.taxonomy-seo-inner ol {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 12px;
    padding-left: 20px;
}

.taxonomy-seo-inner li {
    margin-bottom: 6px;
}

/* Hiển thị đầy đủ 100% nội dung mô tả SEO không ẩn/thu gọn */
.taxonomy-seo-inner {
    max-height: none !important;
    overflow: visible !important;
    position: static;
}

.taxonomy-seo-inner::after {
    display: none !important;
}

.taxonomy-seo-toggle-wrapper {
    display: none !important;
}

@media (max-width: 768px) {
    .taxonomy-seo-card {
        padding: 10px;
        margin-top: 30px;
        margin-bottom: 40px;
        border-radius: 0;
    }
}

/* ==========================================================================
   PRODUCT CATEGORY HORIZONTAL SLIDER (Dưới hero banner trang /san-pham/)
   ========================================================================== */
.product-cat-slider-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.cat-slider-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--color-border);
    color: var(--color-slate-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    z-index: 2;
    flex-shrink: 0;
}

.cat-slider-btn:hover {
    background: var(--color-gold);
    color: #ffffff;
    border-color: var(--color-gold);
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(184, 134, 56, 0.25);
}

.cat-slider-btn i {
    font-size: 13px;
    line-height: 1;
}

.cat-slider-track {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 6px 2px;
    flex: 1;
    white-space: nowrap;
}

.cat-slider-track::-webkit-scrollbar {
    display: none;
}

.cat-slider-item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    font-size: 13.5px;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: var(--color-slate-700);
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cat-slider-item:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(184, 134, 56, 0.15);
}

.cat-slider-item.active {
    background: var(--color-gold);
    color: #ffffff;
    border-color: var(--color-gold);
    box-shadow: 0 3px 10px rgba(184, 134, 56, 0.3);
}

@media (max-width: 640px) {
    .product-cat-slider-container {
        gap: 8px;
        margin-bottom: 24px;
    }
    .cat-slider-btn {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 11px;
    }
    .cat-slider-item {
        padding: 7px 15px;
        font-size: 12.5px;
    }
}

/* ==========================================================================
   NEXTHEME FLOATING CONTACT WIDGET (HÔNG PHẢI MÀN HÌNH)
   ========================================================================== */
.nextheme-floating-contact {
    position: fixed;
    right: 22px;
    bottom: 35px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.floating-contact-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    border: none;
    outline: none;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.floating-contact-btn:hover {
    transform: scale(1.1);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.floating-contact-btn .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

/* Tooltip / Label */
.floating-contact-btn .btn-label {
    position: absolute;
    right: 58px;
    background: #0f172a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.25s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.floating-contact-btn .btn-label::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent #0f172a;
}

.floating-contact-btn:hover .btn-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Call Button (Hotline) */
.floating-contact-btn.btn-call {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
}

/* Zalo Button */
.floating-contact-btn.btn-zalo {
    background: linear-gradient(135deg, #0084ff 0%, #0068ff 100%);
    box-shadow: 0 4px 14px rgba(0, 104, 255, 0.45);
}
.floating-contact-btn.btn-zalo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

/* Facebook Button */
.floating-contact-btn.btn-facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0c56bd 100%);
}

/* Back to Top */
.floating-contact-btn.btn-top {
    background: #334155;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.floating-contact-btn.btn-top.is-visible {
    opacity: 0.92;
    visibility: visible;
    transform: translateY(0);
}

.floating-contact-btn.btn-top:hover {
    opacity: 1;
    background: #0f172a;
    transform: translateY(-2px);
}

/* Pulse animation on call & zalo */
.floating-contact-btn .pulse-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0.7;
    animation: floatingPulse 2s cubic-bezier(0.25, 0, 0, 1) infinite;
    z-index: 1;
    pointer-events: none;
}

.floating-contact-btn.btn-call .pulse-ring {
    border-color: #ef4444;
}

.floating-contact-btn.btn-zalo .pulse-ring {
    border-color: #0084ff;
    animation-delay: 0.5s;
}

@keyframes floatingPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nextheme-floating-contact {
        right: 14px;
        bottom: 74px; /* Tránh đè lên thanh mobile bottom nav */
        gap: 10px;
    }
    .floating-contact-btn {
        width: 42px;
        height: 42px;
    }
    .floating-contact-btn .btn-icon {
        font-size: 17px;
    }
    .floating-contact-btn .btn-label {
        display: none;
    }
}

/* ============================================================ */
/* SECTION: CAM KẾT CỦA CHÚNG TÔI                               */
/* ============================================================ */
.sec-commitments {
    padding: 70px 0;
    background: #f8fafc;
    position: relative;
}

.commitments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.commitment-card {
    background: #ffffff;
    border-radius: var(--radius-card, 6px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.commitment-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold, #b88638), #d4af37);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.commitment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(184, 134, 56, 0.15);
    border-color: rgba(184, 134, 56, 0.35);
}

.commitment-card:hover::before {
    opacity: 1;
}

.commitment-card-inner {
    padding: 30px 24px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.commitment-num-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fdfaf3;
    border: 2px solid var(--color-gold, #b88638);
    color: var(--color-gold, #b88638);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    font-weight: 800;
    font-family: var(--font-heading, inherit);
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 14px rgba(184, 134, 56, 0.16);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.commitment-card:hover .commitment-num-circle {
    background: linear-gradient(135deg, var(--color-gold, #b88638), #d4af37);
    color: #ffffff;
    border-color: #d4af37;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 22px rgba(184, 134, 56, 0.35);
}

.commitment-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-slate-800, #1e293b);
    line-height: 1.4;
    margin: 0 0 12px 0;
    font-family: var(--font-heading, inherit);
    text-align: center;
}

.commitment-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
    text-align: center;
}

@media (max-width: 1024px) {
    .commitments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .sec-commitments {
        padding: 50px 0;
    }
    .commitments-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ============================================================ */
/* SECTION: CÔNG TRÌNH ĐÃ THI CÔNG (LƯỚI 4 CÔNG TRÌNH / HÀNG)   */
/* ============================================================ */
.sec-completed-projects {
    padding: 76px 0;
    background: #ffffff;
    position: relative;
}

.completed-projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.project-card-item {
    background: #ffffff;
    border-radius: var(--radius-card, 6px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(184, 134, 56, 0.16);
    border-color: rgba(184, 134, 56, 0.4);
}

.project-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f1f5f9;
}

.project-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
}

.project-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-card-item:hover .project-card-img {
    transform: scale(1.06);
}

.project-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card-item:hover .project-thumb-overlay {
    opacity: 1;
}

.project-zoom-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--color-slate-800, #1e293b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transform: scale(0.8);
    transition: transform 0.3s ease, background 0.2s, color 0.2s;
}

.project-card-item:hover .project-zoom-icon {
    transform: scale(1);
    background: var(--color-gold, #b88638);
    color: #ffffff;
}

.project-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(184, 134, 56, 0.4);
    pointer-events: none;
    z-index: 2;
}

.project-card-body {
    padding: 20px 18px 22px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-meta-date {
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.project-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 10px 0;
    font-family: var(--font-heading, inherit);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card-title a {
    color: var(--color-slate-800, #1e293b);
    transition: color 0.2s ease;
}

.project-card-title a:hover {
    color: var(--color-gold, #b88638);
}

.project-card-excerpt {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.project-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gold, #b88638);
    transition: color 0.2s ease, gap 0.2s ease;
    margin-top: auto;
}

.project-card-readmore:hover {
    color: #996c27;
    gap: 10px;
}

.project-view-all-wrap {
    text-align: center;
    margin-top: 40px;
}

.btn-project-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--color-slate-800, #1e293b);
    border: 1.5px solid rgba(184, 134, 56, 0.45);
    padding: 10px 28px;
    border-radius: var(--radius-btn, 4px);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.btn-project-view-all:hover {
    background: linear-gradient(135deg, var(--color-gold, #b88638) 0%, #996c27 100%);
    border-color: var(--color-gold, #b88638);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(184, 134, 56, 0.35);
}

@media (max-width: 1024px) {
    .completed-projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .sec-completed-projects {
        padding: 50px 0;
    }
    .completed-projects-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* ============================================================ */
/* SECTION: VIDEO CÔNG TRÌNH THỰC TẾ (LƯỚI 3 CỘT VIDEO / HÀNG)  */
/* ============================================================ */
.sec-home-videos {
    padding: 76px 0;
    background: #f8fafc;
    position: relative;
}

.home-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 36px;
}

.video-card-item {
    background: #ffffff;
    border-radius: 5px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.video-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(184, 134, 56, 0.16);
    border-color: rgba(184, 134, 56, 0.5);
}

.video-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
}

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

.video-card-item:hover .video-thumb-img {
    transform: scale(1.05);
}

.video-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
    transition: background 0.3s ease;
}

.video-card-item:hover .video-overlay-gradient {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4a359 0%, var(--color-gold, #b88638) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 3px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(184, 134, 56, 0.5);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    z-index: 2;
    padding: 0 0 0 4px;
}

.video-card-item:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.12);
    background: linear-gradient(135deg, #e6b86a 0%, #a07328 100%);
    box-shadow: 0 8px 25px rgba(184, 134, 56, 0.6), 0 0 0 10px rgba(184, 134, 56, 0.25);
}

.video-badge-tag {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 5px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.video-badge-tag i {
    color: var(--color-gold, #b88638);
}

.video-card-info {
    padding: 18px 18px 20px 18px;
    background: #ffffff;
    flex: 1;
    display: flex;
    align-items: center;
}

.video-card-title {
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0;
    color: var(--color-slate-800, #1e293b);
    font-family: var(--font-heading, inherit);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.video-card-item:hover .video-card-title {
    color: var(--color-gold, #b88638);
}

@media (max-width: 992px) {
    .home-video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

@media (max-width: 640px) {
    .sec-home-videos {
        padding: 50px 0;
    }
    .home-video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============================================================= */
/* VIDEO LIGHTBOX POPUP MODAL (XEM VIDEO TO HƠN) */
/* ============================================================= */
.nextheme-video-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nextheme-video-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 29, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.video-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 960px;
    background: #0f172a;
    border: 1px solid rgba(184, 134, 56, 0.4);
    border-radius: 5px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(184, 134, 56, 0.22);
    overflow: hidden;
    z-index: 2;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nextheme-video-modal.is-open .video-modal-dialog {
    transform: scale(1);
}

.video-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #1e293b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video-modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.video-modal-icon {
    color: var(--color-gold, #b88638);
    font-size: 20px;
    flex-shrink: 0;
}

.video-modal-title {
    font-size: 15px;
    font-weight: 600;
    color: #f8fafc;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-modal-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

.video-modal-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.video-modal-player-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: 0 0 5px 5px;
    overflow: hidden;
}

.video-modal-player-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

body.video-modal-active {
    overflow: hidden;
}

@media (max-width: 768px) {
    .nextheme-video-modal {
        padding: 12px;
    }
    .video-modal-header {
        padding: 10px 14px;
    }
    .video-modal-title {
        font-size: 13.5px;
    }
}
