/*
Theme Name: Tân Tiến Window - Flatsome Child
Theme URI: https://tantienwindow.com
Description: Child theme cho Flatsome kết hợp giao diện Tân Tiến Window và khả năng tùy biến linh hoạt trong Admin.
Author: Tân Tiến Window
Template: flatsome
Version: 1.0.0
*/

/*************** IMPORT TAN TIEN WINDOW CUSTOM CSS ***************/
/*
Theme Name: Tân Tiến Window
Theme URI: https://tantienwindow.vn
Author: Tân Tiến Window
Description: Theme tùy biến viết tay cho Tân Tiến Window - cửa nhôm kính, vách kính mặt dựng. Classic theme, tương thích WooCommerce, không dùng Flatsome/UX Builder.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: tantien-window
Tags: e-commerce, custom-logo, blog
*/

/* ==========================================================================
   1. Biến & Reset
   ========================================================================== */
:root {
    --ttw-primary: #006591;
    --ttw-primary-dark: #005076;
    --ttw-dark: #1a1a1a;
    --ttw-dark-2: #1a1a1a;
    --ttw-light: #f9fafb;
    --ttw-white: #ffffff;
    --ttw-gray: #6b7280;
    --ttw-gray-light: #e5e7eb;
    --ttw-text: #1f2430;
    --ttw-radius: 12px;
    --ttw-radius-sm: 8px;
    --ttw-shadow: 0 4px 20px rgba(26, 26, 46, 0.08);
    --ttw-shadow-hover: 0 12px 32px rgba(26, 26, 46, 0.16);
    --ttw-container: 1280px;
    --ttw-transition: all 0.25s ease;
    --ttw-bg-white: #ffffff;
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ttw-text);
    background: var(--ttw-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", sans-serif;
    line-height: 1.3;
    margin: 0 0 0.6em;
    color: var(--ttw-dark);
    font-weight: 700;
}

p {
    margin: 0 0 1em;
}

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

a:hover {
    color: var(--ttw-primary-dark);
}

ul,
ol {
    margin: 0 0 1em;
    padding-left: 1.4em;
}

input,
select,
textarea,
button {
    font-family: inherit;
    font-size: inherit;
}

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

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* ==========================================================================
   2. Top bar
   ========================================================================== */
.ttw-topbar {
    background: var(--ttw-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    padding: 7px 0;
}

.ttw-topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ttw-topbar a {
    color: var(--ttw-white);
}

.ttw-topbar .ttw-hotline {
    font-weight: 700;
    color: var(--ttw-white);
}

.ttw-topbar .ttw-hotline span {
    color: var(--ttw-primary);
    font-size: 16px;
}

@media (max-width: 600px) {
    .ttw-topbar .ttw-topbar-left {
        display: none;
    }

    .ttw-topbar .container {
        justify-content: center;
    }
}

/* ==========================================================================
   3. Header
   ========================================================================== */
header.ttw-header,
.ttw-header,
#ttw-header {
    height: 60px !important;
    display: flex !important;
    justify-content: space-between !important;
    background: rgba(255, 255, 255, 0.20) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 100 !important;
    box-shadow: none !important;
    margin: 0 !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* Khi ở đầu trang -> Nền trong suốt đè lên Hero banner */
.ttw-site,
#wrapper {
    padding-top: 0 !important;
}

body.admin-bar header.ttw-header,
body.admin-bar .ttw-header,
body.admin-bar #ttw-header {
    top: 32px !important;
}

@media screen and (max-width: 782px) {

    body.admin-bar header.ttw-header,
    body.admin-bar .ttw-header,
    body.admin-bar #ttw-header {
        top: 0 !important;
    }
}

/* Khi cuộn trang xuống (.scrolled) -> Chuyển thành nền trắng + đổ bóng */
header.ttw-header.scrolled,
.ttw-header.scrolled,
#ttw-header.scrolled {
    background: var(--ttw-white) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
}


.ttw-header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 20px;
    max-width: var(--ttw-container);
    margin: 0 auto;
}

.ttw-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ttw-logo img {
    max-height: 52px;
    width: auto;
}

.ttw-logo-text {
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--ttw-primary);
    text-transform: uppercase;
}

.ttw-logo-text small {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--ttw-primary);
}

/* Navigation */
.ttw-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ttw-nav li {
    position: relative;
    margin-bottom: 0;
}

.ttw-nav a {
    font-family: "Inter", sans-serif;
    display: block;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #3e4850;
    border-radius: 0;
    position: relative;
    transition: color 0.2s ease;
}

/* Gạch chân (border-bottom) khi active hoặc hover */
.ttw-nav ul:not(.sub-menu)>li>a::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 14px;
    right: 14px;
    height: 2px;
    background-color: var(--ttw-primary);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.2s ease, background-color 0.2s ease;
    transform-origin: center;
}

.ttw-nav ul:not(.sub-menu)>li:hover>a::after,
.ttw-nav ul:not(.sub-menu)>li.current-menu-item>a::after,
.ttw-nav ul:not(.sub-menu)>li.current_page_item>a::after,
.ttw-nav ul:not(.sub-menu)>li.current-menu-ancestor>a::after,
.ttw-nav ul:not(.sub-menu)>li.current_page_ancestor>a::after,
.ttw-nav ul:not(.sub-menu)>li.current-menu-parent>a::after,
.ttw-nav ul:not(.sub-menu)>li.current-category-ancestor>a::after,
.ttw-nav ul:not(.sub-menu)>li.active>a::after {
    transform: scaleX(1);
}

.ttw-nav a:hover,
.ttw-nav a:focus,
.ttw-nav li.current-menu-item>a,
.ttw-nav li.current_page_item>a,
.ttw-nav li.current-menu-ancestor>a,
.ttw-nav li.current_page_ancestor>a,
.ttw-nav li.current-menu-parent>a,
.ttw-nav li.current-category-ancestor>a,
.ttw-nav li.active>a {
    color: var(--ttw-primary);
    background: transparent;
}

.ttw-nav .current_page_item>a,
.ttw-nav .current-menu-item>a,
.ttw-nav .active>a {
    box-shadow: none;
}

/* Dropdown Submenu */
.ttw-nav li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--ttw-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    padding: 8px 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 999;
}

.ttw-nav li:hover>ul,
.ttw-nav li:focus-within>ul {
    display: flex;
}

.ttw-nav li ul li {
    width: 100%;
    margin: 0;
}

.ttw-nav li ul a {
    padding: 11px 20px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #1A1C1C !important;
    background: transparent;
    transition: all 0.2s ease;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.ttw-nav li ul li:last-child a {
    border-bottom: none;
}

.ttw-nav li ul a:hover,
.ttw-nav li ul a:focus,
.ttw-nav li ul li.current-menu-item>a,
.ttw-nav li ul li.current_page_item>a {
    color: var(--ttw-primary) !important;
    background: #f0f7fa !important;
    padding-left: 24px;
}

/* Header actions */
.ttw-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ttw-header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    border: 1px solid var(--ttw-gray-light);
    border-radius: 999px;
    color: var(--ttw-dark);
    font-weight: 700;
    font-size: 14px;
}

.ttw-header-phone:hover {
    border-color: var(--ttw-primary);
    color: var(--ttw-primary);
}

.ttw-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ttw-light);
    color: var(--ttw-dark);
}

.ttw-cart:hover {
    background: var(--ttw-primary);
    color: var(--ttw-white);
}

.ttw-cart .ttw-cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--ttw-primary);
    color: var(--ttw-white);
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.ttw-menu-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
    color: var(--ttw-dark);
}

.ttw-menu-toggle svg {
    display: block;
}

/* Header CTA */
.ttw-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ttw-primary);
    border: 1px solid var(--ttw-primary);
    border-radius: 2px;
    padding: 10px 18px;
    line-height: 1;
    transition: var(--ttw-transition);
}

.ttw-header-cta:hover {
    background: var(--ttw-primary);
    color: var(--ttw-white);
}

/* Mobile nav - full screen overlay */
html.ttw-menu-open,
body.ttw-menu-open {
    overflow: hidden !important;
    height: 100vh !important;
    height: 100dvh !important;
    position: fixed !important;
    width: 100% !important;
    touch-action: none !important;
    -webkit-overflow-scrolling: auto !important;
}

.ttw-mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--ttw-white);
    z-index: 1000;
    flex-direction: column;
    overflow: hidden;
    touch-action: pan-y;
}

.ttw-mobile-nav.open {
    display: flex;
}

.ttw-mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 6px;
    border-bottom: 1px solid var(--ttw-gray-light);
}

.ttw-mobile-nav-header .ttw-logo img {
    max-height: 52px;
    width: auto;
}

.ttw-mobile-nav-close {
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
    color: var(--ttw-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ttw-mobile-nav-close svg {
    display: block;
}

.ttw-mobile-nav-menu {
    flex: 1;
    overflow-y: auto;
    padding: 12px 20px 0 20px;
}

.ttw-mobile-nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ttw-mobile-nav-menu li {
    border-bottom: 1px solid var(--ttw-gray-light);
}

.ttw-mobile-nav-menu li:last-child {
    border-bottom: none;
}

.ttw-mobile-nav-menu a {
    height: 56px;
    align-content: center;
    display: block;
    padding: 4px 0;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ttw-dark);
}

.ttw-mobile-nav-menu a:hover {
    color: var(--ttw-primary);
}

.ttw-mobile-nav-menu li.menu-item-has-children {
    position: relative;
}

.ttw-mobile-nav-menu li.menu-item-has-children>.ttw-mobile-item-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ttw-mobile-nav-menu li.menu-item-has-children>.ttw-mobile-item-wrap>a {
    flex: 1;
}

.ttw-mobile-nav-menu .ttw-submenu-toggle {
    margin: 0;
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.2s ease;
}

.ttw-mobile-nav-menu .ttw-submenu-toggle svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ttw-mobile-nav-menu li.menu-item-has-children.active>.ttw-mobile-item-wrap .ttw-submenu-toggle svg {
    transform: rotate(180deg);
}

.ttw-mobile-nav-menu li.menu-item-has-children.active>.ttw-mobile-item-wrap .ttw-submenu-toggle {
    color: var(--ttw-primary);
}

.ttw-mobile-nav-menu .sub-menu {
    display: none;
    padding: 8px 12px 8px 16px;
    margin: 4px 0 12px;
    background: #f8fafc;
    border-left: 3px solid var(--ttw-primary);
    border-radius: 0 8px 8px 0;
}

.ttw-mobile-nav-menu li.menu-item-has-children.active>.sub-menu {
    display: block;
    animation: ttwFadeDown 0.25s ease-out;
}

.ttw-mobile-nav-menu .current-menu-item .ttw-mobile-item-wrap>a {
    color: var(--ttw-primary);
}

@keyframes ttwFadeDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ttw-mobile-nav-menu .sub-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.ttw-mobile-nav-menu .sub-menu li:last-child {
    border-bottom: none;
}

.ttw-mobile-nav-menu .sub-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-family: "Inter", sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.2px;
    color: #475569;
    transition: all 0.25s ease;
}

.ttw-mobile-nav-menu .sub-menu a::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #94a3b8;
    transition: background 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
}

.ttw-mobile-nav-menu .sub-menu a:hover {
    color: var(--ttw-primary);
    padding-left: 4px;
}

.ttw-mobile-nav-menu .sub-menu a:hover::before {
    background: var(--ttw-primary);
    transform: scale(1.4);
}



.ttw-mobile-nav-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--ttw-gray-light);
}

.ttw-mobile-nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ttw-primary);
    border: 1px solid var(--ttw-primary);
    border-radius: 2px;
    transition: var(--ttw-transition);
}

.ttw-mobile-nav-cta:hover {
    background: var(--ttw-primary);
    color: var(--ttw-white);
}

@media (max-width: 960px) {
    .ttw-nav {
        display: none;
    }

    #ttw-header {
        background: transparent !important;
    }

    .ttw-menu-toggle {
        display: block;
        margin: 0;
    }

    .ttw-header-phone {
        display: none;
    }

    .ttw-mobile-nav-close {
        margin: 0;
    }
}

/* ==========================================================================
   4. Hero
   ========================================================================== */
.ttw-hero {
    position: relative;
    height: 100vh !important;
    min-height: 100vh !important;
    display: flex;
    align-items: center;
    background: var(--ttw-white);
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 60px !important;
    box-sizing: border-box !important;
}



.ttw-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.ttw-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.ttw-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--ttw-container);
    margin: 0 auto;
    padding: 0 20px;
}

.ttw-hero h1 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(30px, 4.6vw, 64px);
    font-weight: 700;
    line-height: 1.12;
    color: var(--ttw-white) !important;
    text-transform: uppercase;
    max-width: 780px;
    margin-bottom: 20px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.8);
}

.ttw-hero p {
    font-size: 18px;
    font-weight: 500;
    color: var(--ttw-white) !important;
    max-width: 660px;
    margin-bottom: 34px;
    line-height: 1.55;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 1px 2px rgba(0, 0, 0, 0.9);
}

.ttw-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* ==========================================================================
   5. Buttons
   ========================================================================== */
.ttw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 2px;
    line-height: 1;
    cursor: pointer;
    transition: var(--ttw-transition);
    text-align: center;
}

.ttw-btn-primary {
    background: var(--ttw-primary);
    color: var(--ttw-white);
}

.ttw-btn-primary:hover {
    background: var(--ttw-primary-dark);
    color: var(--ttw-white);
}

.ttw-btn-light {
    background: var(--ttw-white);
    color: var(--ttw-primary);
}

.ttw-btn-light:hover {
    background: var(--ttw-primary);
    color: var(--ttw-white);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--ttw-transition);
    text-align: center;
}

.btn-primary {
    background: var(--ttw-primary);
    color: var(--ttw-white);
    border-color: var(--ttw-primary);
}

.btn-primary:hover {
    background: var(--ttw-primary-dark);
    border-color: var(--ttw-primary-dark);
    color: var(--ttw-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 33, 39, 0.35);
}

/* ==========================================================================
   6. Stats band
   ========================================================================== */
.ttw-stats {
    background: var(--ttw-white);
    padding: 52px 0;
    border-bottom: 1px solid var(--ttw-gray-light);
}

.ttw-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.ttw-stat-divider {
    border-left: 1px solid var(--ttw-gray-light);
}

.ttw-stat-number {
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: var(--ttw-primary);
    line-height: 1.3;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.ttw-stat-number .ttw-count-suffix {
    font-size: 32px;
    margin-left: 2px;
}

.ttw-stat-label {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ttw-gray);
    margin-top: 10px;
}

@media (max-width: 600px) {
    .ttw-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 16px;
    }
}

/* ==========================================================================
   7. Section chung
   ========================================================================== */
.ttw-section {
    padding: 72px 0;
}

.ttw-section.alt {
    background: var(--ttw-light);
}

.ttw-section-gray {
    background: var(--ttw-light);
}

.ttw-section-title {
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--ttw-primary);
    margin: 0;
    line-height: 1.25;
    position: relative;
}

/* .ttw-section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 56px;
    height: 3px;
    background: var(--ttw-primary);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.ttw-center .ttw-section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.ttw-section-title:hover::after {
    width: 80px;
} */

.ttw-section-desc {
    color: var(--ttw-gray);
    margin: 12px 0 0 0;
    font-size: 15px;
    line-height: 1.6;
    max-width: 680px;
}

.ttw-center {
    text-align: center;
}

.ttw-section-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
}

.ttw-textlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--ttw-dark);
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid var(--ttw-gray-light);
    background: var(--ttw-white);
    transition: var(--ttw-transition);
}

.ttw-textlink svg {
    transition: transform 0.25s ease;
}

.ttw-textlink:hover {
    color: var(--ttw-white);
    background: var(--ttw-primary);
    border-color: var(--ttw-primary);
}

.ttw-textlink:hover svg {
    transform: translateX(4px);
}


/* ==========================================================================
   8. About
   ========================================================================== */
.ttw-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.ttw-about-media {
    position: relative;
    transition: transform 0.4s ease;
}

.ttw-about:hover .ttw-about-media {
    transform: translateY(-4px);
}

.ttw-about-media img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 0;
    box-shadow: none;
}

.ttw-eyebrow {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 18px;
}

.ttw-about-text h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.18;
    color: var(--ttw-primary);
    text-transform: uppercase;
    margin-bottom: 24px;
    max-width: 520px;
}

.ttw-about-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 32px;
    max-width: 520px;
}

@media (max-width: 900px) {
    .ttw-about {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ttw-about-text h2 {
        font-size: 30px;
    }
}

/* ==========================================================================
   9. Products & Product Archive (Figma 1:2036)
   ========================================================================== */
.ttw-products-page {
    background-color: var(--ttw-bg-white);
    min-height: calc(100vh - 200px);
    width: 100%;
    padding-top: 70px;
}


.ttw-products-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 24px 80px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 1024px) {
    .ttw-products-container {
        padding: 40px 24px 100px 24px;
    }
}

/* 9.1 Hero Section (Figma node 1:2038) */
.ttw-products-hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 20px 0 60px;
    margin-top: 60px;
}

body.admin-bar .ttw-products-hero {
    margin-top: 90px;
}

.ttw-products-title {
    font-family: "Montserrat", "Inter", sans-serif;
    font-weight: 800;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ttw-primary);
    margin: 0;
}

.ttw-products-subtitle {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: clamp(14px, 1.8vw, 18px);
    line-height: 1.5;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #475569;
    max-width: 800px;
    margin: 0 auto;
}


/* 9.2 Category Navigation */
.ttw-category-nav {
    border-bottom: 1px solid #BEC8D2;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.ttw-category-nav::-webkit-scrollbar {
    display: none;
}

