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





.nevo-container.inside-footer.d-flex.text-center.start-empty.has-center.end-empty.normal {
    padding: 10px;
}

.theftp {
    font-weight: bold;
}
img.imglogoft {
    width: 20%;
}
#contacts {
    position: fixed;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}
#contacts .rb-rounded-full {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 6px 0px rgba(24, 43, 84, 0.16);
    overflow: hidden;
}
#contacts .rb-rounded-full a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #004986;
}
#contacts .rb-rounded-full:hover {
    transform: scale(1.05);
    transition: 0.3s ease;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.iconzalo a {
    font-size: 15px;
    font-weight: bold;
}
.iconmessenger a {
    font-size: 30px;
}
.iconphone a {
    font-size: 25px;
}

.nevo-cat a {
	border-radius: 5px;
}
.cat-bottom .post-image > .cat-links{
	bottom: 8px;
}
li.woocommerce-mini-cart-item.mini_cart_item a {
    color: #000;
}

.nevo-nav-menu .sub-menu>li>a {
    border-bottom: none;
}
.featured-image img {
    display: none;
}
.nevo-breadcrumb, .nevo-breadcrumb a, .page-title{
	color: #000 !important;
}

.product-image-wrap.text-center.position-relative.image-zoom {
    box-shadow: 0px 4px 10px 0px rgba(33, 56, 104, 20%);
    border-radius: 10px;
}
.product-cat-wrapper {
    margin-bottom: -20px;
}
.inside-article {
    border-radius: 10px;
	box-shadow: 0px 4px 10px 0px rgba(33, 56, 104, 20%);
}
.blog-cols .inside-article:hover .entry-title a {
	color: #fff;
}
.blog-cols .inside-article:hover .entry-meta .byline {
	color: #fff;
}
.blog-cols .inside-article:hover .entry-meta a {
	color: #fff;
}
.blog-cols .inside-article:hover .posted-on,
.blog-cols .inside-article:hover .posted-on svg,
.blog-cols .inside-article:hover .posted-on time {
	color: #fff;
}
.in-category-dich-vu .inside-article:hover, .blog-cols .inside-article:hover {
    background-color: #004986;
    color: #fff;
}
.in-category-dich-vu .entry-summary.cv-mt-3 {
    display: none;
}
.in-category-dich-vu .inside-article {
    padding: 20px !important;
}
.in-category-dich-vu .entry-meta {
    display: none;
}
.blog-cols img.size-full.cv-col-12.wp-post-image{
	    border-radius: 10px;
}
.in-category-dich-vu img.size-full.cv-col-12.wp-post-image {
    width: auto;
    height: 170px !important;
    object-fit: cover;
}
.in-category-dich-vu article.cv-col-md-4 {
    width: 20%;
}

div#sub-category-list {
    margin-top: 20px;
}
.sub-category-list,
#sub-category-list .sub-cat-list {
    display: flex;
    justify-content: center;      /* Căn giữa ngang */
    align-items: center;           /* Căn giữa dọc */
    flex-wrap: wrap;               /* Cho phép xuống dòng khi hẹp */
    gap: 20px;                     /* Khoảng cách giữa các item */
    padding: 20px 0;
    margin: 0;
    list-style: none;
}
.sub-cat-list li.active a {
    background: #004986;
    color: #fff !important;
}

.sub-cat-list li a {
    font-size: 16px;
    color: #333;
    text-decoration: none;
	box-shadow: 0px 4px 10px 0px rgba(33, 56, 104, 20%);
    padding: 15px 20px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 600;
	background-color: #fff;
}
.sub-cat-list li a:hover {
	color: #fff;
    background-color: #004986;
}


/* Full width submenu trên desktop */
@media (min-width: 1024px) {
    .cssmenudv .sub-menu.no-marker {
        position: absolute;
        left: 0;
        right: 0;
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(-50vw + 118%);
        background: #fff;
        padding: 20px 0;
        display: flex;
        justify-content: center;
        gap: 40px;
    }
	
	.cssmenusp .sub-menu.no-marker {
        position: absolute;
        left: 0;
        right: 0;
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(-50vw + 16%);
        background: #fff;
        padding: 20px 0;
        display: flex;
        justify-content: center;
        gap: 40px;
    }

    .sub-menu.no-marker li a {
        white-space: nowrap;
        padding: 10px 0;
        display: block;
    }
}






.tab-title .description_tab .active a {
    background-color: red !important;
}

form.woocommerce-ordering {
    display: none;
}


