/*
Theme Name: Nevo Child
Theme URI: https://nevothemes.com/
Description: Child theme for Nevo theme
Author: Your Name
Template: nevo
Version: 1.0.0
Text Domain: nevo-child
*/



.post-image.size-full span.nevo-cat.cat-links {
    display: none;
}
img.size-full.cv-col-12.wp-post-image {
    height: 240px;
}
.entry-header .post-image, .featured-image {
    display: none;
}
.entry-content a {
    text-decoration: none;
}
.product-content.archive-product.product-hidden-view {
    border-radius: 10px;
}
.page-header .taxonomy-description {
    display: none;
}
.dv-category-description-bottom {
    margin: 30px 0px -30px 0px;
}
.boxtxtkkhlh li {
    font-size: 20px;
    margin-bottom: 10px;
}
.boxformlh .wpcf7-form-control {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}
.boxformlh .wpcf7-textarea {
    height: 100px;
}
h1.product_title.entry-title {
    font-weight: bold;
}
.boxinfotintuc a.btn-view-more i {
    font-size: 12px;
}
.boxinfotintuc {
    padding: 10px;
	margin-top: -6px;
}
h3.post-title-tintuc {
    font-size: 20px;
    margin-bottom: 5px;
}
a.post-thumb.tintuc img {
    border-radius: 10px;
}
/* Header mặc định */
.main-header {
    height: 90px;
    transition: height .25s ease;
}
.site-branding img.is-logo-image {
    /*max-width: 85px;*/
    transition: max-width .25s ease;
}
/* Khi scroll */
#masthead.is-fixed .main-header {
    height: 60px;
}
#masthead.is-fixed .site-branding img.is-logo-image {
    max-width: 175px;
}
/* Fixed header */
#masthead.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
/* Chống che nội dung */
body.has-fixed-header {
    padding-top: var(--header-height, 90px);
}


li.cat-item.cat-parent.current-cat-parent {
    display: none;
}
section.related.products h2 {
    text-transform: uppercase;
    font-weight: bold;
}
.product-categories li.cat-item a:hover {
	color: #ff7f00;
}
.product-categories li.cat-item.current-cat a{
	color: #ff7f00;
}
.product-categories li.cat-item a {
    font-weight: bold;
	color: #005198;
}
h2.woocommerce-loop-product__title {
    font-weight: bold;
}
h2.widget-title.general-title {
    text-transform: uppercase;
}
.sub-menu a.nevo-menu-link {
    font-size: 13px;
}
.nevo-archive-title .page-title {
    font-size: 30px;
}
.nevo-breadcrumb p {
    margin-bottom: 0px;
}


.custom-contact-buttons {
        display: flex;
        gap: 10px;
        margin-top: 15px;
    }

    .custom-contact-buttons .btn-contact {
        flex: 1;
        text-align: center;
        padding: 12px;
        border-radius: 6px;
        color: #fff;
        font-weight: 600;
        text-decoration: none;
        transition: 0.3s;
    }

    .custom-contact-buttons .hotline {
        background: #e53935;
    }

    .custom-contact-buttons .zalo {
        background: #0068ff;
    }

    .custom-contact-buttons .btn-contact:hover {
        opacity: 0.85;
    }

    /* Mobile: 1 cột */
    @media (max-width: 768px) {
        .custom-contact-buttons {
            flex-direction: column;
        }
    }



.woocommerce-product-details__short-description h3 {
    font-size: 23px;
    font-weight: bold;
    margin-bottom: 10px;
}
.product-title {
    font-size: 25px;
    margin-top: 10px;
}
.product-title a {
    color: #ff7f00;
}
.box-btn-xbg {
    transition: all ease 0.3s;
    line-height: 45px;
    margin: 0 2px;
}
a.btn-xem-bao-gia {
    font-weight: bold;
    transform: skew(-15deg);
    background-color: #005198;
    padding: 10px 22px;
    border-radius: 10px;
    margin: 0 2px;
    color: #fff;
    padding: 10px 20px;
}
.gthinh1 img {
    max-width: 125% !important;
}
.gthinh2 img {
    max-width: 125% !important;
    margin-left: -100px;
    margin-top: 100px;
}


.wpcf7-spinner {
    display: none;
}
.boxfrombtnmail p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}
.boxfrombtnmail .wpcf7-form-control-wrap {
    flex: 1;
}
.boxfrombtnmail input[type="email"] {
    width: 100%;
    height: 45px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.boxfrombtnmail input[type="submit"] {
    height: 45px;
    padding: 0 20px;
    background: #ff7f00;
    color: #fff;
    border: none;
    border-radius: 4px;
    white-space: nowrap;
    cursor: pointer;
}
/* Mobile vẫn giữ 1 dòng */
@media (max-width: 576px) {
    .boxfrombtnmail p {
        gap: 5px;
    }
    .boxfrombtnmail input[type="submit"] {
        padding: 0 15px;
        font-size: 14px;
    }
}


.boxbgformft p {
    transform: skew(15deg);
	color: #fff;
}
.boxbgformft {
    background-color: #024e98;
    transform: skew(-15deg);
    border-radius: 10px;
    padding: 15px 140px 25px 140px;
	text-align: center;
	width: 80%;
    margin: 0 auto;
}

button.search-submit {
    height: 30px;
    padding: 0px 10px;
    border-top-right-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}
input.search-field {
    border-radius: 20px;
    height: 30px;
    font-size: 14px;
}
a.nevo-menu-link {
    text-transform: uppercase !important;
    font-weight: bold !important;
}
/*----slider---*/
.post-carousel {
    position: relative;
    width: 100%;
    overflow: hidden; /* che tràn slider */
}

.carousel-track {
    display: flex;
    gap: 20px; /* khoảng cách giữa item */
    transition: transform 0.5s ease;
    will-change: transform;
}
.post-item .post-title {
	font-size: 18px;
    margin: -6px 8px 10px 8px;
	padding: 10px;
    background-color: #f7f7f7;
    border-bottom: 5px solid #005198;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.post-item .post-title a {
	color: #005198;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.post-item {
	text-align: center;
}
.post-thumb {
    display: inline-block;
    position: relative;
    overflow: hidden;
}
.post-thumb img{
    transition: transform 0.7s ease;
}

/* Hover zoom */
.post-thumb:hover img{
    transform: scale(1.12);
}
#product-item .post-thumb img {
	border-radius: 10px !important;
}
.post-thumb img {
    width: 350px;
    height: 250px !important;
	border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    object-fit: cover;  
    display: block;
}