.ttw-category-list {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 0 0 16px;
    margin: 0;
    list-style: none;
    white-space: nowrap;
}

.ttw-category-item {
    margin: 0;
    padding: 0;
}

.ttw-category-tab {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3E4850;
    background: transparent;
    border: none;
    padding: 6px 0 16px;
    margin-bottom: -17px;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
    display: inline-block;
    text-decoration: none !important;
}

.ttw-category-tab:hover {
    color: var(--ttw-primary);
}

.ttw-category-tab.active {
    color: var(--ttw-primary);
    border-bottom: 2px solid var(--ttw-primary);
}

/* Tối ưu riêng trên Mobile: Hiển thị ngay 2 hàng nút nhỏ gọn dễ chọn, PC giữ nguyên 100% */
@media (max-width: 768px) {
    .ttw-category-nav {
        border-bottom: none;
        overflow-x: visible;
    }

    .ttw-category-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        white-space: normal;
        padding-bottom: 8px;
    }

    .ttw-category-tab {
        font-size: 11px;
        padding: 6px 12px;
        margin-bottom: 0;
        border-bottom: none;
        background: #F1F5F9;
        color: #334155;
        border-radius: 20px;
        border: 1px solid #E2E8F0;
    }

    .ttw-category-tab:hover {
        background: #E2E8F0;
        color: var(--ttw-primary);
    }

    .ttw-category-tab.active {
        background: var(--ttw-primary) !important;
        color: var(--ttw-white) !important;
        border-color: var(--ttw-primary) !important;
        font-weight: 700;
    }
}

/* 9.3 Product Grid (Bento/Card Style) */
.ttw-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ttw-card-bento {
    background: var(--ttw-white);
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease;
}

/* Thêm dải sáng Shine Light Effect chớp qua hình ảnh khi hover */
.ttw-card-thumb::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: left 0.75s ease;
    z-index: 2;
    pointer-events: none;
}

.ttw-card-bento:hover .ttw-card-thumb::after {
    left: 140%;
}

.ttw-card-bento:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 101, 145, 0.12), 0 6px 16px rgba(0, 0, 0, 0.05);
    border-color: var(--ttw-primary);
}

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

.ttw-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.ttw-card-bento:hover .ttw-card-thumb img {
    transform: scale(1.08);
    filter: brightness(1.03);
}

.ttw-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: var(--ttw-white);
}

.ttw-card-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 10px;
    background: #F1F5F9;
    color: #475569;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 4px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.ttw-card-bento:hover .ttw-card-tag {
    background: #E0F2FE;
    color: var(--ttw-primary);
}

.ttw-card-title {
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    color: #0F172A;
    margin: 0 0 12px;
}

.ttw-card-title a {
    color: #0F172A;
    text-decoration: none;
    transition: color 0.25s ease;
}

.ttw-card-title a:hover,
.ttw-card-bento:hover .ttw-card-title a {
    color: var(--ttw-primary);
}

.ttw-card-desc {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 24px;
}

.ttw-card-footer {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ttw-card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ttw-primary);
    text-decoration: none;
    transition: color 0.25s ease;
    margin-top: 12px;
}

.ttw-card-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ttw-card-bento:hover .ttw-card-arrow {
    transform: translateX(6px) scale(1.15);
}

.ttw-filter-empty {
    text-align: center;
    padding: 48px 24px;
    color: #6b7280;
    font-family: "Inter", sans-serif;
    font-size: 16px;
}

/* 9.4 Pagination (Figma #1:2163) */
.ttw-pagination-figma {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
}

.ttw-page-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #BEC8D2;
    background: var(--ttw-white);
    color: #1A1C1C;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-decoration: none;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.ttw-page-btn:hover {
    border-color: var(--ttw-primary);
    color: var(--ttw-primary);
}

.ttw-page-btn.active {
    background: #E2E2E2;
    border-color: #BEC8D2;
    color: #1A1C1C;
}

.ttw-page-dots {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: #3E4850;
    padding: 0 8px;
}

.ttw-page-next svg {
    width: 6px;
    height: 10px;
    fill: #1A1C1C;
    transition: transform 0.2s ease;
}

.ttw-page-next:hover svg {
    transform: translateX(2px);
    fill: var(--ttw-primary);
}

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

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

    .ttw-card-content {
        padding: 18px;
    }

    .ttw-card-title {
        font-size: 20px;
    }

    .ttw-category-list {
        gap: 8px;
    }
}

/* Fallback generic .ttw-products */
.ttw-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ttw-product {
    background: var(--ttw-white);
    border-radius: var(--ttw-radius);
    overflow: hidden;
    box-shadow: var(--ttw-shadow);
    transition: var(--ttw-transition);
    display: flex;
    flex-direction: column;
}

.ttw-product:hover {
    transform: translateY(-6px);
    box-shadow: var(--ttw-shadow-hover);
}

.ttw-product-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--ttw-light);
}

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

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

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

.ttw-product-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.ttw-product-title a {
    color: var(--ttw-dark);
}

.ttw-product-title a:hover {
    color: var(--ttw-primary);
}

.ttw-product-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--ttw-primary);
    margin-top: auto;
}

.ttw-product-price del {
    font-size: 13px;
    font-weight: 400;
    color: var(--ttw-gray);
    margin-left: 8px;
}

.ttw-product-btn {
    margin-top: 12px;
    padding: 10px 14px;
    text-align: center;
    border-radius: var(--ttw-radius-sm);
    background: var(--ttw-light);
    color: var(--ttw-dark);
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--ttw-gray-light);
}

.ttw-product-btn:hover {
    background: var(--ttw-primary);
    border-color: var(--ttw-primary);
    color: var(--ttw-white);
}

@media (max-width: 1000px) {
    .ttw-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ttw-products {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================================================
   10. Projects Page & Gallery (Figma 1:2361)
   ========================================================================== */
.ttw-projects-page {
    background-color: var(--ttw-bg-white);
    width: 100%;
    padding-top: 20px;
}

.ttw-projects-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 30px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 1024px) {
    .ttw-projects-container {
        padding: 40px 80px 60px;
    }
}

/* 10.1 Hero Section */
.ttw-projects-hero {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Xử lý tương thích riêng khi đang mở chỉnh sửa trong UX Builder Editor */
.ux-builder-active .ttw-projects-hero,
.ux-builder .ttw-projects-hero,
#ux-builder-iframe .ttw-projects-hero {
    margin-top: 0 !important;
}

.ux-builder-active .ttw-projects-page,
.ux-builder .ttw-projects-page,
#ux-builder-iframe .ttw-projects-page {
    padding-top: 0 !important;
}



.ttw-projects-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ttw-primary);
    margin: 0;
}

.ttw-projects-subtitle {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 2vw, 18px);
    line-height: 1.6;
    color: #3E4850;
    max-width: 672px;
    margin: 0;
}


.ttw-projects-hero .ttw-projects-title {
    animation: ttwFadeUpEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
    opacity: 0;
}

.ttw-projects-hero .ttw-projects-subtitle {
    animation: ttwFadeUpEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.ttw-project-filter-nav {
    border-bottom: 1px solid #BEC8D2;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    animation: ttwFadeUpEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
    opacity: 0;
}


.ttw-project-card {
    animation: ttwFadeUpEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.ttw-project-grid .ttw-project-card:nth-child(1) {
    animation-delay: 0.4s;
}

.ttw-project-grid .ttw-project-card:nth-child(2) {
    animation-delay: 0.5s;
}

.ttw-project-grid .ttw-project-card:nth-child(3) {
    animation-delay: 0.6s;
}

.ttw-project-grid .ttw-project-card:nth-child(4) {
    animation-delay: 0.7s;
}

.ttw-project-grid .ttw-project-card:nth-child(5) {
    animation-delay: 0.8s;
}

.ttw-project-grid .ttw-project-card:nth-child(6) {
    animation-delay: 0.9s;
}


.ttw-project-filter-nav::-webkit-scrollbar {
    display: none;
}

.ttw-project-filter-list {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 0 0 16px;
    margin: 0;
    list-style: none;
    white-space: nowrap;
}

.ttw-project-filter-item {
    margin: 0;
    padding: 0;
}

.ttw-project-filter-tab {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3E4850;
    background: transparent;
    border: none;
    padding: 6px 0 16px;
    margin-bottom: -17px;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
    display: inline-block;
}

.ttw-project-filter-tab:hover {
    color: var(--ttw-primary);
}

.ttw-project-filter-tab.active {
    color: var(--ttw-primary);
    border-bottom: 2px solid var(--ttw-primary);
}

/* 10.3 Project Grid & Cards */
.ttw-project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ttw-project-card {
    border-radius: 4px;
    border: 1px solid rgba(190, 200, 210, 0.4);
    background: #EEEEEE;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    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;
}

.ttw-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 101, 145, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: var(--ttw-primary);
}

.ttw-project-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    display: block;
    background: #CBD5E1;
}

.ttw-project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.ttw-project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0) 100%);
    transition: background 0.3s ease;
}


.ttw-project-card:hover .ttw-project-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.1) 100%);
}

.ttw-project-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.ttw-project-tag {
    background: rgba(0, 101, 145, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--ttw-white);
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 12px;
    border-radius: 3px;
    display: inline-flex;
    align-self: flex-start;
}


.ttw-project-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.85);
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 500;
}

.ttw-pin-icon {
    width: 11px;
    height: 13px;
    fill: currentColor;
    flex-shrink: 0;
}

.ttw-project-title {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ttw-white);
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.ttw-project-empty {
    text-align: center;
    padding: 48px 24px;
    color: #6b7280;
    font-family: "Inter", sans-serif;
    font-size: 16px;
}

/* 10.4 Load More Action */
.ttw-loadmore-wrap {
    display: flex;
    justify-content: center;
    padding-top: 16px;
}

.ttw-btn-loadmore {
    background: #F9F9F9;
    border: 1px solid #6E7881;
    border-radius: 12px;
    padding: 16px 36px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1A1C1C;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

.ttw-btn-loadmore:hover {
    background: var(--ttw-primary);
    color: var(--ttw-white);
    border-color: var(--ttw-primary);
    box-shadow: 0 4px 12px rgba(0, 101, 145, 0.2);
}

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

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

    .ttw-project-thumb {
        height: 240px;
    }

    .ttw-project-title {
        font-size: 18px;
    }

    .ttw-project-filter-list {
        gap: 20px;
    }
}

/* Generic Gallery Fallback */
.ttw-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ttw-gallery-item {
    position: relative;
    border-radius: var(--ttw-radius-sm);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: block;
}

.ttw-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ttw-gallery-item:hover img {
    transform: scale(1.08);
}

.ttw-gallery-item::after {
    content: "+";
    position: absolute;
    inset: 0;
    background: rgba(0, 101, 145, 0.65);
    color: var(--ttw-white);
    font-size: 42px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--ttw-transition);
}

.ttw-gallery-item:hover::after {
    opacity: 1;
}

@media (max-width: 900px) {
    .ttw-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 560px) {
    .ttw-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   11. Partners
   ========================================================================== */
.ttw-partners {
    background: var(--ttw-white);
    padding: 72px 0;
    border-top: none;
}

.ttw-partners .ttw-section-title {
    margin-bottom: 24px;
}

.ttw-partners-divider {
    width: 100%;
    height: 1px;
    background: var(--ttw-gray-light);
    margin-bottom: 48px;
}

.ttw-partners-track {
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.ttw-partners-slide {
    display: inline-flex;
    align-items: center;
    gap: 64px;
    animation: ttw-partners-scroll 30s linear infinite;
}

.ttw-partners-slide .ttw-partner {
    flex-shrink: 0;
    opacity: 0.8;
    transition: var(--ttw-transition);
}

.ttw-partners-slide .ttw-partner:hover {
    opacity: 1;
}

.ttw-partners-slide .ttw-partner img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.ttw-partners-track:hover .ttw-partners-slide {
    animation-play-state: paused;
}

@keyframes ttw-partners-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .ttw-partners {
        padding: 48px 0;
    }

    .ttw-partners-slide {
        gap: 40px;
        animation-duration: 20s;
    }

    .ttw-partners-slide .ttw-partner img {
        height: 32px;
    }

    .ttw-partners-divider {
        margin-bottom: 32px;
    }
}

/* ==========================================================================
   12. Quotes / Testimonials - Carousel Cuộn Ngang
   ========================================================================== */
.ttw-quotes {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 12px 4px 28px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Trình duyệt Firefox */
}

/* Ẩn thanh cuộn mặc định để ưu tiên dùng 2 nút điều hướng */
.ttw-quotes::-webkit-scrollbar {
    display: none;
}

.ttw-quotes-wrapper {
    position: relative;
}

.ttw-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ttw-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--ttw-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    outline: none;
    padding: 0;
}

.ttw-slider-arrow-prev {
    left: -24px;
}

.ttw-slider-arrow-next {
    right: -24px;
}

.ttw-slider-arrow:hover {
    background: var(--ttw-primary);
    border-color: var(--ttw-primary);
    color: var(--ttw-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 28px rgba(0, 101, 145, 0.35);
}

.ttw-slider-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

@media (max-width: 1200px) {
    .ttw-slider-arrow-prev {
        left: 4px;
    }

    .ttw-slider-arrow-next {
        right: 4px;
    }
}



.ttw-slider-btn:active {
    transform: translateY(0);
}


.ttw-quote {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 320px;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--ttw-white);
    padding: 32px 28px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ttw-quote:hover {
    transform: translateY(-8px);
}

/* Khi card nhận xét có Ảnh công trình làm nền */
.ttw-quote.has-bg-img {
    border: none;
    color: var(--ttw-white);
}

.ttw-quote-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 0;
}

.ttw-quote:hover .ttw-quote-bg {
    transform: scale(1.08);
}

.ttw-quote-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 15, 25, 0.75) 0%, rgba(10, 15, 25, 0.92) 100%);
    z-index: 1;
    transition: background 0.3s ease;
}

.ttw-quote:hover .ttw-quote-overlay {
    background: linear-gradient(180deg, rgba(0, 60, 95, 0.85) 0%, rgba(10, 20, 35, 0.95) 100%);
}

.ttw-quote-mark {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--ttw-gray-light);
    opacity: 0.6;
}

.ttw-quote-text {
    position: relative;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #374151;
    margin: 0 0 24px;
    padding-top: 4px;
}

.ttw-quote-img-box {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 240px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: auto;
    margin-bottom: 18px;
    background: #f3f4f6;
}

.ttw-quote-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ttw-quote:hover .ttw-quote-img-box img {
    transform: scale(1.06);
}

.ttw-quote-author {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 16px;
}


.ttw-quote-author strong {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--ttw-dark);
}

.ttw-quote-author span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #6b7280;
    margin-top: 4px;
}


@media (max-width: 900px) {
    .ttw-quote {
        flex: 0 0 calc(50% - 12px);
        min-width: 280px;
    }
}

@media (max-width: 600px) {
    .ttw-quote {
        flex: 0 0 85%;
        min-width: 260px;
    }
}


/* ==========================================================================
   13. News
   ========================================================================== */
.ttw-news {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.ttw-news-item {
    display: flex;
    flex-direction: column;
    background: var(--ttw-white);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
}

.ttw-news-item:hover {
    transform: translateY(-8px);
    border-color: var(--ttw-primary);
    box-shadow: 0 16px 36px rgba(0, 101, 145, 0.16);
}

.ttw-news-thumb {
    position: relative;
    display: block;
    aspect-ratio: 352 / 300;
    overflow: hidden;
    background: var(--ttw-light);
}

.ttw-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.ttw-news-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ttw-news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
}

.ttw-news-cat {
    font-family: "Inter", sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ttw-primary);
    background: rgba(0, 101, 145, 0.08);
    padding: 4px 10px;
    border-radius: 4px;
    transition: background 0.3s ease, color 0.3s ease;
}

.ttw-news-date {
    color: #9ca3af;
    font-size: 13px;
}

.ttw-news-title {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 16px;
}

.ttw-news-title a {
    color: var(--ttw-dark);
    transition: color 0.3s ease;
}

.ttw-news-item:hover .ttw-news-title a {
    color: var(--ttw-primary);
}

/* ==========================================================================
   15. Single Product Detail Page (Figma 1:2621)
   ========================================================================== */
.ttw-product-detail-page {
    background-color: var(--ttw-bg-white);
    min-height: calc(100vh - 200px);
    width: 100%;
    margin-top: 80px !important;
    padding-top: 0;
}

body.admin-bar .ttw-product-detail-page {
    margin-top: 90px !important;
}

body.ux-builder-iframe .ttw-product-detail-page,
.ux-builder-iframe .ttw-product-detail-page,
.ux-builder-active .ttw-product-detail-page,
.ux-builder .ttw-product-detail-page {
    margin-top: 75px !important;
    padding-top: 0 !important;
    background-color: var(--ttw-bg-white) !important;
}



.ttw-product-detail-container {
    max-width: var(--ttw-container);
    margin: 0 auto;
    padding: 16px 20px 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}


@media (min-width: 1024px) {
    .ttw-product-detail-container {
        padding: 16px 20px 144px;
        gap: 12px;
    }
}

