/*
Theme Name: WEBVIP
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
h1,h2,h3,h4,h5,h6 {
    text-wrap: inherit;
}
.page-wrapper {
    padding-top: 0;
}
/*Sanpham*/
/* Khối chứa quantity + button */
.add-to-cart-container form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Khối chọn số lượng */
.add-to-cart-container .quantity {
  flex: 0 0 auto;
}

/* Input số lượng */
.add-to-cart-container .quantity input.qty {
  width: 80px;
  height: 48px;
  text-align: center;
  font-weight: 600;
}

/* Nút thêm vào giỏ */
.add-to-cart-container .single_add_to_cart_button {
  flex: 1;
  height: 48px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
}

/* Mobile: xếp dọc nếu hẹp */
@media (max-width: 480px) {
  .add-to-cart-container form.cart {
    
  }

  .add-to-cart-container .single_add_to_cart_button {
    width: 100%;
  }
}



.shop-page-title.category-page-title {
    padding-top: 40vh !important;
}
.shop-page-title.category-page-title  .title-overlay {
    background: rgb(255 255 255 / 0%);
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(14px);
}
.shop-page-title.featured-title .page-title-inner {
    padding-bottom: 20px;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    right: 0;
    font-size: 32px;
}
.product-small{
    background: #fff !important;
    padding: 24px;
    border-radius: 10px;
}
.related-products-wrapper .product-small{
    padding: 5px;background: transparent !important;
}
.related-products-wrapper .row.has-equal-box-heights{

}
.products .product-small{
    background: transparent !important;
}
/* Style mô tả ngắn giữa tiêu đề và giá */
.webvip-loop-shortdesc{
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #444;
  display: -webkit-box;
  -webkit-line-clamp: 2;   /* đổi 2 → 3 nếu muốn 3 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Giữ khoảng cách tiêu đề/mô tả/giá trong card Flatsome */
.product-small .box-text .title-wrapper{ margin-bottom: 4px; }
.product-small .price-wrapper{ margin-top: 6px; }

/* Container chung để chứa phần trăm khuyến mại và giá chênh lệch */
.header-cart-icon img{
    max-width: 124px;
}
span.woocommerce-Price-amount.amount {
    color: #FF6900 !important;
    font-size: 17px;
}
.discount-percentage-label {
    position: absolute;
    bottom: 15px;
    right: 10px;
    background-color: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 3px 10px;
    font-size: 13px;
    font-weight: 400;
    border-radius: 15px;
    z-index: 10;
}
.product-small .box-text {
    position: initial;
    padding: 10px 0 0 !important;
    display: inline;
}
.product-small{
    position: relative;
}
.spkhuyenmai .box-text.text-center {
    padding: 0;
}
.category-page-row .custom-read-more-wrapper{display:none;}
.product-small.box.has-hover.box-bounce.box-text-bottom,
.product-small.box.spkhuyenmai.has-hover.box-normal.box-text-bottom{
    padding: 10px;
    background: #fff;
}
p.name.product-title.woocommerce-loop-product__title a{
    padding: 10px 0;
    font-weight: 600;
    color: #0F172B;
    text-align: left;
}

.box-bounce .box-text {
    padding: 0;
}
.custom-read-more-wrapper {
    margin-top: 10px;
}
.custom-read-more {
    font-size:17px;
    display: block !important;
    padding: 0px;
    margin: 0;
    background-color: #21624e;
    color: #fff;
    text-transform: inherit;
    font-weight: 600;
}
.custom-read-more:hover,button.single_add_to_cart_button.button.alt:hover {
    background-color: #21624e;
    color: #000;
    box-shadow:none;
}
.custom-read-more-wrapper {
    margin: 0;
}
.product-policises-wrapper {
    margin: 15px 0px
}
.product-policises-wrapper .product-policises {
    font-size: 16px;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50%, 1fr))
}
@media (max-width: 767px) {
    .product-policises-wrapper .product-policises {
        grid-template-columns:1fr
    }
}
.product-policises-wrapper .product-policises .media {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: center;
    margin-bottom: 15px
}
.product-policises-wrapper .product-policises .media>div:not(.media-body) {
    width: 32px;
    height: 32px;
    margin-right: 15px
}
.product-policises-wrapper .product-policises .media .media-body {
    -ms-flex: 1;
    flex: 1
}
.product-hotline,.product-policises-wrapper {
    background: var(--mainColor2);
    border: 2px dotted #dbdbdb;
    line-height: 30px;
    padding: 5px 10px;
    font-weight: 500
}
.product-hotline img {
    height: 25px;
    margin: 0 !important;
}
.product-hotline a {
    color: #C90000;
    font-weight: bold
}
.product-hotline a:hover {
    opacity: 0.7
}
.details-pro{
    margin: 0;
    padding-bottom: 0;
}
.related-products-wrapper .price-wrapper{
    
}
.related-products-wrapper .box-image img {

}
.related-products-wrapper .product-small .col-inner{
    padding: 10px;
    background: #fff;
    border-radius: 15px;
}
.spkhuyenmai .custom-read-more-wrapper{display:none;}

