/* =========================================================================
   HỆ THỐNG CSS TOÀN DIỆN VÀ ĐÁP ỨNG RESPONSIVE - SƠN MINH PHÁT
   ========================================================================= */

/* --- 1. Reset cơ bản & Chống tràn màn hình --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    overflow-x: hidden; /* Chặn tuyệt đối hiện tượng cuộn ngang vỡ viền */
}

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

ul {
    list-style: none;
}

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

/* ==========================================================================
   THÀNH PHẦN ĐIỀU HƯỚNG CHÍNH (HEADER) - MẶC ĐỊNH (DESKTOP)
   ========================================================================== */

#header-placeholder {
    position: sticky;      /* Khung cha dính lại sát mép màn hình */
    top: 0;                /* Vị trí sát mép trên */
    z-index: 999;          /* Nổi lên trên tất cả các thành phần slider, ảnh */
    width: 100%;           /* Đảm bảo chiếm trọn chiều ngang */
    background-color: #fff; /* Nền trắng che phần cuộn bên dưới */
}

.main-header {
    background: linear-gradient(to bottom, #bae6fd 0%, #e0f2fe 60%, #fff 100%);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border-bottom: 1px solid #f0f0f0;
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 6px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-area {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

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

/* Thao tác bọc thẻ A text mục và nút Arrow tránh lỗi click lệch trên điện thoại */
.menu-item-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

/* Biểu tượng mũi tên thả xuống tự dựng bằng CSS pseudo-element border */
.menu-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
    user-select: none;
    position: relative;
    margin-left: 8px;
    flex-shrink: 0; /* Không cho thu nhỏ ép dẹp mũi tên */
}

.menu-arrow::after {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-right: 1px solid #032b53;
    border-bottom: 1px solid #032b53;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), border-color 0.3s ease;
}

/* Mặc định ẩn tất cả các cấp menu thả xuống */
.dropdown-menu, .submenu {
    display: none !important;
}

/* Menu định dạng khối giữa của header */
.nav-menu {
    flex-grow: 1;
    text-align: center;
    padding: 0 30px;
}

.nav-menu > ul {
    display: inline-flex;
    align-items: center;
}

.nav-menu > ul > li {
    position: relative;
    margin: 0 14px;
}

.nav-menu > ul > li a {
    font-weight: bold;
    font-size: 14.5px;
    color: #032b53;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
}

/* Tăng diện tích click chuột cho menu cha cấp 1 */
.nav-menu > ul > li > .menu-item-wrapper > a {
    padding: 14px 0;
    display: inline-flex;
    align-items: center;
}

/* Định vị hướng ban đầu cho mũi tên cấp 1 trên desktop (chỉ xuống) */
.nav-menu > ul > li > .menu-item-wrapper .menu-arrow::after {
    transform: rotate(45deg);
    margin-top: -3px;
}

/* ==========================================================================
   HỘP TÌM KIẾM SẢN PHẨM & PANEL GỢI Ý KẾT QUẢ TÌM KIẾM (SEARCH VÀ SUGGESTION)
   ========================================================================== */

.search-container {
    position: relative;
    width: 240px;
    flex-shrink: 0;
}

.search-container .search-box-wrapper {
    display: block;
}

.search-box {
    display: flex;
    width: 100%;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
}

#search-input {
    width: 100%;
    padding: 7px 12px;
    border: none;
    outline: none;
    font-size: 13px;
}

#search-btn {
    width: 38px;
    background: #fff;
    border: none;
    border-left: 1px solid #e2e8f0;
    cursor: pointer;
}