/* 15.1 Breadcrumb */
.ttw-pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3E4850;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.ttw-pd-breadcrumb a {
    color: #3E4850;
    text-decoration: none;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.ttw-pd-breadcrumb a:hover {
    color: var(--ttw-primary);
}

.ttw-pd-bc-sep {
    display: inline-flex;
    align-items: center;
    color: #BEC8D2;
    flex-shrink: 0;
}

.ttw-pd-bc-current {
    color: var(--ttw-primary);
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}


/* 15.2 Product Hero (Gallery & Details) */
.ttw-pd-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 1024px) {
    .ttw-pd-hero {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

/* Gallery Left */
.ttw-pd-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.ttw-pd-main-img-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(184, 228, 218, 0.4);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

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

.ttw-pd-thumbs-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.ttw-pd-thumb-item {
    height: 80px;
    aspect-ratio: 4/3;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(184, 228, 218, 0.4);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.ttw-pd-thumb-item:hover,
.ttw-pd-thumb-item.active {
    opacity: 1;
    border-color: var(--ttw-primary);
    transform: translateY(-2px);
}

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

/* Info Right */
.ttw-pd-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ttw-pd-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #EFF6FF;
    color: #374151;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
    margin-bottom: 12px;
}

.ttw-pd-title {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.2;
    color: #1A1C1C;
    margin: 0 0 16px;
}

.ttw-pd-desc {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #3E4850;
    margin-bottom: 24px;
}

.ttw-pd-desc ul {
    margin: 0 0 16px 0;
    padding-left: 20px;
    list-style-type: disc;
}

.ttw-pd-desc li {
    margin-bottom: 6px;
    line-height: 1.5;
}

.ttw-pd-desc p {
    margin-bottom: 12px;
}


.ttw-pd-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.ttw-pd-feat-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--ttw-white);
    border: 1px solid rgba(190, 200, 210, 0.5);
    border-radius: 12px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #1A1C1C;
}

.ttw-pd-feat-item svg {
    color: var(--ttw-primary);
}

.ttw-pd-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 528px;
    padding: 16px 32px;
    background: linear-gradient(174deg, #F3F4F6 0%, var(--ttw-white) 100%);
    border: 1px solid #374151;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1A1C1C;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.ttw-pd-cta-btn:hover {
    background: var(--ttw-primary);
    border-color: var(--ttw-primary);
    color: var(--ttw-white);
    box-shadow: 0 8px 24px rgba(0, 101, 145, 0.25);
    transform: translateY(-2px);
}

/* 15.3 Detailed Section: MÔ TẢ CHI TIẾT (Full Width Block) */
.ttw-pd-detail-block {
    width: 100% !important;
    max-width: 100% !important;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(184, 228, 218, 0.4);
    border-radius: 8px;
    padding: 32px;
    box-sizing: border-box !important;
    margin-top: 16px;
}


.ttw-pd-content-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

.ttw-pd-content-wrapper *,
.ttw-pd-content-wrapper img,
.ttw-pd-content-wrapper iframe,
.ttw-pd-content-wrapper video {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.ttw-pd-content-wrapper img {
    height: auto !important;
}

@media (max-width: 640px) {
    .ttw-product-detail-container {
        padding: 16px 10px 50px;
    }

    .ttw-pd-detail-block {
        padding: 32px 12px;
    }

    .ttw-pd-related-section {
        margin-top: 0 !important;
    }
}

.ttw-pd-block {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(184, 228, 218, 0.4);
    border-radius: 8px;
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.ttw-pd-block-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #1A1C1C;
    margin: 0 0 24px;
}

.ttw-pd-block-heading svg {
    color: var(--ttw-primary);
}

/* Highlights Grid (2 cols inside) */
.ttw-pd-highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .ttw-pd-highlights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.ttw-pd-full-content {
    grid-column: 1 / -1;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

.ttw-pd-full-content *,
.ttw-pd-full-content img,
.ttw-pd-full-content iframe,
.ttw-pd-full-content video {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.ttw-pd-full-content img {
    height: auto !important;
}


.ttw-pd-hl-item h3 {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1A1C1C;
    margin: 0 0 8px;
}

.ttw-pd-hl-item p {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #3E4850;
    margin: 0;
}

/* Specs List */
.ttw-pd-specs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ttw-pd-specs-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(190, 200, 210, 0.3);
    font-family: "Inter", sans-serif;
    font-size: 14px;
}

.ttw-pd-specs-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ttw-pd-spec-label {
    color: #3E4850;
    font-weight: 400;
}

.ttw-pd-spec-val {
    color: #1A1C1C;
    font-weight: 600;
}

/* 15.4 Related Products Section */
.ttw-pd-related-section {
    margin-top: 48px;
    border-top: 1px solid rgba(190, 200, 210, 0.4);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ttw-pd-related-heading {
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #1A1C1C;
    margin: 0;
    position: relative;
    padding-left: 16px;
}

.ttw-pd-related-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: var(--ttw-primary);
    border-radius: 2px;
}

.ttw-pd-related-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 24px;
}

@media (min-width: 640px) {
    .ttw-pd-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .ttw-pd-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Hover effects cho Bento Product Cards trong Sản Phẩm Tương Tự */
.ttw-pd-related-grid .ttw-card-bento {
    background: var(--ttw-white);
    border: 1px solid rgba(190, 200, 210, 0.4);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease;
}

.ttw-pd-related-grid .ttw-card-bento:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 101, 145, 0.12);
    border-color: var(--ttw-primary);
}

.ttw-pd-related-grid .ttw-card-thumb img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ttw-pd-related-grid .ttw-card-bento:hover .ttw-card-thumb img {
    transform: scale(1.08);
}

.ttw-pd-related-grid .ttw-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ttw-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ttw-pd-related-grid .ttw-card-btn svg {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ttw-pd-related-grid .ttw-card-bento:hover .ttw-card-btn svg {
    transform: translateX(6px);
}

/* 15.5 Load Animations khi vào trang cho các mục Content */
@keyframes ttwPdFadeUp {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.ttw-pd-breadcrumb {
    animation: ttwPdFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.ttw-pd-gallery {
    animation: ttwPdFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.ttw-pd-info {
    animation: ttwPdFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.ttw-pd-details-grid {
    animation: ttwPdFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

.ttw-pd-related-heading {
    animation: ttwPdFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.42s both;
}

.ttw-pd-related-grid .ttw-card-bento {
    animation: ttwPdFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ttw-pd-related-grid .ttw-card-bento:nth-child(1) {
    animation-delay: 0.5s;
}

.ttw-pd-related-grid .ttw-card-bento:nth-child(2) {
    animation-delay: 0.62s;
}

.ttw-pd-related-grid .ttw-card-bento:nth-child(3) {
    animation-delay: 0.74s;
}





/* Responsive adjustments for UX Builder & Mobile */
@media (max-width: 640px) {
    .ttw-pd-block {
        padding: 20px;
    }
}


.ttw-news-more {
    margin-top: auto;
    align-self: flex-start;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--ttw-primary);
    background: rgba(0, 101, 145, 0.06);
    border: 1px solid rgba(0, 101, 145, 0.2);
    padding: 8px 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ttw-news-more svg {
    transition: transform 0.3s ease;
}

.ttw-news-item:hover .ttw-news-more,
.ttw-news-more:hover {
    color: var(--ttw-white) !important;
    background: var(--ttw-primary);
    border-color: var(--ttw-primary);
    box-shadow: 0 4px 14px rgba(0, 101, 145, 0.3);
    transform: translateY(-2px);
}

.ttw-news-item:hover .ttw-news-more svg,
.ttw-news-more:hover svg {
    transform: translateX(4px);
}



/* ==========================================================================
   14. News Page & Knowledge (Figma 1:2767)
   ========================================================================== */
.ttw-news-page {
    background-color: var(--ttw-bg-white);
    min-height: calc(100vh - 200px);
    width: 100%;
    padding-top: 70px;
}

.ttw-news-container {
    max-width: var(--ttw-container);
    margin: 0 auto;
    padding: 0 20px 60px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 1024px) {
    .ttw-news-container {
        padding: 0 20px 80px;
        gap: 24px;
    }
}

/* 14.1 Hero Section */
.ttw-news-hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-bottom: 0;
    margin-top: 40px;
}


body.admin-bar .ttw-news-hero {
    margin-top: 50px;
}

/* Xử lý tương thích riêng khi đang mở chỉnh sửa trong UX Builder Editor */
.ux-builder-active .ttw-news-hero,
.ux-builder .ttw-news-hero,
#ux-builder-iframe .ttw-news-hero,
body.ux-builder .ttw-news-hero {
    margin-top: 0 !important;
}

.ux-builder-active .ttw-news-page,
.ux-builder .ttw-news-page,
#ux-builder-iframe .ttw-news-page,
body.ux-builder .ttw-news-page {
    padding-top: 0 !important;
}

body.ux-builder header.ttw-header,
#ux-builder-iframe header.ttw-header {
    position: relative !important;
}


.ttw-news-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ttw-primary);
    margin: 0;
}

.home .ttw-news-title {
    line-height: unset;
    font-size: clamp(10px, 14px, 16px);
    margin-bottom: 12px;
}

.ttw-news-subtitle {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 2vw, 17px);
    line-height: 1.6;
    color: #4A5568;
    max-width: 672px;
    margin: 0 auto;
}

/* 14.2 Category Filter */
.ttw-news-filter-nav {
    border-bottom: 1px solid #E2E8F0;
    width: 100%;
    margin: 16px 0 32px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}


.ttw-news-filter-nav::-webkit-scrollbar {
    display: none;
}

.ttw-news-filter-list {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 0 0 16px;
    margin: 0;
    list-style: none;
    white-space: nowrap;
}

.ttw-news-filter-item {
    margin: 0;
    padding: 0;
}

.ttw-news-filter-tab {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4A5568;
    background: transparent;
    border: none;
    padding: 6px 0 16px;
    margin-bottom: -17px;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
    display: inline-block;
}

.ttw-news-filter-tab:hover {
    color: var(--ttw-primary);
}

.ttw-news-filter-tab.active {
    color: var(--ttw-primary);
    border-bottom: 2px solid var(--ttw-primary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .ttw-news-filter-nav {
        border-bottom: none;
        overflow-x: visible;
        margin: 12px 0 0;
    }

    .ttw-news-filter-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        white-space: normal;
        padding-bottom: 8px;
    }

    .ttw-news-filter-tab {
        font-size: 11px;
        padding: 6px 14px;
        margin-bottom: 0;
        border-bottom: none;
        background: #F1F5F9;
        color: #334155;
        border-radius: 20px;
        border: 1px solid #E2E8F0;
        transition: all 0.2s ease;
    }

    .ttw-news-filter-tab:hover {
        background: #E2E8F0;
        color: var(--ttw-primary);
    }

    .ttw-news-filter-tab.active {
        background: var(--ttw-primary) !important;
        color: var(--ttw-white) !important;
        border-color: var(--ttw-primary) !important;
        font-weight: 700;
        box-shadow: 0 2px 8px rgba(0, 101, 145, 0.25);
    }
}

/* 14.3 Featured Article (Figma Node 1:2768 - #1:2793) */
.ttw-news-featured {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 24px;
    width: 100%;
}

.ttw-featured-media {
    width: 65%;
    aspect-ratio: 16/9;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    background: #e2e8f0;
    flex-shrink: 0;
}

.ttw-featured-media a {
    display: block;
    width: 100%;
    height: 100%;
}

.ttw-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ttw-news-featured:hover .ttw-featured-media img {
    transform: scale(1.05);
}

.ttw-featured-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    transition: background 0.4s ease;
}

.ttw-news-featured:hover .ttw-featured-overlay {
    background: rgba(0, 0, 0, 0.03);
}

.ttw-featured-card {
    width: 48%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #E5E7EB;
    border-radius: 2px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.ttw-news-featured:hover .ttw-featured-card {
    border-color: var(--ttw-primary);
    transform: translateY(-54%);
    box-shadow: 0 20px 40px rgba(0, 101, 145, 0.15);
}

.ttw-featured-title {
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    color: #1A1C1C;
    margin: 4px 0 8px;
}

.ttw-featured-title a {
    color: #1A1C1C;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ttw-featured-title a:hover {
    color: var(--ttw-primary);
}

.ttw-featured-desc {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #4A5568;
    margin: 0 0 12px;
}

/* 14.4 Article Grid */
.ttw-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 48px;
    column-gap: 32px;
}

.ttw-news-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ttw-news-card:hover {
    transform: translateY(-6px);
}

.ttw-news-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 2px;
    overflow: hidden;
    display: block;
    background: #eef2f6;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.35s ease;
}

.ttw-news-card:hover .ttw-news-thumb {
    box-shadow: 0 12px 28px rgba(0, 101, 145, 0.12);
}

.ttw-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ttw-news-card:hover .ttw-news-thumb img {
    transform: scale(1.07);
}

.ttw-news-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ttw-news-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}


.ttw-news-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #EDF2F7;
    color: #4A5568;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
    width: fit-content;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.ttw-news-card:hover .ttw-news-tag {
    background-color: #E0F2FE;
    color: var(--ttw-primary);
}

.ttw-news-date {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: #718096;
    font-weight: 400;
}


.ttw-news-card-title {
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.45;
    color: #1A1C1C;
    margin: 0 0 16px;
}

.ttw-news-card-title a {
    color: #1A1C1C;
    text-decoration: none;
    transition: color 0.25s ease;
}

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

.ttw-news-readmore {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ttw-primary);
    text-decoration: none;
    transition: color 0.25s ease;
}

.ttw-news-readmore svg {
    transition: transform 0.25s ease;
}

.ttw-news-card:hover .ttw-news-readmore svg,
.ttw-news-featured:hover .ttw-news-readmore svg {
    transform: translate(3px, -2px);
}

.ttw-news-empty {
    text-align: center;
    padding: 48px 24px;
    color: #6b7280;
    font-family: "Inter", sans-serif;
    font-size: 16px;
}

/* 14.6 Entrance Scroll & Load Animations */
@keyframes ttwFadeUpEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.ttw-news-hero .ttw-news-title {
    animation: ttwFadeUpEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
    opacity: 0;
}

.ttw-news-hero .ttw-news-subtitle {
    animation: ttwFadeUpEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.ttw-news-filter-nav {
    animation: ttwFadeUpEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
    opacity: 0;
}

.ttw-news-featured {
    animation: ttwFadeUpEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
    opacity: 0;
}


.ttw-news-card {
    animation: ttwFadeUpEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.ttw-news-grid .ttw-news-card:nth-child(1) {
    animation-delay: 0.4s;
}

.ttw-news-grid .ttw-news-card:nth-child(2) {
    animation-delay: 0.5s;
}

.ttw-news-grid .ttw-news-card:nth-child(3) {
    animation-delay: 0.6s;
}

.ttw-news-grid .ttw-news-card:nth-child(4) {
    animation-delay: 0.7s;
}

.ttw-news-grid .ttw-news-card:nth-child(5) {
    animation-delay: 0.8s;
}

.ttw-news-grid .ttw-news-card:nth-child(6) {
    animation-delay: 0.9s;
}

/* 14.5 Pagination */
.ttw-news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 24px;
    animation: ttwFadeUpEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
    opacity: 0;
}

.ttw-news-page-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(190, 200, 210, 0.6);
    background: var(--ttw-white);
    color: #1A1C1C;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.ttw-news-page-btn:hover {
    border-color: var(--ttw-primary);
    color: var(--ttw-primary);
}

.ttw-news-page-btn.active {
    background: var(--ttw-primary);
    border-color: var(--ttw-primary);
    color: var(--ttw-white);
}

.ttw-news-page-btn svg {
    fill: #1A1C1C;
    transition: fill 0.2s ease;
}

.ttw-news-page-btn:hover svg {
    fill: var(--ttw-primary);
}

@media (max-width: 1024px) {
    .ttw-news-featured {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-bottom: 36px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .ttw-featured-media {
        width: 100%;
        height: 320px;
    }

    .ttw-featured-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: 0;
        padding: 24px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
        border-top: none;
    }

    .ttw-news-featured:hover .ttw-featured-card {
        transform: none;
    }

    .ttw-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 36px;
        column-gap: 20px;
    }
}

@media (max-width: 640px) {
    body.admin-bar .ttw-news-hero {
        margin-top: 24px;
    }

    .ttw-news-hero {
        margin-top: 24px;
    }

    .ttw-news-subtitle {
        font-size: 14px;
    }

    .ttw-news-featured {
        margin-bottom: 28px;
    }

    .ttw-featured-media {
        height: 220px;
    }

    .ttw-featured-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 16px;
    }

    .ttw-featured-title {
        font-size: 18px;
    }

    .ttw-news-grid {
        grid-template-columns: 1fr;
        row-gap: 32px;
    }


    .ttw-news-card-title {
        min-height: auto;
        font-size: 18px;
    }

    .ttw-featured-media {
        height: 240px;
    }

    .ttw-featured-title {
        font-size: 20px;
    }

    .ttw-news-filter-list {
        gap: 8px;
    }
}

/* Fallback Generic Blog styles */
.ttw-content-area {
    padding: 60px 0;
}

.ttw-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 36px;
    align-items: start;
    width: 100%;
}

.ttw-layout.ttw-layout-no-sidebar,
.ttw-layout-no-sidebar {
    display: block !important;
    max-width: 920px;
    margin: 0 auto;
    width: 100%;
}

.ttw-main {
    min-width: 0;
    width: 100%;
}

.ttw-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.ttw-post-card {
    background: var(--ttw-white);
    border-radius: var(--ttw-radius);
    overflow: hidden;
    box-shadow: var(--ttw-shadow);
    transition: var(--ttw-transition);
    display: flex;
    flex-direction: column;
}

.ttw-post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ttw-shadow-hover);
}

.ttw-post-card-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

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

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

.ttw-post-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ttw-news-meta {
    font-size: 13px;
    color: var(--ttw-gray);
    margin-bottom: 10px;
    display: flex;
    gap: 12px;
}

.ttw-post-card-body h2 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.ttw-post-card-body h2 a {
    color: var(--ttw-dark);
}

.ttw-post-card-body h2 a:hover {
    color: var(--ttw-primary);
}

.ttw-post-card-excerpt {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}


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

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

.ttw-post-card h2 {
    font-size: 19px;
    margin-bottom: 10px;
}

