﻿body {
    margin: 0;
}
.top-links {
    display: flex;
    width: 100%;
}
.box-social {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    width: 100%;
    margin: 0;
    padding: 0;
	gap: 15px;
    list-style: none;
    align-items: center;
    justify-content: start;
}

.box-social > li.social {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}
.social i:after {
    width: 25px;
    height: 25px;
}
.slide-left {
    aspect-ratio: 1200 / 600;
}
.nav-top-menu {
    background: #ce1c0f;
}
.box-slide {
    grid-template-columns: 1fr;
}
#ulmenu1Product{
    display:none;
}
.limenu1-product p {
    margin: 5px 0px;
}
.btn-show-menu1 i {
    border: unset;
    background: unset;
}
    .btn-show-menu1 i:after {
        background: #fff;
        margin: auto;
        width: 26px;
        height: 26px;
    }
.limenu1-main > a {
    color: #ffffff;
}

#ulmenu1_main > li > i::after {
    background: #fff;
}
.btn-show-menu1 {
    background: #560000;
}
    .top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 44px;
    padding:0;
    background: #f5f6f8;
    border-bottom: 1px solid #ddd;
    font-size: 13px
}

.top-links {
    display: flex;
    align-items: center
}


        .top-links a:hover {
            color: #e8281a
        }

.top-contact {
    display: flex;
    align-items: center;
    align-self: stretch;
    background: #ffd200;
    color: #000000;
    padding: 0 35px;
    gap: 22px;
}

    .top-contact span, .top-contact a {
        display: flex;
        align-items: center;
        gap: 7px;
        white-space: nowrap
    }

    .top-contact a {
        font-size:16px;
        color: #000000;
        text-decoration: none;
        font-weight: 700;
    }
    .top-contact .top-hotline {
        font-size: 22px;
        font-weight: 700;
    }

        .top-contact span {
            padding-right: 22px;
            border-right: 1px solid rgba(255,255,255,.35);
            font-weight: 600
        }

@media(max-width:991px) {
    .top-header {
        display: none
    }
}
@media (min-width:768px) and (max-width:991px){
    .btn-show-menu1 i:after {
        width: 18px;
        height: 18px;
    }
}
/* =========================================================
   PRODUCT SECTION
========================================================= */

.product-section {
    width: 100%;
    margin: 35px auto;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8e8e8;
}

    .section-heading h2 {
        position: relative;
        margin: 0;
        padding-left: 14px;
        color: #202635;
        font-size: 22px;
        font-weight: 700;
        line-height: 1.35;
    }

        .section-heading h2::before {
            content: "";
            position: absolute;
            top: 2px;
            bottom: 2px;
            left: 0;
            width: 5px;
            background: #e8281a;
            border-radius: 5px;
        }

    .section-heading > a {
        flex-shrink: 0;
        color: #e8281a;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
    }

        .section-heading > a:hover {
            text-decoration: underline;
        }


/* =========================================================
   PRODUCT GRID
========================================================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
    min-width: 0;
    overflow: hidden;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #e7e9ee;
    border-radius: 12px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

    .product-card:hover {
        transform: translateY(-3px);
        border-color: #d5d8de;
        box-shadow: 0 8px 25px rgba(31, 41, 55, .09);
    }


/* =========================================================
   IMAGE
========================================================= */

.product-image {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 450 / 324;
    background: #f6f7f9;
    border-radius: 9px;
}

    .product-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform .3s ease;
    }

.product-card:hover .product-image img {
    transform: scale(1.035);
}


/* =========================================================
   PRODUCT NAME
========================================================= */

.product-name {
    margin: 12px 2px 7px;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
}

    .product-name a {
        display: -webkit-box;
        overflow: hidden;
        color: #20242c;
        text-decoration: none;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

        .product-name a:hover {
            color: #d9271a;
        }


/* =========================================================
   PRICE
========================================================= */

.product-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 27px;
    margin: 0 2px 7px;
}

    .product-price strong {
        color: #e32619;
        font-size: 17px;
        font-weight: 750;
    }

    .product-price del {
        color: #9196a0;
        font-size: 13px;
        font-weight: 400;
    }


/* =========================================================
   DESCRIPTION
========================================================= */

.product-desc {
    display: -webkit-box;
    overflow: hidden;
    min-height: 57px;
    margin: 0 2px 3px;
    color: #606773;
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

@media (min-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}


@media (min-width: 992px) and (max-width: 1199px) {

    .product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 15px;
    }
}