.boxposthome .entry-meta {
    color: #fff;
}
.boxposthome .post-title a {
    color: #fff !important;
	font-size: 18px;
}
.boxposthome header.entry-header {
    background-color: #004986;
    padding: 10px 10px;
    margin-top: -16px;
	border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.post-list-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px; /* Khoảng cách giữa các bài */
}
/* Từ tablet trở lên: 2 cột */
@media (min-width: 768px) {
  .post-list-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Từ desktop trở lên: 3 cột */
@media (min-width: 1024px) {
  .post-list-wrap {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Xóa class column nếu cần */
.post-list-wrap .cv-col-12,
.post-list-wrap .cv-col-sm-6 {
  width: 100% !important;
  flex: unset !important;
  max-width: 100% !important;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}


a.nevo-menu-link {
    text-transform: uppercase !important;
    font-weight: bold !important;
    font-size: 13px !important;
}
.cat-header {
    margin-bottom: 20px;
}
.cat-header a {
    color: #000;
    font-size: 20px;
}
h2.cat-title {
	margin-bottom: 5px;
}
h1.product_title.entry-title {
    font-size: 40px;
    font-weight: 600;
}

h2.woocommerce-loop-product__title.title-small {
    font-size: 1rem;
    font-weight: bold;
    margin: 10px 0px 10px 0px;
}


.custom-variation-form .add_to_cart_button {
	display: block !important;
    width: 100% !important;
    background: #fff;
    color: #003366;
    border: 1px solid #003366;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
}



/* Ẩn giá gốc WooCommerce trong tất cả loop (archive, category, shop, related products) */
ul.products li.product .wc-product__price,
ul.products li.product .woocommerce-loop-product__price {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}




/* Container .custom-field ép nằm bên phải */
.custom-variation-col .custom-field {
    flex: 1 1 auto !important;       /* chiếm phần còn lại */
	display: block;
    justify-content: flex-end !important; /* ép nội dung sát phải */
    text-align: right !important;    /* text/nội dung bên phải */
}

.custom-variation-col .custom-field select{
	padding: 2px 10px;
}
.custom-variation-col .custom-field input[type="number"]{
	padding: 2px 10px;
	text-align: center !important;
}
/* Select/input/giá bên trong custom-field */
.custom-variation-col .custom-field select,
.custom-variation-col .custom-field input[type="number"],
.custom-variation-col .custom-field .custom-variation-price {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: auto !important;
    max-width: 80px !important;
	border-radius: 20px;
    font-size: 15px;
}


/* Mỗi cột thuộc tính */
.custom-variation-col {
    display: flex !important;
    justify-content: space-between !important; /* label trái, field phải */
    align-items: center !important;
    width: 100%; /* full width container */
    margin-bottom: 8px;
}

/* Label luôn bên trái, ép mạnh */
.custom-variation-col label {
    flex: 0 0 auto !important;   /* không co nhỏ, không giãn */
    text-align: left !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    margin-right: 10px !important;
    min-width: 80px !important;
	font-size: 13px;
}

/* Select/input/giá luôn bên phải */
.custom-variation-col select,
.custom-variation-col input[type="number"],
.custom-variation-col .custom-variation-price {
    flex: 1 1 auto !important;   /* chiếm phần còn lại */
    width: auto !important;
    text-align: right !important; /* select/input nằm phải */
}








.single_variation_wrap .woocommerce-variation-price .price {
    display: flex !important;              /* Bắt flex */
    justify-content: space-between !important; /* Label trái, giá phải */
    align-items: center !important;        /* Căn giữa theo chiều dọc */
    width: 100%;                           /* Chiếm full container */
}

.single_variation_wrap .woocommerce-variation-price .price .price-label {
	font-size: 1.25rem;
}

.single_variation_wrap .woocommerce-variation-price .price .woocommerce-Price-amount {
    margin-left: auto !important;          /* Đẩy giá sang phải */
	font-size: 30px;
}




/* Bố cục dòng SKU */
.product-sku-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
}

/* Label bên trái */
.product-sku-line .sku-label {
  color: #333;
  font-size: 1.25rem;
}

/* Giá trị SKU bên phải */
.product-sku-line .sku-value {
  font-weight: 500;
  text-align: right;
  font-size: 23px;
}

/* Responsive cho mobile */
@media (max-width: 600px) {
  .product-sku-line {
    font-size: 14px;
  }
}




.single-product div.product table.variations .value {
    margin-bottom: 0px;
}

/* Ẩn hoàn toàn nút Clear variations */
table.variations .reset_variations {
  display: none !important;
}

/* Bố cục label bên trái, select bên phải */
table.variations tr {
  display: flex;
  /*align-items: center;*/
  padding-top: 10px;
  justify-content: space-between;
  width: 100%;
}

/* Label Dung tích bên trái */
table.variations th.label {
  flex: 0 0 auto;
  width: 70% !important; /* có thể chỉnh lại tùy độ dài label */
  text-align: left;
  font-weight: 400;
  margin-right: 10px;
	font-size: 1.25rem;
}

/* Style cho select */
table.variations select {
  width: 100% !important;
  max-width: 220px; 
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
}

/* Responsive: co gọn trên mobile */
@media (max-width: 600px) {
  table.variations tr {
    flex-direction: row;
  }
  table.variations th.label {
    width: 80px;
    font-size: 14px;
  }
  table.variations select {
    max-width: 160px;
    font-size: 14px;
  }
}


h3.product-title {
    font-size: 1rem;
    font-weight: bold;
    margin: 10px 0px 10px 0px;
}
.product-item img {
    width: 100%;
}
.product-item {
    border: 1px solid #eee;
	box-shadow: 0px 0px 6px 0px rgba(24, 43, 84, 0.16);
    border-radius: 10px;
    padding: 15px;
	margin-top: 10px;
    margin-bottom: 30px;
    background: #fff;
    max-width: 370px;
}
.action-row {
    display: grid;
}
.option-row {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.option-row label {
	font-weight: 500;
    font-size: 13px;
    color: #333;
}

.variation-select {
    width: 80px;
    padding: 2px 10px;
    border: 1px solid #ccc;
    border-radius: 20px;
	font-size: 13px;
}

.quantity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 5px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ccc;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.qty-input {
    width: 80px;
    text-align: center;
	padding: 2px 10px !important;
    border-radius: 20px;
	font-size: 13px;
}

.custom-variation-price .price-text, .price-row .product-price {
    font-weight: 700;
    font-size: 16px;
    color: #003366;
}

.add-to-cart-btn {
    background: #fff;
    color: #003366;
    border: 1px solid #003366;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
	font-weight: 500;
    font-size: 13px;
}

.custom-variation-form .add_to_cart_button:hover, .add-to-cart-btn:hover {
    background: #004080;
	color: #fff;
}

.view-more-link {
    margin-left: 10px;
    font-weight: 500;
    color: #004080;
    text-decoration: none;
}






.boxsliderdv figure.swiper-slide-inner:hover {
  	transform: scale(1.1);
  	/*box-shadow: 0 8px 20px rgba(0,0,0,0.3);*/
}
.boxsliderdv figure.swiper-slide-inner {
  	transition: transform 0.3s ease;
	display: inline-block;
  	overflow: hidden;
  	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.slide-catdv h3 {
    font-size: 15px;
}
.bottom-footer {
    border-top: 0.1px solid;
}
ul.cusmenuft li {
    margin: 0px 10px;
}
.box-socialft {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  gap: 10px;
}
.box-socialft li a img {
  width: 32px;
  height: auto;
  display: block;
}
.cusmenuft {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center; /* căn giữa menu */
  font-size: 0; /* loại bỏ khoảng trắng giữa inline-block */
}

.cusmenuft li {
  display: inline-block;
  margin: 0 15px; /* khoảng cách giữa các mục */
  font-size: 16px; /* khôi phục lại cỡ chữ */
  vertical-align: middle;
}

.cusmenuft li a {
  text-decoration: none;
  font-weight: bold;
}

.cusmenuft li a:hover {
  color: #007bff;
}

/* --- Responsive: xuống dòng ở màn hình nhỏ --- */
@media (max-width: 767px) {
  .cusmenuft li {
    display: block;
    margin: 8px 0;
  }
}

.boxconft {
    text-align: center;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

	
.product-content.single-product.product-template-1.product-gallery-horizontal {
    padding: 10px;
}
img.imglogoft {
    width: 50%;
}
h1.csshead1 {
    font-size: 27px;
}
.has-center.has-end .header-col.col-end{
	margin-left: -10px;	
}
.social-sharing.social-general.nevo-dropdown.d-flex.flex-wrap.align-items-center.cv-col-12.justify-content-center {
    padding: 10px;
}
.nevo-sorting.product-catalog-header.d-flex.flex-wrap.align-items-center {
    margin-bottom: 10px;
}
.nevo-container.inside-page-header {
    padding: 10px;
}
.blog-cols .inside-article {
	margin: 0px !important;
	padding: 0px !important;
}
.type-post .inside-article {
	margin: 10px;
	padding: 10px !important;
}
.in-category-dich-vu .inside-article {
    padding: 10px !important;
}
.in-category-dich-vu img.size-full.cv-col-12.wp-post-image {
	height: 150px !important;
}
.blog-cols.cv-row {
    padding: 0px 10px 0px 10px;
}
.footer-section .inside-footer {
    padding: 30px 10px 0px 10px;
}
.variation-select {
	width: 70px;
}
.qty-input {
	width: 70px;
}
.product-content.archive-product.product-grid-view {
    padding: 10px !important;
}
	.in-category-dich-vu article.cv-col-md-4 {
    width: 50%;
}
	.sub-category-list,
#sub-category-list .sub-cat-list {
		gap: 40px;
	}
	.custom-variation-price .price-text, .price-row .product-price{
		font-size: 12px;
	}
	.custom-variation-col label{
		    min-width: auto !important;
	}
	.custom-variation-form .add_to_cart_button, .custom-variation-col label, .add-to-cart-btn, .option-row label{
		font-size: 10px;
	}
	h1 {font-size: 35px;}
	h2 {font-size: 31px;}
	h3 {font-size: 27px;}
	h4 {font-size: 23px;}
}