/*
 * Modern UI refresh inspired by staging.sanxuatvali.vn.
 * This layer intentionally changes presentation only; legacy content and PHP logic stay intact.
 */
:root {
    --ino-primary: #005586;
    --ino-primary-dark: #003d61;
    --ino-primary-light: #0a78b4;
    --ino-accent: #c89b3c;
    --ino-ink: #122433;
    --ino-muted: #647482;
    --ino-soft: #eef7fb;
    --ino-surface: #ffffff;
    --ino-line: #d9e7ee;
    --ino-shadow-sm: 0 10px 26px rgba(0, 45, 72, .10);
    --ino-shadow-md: 0 20px 44px rgba(0, 45, 72, .14);
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f7fbfd;
    color: var(--ino-ink);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
}

a {
    transition: color .18s ease, background-color .18s ease, border-color .18s ease,
        box-shadow .18s ease, transform .18s ease;
}

a:hover,
a:focus {
    text-decoration: none;
}

::selection {
    background: var(--ino-primary);
    color: #fff;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 10px 26px rgba(0, 45, 72, .10);
    position: relative;
    z-index: 1000;
}

.site-header__main {
    padding-bottom: 10px;
    padding-top: 10px;
}

.site-header__main>.row {
    align-items: center;
    min-height: 60px;
}

.site-header .logogiayda a {
    display: block;
}

.site-header .logogiayda img {
    margin: 0;
    max-height: 56px;
    object-fit: contain;
    width: auto !important;
}

.site-header .timkiemsanpham {
    padding: 0 34px;
}

.site-header .timkiemsanpham .input-group,
.site-header .mobile-search-row .input-group {
    border: 1px solid var(--ino-line);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 45, 72, .07);
    overflow: hidden;
}

.site-header .mobile-search-row .input-group {
    display: flex;
    width: 100%;
}

.site-header .mobile-search-row .input-group .form-control {
    flex: 1 1 auto;
    min-width: 0;
}

.site-header .mobile-search-row .input-group-btn {
    flex: 0 0 auto;
    width: auto;
}

.site-header .timkiemsanpham .form-control,
.site-header .mobile-search-row .form-control {
    background: #fff;
    border: 0 !important;
    box-shadow: none;
    height: 44px;
    margin: 0;
    padding: 8px 20px;
    width: 100%;
}

.site-header .headertimkiem {
    background: var(--ino-primary) !important;
    border: 0;
    color: #fff !important;
    font-weight: 700;
    height: 44px;
    padding: 0 24px !important;
}

.site-header .headertimkiem:hover,
.site-header .headertimkiem:focus {
    background: var(--ino-primary-dark) !important;
}

.site-header .giohang {
    background: transparent;
    padding: 0;
}

.site-header .giohang a {
    align-items: center;
    border: 1px solid var(--ino-line);
    border-radius: 999px;
    color: var(--ino-primary);
    display: inline-flex;
    font-weight: 800;
    margin-left: auto;
    overflow: hidden;
    text-transform: uppercase;
}

.site-header .giohang span {
    border: 0;
    color: var(--ino-primary);
    padding: 9px 14px;
}

.site-header .giohang i {
    align-items: center;
    background: var(--ino-primary);
    display: inline-flex;
    height: 42px;
    justify-content: center;
    padding: 0;
    width: 42px;
}

.site-header__nav-container {
    background: #fff;
    border-top: 1px solid #edf3f6;
    max-width: none;
    padding: 0;
    width: 100%;
}

.site-header .site-header__nav {
    align-items: stretch;
    background: #fff !important;
    display: flex;
    margin: 0 auto;
    max-width: 1170px;
    min-height: 64px;
    padding: 0 15px;
}

.site-header__menu {
    align-items: stretch;
    display: flex;
    padding-left: 0;
}

.site-header .menunhieucap {
    align-items: stretch;
    display: flex;
    gap: 4px;
    justify-content: flex-start;
}

.site-header .menunhieucap>li {
    align-items: stretch;
    display: flex;
}

