/* Mobile Layout CSS */
@media screen and (max-width: 991px) {

    /* Hide Desktop Header Elements */
    .d-desktop-only {
        display: none !important;
    }

    /* Mobile Header Base */
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: #fff;
    }

    .header-mobile {
        background: #fff;
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    .header-mobile__top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 10px;
    }

    .hm-menu-btn {
        background: none;
        border: none;
        font-size: 22px;
        color: #1a3c8a;
        padding: 4px;
        line-height: 1;
    }

    .hm-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 8px;
    }

    .hm-logo img {
        height: 25px !important;
        max-height: 25px !important;
        max-width: 200px !important;
        object-fit: contain;
    }

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

    .hm-award {
        width: 28px;
        height: auto;
    }

    .hm-cart {
        position: relative;
        color: #1a3c8a;
        font-size: 22px;
        text-decoration: none;
        padding: 2px;
    }

    .hm-cart-badge {
        position: absolute;
        top: -4px;
        right: -8px;
        background: #e30000;
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: 1px solid #fff;
    }

    /* Mobile Search */
    .header-mobile__search {
        padding: 0 10px;
        margin-top: 6px;
        margin-bottom: 10px;
        position: relative;
    }

    .hm-search-form {
        display: flex;
        border: 1.5px solid #1a3c8a;
        border-radius: 6px;
        overflow: hidden;
        background: #fff;
    }

    .hm-search-input {
        flex: 1;
        border: none;
        padding: 8px 12px;
        font-size: 13px;
        outline: none;
    }

    .hm-search-input::placeholder {
        color: #888;
    }

    .hm-search-btn {
        background: #1a3c8a;
        color: #fff;
        border: none;
        padding: 0 18px;
        font-size: 15px;
        transition: opacity 0.2s;
    }

    .hm-search-btn:active {
        opacity: 0.8;
    }

    /* Mobile Quick Links */
    .header-mobile__links {
        display: flex;
        justify-content: space-between;
        padding: 0 10px;
    }

    .hm-link-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #1a3c8a;
        font-size: 10px;
        font-weight: 600;
        flex: 1;
        text-align: center;
    }

    .hm-link-item i {
        font-size: 18px;
        margin-bottom: 2px;
        color: #1a3c8a;
    }

    .hm-link-item:hover,
    .hm-link-item:hover i {
        color: #e30000;
    }

    /* Mobile Bottom Navigation (Sticky Footer) */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        display: flex;
        justify-content: space-between;
        padding: 6px 10px 8px;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
        z-index: 1000;
        border-top: 1px solid #f4f4f4;
    }

    .mbn-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #1a3c8a;
        font-size: 10.5px;
        font-weight: 600;
        flex: 1;
        text-align: center;
        transition: color 0.2s;
    }

    .mbn-item i {
        font-size: 22px;
        margin-bottom: 3px;
        color: #1a3c8a;
    }

    .mbn-item.active,
    .mbn-item.active i {
        color: #e30000;
    }

    .mbn-item:hover,
    .mbn-item:hover i {
        color: #e30000;
    }

    .mbn-cart-wrap {
        position: relative;
        display: inline-block;
    }

    .mbn-cart-badge {
        position: absolute;
        top: -4px;
        right: -6px;
        background: #e30000;
        color: #fff;
        font-size: 9px;
        font-weight: bold;
        width: 15px;
        height: 15px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #fff;
    }

    /* Adjust main body to account for bottom nav */
    body {
        padding-bottom: 60px;
        /* Make space for sticky nav */
    }

    /* Ensure existing compare tray sits above the bottom nav */
    .compare-tray {
        bottom: 56px !important;
    }

    /* Mobile Accordion Menu Animation */
    .mobile-nav-list span[aria-expanded="true"] i {
        transform: rotate(180deg);
    }

    /* Giảm khoảng trắng 2 mép cho nội dung chính trên Mobile, ép gần viền 2 bên */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
        box-sizing: border-box !important;
    }

    .row {
        margin-left: -4px !important;
        margin-right: -4px !important;
    }

    .row>* {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    /* Thu gọn padding khung chứa (p-4, p-3, card) trên Mobile để tối ưu diện tích ngang */
    .p-4,
    .p-5 {
        padding: 10px 8px !important;
    }

    .p-3 {
        padding: 8px 6px !important;
    }

    .px-4 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .py-4 {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .download-cat-card {
        padding: 8px 4px !important;
    }

    .panel,
    .contact-card,
    .contact-form,
    .sidebar-box {
        padding: 10px 8px !important;
    }

    .panel h3,
    .panel h3[style] {
        font-size: 13px !important;
        margin-bottom: 12px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        letter-spacing: -0.2px !important;
    }

    /* Làm đẹp, thu gọn Header của các Section (Tiêu đề khối) trên Mobile */
    .section {
        padding: 14px 0 !important;
    }

    .section__head {
        align-items: center !important;
        margin-bottom: 12px !important;
        gap: 10px;
    }

    .section__title {
        font-size: 15px !important;
        line-height: 1.35 !important;
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }

    .section__head .section__title,
    .d-flex .section__title,
    .video-panel__title,
    .news-panel__title {
        margin-bottom: 0 !important;
    }

    .section__link {
        font-size: 11px !important;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Làm đẹp Thẻ Sản phẩm (Product Card) - Cân bằng độ cao */
    .product-card {
        padding: 10px !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .product-card h3 {
        font-size: 12px !important;
        line-height: 1.4 !important;
        margin: 6px 0 4px !important;
        height: 50px !important;
        /* Cố định chiều cao 3 dòng text */
        display: -webkit-box;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-card__model {
        display: none !important;
    }

    .product-card__features {
        font-size: 11px !important;
        line-height: 1.35 !important;
        height: 2.7em !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-top: 4px !important;
    }

    .product-card .price {
        font-size: 14px !important;
        margin-top: auto !important;
        text-align: center !important;
    }

    /* ------------------------------------- */
    /* CHỈNH MÀU SẮC CHỦ ĐẠO THÀNH ĐỎ        */
    /* ------------------------------------- */
    .hm-menu-btn,
    .hm-cart {
        color: #e30000 !important;
    }

    .hm-search-form {
        border-color: #e30000 !important;
    }

    .hm-search-btn {
        background: #e30000 !important;
    }

    .hm-link-item,
    .mbn-item {
        color: #555 !important;
        font-weight: 500 !important;
    }

    .hm-link-item i,
    .mbn-item i {
        color: #e30000 !important;
    }

    /* ------------------------------------- */
    /* LÀM GỌN CTA STRIP (Khối Liên Hệ Cuối) */
    /* ------------------------------------- */
    .cta-strip {
        padding: 15px 10px !important;
        text-align: center;
        margin-top: 15px !important;
    }

    .cta-strip__inner {
        gap: 10px !important;
    }

    .cta-strip__left {
        gap: 5px !important;
    }

    .cta-strip__icon-main {
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
        margin: 0 auto !important;
    }

    .cta-strip__features {
        display: none !important;
    }

    /* Ẩn bớt các gạch đầu dòng để giao diện gọn gàng */
    .cta-strip__text h3 {
        font-size: 15px !important;
        margin-bottom: 2px !important;
    }

    .cta-strip__text p {
        font-size: 11px !important;
        margin-bottom: 8px !important;
    }

    .cta-strip__btn {
        padding: 8px 20px !important;
        font-size: 12px !important;
        margin: 0 auto !important;
    }

    /* ------------------------------------- */
    /* LÀM ĐẸP TRANG TIN TỨC & CHI TIẾT TIN  */
    /* ------------------------------------- */
    /* Ép khoảng cách phần đầu trang (Breadcrumb -> Tiêu đề) hẹp lại & cân đối */
    main>.container.mt-3,
    main>.container.mb-3,
    main>.container.mb-0,
    .container.mt-3,
    .container.mb-3,
    .container.mb-0 {
        margin-top: 6px !important;
        margin-bottom: 0 !important;
    }

    .sp-breadcrumb {
        margin-top: 6px !important;
        margin-bottom: 10px !important;
        font-size: 12px !important;
    }

    .about-intro-text p,
    .about-intro-content p {
        font-size: 13.5px !important;
        line-height: 1.6 !important;
        margin-bottom: 12px !important;
    }

    p.muted {
        font-size: 13px !important;
        margin-bottom: 12px !important;
        line-height: 1.5 !important;
    }

    .split-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .content-layout {
        display: flex !important;
        flex-direction: column-reverse !important;
        /* Đẩy thanh Sidebar xuống dưới cùng */
        gap: 20px !important;
    }

    .news-list--cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .page-news-card {
        display: flex !important;
        gap: 12px !important;
        padding: 12px 0 !important;
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid #f0f0f0 !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }

    .page-news-card:last-child {
        border-bottom: none !important;
    }

    .page-news-card img {
        width: 110px !important;
        height: 75px !important;
        object-fit: cover !important;
        border-radius: 4px !important;
    }

    .page-news-card-body {
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .page-news-card-body time {
        font-size: 10px !important;
        color: #888;
    }

    .page-news-card-body h4 {
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin: 4px 0 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .page-news-card-body small {
        font-size: 10px !important;
        color: #888;
        margin-top: auto !important;
    }

    .article-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .article-card {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        border: 1px solid #eaeaea !important;
        border-radius: 6px !important;
        margin: 0 !important;
        box-shadow: none !important;
        align-items: stretch !important;
        overflow: hidden;
    }

    .article-card__image-wrapper {
        flex: none !important;
        height: 120px !important;
        width: 100% !important;
        margin-bottom: 0 !important;
    }

    .article-card__image-wrapper img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
        border-radius: 6px 6px 0 0 !important;
    }

    .article-card__body {
        padding: 10px !important;
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .article-card__body small {
        font-size: 10px !important;
        margin-bottom: 6px !important;
        color: #888;
    }

    .article-card__body h3,
    .article-card__body h3 a {
        font-size: 12px !important;
        margin-bottom: 4px !important;
        line-height: 1.4 !important;
    }

    .article-card__body h3 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .article-card__body p {
        display: -webkit-box !important;
        font-size: 11px !important;
        color: #777 !important;
        margin-bottom: 0 !important;
        line-height: 1.4 !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .article-card__footer {
        display: none !important;
    }

    .badge-new {
        font-size: 9px !important;
        padding: 2px 4px !important;
        top: 4px !important;
        left: 4px !important;
    }

    /* ------------------------------------- */
    /* LÀM ĐẸP TRANG VIDEO                   */
    /* ------------------------------------- */
    .video-page-layout,
    .news-page-layout {
        display: flex !important;
        flex-direction: column-reverse !important;
        /* Đẩy Sidebar xuống dưới */
        gap: 20px !important;
        margin-top: 25px !important;
        /* Tăng khoảng cách từ header */
    }

    .album-header {
        padding: 20px !important;
    }

    .video-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        /* Hiển thị 2 video trên 1 dòng */
        gap: 10px !important;
    }

    /* Chỉnh lại font chữ và lề cho vừa 2 cột */
    .video-card__body {
        padding: 8px !important;
    }

    .video-card__body h3 {
        font-size: 12px !important;
        line-height: 1.3 !important;
        margin-bottom: 5px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .video-meta-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
        font-size: 10px !important;
    }

    .video-meta-stars i {
        font-size: 9px !important;
    }

    .video-meta-tags {
        display: none !important;
    }

    /* Ẩn thẻ model liên quan cho đỡ rối mắt */

    .video-badge {
        font-size: 8px !important;
        padding: 2px 4px !important;
        top: 4px !important;
        left: 4px !important;
    }

    .video-duration {
        font-size: 8px !important;
        padding: 1px 3px !important;
        bottom: 4px !important;
        right: 4px !important;
    }

    /* Không can thiệp vào nút Play, giữ nguyên mặc định từ main.css để tránh vỡ giao diện */

    .video-search-panel {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    .search-divider {
        display: none !important;
    }

    /* Toolbar Sắp xếp: Chuyển dọc để không bị bóp nghẹt */
    .video-main-content .toolbar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        border-bottom: 1px solid #eaeaea;
        padding-bottom: 15px;
    }

    .video-main-content .toolbar strong {
        font-size: 16px !important;
    }

    .toolbar-sort {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px;
        flex-wrap: wrap;
        /* Cho phép rớt dòng nếu màn hình quá hẹp */
    }

    .toolbar-sort>span {
        font-size: 13px !important;
    }

    .toolbar-sort select {
        font-size: 12px !important;
        padding: 4px 8px !important;
    }

    .sidebar-box {
        margin-bottom: 15px !important;
    }

    /* Xử lý thanh Menu danh mục Tin tức (Tất cả | Chuyên ngành...) để có thể vuốt ngang nếu quá dài */
    .news-tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 15px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Ẩn thanh cuộn */
    }

    .news-tabs::-webkit-scrollbar {
        display: none;
    }

    .news-tabs li {
        flex-shrink: 0;
    }

    .article-card__body h3 {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }

    /* Box/Card nội dung bo sát mép hơn */
    .card,
    .box,
    .article-card,
    .product-card {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* ------------------------------------- */
    /* TỐI ƯU TRANG CHỦ (INDEX) CHO MOBILE   */
    /* ------------------------------------- */

    /* 1. Banner Hero */
    .hero__copy h1 {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }

    .hero__copy p {
        font-size: 13px !important;
        margin-bottom: 15px !important;
    }

    .hero__copy .btn {
        padding: 8px 16px !important;
        font-size: 12px !important;
    }

    .hero__media {
        height: auto !important;
        width: 100% !important;
        object-fit: contain !important;
    }

    /* 2. Danh mục sản phẩm chính (Grid) - Cuộn ngang mượt mà */
    .home-category-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 12px !important;
        padding-bottom: 8px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #e30000 #f0f0f0;
    }

    .home-category-grid::-webkit-scrollbar {
        height: 3px;
    }

    .home-category-grid::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 4px;
    }

    .home-category-grid::-webkit-scrollbar-thumb {
        background: #e30000;
        border-radius: 4px;
    }

    .home-category-card {
        flex: 0 0 110px !important;
        /* Cố định chiều rộng mỗi thẻ */
        padding: 12px 8px !important;
    }

    .home-category-card__icon {
        height: 75px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 8px !important;
        flex-shrink: 0 !important;
    }

    .home-category-card__icon img {
        max-height: 75px !important;
        height: auto !important;
        width: 100% !important;
        object-fit: contain !important;
    }

    .home-category-card__name {
        font-size: 11px !important;
        line-height: 1.35 !important;
        height: 30px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        word-break: break-word !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* 3. Khối Chứng nhận / Company Band - Ẩn trên Mobile theo yêu cầu */
    .company-band {
        display: none !important;
    }

    /* 4. Giải pháp ngành (Grid) */
    .industry-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        /* 2 cột trên mobile */
        gap: 8px !important;
    }

    .industry-card__content {
        padding: 10px !important;
    }

    .industry-card__title h3 {
        font-size: 13px !important;
    }

    .industry-card__content p {
        font-size: 11px !important;
        margin-top: 5px !important;
        /* Giữ lại mô tả theo yêu cầu */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 5. Download Center */
    .brand-download-panel__img-col {
        display: none;
    }

    /* Ẩn ảnh người mẫu to trên mobile */
    .brand-download-panel__content-col {
        padding: 20px 15px !important;
    }

    .brand-download-panel__title {
        font-size: 18px !important;
    }

    .brand-download-panel__item-title {
        font-size: 13px !important;
    }

    .brand-download-panel__item-desc {
        font-size: 11px !important;
    }

    /* 6. Khối Panel và Tin tức - Fix lỗi thừa viền to hai bên mép */
    .video-panel,
    .news-panel {
        padding: 10px !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .video-panel__title,
    .news-panel__title {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }

    .news-card {
        display: flex;
        flex-direction: row !important;
        align-items: center;
        gap: 12px !important;
        padding: 8px !important;
        border: 1px solid #eee;
        border-radius: 8px;
        margin-bottom: 12px;
    }

    .news-card__media {
        flex: 0 0 110px !important;
        /* Cố định chiều rộng ảnh */
        height: 80px !important;
        position: relative;
    }

    .news-card__img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        border-radius: 6px;
    }

    /* Chuyển khối ngày tháng thành Badge đè lên ảnh thay vì chiếm diện tích ngang */
    .news-card__date {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: auto !important;
        height: auto !important;
        background: rgba(227, 0, 0, 0.9) !important;
        padding: 3px 6px !important;
        border-radius: 6px 0 6px 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 4px !important;
    }

    .news-card__day {
        font-size: 12px !important;
        color: #fff !important;
        line-height: 1 !important;
        margin: 0 !important;
    }

    .news-card__month {
        font-size: 9px !important;
        color: rgba(255, 255, 255, 0.8) !important;
        margin: 0 !important;
    }

    .news-card__content {
        flex: 1;
        min-width: 0;
        padding: 0 !important;
    }

    .news-card__title {
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin-bottom: 6px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-card__more {
        font-size: 11px !important;
    }

    /* 7. Video List - Fix lỗi ép dọc & tràn viền */
    .video-panel__inner {
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
    }

    .video-main {
        flex: none !important;
        width: 100% !important;
        min-height: 190px !important;
        height: 210px !important;
        position: relative !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    .video-main__title {
        font-size: 13px !important;
    }

    .video-small-list {
        width: 100% !important;
    }

    .video-small-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .video-small {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
        width: 100% !important;
        text-decoration: none !important;
    }

    .video-small__thumb {
        width: 100% !important;
        height: 75px !important;
        position: relative !important;
        border-radius: 6px !important;
        overflow: hidden !important;
    }

    .video-small__img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
    }

    .video-small__title {
        font-size: 11px !important;
        line-height: 1.3 !important;
        margin-top: 4px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        height: 2.6em !important;
    }

    .video-panel__footer {
        margin-top: 15px !important;
    }

    /* ------------------------------------- */
    /* LÀM ĐẸP TRANG TÀI LIỆU (DOCUMENT)    */
    /* ------------------------------------- */
    .doc-content-layout {
        display: flex !important;
        flex-direction: column-reverse !important;
        gap: 20px !important;
    }

    /* ------------------------------------- */
    /* LÀM ĐẸP TRANG GIỚI THIỆU (ABOUT)     */
    /* ------------------------------------- */
    .stat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        border: none !important;
        gap: 10px !important;
    }

    .stat {
        border: 1px solid #eaeaea !important;
        border-radius: 12px !important;
        background: #f8f9fa !important;
        padding: 15px 10px !important;
        text-align: center !important;
    }

    .stat strong {
        display: block !important;
        font-size: 22px !important;
        margin-bottom: 5px !important;
        color: var(--red) !important;
    }

    .stat span {
        font-size: 12px !important;
    }

    .timeline {
        grid-template-columns: 1fr !important;
        padding: 10px !important;
        gap: 20px !important;
    }

    .timeline::before,
    .timeline::after {
        display: none !important;
    }

    .timeline__item {
        padding: 20px 15px 15px !important;
        text-align: center !important;
        margin-bottom: 0 !important;
        border: 1px solid #eaeaea !important;
        border-radius: 12px !important;
        background: #fff !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    }

    .timeline__item::before {
        left: 50% !important;
        top: -8px !important;
        transform: translateX(-50%) !important;
        width: 16px !important;
        height: 16px !important;
        border: 3px solid #fff !important;
        box-shadow: 0 2px 4px rgba(227, 0, 0, 0.3) !important;
    }

    .core-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        border: none !important;
        background: transparent !important;
    }

    .core-card {
        padding: 15px 10px !important;
        border-radius: 12px !important;
        border: 1px solid #eaeaea !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    }

    .core-card h3 {
        font-size: 13px !important;
        margin-bottom: 5px !important;
    }

    .core-card p {
        font-size: 12px !important;
        margin-bottom: 0 !important;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        border: none !important;
        background: transparent !important;
    }

    .category-card {
        padding: 15px 10px !important;
        border-radius: 12px !important;
        border: 1px solid #eaeaea !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    .category-card__icon {
        height: 80px !important;
        margin-bottom: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .category-card__icon img {
        max-height: 100% !important;
        max-width: 100% !important;
        object-fit: contain !important;
    }

    .category-card__name {
        font-size: 12px !important;
        margin-top: 5px !important;
        line-height: 1.4 !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .gallery-grid img {
        border-radius: 10px !important;
    }

    .download-grid-5 {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .download-item {
        display: flex !important;
        align-items: center !important;
        padding: 15px 0 !important;
        border: none !important;
        border-bottom: 1px solid #f0f0f0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .download-item:last-child {
        border-bottom: none !important;
    }

    .download-item>span {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex: 1 !important;
    }

    .download-item strong {
        font-size: 13px !important;
        line-height: 1.3 !important;
        margin-right: 10px !important;
        text-align: left !important;
    }

    .download-item .download-btn-sm {
        display: inline-block !important;
        margin-top: 0 !important;
        white-space: nowrap !important;
    }

    .section .panel {
        border: none !important;
        padding: 15px !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    }

    .cert-logo {
        height: 35px !important;
        object-fit: contain !important;
    }

    /* ------------------------------------- */
    /* LÀM ĐẸP TRANG GIẢI PHÁP              */
    /* ------------------------------------- */
    .solution-detail-hero {
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }

    .problem-section {
        padding-top: 10px !important;
    }

    .problem-section__head {
        margin-bottom: 20px !important;
    }

    .problem-section__desc {
        font-size: 14px !important;
        margin-top: 7px !important;
        color: #6c757d !important;
    }

    .problem-detail-box {
        padding: 15px 12px !important;
        border-radius: 12px !important;
        margin: 5px -15px 0 -15px !important;
        /* Kéo dãn sát 2 mép màn hình */
    }

    .problem-detail__col {
        padding: 5px !important;
    }

    .problem-detail-box #pd-title {
        font-size: 18px !important;
    }

    .problem-detail-box .ck-content h3,
    .problem-detail-box .ck-content h4,
    .problem-detail-box .ck-content h5 {
        font-size: 15px !important;
        margin-bottom: 8px !important;
        line-height: 1.4 !important;
    }

    .problem-detail-box .ck-content p,
    .problem-detail-box .ck-content li,
    .problem-detail-box .ck-content span {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    /* ------------------------------------- */
    /* PRODUCT GRID (2 CỘT)                 */
    /* ------------------------------------- */
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .product-card {
        padding: 8px !important;
        min-height: auto !important;
    }

    .product-card__image {
        height: 160px !important;
    }

    .product-card h3,
    .product-card .title {
        font-size: 12px !important;
        margin-top: 8px !important;
        margin-bottom: 5px !important;
        line-height: 1.3 !important;
    }

    .product-card .price {
        font-size: 14px !important;
        margin-top: 5px !important;
        text-align: center !important;
    }

    .product-card p,
    .product-card .desc,
    .product-card .text-muted {
        display: none !important;
    }

    /* ------------------------------------- */
    /* LÀM ĐẸP TRANG LIÊN HỆ (CONTACT)      */
    /* ------------------------------------- */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .contact-hero__image-wrapper {
        height: auto !important;
        min-height: 200px !important;
        margin-top: 0 !important;
    }

    .contact-hero__image-wrapper img {
        -webkit-mask-image: none !important;
        mask-image: none !important;
        border-radius: 12px !important;
    }

    .feature-list-contact {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        margin-top: 20px !important;
    }

    .feature-item-contact {
        padding: 15px 10px !important;
        border-radius: 12px !important;
        text-align: center !important;
        background: #f8f9fa !important;
        border: 1px solid #eaeaea !important;
    }

    .feature-item-contact::after {
        display: none !important;
    }

    .feature-item-contact .icon-circle {
        margin: 0 auto 10px !important;
    }

    .contact-hero__content p {
        margin-top: 15px !important;
    }

    .doc-tabs-list {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 15px !important;
        padding-bottom: 10px !important;
        -webkit-overflow-scrolling: touch;
    }

    .doc-tabs-list li {
        flex: 0 0 auto !important;
    }

    .resource-row {
        display: flex !important;
        flex-direction: column !important;
        padding: 15px !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
        border: 1px solid #eaeaea !important;
        margin-bottom: 20px !important;
    }

    .resource-product {
        display: flex !important;
        align-items: flex-start !important;
        padding-bottom: 15px !important;
        border-bottom: 1px dashed #eee !important;
    }

    .resource-product>div:first-child {
        width: 80px !important;
        height: 80px !important;
        padding: 5px !important;
    }

    .resource-product>div:first-child i {
        font-size: 24px !important;
    }

    .resource-product-info {
        margin-left: 15px !important;
        flex: 1 !important;
    }

    .resource-product-info h3 {
        font-size: 14px !important;
        margin-bottom: 5px !important;
    }

    .resource-product-info .view-detail-link {
        font-size: 11px !important;
        margin-top: 5px !important;
    }

    .resource-files {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        /* 2 cột file để gọn hơn */
        gap: 10px !important;
        margin-top: 15px !important;
        padding-left: 0 !important;
    }

    .file-chip {
        display: flex !important;
        align-items: center !important;
        background: #f8f9fa !important;
        border: 1px solid #eee !important;
        border-radius: 6px !important;
        padding: 8px !important;
        gap: 8px !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .file-chip i {
        font-size: 16px !important;
    }

    .file-chip-info strong {
        font-size: 11px !important;
    }

    .file-chip-info span {
        font-size: 9px !important;
    }

    .resource-meta-wrapper {
        grid-column: 1 / -1 !important;
        /* Dàn dài 100% */
        margin-top: 5px !important;
        padding-top: 10px !important;
        border-top: 1px dashed #eee !important;
    }

    .resource-meta-wrapper div {
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
        font-size: 11px !important;
    }

    /* ------------------------------------- */
    /* LÀM ĐẸP SIDEBAR TÀI LIỆU (DOCUMENT)  */
    /* ------------------------------------- */
    .doc-content-layout aside.sidebar,
    .sidebar {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-bottom: 15px !important;
        width: 100% !important;
        align-self: stretch !important;
    }

    .sidebar-box--gray,
    .sidebar-widget,
    .sidebar-box {
        width: 100% !important;
        padding: 14px 15px !important;
        border-radius: 10px !important;
        margin-bottom: 0 !important;
        box-sizing: border-box !important;
    }

    .support-box .btn--red {
        background: #fff !important;
        color: var(--red) !important;
        border: 1px solid var(--red) !important;
        border-radius: 20px !important;
        padding: 8px 18px !important;
        font-size: 13px !important;
        box-shadow: 0 4px 10px rgba(227, 0, 0, 0.1) !important;
    }

    .doc-tabs-list {
        border-bottom: 1px solid #eee !important;
        padding-bottom: 0 !important;
        margin-bottom: 15px !important;
    }

    .doc-tabs-list li a {
        padding: 10px 0 !important;
        margin-right: 20px !important;
        font-weight: 600 !important;
        color: #555 !important;
        position: relative;
    }

    .doc-tabs-list li a.active {
        color: var(--red) !important;
    }

    .doc-tabs-list li a.active::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--red);
    }

    /* Compare Tray Mobile */
    .compare-tray {
        bottom: 62px;
        box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.08);
    }

    .compare-tray.collapsed {
        transform: translateY(calc(100% + 62px));
    }

    .compare-tray__content {
        padding: 10px 0;
    }

    .compare-slot {
        min-height: 85px;
        padding: 5px;
    }

    .compare-slot img {
        max-height: 45px;
    }

    .compare-slot .title {
        font-size: 10px;
        margin-top: 4px;
    }

    .empty-icon-box {
        width: 32px;
        height: 32px;
    }

    .empty-icon-box i {
        font-size: 14px;
    }

    .compare-slot .remove-btn {
        top: 0;
        right: 2px;
        padding: 4px;
        font-size: 16px;
    }

    .compare-tray__toggle {
        font-size: 12px;
        padding: 4px 12px;
        top: -28px;
    }

    .compare-tray.collapsed .compare-tray__toggle {
        font-size: 13px;
        padding: 6px 16px;
        top: -85px;
    }

    #compare-slots-container {
        margin-bottom: 8px;
    }

    .compare-tray .btn-primary {
        padding: 8px !important;
        font-size: 13px;
        margin-bottom: 5px;
    }

    .compare-tray .text-primary {
        font-size: 12px !important;
    }

    /* Product Detail Mobile */
    .product-detail-top {
        padding: 0;
        border: none;
        background: transparent;
        gap: 15px;
        margin-bottom: 15px;
    }

    .product-page-layout {
        gap: 15px;
        padding-bottom: 20px;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .product-page-layout__main {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .product-detail-top {
        padding: 12px 10px !important;
        gap: 16px !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .product-info-panel__actions .btn-action-stack {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .btn-stack-item {
        padding: 9px 12px !important;
    }

    .product-sticky-tabs-wrap {
        top: 161px !important;
        z-index: 995 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
        border-radius: 8px !important;
    }

    .product-sticky-tabs {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .product-page-layout__sidebar {
        gap: 15px;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .detail-block {
        margin-bottom: 12px;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .detail-block__header h2 {
        font-size: 13px !important;
    }

    .product-page-layout__main .detail-block:last-child {
        margin-bottom: 0;
    }

    .sidebar-widget {
        padding: 15px;
        border-radius: 4px;
        margin-bottom: 0;
    }

    .detail-block__content {
        padding: 12px 15px !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .section-products {
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }

    .price-val-vat {
        font-size: 17px;
        color: var(--red);
        font-weight: 800;
    }

    .price-val {
        font-size: 15px;
        color: var(--red);
        font-weight: 800;
    }

    .btn-buy-now .btn-buy-now__sub {
        font-size: 12px;
        font-weight: normal;
        opacity: 0.95;
        line-height: 5px;
    }

    /* FIX MOBLE MEDIA DISTORTION & OVERFLOW (IMAGES, IFRAMES, VIDEOS, TABLES) */
    .main-detail-content img,
    .content-body img,
    .product-description img,
    .article-content img,
    .news-detail img,
    .doc-detail img,
    .vd-detail-card img,
    .ck-content img,
    .rich-text img,
    .entry-content img,
    .detail-description img,
    .technical-specs img,
    .accordion-body img {
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        margin-top: 14px !important;
        margin-bottom: 14px !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .main-detail-content iframe,
    .content-body iframe,
    .product-description iframe,
    .article-content iframe,
    .news-detail iframe,
    .doc-detail iframe,
    .vd-detail-card iframe,
    .ck-content iframe,
    .rich-text iframe,
    .entry-content iframe,
    .detail-description iframe,
    .technical-specs iframe,
    .accordion-body iframe,
    .main-detail-content video,
    .content-body video,
    .product-description video,
    .article-content video,
    .vd-detail-card video,
    .ck-content video,
    .main-detail-content embed,
    .content-body embed {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        margin-top: 14px !important;
        margin-bottom: 14px !important;
    }

    .main-detail-content table,
    .content-body table,
    .product-description table,
    .article-content table,
    .news-detail table,
    .doc-detail table,
    .vd-detail-card table,
    .ck-content table,
    .rich-text table,
    .entry-content table,
    .detail-description table,
    .technical-specs table,
    .accordion-body table {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 14px !important;
        margin-bottom: 14px !important;
        color: #334155 !important;
        vertical-align: top !important;
        border-collapse: collapse !important;
        border-spacing: 0 !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 6px !important;
        overflow: hidden !important;
        background-color: #ffffff !important;
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .main-detail-content table *,
    .content-body table *,
    .product-description table *,
    .article-content table *,
    .news-detail table *,
    .doc-detail table *,
    .vd-detail-card table *,
    .ck-content table *,
    .rich-text table *,
    .entry-content table *,
    .detail-description table *,
    .technical-specs table *,
    .accordion-body table * {
        font-family: inherit !important;
    }

    .main-detail-content figure,
    .content-body figure,
    .product-description figure,
    .article-content figure,
    .news-detail figure,
    .doc-detail figure,
    .ck-content figure,
    .rich-text figure {
        max-width: 100% !important;
        height: auto !important;
    }

    .main-detail-content p,
    .content-body p,
    .product-description p,
    .article-content p,
    .news-detail p,
    .doc-detail p,
    .ck-content p {
        max-width: 100% !important;
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

/* Hide Mobile Elements on Desktop */
@media screen and (min-width: 992px) {
    .d-mobile-only {
        display: none !important;
    }
}