/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 14px;
}
a {color: #1c854c;}
a:hover {color: #24e046;}
h2.name {font-size: 20px; line-height: 30px;color: #1c854c; font-weight: bold;}
/* Main Header Styles */
.main-header {
    position: relative;
    z-index: 9;
    border: 1px solid #ccc;
}

/* Main Header Content */
.logo img {width: 100px;}
.logo-img .inner {
    display: flex;
    justify-content: start;
    gap: 15px;
    margin: 15px 0;
}
.logo-text {padding-top: 30px;}
.location-search {padding-top: 25px;}
.logo-text p { margin: 0; padding: 0; text-transform: uppercase; font-weight: bold;text-align: center;
    text-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);}
.logo-text .name {color: #1c854c; font-size: 18px;}
.logo-text .slogan { color: #dc0000; font-size: 14px;margin-top: 10px;}
.ico-location {
    background: url(../images/ico-map.png) no-repeat;
    width: 25px;
    height: 25px;
    display: inline-block;
}

.ico-time {
    background: url(../images/ico-time.png) no-repeat;
    width: 25px;
    height: 25px;
    display: inline-block;
}

.ico-phone {
    background: url(../images/ico-phone.png) no-repeat;
    width: 25px;
    height: 25px;
    display: inline-block;
}
.search-bar {
    position: relative;
    margin: 0;
    border: 1px solid #1c854c;
    border-radius: 5px;
    padding: 8px 10px 5px 10px;
    display: flex;
    justify-content: space-between;
    color: #1c854c;
    max-width: 163px;
}
.search-bar form {
    width: 100%;
}
.search-bar input {
    border: none;
    outline: none;
    background: transparent; 
    color: #1c854c;
    width: 96%;
}
.search-bar input::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #1c854c;
    font-style: italic;
    opacity: 1; /* Ensures full color in older browsers that might default to lower opacity */
}

.search-bar input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #1c854c;
    font-style: italic;
    opacity: 1;
}

.search-bar input::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #1c854c;
    font-style: italic;
    opacity: 1;
}

.search-bar input:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #1c854c;
    font-style: italic;
}