.site-header .menunhieucap li a {
    align-items: center;
    color: var(--ino-primary) !important;
    display: flex;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .15px;
    min-height: 64px;
    padding: 0 20px;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-header .menunhieucap>li>a:hover,
.site-header .menunhieucap>li>a:focus {
    background: var(--ino-soft);
    color: var(--ino-primary-dark) !important;
}

.site-header .menunhieucap>li>ul {
    background: #fff !important;
    border: 1px solid var(--ino-line);
    border-radius: 0 0 8px 8px;
    box-shadow: var(--ino-shadow-md);
    display: block;
    left: 0;
    opacity: 0;
    overflow: visible;
    padding: 8px 0;
    pointer-events: none;
    top: 100%;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
    visibility: hidden;
    width: 260px;
}

.site-header .menunhieucap>li:hover>ul,
.site-header .menunhieucap>li:focus-within>ul {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.site-header .menunhieucap>li>ul>li {
    border-bottom: 1px solid #edf3f6;
    padding: 0;
}

.site-header .menunhieucap>li>ul>li:last-child {
    border-bottom: 0;
}

.site-header .menunhieucap>li>ul a {
    color: var(--ino-ink) !important;
    font-size: 13px;
    min-height: 0;
    padding: 10px 16px;
    text-transform: none;
    white-space: normal;
}

.site-header .menunhieucap>li>ul a:hover {
    background: var(--ino-soft);
    color: var(--ino-primary) !important;
}

.site-header .menunhieucap>li>ul>li>ul {
    background: #fff !important;
    border: 1px solid var(--ino-line);
    border-radius: 8px;
    box-shadow: var(--ino-shadow-md);
    left: calc(100% + 4px);
    padding: 8px 0;
    top: -8px;
}

.site-header__contact {
    align-items: center;
    display: flex;
    justify-content: flex-end;
}

.site-header__hotline-wrap {
    margin: 0 !important;
    padding: 0 !important;
}

.site-header__hotline-wrap .hotline {
    background: var(--ino-primary) !important;
    border: 1px solid var(--ino-primary) !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 24px rgba(0, 85, 134, .18);
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .2px;
    margin: 0 !important;
    padding: 10px 18px !important;
}

.site-header__mobile {
    display: none;
}

/* Home */
.home-modern {
    background: #f7fbfd;
    overflow: hidden;
}

.home-modern .home-api-banner {
    background: #fff;
    box-shadow: 0 16px 34px rgba(0, 45, 72, .10);
    line-height: 0;
    max-width: none;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

/* Bootstrap Carousel Core & Animation */
.home-modern .carousel,
.carousel {
    position: relative;
}

.home-modern .carousel-inner,
.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.home-modern .carousel-inner>.item,
.carousel-inner>.item {
    position: relative;
    display: none;
    -webkit-transition: .6s ease-in-out left;
    -o-transition: .6s ease-in-out left;
    transition: .6s ease-in-out left;
    width: 100%;
}

.home-modern .carousel-inner>.item>img,
.home-modern .carousel-inner>.item>a>img,
.carousel-inner>.item>img {
    display: block;
    height: auto;
    max-width: 100%;
    line-height: 1;
    width: 100%;
}

.home-modern .carousel-inner>.active,
.home-modern .carousel-inner>.next,
.home-modern .carousel-inner>.prev,
.carousel-inner>.active,
.carousel-inner>.next,
.carousel-inner>.prev {
    display: block;
}

.home-modern .carousel-inner>.active,
.carousel-inner>.active {
    left: 0;
}

.home-modern .carousel-inner>.next,
.home-modern .carousel-inner>.prev,
.carousel-inner>.next,
.carousel-inner>.prev {
    position: absolute;
    top: 0;
    width: 100%;
}

.home-modern .carousel-inner>.next,
.carousel-inner>.next {
    left: 100%;
}

.home-modern .carousel-inner>.prev,
.carousel-inner>.prev {
    left: -100%;
}

.home-modern .carousel-inner>.next.left,
.home-modern .carousel-inner>.prev.right,
.carousel-inner>.next.left,
.carousel-inner>.prev.right {
    left: 0;
}

.home-modern .carousel-inner>.active.left,
.carousel-inner>.active.left {
    left: -100%;
}

.home-modern .carousel-inner>.active.right,
.carousel-inner>.active.right {
    left: 100%;
}

/* Modern Carousel Arrow Controls */
.home-modern .home-api-banner .carousel-control,
.carousel-control {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 60px;
    font-size: 24px;
    color: #fff;
    text-align: center;
    background-image: none !important;
    background-color: transparent;
    opacity: 0.85;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    text-decoration: none;
    transition: all .25s ease;
}

.home-modern .home-api-banner .carousel-control.right,
.carousel-control.right {
    right: 0;
    left: auto;
}

.home-modern .home-api-banner .carousel-control:hover,
.home-modern .home-api-banner .carousel-control:focus,
.carousel-control:hover {
    opacity: 1;
    color: #fff;
    text-decoration: none;
}

.home-modern .home-api-banner .carousel-control .control-arrow {
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    transition: all .2s ease;
    width: 44px;
}

.home-modern .home-api-banner .carousel-control:hover .control-arrow {
    background: rgba(0, 85, 134, 0.85);
    transform: scale(1.1);
}

.home-modern .carousel-indicators,
.carousel-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    z-index: 15;
    width: 60%;
    padding-left: 0;
    margin-left: -30%;
    text-align: center;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.home-modern .carousel-indicators li,
.carousel-indicators li {
    background: rgba(255, 255, 255, .55);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    display: inline-block;
    height: 8px;
    margin: 0;
    transition: all .3s ease;
    width: 8px;
}

.home-modern .carousel-indicators .active,
.carousel-indicators .active {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
    height: 8px;
    width: 24px;
}

.home-modern .home-section {
    padding-bottom: 70px;
    padding-top: 70px;
    position: relative;
}

.home-modern .legacy-home-about {
    background: #ffffff;
    border-bottom: 1px solid var(--ino-line);
    position: relative;
}

.home-modern .home-about-layout {
    align-items: center;
    display: flex;
    gap: 48px;
    margin-bottom: 0;
    margin-top: 0;
    padding-bottom: 60px;
    padding-top: 20px;
}

.home-modern .home-about-layout>[class*="col-"] {
    float: none;
    padding: 0;
    width: calc(50% - 24px);
}

.home-modern .about-content-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.home-modern .about-tagline {
    margin-bottom: 2px;
}

.home-modern .about-badge {
    background: linear-gradient(135deg, rgba(0, 85, 134, 0.08) 0%, rgba(200, 155, 60, 0.12) 100%);
    border: 1px solid rgba(0, 85, 134, 0.15);
    border-radius: 999px;
    color: var(--ino-primary-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    text-transform: uppercase;
}

.home-modern .about-badge i {
    color: var(--ino-accent);
}

.home-modern .about-heading {
    color: var(--ino-ink);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin: 0;
}

.home-modern .about-heading .brand-highlight {
    background: linear-gradient(135deg, var(--ino-primary) 0%, var(--ino-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-modern .about-lead {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.home-modern .about-lead strong {
    color: var(--ino-ink);
}

/* Features Grid */
.home-modern .about-features-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 4px;
}

.home-modern .about-feature-item {
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    gap: 12px;
    padding: 14px;
    transition: all 0.25s ease;
}

.home-modern .about-feature-item:hover {
    background: #ffffff;
    border-color: rgba(0, 85, 134, 0.25);
    box-shadow: 0 10px 24px rgba(0, 85, 134, 0.08);
    transform: translateY(-2px);
}

.home-modern .about-feature-item .feature-icon {
    align-items: center;
    background: linear-gradient(135deg, var(--ino-primary) 0%, var(--ino-primary-light) 100%);
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex-shrink: 0;
    font-size: 11px;
    height: 24px;
    justify-content: center;
    margin-top: 2px;
    width: 24px;
}

.home-modern .about-feature-item .feature-text strong {
    color: var(--ino-ink);
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 3px;
}

.home-modern .about-feature-item .feature-text p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
}

/* Trust Bar */
.home-modern .about-trust-bar {
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 85, 134, 0.04) 0%, rgba(200, 155, 60, 0.04) 100%);
    border: 1px dashed rgba(0, 85, 134, 0.2);
    border-radius: 12px;
    display: flex;
    justify-content: space-around;
    margin-top: 4px;
    padding: 12px 16px;
    text-align: center;
}

.home-modern .about-trust-bar .trust-item {
    flex: 1;
}

.home-modern .about-trust-bar .trust-item:not(:last-child) {
    border-right: 1px solid rgba(0, 85, 134, 0.12);
}

.home-modern .about-trust-bar .trust-val {
    color: var(--ino-primary);
    display: block;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
}

.home-modern .about-trust-bar .trust-lbl {
    color: #64748b;
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-top: 2px;
}

/* CTA Row */
.home-modern .about-cta-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 6px;
}

.home-modern .btn-about-call {
    align-items: center;
    background: linear-gradient(135deg, #005586 0%, #003d61 100%);
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(0, 85, 134, 0.25);
    color: #ffffff !important;
    display: inline-flex;
    gap: 12px;
    padding: 8px 24px 8px 10px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.home-modern .btn-about-call:hover {
    box-shadow: 0 16px 36px rgba(0, 85, 134, 0.35);
    transform: translateY(-2px);
}

.home-modern .call-icon-pulse {
    align-items: center;
    background: #ff9800;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    font-size: 15px;
    height: 38px;
    justify-content: center;
    width: 38px;
    animation: inoPulse 2s infinite;
}

@keyframes inoPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.6);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 152, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0);
    }
}

.home-modern .btn-call-info {
    display: flex;
    flex-direction: column;
}

.home-modern .btn-call-info small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    line-height: 1;
}