.ttw-post-card h2 a {
    color: var(--ttw-dark);
}

.ttw-post-card h2 a:hover {
    color: var(--ttw-primary);
}

.ttw-post-card .ttw-news-meta {
    margin-bottom: 10px;
}

.ttw-post-card-excerpt {
    font-size: 14px;
    color: var(--ttw-gray);
}

.ttw-post-card .btn {
    margin-top: auto;
    align-self: flex-start;
    padding: 9px 22px;
    font-size: 13px;
    background: var(--ttw-light);
    color: var(--ttw-dark);
    border-color: var(--ttw-gray-light);
}

.ttw-post-card .btn:hover {
    background: var(--ttw-primary);
    border-color: var(--ttw-primary);
    color: var(--ttw-white);
}

/* Single post */
.ttw-single-page-wrap,
.ttw-single-post-area {
    padding-top: 100px !important;
    background-color: var(--ttw-bg-white);
    min-height: calc(100vh - 200px);
    width: 100%;
}

.ttw-single-article,
.ttw-single {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.ttw-single-header {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.ttw-single-breadcrumb {
    margin-bottom: 12px;
    font-size: 13px;
    color: #64748b;
}

.ttw-single-breadcrumb a {
    color: #64748b;
    transition: color 0.2s ease;
}

.ttw-single-breadcrumb a:hover {
    color: var(--ttw-primary);
}

.ttw-single-breadcrumb .ttw-sep {
    margin: 0 6px;
    color: #cbd5e1;
}

.ttw-single-title {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(22px, 3.2vw, 34px);
    font-weight: 700;
    color: var(--ttw-dark);
    line-height: 1.35;
    margin: 0 0 16px;
    text-transform: none;
    letter-spacing: -0.3px;
}

.ttw-single-header .ttw-news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.ttw-single-header .ttw-news-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ttw-single-header .ttw-news-meta svg {
    color: var(--ttw-primary);
    flex-shrink: 0;
}

.ttw-single-header .ttw-news-meta a {
    color: var(--ttw-primary);
    font-weight: 600;
}

.ttw-single-thumb {
    margin-bottom: 28px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.ttw-single-thumb img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.ttw-single .entry-content,
.ttw-entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    overflow-wrap: break-word;
    word-break: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
}

.ttw-single .entry-content>*,
.ttw-entry-content>* {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.ttw-single .entry-content p,
.ttw-entry-content p {
    margin-bottom: 18px;
    font-size: 15.5px;
    line-height: 1.75;
    color: #334155;
}

.ttw-single .entry-content img,
.ttw-entry-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    margin: 20px auto;
    display: block;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.ttw-single .entry-content figure,
.ttw-entry-content figure {
    max-width: 100% !important;
    margin: 20px 0;
}

.ttw-single .entry-content figure img,
.ttw-entry-content figure img {
    margin: 0 auto;
}

.ttw-single .entry-content figcaption,
.ttw-entry-content figcaption {
    text-align: center;
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
    font-style: italic;
}

.ttw-single .entry-content iframe,
.ttw-single .entry-content video,
.ttw-single .entry-content embed,
.ttw-entry-content iframe,
.ttw-entry-content video,
.ttw-entry-content embed {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 8px;
}

.ttw-single .entry-content table,
.ttw-entry-content table {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    margin: 20px 0;
}

.ttw-single .entry-content table td,
.ttw-single .entry-content table th,
.ttw-entry-content table td,
.ttw-entry-content table th {
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
}

.ttw-single .entry-content h2,
.ttw-single .entry-content h3,
.ttw-single .entry-content h4 {
    color: var(--ttw-dark);
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 14px;
    line-height: 1.4;
}

.ttw-single .entry-content h2 {
    font-size: clamp(20px, 2.5vw, 26px);
}

.ttw-single .entry-content h3 {
    font-size: clamp(18px, 2vw, 22px);
}

.ttw-single .entry-content ul,
.ttw-single .entry-content ol {
    margin: 16px 0 20px 24px;
    padding: 0;
}

.ttw-single .entry-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.ttw-single .entry-content blockquote,
.ttw-entry-content blockquote {
    border-left: 4px solid var(--ttw-primary);
    margin: 24px 0;
    padding: 16px 20px;
    background: #f8fafc;
    border-radius: 0 var(--ttw-radius-sm) var(--ttw-radius-sm) 0;
    font-style: italic;
    color: #475569;
}

.ttw-tags {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.ttw-tags span {
    font-weight: 600;
    font-size: 13px;
    color: #64748b;
}

.ttw-tags a {
    display: inline-block;
    padding: 4px 12px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12.5px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.ttw-tags a:hover {
    background: var(--ttw-primary);
    color: #fff;
}

/* Pagination */
.ttw-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.ttw-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--ttw-radius-sm);
    border: 1px solid var(--ttw-gray-light);
    color: var(--ttw-dark);
    font-weight: 600;
}

.ttw-pagination .page-numbers.current,
.ttw-pagination .page-numbers:hover {
    background: var(--ttw-primary);
    border-color: var(--ttw-primary);
    color: var(--ttw-white);
}

/* Sidebar / Widgets */
.ttw-sidebar .widget {
    background: var(--ttw-white);
    border: 1px solid var(--ttw-gray-light);
    border-radius: var(--ttw-radius);
    padding: 20px 14px;
    margin-bottom: 24px;
    box-sizing: border-box;
    overflow: hidden;
}

.ttw-sidebar .widget-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    padding-bottom: 10px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--ttw-primary);
    display: inline-block;
    letter-spacing: 0.5px;
    margin-left: 6px;
}

/* Facebook Page Widget / Embed Responsive */
.ttw-sidebar .fb-page,
.ttw-sidebar .fb-page span,
.ttw-sidebar .fb-page iframe,
.ttw-sidebar .fb_iframe_widget,
.ttw-sidebar .fb_iframe_widget span,
.ttw-sidebar .fb_iframe_widget iframe,
.ttw-sidebar iframe[src*="facebook.com"],
.widget_facebook,
.widget_facebook_page,
.fb-page,
.fb-page span,
.fb-page iframe,
.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget iframe,
iframe[src*="facebook.com"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    min-height: 250px !important;
    box-sizing: border-box !important;
    border: none !important;
    display: block !important;
}

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

.ttw-sidebar ul li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--ttw-gray-light);
}

.ttw-sidebar ul li:last-child {
    border-bottom: 0;
}

.ttw-sidebar ul li a {
    color: var(--ttw-text);
    font-size: 14px;
}

.ttw-sidebar ul li a:hover {
    color: var(--ttw-primary);
}

@media (max-width: 900px) {
    .ttw-layout {
        grid-template-columns: 1fr;
    }

    .ttw-blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   15. Comments
   ========================================================================== */
.ttw-comments {
    margin-top: 40px;
}

.ttw-comments .comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.ttw-comments .comment-list .comment {
    padding: 18px;
    background: var(--ttw-light);
    border-radius: var(--ttw-radius-sm);
    margin-bottom: 14px;
}

.ttw-comments .comment-list .children {
    list-style: none;
    margin-top: 14px;
    padding-left: 24px;
    border-left: 2px solid var(--ttw-gray-light);
}

.ttw-comments .comment-author {
    font-weight: 700;
    color: var(--ttw-dark);
}

.ttw-comments .comment-metadata {
    font-size: 12px;
    color: var(--ttw-gray);
}

.ttw-comments input[type="text"],
.ttw-comments input[type="email"],
.ttw-comments input[type="url"],
.ttw-comments textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--ttw-gray-light);
    border-radius: var(--ttw-radius-sm);
    margin-bottom: 14px;
}

.ttw-comments input[type="submit"] {
    background: var(--ttw-primary);
    color: var(--ttw-white);
    border: 0;
    border-radius: var(--ttw-radius-sm);
    padding: 12px 26px;
    font-weight: 700;
    cursor: pointer;
}

/* ==========================================================================
   16. Forms & 404 & search
   ========================================================================== */
.ttw-search-form {
    display: flex;
    gap: 10px;
}

.ttw-search-form input[type="search"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--ttw-gray-light);
    border-radius: var(--ttw-radius-sm);
    min-width: 0;
}

.ttw-search-form button {
    background: var(--ttw-primary);
    color: var(--ttw-white);
    border: 0;
    border-radius: var(--ttw-radius-sm);
    padding: 0 22px;
    font-weight: 700;
    cursor: pointer;
}

.ttw-404 {
    text-align: center;
    padding: 80px 20px;
}

.ttw-404 h1 {
    font-size: 90px;
    color: var(--ttw-primary);
    line-height: 1;
}

/* ==========================================================================
   17. Footer - Modern & Harmonious 4-Column Layout
   ========================================================================== */
.ttw-footer {
    background: linear-gradient(180deg, #005a83 0%, #004565 100%);
    color: #e2e8f0;
    font-size: 15px;
    padding: 56px 0 0;
    position: relative;
}

/* Dải CTA kêu gọi điều hướng liên hệ Nổi Bật */
.ttw-footer-cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 28px 36px;
    margin-bottom: 50px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.ttw-footer-cta-text h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #ffffff;
    margin: 0 0 6px;
}

.ttw-footer-cta-text p {
    font-family: "Inter", sans-serif;
    font-size: 14.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 580px;
}

.ttw-footer-cta-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ttw-footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 50px;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.ttw-cta-call {
    background: #ea2127;
    color: #ffffff !important;
    border: 1.5px solid #ea2127;
    box-shadow: 0 4px 14px rgba(234, 33, 39, 0.35);
}

.ttw-cta-call:hover {
    background: #d0181e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 33, 39, 0.5);
}

.ttw-cta-zalo {
    background: #0068ff;
    color: #ffffff !important;
    border: 1.5px solid #0068ff;
    box-shadow: 0 4px 14px rgba(0, 104, 255, 0.35);
}

.ttw-cta-zalo:hover {
    background: #0056d6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 104, 255, 0.5);
}

.ttw-cta-fb {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.ttw-cta-fb:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Bố cục 4 cột Unified Grid */
.ttw-footer-unified-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1.35fr 1.15fr;
    gap: 40px;
    padding-bottom: 56px;
}

.ttw-fcol-title {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 20px 0;
    position: relative;
    padding-bottom: 10px;
}

.ttw-fcol-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2.5px;
    background: #ea2127;
    border-radius: 999px;
}

/* Cột 1: Brand */
.ttw-fcol-brand .ttw-footer-logo {
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 12px;
    display: inline-block;
}