/* Khung hiển thị danh sách gợi ý tìm kiếm tức thời đổ từ API JavaScript */
.suggestion-box {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    max-height: 320px;
    overflow-y: auto;
    display: none;
    z-index: 1001;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.suggestion-item {
    padding: 10px 15px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
}

.suggest-name {
    font-weight: bold;
    font-size: 13.5px;
}

.suggest-meta {
    font-size: 11px;
    color: #0084FF;
}

/* Các nút kích hoạt di động mặc định ẩn trên màn hình lớn */
.menu-toggle, .search-toggle-btn {
    display: none;
}

/* ==========================================================================
   GIAO DIỆN HOẠT ĐỘNG HOVER DROPDOWN MENU CHỈ ÁP DỤNG TRÊN MÁY TÍNH (DESKTOP)
   ========================================================================== */
@media screen and (min-width: 1025px) {
    /* Đổi mũi tên cấp 2 chỉ sang phải */
    .dropdown-menu .menu-arrow::after {
        transform: rotate(-45deg);
        margin-right: 4px;
        margin-top: 0;
    }

    /* Khối menu cấp 2 đổ xuống */
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background-color: #fff;
        box-shadow: 0 5px 20px rgba(3,43,83,0.12);
        min-width: 230px;
        text-align: left;
        border-radius: 6px;
        padding: 6px 0;
        z-index: 1000;
        border: 1px solid rgba(0,0,0,0.03);
    }

    .dropdown-menu li {
        position: relative;
        width: 100%;
    }

    .dropdown-menu li .menu-item-wrapper {
        padding: 0 12px 0 18px;
    }

    .dropdown-menu li a, .submenu li a {
        padding: 11px 0;
        display: flex;
        align-items: center;
        flex-grow: 1;
        font-size: 13.5px;
        font-weight: 600;
        color: #334155;
    }

    /* Khối menu cấp 3 (Submenu) mở sang bên phải */
    .submenu {
        position: absolute;
        top: -6px;
        left: 100%;
        background-color: #fff;
        box-shadow: 3px 5px 20px rgba(3,43,83,0.12);
        min-width: 210px;
        border-radius: 6px;
        padding: 6px 0;
        z-index: 1001;
        border: 1px solid rgba(0,0,0,0.03);
    }

    .submenu li {
        padding: 0 18px;
    }

    /* Hiệu ứng di chuột đổi màu nền và chữ */
    .dropdown-menu li:hover > .menu-item-wrapper {
        background-color: #f0fdf4;
    }

    .dropdown-menu li:hover > .menu-item-wrapper a, .submenu li:hover a {
        color: #0056b3;
    }

    /* Kích hoạt hiển thị menu khi rê chuột bằng CSS thuần */
    .dropdown:hover > .dropdown-menu, .has-submenu:hover > .submenu {
        display: block !important;
    }

    /* Xoay ngược mũi tên khi hover để báo hiệu trạng thái mở rộng */
    .dropdown:hover > .menu-item-wrapper .menu-arrow::after {
        transform: rotate(-135deg);
        border-color: #0056b3;
        margin-top: 3px;
    }

    .has-submenu:hover > .menu-item-wrapper .menu-arrow::after {
        transform: rotate(45deg);
        border-color: #0056b3;
        margin-top: -3px;
        margin-right: 2px;
    }
}

/* ==========================================================================
   GIAO DIỆN HỆ THỐNG ĐIỀU HƯỚNG TRÊN ĐIỆN THOẠI & MTB (MOBILE & TABLET NAVIGATION)
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        position: relative;
        overflow: visible;
        height: 56px;
    }

    .logo-area {
        margin: 0;
        padding: 0;
        flex-shrink: 0;
        height: 38px;
        display: flex;
        align-items: center;
    }

    .logo-img {
        display: block;
        height: 100%;
        max-height: 38px;
        width: auto;
    }

    /* Nút tìm kiếm kính lúp di động */
    .search-container {
        position: static;
        width: auto;
        flex-shrink: 0;
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .search-toggle-btn {
        display: flex !important;
        background: none;
        border: none;
        font-size: 19px;
        color: #032b53;
        cursor: pointer;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
    }

    /* Nút Menu Hamburger 3 gạch biến đổi hoạt họa thành dấu X */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1005;
        position: relative;
    }

    .menu-toggle span {
        display: block;
        position: absolute;
        height: 3px;
        width: 22px;
        background: #032b53;
        border-radius: 4px;
        transition: all 0.25s ease-in-out;
        left: 9px;
    }

    .menu-toggle span:nth-child(1) { top: 13px; }
    .menu-toggle span:nth-child(2) { top: 19px; }
    .menu-toggle span:nth-child(3) { top: 25px; }

    /* Khi nút menu nhận class kích hoạt hoạt họa dấu X */
    .menu-toggle.active span:nth-child(1) {
        top: 19px;
        transform: rotate(135deg);
        background: #e11d48;
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        left: -60px;
    }

    .menu-toggle.active span:nth-child(3) {
        top: 19px;
        transform: rotate(-135deg);
        background: #e11d48;
    }

    /* Khung nhập liệu tìm kiếm ẩn giấu thả xuống dưới Header khi chạm nút */
    .search-container .search-box-wrapper {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 10px 16px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        border-bottom: 1px solid #e2e8f0;
        z-index: 1010;
    }

    .search-container.active .search-box-wrapper {
        display: block;
    }

    .search-box {
        display: flex;
        width: 100%;
        height: 40px;
        border: 1px solid #cbd5e1;
        border-radius: 6px;
        overflow: hidden;
    }

    #search-input {
        width: 100%;
        padding: 0 12px;
        height: 100%;
        font-size: 14px;
        border: none;
        outline: none;
    }

    #search-btn {
        height: 100%;
        width: 46px;
        flex-shrink: 0;
        background: #f1f5f9;
        border: none;
        border-left: 1px solid #cbd5e1;
        cursor: pointer;
    }

    .search-container .suggestion-box {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 300px;
        overflow-y: auto;
        background: #fff;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 9999;
        display: none;
    }

    /* Thanh Menu trượt (Drawer Menu) từ cạnh trái màn hình sang */
    .nav-menu {
        position: fixed;
        top: 56px;
        left: -285px;
        width: 280px;
        height: calc(100vh - 56px);
        background-color: #fff;
        box-shadow: 5px 0 15px rgba(0,0,0,0.15);
        z-index: 998;
        padding: 20px 0 30px 0;
        transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
        overflow-y: auto; /* Cho phép cuộn dọc nội bộ menu nếu quá dài */
        text-align: left;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu > ul {
        display: block;
        width: 100%;
    }

    .nav-menu > ul > li {
        margin: 0;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
    }

    .nav-menu .menu-item-wrapper {
        padding: 0 8px 0 20px;
        min-height: 46px;
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        flex-grow: 1;
        padding: 12px 0;
        font-size: 14.5px;
        color: #1e293b;
    }

    /* Vùng nhận diện sự kiện chạm mở menu con rộng lớn dễ dùng */
    .nav-menu .menu-arrow {
        width: 44px;
        height: 44px;
        margin-left: 0;
    }

    /* JavaScript kích hoạt mở cấp menu con bằng cách thêm class .open */
    .dropdown.open > .dropdown-menu, .has-submenu.open > .submenu {
        display: block !important;
    }

    /* Tái cấu trúc menu cấp 2 phẳng ra dạng accordion thụt đầu dòng */
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: #f8fafc;
        padding: 0;
        transform: none;
        border: none;
    }

    .dropdown-menu .menu-item-wrapper {
        padding-left: 36px;
        min-height: 40px;
    }

    .dropdown-menu .menu-item-wrapper a {
        font-size: 13.5px;
        padding: 8px 0;
    }

    /* Menu cấp 3 di động thụt lề sâu thêm */
    .submenu {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: #f1f5f9;
        padding: 0;
        transform: none;
        border: none;
    }

    .submenu li {
        padding: 8px 16px 8px 52px;
        border-bottom: 1px solid rgba(0,0,0,0.02);
    }

    .submenu li a {
        font-size: 13px;
        padding: 4px 0;
    }

    .nav-menu .menu-arrow::after {
        transform: rotate(45deg);
        margin-top: -3px;
    }

    /* Mũi tên xoay ngược hướng khi khối tương ứng được click mở ra rộng hơn */
    .dropdown.open > .menu-item-wrapper .menu-arrow::after, 
    .has-submenu.open > .menu-item-wrapper .menu-arrow::after {
        transform: rotate(-135deg);
        margin-top: 3px;
        border-color: #0056b3;
    }
}