.home-modern .btn-call-info strong {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.home-modern .btn-about-zalo {
    align-items: center;
    background: #ffffff;
    border: 1.5px solid var(--ino-primary);
    border-radius: 999px;
    color: var(--ino-primary) !important;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
    padding: 12px 24px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.home-modern .btn-about-zalo:hover {
    background: var(--ino-primary);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 85, 134, 0.18);
}

/* Media Box */
.home-modern .about-media-wrapper {
    position: relative;
}

.home-modern .about-hero-img {
    border-radius: 16px;
    box-shadow: 0 24px 50px rgba(0, 45, 72, 0.18);
    display: block;
    object-fit: cover;
    height: auto;
    transition: transform 0.35s ease;
    width: 75%;
}

.home-modern .about-media-wrapper:hover .about-hero-img {
    transform: scale(1.01);
}

.home-modern .about-media-badge {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    bottom: -18px;
    box-shadow: 0 16px 36px rgba(0, 45, 72, 0.16);
    display: flex;
    gap: 12px;
    left: 20px;
    padding: 12px 20px;
    position: absolute;
}

.home-modern .about-media-badge .badge-icon {
    align-items: center;
    background: linear-gradient(135deg, #c89b3c 0%, #dfb75f 100%);
    border-radius: 10px;
    color: #ffffff;
    display: flex;
    font-size: 16px;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.home-modern .about-media-badge .badge-content strong {
    color: var(--ino-ink);
    display: block;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

.home-modern .about-media-badge .badge-content span {
    color: #64748b;
    display: block;
    font-size: 12px;
    margin-top: 2px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .home-modern .home-about-layout {
        flex-direction: column;
        gap: 0;
        padding-bottom: 40px;
    }

    .home-modern .home-about-layout>[class*="col-"] {
        width: 100% !important;
    }

    .home-modern .home-about-media {
        display: none !important;
    }

    .home-modern .about-features-grid {
        grid-template-columns: 1fr;
    }

    .home-modern .about-media-badge {
        bottom: 12px;
        left: 12px;
    }
}

/* ========================================================
   SECTION HEADERS (SHARED)
======================================================== */
.home-modern .section-header {
    margin-bottom: 36px;
}

.home-modern .section-badge {
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 85, 134, 0.08) 0%, rgba(200, 155, 60, 0.12) 100%);
    border: 1px solid rgba(0, 85, 134, 0.15);
    border-radius: 999px;
    color: var(--ino-primary-dark);
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 6px;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    padding: 5px 14px;
    text-transform: uppercase;
}

.home-modern .section-badge i {
    color: var(--ino-accent);
}

.home-modern .section-title {
    color: var(--ino-ink);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.4px;
    line-height: 1.3;
    margin: 0 0 8px;
}

.home-modern .section-subtitle {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 650px;
}

/* ========================================================
   SECTION 1: FEATURED CATEGORIES SLIDER
======================================================== */
.home-modern .home-featured-categories {
    background: linear-gradient(180deg, #f4f8fb 0%, #ffffff 100%);
    border-bottom: 1px solid var(--ino-line);
    height: auto !important;
    max-width: none;
    padding: 50px 0 60px;
}

.home-modern .featured-categories-slider-wrapper {
    margin: 0;
    position: relative;
}

.home-modern .home-featured-categories .slicker-3 {
    margin: 0;
    padding: 6px 0 20px;
}

.home-modern .home-featured-categories .slick-list {
    overflow: hidden !important;
    padding: 8px 0 16px !important;
}

.home-modern .slicker-3 li,
.home-modern .slicker-3 .slicker-item {
    height: auto !important;
    padding: 0 12px;
    outline: none !important;
}

.home-modern .danhmucnoibat {
    background: #0b1a28;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 45, 72, 0.12);
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    text-decoration: none !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-modern .danhmucnoibat::after {
    background: linear-gradient(180deg, rgba(0, 20, 35, 0.02) 0%, rgba(0, 24, 40, 0.25) 45%, rgba(0, 18, 30, 0.88) 100%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    transition: background 0.35s ease;
    z-index: 2;
}

.home-modern .danhmucnoibat:hover {
    border-color: rgba(0, 85, 134, 0.5);
    box-shadow: 0 22px 48px rgba(0, 45, 72, 0.25);
    transform: translateY(-6px);
}

.home-modern .danhmucnoibat:hover::after {
    background: linear-gradient(180deg, rgba(0, 20, 35, 0.0) 0%, rgba(0, 24, 40, 0.35) 40%, rgba(0, 18, 30, 0.94) 100%);
}

.home-modern .category-card-bg {
    display: block;
    height: 100% !important;
    inset: 0;
    object-fit: cover !important;
    position: absolute;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100% !important;
    z-index: 1;
}

.home-modern .danhmucnoibat:hover .category-card-bg {
    transform: scale(1.08);
}

.home-modern .category-overlay-content {
    align-items: center;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    left: 0;
    padding: 24px 20px 22px;
    position: absolute;
    right: 0;
    text-align: center;
    z-index: 5;
}

.home-modern .category-overlay-content .motadanhmuc {
    background: none !important;
    color: #ffffff !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    line-height: 1.3;
    margin: 0 !important;
    min-height: auto !important;
    padding: 0 !important;
    position: static !important;
    text-align: center !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    transform: none !important;
    transition: transform 0.25s ease;
}

.home-modern .danhmucnoibat:hover .category-overlay-content .motadanhmuc {
    transform: translateY(-2px);
}

.home-modern .category-overlay-content .category-view-btn {
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: #ffffff !important;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 6px;
    justify-content: center;
    margin-top: 4px;
    padding: 7px 18px;
    transition: all 0.25s ease;
}

.home-modern .danhmucnoibat:hover .category-overlay-content .category-view-btn {
    background: var(--ino-primary);
    border-color: var(--ino-primary);
    box-shadow: 0 6px 18px rgba(0, 85, 134, 0.45);
    gap: 10px;
}

/* ========================================================
   SECTION 2: FACTORY & CAPABILITIES GALLERY
======================================================== */
.home-modern .home-factory-gallery {
    background: #ffffff;
    border-bottom: 1px solid var(--ino-line);
    height: auto !important;
    padding: 50px 0 60px;
}

.home-modern .home-factory-slider-wrapper {
    margin: 0 -12px;
    position: relative;
}

.home-modern .home-factory-slider {
    margin: 0;
    padding: 10px 0 24px;
}

.home-modern .home-factory-gallery .slick-list {
    overflow: hidden;
    padding: 12px 0 16px !important;
}

.home-modern .factory-slide-item {
    outline: none !important;
    padding: 0 12px;
}

.home-modern .home-factory-gallery .factory-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 45, 72, 0.08);
    height: auto !important;
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-modern .home-factory-gallery .factory-card:hover {
    border-color: rgba(0, 85, 134, 0.3);
    box-shadow: 0 18px 40px rgba(0, 85, 134, 0.15);
    transform: translateY(-4px);
}

.home-modern .home-factory-gallery .factory-card img {
    display: block;
    height: auto !important;
    object-fit: contain !important;
    padding: 0 !important;
    transition: transform 0.4s ease;
    width: 100% !important;
}

.home-modern .home-factory-gallery .factory-card:hover img {
    transform: scale(1.02);
}

/* ========================================================
   SHARED SLICK CONTROLS (ARROWS & DOTS)
======================================================== */
.home-modern .slick-prev,
.home-modern .slick-next {
    align-items: center;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 50% !important;
    box-shadow: 0 10px 24px rgba(0, 45, 72, 0.14) !important;
    display: flex !important;
    height: 46px !important;
    justify-content: center;
    top: 45% !important;
    transform: translateY(-50%);
    transition: all 0.25s ease !important;
    width: 46px !important;
    z-index: 25;
}

.home-modern .slick-prev {
    left: -18px !important;
}

.home-modern .slick-next {
    right: -18px !important;
}

.home-modern .slick-prev:before,
.home-modern .slick-next:before {
    color: var(--ino-primary) !important;
    font-family: "FontAwesome" !important;
    font-size: 18px !important;
    opacity: 1 !important;
    transition: color 0.2s ease;
}

.home-modern .slick-prev:before {
    content: "\f104" !important;
}

.home-modern .slick-next:before {
    content: "\f105" !important;
}

.home-modern .slick-prev:hover,
.home-modern .slick-next:hover {
    background: var(--ino-primary) !important;
    border-color: var(--ino-primary) !important;
    box-shadow: 0 14px 30px rgba(0, 85, 134, 0.3) !important;
    transform: translateY(-50%) scale(1.08);
}

.home-modern .slick-prev:hover:before,
.home-modern .slick-next:hover:before {
    color: #ffffff !important;
}

.home-modern .slick-dots {
    align-items: center;
    bottom: -6px;
    display: flex !important;
    gap: 8px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-modern .slick-dots li {
    display: inline-block;
    height: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 8px !important;
}

.home-modern .slick-dots li button {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: block;
    height: 8px;
    padding: 0;
    width: 8px;
}

.home-modern .slick-dots li button:before {
    background: rgba(0, 85, 134, 0.25);
    border-radius: 999px;
    content: "";
    display: block;
    height: 8px;
    opacity: 1;
    transition: all 0.3s ease;
    width: 8px;
}

.home-modern .slick-dots li.slick-active {
    width: 24px !important;
}

.home-modern .slick-dots li.slick-active button:before {
    background: var(--ino-primary);
    box-shadow: 0 2px 8px rgba(0, 85, 134, 0.35);
    width: 24px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .home-modern .category-card-img {
        height: 200px;
    }

    .home-modern .factory-card {
        height: 260px;
    }

    .home-modern .slick-prev {
        left: 0 !important;
    }

    .home-modern .slick-next {
        right: 0 !important;
    }
}

.home-modern .home-category-section {
    background: #f7fbfd;
}

.home-modern .titlechung,
.home-modern .backgroundtimkiem {
    background: transparent !important;
    color: var(--ino-ink);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 auto 34px;
    padding: 0 0 18px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
}

.home-modern .titlechung:after,
.home-modern .backgroundtimkiem:after {
    background: var(--ino-accent);
    border-radius: 999px;
    bottom: 0;
    content: "";
    height: 3px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 54px;
}

.home-modern .backgroundtimkiem .title2,
.home-modern .backgroundtimkiem .title2 a {
    color: var(--ino-ink);
    display: block;
    font-size: inherit;
    padding: 0;
}

.home-modern .danhmucsanpham {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
}

.home-modern .danhmucsanpham li {
    padding: 0;
    width: auto;
}

.home-modern .danhmucsanpham li a {
    background: var(--ino-primary);
    border-radius: 8px;
    box-shadow: var(--ino-shadow-sm);
    display: block;
    overflow: hidden;
    position: relative;
}

.home-modern .danhmucsanpham li a:after {
    background: linear-gradient(180deg, rgba(0, 85, 134, .04), rgba(0, 35, 56, .86));
    content: "";
    inset: 0;
    position: absolute;
}

.home-modern .danhmucsanpham li a img {
    height: auto;
    margin: 0;
    max-height: none;
    max-width: none;
    object-fit: cover;
    transition: transform .3s ease;
    width: 100%;
}

.home-modern .danhmucsanpham li a:hover img {
    transform: scale(1.05);
}

.home-modern .danhmucsanpham li a span {
    border: 0;
    bottom: 18px;
    color: #fff;
    font-size: 15px;
    left: 18px;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 18px;
    text-align: left;
    z-index: 2;
}

.home-modern .home-products {
    /*padding-bottom: 72px;*/
}

.home-modern .home-products>.row {
    margin-left: -10px;
    margin-right: -10px;
}

.home-modern .home-products .backgroundtimkiem {
    margin-top: 58px;
}

.home-modern .home-products .slider {
    margin-bottom: 18px;
}

.home-modern .home-products .design {
    padding: 10px;
}

.home-modern .home-products .thumbnail {
    background: #fff;
    border: 1px solid rgba(0, 85, 134, .10);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(0, 45, 72, .10);
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    overflow: hidden;
    padding: 0;
    transition: box-shadow .22s ease, transform .22s ease;
}

.home-modern .home-products .thumbnail:hover {
    box-shadow: var(--ino-shadow-md);
    transform: translateY(-3px);
}

.home-modern .home-products .thumbnail>a:first-child {
    background: #fff;
    border-bottom: 1px solid #edf3f6;
    display: block;
    overflow: hidden;
}

.home-modern .home-products .thumbnail>a:first-child img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 15px;
    transition: transform .25s ease;
    width: 100%;
}

.home-modern .home-products .thumbnail:hover>a:first-child img {
    transform: scale(1.04);
}

.home-modern .home-products .caption {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 17px 15px 15px;
    width: 100%;
}

.home-modern .home-products .caption .title {
    color: var(--ino-ink);
    font-size: 14px;
    font-weight: 800;
    height: auto;
    line-height: 1.5;
    margin: 0 0 15px;
    min-height: 42px;
    text-align: left;
    text-transform: uppercase;
}

.home-modern .home-products .setgia {
    align-items: center;
    border-top: 1px solid #edf3f6;
    margin-top: auto;
    padding-top: 12px;
}

.home-modern .home-products .price {
    color: #c3412c;
    font-size: 16px;
    font-weight: 800;
}

.home-modern .home-products .chuagiam {
    color: #5f6b76;
    font-size: 12px;
}

.home-modern .home-products .muahang {
    background: var(--ino-primary);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: block;
    float: none;
    font-size: 13px;
    font-weight: 800;
    margin-top: 14px;
    padding: 9px 16px;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}

.home-modern .home-products .muahang:hover {
    background: var(--ino-primary-dark);
    color: #fff;
}

.home-modern .home-news-section {
    padding: 54px 0 60px;
}

.home-modern .home-news-section .baiviet {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.home-modern .home-news-section .baiviet>li {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(0, 85, 134, .10);
    border-radius: 8px;
    box-shadow: var(--ino-shadow-sm);
    display: flex;
    margin: 0;
    overflow: hidden;
    padding: 12px;
    width: auto;
}

.home-modern .home-news-section .baiviet .pull-left {
    flex: 0 0 150px;
    margin: 0 16px 0 0;
}

.home-modern .home-news-section .media-object {
    border-radius: 6px;
    height: 96px;
    object-fit: cover;
    width: 150px;
}

.home-modern .home-news-section .media-body {
    float: none;
    width: auto;
}

.home-modern .home-news-section .media-heading {
    color: var(--ino-ink);
    font-size: 16px;
    font-weight: 750;
    line-height: 1.45;
    margin: 0;
}

.home-modern .home-news-section a:hover .media-heading {
    color: var(--ino-primary);
}

/* Footer */
#footer.site-footer {
    background: #164764 !important;
    color: #fff;
    margin-top: 0 !important;
    padding: 46px 0;
}

#footer.site-footer .container {
    display: flex;
    flex-wrap: wrap;
}

#footer.site-footer [class*="cot"] {
    color: rgba(255, 255, 255, .86);
    font-size: 15px;
    line-height: 1.8;
    padding-left: 24px;
    padding-right: 24px;
}

#footer.site-footer p,
#footer.site-footer span,
#footer.site-footer strong,
#footer.site-footer a,
#footer.site-footer li {
    color: inherit !important;
}

#footer.site-footer p:first-child,
#footer.site-footer p:first-child strong,
#footer.site-footer p:first-child span {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 800 !important;
}

