/*
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
*/



/*--lienhe-contact-noi--*/
.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.fc-item {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.fc-item.phone { background: #28a745; }
.fc-item.zalo { background: #0084ff; }
.fc-item.book { background: #1877F2; }
.fc-text {
    position: absolute;
    right: 60px;
    white-space: nowrap;
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 23px;
    opacity: 0;
    transform: translateX(10px);
    transition: 0.3s;
    font-size: 14px;
}
.fc-item img {
    width: 45px;
    height: 45px;
	border-radius: 100%;
}
a.fc-item:hover {
    color: #fff;
}
.fc-item:hover .fc-text {
    opacity: 1;
    transform: translateX(0);
}
.fc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: shake 2s infinite;
}
@keyframes shake {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(-10deg); }
    20% { transform: rotate(10deg); }
    30% { transform: rotate(-10deg); }
    40% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}
.fc-item::before,
.fc-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
}
.fc-item::before {
    animation: pulseRing 2s infinite;
}
.fc-item::after {
    animation: pulseRing 2s infinite;
    animation-delay: 1s;
}
.fc-item.phone::before,
.fc-item.phone::after {
    background: rgba(40, 167, 69, 0.4);
}
.fc-item.zalo::before,
.fc-item.zalo::after {
    background: rgba(0, 132, 255, 0.4);
}
.fc-item.book::before,
.fc-item.book::after {
    background: rgb(24 119 242 / 40%);
}
@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.8);
        opacity: 0;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}
/*-end-lienhe-contact-noi--*/