.slider-nav-light .flickity-page-dots .dot.is-selected, .slider-nav-light.slider-nav-dots-simple .flickity-page-dots .dot {
    background-color: #c49431;
}
.badge-container {
    margin: 10px 0 0;
}
.badge {
    height: 30px;
}
span.onsale {
    padding: 5px 8px;
    font-size: 14px;
    line-height: 31px;
}
.badge-circle .badge-inner, .badge-circle-inside .badge-inner {
    background: #ffba00;
    color: #000;
}

img.show-on-hover.absolute.fill.hide-for-small.back-image {
    display: none;
}

.has-shadow .box-text,.sanphamnb-home .box-image {
    padding: 15px 0 0;
}
p.name.product-title.woocommerce-loop-product__title {
    
}
.slider-type-fade .flickity-slider>.is-selected,
.flickity-slider>a, .flickity-slider>a>img, .flickity-slider>div:not(.col), .flickity-slider>figure, .flickity-slider>img, .flickity-slider>p{
    /*
    display: flex;
    justify-content: center;
    background: #fff;
    border-radius: 15px;
    border: 1px solid #ccc;
    */
}
.return-to-shop .button {
    font-size: 14px;
}
.cart-item ul.nav-dropdown.nav-dropdown-simple {
    padding-bottom: 0;
}
.form-flat input:not([type=submit]), .form-flat select, .form-flat textarea {
    color: #000 !important;
}
.shop-page-title .breadcrumbs {
    padding: 0;
}
span.product-title:hover {
    color: #ffba00;
}
.nav-dots-small .flickity-page-dots .dot, .row-slider .flickity-page-dots .dot {
    background-color: #fff;
    opacity: 0.7;
}
.type-product .price-wrapper {
    color: #FF6900;
    font-size: 17px;
    text-align: left;
}
.price-wrapper {
    text-align: left;
}
.sanphamnb-home .products .featured .col-inner{
    border-radius: 10px;
    overflow: hidden;
}
.price-wrapper .price {
    display: inline;
}
ins span.amount {
    color: #F63737;
    font-size: 16px;
    padding-top: 5px;
    display: inline-block;
}
.button span {
    font-weight: 400;
}
nav.woocommerce-breadcrumb.breadcrumbs {
    padding: 0 10px;
}
.product-gallery-slider img.wp-post-image.ux-skip-lazy{
    width: 100%;
    border: 1px solid #d3d3d3;
    border-radius: 15px;
}
.attachment-woocommerce_thumbnail{
    min-height: 90px;
    object-fit: cover;
    margin-bottom: 0 !important;
}
.product-thumbnails a {
    border: 1px solid #d3d3d3;
}
.ux-quantity.quantity.buttons_added.form-flat {
    display: none;
}
button.single_add_to_cart_button.button.alt {
    width: 100%;
    border-radius: 5px;
}
.chitietsp1{padding-bottom: 0;}
.product-short-description {

}
.shop-container .products .col-inner {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #fff;
}
td.shipping__inner {
    padding-left: 0 !important;
}
/*endsanpham*/