.ttw-fcompany-name {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #5ed0fa;
    line-height: 1.5;
    margin-bottom: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ttw-fcompany-desc {
    font-family: "Inter", sans-serif;
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* Cột 2: Navigation Links */
.ttw-flinks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.ttw-flinks li a {
    color: rgba(255, 255, 255, 0.82);
    font-family: "Inter", sans-serif;
    font-size: 14px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
}

.ttw-flinks li a:hover {
    color: #5ed0fa;
    padding-left: 6px;
    text-decoration: none;
}

/* Cột 3: Locations */
.ttw-fcol-locations {
    display: flex;
    flex-direction: column;
}

.ttw-floc-item {
    margin-bottom: 14px;
}

.ttw-floc-item:last-child {
    margin-bottom: 0;
}

.ttw-floc-tag {
    display: inline-block;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #5ed0fa;
    letter-spacing: 0.05em;
    margin-bottom: 3px;
}

.ttw-floc-item p {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

.ttw-floc-item a {
    color: #5ed0fa;
    font-weight: 600;
}

.ttw-floc-item a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Cột 4: Hotlines & Support */
.ttw-fcol-contact {
    display: flex;
    flex-direction: column;
}

.ttw-fhotline-card {
    background: linear-gradient(135deg, rgba(234, 33, 39, 0.9) 0%, rgba(208, 24, 30, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 12px;
    box-shadow: 0 6px 18px rgba(234, 33, 39, 0.25);
    transition: transform 0.3s ease;
}

.ttw-fhotline-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(234, 33, 39, 0.4);
}

.ttw-fhl-badge {
    font-family: "Montserrat", sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

.ttw-fhl-phone {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff !important;
    letter-spacing: 0.6px;
    text-decoration: none !important;
    display: block;
}

.ttw-fsupport-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ttw-fsupp-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.ttw-fsupp-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.ttw-fsupp-card span {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

.ttw-fsupp-card a {
    font-family: "Montserrat", sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #5ed0fa !important;
    text-decoration: none !important;
}

.ttw-fsupp-card a:hover {
    color: #ffffff !important;
}

/* Footer Bottom */
.ttw-footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(0, 0, 0, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ttw-footer-bottom p {
    margin: 0;
}

.ttw-footer-bottom strong {
    color: #ffffff;
}

.ttw-sticky-call {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.ttw-sticky-call a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-decoration: none !important;
}

.ttw-sticky-call a:first-child {
    background: #3fb801;
}

.ttw-sticky-call a:last-child {
    background: #0082d0;
}

@media (max-width: 1024px) {
    .ttw-footer-unified-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 30px;
    }
}

@media (max-width: 768px) {
    .ttw-footer {
        padding: 40px 0 0;
    }

    .ttw-footer-cta-band {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 24px 18px;
        margin-bottom: 36px;
        gap: 18px;
    }

    .ttw-footer-cta-text h3 {
        font-size: 18px;
    }

    .ttw-footer-cta-text p {
        font-size: 13.5px;
        margin: 0 auto;
    }

    .ttw-footer-cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .ttw-footer-cta-btn {
        width: 100%;
        padding: 12px 16px;
        font-size: 13px;
    }

    .ttw-footer-unified-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 40px;
    }

    .ttw-fcol-title {
        font-size: 14.5px;
        margin-bottom: 14px;
    }

    /* Đệm thêm khoảng trống ở đáy trang để không bị thanh sticky call bar che mất nội dung */
    .ttw-footer-bottom {
        padding: 18px 15px 76px;
    }

    .ttw-sticky-call {
        display: grid;
    }
}

/* ==========================================================================
   19. WooCommerce
   ========================================================================== */
.woocommerce .products {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.woocommerce ul.products li.product {
    width: 100%;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .button,
.woocommerce #respond input#submit {
    display: inline-block;
    background: var(--ttw-primary);
    color: var(--ttw-white);
    border: 0;
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    transition: var(--ttw-transition);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background: var(--ttw-primary-dark);
    color: var(--ttw-white);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce .button.alt {
    background: var(--ttw-dark);
    color: var(--ttw-white);
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background: var(--ttw-dark-2);
    color: var(--ttw-white);
}

.woocommerce span.onsale {
    background: var(--ttw-primary);
    color: var(--ttw-white);
    border-radius: 999px;
    min-height: 0;
    min-width: 0;
    padding: 6px 14px;
    line-height: 1.4;
    font-size: 13px;
    font-weight: 700;
    z-index: 5;
}

.woocommerce ul.products li.product .price {
    color: var(--ttw-primary);
    font-weight: 800;
    font-size: 17px;
}

.woocommerce ul.products li.product .price del {
    color: var(--ttw-gray);
    font-weight: 400;
    font-size: 13px;
}

.woocommerce div.product p.price {
    color: var(--ttw-primary);
    font-size: 26px;
    font-weight: 800;
}

.woocommerce div.product p.price del {
    color: var(--ttw-gray);
    font-size: 16px;
    font-weight: 400;
}

.woocommerce .quantity .qty {
    border: 1px solid var(--ttw-gray-light);
    border-radius: var(--ttw-radius-sm);
    padding: 10px 12px;
    width: 72px;
    height: auto;
}

/* Single product layout */
.woocommerce div.product .product_title {
    font-size: 28px;
    font-weight: 800;
}

.woocommerce div.product .woocommerce-product-gallery__wrapper img {
    border-radius: var(--ttw-radius);
    box-shadow: var(--ttw-shadow);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    margin: 0 0 24px;
    padding: 0;
    border-bottom: 2px solid var(--ttw-gray-light);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent;
    border: 0;
    border-radius: 0;
    margin: 0;
    padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: inline-block;
    padding: 14px 22px;
    font-weight: 700;
    color: var(--ttw-gray);
    text-transform: uppercase;
    font-size: 14px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--ttw-primary);
    box-shadow: inset 0 -2px 0 var(--ttw-primary);
}

/* Cart / checkout forms */
.woocommerce table.shop_table {
    border: 1px solid var(--ttw-gray-light);
    border-radius: var(--ttw-radius);
    border-collapse: collapse;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    border-top: 1px solid var(--ttw-gray-light);
    border-bottom: 1px solid var(--ttw-gray-light);
    padding: 14px;
}

.woocommerce #payment {
    background: var(--ttw-light);
    border-radius: var(--ttw-radius);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    border: 1px solid var(--ttw-gray-light);
    border-radius: var(--ttw-radius-sm);
    padding: 12px 14px;
    height: auto;
    background: var(--ttw-white);
}

.woocommerce form .form-row label {
    font-weight: 600;
    font-size: 14px;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count {
    color: var(--ttw-gray);
}

.woocommerce .woocommerce-ordering select {
    border: 1px solid var(--ttw-gray-light);
    border-radius: var(--ttw-radius-sm);
    padding: 10px 12px;
    background: var(--ttw-white);
}

@media (max-width: 1000px) {
    .woocommerce .products {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 420px) {
    .woocommerce .products {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   20. Page hero (inner pages)
   ========================================================================== */
/* ==========================================================================
   20. Page hero (inner pages)
   ========================================================================== */
.ttw-page-hero {
    display: none !important;
}

.ttw-content-area {
    padding: 80px 0 60px !important;
}

/* Trang sản phẩm bento không dùng padding-top của .ttw-content-area */
.page-template-default .ttw-products-page,
.ttw-products-page {
    margin-top: 60px;
}



.ttw-page-hero h1 {
    color: #fff !important;
    font-size: clamp(24px, 3.2vw, 38px);
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.ttw-page-hero .ttw-breadcrumb {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.ttw-page-hero .ttw-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
}

.ttw-page-hero .ttw-breadcrumb a:hover {
    color: var(--ttw-white);
}

/* Header mặc định cho các trang con (không phải trang chủ) */
body:not(.home) header.ttw-header,
body:not(.home) .ttw-header,
body:not(.home) #ttw-header {
    background: var(--ttw-white) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
}

body:not(.home) .ttw-header .ttw-nav a {
    color: #3e4850 !important;
}

body:not(.home) .ttw-header .ttw-nav ul:not(.sub-menu)>li:hover>a,
body:not(.home) .ttw-header .ttw-nav ul:not(.sub-menu)>li.current-menu-item>a,
body:not(.home) .ttw-header .ttw-nav ul:not(.sub-menu)>li.current_page_item>a,
body:not(.home) .ttw-header .ttw-nav ul:not(.sub-menu)>li.current-menu-ancestor>a,
body:not(.home) .ttw-header .ttw-nav ul:not(.sub-menu)>li.current_page_ancestor>a,
body:not(.home) .ttw-header .ttw-nav ul:not(.sub-menu)>li.current-menu-parent>a,
body:not(.home) .ttw-header .ttw-nav ul:not(.sub-menu)>li.current-category-ancestor>a,
body:not(.home) .ttw-header .ttw-nav ul:not(.sub-menu)>li.active>a {
    color: var(--ttw-primary) !important;
    background: transparent !important;
}

body:not(.home) .ttw-header .ttw-logo-text {
    color: var(--ttw-primary) !important;
}

body:not(.home) .ttw-header .ttw-logo-text small {
    color: var(--ttw-primary) !important;
}

body:not(.home) .ttw-header .ttw-header-cta {
    color: var(--ttw-primary) !important;
    border-color: var(--ttw-primary) !important;
    background: transparent !important;
}

body:not(.home) .ttw-header .ttw-header-cta:hover {
    background: var(--ttw-primary) !important;
    color: var(--ttw-white) !important;
}

body:not(.home) .ttw-menu-toggle {
    color: #1e293b !important;
}


/* ==========================================================================
   21. Homepage responsive
   ========================================================================== */
body.home .ttw-header {
    background: transparent;
    box-shadow: none;
}

body.home .ttw-header .ttw-nav .sub-menu a:hover,
body.home .ttw-header .ttw-nav .sub-menu a {
    color: #3e4850;
}

body.home .ttw-header .ttw-logo-text {
    color: var(--ttw-white);
}

body.home .ttw-header .ttw-logo-text small {
    color: rgba(255, 255, 255, 0.7);
}

body.home .ttw-header .ttw-header-cta {
    background: var(--ttw-white);
    color: #121C2A;
    border-color: var(--ttw-primary);
}

body.home .ttw-header .ttw-header-cta:hover {
    background: var(--ttw-primary);
    color: var(--ttw-white);
}

body.home .ttw-header.scrolled {
    background: var(--ttw-white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}


body.home .ttw-header.scrolled .ttw-nav a {
    color: #3e4850;
}

body.home .ttw-header:not(.scrolled) .current-menu-item>a {
    color: var(--ttw-primary) !important;
}

body.home .ttw-header:not(.scrolled) .current-menu-item>a::after {
    background: var(--ttw-primary) !important;
}

body.home .ttw-header.scrolled .ttw-nav ul:not(.sub-menu)>li:hover>a,
body.home .ttw-header.scrolled .ttw-nav ul:not(.sub-menu)>li.current-menu-item>a,
body.home .ttw-header.scrolled .ttw-nav ul:not(.sub-menu)>li.current_page_item>a,
body.home .ttw-header.scrolled .ttw-nav ul:not(.sub-menu)>li.current-menu-ancestor>a,
body.home .ttw-header.scrolled .ttw-nav ul:not(.sub-menu)>li.current_page_ancestor>a,
body.home .ttw-header.scrolled .ttw-nav ul:not(.sub-menu)>li.current-menu-parent>a,
body.home .ttw-header.scrolled .ttw-nav ul:not(.sub-menu)>li.current-category-ancestor>a,
body.home .ttw-header.scrolled .ttw-nav ul:not(.sub-menu)>li.active>a {
    color: var(--ttw-primary) !important;
}

body.home .ttw-header.scrolled .ttw-logo-text {
    color: var(--ttw-primary);
}

body.home .ttw-header.scrolled .ttw-logo-text small {
    color: var(--ttw-primary);
}

body.home .ttw-header.scrolled .ttw-header-cta {
    color: var(--ttw-primary);
    border-color: var(--ttw-primary);
}

body.home .ttw-header.scrolled .ttw-header-cta:hover {
    color: var(--ttw-white);
}

body.home .ttw-header.scrolled .ttw-nav ul:not(.sub-menu)>li>a::after {
    background-color: var(--ttw-primary);
}

/* Values */
.ttw-values {
    margin-top: 48px;
    border-top: 1px solid var(--ttw-gray-light);
}

.ttw-value {
    display: grid;
    grid-template-columns: 60px 1fr 1.1fr;
    gap: 24px;
    align-items: center;
    padding: 26px 0;
    border-bottom: 1px solid var(--ttw-gray-light);
    transition: background 0.3s ease, padding-left 0.3s ease;
    border-radius: var(--ttw-radius-sm);
}

.ttw-value:hover {
    background: var(--ttw-light);
    padding-left: 16px;
}

.ttw-value-num {
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--ttw-primary);
}

.ttw-value-title {
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--ttw-dark);
    margin: 0;
}

.ttw-value-desc {
    font-size: 16px;
    line-height: 1.5;
    color: var(--ttw-gray);
    margin: 0;
    justify-self: end;
    max-width: 480px;
}

/* Projects */
.ttw-projects-head {
    margin-bottom: 44px;
    text-align: center;
}

.ttw-projects-head .ttw-section-title {
    margin-bottom: 10px;
}

.ttw-projects-head p {
    font-size: 16px;
    color: var(--ttw-gray);
    margin: 0;
}

.ttw-projects {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
}

.ttw-project {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 744 / 600;
    transition: transform 0.4s ease;
}

.ttw-project:hover {
    transform: scale(1.01);
}

.ttw-project-small {
    aspect-ratio: 368 / 296;
}

.ttw-project-large {
    grid-row: span 2;
}

.ttw-project img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ttw-project:hover img {
    transform: scale(1.04);
}

.ttw-project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.ttw-project:hover .ttw-project-overlay {
    background: rgba(0, 0, 0, 0.45);
}

.ttw-project-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 28px;
}

.ttw-project-cat {
    display: block;
    font-size: 16px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.ttw-project-body h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--ttw-white);
    margin: 0 0 6px;
}

.ttw-project-small .ttw-project-body h3 {
    font-size: 18px;
    letter-spacing: 0.9px;
}

.ttw-project-body p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.ttw-project-small .ttw-project-body p {
    font-size: 12px;
}

.ttw-projects-action,
.ttw-products-action {
    text-align: center;
    margin-top: 48px;
}

.ttw-projects-action .ttw-textlink,
.ttw-products-action .ttw-textlink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ttw-primary);
    background: var(--ttw-white);
    border: 2px solid var(--ttw-primary);
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0, 101, 145, 0.12);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ttw-projects-action .ttw-textlink:hover,
.ttw-products-action .ttw-textlink:hover {
    color: var(--ttw-white);
    background: var(--ttw-primary);
    border-color: var(--ttw-primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 101, 145, 0.3);
}

.ttw-projects-action .ttw-textlink svg,
.ttw-products-action .ttw-textlink svg {
    transition: transform 0.3s ease;
}

.ttw-projects-action .ttw-textlink:hover svg,
.ttw-products-action .ttw-textlink:hover svg {
    transform: translateX(5px);
}


/* Process */
.ttw-process {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.ttw-process-line {
    position: absolute;
    top: 48px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--ttw-gray-light), var(--ttw-primary), var(--ttw-gray-light));
    border-radius: 999px;
}

.ttw-step {
    position: relative;
    text-align: center;
    transition: transform 0.3s ease;
}

.ttw-step:hover {
    transform: translateY(-6px);
}

.ttw-step-num {
    position: relative;
    z-index: 2;
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--ttw-gray-light);
    border-radius: 50%;
    background: var(--ttw-white);
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--ttw-gray);
    transition: all 0.3s ease;
}

.ttw-step:hover .ttw-step-num {
    background: var(--ttw-primary);
    color: var(--ttw-white);
    box-shadow: 0 8px 24px rgba(0, 101, 145, 0.3);
}

.ttw-step h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--ttw-dark);
    margin: 0 0 8px;
}

.ttw-step p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ttw-gray);
    margin: 0;
}

/* Benefits */
.ttw-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
    margin-top: 48px;
    text-align: center;
}

.ttw-benefit {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ttw-benefit:hover {
    transform: translateY(-6px);
}

.ttw-benefit-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.ttw-benefit-icon img {
    width: 36px;
    height: 36px;
    filter: invert(56%) sepia(72%) saturate(2756%) hue-rotate(172deg) brightness(94%) contrast(101%);
}

.ttw-benefit:hover .ttw-benefit-icon {
    transform: scale(1.1);
    background: var(--ttw-primary);
}

.ttw-benefit:hover .ttw-benefit-icon img {
    filter: brightness(0) invert(1);
}

.ttw-benefit h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--ttw-dark);
    margin-bottom: 10px;
}

.ttw-benefit p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--ttw-gray);
    margin: 0;
}

/* ==========================================================================
   22. Products showcase
   ========================================================================== */
.ttw-products-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 36px;
}

.ttw-products-header-main {
    max-width: 760px;
}

.ttw-products-header-main .ttw-section-title {
    margin-bottom: 12px;
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 700;
    color: var(--ttw-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ttw-products-header-main .ttw-section-desc {
    margin-bottom: 0;
    color: var(--ttw-gray);
    font-size: 15.5px;
    line-height: 1.65;
}

.ttw-products-all-btn {
    display: inline-flex;
    flex-shrink: 0;
    margin-bottom: 4px;
}

.ttw-products-action {
    display: none;
}

#san-pham {
    scroll-margin-top: 80px;
}

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

.ttw-showcase-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    background: #0f172a;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s ease;
    text-decoration: none !important;
}

.ttw-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 101, 145, 0.22);
    border-color: #006591;
}

.ttw-showcase-img-wrap,
.ttw-showcase-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ttw-showcase-img-wrap img,
.ttw-showcase-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.ttw-showcase-card:hover .ttw-showcase-img-wrap img,
.ttw-showcase-card:hover > img {
    transform: scale(1.08);
}

.ttw-showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 0%, rgba(15, 23, 42, 0.25) 45%, rgba(7, 25, 39, 0.92) 100%);
    transition: background 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.ttw-showcase-card:hover .ttw-showcase-overlay {
    background: linear-gradient(180deg, rgba(0, 101, 145, 0.1) 0%, rgba(7, 25, 39, 0.45) 40%, rgba(0, 60, 90, 0.96) 100%);
}

.ttw-showcase-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 18px 18px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ttw-showcase-card:hover .ttw-showcase-body {
    padding-bottom: 20px;
}

.ttw-showcase-cat {
    display: inline-block;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7dd3fc;
}

.ttw-showcase-title,
.ttw-showcase-body h3 {
    font-family: "Montserrat", sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.35 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ttw-showcase-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #5ed0fa;
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(8px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ttw-showcase-card:hover .ttw-showcase-btn {
    max-height: 28px;
    margin-top: 6px;
    opacity: 1;
    transform: translateY(0);
    color: #5ed0fa;
}

.ttw-showcase-btn svg {
    transition: transform 0.3s ease;
}

.ttw-showcase-card:hover .ttw-showcase-btn svg {
    transform: translateX(4px);
}


/* Homepage responsive - Đặt sau CSS base để luôn ghi đè chính xác trên Tablet & Mobile */
@media (max-width: 1024px) {
    .ttw-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .ttw-about {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ttw-projects {
        grid-template-columns: 1fr;
    }

    .ttw-project-large {
        grid-row: auto;
    }

    .ttw-process {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
        margin-top: 40px;
    }

    .ttw-process-line {
        display: none;
    }

    .ttw-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .ttw-quotes,
    .ttw-news {
        grid-template-columns: repeat(2, 1fr);
    }

    .ttw-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 700px) {
    .ttw-header-inner {
        padding: 0 6px;
    }

    body .ttw-header .ttw-header-cta {
        display: none !important;
    }

    .ttw-stats {
        padding: 0;
    }

    .ttw-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        border-top: 1px solid #f1f5f9;
        border-bottom: 1px solid #f1f5f9;
    }

    .ttw-stat {
        padding: 24px 12px;
        position: relative;
        text-align: center;
        box-sizing: border-box;
    }

    .ttw-stat:nth-child(1),
    .ttw-stat:nth-child(2) {
        border-bottom: 1px solid #f1f5f9;
    }

    .ttw-stat:nth-child(odd) {
        border-right: 1px solid #f1f5f9;
    }

    .ttw-stat-divider {
        border-left: none;
    }

    .ttw-stat-number {
        font-size: 30px;
        font-weight: 700;
        margin-bottom: 6px;
    }

    .ttw-stat-label {
        font-size: 11.5px;
        letter-spacing: 0.8px;
        color: #64748b;
        margin-top: 4px;
    }

    .ttw-products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 20px;
    }

    .ttw-products-header-main {
        width: 100%;
        max-width: 100%;
    }

    .ttw-products-header-main .ttw-section-title {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .ttw-products-header-main .ttw-section-desc {
        font-size: 13.5px;
        line-height: 1.6;
        color: #64748b;
        margin-bottom: 0;
    }

    .ttw-products-header .ttw-products-all-btn {
        display: none !important;
    }

    .ttw-products-action {
        display: block !important;
        text-align: center;
        margin-top: 28px;
    }

    .ttw-single-page-wrap,
    .ttw-single-post-area,
    .ttw-content-area {
        padding-top: 76px !important;
        padding-bottom: 40px !important;
    }

    .ttw-single-title {
        font-size: 22px;
        line-height: 1.35;
        margin-bottom: 12px;
    }

    .ttw-single-header .ttw-news-meta {
        gap: 10px;
        font-size: 12px;
    }

    .ttw-single .entry-content,
    .ttw-entry-content {
        font-size: 15px;
        line-height: 1.7;
    }

    .ttw-single .entry-content p,
    .ttw-entry-content p {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .ttw-single .entry-content h2 {
        font-size: 19px;
        margin-top: 24px;
        margin-bottom: 10px;
    }

    .ttw-single .entry-content h3 {
        font-size: 17px;
        margin-top: 20px;
        margin-bottom: 8px;
    }

    .ttw-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .ttw-section-title {
        font-size: 24px;
    }

    .ttw-section-title::after {
        display: none;
    }

    .ttw-showcase-card {
        aspect-ratio: 3 / 4;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .ttw-showcase-overlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.7) 100%);
    }

    .ttw-showcase-body {
        padding: 14px 12px;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .ttw-showcase-body h3 {
        font-family: "Montserrat", sans-serif;
        font-size: 13.5px;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        color: var(--ttw-white);
        margin: 0;
        line-height: 1.35;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    }

    .ttw-process {
        display: flex;
        flex-direction: column;
        gap: 28px;
        position: relative;
        padding-left: 0;
        margin-top: 36px;
    }

    .ttw-process-line {
        display: block !important;
        position: absolute;
        top: 26px;
        bottom: 26px;
        left: 25px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(90deg, var(--ttw-gray-light), var(--ttw-primary), var(--ttw-gray-light));
        border-radius: 0;
        z-index: 1 !important;
    }

    .ttw-step {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
        position: relative;
        z-index: 2 !important;
    }

    .ttw-step-num {
        position: relative !important;
        z-index: 10 !important;
        width: 52px;
        height: 52px;
        min-width: 52px;
        min-height: 52px;
        margin: 0;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        background: var(--ttw-white) !important;
        font-family: "Inter", sans-serif;
        font-size: 17px;
        font-weight: 600;
        color: var(--ttw-gray);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
        flex-shrink: 0;
    }

    .ttw-step:hover .ttw-step-num,
    .ttw-step.active .ttw-step-num {
        background: var(--ttw-primary) !important;
        border-color: var(--ttw-primary) !important;
        color: var(--ttw-white) !important;
    }


    .ttw-step-content {
        flex: 1;
        min-width: 0;
    }

    .ttw-step-content h3,
    .ttw-step h3 {
        font-family: "Montserrat", sans-serif;
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        color: #0f172a;
        margin: 4px 0 6px;
    }

    .ttw-step-content p,
    .ttw-step p {
        font-size: 13.5px;
        line-height: 1.5;

        color: #64748b;
        margin: 0;
    }

    .ttw-quotes-wrapper {
        margin: 0;
        padding: 0;
    }

    .ttw-quotes {
        gap: 0;
        padding: 8px 0 16px;
    }

    .ttw-quote {
        flex: 0 0 100%;
        min-width: 100%;
        padding: 24px 20px;
        border-radius: 16px;
        box-shadow: unset;
        border: 1px solid #f1f5f9;
        box-sizing: border-box;
    }

    .ttw-quote:hover {
        box-shadow: unset;
    }

    .ttw-quote-text {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 16px;
        color: #334155;
    }

    .ttw-quote-img-box {
        max-height: 190px;
        aspect-ratio: 16 / 10;
        border-radius: 12px;
        margin-bottom: 16px;
    }

    .ttw-slider-arrow {
        display: none !important;
    }

    .ttw-quotes {
        grid-template-columns: 1fr;
    }

    .ttw-news {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 24px;
    }

    .ttw-news-item {
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
        border: 1px solid #f1f5f9;
    }

    .ttw-news-body {
        padding: 18px 16px;
    }

    .ttw-news-desc {
        font-size: 13.5px;
        line-height: 1.5;
        color: #64748b;
    }

    .ttw-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 16px;
        margin-top: 36px;
        text-align: center;
    }

    .ttw-benefit {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ttw-benefit-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 12px;
        background: transparent !important;
    }

    .ttw-benefit-icon img {
        width: 40px;
        height: 40px;
        filter: invert(48%) sepia(92%) saturate(2200%) hue-rotate(172deg) brightness(98%) contrast(102%) !important;
    }

    .ttw-benefit h3 {
        font-family: "Montserrat", sans-serif;
        font-size: 15px;
        font-weight: 700;
        color: #0f172a;
        margin: 0 0 8px;
        line-height: 1.35;
    }

    .ttw-benefit p {
        font-family: "Inter", sans-serif;
        font-size: 12.5px;
        line-height: 1.5;
        color: #64748b;
        margin: 0;
    }



    .ttw-value {
        grid-template-columns: 40px 1fr;
        gap: 12px;
    }

    .ttw-value-desc {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .ttw-value-title {
        font-size: 24px;
    }

    .ttw-section {
        padding: 52px 0;
    }

    .ttw-section-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 20px;
    }

    .ttw-section-row .ttw-section-title {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 0;
        letter-spacing: 0.5px;
        padding: 0;
    }

    .ttw-section-row .ttw-textlink {
        padding: 8px 14px;
        font-size: 11.5px;
        letter-spacing: 0.8px;
        white-space: nowrap;
        flex-shrink: 0;
    }



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




/* ==========================================================================
   23. Contact page
   ========================================================================== */
.ttw-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.ttw-contact-info h2 {
    margin: 0.5rem 0 0.75rem;
    font-size: 1.75rem;
}

.ttw-contact-info>p {
    color: #4b5563;
    line-height: 1.7;
}

.ttw-contact-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
}

.ttw-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.ttw-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(234, 33, 39, 0.08);
    color: var(--ttw-primary);
    font-size: 1.15rem;
    flex: 0 0 auto;
}