#footer.site-footer iframe,
#footer.site-footer img {
    max-width: 100%;
}

/* Shared interior-page polish */
.breadcrumb {
    background: var(--ino-soft);
    border-radius: 8px;
    color: var(--ino-primary);
    margin-top: 22px;
    padding: 12px 16px;
}

.breadcrumb a {
    color: var(--ino-primary);
    font-weight: 700;
}

.gioithieucongty,
.chitietsanpham {
    background: #fff;
    border: 1px solid rgba(0, 85, 134, .10);
    border-radius: 8px;
    box-shadow: var(--ino-shadow-sm);
    margin-bottom: 28px;
    padding: 24px;
}

.content-sanpham {
    padding: 18px 24px;
}

.content-sanpham h1.title,
.gioithieucongty h1,
.gioithieucongty h2 {
    color: var(--ino-ink);
}

.content-sanpham .product-purchase {
    align-items: center;
    border-top: 1px solid var(--ino-line);
    clear: both;
    display: flex;
    gap: 16px;
    margin-top: 20px;
    padding-top: 18px;
}

.content-sanpham .product-purchase .soluong {
    flex: 0 0 auto;
}

.content-sanpham .product-purchase .soluong input {
    border: 1px solid var(--ino-line);
    border-radius: 6px;
    font-size: 16px;
    height: 40px;
    padding: 6px 8px;
    text-align: center;
    width: 58px;
}