/* ==========================================================================
   THÀNH PHẦN CHÂN TRANG (FOOTER CHI TIẾT)
   ========================================================================== */

.main-footer {
    background: linear-gradient(to top, #52bef8, #ebf6fb);
    color: #032b53;
    padding: 20px 0;
    margin-top: 30px;
    width: 100%;
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
}

.footer-left-logo-area {
    display: flex;
    flex-shrink: 0;
    padding: 5px 0;
}

.footer-left-logo-area img {
    max-height: 105px;
    width: auto;
    display: block;
}

.footer-right-content-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    max-width: 850px;
    margin-left: auto;
}

.footer-top-row {
    margin-bottom: 8px;
}

.company-name {
    font-size: 19px;
    font-weight: 800;
    color: #0156ab;
    letter-spacing: 0.5px;
}

.footer-bottom-grid {
    display: flex;
    justify-content: space-between;
    max-width: 850px;
}

.footer-col {
    flex: 1;
}

.footer-col .col-title {
    font-style: italic;
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 6px;
    display: inline-block;
}

.footer-col .highlight-text {
    font-weight: 800;
    margin-bottom: 4px;
    color: #032b53;
}

.footer-col p {
    font-size: 14.5px;
    margin-bottom: 5px;
    line-height: 1.35;
}