@media (min-width: 481px) and (max-width: 767px) {

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .section-heading h2 {
        font-size: 19px;
    }
}

@media (max-width: 480px) {

    .product-section {
        margin: 25px 0;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .product-card {
        padding: 7px;
        border-radius: 9px;
    }

    .product-image {
        border-radius: 7px;
    }

    .product-name {
        margin: 9px 1px 5px;
        font-size: 13.5px;
        line-height: 1.4;
    }

    .product-price {
        gap: 5px;
        margin: 0 1px 5px;
    }

        .product-price strong {
            font-size: 15px;
        }

        .product-price del {
            font-size: 11.5px;
        }

    .product-desc {
        min-height: 51px;
        margin: 0 1px;
        font-size: 11.5px;
        line-height: 1.45;
    }

    .section-heading {
        margin-bottom: 12px;
    }

        .section-heading h2 {
            font-size: 17px;
        }

        .section-heading > a {
            font-size: 12px;
        }
}


.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 25px;
}

.news-card {
    display: grid;
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
    padding-bottom: 18px;
    border-bottom: 1px solid #e9eaed;
}

.news-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 450 / 324;
    background: #f4f5f7;
    border-radius: 9px;
}

    .news-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s ease;
    }

.news-card:hover .news-image img {
    transform: scale(1.04);
}