.ttw-contact-list div {
    display: flex;
    flex-direction: column;
}

.ttw-contact-list a {
    color: #1f2937;
}

.ttw-contact-list a:hover {
    color: var(--ttw-primary);
}

.ttw-contact-form {
    background: var(--ttw-white);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(31, 41, 55, 0.06);
}

.ttw-contact-form h3 {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
}

.ttw-contact-form>p {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0 0 1.25rem;
}

.ttw-form-row {
    margin-bottom: 1rem;
}

.ttw-form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.ttw-form-row label span {
    color: var(--ttw-primary);
}

.ttw-form-row input,
.ttw-form-row textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
    font-family: inherit;
    background: #f9fafb;
    color: #1f2937;
}

.ttw-form-row input:focus,
.ttw-form-row textarea:focus {
    outline: none;
    border-color: var(--ttw-primary);
    background: var(--ttw-white);
    box-shadow: 0 0 0 3px rgba(234, 33, 39, 0.12);
}

.ttw-form-note {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 1rem 0 0;
}

.ttw-form-note a {
    color: var(--ttw-primary);
    font-weight: 600;
}

.ttw-intro {
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4b5563;
}

.ttw-about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

@media (max-width: 860px) {
    .ttw-contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   24. Animations & Scroll Reveal
   ========================================================================== */
.ttw-animate {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.ttw-animate.ttw-fade-up {
    transform: translateY(36px);
}

.ttw-animate.ttw-fade-left {
    transform: translateX(-36px);
}

.ttw-animate.ttw-fade-right {
    transform: translateX(36px);
}

.ttw-animate.ttw-fade-in {
    transform: scale(0.96);
}

.ttw-animate.ttw-scale-in {
    transform: scale(0.92);
}

/* Khi cuộn tới (Scroll Reveal In View) */
.ttw-animate.ttw-in-view {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) scale(1) !important;
}

/* Trẻ hóa / Tắt animation khi đang mở trong trình soạn thảo UX Builder để hiển thị rõ ràng */
body.ux-builder-iframe .ttw-animate,
html.ux-builder-iframe .ttw-animate,
.ux-builder-active .ttw-animate,
.ux-builder-editor .ttw-animate,
.uxb-content .ttw-animate,
body.uxbuilder-mode .ttw-animate,
body.wp-admin .ttw-animate,
body.ux-builder-iframe .ttw-animate-children>*,
html.ux-builder-iframe .ttw-animate-children>*,
.ux-builder-active .ttw-animate-children>*,
.ux-builder-editor .ttw-animate-children>*,
.uxb-content .ttw-animate-children>*,
body.uxbuilder-mode .ttw-animate-children>*,
body.wp-admin .ttw-animate-children>* {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    visibility: visible !important;
}


.ttw-animate-children>* {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

html.ttw-reveal-ready:not(.ux-builder-active) .ttw-animate-children:not(.ttw-in-view)>* {
    opacity: 0;
    transform: translateY(24px);
}

.ttw-animate-children.ttw-in-view>* {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.ttw-animate-children.ttw-in-view>*:nth-child(1) {
    transition-delay: 0.05s;
}

.ttw-animate-children.ttw-in-view>*:nth-child(2) {
    transition-delay: 0.15s;
}

.ttw-animate-children.ttw-in-view>*:nth-child(3) {
    transition-delay: 0.25s;
}

.ttw-animate-children.ttw-in-view>*:nth-child(4) {
    transition-delay: 0.35s;
}

.ttw-animate-children.ttw-in-view>*:nth-child(5) {
    transition-delay: 0.45s;
}

.ttw-animate-children.ttw-in-view>*:nth-child(6) {
    transition-delay: 0.55s;
}

.ttw-animate-children.ttw-in-view>*:nth-child(7) {
    transition-delay: 0.65s;
}

.ttw-animate-children.ttw-in-view>*:nth-child(8) {
    transition-delay: 0.75s;
}

.ttw-animate-children.ttw-in-view>*:nth-child(9) {
    transition-delay: 0.85s;
}

@keyframes ttw-hero-fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.ttw-hero-content>* {
    animation: ttw-hero-fade-in 0.8s ease both;
}

.ttw-hero-content>*:nth-child(1) {
    animation-delay: 0.2s;
}

.ttw-hero-content>*:nth-child(2) {
    animation-delay: 0.4s;
}

.ttw-hero-content>*:nth-child(3) {
    animation-delay: 0.6s;
}

@media (prefers-reduced-motion: reduce) {

    *,
    .ttw-animate,
    .ttw-animate-children>* {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ==========================================================================
   24. Page Giới Thiệu (About Us - Figma)
   ========================================================================== */
.ttw-about-page {
    background-color: var(--ttw-bg-white);
    color: #1A1C1C;
    overflow-x: hidden;
}

/* Hero Section */
.ttw-about-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ttw-about-hero-bg {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

.ttw-about-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.ttw-about-hero .container {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    width: 100%;
}

.ttw-about-hero-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #E5E7EB;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 56px 64px;
    text-align: center;
    max-width: 920px;
    width: 100%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.ttw-about-hero-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: 0.05em;
    color: var(--ttw-primary);
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.ttw-about-hero-subtitle {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: #3E4850;
    margin: 0;
}

/* Main Content Wrapper */
.ttw-about-main {
    display: flex;
    flex-direction: column;
    gap: 96px;
    padding: 64px 0 96px 0;
}

.ttw-about-intro-section {
    width: 100%;
}

.ttw-about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
}

.ttw-about-intro-media {
    width: 100%;
    aspect-ratio: 5/3;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.06);
}

.ttw-about-intro-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ttw-about-intro-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ttw-about-intro-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.3;
    letter-spacing: 0.02em;
    color: var(--ttw-primary);
    margin: 0;
}

.ttw-about-intro-desc p {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #3E4850;
    margin: 0 0 16px 0;
}

.ttw-about-intro-desc p:last-child {
    margin-bottom: 0;
}

.ttw-about-intro-stats {
    display: flex;
    border-top: 1px solid #BEC8D2;
    padding-top: 18px;
    gap: 16px;
    margin-top: 8px;
}

.ttw-about-intro-stat {
    flex: 1;
}

.ttw-about-intro-stat+.ttw-about-intro-stat {
    border-left: 1px solid #BEC8D2;
    padding-left: 16px;
}

.ttw-about-stat-num {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.4;
    color: var(--ttw-primary);
}

.ttw-about-stat-label {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3E4850;
    margin-top: 4px;
}

/* Factory Section */
.ttw-about-factory-section {
    background-color: #F3F3F4;
    padding: 80px 0;
    width: 100%;
}

.ttw-about-factory-header {
    text-align: center;
    margin-bottom: 48px;
}

.ttw-about-factory-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.3;
    letter-spacing: 0.02em;
    color: var(--ttw-primary);
    margin: 0 0 16px 0;
}

.ttw-about-factory-subtitle {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #3E4850;
    max-width: 672px;
    margin: 0 auto;
}

.ttw-about-factory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1120px;
    margin: 0 auto;
}

.ttw-about-factory-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #E5E7EB;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ttw-about-factory-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.ttw-about-factory-icon {
    display: flex;
    align-items: center;
    min-height: 36px;
}

.ttw-about-factory-icon img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.ttw-about-factory-card-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.4;
    color: #1A1C1C;
    margin: 0;
}

.ttw-about-factory-card-desc {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: #3E4850;
    margin: 0;
}

/* CTA Section */
.ttw-about-cta-section {
    width: 100%;
}

.ttw-about-cta-card {
    max-width: 768px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #E5E7EB;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.ttw-about-cta-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.3;
    color: var(--ttw-primary);
    margin: 0;
    text-transform: uppercase;
}

.ttw-about-cta-desc {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #3E4850;
    margin: 0;
    max-width: 620px;
}

.ttw-about-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--ttw-white) 0%, #F3F4F6 100%);
    border: 1px solid #4B5563;
    border-radius: 2px;
    padding: 16px 32px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #121C2A;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.ttw-about-cta-btn:hover {
    background: var(--ttw-primary);
    color: var(--ttw-white);
    border-color: var(--ttw-primary);
    box-shadow: 0 4px 14px rgba(0, 101, 145, 0.3);
}

/* Responsive Styles for About Page */
@media (max-width: 1024px) {
    .ttw-about-hero-title {
        font-size: 36px;
    }

    .ttw-about-main {
        gap: 64px;
        padding: 48px 0 64px 0;
    }

    .ttw-about-factory-section {
        padding: 64px 0;
    }

    .ttw-about-factory-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .ttw-about-hero {
        min-height: 380px;
        height: auto;
        padding: 80px 0 48px;
    }

    .ttw-about-hero-card {
        padding: 32px 20px;
    }

    .ttw-about-hero-title {
        font-size: 28px;
    }

    .ttw-about-hero-subtitle {
        font-size: 15px;
    }

    .ttw-about-main {
        gap: 48px;
        padding: 36px 0 48px 0;
    }

    .ttw-about-intro-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ttw-about-intro-title {
        font-size: 24px;
    }

    .ttw-about-factory-section {
        padding: 48px 0;
    }

    .ttw-about-factory-header {
        margin-bottom: 32px;
    }

    .ttw-about-factory-title {
        font-size: 24px;
    }

    .ttw-about-factory-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ttw-about-cta-card {
        padding: 32px 20px;
    }

    .ttw-about-cta-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .ttw-about-hero-title {
        font-size: 24px;
    }

    .ttw-about-intro-stats {
        flex-direction: column;
        gap: 16px;
    }

    .ttw-about-intro-stat+.ttw-about-intro-stat {
        border-left: none;
        border-top: 1px solid #BEC8D2;
        padding-left: 0;
        padding-top: 16px;
    }
}

/* ==========================================================================
   21. Animations cho Trang Sản Phẩm (san-pham-2)
   ========================================================================== */
@keyframes ttwFadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ttwFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes ttwPulseGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 101, 145, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(0, 101, 145, 0);
    }
}