.content-sanpham .product-pricing {
    float: none !important;
    line-height: 1.25;
}

.content-sanpham .product-pricing .price {
    font-size: 20px;
    white-space: nowrap;
}

.content-sanpham .product-pricing .chuagiam {
    color: #667784;
    font-size: 14px;
    margin-top: 3px;
    white-space: nowrap;
}

.content-sanpham .product-purchase-action {
    float: none !important;
    margin-left: auto;
}

.content-sanpham .product-purchase-action .btn {
    min-width: 96px;
    white-space: nowrap;
}

.phan1 {
    background: #f7fbfd;
    margin-bottom: 0;
    padding-bottom: 70px;
}

.phan1>.container {
    padding-top: 0;
}

.menutraichu {
    padding-right: 22px;
}

.menudoctrai {
    background: #fff;
    border: 1px solid var(--ino-line);
    border-radius: 8px;
    box-shadow: var(--ino-shadow-sm);
    overflow: visible;
}

.menudoctrai li.item {
    background: #fff !important;
    border-bottom: 1px solid #edf3f6 !important;
    padding-left: 0;
}

.menudoctrai li.item:first-child {
    border-radius: 8px 8px 0 0;
}

.menudoctrai li.item:last-child {
    border-bottom: 0 !important;
    border-radius: 0 0 8px 8px;
}