/* Chuyển footer về dạng cột đứng tập trung trên thiết bị nhỏ */
@media screen and (max-width: 1024px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .footer-left-logo-area {
        justify-content: center;
        width: 100%;
    }

    .footer-left-logo-area img {
        max-height: 60px;
        margin: 0 auto;
    }

    .footer-right-content-area {
        align-items: center;
        width: 100%;
    }

    .company-name {
        font-size: 15px;
        line-height: 1.3;
    }

    .footer-top-row {
        margin-bottom: 12px;
        width: 100%;
    }

    .footer-bottom-grid {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .footer-col {
        width: 100%;
        padding: 0 5px;
    }

    .footer-col p {
        font-size: 13px;
        margin-bottom: 4px;
        word-break: break-word; /* Chống vỡ khung chữ số tài khoản */
    }
}

/* ==========================================================================
   CÁC TIỆN ÍCH NỔI GÓC MÀN HÌNH (FLOATING UTILITY WIDGETS)
   ========================================================================== */

#utility-widgets {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Thiết kế đồng bộ vòng tròn mảnh cho cả widget Zalo và Nút Lên Đầu Trang */
#utility-widgets .zalo-widget, .back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: transparent;
    border: 1px solid #1e293b;
    border-radius: 50%;
    color: #1e293b;
    box-shadow: none;
    cursor: pointer;
    opacity: 0.75;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* Trạng thái ban đầu của nút cuộn lên đầu trang (ẩn giấu) */
.back-to-top {
    opacity: 0;
    visibility: hidden;
}

/* Khi JavaScript chèn class kích hoạt do người dùng cuộn chuột qua mốc */
.back-to-top.show {
    opacity: 0.75;
    visibility: visible;
}

.back-to-top.show:hover {
    opacity: 1;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Tinh chỉnh font chữ text chữ "Zalo" nhúng trong SVG đồng bộ hệ thống */
#utility-widgets .zalo-widget svg text {
    fill: #0068ff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    transition: fill 0.2s ease;
}

/* Hiệu ứng tương tác đảo màu hiện đại chỉ kích hoạt trên thiết bị di chuột */
@media (hover: hover) {
    #utility-widgets .zalo-widget:hover, .back-to-top:hover {
        opacity: 1;
        background-color: #1e293b;
        border-color: #1e293b;
        color: #fff;
        transform: translateY(-4px);
    }
    #utility-widgets .zalo-widget:hover svg text {
        fill: #fff;
    }
}

@media screen and (max-width: 768px) {
    #utility-widgets .zalo-widget svg text {
        font-size: 10px;
    }
}

@media screen and (max-width: 576px) {
    #utility-widgets {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }

    #utility-widgets .zalo-widget, .back-to-top {
        width: 40px;
        height: 40px;
        opacity: 0.85; /* Đậm hơn một chút trên màn hình cảm ứng điện thoại */
    }

    .back-to-top.show {
        opacity: 0.85;
    }

    .back-to-top svg {
        width: 16px;
        height: 16px;
    }
}

/* ==========================================================================
   TRANG BẢNG MÀU SƠN (PALETTE PAGE - palette-*.html)
   ========================================================================== */

.palette-main-content {
    padding: 50px 20px;
    max-width: 1240px;
    margin: 0 auto;
}

.palette-page-title {
    text-align: center;
    color: #032b53;
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.palette-page-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 45px;
    font-style: italic;
}

.palette-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
    width: 100%;
}

.color-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.color-box {
    width: 100%;
    height: 140px;
    border-radius: 6px;
    margin-bottom: 12px;
    border: 1px solid rgba(0,0,0,0.05);
}

.color-code {
    font-weight: bold;
    font-size: 14px;
}

/* Thu gọn lưới ô màu thành hai cột đều trên di động */
@media screen and (max-width: 1024px) {
    .palette-main-content { padding: 30px 15px; }
    .palette-page-title { font-size: 20px; }
    .palette-page-subtitle { margin-bottom: 25px; font-size: 13px; }
    .palette-container { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .color-card { padding: 10px; }
    .color-box { height: 105px; }
    .color-code { font-size: 12.5px; }
}

@media screen and (max-width: 380px) {
    .palette-container { gap: 8px; }
    .color-box { height: 90px; }
    .color-code { font-size: 11.5px; }
}

/* ==========================================================================
   TRANG DANH MỤC SẢN PHẨM (PRODUCT LISITING PAGE - san-pham.html)
   ========================================================================== */

.page-layout-wrapper {
    max-width: 1240px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: 60vh;
}

.filter-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid #032b53;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.filter-status-bar .sub-title-category {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

#filter-title {
    font-size: 24px;
    color: #032b53;
    font-weight: 800;
    text-transform: uppercase;
}

.clear-filter-btn {
    background-color: #ef4444;
    color: #fff !important;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.clear-filter-btn:hover {
    background-color: #dc2626;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    width: 100%;
}

.product-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(3,43,83,0.1);
    border-color: #bae6fd;
}

/* Khung cố định tỷ lệ giữ hình lon sơn cân đối thẳng hàng ngang */
.product-img-wrapper {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    margin-bottom: 15px;
    overflow: hidden;
}

.product-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-item:hover .product-img {
    transform: scale(1.05);
}