iframe {
    border-radius: 10px;
    margin-bottom: -10px !important;
}
.product_list_widget .custom-contact-price , .product_list_widget span.woocommerce-Price-amount{
    color: #5dac46;
    font-weight: bold;
}
.boxinfoproduct .price {
    font-weight: bold;
    color: #5dac46;
}
.woocommerce-variation-price {
    font-weight: bold;
    margin-top: 10px;
    font-size: 22px;
}
/* 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;
}
#masthead{
	top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
	box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
/* Khi scroll */
#masthead.is-fixed .main-header {
    height: 60px;
}
#masthead.is-fixed .site-branding img.is-logo-image {
    max-width: 55px;
}
/* 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);
}
.titlekm{
    display: flex;
    align-items: center;
    gap: 10px;
	margin-bottom: 10px;
}
.titlekm img{
    width: 30px;
    height: auto;
    display: block;
}
.titlekm span{
    line-height: 1;
}
.nevo-navigation li[class*="current-menu-"] > a {
    color: #1833a9;
}
.tabs-accordion .accordion--item:nth-child(2) {
    display: none !important;
}
.boxinfoproduct .price span.custom-contact-price, .product-content-wrap .woocommerce-loop-product__price.price {
    color: #5dac46;
    font-size: 17px;
    font-weight: bold;
}
.summary.entry-summary p.price span {
    background-color: #5dac46;
    color: #fff;
    padding: 5px 20px;
    border-radius: 5px;
}
.summary.entry-summary p.price {
    font-weight: bold;
	text-transform: uppercase;
    margin-top: 15px;
    margin-bottom: -5px !important;
	font-size: 18px !important;
	display: none;
}
.single-product div.product .variations_button::before{
	display: none !important;
}
.single_add_to_cart_button::before,
.buy-now-btn::before {
    content: none !important;
}
.woocommerce-variation-add-to-cart {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-items: stretch;
}

/* Quantity full width trong cột */
.woocommerce-variation-add-to-cart .quantity {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Input chiếm hết */
.woocommerce-variation-add-to-cart .quantity input.qty {
    width: 100%;
    text-align: center;
}

/* 2 nút full width */
.woocommerce-variation-add-to-cart .single_add_to_cart_button,
.woocommerce-variation-add-to-cart .buy-now-btn {
    width: 100%;
    height: 100%;
    margin: 0 !important;
}

/* Fix nút bị disabled vẫn giữ layout */
.woocommerce-variation-add-to-cart .single_add_to_cart_button.disabled {
    opacity: 0.7;
}


.product_meta {
    display: none;
}
.product_meta span.sku_wrapper {
    display: none !important;
}
.product_meta span.posted_in {
    margin-top: -10px !important;
}
.single_variation_wrap .price {
    margin-bottom: 0px !important;
    font-size: 30px;
    font-weight: bold;
	margin-top: 10px;
}
.variations .value select {
    background-color: #ffffff00;
    border: none;
    padding: 0px;
	background-image: none;
	margin-left: 10px;
}
.variations .label {
    float: left;
}
.variation-labels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
	margin-top: 10px;
	margin-bottom: -10px;
}
.variation-label {
	background: #f0f0f0;
    border: 1px solid #f0f0f0;
    text-align: center;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 5px;
}
.variation-label:hover {
    border-color: #000;
}
.variations select {
    display: none;
}
.variations .value {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
/* Hover */
.variation-label:hover {
    border-color: #1833a9;
}
/* Active */
.variation-label.active {
    background: #1833a9;
    color: #fff;
    border-color: #1833a9;
}



.boxleftdm {
    position: relative;
    height: 100%;
	text-align: center;
}
.bota_home_catepr_name {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #1833a9;
    padding: 20px 15px;
	border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.bota_home_catepr_name h2 {
    color: #fff;
    margin: 0;
    font-size: 20px;
	text-transform: uppercase;
}
.bota_home_catepr_link {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
	margin-bottom: 20px;
}
.bota_home_catepr_link a {
    display: inline-block;
    background: #fff;
    color: #1833a9;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
}
/* Hover cho đẹp */
.bota_home_catepr_link a:hover {
    background: #1833a9;
    color: #fff;
}
.quantity .nevo-product-qty{
	background: #5dac46 !important;
	font-size: 20px !important;
    line-height: 35px !important;
	color: #fff;
}
.woocommerce-product-gallery__image {
    border-radius: 10px;
}

.custom-contact-buttons {
        display: flex;
        gap: 10px;
        margin-top: 15px;
	    margin-top: 0px !important;
}
    .custom-contact-buttons .btn-contact {
        flex: 1;
		font-size: 15px;
        text-align: center;
        padding: 12px;
        border-radius: 6px;
        color: #fff;
        text-decoration: none;
        transition: 0.3s;
    }
    .custom-contact-buttons .hotline {
        background: #e53935;
    }
    .custom-contact-buttons .zalo {
        background: #0068ff;
    }
	.custom-contact-buttons .messenger {
        background: #1877F2;
    }
    .custom-contact-buttons .btn-contact:hover {
        opacity: 0.85;
    }
    /* Mobile: 1 cột */
    @media (max-width: 768px) {
        .custom-contact-buttons {
            flex-direction: column;
        }
    }


.custabsbv button[aria-selected="false"] {
	border: 2px solid #1833a9;
}
.custabsbv button[aria-selected="true"] {
    background: linear-gradient(135deg, #1833A9, #2F5BFF, #0F1F6B) !important;
}
.sub-menu a.nevo-menu-link {
    font-size: 12px;
}
.nevo-archive-title .page-title {
    font-size: 30px;
}
.product-content-wrap .woocommerce-loop-product__title{
	height: auto;
	font-weight: 600;
}
.woocommerce-tabs ul.tabs-accordion li.active a{
	border-top-left-radius: 5px;
    border-top-right-radius: 5px;
	font-weight: bold;
}
.accordion--item{
	border-radius: 5px;
}
ol.flex-control-nav.flex-control-thumbs img {
    border: 1px solid #dee2e6;
    border-radius: 10px;
}
.woocommerce-product-gallery .flex-viewport {
    border: 1px solid #dee2e6;
    border-radius: 10px;
}
section.related.products h2.woocommerce-loop-product__title {
    text-transform: inherit;
}
section.related.products h2 {
    font-weight: 600;
    text-transform: uppercase;
}

/*form.cart {
    display: flex;
}*/
/*form.cart .quantity,
form.cart .single_add_to_cart_button {
    width: 50%;
}*/
form.cart .quantity {
	border-radius: 5px;
	border: 1px solid #5dac46;
}
form.cart .single_add_to_cart_button {
	border-radius: 5px;
}
@media (max-width: 768px) {
    /*form.cart .quantity {
        width: 30%;
    }
    form.cart .single_add_to_cart_button {
        width: 70%;
    }*/
}


.woocommerce-product-details__short-description {
    font-size: 15px;
}
.woocommerce-product-details__short-description h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.widget-title.general-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #0792d9, #1833a9);
    border-radius: 10px;
}
.widget-title.general-title {
    text-transform: uppercase;
    font-weight: bold;
    position: relative;
    display: inline-block;
}
aside#woocommerce_product_categories-3 {
    border-radius: 10px;
}
.product-content.archive-product {
    border-radius: 10px;
}
.product-content.single-product {
    border-radius: 10px;
}

/*--css xu ly accordion dropdown sidebar woo--*/
.product-categories,
.product-categories ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
/* Item */
.product-categories .cat-item {
    position: relative;
}
/* Link */
.product-categories .cat-item > a {
    display: block;
    padding: 10px 36px 10px 12px;
    position: relative;
    text-decoration: none;
	font-weight: 600;
}
/* ICON dropdown (chỉ item có con) */
.product-categories .cat-parent > a::after {
	content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform .3s ease;
    font-size: 12px;
}
/* Ẩn menu con */
.product-categories .children {
    display: none;
    padding-left: 14px;
}
/* Khi mở */
.product-categories .cat-parent.open > .children {
    display: block;
}
/* Xoay icon khi mở */
.product-categories .cat-parent.open > a::after {
    transform: translateY(-50%) rotate(180deg);
}
/* Phân cấp dễ nhìn */
.product-categories .children .cat-item > a {
    font-size: 14px;
    padding-left: 22px;
}
.product-categories .children .children .cat-item > a {
    font-size: 13px;
    padding-left: 32px;
}
.product-categories .current-cat > a {
    font-weight: 700;
    color: #1833a9;
}
/*-end-css xu ly accordion dropdown sidebar woo--*/





.btntabcus {
    margin-top: 20px !important;
}
.box-khuyen-mai ul, .box-cam-ket ul {
    list-style: none;
	margin-bottom: 0px;
}
.box-cam-ket ul li img {
    max-width: 26px;
    margin-right: 10px;
}
.box-cam-ket ul li {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    position: relative;
    width: 100%;
    max-width: 50%;
    display: flex;
    align-items: center;
    margin: 0 0 5px;
    font-size: 14px;
    color: #000;
}
.box-cam-ket ul {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0;
}
.box-cam-ket .title {
    font-size: 16px;
    font-weight: 700;
	color: #000;
    margin-bottom: 10px;
}
.box-khuyen-mai .title img {
    width: 30px;
    height: auto;
    margin-right: 10px;
}
.box-khuyen-mai .content ul li img {
    width: 20px;
    height: auto;
    margin-right: 5px;
}
.box-khuyen-mai .content ul li {
    display: flex;
    margin: 0 0 10px;
    align-items: center;
    font-size: 14px;
    color: #000;
}
.box-khuyen-mai .content {
    padding-bottom: 5px !important;
    padding: 25px 15px 15px 15px;
    border-radius: 0 5px 5px 5px;
    position: relative;
    border: 1px solid #1b74e7;
}
.box-khuyen-mai .title {
    width: auto;
    color: #fff;
    font-weight: 600;
    background: #1833a9;
    border-radius: 5px 5px 0px 0px;
    font-size: 14px;
    display: inline-flex;
    padding: 5px 15px;
    align-items: center;
    border: 2px solid #1833a9;
}

.woocommerce div.product form.cart{
	float: none !important;
}
.listcathome img {
    width: 60%;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3) !important;
    margin-top: 10px;
}
.listcathome .tddm {
    margin-top: 10px;
    font-weight: bold;
	text-transform: capitalize;
}
.icon-box-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.icon-boxtext-left {
    display: flex;
    align-items: center;
    gap: 15px;
}
.icon-box-img {
    flex-shrink: 0;
	border-radius: 100%;
    padding: 10px;
    background-color: #fff;
    width: 65px;
}
.icon-box-img img {
    width: 50px;
    height: auto;
    display: block;
}
.icon-box-text h3 {
    margin: 0 0 5px;
    font-size: 16px;
	color: #fff;
	font-weight: bold;
}
.icon-box-text p {
    margin: 0;
    font-size: 14px;
    color: #fff;
}
@media (max-width: 768px) {
    .icon-box-list {
        grid-template-columns: 1fr;
    }
}