.search-bar input::placeholder { /* Most modern browsers */
    color: #1c854c;
    font-style: italic;
    opacity: 1;
}
.search-bar button i {
    color: #1c854c;
}
.search-bar button {
    background: none;
    color: #1c854c;
    border: none;
    outline: none;
    cursor: pointer;
    position: absolute;
    padding: 8px;
    border-radius: 0 5px 5px 0;
    top: -2px;
    width: 40px;
    right: 0px;
}
.text-red {color: #fd0100;}
.text-green {color: #1c854c;}
/* Navigation Menu Styles */
#menu-top {background: #1c854c;}
.menu-top {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: space-between;
}
.menu-top li {position: relative;}
.menu-top li a {
    color: white;
    text-decoration: none;
    padding: 10px 0;
    display: block;
    font-size: 16px;
    line-height: 30px;
    margin-right: 15px;
    text-transform: uppercase;
}
.menu-top li a:hover {color: #dae4eb;}

.menu-top li ul {
    position: absolute;
    top: 50px;
    left: -15px;
    background: #1c854c;
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 99;
    width: 315px;
    display: none;
}
.menu-top li:hover ul {
    display: block;
}
.menu-top li ul li  {
    list-style: none;
}
.menu-top li ul li a {
    padding: 5px 15px;
    margin: 0;
    font-size: 13px;
}
.location-search .location-info,
.location-search .contact-search {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding-top: 10px;
}
.location-search .contact-info {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}
.location-search a {
    align-items: center;
    display: flex;
    gap: 10px;
    text-decoration: none;
}
.location-search a:hover {
    color: white;
    cursor: pointer;
}
.contact-item-left img {max-width: 60px;}
section {padding: 20px 0 0;}
.section-header {
    padding: 40px 0 35px;
}

.section-header .section-title {
    color: #1c854c;
    font-size: 24px;
    margin: 15px 0;
    text-align: center;
    font-weight: bold;
    text-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
    text-transform: uppercase;
}

.category-sub {
    list-style: none;
    display: flex;
    justify-content: start;
    gap: 15px;
    padding: 0;
    margin: 0;
}
.category-sub li:first-child a {
    font-weight: bold;
}
.category-sub li a {
    color: #1c854c;
}
.section-header p {
    color: #666;
    margin: 0;
}
.line {
    width: 120px;
    height: 2px;
    margin: 10px auto 0;
    position: relative;
}
.line hr {
    border-top: 2px solid#dedede;
}
.line hr,
.line span {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}
.line span {
    width: 40px;
    display: inline-block;
    border-top: 3px solid#33844d;
}
.department {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
}
.department .dept-title {
    position: absolute; bottom: 3px; text-transform: uppercase; font-weight: bold; color: #1c854c;
    text-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
    width: 100%;
    font-size: 18px;
}

.gallery-home .gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-home .gallery-item img {
    border-radius: 6px;
}
.gallery-home .gallery-item .tech-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
    font-size: 14px;
    background: linear-gradient(180deg,rgba(0, 0, 0, 0) 10%, rgba(206, 16, 24, 1) 100%);
    height: 40px;
    line-height: 40px;
    margin: 0;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: bold;
}
.brand-slider {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.brand-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.brand-card:hover {
    transform: translateX(-1px);
}

.brand-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Categories Section */
.news-body {padding: 10px;min-height: 120px;}
.news-body .title {font-size: 14px;padding: 0 10px; line-height: 1.4; text-align: center; font-weight: bold;}
.news-body .position {font-size: 12px; text-align: center; color: #666;}
.news-card-title {color: black; font-weight: bold; margin-bottom: 10px; display: inline-block;}
.news-card-title:hover {color: #1c854c; text-decoration: none;}
.news-body .title:hover {color: #1c854c;}
.hot-category .news-card {
    margin: 0 15px;
    border-radius: 15px;
    background: #EDF5FB;
}
.home-news .news-card .news-img {
    max-height: 120px;
    overflow: hidden;
}
.news-card {
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.news-card-item {
    width: auto;
    min-height: 350px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.news-card-item img {
    max-height: 180px;
}
.news-card-item .news-card-title {
    min-height: 85px;
}
.hot-category .news-card .news-image {
    min-height: 220px;
    max-height: 200px;
    overflow: hidden;
}
.home-news .news-card {
    box-shadow: none;
    margin: 0;
}
.home-news .news-card.right {
    margin-bottom: 10px;
}
.news-card.left .news-img {
    margin-bottom: 15px;
    overflow: auto;
    max-height: none;
}
.hot-category .news-card img {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
.img-h {
    max-height: 200px;
}
.news-card img {
    width: 100%;
    height: auto;
}
.knowledge-section .news-card { margin: 0; }
.btn-warranty {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    margin: auto;
    width: 220px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    text-decoration: none;
    font-size: 18px;
    padding: 0;
}
.btn-warranty:hover {
    color: white;
    text-decoration: none;
}

.category-brand {
    margin-right: -15px;
}

.category-item { margin-bottom: 10px;}
.category-item a {
    text-decoration: none;
    color: inherit;
}
.content h4 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    line-height: 22px;
    min-height: 45px;
}
.feature-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.feature-item i {
    font-size: 32px;
    color: #0054A6;
    margin-bottom: 15px;
}

.feature-item h3 {
    margin-bottom: 10px;
    color: #333;
}

.feature-item p {
    color: #666;
    font-size: 14px;
}
.news-home-section .title { color: #1c854c; font-weight: bold; text-align: center; text-transform: uppercase; font-size: 14px; margin-bottom: 10px; }
.news-home-section ul { margin: 0; padding: 0; height: 500px; overflow-y: auto;}
.news-home-section ul li { list-style: none; padding-bottom: 10px;}
.news-home-section ul li a { color: black; 
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
/* main slider */
.owl-nav {
    position: absolute;
    top: 45%;
    left: 2%;
    z-index: 99;
    width: 96%;
    display: flex;
    justify-content: space-between;
}
.owl-nav i {font-size: 20px;line-height: 40px;}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    color: rgba(0, 0, 0, 0.7);
    border: none;
    outline: none;
}
/* end main slider */

.home-category .owl-nav {
    z-index: 99;
    display: flex;
    justify-content: space-between;
}
.home-category .owl-nav i {font-size: 20px;}

.warranty-wrapper {
    min-height: 320px;
}

.gratitude-corner-section {
    background: url(../images/bg-adn.png) no-repeat left top;
    background-size: contain;
}
.gratitude-corner-home {
    background: url(../images/ico-quote.png) no-repeat left top;
    padding: 100px 0 0 130px;
}
.gratitude-corner-home p { font-style: italic; line-height: 30px;}
.gratitude-corner-home .author {color: #1c854c; font-weight: bold; margin-top: 15px; text-align: right; display: block;}
/* Support Section */
.support-body {
    background: url(../images/bg-register.png) no-repeat left top;
    background-size: cover;
}
.support-section .inner {
    background: #04AE4E;
    padding: 20px 0;
    text-align: center;
}
.support-section .container {
    position: relative;
}
.support-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: white;
}
.support-content p strong {
    font-size: 18px;
}

/* Footer Styles */
.site-footer {
    margin-top: 25px;
    padding: 0 0 20px;
    background: #F8FBFD;
}
.footer-information {
    color: white;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.footer-column h3 {
    color: #1c854c;
    margin: 15px 0 30px;
    font-size: 14px;
    font-weight: bold;
}
.footer-column ul {
    list-style: none;
    padding: 0;
}
.footer-column ul li {
    margin-bottom: 0;
}
.footer-column ul li a {
    color: black;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    font-weight: bold;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-direction: column;
}

.social-link {
    color: black;
    text-decoration: none;
}

.qr-container {
    display: flex;
    gap: 15px;
    align-items: center;
}

.qr-container img {
    max-width: 100px;
    height: auto;
}

.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-buttons img {
    max-width: 120px;
    height: auto;
}

.payment-methods {
    text-align: center;
}

.footer-contact h3 { color: #1c854c; font-size: 14px; font-weight: bold; margin-bottom: 15px;}
.footer-contact .fc-desc { margin-bottom: 30px;}
.footer-contact .contact-item {
    display: flex;
    justify-self: flex-start;
    gap: 10px;
}
.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.payment-icons img {
    height: 30px;
    width: auto;
}

.logo-img .company-name,
.company-info .phone-wrap,
.company-info .address {
    margin-bottom: 10px;
}
.logo-img p {
    margin-bottom: 0;
}
.company-info .phone-wrap span,
.company-info .address span {
    color:#0054A6;
}
.company-info .cart {
    color: #F21606;
}
.payment-wrap {
    display: flex;
    justify-content: space-between;
}
.payment-methods h3 {
    font-size: 16px;
    text-align: left;
    color: black;
    font-weight: bold;
}
.guarantee {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-info li {
    display: flex;
    flex-direction: column;
}

.site-footer .company-info {
    margin-top: 30px;
    text-align: left;
}
.site-footer hr {
    border-top: 1px solid #9D9D9D;
}
.company-logo { text-align: center; }

#hamburger {display: none;}
#hamburger i {
    font-size: 24px;
    color: black;
    cursor: pointer;
}
#menu {display: none; z-index: 9999;}
.prompt-field {padding: 20px 0}
label.error {
    color: red;
    font-size: 12px;
    display: block;
    font-weight: normal;
    margin-bottom: 0;
}
/* Responsive Styles */
/* News Styles */
.news-section .section-header {padding: 30px 0 25px;text-align: center;}
.news-section .section-desc p { color: #848484; }
.news-section .section-header ul { margin: 0; padding: 20px 0 0; list-style-type: none;}
.company-license {
    padding: 40px 0 0;
    text-align: right;
}
/* End News Styles */

.owl-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
}

.owl-dots .owl-dot {
    width: 10px !important;
    height: 10px !important;
    background-color: gray !important;
    border-radius: 20px !important;
    margin-right: 10px !important;
}

.owl-dots .owl-dot.active {
    width: 10px !important;
    height: 10px !important;
    background-color: white !important;
    border-radius: 20px !important;
}

/*start images products*/
.detail-gallery {position:relative}
.gallery-control {width: 78px; float: left;}
.gallery-control a {width:76px;height:76px;display:inline-block;margin-right:10px; margin-bottom: 5px; overflow: hidden; border: 1px solid #ddd; padding: 1px; border-radius: 3px;}
.gallery-control a img {border-radius: 3px;overflow: hidden;}

.popup-gallery { margin-left: 95px; }
.no-click {pointer-events: none;}
.overlay {position: absolute;top: 0;bottom: 0;left: 0;right: 0;height: 100%;background-color: rgba(0,0,0,0.58);transition: transform .3s, opacity .6s;pointer-events: none;}
header .overlay {z-index: 1;}
/*end images products*/

/* Scroll Top */
.scrollToTop {
    width: 41px;
    height: 41px;
    text-align: center;
    font-weight: bold;
    color: #444;
    text-decoration: none;
    position: fixed;
    bottom: 65px;
    right: 25px;
    display: none;
    z-index: 10;
    cursor: pointer;
}

/* Text Hide */
.text-split {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
}

/* Transition All */
.transition,
.control-owl button,
.carousel-comment-media .carousel-control a span,
.menu ul li a.has-child:after,
.menu ul li ul,
.menu ul li:hover > ul,
.scale-img img,
.scale-img:hover > img,
.btn-frame .kenit-alo-circle-fill,
.support-online .kenit-alo-circle-fill {
    -webkit-transition: 0.3s all;
    transition: 0.3s all;
}


/* Button Frame */
.btn-frame {
    display: block;
    width: 50px;
    height: 50px;
    position: fixed;
    right: 20px;
    z-index: 10;
    cursor: pointer;
}

.btn-frame i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #006ECD;
    position: relative;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.btn-frame i img {
    vertical-align: middle;
    background: white;
    border-radius: 50%;
    width: 55px;
}

.btn-frame .animated.infinite {
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.btn-frame .kenit-alo-circle {
    width: 60px;
    height: 60px;
    top: -5px;
    right: -5px;
    position: absolute;
    background-color: transparent;
    border-radius: 100%;
    border: 2px solid rgba(7, 41, 103, 0.8);
    border-color: #006ECD;
    opacity: 0.5;
}

.btn-frame .zoomIn {
    -webkit-animation-name: zoomIn;
    animation-name: zoomIn;
}

.btn-frame .animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.btn-frame .kenit-alo-circle-fill {
    width: 70px;
    height: 70px;
    top: -10px;
    right: -10px;
    position: absolute;
    border-radius: 100%;
    border: 2px solid transparent;
    background-color: rgba(7, 41, 103, 0.35);
    opacity: 0.4;
}

.btn-frame .pulse {
    -webkit-animation-name: pulse;
    animation-name: pulse;
}

.btn-tiktok {bottom: 500px;}
.btn-messenger {bottom: 425px;}
.btn-zalo {bottom: 350px;}
.btn-fb {bottom: 275px;}
.btn-phone {bottom: 200px;}

.mm-listview li a {
    text-transform: uppercase;
}
.name {
    text-transform: uppercase;
}

.p-name {
    font-size: 22px;
}
.filter-header {display: flex; justify-content: space-between;}
.filter-header i { display: none;}
.slider-section { padding-top: 0;}
#c2.owl-carousel .owl-item .desc { max-height: 300px; overflow-y: scroll;}
#c2.owl-carousel .owl-item .desc img { width: auto!important;}
#c1.owl-carousel .owl-item img {border-radius: 50%;}
#c1.owl-carousel .owl-item img {max-height: 214px;}
#site-index .site-footer { margin-top: 0;}
#article-category-view .news-img {max-height: 160px; overflow: hidden;}
#article-category-view .news-card-title {display: inline-block; padding: 5px;}
#article-category-view .view-more {display: inline-block; padding: 0 5px;}
.view-more a:hover { color: #1c854c;}
#youtubeLink iframe {
    width: 100% !important;
}
.page-content img,
.page-content iframe {
    max-width: 100%;
    height: auto;
}

.fix_head {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 999 !important;
    background: white;
}
/*page-loading*/
@keyframes page-load {
    from {
        background-color: #ffc422;
    }
    to {
        background-color: #c0392b;
    }
}
.page-loading .main-header::before {
    content:" ";
    display:block;
    position:fixed;
    z-index:10;
    height:3px;
    width:100%;
    top:1px;
    left:0;
    background-color:#06D;
    animation: page-load infinite ease-out 2s;
    box-shadow:0 2px 2px rgba(0,0,0,.2);
}
/* Transition All */
.scale-img img,
.scale-img:hover > img {
    -webkit-transition: 0.3s all;
    transition: 0.3s all;
}

/* Scale IMG */
.scale-img {
    overflow: hidden;
    display: block;
}

.scale-img img {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
}

.scale-img:hover > img {
    -webkit-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
}
/* Responsive Styles */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-header {
        text-align: center;
        padding-bottom: 10px;
    }

    .scrollToTop {
        bottom: 5px;
        right: 10px;
    }

    .btn-tiktok {bottom: 375px;}
    .btn-messenger {bottom: 300px;}
    .btn-zalo {bottom: 225px;}
    .btn-fb {bottom: 150px;}
    .btn-phone {bottom: 75px;}
}

@media (max-width: 768px) {
    .main-header {
        text-align: center;
        padding-bottom: 10px;
    }
    .support-content {
        flex-direction: column;
    }
}

@media (max-width: 1024px) {
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .logo-text {padding-top: 0;}
    .menu-top li a {
        text-align: center;
    }
    .logo-img .inner {
        justify-content: center;
        position: relative;
    }
    .menu-top {display: none;}
    .category-sub {
        flex-direction: column;
        display: none;
    }
    .section-header {
        padding: 40px 0;
    }
    .location-search { padding: 0 0 5px;}
    .location-search .location-info {
        justify-content: center;
    }
    .location-search .contact-search {
        display: block;
    }
    .contact-info {
        display: flex;
        justify-content: flex-start;
        gap: 20px;
        margin-bottom: 15px;
    }
    .fix_head .contact-info,
    .fix_head .location-info {display: none;}
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .qr-container {
        flex-direction: column;
    }

    .brand-slider {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 20px;
    }
    .site-footer .company-info {
        flex-direction: column;
    }
    .company-license {
        padding: 15px 15px 0;
    }
    .category-brand {display: none;}
    #menu {display: block;}
    #hamburger {display: block; padding-top: 10px;
        position: absolute; top: 15px; right: 15px;
    }
    .news-card { width: 100%;}
    .hot-brands .section-desc { flex-direction: column; }
    .news-section .section-desc { flex-direction: column; }
    .logo-img .company-name {text-align: center;}
    .filter-header {cursor: pointer;}
    .filter-header i {
        display: block;
        line-height: 54px;
        font-size: 25px;
    }
    .item-cate {
        display: none;
    }
    .gallery-home .gallery-item .tech-title {font-size: 10px;}
    .gallery-home .left-tech {padding-right: 5px;}
    .payment-wrap {
        flex-direction: column;
        gap: 20px;
    }
    .guarantee { justify-content: center; flex-direction: row;}
    .guarantee img { width: auto; max-width: 100%;}
    .gallery-home .gallery-item {margin-bottom: 15px;}
    .department img,
    .gallery-home .gallery-item img {width: 100%;}
    .gratitude-corner-home {padding-left: 0}
    .department .dept-title {font-size: 18px;}
    .home-news .news-card .news-img {max-height: 250px; padding: 0 5px;}
    .home-news .news-card.left {padding: 0 5px;}
    .home-news .news-card.left .news-img {max-height: 250px;}
    .company-license {text-align: center; padding: 15px;}
    .search-bar {max-width: none;}
}

.pri-color-bold {
    color: #1c854c;
    font-weight: bold;
}
.pri-color {
    color: #1c854c;
}