/* Áp dụng hiệu ứng xuất hiện cho các phần tử chính */
.ttw-products-hero .ttw-products-title {
    animation: ttwFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ttw-products-hero .ttw-products-subtitle {
    animation: ttwFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.ttw-category-nav {
    animation: ttwFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* Staggered Animation hiệu ứng xuất hiện lần lượt cho từng thẻ bài Bento */
.ttw-product-grid .ttw-card-bento {
    animation: ttwFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ttw-product-grid .ttw-card-bento:nth-child(1) {
    animation-delay: 0.1s;
}

.ttw-product-grid .ttw-card-bento:nth-child(2) {
    animation-delay: 0.2s;
}

.ttw-product-grid .ttw-card-bento:nth-child(3) {
    animation-delay: 0.3s;
}

.ttw-product-grid .ttw-card-bento:nth-child(4) {
    animation-delay: 0.4s;
}

.ttw-product-grid .ttw-card-bento:nth-child(5) {
    animation-delay: 0.5s;
}

.ttw-product-grid .ttw-card-bento:nth-child(6) {
    animation-delay: 0.6s;
}

.ttw-product-grid .ttw-card-bento:nth-child(7) {
    animation-delay: 0.7s;
}

.ttw-product-grid .ttw-card-bento:nth-child(8) {
    animation-delay: 0.8s;
}

.ttw-product-grid .ttw-card-bento:nth-child(9) {
    animation-delay: 0.9s;
}

.ttw-product-grid .ttw-card-bento:nth-child(n+10) {
    animation-delay: 1.0s;
}

/* Nút chuyển trang có hiệu ứng FadeIn nhẹ nhàng */
.ttw-pagination-figma {
    animation: ttwFadeIn 0.8s ease 0.6s both;
}

/* Hiệu ứng tương tác Hover sinh động trên thẻ bài Bento */
.ttw-card-bento {
    will-change: transform, box-shadow;
}

.ttw-card-bento:hover .ttw-card-action {
    color: var(--ttw-primary);
}

.ttw-card-bento:hover .ttw-card-arrow {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

.ttw-card-arrow {
    transition: transform 0.3s ease;
}

/* ==========================================================================
   22. Animations cho Trang Giới Thiệu (gioi-thieu-ve-tan-tien-window)
   ========================================================================== */
.ttw-about-hero-card {
    animation: ttwFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ttw-about-hero-title {
    animation: ttwFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.ttw-about-hero-subtitle {
    animation: ttwFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* Section Giới thiệu tổng quan */
.ttw-about-intro-grid {
    animation: ttwFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.ttw-about-intro-stat {
    transition: transform 0.3s ease, color 0.3s ease;
}

.ttw-about-intro-stat:hover {
    transform: translateY(-4px);
}

.ttw-about-intro-stat-num {
    transition: color 0.3s ease, transform 0.3s ease;
}

.ttw-about-intro-stat:hover .ttw-about-intro-stat-num {
    color: var(--ttw-primary);
    transform: scale(1.05);
}

/* Section Xưởng sản xuất (Factory Grid) */
.ttw-about-factory-header {
    animation: ttwFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ttw-about-factory-card {
    animation: ttwFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.ttw-about-factory-card:nth-child(1) {
    animation-delay: 0.1s;
}

.ttw-about-factory-card:nth-child(2) {
    animation-delay: 0.25s;
}

.ttw-about-factory-card:nth-child(3) {
    animation-delay: 0.4s;
}

.ttw-about-factory-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.ttw-about-factory-thumb img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.ttw-about-factory-card:hover .ttw-about-factory-thumb img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

/* Section Khối Kêu Gọi Hành Động (CTA Box) */
.ttw-about-cta-card {
    animation: ttwFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ttw-about-cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 101, 145, 0.12);
}

.ttw-about-cta-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 101, 145, 0.35);
}

/* ==========================================================================
   17. Quotation Page (/bao-gia/) - Tân Tiến Window (Figma Node 1:2211)
   ========================================================================== */

/* 17.1 Hero Section */
.archive .ttw-main .page-title {
    display: none;
}

.archive .ttw-content-area {
    margin-top: 50px;
}

.ttw-quote-hero {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 64px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: ttwQuoteFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.ttw-quote-hero-title {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ttw-primary);
    margin: 0;
    text-align: center;
}

.ttw-quote-hero-desc {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #585F6A;
    margin: 0;
    text-align: center;
    max-width: 780px;
}

/* 17.1.1 Khoảng cách phân cách rộng rãi giữa các section */
.ttw-quote-components-section,
.ttw-quote-formula-section,
.ttw-quote-tables-section,
.ttw-quote-samples-section,
.ttw-quote-contact-section {
    margin-bottom: 64px !important;
}

@media (min-width: 1024px) {
    .ttw-quote-hero {
        margin-bottom: 80px !important;
    }

    .ttw-quote-components-section,
    .ttw-quote-formula-section,
    .ttw-quote-tables-section,
    .ttw-quote-samples-section,
    .ttw-quote-contact-section {
        margin-bottom: 80px !important;
    }
}

/* 17.1.2 Entrance Scroll & Load Animations */
@keyframes ttwQuoteFadeUp {
    0% {
        opacity: 0;
        transform: translateY(32px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.ttw-quote-components-section {
    animation: ttwQuoteFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.ttw-quote-components-grid .ttw-component-card:nth-child(1) {
    animation: ttwQuoteFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.ttw-quote-components-grid .ttw-component-card:nth-child(2) {
    animation: ttwQuoteFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.ttw-quote-components-grid .ttw-component-card:nth-child(3) {
    animation: ttwQuoteFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.ttw-quote-components-grid .ttw-component-card:nth-child(4) {
    animation: ttwQuoteFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.ttw-quote-components-grid .ttw-component-card:nth-child(5) {
    animation: ttwQuoteFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

.ttw-quote-components-grid .ttw-component-card:nth-child(6) {
    animation: ttwQuoteFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.75s both;
}

.ttw-quote-formula-section {
    animation: ttwQuoteFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.ttw-quote-tables-section {
    animation: ttwQuoteFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.ttw-quote-samples-section {

    animation: ttwQuoteFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.ttw-quote-sample-grid .ttw-quote-sample-card:nth-child(1) {
    animation: ttwQuoteFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.ttw-quote-sample-grid .ttw-quote-sample-card:nth-child(2) {
    animation: ttwQuoteFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

.ttw-quote-sample-grid .ttw-quote-sample-card:nth-child(3) {
    animation: ttwQuoteFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.ttw-quote-sample-grid .ttw-quote-sample-card:nth-child(4) {
    animation: ttwQuoteFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}

.ttw-quote-contact-section {
    animation: ttwQuoteFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

.ttw-quote-suggested-section {
    animation: ttwQuoteFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.75s both;
}

.ttw-quote-suggested-section .ttw-card-bento {
    animation: ttwQuoteFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ttw-quote-suggested-section .ttw-card-bento:nth-child(1) {
    animation-delay: 0.8s;
}

.ttw-quote-suggested-section .ttw-card-bento:nth-child(2) {
    animation-delay: 0.9s;
}

.ttw-quote-suggested-section .ttw-card-bento:nth-child(3) {
    animation-delay: 1.0s;
}

.ttw-quote-suggested-section .ttw-card-bento:nth-child(4) {
    animation-delay: 1.05s;
}

.ttw-quote-suggested-section .ttw-card-bento:nth-child(5) {
    animation-delay: 1.1s;
}

.ttw-quote-suggested-section .ttw-card-bento:nth-child(6) {
    animation-delay: 1.15s;
}

.ttw-quote-suggested-section .ttw-card-bento:nth-child(7) {
    animation-delay: 1.2s;
}

.ttw-quote-suggested-section .ttw-card-bento:nth-child(8) {
    animation-delay: 1.25s;
}

.ttw-quote-suggested-section .ttw-card-bento:nth-child(9) {
    animation-delay: 1.3s;
}


/* 17.2 Product Category Selection Bento Cards */
.ttw-quote-category-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ttw-quote-section-title {
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1A1C1C;
    text-align: center;
    margin: 0;
}

.ttw-quote-category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .ttw-quote-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ttw-quote-category-card {
    background: var(--ttw-white);
    border: 2px solid rgba(190, 200, 210, 0.5);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.ttw-quote-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 101, 145, 0.12);
    border-color: var(--ttw-primary);
}

.ttw-quote-category-card.ttw-selected {
    border-color: var(--ttw-primary);
    background: var(--ttw-white);
    box-shadow: 0 12px 30px rgba(0, 101, 145, 0.15);
}

.ttw-quote-cat-thumb {
    position: relative;
    width: 100%;
    height: 190px;
    background: #eef2f6;
    overflow: hidden;
}

.ttw-quote-cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ttw-quote-category-card:hover .ttw-quote-cat-thumb img,
.ttw-quote-category-card.ttw-selected .ttw-quote-cat-thumb img {
    transform: scale(1.06);
}

.ttw-quote-cat-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.ttw-quote-cat-title {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1A1C1C;
    margin: 0;
}

.ttw-quote-cat-desc {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #585F6A;
    margin: 0;
}

.ttw-quote-cat-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ttw-primary);
}

.ttw-quote-check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 101, 145, 0.1);
    color: var(--ttw-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, color 0.25s ease;
}

.ttw-quote-category-card.ttw-selected .ttw-quote-check-icon {
    background: var(--ttw-primary);
    color: var(--ttw-white);
}

/* 17.3 Form & Hotline Grid */
.ttw-quote-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 992px) {
    .ttw-quote-main-grid {
        grid-template-columns: 2fr 1fr;
        gap: 40px;
    }
}

.ttw-quote-form-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(190, 200, 210, 0.6);
    border-radius: 12px;
    padding: 36px 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
}

@media (min-width: 640px) {
    .ttw-quote-form-card {
        padding: 44px 40px;
    }
}

.ttw-quote-form-title {
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1A1C1C;
    margin: 0 0 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(190, 200, 210, 0.4);
}

.ttw-quote-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.ttw-quote-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

@media (min-width: 640px) {
    .ttw-quote-form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.ttw-quote-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ttw-quote-field label {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #3E4850;
}

.ttw-quote-field label span {
    color: #DC2626;
}

.ttw-quote-field input,
.ttw-quote-field select,
.ttw-quote-field textarea {
    width: 100%;
    padding: 12px 16px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: #1A1C1C;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.ttw-quote-field input:focus,
.ttw-quote-field select:focus,
.ttw-quote-field textarea:focus {
    background: var(--ttw-white);
    border-color: var(--ttw-primary);
    box-shadow: 0 0 0 3px rgba(0, 101, 145, 0.12);
}

/* 17.3 Thành Phần Cấu Thành Bộ Cửa Bento Grid */
.ttw-quote-components-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ttw-quote-section-head {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.ttw-quote-section-subtitle {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #585F6A;
    margin: 8px 0 0;
}

.ttw-quote-components-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .ttw-quote-components-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ttw-quote-components-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ttw-component-card {
    background: var(--ttw-white);
    border: 1px solid rgba(190, 200, 210, 0.5);
    border-radius: 12px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
}

.ttw-component-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 101, 145, 0.1);
    border-color: var(--ttw-primary);
}

.ttw-component-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0, 101, 145, 0.08);
    color: var(--ttw-primary);
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    transition: background 0.3s ease, color 0.3s ease;
}

.ttw-component-card:hover .ttw-component-icon {
    background: var(--ttw-primary);
    color: var(--ttw-white);
}

.ttw-component-card h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #1A1C1C;
    margin: 0;
}

.ttw-component-card p {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #585F6A;
    margin: 0;
}

/* 17.4 Công Thức Tính Giá */
.ttw-quote-formula-section {
    display: flex;
    flex-direction: column;
}

.ttw-formula-box {
    background: linear-gradient(135deg, var(--ttw-primary) 0%, #004563 100%);
    border-radius: 16px;
    padding: 40px 32px;
    color: var(--ttw-white);
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 12px 36px rgba(0, 101, 145, 0.2);
}

@media (min-width: 768px) {
    .ttw-formula-box {
        padding: 48px 44px;
    }
}

.ttw-formula-badge {
    align-self: flex-start;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ttw-white);
}

.ttw-formula-title {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 700;
    line-height: 1.35;
    color: var(--ttw-white);
    margin: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ttw-formula-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .ttw-formula-details-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ttw-formula-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.ttw-formula-item strong {
    font-size: 15px;
    color: var(--ttw-white);
}

.ttw-formula-item span {
    color: rgba(255, 255, 255, 0.85);
}

.ttw-formula-example {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ttw-example-tag {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #7DD3FC;
}

.ttw-formula-example p {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: var(--ttw-white);
    margin: 0;
}

.ttw-formula-example strong {
    color: var(--ttw-white);
}

/* 17.5 Pricing Tables Section */
.ttw-quote-tables-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ttw-quote-table-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.ttw-quote-table-title {
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1A1C1C;
    margin: 0 0 10px;
}

.ttw-quote-table-subtitle {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    color: #585F6A;
    margin: 0;
}

.ttw-quote-table-wrap {
    background: var(--ttw-white);
    border: 1px solid rgba(190, 200, 210, 0.6);
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.ttw-price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 780px;
    text-align: left;
}

.ttw-price-table th {
    background: #F1F5F9;
    padding: 16px 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1E293B;
    border-bottom: 2px solid #CBD5E1;
}

.ttw-price-table td {
    padding: 16px 20px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #334155;
    border-bottom: 1px solid #E2E8F0;
    vertical-align: middle;
}

.ttw-price-table tbody tr:hover {
    background: #F8FAFC;
}

.ttw-price-table td.font-bold {
    font-weight: 700;
}

.ttw-price-table td.price-val {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    color: var(--ttw-primary);
    font-size: 15px;
}

/* 17.6 Sample Cards Grid */
.ttw-quote-samples-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ttw-quote-sample-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .ttw-quote-sample-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ttw-quote-sample-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ttw-quote-sample-card {
    background: var(--ttw-white);
    border: 1px solid rgba(190, 200, 210, 0.5);
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ttw-quote-sample-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 101, 145, 0.1);
    border-color: var(--ttw-primary);
}

.ttw-sample-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E2E8F0;
}

.ttw-sample-head h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1A1C1C;
    margin: 0;
}

.ttw-sample-size {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    color: #64748B;
    font-weight: 600;
}

.ttw-sample-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ttw-sample-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: #475569;
}

.ttw-sample-row strong {
    color: #1E293B;
}

.ttw-sample-total {
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px dashed #CBD5E1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #1E293B;
}

.ttw-sample-total .total-price {
    font-size: 16px;
    color: var(--ttw-primary);
}

/* Notes Card */
.ttw-quote-notes-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-left: 4px solid var(--ttw-primary);
    border-radius: 8px;
    padding: 24px 28px;
}

.ttw-quote-notes-card h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 12px;
}

.ttw-quote-notes-card ul {
    margin: 0;
    padding-left: 20px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}

.ttw-quote-notes-card li {
    margin-bottom: 6px;
}

/* 17.7 Hệ Thống Chi Nhánh & Hotline Band */
.ttw-quote-contact-section {
    display: flex;
    flex-direction: column;
}

.ttw-contact-band-card {
    background: var(--ttw-white);
    border: 1px solid rgba(190, 200, 210, 0.6);
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

@media (min-width: 992px) {
    .ttw-contact-band-card {
        grid-template-columns: 1.6fr 1fr;
    }
}

.ttw-contact-band-info {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) {
    .ttw-contact-band-info {
        padding: 48px 44px;
    }
}

.ttw-contact-band-badge {
    align-self: flex-start;
    padding: 4px 12px;
    background: rgba(0, 101, 145, 0.08);
    color: var(--ttw-primary);
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
}

.ttw-contact-band-title {
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1A1C1C;
    margin: 0;
    line-height: 1.35;
}

.ttw-contact-band-desc {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #585F6A;
    margin: 0 0 12px;
}

.ttw-contact-locations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 16px;
    border-top: 1px solid #E2E8F0;
}

@media (min-width: 640px) {
    .ttw-contact-locations-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ttw-location-box.full {
        grid-column: span 2;
    }
}

.ttw-location-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.ttw-loc-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.ttw-location-box strong {
    display: block;
    font-size: 14px;
    color: #1E293B;
    margin-bottom: 2px;
}

.ttw-location-box p {
    color: #64748B;
    margin: 0 0 4px;
}

.ttw-location-box p span {
    color: var(--ttw-primary);
    font-weight: 600;
}

.ttw-loc-phone {
    color: var(--ttw-primary);
    font-weight: 700;
    text-decoration: none;
}

.ttw-loc-phone:hover {
    text-decoration: underline;
}

.ttw-contact-band-action {
    background: linear-gradient(135deg, var(--ttw-primary) 0%, #004563 100%);
    color: var(--ttw-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    text-align: center;
}

.ttw-action-call-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.ttw-action-call-box span {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.ttw-action-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--ttw-white);
    color: var(--ttw-primary);
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.ttw-action-call-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    color: #004d70;
}

.ttw-action-sub-btns {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 280px;
    margin-top: 4px;
}

.ttw-sub-cta-btn {
    flex: 1;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--ttw-white);
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.ttw-sub-cta-btn:hover {
    background: var(--ttw-white);
    color: var(--ttw-primary);
    border-color: var(--ttw-white);
    transform: translateY(-2px);
}

/* 17.8 Suggested Products Section */
.ttw-quote-suggested-section {
    display: flex;
    flex-direction: column;
    margin-top: 16px;
}

.ttw-quote-suggested-action {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.ttw-view-all-products-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--ttw-primary);
    color: var(--ttw-white);
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 101, 145, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ttw-view-all-products-btn:hover {
    background: #004d70;
    color: var(--ttw-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 101, 145, 0.35);
}

.ttw-view-all-products-btn svg {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ttw-view-all-products-btn:hover svg {
    transform: translateX(4px);
}

.container .row-small:not(.row-collapse),
.row .row-small:not(.row-collapse) {
    margin: 0;
}

/* ==========================================================================
   26. Culture Page (/ban-sac-van-hoa/) - Luxury Bento Grid Architecture
   ========================================================================== */
.ttw-culture-page {
    background-color: #F8FAFC;
    color: #1E293B;
    padding-bottom: 100px;
    min-height: 100vh;
}

/* 26.1 Hero Header */
.ttw-culture-hero {
    position: relative;
    padding: 130px 20px 100px;
    background: linear-gradient(135deg, #061524 0%, #0B1926 50%, #08283B 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    text-align: center;
}

.ttw-culture-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 35%, rgba(0, 166, 235, 0.25) 0%, rgba(11, 25, 38, 0.95) 80%);
    pointer-events: none;
}

.ttw-culture-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ttw-culture-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 20px;
    background: rgba(0, 101, 145, 0.45);
    border: 1px solid rgba(94, 208, 250, 0.4);
    color: #7DD3FC;
    font-family: "Montserrat", sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: 9999px;
    margin-bottom: 18px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.ttw-culture-hero-title {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(32px, 5vw, 50px);
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin: 0 0 14px 0;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.ttw-culture-hero-desc {
    font-family: "Inter", sans-serif;
    font-size: clamp(15px, 2vw, 17.5px);
    color: #E2E8F0;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto;
    font-weight: 400;
}

/* 26.2 Container Architecture */
.ttw-culture-container {
    margin-top: -45px;
    position: relative;
    z-index: 3;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    gap: 44px;
}


/* 26.3 Base Culture Card */
.ttw-culture-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 52px 58px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.9);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ttw-culture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #006591, #00A6EB, #7DD3FC);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.ttw-culture-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 101, 145, 0.1);
    border-color: rgba(0, 101, 145, 0.25);
}

.ttw-culture-card:hover::before {
    opacity: 1;
}

/* Section Head Component */
.ttw-culture-section-head {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 36px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ttw-culture-sec-tag {
    font-family: "Montserrat", sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #006591;
    background: rgba(0, 101, 145, 0.08);
    padding: 5px 14px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.ttw-culture-sec-title {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(22px, 3.2vw, 28px);
    font-weight: 800;
    color: #1A1C1C;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 14px 0;
    line-height: 1.35;
}

.ttw-culture-title-bar {
    width: 60px;
    height: 3.5px;
    background: linear-gradient(90deg, #006591, #00A6EB);
    border-radius: 4px;
    margin: 0 auto;
}

.ttw-culture-sec-desc {
    font-family: "Inter", sans-serif;
    font-size: 15.5px;
    line-height: 1.7;
    color: #585F6A;
    margin: 16px 0 0 0;
    max-width: 780px;
}

/* 26.4 Section 2: Intro (Lịch sử hình thành - Bento Luxury Layout) */
.ttw-history-top-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.ttw-history-lead-p {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: #1E293B;
    line-height: 1.8;
    margin-bottom: 20px;
}

.ttw-history-mission-card {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border: 1px solid #BAE6FD;
    border-left: 4px solid #006591;
    border-radius: 0 16px 16px 0;
    padding: 22px 24px;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 101, 145, 0.06);
}

.ttw-mission-badge {
    display: inline-block;
    padding: 3px 10px;
    background: #006591;
    color: #FFFFFF;
    font-family: "Montserrat", sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 10px;
}

.ttw-mission-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ttw-mission-icon {
    font-size: 20px;
    line-height: 1.4;
    flex-shrink: 0;
}

.ttw-mission-content p {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #0369A1;
    margin: 0;
}

.ttw-history-media-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ttw-history-img-frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(226, 232, 240, 0.8);
    aspect-ratio: 4/3;
    background: #0B1926;
}

.ttw-history-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
    transform: scale(1.16);
    /* Zoom 16% cắt bỏ hoàn toàn 100% viền xanh lá trên và dưới */
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.ttw-history-img-frame:hover img {
    transform: scale(1.22);
}

.ttw-history-img-overlay {
    display: none;
}

.ttw-history-img-badge {
    position: static;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.ttw-badge-tag {
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #006591;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(0, 101, 145, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
}

.ttw-badge-title {
    font-family: "Montserrat", sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #1E293B;
}


/* 26.4.1 Bottom Focus Box & Grid (3 Điểm Chú Trọng) */
.ttw-history-focus-wrap {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 36px 32px;
}

.ttw-focus-header {
    text-align: center;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ttw-focus-tag {
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #006591;
    background: rgba(0, 101, 145, 0.08);
    padding: 4px 12px;
    border-radius: 9999px;
}

.ttw-focus-header h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 17.5px;
    font-weight: 700;
    color: #1A1C1C;
    margin: 0;
}

.ttw-history-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.ttw-focus-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 24px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ttw-focus-card:hover {
    transform: translateY(-4px);
    border-color: #006591;
    box-shadow: 0 12px 28px rgba(0, 101, 145, 0.1);
}

.ttw-focus-card.highlight {
    background: linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 100%);
    border-color: #BAE6FD;
}

.ttw-focus-icon-wrap {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #006591 0%, #0084BD 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 101, 145, 0.25);
    transition: transform 0.3s ease;
}

.ttw-focus-card:hover .ttw-focus-icon-wrap {
    transform: scale(1.1);
}

.ttw-focus-num {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #FFFFFF;
}

.ttw-focus-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ttw-focus-content h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #006591;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
}

.ttw-focus-content p {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: #1E293B;
    margin: 0;
}

/* Summary Box */
.ttw-history-summary-box {
    background: linear-gradient(135deg, #006591 0%, #004d70 100%);
    border-radius: 12px;
    padding: 18px 24px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 6px 20px rgba(0, 101, 145, 0.2);
}

.ttw-summary-star {
    font-size: 22px;
    color: #FBBF24;
    flex-shrink: 0;
    line-height: 1;
}

.ttw-history-summary-box p {
    font-family: "Inter", sans-serif;
    font-size: 14.5px;
    line-height: 1.65;
    color: #F1F5F9;
    margin: 0;
}

.ttw-history-summary-box strong {
    color: #FFFFFF;
}


/* 26.5 Section 3: Nền Tảng Văn Hóa Doanh Nghiệp (4 Cột Trụ) */
.ttw-foundation-pillars-wrap {
    margin: 24px 0 36px 0;
}

.ttw-foundation-pillars-head h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #006591;
    margin: 0 0 20px 0;
    text-align: center;
}

.ttw-foundation-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ttw-foundation-pillar-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 26px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ttw-foundation-pillar-card:hover {
    background: #FFFFFF;
    border-color: #006591;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 101, 145, 0.1);
}

.ttw-pillar-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #006591 0%, #0084BD 100%);
    border-radius: 10px;
    color: #FFFFFF;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 101, 145, 0.2);
}

.ttw-foundation-pillar-card p {
    font-family: "Montserrat", sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #1E293B;
    margin: 0;
    line-height: 1.45;
}

.ttw-foundation-target-box {
    background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%);
    border: 1px solid #BAE6FD;
    border-radius: 14px;
    padding: 28px 32px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 101, 145, 0.05);
}

.ttw-target-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.ttw-target-content p {
    font-size: 15.5px;
    line-height: 1.8;
    color: #1E293B;
    margin: 0 0 10px 0;
}

.ttw-target-content .ttw-target-subtext {
    font-size: 14.5px;
    color: #475569;
    margin: 0;
}

/* 26.6 Section 4: Nét Đặc Trưng Trong Văn Hóa (3 Feature Rows) */
.ttw-feature-blocks-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ttw-feature-row {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 30px 32px;
    transition: all 0.3s ease;
}

.ttw-feature-row:hover {
    background: #FFFFFF;
    border-color: #006591;
    box-shadow: 0 12px 32px rgba(0, 101, 145, 0.08);
}

.ttw-feature-header-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 101, 145, 0.12);
}

.ttw-feature-check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #006591;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ttw-feature-header-badge h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #006591;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0;
}

.ttw-feature-subcards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.ttw-feature-subcard {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}

.ttw-feature-row:hover .ttw-feature-subcard {
    background: #F0F9FF;
    border-color: #BAE6FD;
}

.ttw-feature-subcard:hover {
    background: #FFFFFF !important;
    border-color: #006591 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 101, 145, 0.1);
}

.ttw-subcard-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #006591;
    margin-top: 7px;
    flex-shrink: 0;
}

.ttw-feature-subcard p {
    font-family: "Inter", sans-serif;
    font-size: 14.5px;
    line-height: 1.65;
    color: #334155;
    margin: 0;
}

/* 26.7 Section 5: Ban Quản Trị Cam Kết */
.ttw-mgmt-commit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ttw-mgmt-commit-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ttw-mgmt-commit-card:hover {
    background: #FFFFFF;
    border-color: #006591;
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 101, 145, 0.12);
}

.ttw-mgmt-commit-card.highlight {
    background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%);
    border-color: #7DD3FC;
    box-shadow: 0 6px 20px rgba(0, 101, 145, 0.08);
}

.ttw-commit-check {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #006591 0%, #0084BD 100%);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 101, 145, 0.28);
    transition: transform 0.3s ease;
}

.ttw-mgmt-commit-card:hover .ttw-commit-check {
    transform: scale(1.15);
}

.ttw-mgmt-commit-card h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 16.5px;
    font-weight: 700;
    color: #1A1C1C;
    line-height: 1.45;
    margin: 0;
}


/* 26.8 Section 6: Contact Band Card */
.ttw-culture-contact-band {
    background: linear-gradient(135deg, #006591 0%, #004563 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 101, 145, 0.25);
    color: #FFFFFF;
}

.ttw-contact-band-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
}

.ttw-contact-text-col {
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ttw-contact-badge {
    align-self: flex-start;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #FFFFFF;
}

.ttw-contact-main-title {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(22px, 3vw, 26px);
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.35;
}

.ttw-contact-sub-p {
    font-family: "Inter", sans-serif;
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 10px 0;
}

.ttw-contact-meta-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.ttw-contact-meta-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: "Inter", sans-serif;
    font-size: 14.5px;
    color: #FFFFFF;
}

.ttw-meta-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #7DD3FC;
    transition: all 0.25s ease;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
}

/* Icon nhúng CSS trực tiếp đảm bảo không bao giờ bị mất hoặc vỡ */
.ttw-contact-meta-item:nth-child(1) .ttw-meta-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237DD3FC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E");
}

.ttw-contact-meta-item:nth-child(2) .ttw-meta-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237DD3FC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E");
}