.product-brand {
    font-size: 12px;
    color: #0084FF;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

/* Ép giới hạn tiêu đề tên sơn tối đa hiển thị trong 2 dòng tránh lệch card */
.product-title {
    font-size: 15px;
    font-weight: 700;
    color: #032b53;
    line-height: 1.4;
    margin-top: auto; /* Đẩy chữ xuống sát đáy hộp */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Khối rỗng báo lỗi hoặc đang đồng bộ khi không tìm thấy hàng hóa tương ứng */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    font-size: 16px;
    color: #64748b;
    font-style: italic;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
}

@media screen and (max-width: 1024px) {
    .page-layout-wrapper { margin: 20px auto; padding: 0 15px; }
    .filter-status-bar { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
    #filter-title { font-size: 18px; }
    .clear-filter-btn { width: 100%; text-align: center; padding: 10px; }
    .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 15px !important; }
    .product-item { padding: 12px; }
    .product-img-wrapper { height: 150px; margin-bottom: 10px; }
    .product-title { font-size: 13.5px; }
}

@media screen and (max-width: 380px) {
    .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    .product-img-wrapper { height: 120px; }
    .product-title { font-size: 12.5px; }
}

/* ==========================================================================
   TRANG CHI TIẾT SẢN PHẨM CỤ THỂ (PRODUCT DETAIL - chi-tiet-san-pham.html)
   ========================================================================== */

.detail-page-wrapper {
    max-width: 1240px;
    margin: 40px auto;
    padding: 0 20px;
    min-height: 60vh;
}

/* Thanh định vị đường dẫn thư mục liên kết ngược */
.breadcrumb {
    margin-bottom: 25px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.breadcrumb a {
    color: #032b53;
    font-weight: 600;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #0084FF;
    text-decoration: underline;
}

.breadcrumb span {
    color: #334155;
    font-weight: 400;
}

.detail-container {
    display: flex;
    flex-direction: row;
    background: #fff;
    border: 1px solid #b9c5d3;
    border-radius: 12px;
    padding: 35px;
    gap: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.detail-left-image-section {
    flex: 0 0 360px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 20px;
    border: 1px solid #b9c5d3;
    height: 360px;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.detail-main-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.detail-left-image-section:hover {
    box-shadow: 0 8px 24px rgba(3,43,83,0.08);
}

.detail-left-image-section:hover .detail-main-img {
    transform: scale(1.04);
}

.detail-right-info-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.detail-title {
    font-size: 26px;
    color: #032b53;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.3;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
}

/* Bảng hiển thị tóm tắt thông số kỹ thuật (Mã sản phẩm, bao bì, định mức...) */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.specs-table td {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
    font-size: 15px;
    line-height: 1.5;
}

.specs-table .label {
    width: 140px;
    font-weight: 700;
    color: #475569;
    flex-shrink: 0;
}

.specs-table .value {
    color: #1e293b;
}

/* Định dạng giữ lại dấu xuống dòng thô từ cơ sở dữ liệu chuỗi text mô tả */
.description-text {
    white-space: pre-line;
}

.action-buttons-group {
    margin-top: auto;
    padding-top: 20px;
    text-align: center;
}

/* Nút liên kết tải xuống tài liệu Technical Data Sheet (TDS PDF) */
.pdf-data-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #032b53 !important;
    text-decoration: underline;
    padding: 12px 28px;
    font-weight: bold;
    font-size: 15px;
    font-style: italic;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 6px rgba(3,43,83,0.15);
}

.pdf-data-btn:hover {
    background-color: transparent;
    color: blue !important;
}

/* Khối trạng thái chờ xử lý hoặc báo lỗi tải dữ liệu */
.loading-box, .error-box {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #64748b;
    font-style: italic;
}

.error-box p {
    color: #ef4444;
    font-weight: bold;
    margin-bottom: 15px;
    font-style: normal;
}

.error-box a {
    color: #0084FF;
    text-decoration: underline;
    font-weight: bold;
}

/* Chuyển trang chi tiết sản phẩm thành một cột dọc trên di động */
@media screen and (max-width: 1024px) {
    .detail-container { flex-direction: column; padding: 20px; gap: 25px; }
    .detail-left-image-section { flex: none; width: 100%; height: 300px; padding: 15px; }
    .detail-title { font-size: 22px; margin-bottom: 15px; padding-bottom: 10px; }
    .specs-table td { display: block; padding: 6px 0; border: none; }
    .specs-table tr { display: block; padding: 8px 0; border-bottom: 1px solid #f1f5f9; }
    .specs-table .label { width: 100%; margin-bottom: 2px; font-size: 13.5px; color: #64748b; }
    .specs-table .value { font-size: 15px; }
    .action-buttons-group { margin-top: 15px; padding-top: 10px; }
    .pdf-data-btn { width: 100%; padding: 14px; font-size: 15px; }
}

@media screen and (max-width: 480px) {
    .detail-left-image-section { height: 230px; }
    .detail-title { font-size: 19px; }
    .breadcrumb { font-size: 13px; margin-bottom: 15px; }
}

/* ==========================================================================
   HỆ THỐNG TÍNH TOÁN ĐỊNH MỨC VÀ DỰ TOÁN SƠN ĐA LỚP (quy-trinh.html)
   ========================================================================== */

.calc-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.calc-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0f2fe;
    padding-bottom: 15px;
}

.calc-header h1 {
    color: #0369a1;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.calc-header p {
    color: #64748b;
    font-size: 15px;
}

.form-group {
    margin-bottom: 22px;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 15px;
    text-align: left;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background-color: #f8fafc;
    color: #334155;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #38bdf8;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(56,189,248,0.15);
}

/* Hộp gợi ý tên sản phẩm sơn thông minh bên trong biểu mẫu tính quy trình */
.calc-suggestions-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    z-index: 9999;
    margin-top: 4px;
    display: none;
}

.calc-suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 15px;
    color: #334155;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s ease;
}

.calc-suggestion-item:last-child {
    border-bottom: none;
}

.calc-suggestion-item:hover {
    background-color: #f0f9ff;
    color: #0284c7;
    font-weight: 500;
}

/* Nút chính gửi lệnh tính toán toàn bộ quy trình công nghệ */
.btn-calc-submit {
    width: 100%;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #fff;
    border: none;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(2,132,199,0.2);
}

.btn-calc-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(2,132,199,0.3);
    filter: brightness(1.05);
}

/* Khung hiển thị bảng kết quả phân tích tổng hợp lượng sơn cần mua */
.result-panel {
    margin-top: 30px;
    padding: 20px;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    display: none;
}

/* Thẻ khối đại diện cho cấu trúc một lớp sơn riêng biệt (Lót, trung gian, phủ...) */
.layer-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #0284c7;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    position: relative;
}