.menudoctrai li.item>a.titlemenu {
    align-items: center;
    color: var(--ino-ink) !important;
    display: flex;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    line-height: 1.4;
    min-height: 52px;
    padding: 11px 38px 11px 46px;
    transition: background .18s ease, color .18s ease;
    width: auto;
}

.menudoctrai li.item>a.titlemenu:hover,
.menudoctrai li.item>a.titlemenu:focus {
    background: var(--ino-soft);
    color: var(--ino-primary) !important;
}

.menudoctrai li.item .am-chen-bat-tran {
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.menudoctrai li.item .fa-angle-right {
    color: var(--ino-primary);
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.menudoctrai .submenu2 {
    background: #fff !important;
    border: 1px solid var(--ino-line);
    border-radius: 8px;
    box-shadow: var(--ino-shadow-md);
    left: calc(100% + 6px);
    overflow: hidden;
    width: 240px;
}

.menudoctrai .submenu2 .submenu {
    padding: 0 !important;
}

.menudoctrai .submenu2 .submenu li a {
    color: var(--ino-ink) !important;
    padding: 11px 14px;
}

.menudoctrai .submenu2 .submenu li a:hover {
    background: var(--ino-soft);
    color: var(--ino-primary) !important;
}

.menutraichu .hinhanh img {
    border-radius: 8px;
    box-shadow: var(--ino-shadow-sm);
    margin-top: 20px;
}

.baivietxemnhieu {
    background: #fff;
    border: 1px solid var(--ino-line);
    border-radius: 8px;
    box-shadow: var(--ino-shadow-sm);
    margin-top: 20px;
    overflow: hidden;
}

.baivietxemnhieu>h3 {
    background: var(--ino-primary) !important;
    font-size: 15px !important;
    font-weight: 800;
    padding: 12px 10px !important;
}

.baivietxemnhieu .media-list {
    padding: 8px 12px 12px;
}

.phan1 .designew {
    align-items: stretch;
}

.phan1 .designew .design {
    display: flex;
    padding: 0 4px 16px;
}

.phan1 .designew .thumbnail,
.chitietsanpham .thumbnail {
    background: #fff;
    border: 1px solid rgba(0, 85, 134, .12);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 45, 72, .09);
    display: flex;
    flex-direction: column;
    margin: 0;
    overflow: hidden;
    padding: 0;
    transition: box-shadow .2s ease, transform .2s ease;
    width: 100%;
}

.phan1 .designew .thumbnail:hover,
.chitietsanpham .thumbnail:hover {
    box-shadow: var(--ino-shadow-md);
    transform: translateY(-2px);
}

.phan1 .designew .thumbnail>a,
.chitietsanpham .thumbnail>a {
    background: #fff;
    border-bottom: 1px solid #edf3f6;
    display: block;
}

.phan1 .designew .thumbnail>a img,
.chitietsanpham .thumbnail>a img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 10px;
    width: 100%;
}

.phan1 .designew .caption,
.chitietsanpham .thumbnail .caption {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px 12px 13px;
    width: 100%;
}

.phan1 .designew .caption .title,
.chitietsanpham .thumbnail .caption .title {
    color: var(--ino-ink);
    font-size: 14px;
    font-weight: 750;
    height: auto;
    line-height: 1.45;
    margin: 0 0 14px;
    min-height: 60px;
    text-align: left;
}

.phan1 .designew .caption .muahang,
.chitietsanpham .thumbnail .caption .muahang {
    background: var(--ino-primary);
    border-radius: 999px;
    color: #fff;
    display: block;
    float: none;
    font-size: 12px;
    font-weight: 800;
    margin-left: auto;
    margin-top: auto;
    padding: 8px 14px;
    text-align: center;
}

.phan1 .designew .caption .muahang:hover,
.chitietsanpham .thumbnail .caption .muahang:hover {
    background: var(--ino-primary-dark);
}

.pagination>li>a,
.pagination>li>span {
    border-color: var(--ino-line);
    color: var(--ino-primary);
}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover {
    background: var(--ino-primary);
    border-color: var(--ino-primary);
}

.btn-primary,
.guithongtin {
    background: var(--ino-primary) !important;
    border-color: var(--ino-primary) !important;
    border-radius: 999px;
    font-weight: 700;
}

.btn-primary:hover,
.guithongtin:hover {
    background: var(--ino-primary-dark) !important;
    border-color: var(--ino-primary-dark) !important;
}

/* Floating contact controls */
.callmenuleft {
    gap: 8px;
    left: 14px !important;
    width: 50px;
}

.callmenuleft>a {
    filter: drop-shadow(0 8px 16px rgba(0, 45, 72, .18));
    margin-top: 0 !important;
    transition: transform .18s ease;
}

.callmenuleft>a:hover {
    transform: translateY(-2px);
}

@media (max-width: 1199px) {
    .site-header .menunhieucap li a {
        padding-left: 13px;
        padding-right: 13px;
    }

    .home-modern .home-about-layout {
        gap: 28px;
    }

    .home-modern .home-about-layout>[class*="col-"] {
        width: calc(50% - 14px);
    }
}