.ttw-contact-meta-item:nth-child(3) .ttw-meta-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237DD3FC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='2' y1='12' x2='22' y2='12'%3E%3C/line%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'%3E%3C/path%3E%3C/svg%3E");
}

.ttw-contact-meta-item:hover .ttw-meta-icon {
    background-color: #00A6EB;
    border-color: #00A6EB;
    transform: scale(1.08);
}

.ttw-meta-text {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}

.ttw-contact-meta-item strong {
    font-weight: 700;
    color: #7DD3FC;
}

.ttw-contact-meta-item span {
    color: #F1F5F9;
}

.ttw-contact-meta-item a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.ttw-contact-meta-item a:hover {
    color: #7DD3FC;
    text-decoration: underline;
}


.ttw-contact-action-col {
    background: rgba(0, 0, 0, 0.12);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 40px;
}

.ttw-contact-cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 320px;
    text-align: center;
}

.ttw-cta-hotline-label {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7DD3FC;
}

.ttw-cta-phone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: #FFFFFF;
    color: #006591 !important;
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    width: 100%;
}

.ttw-cta-phone-btn::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23006591' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E") no-repeat center / contain;
    flex-shrink: 0;
}

.ttw-cta-phone-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    color: #004d70 !important;
}

.ttw-cta-subphone {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.ttw-cta-social-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
}

.ttw-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF !important;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none !important;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.ttw-social-btn.fb::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E") no-repeat center / contain;
    flex-shrink: 0;
    transition: filter 0.25s ease;
}

.ttw-social-btn.zalo::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E") no-repeat center / contain;
    flex-shrink: 0;
    transition: filter 0.25s ease;
}

.ttw-social-btn:hover {
    background: #FFFFFF;
    color: #006591 !important;
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.ttw-social-btn.fb:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%23006591'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E");
}

.ttw-social-btn.zalo:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23006591' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E");
}



/* 26.8 Section 6: Products Showcase Grid on Culture Page */
.ttw-culture-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.ttw-culture-products-action {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.ttw-culture-all-prods-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    background: #006591;
    color: #FFFFFF !important;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 101, 145, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ttw-culture-all-prods-btn:hover {
    background: #004d70;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 101, 145, 0.35);
}

.ttw-culture-all-prods-btn svg {
    transition: transform 0.3s ease;
}

.ttw-culture-all-prods-btn:hover svg {
    transform: translateX(4px);
}

/* 26.9 Responsive Media Queries */
@media (max-width: 1024px) {
    .ttw-history-top-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ttw-history-focus-grid {
        grid-template-columns: 1fr;
    }

    .ttw-culture-intro-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .ttw-culture-pillars-grid {
        grid-template-columns: 1fr;
    }

    .ttw-foundation-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ttw-culture-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ttw-mgmt-commit-grid {
        grid-template-columns: 1fr;
    }

    .ttw-contact-band-inner {
        grid-template-columns: 1fr;
    }

    .ttw-contact-action-col {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }
}

@media (max-width: 768px) {
    .ttw-culture-card {
        padding: 36px 20px;
        border-radius: 16px;
    }

    .ttw-history-top-grid {
        gap: 24px;
        margin-bottom: 28px;
    }

    .ttw-history-focus-wrap {
        padding: 24px 16px;
    }

    .ttw-history-summary-box {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .ttw-culture-core-grid {
        grid-template-columns: 1fr;
    }

    .ttw-feature-subcards-grid {
        grid-template-columns: 1fr;
    }

    .ttw-foundation-pillars-grid {
        grid-template-columns: 1fr;
    }

    .ttw-culture-products-grid {
        grid-template-columns: 1fr;
    }

    .ttw-contact-text-col {
        padding: 36px 20px;
    }

    .ttw-contact-action-col {
        padding: 36px 20px;
    }
}

/* ==========================================================================
   27. Warranty Policy Page (/quy-dinh-bao-hanh/) - Luxury Bento Grid
   ========================================================================== */
.ttw-warranty-page {
    background-color: #F8FAFC;
    color: #1E293B;
    padding-bottom: 100px;
    min-height: 100vh;
}

/* 27.1 Hero Header */
.ttw-warranty-hero {
    position: relative;
    padding: 120px 20px 90px;
    background: linear-gradient(135deg, #071927 0%, #0B1926 50%, #0E2E42 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    text-align: center;
}

.ttw-warranty-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(0, 166, 235, 0.22) 0%, rgba(11, 25, 38, 0.95) 80%);
    pointer-events: none;
}

.ttw-warranty-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ttw-warranty-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 20px;
    background: rgba(0, 101, 145, 0.45);
    border: 1px solid rgba(94, 208, 250, 0.4);
    color: #7DD3FC;
    font-family: "Montserrat", sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: 9999px;
    margin-bottom: 18px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.ttw-warranty-hero-title {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.02em;
    line-height: 1.25;
    margin: 0 0 14px 0;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.ttw-warranty-hero-subtitle {
    font-family: "Inter", sans-serif;
    font-size: clamp(15px, 2vw, 17px);
    color: #E2E8F0;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto;
    font-weight: 400;
}

/* 27.2 Container */
.ttw-warranty-container {
    margin-top: -45px;
    position: relative;
    z-index: 3;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

/* 27.3 Base Bento Card */
.ttw-wcard {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.9);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.ttw-wcard:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(0, 101, 145, 0.08);
    border-color: rgba(0, 101, 145, 0.25);
}

.ttw-wcard.alert-border {
    border-left: 4px solid #EF4444;
}

.ttw-wcard-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.ttw-wcard-head.center {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 12px;
}

.ttw-wcard-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 101, 145, 0.08);
    border: 1px solid rgba(0, 101, 145, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.ttw-wcard-icon.red {
    background: #FEF2F2;
    border-color: #FECACA;
}

.ttw-wcard-step {
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #006591;
    display: block;
    margin-bottom: 4px;
}

.ttw-wcard-step.red {
    color: #EF4444;
}

.ttw-wcard-title {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 800;
    color: #1A1C1C;
    margin: 0;
    line-height: 1.35;
    text-transform: uppercase;
}

.ttw-wcard-lead {
    font-family: "Inter", sans-serif;
    font-size: 15.5px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 20px;
}

/* 27.4 Grid 2 Columns */
.ttw-warranty-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.ttw-wcard-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ttw-wcard-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #334155;
}

.ttw-check-pill {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #006591;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Scope Tags */
.ttw-scope-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ttw-tag-item {
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 9px 14px;
    font-family: "Inter", sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #1E293B;
    transition: all 0.25s ease;
}

.ttw-tag-item:hover {
    background: #E0F2FE;
    border-color: #BAE6FD;
    color: #0369A1;
    transform: translateY(-2px);
}

/* 27.5 Table Bento */
.ttw-table-responsive {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    margin-bottom: 24px;
}

.ttw-warranty-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Inter", sans-serif;
    font-size: 14.5px;
    text-align: left;
}

.ttw-warranty-table thead th {
    background: #F8FAFC;
    color: #0F172A;
    font-family: "Montserrat", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 16px 20px;
    border-bottom: 2px solid #E2E8F0;
}

.ttw-warranty-table tbody td {
    padding: 18px 20px;
    border-bottom: 1px solid #F1F5F9;
    color: #334155;
    vertical-align: middle;
}

.ttw-warranty-table tbody tr:hover td {
    background: #F8FAFC;
}

.ttw-tbl-prod {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ttw-tbl-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #006591;
    flex-shrink: 0;
}

.ttw-time-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 9999px;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.ttw-time-badge.blue {
    background: #E0F2FE;
    color: #0369A1;
    border: 1px solid #BAE6FD;
}

.ttw-time-badge.amber {
    background: #FEF3C7;
    color: #B45309;
    border: 1px solid #FDE68A;
}

.ttw-time-badge.slate {
    background: #F1F5F9;
    color: #475569;
    border: 1px solid #E2E8F0;
}

/* Giao diện Mobile Cards cho Bảng bảo hành */
.ttw-warranty-mobile-cards {
    display: none;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.ttw-wmobile-item {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ttw-wmobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ttw-wmobile-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
}

.ttw-wmobile-desc {
    font-family: "Inter", sans-serif;
    font-size: 13.5px;
    line-height: 1.55;
    color: #64748B;
    margin: 0;
}

@media (max-width: 768px) {
    .ttw-table-desktop-wrap {
        display: none !important;
    }

    .ttw-warranty-mobile-cards {
        display: flex !important;
    }
}


.ttw-wcard-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 12px;
    padding: 14px 18px;
}

.ttw-note-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.ttw-wcard-note p {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #166534;
}

/* 27.6 Guide Grid */
.ttw-guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ttw-guide-item {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.ttw-guide-num {
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #006591;
    background: rgba(0, 101, 145, 0.1);
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ttw-guide-item h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.ttw-guide-item p {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    line-height: 1.55;
    color: #64748B;
    margin: 0;
}

/* 27.7 Duty Boxes */
.ttw-duty-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
}

.ttw-duty-box:last-child {
    margin-bottom: 0;
}

.ttw-duty-box.ttw-brand-box {
    background: #F0F9FF;
    border-color: #BAE6FD;
}

.ttw-duty-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.ttw-duty-pill {
    font-family: "Montserrat", sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 6px;
}

.ttw-duty-pill.customer {
    background: #E2E8F0;
    color: #334155;
}

.ttw-duty-pill.ttw {
    background: #006591;
    color: #FFFFFF;
}

.ttw-duty-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}

/* 27.8 Exclude List */
.ttw-exclude-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ttw-exclude-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: "Inter", sans-serif;
    font-size: 14.5px;
    line-height: 1.65;
    color: #475569;
}

.ttw-cross-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FEE2E2;
    color: #DC2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 2px;
}

/* 27.9 Verify Grid */
.ttw-verify-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ttw-verify-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 16px;
}

.ttw-vicon {
    font-size: 24px;
    flex-shrink: 0;
}

.ttw-verify-item strong {
    font-family: "Montserrat", sans-serif;
    font-size: 14.5px;
    color: #0F172A;
    display: block;
    margin-bottom: 4px;
}

.ttw-verify-item p {
    font-family: "Inter", sans-serif;
    font-size: 13.5px;
    line-height: 1.55;
    color: #64748B;
    margin: 0;
}

/* 27.10 Responsive Warranty */
@media (max-width: 1024px) {
    .ttw-warranty-grid-2col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ttw-wcard {
        padding: 28px 18px;
    }

    .ttw-guide-grid {
        grid-template-columns: 1fr;
    }
}

/* 27.11 UX Builder Specific Overrides */
.uxb-content .ttw-warranty-page,
.ux-builder-active .ttw-warranty-page,
.uxb-content .ttw-culture-page,
.ux-builder-active .ttw-culture-page {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.uxb-content .ttw-warranty-container,
.ux-builder-active .ttw-warranty-container {
    max-width: 1160px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: 100% !important;
}

/* Ép 2 cột bằng cả CSS Grid lẫn Flexbox song hành */
.ttw-warranty-grid-2col,
.uxb-content .ttw-warranty-grid-2col,
.ux-builder-active .ttw-warranty-grid-2col,
.ux-builder-active .ttw-warranty-page .ttw-warranty-grid-2col,
.ttw-warranty-page .ttw-warranty-grid-2col {
    display: flex !important;
    flex-wrap: wrap !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important;
    width: 100% !important;
}

.ttw-warranty-grid-2col>.ttw-wcard,
.ux-builder-active .ttw-warranty-grid-2col>.ttw-wcard,
.ttw-warranty-page .ttw-warranty-grid-2col>.ttw-wcard {
    flex: 1 1 calc(50% - 14px) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Triệt tiêu ảnh hưởng của thẻ <p> tự động sinh ra bởi trình soạn thảo WYSIWYG / UX Builder */
.ttw-warranty-grid-2col > p:empty,
.ttw-warranty-page p:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ttw-warranty-grid-2col > p {
    margin: 0 !important;
    padding: 0 !important;
    display: contents !important;
}

@media (max-width: 1024px) {
    .ttw-warranty-grid-2col,
    .uxb-content .ttw-warranty-grid-2col,
    .ux-builder-active .ttw-warranty-grid-2col,
    .ux-builder-active .ttw-warranty-page .ttw-warranty-grid-2col,
    .ttw-warranty-page .ttw-warranty-grid-2col {
        grid-template-columns: 1fr !important;
    }

    .ttw-warranty-grid-2col > .ttw-wcard,
    .ux-builder-active .ttw-warranty-grid-2col > .ttw-wcard,
    .ttw-warranty-page .ttw-warranty-grid-2col > .ttw-wcard {
        flex: 1 1 100% !important;
    }
}