.layer-title {
    font-size: 14px;
    font-weight: 700;
    color: #0369a1;
    margin-bottom: 10px;
}

.control-row-group {
    display: flex;
    gap: 15px;
    width: 100%;
    margin: 10px 0 15px 0;
}

/* Cặp nút "Thêm lớp sơn" và "Lập quy trình mới" */
.btn-add-reset {
    flex: 1;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14.5px;
    background-color: #2fafef;
}

.btn-add-reset:hover {
    filter: brightness(1.08);
}

/* Tối ưu ẩn icon chữ trên máy tính, ẩn chữ hiện icon trên màn hình di động nhỏ */
.btn-add-reset .btn-icon { display: none; }
.btn-add-reset .btn-text { display: inline; }

/* Nút xóa nhanh một lớp sơn bất kỳ nằm ở góc khối */
.btn-remove-layer {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-remove-layer:hover {
    background-color: #dc2626;
}

.btn-actions-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* Nhãn hiển thị thông tin độ dày màng sơn (DFT) và định mức tự động tra cứu */
.info-box-inline {
    font-size: 12px;
    color: #64748b;
    margin-top: 5px;
    background: #f1f5f9;
    padding: 6px 10px;
    border-radius: 4px;
    border-left: 2px solid #cbd5e1;
}

.info-box-inline span {
    font-weight: 700;
    color: #0284c7;
}

.report-header {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.report-header h2 {
    font-size: 16px;
    color: #1e3a8a;
    font-weight: 700;
    text-align: left;
    margin: 0;
}

/* Thẻ báo cáo lượng vật tư cụ thể cho từng lớp sơn */
.layer-report-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.layer-report-card h4 {
    margin: 0 0 12px 0;
    font-size: 15px;
    color: #1e293b;
    border-bottom: 1px dashed #cbd5e1;
    padding-bottom: 6px;
    font-weight: 700;
}

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

.report-item {
    font-size: 13px;
    color: #475569;
}

.report-value {
    font-weight: 700;
    color: #0f172a;
}

.total-highlight {
    color: #166534;
    font-size: 15px;
    font-weight: 700;
    background: #f0fdf4;
    padding: 6px 10px;
    border-radius: 4px;
    margin-top: 8px;
    display: inline-block;
    border: 1px solid #bbf7d0;
}

@media screen and (max-width: 1024px) {
    .calc-container { margin: 15px auto; padding: 15px; }
    
    /* Thu gọn nút điều khiển thành ký tự icon trên màn hình di động hẹp */
    .btn-add-reset { padding: 12px 0; font-size: 18px; }
    .btn-add-reset .btn-text { display: none; }
    .btn-add-reset .btn-icon { display: inline-block; }
    
    .report-grid { grid-template-columns: 1fr !important; gap: 8px; }
    .report-item {
        width: 100%;
        display: flex;
        justify-content: space-between;
        border-bottom: 1px dashed #f1f5f9;
        padding-bottom: 4px;
    }
    .total-highlight { display: block; text-align: center; margin-top: 12px; }
}

/* ==========================================================================
   TRANG THÔNG TIN LIÊN HỆ ĐƯỜNG DÂY NÓNG (CONTACT PAGE - lien-he.html)
   ========================================================================== */

.contact-page-wrapper {
    margin-top: 30px;
    margin-bottom: 50px;
}

.breadcrumb .divider {
    margin: 0 8px;
    color: #cbd5e1;
}

.breadcrumb .active {
    color: #64748b;
    font-weight: 500;
}

.contact-grid {
    display: flex;
    flex-direction: row;
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    margin-top: 20px;
}

.contact-info-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-title {
    color: #032b53;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #de1f26;
    border-radius: 2px;
}

.contact-card-intro {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px dashed #e2e8f0;
}

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

.contact-item .info-content {
    flex-grow: 1;
    font-size: 15px;
    line-height: 1.6;
    color: #334155;
}

.contact-item .info-content strong {
    color: #032b53;
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}

.hotline-link {
    color: #0084FF;
    font-weight: 800;
    font-size: 18px;
    transition: color 0.2s;
}

.hotline-link:hover {
    color: #0084FF;
    text-decoration: underline;
}

.email-link {
    color: #0084FF;
    font-weight: 600;
}

.email-link:hover {
    text-decoration: underline;
}

/* Nút gọi điện khẩn cấp kích hoạt nhanh trên điện thoại */
.contact-quick-actions {
    display: none;
    margin-top: 25px;
}

.quick-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 15px;
    color: #fff !important;
    text-align: center;
    transition: transform 0.2s ease;
}

.quick-btn:active {
    transform: scale(0.97);
}

.btn-call {
    background-color: #de1f26;
}

/* Khung bản đồ Google Maps nhúng iframe */
.map-column {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    min-height: 450px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.map-column iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 450px;
}

@media screen and (max-width: 1024px) {
    .contact-page-wrapper { margin-top: 15px; margin-bottom: 30px; }
    .contact-grid { flex-direction: column; padding: 25px; gap: 30px; }
    .contact-title { font-size: 24px; text-align: center; padding-bottom: 10px; }
    .contact-title::after { left: 50%; transform: translateX(-50%); }
    .contact-card-intro { text-align: center; font-size: 14.5px; margin-bottom: 20px; }
    .map-column, .map-column iframe { min-height: 380px; height: 380px; }
}

@media screen and (max-width: 576px) {
    .contact-grid { padding: 16px; gap: 24px; border-radius: 8px; }
    .contact-item .info-content { font-size: 14px; }
    .hotline-link { font-size: 16.5px; }
    .contact-quick-actions { display: flex; }
    .map-column, .map-column iframe { min-height: 280px; height: 280px; border-radius: 8px; }
}

/* ==========================================================================
   BỘ LỌC NGÀNH NGHỀ ỨNG DỤNG (INDUSTRIES FILTERS SECTION - index.html)
   ========================================================================== */

.industry-filter-section {
    max-width: 1240px;
    margin: 40px auto;
    padding: 0 20px;
}

.industry-main-title {
    text-align: center;
    color: #032b53;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.industry-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

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

/* Các hộp nút ảnh lớn đại diện cho 3 ngành chính: Hàng hải, công nghiệp, trang trí */
.btn-industry-main {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    background-color: #032b53;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.industry-column:nth-child(1) .btn-industry-main { background-image: url('images/image-son-hang-hai.webp'); }
.industry-column:nth-child(2) .btn-industry-main { background-image: url('images/image-son-cong-nghiep.webp'); }
.industry-column:nth-child(3) .btn-industry-main { background-image: url('images/image-son-trang-tri.webp'); }

/* Lớp phủ màu tối phủ mờ lên ảnh nền giúp nổi bật tiêu đề chữ trắng */
.btn-industry-main::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(3,43,83,0.1) 0%, rgba(3,43,83,0.7) 100%);
    z-index: 1;
    transition: background 0.3s ease;
}

.btn-industry-main .text-wrapper {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    z-index: 2;
    color: #fff !important;
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.85);
}