.post-carousel.carousel-baiviet {
    padding: 0px !important;
}
.tieudecenter {
    text-align: center;
}
.tieudecenter h2::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #1833a9, #4c6fff);
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(24, 51, 169, 0.3);
}
.tieudecenter h2 {
	position: relative;
    display: inline-block;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-size: 30px;
}
.tieudeleft.cldark h2 {
    color: #1833a9;
}
.tieudeleft h2 {
    color: #fff;
    text-transform: uppercase;
    font-size: 22px;
}
/*----slider---*/
.post-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
	padding: 10px 10px;
}
.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    will-change: transform;
}
#product-item {
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
	background-color: #fff;
}
.post-item .post-title {
	font-size: 17px;
	padding: 10px;
    background-color: #fff;
	margin-bottom: 0px;
	margin-top: -5px;
    border-radius: 10px;
}
.post-item .post-title a {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.post-item {
	text-align: center;
	border: 1px solid #d9d7d7;
    border-radius: 10px;
}
#product-item .product-title {
    font-size: 16px;
	margin-bottom: 5px;
}
#product-item .product-title a {
    color: #000 !important;
}
.boxinfoproduct {
    padding: 10px 20px 15px 20px;
}
ins .woocommerce-Price-amount.amount {
    font-size: 20px;
    font-weight: bold;
    color: #5dac46;
}
.post-thumb {
    display: inline-block;
    position: relative;
    overflow: hidden;
}
.post-thumb:hover img{
    transform: scale(1.12);
}
.post-thumb.thumb-baiviet img {
    width: 500px;
    height: 250px !important;
}
.post-thumb img {
    width: 500px;
    height: 270px !important;
	border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    object-fit: cover;
    display: block;
	transition: transform 0.7s ease;
}
/* Mobile */
@media (max-width: 768px) {
    .post-thumb img {
        height: 150px;
    }
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background: #1833a9 !important;
    color: #fff;
    border: none;
    font-size: 40px;
    cursor: pointer;
	padding: 0px 0px 8px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    border-radius: 8px;
}
.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