/* Mobile */
@media (max-width: 768px) {
    .post-thumb img {
        height: 150px;
    }
}

/* nút slider */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background: #ff7f00 !important;
    color: #fff;
    border: none;
    font-size: 40px;
    cursor: pointer;
	padding: 0px 0px 5px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    border-radius: 8px;
}
.carousel-btn.prev { left: 0px; }
.carousel-btn.next { right: 0px; }

/*---end-slider---------*/



.coldv h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
}
.coldv p {
    color: #fff;
}
.coltaisao h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.custitlecentercobg nav.rank-math-breadcrumb, .custitlecentercobg nav.rank-math-breadcrumb a {
    color: #fff;
}
.custitlecentercobg{
	text-align: center;
}
.custitlecentercobg h1 {
    text-transform: uppercase;
	font-size: 33px;
	color: #fff;
	margin-bottom: 5px;
}
.custitlecenter{
	text-align: center;
}
.custitlecenter h2 {
    text-transform: uppercase;
	font-size: 33px;
}
.line-detail-link a {
    color: #005198;
}
.line-detail-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.line-detail-link::before {
    content: "";
    flex: 1; /* tự kéo dài */
    height: 1px;
    background: #e5e5e5;
}

/* giữ link không bị xuống dòng */
.line-detail-link .viewmore {
    white-space: nowrap;
}




.boxtxtgthome h3 {
    margin-bottom: 10px;
    color: #ff7f00;
}
.boxtxtgthome h1 {
    font-size: 35px;
    margin-bottom: 10px;
}
.boxslidebanner img.swiper-slide-image {width: 100%;}
/* Khung chứa slide */
.boxslidebanner .swiper-slide-inner {
    position: relative;
}
/* Caption full khung */
.boxslidebanner .elementor-image-carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;   /* canh giữa theo chiều dọc */
    justify-content: flex-start; /* canh trái */
    pointer-events: none; /* tránh chặn click */
}
/* Box text */
.boxtxtbanner {
    margin-left: 200px;
    pointer-events: auto;
	text-align: left;
}
.boxtxtbanner h2 {
    font-size: 28px;
    margin-bottom: 10px;
	color: #fff;
    font-weight: bold;
}
.boxtxtbanner h3 {
    font-size: 40px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 20px;
	color: #fff;
}
.btnbaner {
    display: flex;
    gap: 10px;
}
.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
}
.btn-blue {
    background: #005198;
    color: #fff;
}
.btn-white {
    background: #fff;
    color: #1c3584;
}




.dv-footer-info {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    align-items: center;
}
.dv-col-img img {
    width: 60%;
}
.dv-col-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
	color: #ff7f00;
}
.dv-col-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
}
.dv-col-social {
    display: flex;
    justify-content: left;
    gap: 15px;
}
.dv-col-social a {
    width: 40px;
    height: 40px;
    background: #ff7f00;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    font-size: 16px;
}
.dv-col-social a:hover {
    transform: translateY(-3px);
}
/* Mobile */
@media (max-width: 768px) {
    .dv-footer-info {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.boxft.box2{
	width: 120%;
}
.boxft.box3 {
    margin-left: 50px;
}
.boxft.box1 p {
    font-size: 15px;
}
.boxft.box1 img {
    width: 60%;
    margin-bottom: 20px;
}
.boxft {
    color: #fff;
}
.boxft li {
    color: #fff;
}
.boxft a {
    color: #fff;
}
p.titleflh {
    font-weight: bold;
	font-size: 25px;
    margin-bottom: 10px;
}
.titleft {
    color: #87c7ff;
    font-weight: 600;
	text-transform: uppercase;
	font-size: 18px;
    margin-bottom: 15px;
}
a.tellhead {
    margin-right: 20px;
	font-weight: bold;
    color: #005198;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


.boxft.box2{
	width: 100%;
}
.boxft.box3 {
    margin-left: 0px;
}
.boxbgformft p, .boxbgformft h3 {
    transform: skew(360deg);
	font-size: 20px;
}
.boxbgformft {
    transform: skew(360deg);
    padding: 15px 10px 25px 10px;
    width: 100%;
}
.gthinh2 img {
	margin-left: -40px;
}
.custitlecenter h2 {
    font-size: 25px;
}
.boxslidebanner img.swiper-slide-image {
    height: 400px;
}
.boxtxtbanner {
    margin-left: 20px;
}
}