@media (max-width: 991px) {
    .home-modern .home-about-layout {
        align-items: stretch;
    }

    .home-modern .home-copy>p:first-child b {
        font-size: 27px;
    }

    .home-modern .danhmucsanpham {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-modern .home-factory-gallery .container {
        grid-template-columns: 1fr;
    }

    .home-modern .home-factory-gallery img {
        height: auto;
        width: 100%;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 14px;
    }

    .site-header__main,
    .site-header__nav-container {
        display: none !important;
    }

    .site-header__mobile {
        background: #fff;
        display: block;
        padding: 8px 0 12px;
    }

    .site-header__mobile .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .site-header .mobile-header-row {
        align-items: center;
        display: flex;
        height: 54px !important;
        justify-content: space-between;
        margin: 0;
        position: relative;
    }

    .site-header .menumobile {
        left: 0;
        padding: 0;
        position: absolute;
        top: 6px;
        width: 42px;
        z-index: 2;
    }

    .site-header .menumobile a,
    .site-header .mobile-header-cart {
        align-items: center;
        background: var(--ino-soft);
        border-radius: 50%;
        color: var(--ino-primary);
        display: inline-flex;
        height: 42px;
        justify-content: center;
        width: 42px;
    }

    .site-header .menumobile .fa,
    .site-header .mobile-header-cart .fa {
        font-size: 20px;
    }

    .site-header .mobile-header-logo {
        display: block;
        left: 50%;
        position: absolute;
        transform: translateX(-50%);
        z-index: 1;
    }

    .site-header .mobile-header-logo img {
        display: block;
        max-height: 39px;
        width: auto;
    }

    .site-header .mobile-header-cart {
        position: absolute;
        right: 0;
        top: 6px;
        z-index: 2;
    }

    .site-header .mobile-search-row {
        margin-top: 7px;
    }

    .site-header .mobile-search-row .form-control,
    .site-header .mobile-search-row .headertimkiem {
        height: 42px;
    }

    .site-header .mobile-search-row .headertimkiem {
        padding: 0 18px !important;
    }

    .baoquanh {
        background: rgba(0, 26, 44, .62) !important;
        height: 100% !important;
        left: 0 !important;
        max-width: none;
        opacity: 0;
        pointer-events: none;
        transform: translateX(-100%);
        transition: opacity .25s ease, transform .25s ease !important;
        width: 100% !important;
    }

    .baoquanh.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0);
    }

    .baoquanh .menumobilemini {
        background: var(--ino-primary-dark);
        box-shadow: 20px 0 50px rgba(0, 20, 34, .24);
        height: 100%;
        max-width: 340px;
        overflow-y: auto;
        padding: 72px 20px 30px;
        width: 86%;
    }

    .baoquanh .menumobilemini>ul>li {
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        padding: 0;
    }

    .baoquanh .menumobilemini li a {
        color: #fff !important;
        display: block;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.45;
        padding: 13px 8px;
        text-transform: none;
    }

    .baoquanh .menumobilemini li ul {
        background: rgba(255, 255, 255, .06);
        border-radius: 6px;
        margin-bottom: 8px;
        padding: 4px 8px;
    }

    .baoquanh .menumobilemini li ul li {
        padding: 0;
    }

    .baoquanh .dongmenumobile {
        align-items: center;
        background: rgba(255, 255, 255, .12);
        border: 1px solid rgba(255, 255, 255, .25);
        border-radius: 50%;
        color: #fff;
        display: flex;
        font-size: 28px;
        height: 40px;
        justify-content: center;
        line-height: 1;
        right: 18px;
        top: 16px;
        width: 40px;
    }

    .home-modern .home-api-banner .carousel-inner img {
        height: auto;
        min-height: 0;
        object-fit: contain;
    }

    .home-modern .home-section {
        padding-bottom: 48px;
        padding-top: 48px;
    }

    .home-modern .home-about-layout {
        display: block;
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-modern .home-about-layout>[class*="col-"] {
        width: 100%;
    }

    .home-modern .home-copy {
        font-size: 15px;
    }

    .home-modern .home-copy>p:first-child b {
        font-size: 25px;
    }

    .home-modern .home-about-media {
        margin-top: 26px;
    }

    .home-modern .home-factory-gallery .container {
        gap: 16px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-modern .titlechung,
    .home-modern .backgroundtimkiem {
        font-size: 24px;
        margin-bottom: 26px;
    }

    .home-modern .home-category-section,
    .home-modern .home-products {
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-modern .home-products>.row {
        margin-left: 0;
        margin-right: 0;
    }

    .home-modern .home-products .backgroundtimkiem {
        margin-top: 42px;
    }

    .home-modern .home-news-section {
        padding: 36px 0 40px;
    }

    .home-modern .home-news-section .baiviet {
        grid-template-columns: 1fr;
    }

    .phan1 {
        padding-bottom: 48px;
    }

    .phan1 .designew {
        margin-left: -5px;
        margin-right: -5px;
    }

    .phan1 .designew .design {
        padding-left: 5px;
        padding-right: 5px;
    }

    .phan1 .designew .caption {
        padding: 12px 10px;
    }

    .phan1 .designew .caption .title {
        font-size: 12px;
        min-height: 52px;
    }

    #footer.site-footer {
        padding: 36px 6px;
    }

    #footer.site-footer .container {
        display: block;
    }

    #footer.site-footer [class*="cot"] {
        border-top: 1px solid rgba(255, 255, 255, .14);
        margin-top: 18px;
        padding: 20px 14px 0;
        width: 100%;
    }

    #footer.site-footer [class*="cot"]:first-child {
        border-top: 0;
        margin-top: 0;
        padding-top: 0;
    }

    .callmenuleft {
        bottom: 16px !important;
        left: 10px !important;
        transform: none !important;
    }
}