.industry-sub-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Các nút lọc danh mục con dạng text nằm ngay bên dưới ô ảnh */
.btn-industry-sub {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-industry-sub::before {
    content: "—";
    margin-right: 10px;
    color: #94a3b8;
}

.btn-industry-sub:hover {
    background-color: #f0f9ff;
    border-color: #bae6fd;
    color: #0284c7;
}

@media (hover: hover) {
    .btn-industry-main:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 20px rgba(3,43,83,0.25);
    }
    .btn-industry-main:hover::after {
        background: linear-gradient(to bottom, rgba(3,43,83,0) 0%, rgba(3,43,83,0.55) 100%);
    }
}

@media screen and (max-width: 1024px) {
    .industry-filter-section { margin: 25px auto; padding: 0 15px; }
    .industry-main-title { font-size: 20px; margin-bottom: 20px; }
    .industry-grid-layout { grid-template-columns: 1fr !important; gap: 20px; }
    .industry-column { gap: 10px; }
    .btn-industry-main .text-wrapper { font-size: 18px; }
    .btn-industry-sub { padding: 10px 14px; font-size: 14px; }
}

@media screen and (max-width: 480px) {
    .btn-industry-main .text-wrapper { font-size: 16px; padding: 10px; }
}

/* ==========================================================================
   BANNER TRÌNH CHIẾU HOẠT HỌA (HERO SLIDER BANNER - index.html)
   ========================================================================== */