/*---end-slider---------*/
.cussilderhome .swiper-slide-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.cussilderhome .swiper-slide-image {
    width: 50%;
    order: 2;
}
.cussilderhome .elementor-image-carousel-caption {
    width: 50%;
    order: 1;
}
.cussilderhome .boxtxtbanner {
    max-width: 500px;
}
.cussilderhome h2 {
    font-size: 36px;
    margin-bottom: 15px;
	color: #fff;
}
.cussilderhome p {
    font-size: 16px;
    margin-bottom: 20px;
	color: #fff;
}
.cussilderhome a {
	display: inline-block;
    padding: 6px 20px;
    background: #fff;
    color: #000;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
}



.btntabcus a.elementor-button {
	margin-top: -10px;
}
.muthea a {
    font-size: 25px;
}
.divmonft p {
    margin-bottom: 10px;
}
.divmonft {
    margin-bottom: 10px;
}
.boxft li {
    margin-bottom: 0px !important;
}
.social-ft img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.social-ft {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.social-ft li {
    display: inline-block;
}
.social-ft li a {
    display: block;
}
.social-ft img {
    display: block;
    max-width: 100%;
    height: auto;
}
.boxft h3 {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}
p.tent {
    font-size: 12px;
}
a.nevo-menu-link {
    text-transform: uppercase !important;
    font-weight: bold !important;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

.variation-label{
    font-size: 14px;
}
button.button.buy-now-btn {
    display: none;
}
.woocommerce-variation-add-to-cart {
    grid-template-columns: repeat(2, 1fr);
}
.variations .value select {
	min-width: 35% !important;
}
.carousel-btn.prev {
    left: 0px;
}
.carousel-btn.next {
    right: 0px;
}
aside#woocommerce_products-5 , aside#woocommerce_product_categories-3 {
    padding: 20px 10px;
    border-radius: 0px;
}
.product-content.archive-product {
        padding: 15px !important;
        border-radius: 0px;
}
.nevo-container.inside-footer {
     padding-top: 30px;
     padding-bottom: 30px;
     padding-left: 15px;
     padding-right: 15px;
}
.product-content.single-product.product-template-1.product-gallery-horizontal {
    padding: 10px;
	border-radius: 0px;
}
.btntabcus a.elementor-button {
    font-size: 12px;
}
.boxft.box1, .boxft.box2, .boxft.box3 {
    margin-bottom: 30px !important;
}
.footer-row-cols > * {
        margin-bottom: 0px;
   }
.tieudecenter h2{
	font-size: 25px;
	margin-bottom: 20px;
}
.tieudeleft h2 {
    text-align: center;
}
.cussilderhome .swiper-slide-inner {
        flex-direction: column;
}
    .cussilderhome .swiper-slide-image,
    .cussilderhome .elementor-image-carousel-caption {
        width: 100%;
        order: unset;
    }
}