/* Khối sản phẩm dùng chung Home và Giới thiệu; cùng dữ liệu và giao diện. */
.dmax-products-section {
    background:#f5f8ff;
    padding:82px 0
}
.dmax-products-section .section-title {
    text-align:center;
    margin:0 auto 36px;
}
.dmax-products-section .section-title p {
    color:#333;
    margin:0 auto;
    font-size:16px;
}
.dmax-products-section .home-richtext h2 {
    font-size:36px;
    line-height:1.3;
    color:var(--primary);
    margin:0 0 22px;
}
.dmax-products-section .home-richtext h2 em {
    display:block;
    font-style:inherit;
}
.dmax-products-section .home-richtext p:last-child {
    margin-bottom:0;
}
.dmax-products-section .eyebrow {
    display:inline-flex;
    align-items:center;
    gap:10px;
    max-width:100%;
    font-size:12px;
    font-weight:800;
    letter-spacing:2px;
    text-transform:uppercase;
    color:var(--yellow);
    margin-bottom:14px;
}
.dmax-products-section .eyebrow::before,
.dmax-products-section .eyebrow::after {
    content:'';
    flex:0 0 25px;
    width:25px;
    border-top:1px solid currentColor;
}
.dmax-products-section .brands {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:13px;
    margin:30px 0
}
.dmax-products-section .brand {
    display:flex;
    align-items:center;
    justify-content:center;
    width:125px;
    height:40px;
    padding:6px 12px;
    background:#fff;
    border-radius:999px;
    border:1px solid #e7e7e7;
    transition:border-color .25s ease, transform .25s ease;
}
.dmax-products-section .brand img {
    display:block;
    max-width:100%;
    max-height:26px;
    width:auto;
    height:auto;
    object-fit:contain;
}
.dmax-products-section .brand.active {
    background:var(--primary);
    border-color:var(--primary);
    color:#fff;
}
.dmax-products-section .brand:hover,
.dmax-products-section .brand:focus-visible {
    border-color:var(--primary);
}
.dmax-products-section .brand:not(.active):hover,
.dmax-products-section .brand:not(.active):focus-visible {
    transform:translateY(-2px);
}
.dmax-products-section .products-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px;
}
.dmax-products-section .products-view-all {
    margin-top:30px;
    text-align:center;
}
.dmax-products-section .products-view-all .button {
    gap:18px;
    padding:0 6px 0 22px;
    background:var(--primary);
    color:#fff;
    border-radius:30px;
    text-transform:uppercase;
    transition:transform .25s ease, box-shadow .25s ease;
}
.dmax-products-section .products-view-all .button::after {
    content:'→';
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 34px;
    width:34px;
    height:34px;
    border-radius:50%;
    background:var(--yellow);
    color:var(--primary);
    font-size:22px;
    font-weight:400;
    line-height:1;
    transition:transform .25s ease;
}
.dmax-products-section .products-view-all .button:hover,
.dmax-products-section .products-view-all .button:focus-visible {
    background:var(--primary);
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 5px 14px rgba(0,16,98,.18);
}
.dmax-products-section .products-view-all .button:hover::after,
.dmax-products-section .products-view-all .button:focus-visible::after {
    transform:translateX(2px);
}
.dmax-products-section a:focus-visible {
    outline:3px solid var(--yellow);
    outline-offset:4px;
}

@media (max-width: 960px) {
    .dmax-products-section .products-grid {
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media (max-width: 768px) {
    .dmax-products-section .products-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px;
    }
    .dmax-products-section .home-richtext h2 {
        font-size:24px;
    }

    
}

@media (max-width: 500px) {
   .dmax-products-section{
        padding: 40px 0;
    }
}