.news-content {
    min-width: 0;
}

    .news-content h3 {
        margin: 0 0 7px;
        font-size: 16px;
        font-weight: 650;
        line-height: 1.45;
    }

        .news-content h3 a {
            display: -webkit-box;
            overflow: hidden;
            color: #20242c;
            text-decoration: none;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
        }

            .news-content h3 a:hover {
                color: #e32619;
            }

    .news-content p {
        display: -webkit-box;
        overflow: hidden;
        margin: 0;
        color: #666d78;
        font-size: 13px;
        line-height: 1.55;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

@media (max-width: 767px) {

    .news-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .news-card {
        grid-template-columns: 125px minmax(0, 1fr);
        gap: 11px;
        padding-bottom: 14px;
    }

    .news-content h3 {
        font-size: 14px;
    }

    .news-content p {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 480px) {

    .news-card {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 10px;
    }

    .news-content h3 {
        margin-bottom: 4px;
        font-size: 13.5px;
        line-height: 1.4;
    }
}


.why-atp {
    max-width: 1200px;
    margin: 45px auto;
    padding: 0 15px;
}

.home-title {
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
}

    .home-title h2 {
        margin: 0;
        color: #202938;
        font-size: 28px;
        line-height: 1.4;
    }

    .home-title::after {
        content: "";
        display: block;
        width: 70px;
        height: 3px;
        margin: 14px auto 0;
        background: #e8281a;
        border-radius: 3px;
    }

.why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1.3fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.why-list {
    display: grid;
    gap: 28px;
}

.why-item {
    position: relative;
    padding-left: 75px;
}

    .why-item > i {
        position: absolute;
        top: 0;
        left: 0;
        display: grid;
        width: 56px;
        height: 56px;
        place-items: center;
        color: #fff;
        background: #e8281a;
        border-radius: 50%;
        font-size: 21px;
    }

    .why-item h3 {
        margin: 0 0 7px;
        color: #202938;
        font-size: 17px;
        line-height: 1.35;
    }

    .why-item p {
        margin: 0;
        color: #687080;
        font-size: 14px;
        line-height: 1.65;
    }

.why-main {
    overflow: hidden;
    text-align: center;
    background: #202938;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

    .why-main img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }

    .why-main p {
        margin: 0;
        padding: 22px 25px 15px;
        color: #e8edf4;
        font-size: 14px;
        line-height: 1.7;
    }

        .why-main p a {
            color: #ffd04a;
            font-weight: 600;
        }

.btn-more {
    display: inline-block;
    margin: 0 0 25px;
    padding: 11px 25px;
    color: #202938;
    background: #fff;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
}

    .btn-more:hover {
        color: #fff;
        background: #e8281a;
    }

 /*   ==========*/
.faq-basic {
    max-width: 1200px;
    margin: 45px auto;
    padding: 35px;
    background: #f6f7f9;
    border-radius: 14px;
}

    .faq-basic article {
        margin-top: 15px;
        background: #fff;
        border: 1px solid #e4e7eb;
        border-radius: 10px;
        overflow: hidden;
    }

        .faq-basic article h3 {
            margin: 0;
            padding: 15px 18px;
            color: #fff;
            background: #25344d;
            font-size: 16px;
            line-height: 1.45;
        }

        .faq-basic article p {
            margin: 0;
            padding: 16px 18px;
            color: #606875;
            font-size: 14px;
            line-height: 1.7;
        }


.install-process {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 45px auto;
    overflow: hidden;
    background: #f5f6f8;
    border-radius: 14px;
}

.process-main {
    padding: 30px;
}

    .process-main h2 {
        margin: 0 0 20px;
        color: #202938;
        font-size: 22px;
        line-height: 1.4;
    }

    .process-main img {
        display: block;
        width: 100%;
        height: auto;
        margin-bottom: 18px;
        border-radius: 10px;
    }

    .process-main p,
    .process-list p {
        margin: 0;
        color: #657080;
        font-size: 14px;
        line-height: 1.7;
    }

.process-list {
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 25px;
    background: #25344d;
}

    .process-list article {
        position: relative;
        min-height: 65px;
        padding: 15px 15px 15px 82px;
    }

    .process-list i {
        position: absolute;
        top: 15px;
        left: 10px;
        display: grid;
        width: 54px;
        height: 54px;
        place-items: center;
        color: #e8281a;
        background: #fff;
        border-radius: 50%;
        font-size: 20px;
    }

    .process-list h3 {
        margin: 0 0 6px;
        color: #fff;
        font-size: 17px;
    }

    .process-list p {
        color: #dce3ed;
    }


.camera-guide {
    max-width: 1200px;
    margin: 45px auto;
    padding: 0 15px;
}

.camera-guide-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 35px;
    align-items: center;
}

.guide-image {
    display: block;
    aspect-ratio: 757/900;
    border-radius: 14px;
}

.guide-heading {
    margin: 0 0 20px;
    color: #202938;
    font-size: 23px;
}

.faq-card {
    position: relative;
    min-height: max-content;
    padding: 20px;
    margin-bottom: 25px;
    background: #f6f7f9;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
}

    .faq-card > img {
        position: absolute;
        top: 25px;
        left: 25px;
        width: 75px;
        height: 75px;
        object-fit: cover;
        border-radius: 50%;
    }

    .faq-card h3 {
        margin: 0 0 5px;
        color: #e8281a;
        font-size: 16px;
    }

    .faq-card strong {
        display: block;
        margin-bottom: 13px;
        color: #202938;
        font-size: 18px;
        line-height: 1.45;
    }

    .faq-card p {
        margin: 0;
        color: #626b78;
        font-size: 14px;
        line-height: 1.7;
    }


@media (max-width: 991px) {

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-main {
        grid-column: 1 / -1;
        grid-row: 1;
        max-width: 650px;
        margin: auto;
    }

    .install-process,
    .camera-guide-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 767px) {

    .why-atp,
    .faq-basic,
    .install-process,
    .camera-guide {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .home-title h2 {
        font-size: 22px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .why-main {
        grid-column: auto;
    }

    .why-list {
        gap: 20px;
    }

    .faq-basic {
        margin-left: 15px;
        margin-right: 15px;
        padding: 20px;
    }

    .install-process {
        width: calc(100% - 30px);
    }

    .process-main,
    .process-list {
        padding: 20px;
    }
}

@media (max-width: 480px) {

    .home-title h2 {
        font-size: 19px;
    }

    .why-item {
        padding-left: 65px;
    }

        .why-item > i {
            width: 48px;
            height: 48px;
            font-size: 18px;
        }

        .why-item h3 {
            font-size: 15px;
        }

        .why-item p,
        .why-main p,
        .process-main p,
        .process-list p {
            font-size: 13px;
        }

    .process-list article {
        padding: 12px 5px 12px 65px;
    }

    .process-list i {
        left: 0;
        width: 48px;
        height: 48px;
    }

    .faq-card {
        min-height: 0;
        padding: 18px;
    }

        .faq-card > img {
            position: static;
            width: 60px;
            height: 60px;
            margin-bottom: 10px;
        }

        .faq-card strong {
            font-size: 16px;
        }
}


.brand-section {
    padding: 55px 5%;
    background: #111;
    color: #fff
}

    .brand-section > h2 {
        max-width: 950px;
        margin: 0 auto 35px;
        text-align: center;
        font-size: 30px;
        line-height: 1.35
    }

        .brand-section > h2:after {
            content: "";
            display: block;
            width: 75px;
            height: 4px;
            margin: 15px auto;
            background: #ce1c0f
        }

.brand-list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px
}

.brand-item {
    padding: 25px;
    background: #191919;
    border: 1px solid #292929;
    border-radius: 10px;
    transition: .25s
}

    .brand-item:hover {
        transform: translateY(-4px);
        border-color: #ce1c0f
    }

    .brand-item img {
        display: block;
        width: 100%;
        height: 150px;
        object-fit: contain;
        margin-bottom: 20px;
        background: #fff;
        border-radius: 7px
    }

    .brand-item h3 {
        margin: 0 0 7px;
        color: #fff;
        font-size: 19px;
        line-height: 1.4
    }

    .brand-item strong {
        display: block;
        margin-bottom: 12px;
        color: #ce1c0f;
        font-size: 13px;
        text-transform: uppercase
    }

    .brand-item p {
        margin: 0;
        color: #bbb;
        font-size: 14px;
        line-height: 1.7
    }

@media(max-width:991px) {
    .brand-list {
        grid-template-columns: repeat(2,1fr)
    }
}

@media(max-width:600px) {
    .brand-section {
        padding: 35px 15px
    }

        .brand-section > h2 {
            font-size: 22px
        }

    .brand-list {
        grid-template-columns: 1fr
    }

    .brand-item {
        padding: 20px
    }

        .brand-item img {
            height: 130px
        }
}

.site-footer {
    position: relative;
    background: #111;
    color: #aaa;
    font-size: 14px;
    line-height: 1.7
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 40px;
    max-width: 1400px;
    margin: auto;
    padding: 55px 5%
}

.footer-column h3 {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 12px;
    color: #fff;
    font-size: 17px;
    line-height: 1.4
}

    .footer-column h3:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 45px;
        height: 3px;
        background: #ce1c0f
    }

.footer-column p {
    margin: 0 0 10px
}

.footer-links {
    display: flex;
    flex-direction: column
}

    .footer-links a {
        padding: 7px 0;
        color: #aaa;
        text-decoration: none;
        border-bottom: 1px solid #252525;
        transition: .2s
    }

        .footer-links a:before {
            content: "›";
            margin-right: 8px;
            color: #ce1c0f;
            font-weight: bold
        }

        .footer-links a:hover {
            padding-left: 5px;
            color: #fff
        }

.footer-contact p {
    display: flex;
    gap: 9px;
    align-items: flex-start
}

.footer-contact i {
    margin-top: 3px;
    color: #ce1c0f;
    font-size: 16px
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
    font-weight: 600
}

.footer-bottom {
    padding: 18px 5%;
    text-align: center;
    background: #0a0a0a;
    border-top: 1px solid #292929
}

    .footer-bottom p {
        margin: 0
    }

    .footer-bottom a {
        color: #ccc;
        text-decoration: none
    }

        .footer-bottom a:hover {
            color: #ce1c0f
        }

.footer-hotline {
    position: fixed;
    display: flex;
    background:#ffd200;
    font-weight: 600;
    border: 2px solid #fff;
    font-size: 24px;
    text-decoration: none;
    gap: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    align-items: center;
    left: 15px;
    bottom: 15px;
    z-index: 20;
    animation: nhapnhay .3s ease-in-out infinite;
}
@keyframes nhapnhay {
    0% {
        color:#000;
        box-shadow: 0px 0px 10px #0093ff;
    }
    50% {
        color: #e00a00;
        box-shadow: 0px 0px 10px #571c0000;
    }
    100% {
        color: #000;
        box-shadow: 0px 0px 10px #0093ff;
    }
}
    .footer-hotline img {
        display: block;
        max-width: 180px;
        height: auto
    }

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 20;
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: #ce1c0f;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    font-size: 15px
}

    .back-to-top:hover {
        background: #a9160c;
        color: #fff
    }

@media(max-width:991px) {
    .footer-grid {
        grid-template-columns: repeat(2,1fr)
    }
}

@media(max-width:600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px
    }

    .footer-column h3 {
        margin-bottom: 15px;
        font-size: 16px
    }

    .footer-hotline img {
        max-width: 140px
    }
}


/*sanphamct*/
.box-avatar-product {
    background: #ffe2df;
    border: 1px solid #ffd7d7;
    box-shadow: 0px 5px 20px #b0b0b030;
}
    .info-other {
    box-sizing:border-box;
}
.info-item span {
    color: #0036e9;
}
.titleavt {
    color: #ac0000;
}

.box-blogitem {
    row-gap: 10px;
}
.box-blogitem .tin100 {
    border: 1px solid #eedddd;
}