/*Blog*/
.blog-wrapper > .archive-page-header,.page-title.blog-featured-title {
    background: url(/wp-content/uploads/2026/01/So-sanh-dien-mat-troi-va-dien-gio-ve-moi-truong-3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    margin-bottom: 20px;
    min-height: 410px;
    display: flex;
    align-items: center;
    position: relative;
    text-align: center;
}
.category .blog-archive.page-wrapper {
    padding-top: 0;
}
.blog-wrapper > .archive-page-header:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / 0%);
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(14px);
}
.blog-archive h1.page-title{
    font-size: 32px;
    text-transform: capitalize;
    color: #fff;
}
.page-title.blog-featured-title h1.entry-title {
    font-size: 30px;
    position: relative;
    z-index: 2;
}
.page-title.blog-featured-title:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / 0%);
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 1;
}
.box.box-text-bottom.box-blog-post.has-hover {
    background-color: #fbfbfb;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #ffffff;
}
.box-text.text-left {
    padding: 15px;
}
.widget .is-divider {
    margin-top: .66em;
    display: none;
}
.product-hotline,.product-policises-wrapper {
    background: var(--mainColor2);
    border: 2px dotted #dbdbdb;
    line-height: 30px;
    padding: 5px 10px;
}
.badge.post-date.badge-outline {
    width: 90px;
    height: 60px;
}
span.post_comments.op-7.block.is-xsmall {
    display: none;
}
.flex-row.recent-blog-posts.align-top.pt-half.pb-half {
    padding-top: 15px;
}
.recent-blog-posts a {
    font-size: 14px;
}
.type-post h1.entry-title {
    text-align: left
}
.type-post .article-inner.has-shadow .entry-header-text-top {
    padding-top: 0;
    padding-bottom: 0
}
.type-post .entry-divider {

}
.entry-header-text.entry-header-text-top.text-left {
    padding-top: 0;
    padding-bottom: 0;
}
.entry-content {
    padding-top: 5px;
}
#toc_container p.toc_title {
    text-align: left;
}
.blog-wrapper>.archive-page-header {

}
.blog-archive .box-image .image-cover {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
/*Blog*/
/*DỰ ÁN*/
/*Danh sách dự án*/
.image-zoom {
  overflow: hidden;
  border-radius: 16px; /* nếu card bo góc */
}

.mfp_portfolio_item_inner img {
  transition: transform 0.6s ease;
  transform: scale(1);
}

.mfp_portfolio_item_inner:hover img {
  transform: scale(1.1);
}

.breadcrumb .separator {
    margin-left: 10px;
    margin-right: 5px
}
.mfp_portfolio_item_inner {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
.mfp_portfolio_item_inner .mfp_portfolio_item_inner_txt{
    position: absolute;
    top: 0;
    width: 100%;
}
.mfp_portfolio_item_inner .mfp_portfolio_item_inner_txt h4 a{
    color: #fff;
}
.mfp_portfolio_item_inner a img {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.mfp_portfolio_item_inner_txt {
    padding: 15px;
}
h4.mfp_portfolio_title {
    line-height: 24px;
    min-height: 46px;
    text-align: left;
}
.mfp_portfolio_item_inner:before {

}
.mfp_portfolio_title a {
    font-size: 17px;
}
.mfp_portfolio_tem {
    margin: 0;
}
p.mfp_portfolio_excerpt {
    font-size: 14px;
    padding-top: 10px;
}
.mfp_portfolio_read_more {
    display: block;
    background-color: #fff;
    color: #000 !important;
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 10px;
    border: 1px solid #fff;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    margin: 0;
}


/*chi tiết dự án*/
h1.tieudeduan {
    font-size: 22px;
    margin-bottom: 15px;
    padding-top: 30px;
}
.webvipduan-slider img {
    width: 100%;
}
.webvipduan-slider_thumb .col {
    max-height: 110px;
    overflow: hidden;
}
.webvipduan-slider_thumb .col img {
    max-height: 110px;
    object-fit: cover;
}
.galleryduan {
    padding: 0 0 20px;
}
.box_meta_single_content {
    background-color: #ea680c;
    color: #fff;
    display: flex;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.box_meta_single_content .item {
    padding: 10px 3px;
    display: flex;
    align-items: center;
    border-left: 1px solid #f3f3f3;
    font-size: 14px;
    gap: 10px;
    flex: 1 1 0;          /* chia đều 3 cột */
}
.box_meta_single_content .item img {
    width: 45px;
    margin-right: 5px;
    margin-left: 5px;
}
.box_meta_single_content .fw-b {
    letter-spacing: -.5px;font-weight: bold;
}
.fs-12 {
    font-size: 12px;
}
.duan-single-page {
    font-size: 18px;
}
/*widget DỰ ÁN*/
.widget-title,.sidebar_title {
    background-color: #ea680c;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 10px;
    margin-bottom: 10px;
    display: block
}
.sidebar_list_post .item img {
    width: auto;
    height: 100%;
    object-fit: cover;
}
.sidebar_list_post .item {
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.sidebar_list_post .item .title {
    line-height: 19px;
    padding: 10px 0;
    font-size: 14px;
}
.sidebar_list_post .item .thumb {
    flex: 0 0 110px;
}
.widget_latest_du_an_widget {
    padding-top: 30px;
}
.danhmuc-du-an {
    padding-top: 0px;
}
/*DỰ ÁN*/

/*CSS PAGE*/
.checkout-page-title.page-title {
    padding-top: 120px;
}
.product-variants {
  display: flex;
  gap: 10px;
  margin: 15px 0;
  flex-wrap: wrap;
}

.variant-item {
  border: 1px solid #d1d5db;
  padding: 10px 25px 10px 10px;
  border-radius: 6px;
  text-align: left;
  min-width: 120px;
  text-decoration: none;
  background: #fff;
  transition: all 0.2s ease;
}

.variant-item .name {
  display: block;
  font-weight: 500;
  font-size: 14px;
}

.variant-item .price span.woocommerce-Price-amount.amount{
  font-size: 15px;
  color: #16a34a;
}

/* Hover */
.variant-item:hover {
  border-color: #16a34a;
}

/* Active (đang xem) */
.variant-item.active {
  border: 2px solid #dc2626;
  position: relative;
}

.variant-item.active::after {
  content: "✓";
  position: absolute;
  top: 0px;
  right: 3px;
  color: #dc2626;
  font-weight: bold;
}

/* Disabled */
.variant-item.disabled {
  background: #f3f4f6;
  color: #9ca3af;
  border: 1px dashed #cbd5e1;
  cursor: not-allowed;
  pointer-events: none;
}

.variant-item.disabled .price {
  color: #9ca3af;
}

a.rmhover {
    display: none;
}
.row-sanpham .col-inner:hover a.rmhover{
    display:inherit;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
}
#header ul.header-nav.header-nav-main > li.menu-item{
    margin: 0 25px;
}
ul.sub-menu.nav-dropdown.nav-dropdown-default {
    background: rgb(255 255 255 / 95%);
    border: 2px solid #ffffff;
    border-radius: 10px;
    padding: 5px;
}
.header-main .nav > li > a {
    font-weight: 700;
    color: #fff;
}
.header-main .nav > li > a:hover {
    font-weight: 400;
}
.header-main .nav > li > a img{
    display: none;
}
.header-main .nav > li > a:hover img{
    display: inherit;
    position: absolute;
    right: -25px;
    top: -5px;
}
ul.header-nav.header-nav-main > li{

}
.absolute-footer.dark.medium-text-center.text-center {
    background: transparent;
    margin-top: -60px;
    position: relative;
}
.footer-primary {
    border-top: 1px solid #fff;
    padding-top: 10px;
}
.nav-dropdown-default {
    padding: 0;
}
a.button {
    font-weight: 500;
}
.cf7-two-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px
}

.cf7-column {
    flex: 1;
    min-width: 250px
}
.form-flat-lienhe input,.form-flat-lienhe textarea {
    border-radius: 10px;
}
input.formlienhe{
    background: #ea680c;
    text-transform: capitalize;
    font-weight: 500;
}
.bgnumber {
    border-radius: 15px;
    overflow: hidden;
}
.bgnumber .section-bg-overlay{
    background: linear-gradient( 90deg, rgba(27, 96, 172, 0.9) 20%, rgba(27, 96, 172, 0) 70% );
    background-color: transparent;
}
.listtuonghieu .col {
    min-height: 85px
}
@media (min-width: 992px) {
    .listtuonghieu .col  {
        
    }
}
.listtuonghieu  > .col > .col-inner{
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid #ffffff;
    border-radius: 16px;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.listtuonghieu .col .col-inner.text-center {
    display: flex;
    align-items: center
}
.listtuonghieu .col .col-inner.text-center img{
    width: auto !important;
    max-height: 80px;
}
.bt-vechungtoi:before{
    content: "";
    background: url(/wp-content/themes/webvip/images/icon1.png) center center no-repeat;
    width: 60px;
    height: 40px;
    position: absolute;
    left: 0;
    top: 0;
}
.bt-vechungtoi:after{
    content: "";
    background: url(/wp-content/themes/webvip/images/icon2.png) center center no-repeat;
    width: 60px;
    height: 40px;
    position: absolute;
    right: 0;
    top: 0;
}
.video-button-wrapper a.button.open-video.icon{
    padding-left: 0;
    padding-right: 0;
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--wv-color, #F98315);
    box-shadow: 0 10px 24px rgba(2, 6, 23, .14);
    transition: transform .15s ease, box-shadow .15s ease;
    animation: wv-pulse 1.8s ease-in-out infinite;
}
.sec-duan:before {
    content: "";
    position: absolute;
    left: -300px;
    bottom: -462px;
    width: 926px;
    height: 814px;
    background: #FFF2E7;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}
.row-sanpham {

}
.row-sanpham .col-inner{
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid #ffffff;
    border-radius: 16px;
    box-sizing: border-box;
    overflow: hidden;
}
.row-sanpham .box-image {
    overflow: hidden;
    position: relative;
    padding-top: 60px;
}
.row-sanpham .box-text.text-center{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 2;
    padding-top: 24px;
    padding-bottom: 10px;
    color: #fff;
    text-align: center;
}
.sec-dichvu .section-bg-overlay{
    position: absolute !important;
    left: 50%;
    top: 15%;
    transform: translateX(-50%);
    width: 1470px;
    height: 460px;
    background-color: #E1F1FB !important;
    filter: blur(90px);
    border-radius: 50%;
    z-index: 0;
}
.bannerhome .overlay{
    background: linear-gradient( 270deg, rgba(27, 96, 172, 0) 0%, rgba(27, 96, 172, 0.9) 100% );
    background-color: transparent;
}
.bannerwhy{
    border-radius: 15px;
    overflow: hidden;
}
#header ul.header-nav.header-nav-main{
    justify-content: center;
}
#masthead{
    background:  rgba(2, 6, 23, 0.20);
    backdrop-filter: blur(4px);
    position: fixed;
    width: 100%;
}
.accordion-slider h3.as-layer {
    font-size: 19px;
    line-height: 1.4;
    color: #fff;
}
.sec-giaiphap:before{
    content: "";
    position: absolute;
    left: -300px;
    top: 120px;
    width: 926px;
    height: 814px;
    background: #FFF2E7;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}
.sec-giaiphap .wpos-tab-slider .as-layer.as-padding {
    -moz-transform: none;
    -webkit-transform: none;
    transform: none;
    left: 10px !important;
    bottom: 10px !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 19px;
}
.sec-giaiphap .as-wposslide:before{
    content: "";
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 0;
    position: absolute;
    width: 100%;
    height: 30%;
    bottom: 0;
}
.sec-giaiphap .as-wposslide {
    border-radius: 15px !important;
}
ul.product_list_widget,ul.product-categories {
    background: var(--mainColor2);
    border: 2px dotted #dbdbdb;
    line-height: 30px;
    padding: 5px 10px;
}
/* Hiệu ứng pulse cho nút Liên hệ */
.header-button .button,.bt-pulsecontact {
    animation: pulse-contact 1.8s infinite;
}
@keyframes pulse-contact {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(255, 102, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 102, 0, 0);
    }
}
/*CSS PAGE*/

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.sec-giaiphap .wpos-tab-slider .as-layer.as-padding {
    font-size: 12px;
    display: inline;
}
.shop-page-title.featured-title .page-title-inner {
    top: 20%;
}
.filter-button {
    font-size: 1.5rem;
}

}