.hero-slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #0f172a;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.slider-item {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
}

.slider-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slider-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

/* Lớp phủ gradient tối mờ bên trái che bớt ảnh nền để chữ hiển thị rõ nét */
.slider-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.65) 25%, rgba(0,0,0,0.15) 100%);
    z-index: 3;
}

/* Khối nội dung chữ lồng trong Slider hoạt họa trượt nhẹ lên trên khi kích hoạt */
.slider-caption {
    position: absolute;
    bottom: 15%;
    left: 8%;
    right: 8%;
    color: #fff;
    z-index: 4;
    max-width: 650px;
    transform: translateY(25px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.25,1,0.5,1) 0.2s, opacity 0.6s ease 0.2s;
}

.slider-item.active .slider-caption {
    transform: translateY(0);
    opacity: 1;
}

.slider-caption h3 {
    font-size: calc(16px + 1vw);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.75);
    line-height: 1.3;
}

.slider-caption p {
    font-size: calc(13px + 0.25vw);
    line-height: 1.6;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.btn-slider-action {
    display: inline-block;
    padding: 12px 32px;
    background-color: #0056b3;
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-slider-action:hover {
    background-color: #004085;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,86,179,0.3);
}

/* Các nút điều hướng Trước / Sau (Prev / Next Arrows) */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: black;
    border: none;
    width: 46px;
    height: 46px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25,1,0.5,1);
}

.slider-nav:hover {
    background-color: #0056b3;
    border-color: black;
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}

.slider-nav.prev { left: 20px; }
.slider-nav.next { right: 20px; }

/* Hệ thống các chấm tròn nhỏ báo hiệu vị trí slide ở đáy banner */
.slider-dots-indicator {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 6px;
    background-color: rgba(255,255,255,0.4);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease, width 0.3s ease;
}

/* Hiệu ứng chấm tròn biến dạng kéo dài thành hình hạt đậu khi kích hoạt viên mãn */
.dot.active, .dot:hover {
    background-color: #fff;
    width: 24px;
    border-radius: 5px;
}

@media screen and (max-width: 992px) {
    .slider-nav { width: 40px; height: 40px; font-size: 16px; }
    .slider-caption { bottom: 12%; left: 6%; max-width: 80%; }
    .slider-caption h3 { font-size: 22px; margin-bottom: 10px; }
    .slider-caption p { margin-bottom: 14px; }
}

@media screen and (max-width: 576px) {
    .slider-nav { width: 34px; height: 34px; font-size: 12px; }
    .slider-nav.prev { left: 8px; }
    .slider-nav.next { right: 8px; }
    
    .slider-caption { bottom: 15%; left: 5%; right: 5%; max-width: 90%; }
    .slider-caption h3 { font-size: 18px; margin-bottom: 6px; letter-spacing: 0; }
    /* Giới hạn nội dung mô tả banner di động tối đa 2 dòng tránh tràn vỡ khung hình */
    .slider-caption p { line-height: 1.4; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .btn-slider-action { padding: 8px 20px; font-size: 11px; }
    .slider-dots-indicator { bottom: 10px; }
    .dot { height: 7px; width: 7px; margin: 0 4px; }
    .dot.active { width: 16px; }
}

/* ==========================================================================
   KHỐI GIỚI THIỆU DOANH NGHIỆP TRANG CHỦ (ABOUT US SECTION - index.html)
   ========================================================================== */

.about-us-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

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

.about-main-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: #333;
    margin-bottom: 5px;
    position: relative;
}

.about-company-name {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: #0056b3;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.about-lead {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
    margin-bottom: 40px;
}

/* Khối lưới phân chia hai cột song song: Tầm nhìn & Sứ mệnh */
.about-vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.vision-box, .mission-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid #0056b3;
}

.vision-box h3, .mission-box h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.vision-box p, .mission-box p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

/* Phần Lý do chọn công ty */
.about-highlights {
    margin-bottom: 40px;
}

.about-highlights h3 {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.highlight-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.highlight-item h4 {
    font-size: 16px;
    color: #0056b3;
    margin-bottom: 10px;
    font-weight: 600;
}

.highlight-item p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #666;
}

.about-footer-slogan {
    text-align: center;
    font-size: 18px;
    font-style: italic;
    font-weight: 600;
    color: #0056b3;
    margin-top: 40px;
}

@media screen and (max-width: 768px) {
    .about-vision-mission-grid, .highlights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .about-main-title { font-size: 24px; }
    .about-company-name { font-size: 16px; }
    .about-lead { font-size: 15px; text-align: left; }
}