@media (max-width: 520px) {
    .content-sanpham .product-purchase {
        align-items: flex-end;
        flex-wrap: wrap;
        gap: 12px;
    }

    .content-sanpham .product-purchase-action {
        margin-left: 0;
        width: 100%;
    }

    .content-sanpham .product-purchase-action .btn {
        display: block;
        width: 100%;
    }

    .home-modern .danhmucsanpham {
        gap: 14px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-modern .danhmucsanpham li a span {
        bottom: 12px;
        font-size: 12px;
        left: 12px;
        right: 12px;
    }

    .home-modern .home-news-section .baiviet>li {
        align-items: stretch;
        display: block;
    }

    .home-modern .home-news-section .baiviet .pull-left {
        display: block;
        float: none !important;
        margin: 0 0 12px;
        width: 100%;
    }

    .home-modern .home-news-section .media-object {
        height: 170px;
        width: 100%;
    }

    .home-modern .home-products .design {
        padding-left: 5px;
        padding-right: 5px;
    }

    .home-modern .home-products .caption {
        padding: 13px 11px;
    }

    .home-modern .home-products .caption .title {
        font-size: 12px;
        min-height: 36px;
    }

    .home-modern .home-products .muahang {
        font-size: 11px;
        padding: 8px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *:before,
    *:after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* ==========================================================================
   Section: Năng Lực Sản Xuất Của Xưởng (Infinite Marquee 2 Rows Reverse)
   ========================================================================== */
.home-factory-capacity {
    background: linear-gradient(180deg, #f7fbfd 0%, #edf6fb 50%, #f7fbfd 100%);
    overflow: hidden;
    /*padding: 50px 0 40px;*/
    position: relative;
}

.home-factory-capacity .factory-capacity-header {
    margin: 0 auto 32px;
    max-width: 820px;
}

.home-factory-capacity .factory-badge {
    background: rgba(0, 85, 134, 0.08);
    border: 1px solid rgba(0, 85, 134, 0.18);
    border-radius: 999px;
    color: var(--ino-primary, #005586);
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding: 6px 18px;
    text-transform: uppercase;
}

.home-factory-capacity .factory-badge i {
    margin-right: 6px;
}

.home-factory-capacity .factory-title {
    color: var(--ino-ink, #122433);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.home-factory-capacity .factory-subtitle {
    color: var(--ino-muted, #647482);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.factory-marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    padding: 10px 0 20px;
    position: relative;
    user-select: none;
    -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
    mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.factory-marquee-row {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.factory-marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.factory-marquee-group {
    align-items: center;
    display: flex;
    flex-shrink: 0;
}

/* Hàng 1 chạy sang trái */
.factory-marquee-row--left .factory-marquee-track {
    animation: factoryMarqueeLeft 85s linear infinite;
}

/* Hàng 2 chạy sang phải */
.factory-marquee-row--right .factory-marquee-track {
    animation: factoryMarqueeRight 85s linear infinite;
}


@keyframes factoryMarqueeLeft {
    0% {
        transform: translateX(0);
    }

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

@keyframes factoryMarqueeRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Card ảnh tỉ lệ 4:3 */
.factory-card {
    cursor: pointer;
    flex: 0 0 auto;
    padding: 0 10px;
    width: 320px;
}

.factory-card__inner {
    aspect-ratio: 4 / 3;
    background: #e2ecf2;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 45, 72, 0.08);
    overflow: hidden;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    width: 100%;
}

@supports not (aspect-ratio: 4 / 3) {
    .factory-card__inner {
        height: 240px;
    }
}

.factory-card__inner img,
.home-modern .factory-card__inner img {
    display: block !important;
    height: 100% !important;
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100% !important;
}

.factory-card__overlay {
    align-items: center;
    background: rgba(0, 35, 60, 0.35);
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity 0.3s ease;
}

.factory-card__icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: var(--ino-primary, #005586);
    display: flex;
    font-size: 16px;
    height: 44px;
    justify-content: center;
    transform: scale(0.7);
    transition: transform 0.3s ease;
    width: 44px;
}

.factory-card:hover .factory-card__inner {
    box-shadow: 0 14px 28px rgba(0, 45, 72, 0.18);
    transform: translateY(-5px);
}

.factory-card:hover .factory-card__inner img {
    transform: scale(1.08);
}

.factory-card:hover .factory-card__overlay {
    opacity: 1;
}

.factory-card:hover .factory-card__icon {
    transform: scale(1);
}

/* Modal xem ảnh phóng to */
.factory-modal {
    align-items: center;
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity 0.25s ease;
    z-index: 99999;
}

.factory-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.factory-modal__backdrop {
    background: rgba(10, 25, 38, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.factory-modal__content {
    background: #000;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-height: 90vh;
    max-width: 90vw;
    overflow: hidden;
    position: relative;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.factory-modal.is-open .factory-modal__content {
    transform: scale(1);
}

.factory-modal__content img {
    display: block;
    max-height: 85vh;
    max-width: 88vw;
    object-fit: contain;
}

.factory-modal__close {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 26px;
    height: 38px;
    line-height: 36px;
    position: absolute;
    right: 12px;
    text-align: center;
    top: 12px;
    transition: background 0.2s ease, transform 0.2s ease;
    width: 38px;
    z-index: 10;
}

.factory-modal__close:hover {
    background: #ff4757;
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .home-factory-capacity .factory-title {
        font-size: 24px;
    }

    .factory-card {
        padding: 0 8px;
        width: 280px;
    }

    .factory-marquee-wrapper {
        gap: 12px;
    }
}

@media (max-width: 767px) {
    .home-factory-capacity {
        padding: 35px 0 25px;
    }

    .home-factory-capacity .factory-badge {
        font-size: 11px;
        padding: 4px 12px;
    }

    .home-factory-capacity .factory-title {
        font-size: 20px;
    }

    .home-factory-capacity .factory-subtitle {
        font-size: 13px;
    }

    .factory-card {
        padding: 0 6px;
        width: 220px;
    }

    .factory-marquee-wrapper {
        gap: 10px;
    }

    .factory-marquee-row--left .factory-marquee-track,
    .factory-marquee-row--right .factory-marquee-track {
        animation-duration: 58s;
    }
}

/* ==========================================================================
   Section: Lợi Ích Cho Khách Hàng (Customer Benefits: 8 cards, 2 rows x 4 cols)
   ========================================================================== */
.home-customer-benefits {
    background: #ffffff;
    padding: 40px 0 35px;
    position: relative;
}

.home-customer-benefits .benefits-header {
    margin: 0 auto 30px;
    max-width: 820px;
}

.home-customer-benefits .benefits-title {
    color: var(--ino-ink, #122433);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 12px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 16px;
    display: inline-block;
}

.home-customer-benefits .benefits-title::after {
    background: var(--ino-accent, #ff7a00);
    border-radius: 999px;
    bottom: 0;
    content: "";
    height: 3px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 54px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
}

.benefit-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 30, 60, 0.07);
    border: 1px solid rgba(0, 85, 134, 0.08);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 85, 134, 0.16);
    border-color: rgba(0, 85, 134, 0.22);
}

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

.benefit-card:hover img {
    transform: scale(1.02);
}

@media (max-width: 991px) {
    .home-customer-benefits .benefits-title {
        font-size: 24px;
    }

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

@media (max-width: 575px) {
    .home-customer-benefits {
        padding: 30px 0 20px;
    }

    .home-customer-benefits .benefits-title {
        font-size: 20px;
    }

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

    .benefit-card {
        border-radius: 8px;
    }
}
/* H1 trang con (danh mục, bài viết, tin tức, liên hệ, 404) */
.page-heading {
    color: var(--ino-ink);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 16px;
}

.page-404 {
    padding: 48px 15px 64px;
}

@media (max-width: 767px) {
    .page-heading {
        font-size: 22px;
    }
}
