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

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
--primary-gradient:#50B848;
--secondary-gradient:#50B848;
--footer-gradient:#50B848;
}
/* Link trong nội dung văn bản */
.entry-content a,
.single-page a,
.term-description a,
.woocommerce-product-details__short-description a,
.woocommerce-Tabs-panel--description a {
  color: #0a66c2; /* xanh */
}

.entry-content a:hover,
.single-page a:hover,
.term-description a:hover,
.woocommerce-product-details__short-description a:hover,
.woocommerce-Tabs-panel--description a:hover {
  color: #084c9c; /* xanh đậm hơn khi hover */
}

.header-bottom{
border-bottom:1px solid #EAEAEA
}

.right-5{
right:5%
}

.font12{font-size:12px}
.font14{font-size:14px}
.font16,.hotline-number,.title-he-thong{font-size:16px}
.font20{font-size:20px}
.font24{font-size:24px}
.font28{font-size:28px}
.font32{font-size:32px}

.su-menh{
border:1px solid #EAEAEA;
padding:20px;
background-color:#fff;
border-radius: 15px;
}
.font16-2{
font-size:16px;
color:#0460E1
}

.pt-1{
padding-top:10px
}

.pt-2{
padding-top:20px
}

.pt-5{
padding-top:50px
}

.pb-1{
padding-bottom:10px
}

.pb-3{
padding-bottom:30px
}

.mt-1{
margin-top:10px
}

.gt{
line-height:16px;
color:#fff
}

.radius20{
border-radius:20px;
overflow:hidden
}

.radius50{
border-radius:50%
}

.radius5{
border-radius:5px
}
.radius20 img{
border-radius:20px
}
.fw400{
font-weight:400
}

.fw600{
font-weight:600
}

.gradient-background,.header-main{
background:var(--primary-gradient)
}

.absolute-footer{
background:var(--footer-gradient)
}

.breadcrumbs{
font-weight:400
}

.social-icons{
display:flex;
gap:15px
}

.social-icons a{
display:flex;
width:36px;
height:36px
}

.lightbox-content{
background-color:transparent
}

.single-product .row .row:not(.row-collapse){
margin-left:0;
margin-right:0
}

h2{
font-size:20px
}

h3{
font-size:18px
}

h4{
font-size:16px
}

h2,h3,strong{
font-weight:600
}

.tab-panels table{
width:100%!important;
table-layout:fixed!important;
border-collapse:collapse!important;
margin:20px 0!important;
font-size:16px!important;
text-align:left!important;
box-shadow:0 0 10px rgba(0,0,0,0.1)!important;
border-radius:8px!important;
overflow:hidden!important
}

.tab-panels table th,.tab-panels table td{
padding:12px 15px!important;
border:1px solid #e0e0e0!important;
width:25%!important
}

.tab-panels table th{
background-color:#333!important;
color:#fff!important;
font-weight:700!important;
text-transform:uppercase!important
}

.tab-panels table tr:nth-child(even){
background-color:#f9f9f9!important
}

.header-button .header-cart-link.icon.primary.button.round.is-small{
background:var(--secondary-gradient);
transition:all .3s ease-in-out;
padding:5px 12px
}

.tab-panels table tr:hover{
background-color:#f1f1f1!important;
transition:background-color .2s!important
}

.tab-panels table a{
color:#0073aa!important;
text-decoration:none!important
}

.tab-panels table a:hover{
text-decoration:underline!important
}

.cart-container .variation-attributes{
color:#888;
display:inline-flex;
gap:15px;
justify-content:flex-start;
margin-left:auto inherit
}

.cart-container .variation-attributes li{
list-style:none;
padding-left:0!important;
margin-left:0!important;
font-size:12px;
font-weight:500
}

.autocomplete-suggestion .search-price{
display:flex;
flex-direction:column
}

.product-thumbnails .is-nav-selected a,.product-thumbnails a:hover{
border-color:#0460E1;
border-radius:8px
}

.product-thumbnails a{
border:2px solid transparent
}

.product-thumbnails img{
border-radius:8px
}

.add-to-cart-container .button.alt{
background:var(--secondary-gradient)
}

.line-pice{
margin-top:-7px
}

.sticky-wrapper{
display:flex;
align-items:flex-start;
position:relative
}

.is-sticky-column{
position:sticky;
top:100px;
align-self:flex-start;
height:fit-content
}

.menu-vertical-menu-container{
display:flex;
padding:20px
}

.menu{
list-style:none;
margin:0;
padding:0;
width:500px
}

.menu-item{
position:relative
}

.header-vertical-menu .menu-item:hover > a{
background-color:var(--fs-color-primary);
color:#fff!important;
border-radius:5px
}

.header-vertical-menu .menu-item:hover .sub-menu{
display:block
}

.header-vertical-menu .sub-menu a{
text-decoration:none;
color:#000
}

.header-vertical-menu__fly-out .nav-vertical-fly-out>li.menu-item>a{
padding:10px 50px 10px 15px
}

.header-vertical-menu__fly-out .nav-vertical-fly-out > li.menu-item > a > i.icon-angle-down{
margin-right:20px;
position:absolute;
right:40px
}

.header-vertical-menu .menu-item .sub-menu a:hover{
color:#2A73FF!important;
background:none
}

.header-vertical-menu .sub-menu a{
transition:color .3s ease
}

.nav-dropdown-default .nav-column li>a,.nav-dropdown.nav-dropdown-default>li>a{
border-bottom:0 solid #ececec
}

.header-search-form-wrapper input[type="search"]{
background-color:#FAFAFA;
border:1px solid #ddd;
border-radius:8px 0 0 8px;
box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);
color:#333;
font-size:1em;
height:3.1em;
padding:0 1em;
width:100%;
transition:all .3s ease-in-out
}

.ux-search-submit.submit-button.secondary.button.icon.mb-0,.coupon-form-inner .form-row-last .button,.ux-mini-cart-footer .button.wc-forward:not(.checkout),.ux-mini-cart-footer .button.checkout,.header-vertical-menu__opener{
background:var(--secondary-gradient);
border-radius:8px;
padding:5px 12px;
transition:all .3s ease-in-out
}

.coupon-form-inner .form-row-last .button,.ux-mini-cart-footer .button.wc-forward:not(.checkout),.ux-mini-cart-footer .button.checkout{
padding:1px 13px!important
}

.hotline-container{
color:#fff
}

.hotline-container .title{
font-size:16px;
margin-bottom:20px
}

.hotline{
  display:flex;
  align-items:center;
  gap:6px;          /* dùng giá trị nhỏ nhất đang dùng */
  justify-content:space-around; /* nếu cần giữ cho vị trí cũ, chọn 1 */
  font-size:22px;
  font-weight:700;
}


.hotline-item{
display:flex;
align-items:center
}

.hotline-item img{
height:20px;
margin-right:10px
}

.hotline-text{
display:flex;
flex-direction:column;
font-size:16px
}


.hotline-local{
font-weight:700
}

.menu-red a{
color:red!important
}

.header-vertical-menu__fly-out,.nav-dropdown-has-border .nav-dropdown{
width:330px;
margin-top:0;
border:2px solid #ccc;
border-radius:8px;
box-shadow:0 4px 10px rgba(0,0,0,0.15);
background:#fff
}

.four-tieuchi{
padding:10px 10px 5px 10px;
border:1px solid transparent;
background-clip:padding-box,border-box;
background-origin:padding-box,border-box;
background-image:linear-gradient(white,white),linear-gradient(90deg,#4facfe,#00f2fe);
margin-top:-31px
}

.box-text-inner .count{
display:none
}

.box-danhmuc .product-category.col h5{
font-size:16px;
text-transform:capitalize;
margin-top:-5px
}

.box-danhmuc .box-text{
padding-top:0
}

.section-title span{
font-size:32px
}

.section-title a{
font-size:16px;
color:#0D6EFD
}

.section-title .icon-angle-right:before{
display:inline-block;
transform:scale(1.5);
padding-top:9px
}

.section-title-normal span{
border-bottom:1px solid #ececec;
background:linear-gradient(90deg,#4facfe,#00f2fe);
background-size:100% 1px;
background-repeat:no-repeat;
background-position:bottom;
text-transform:capitalize
}

.woocommerce-additional-fields .section-title-normal span,.checkout-sidebar .section-title-normal span,.woocommerce-billing-fields2 .section-title-normal span{
display:inline-block;
background-image:linear-gradient(90deg,#4facfe,#00f2fe);
background-size:100% 2px;
background-repeat:no-repeat;
background-position:bottom center;
padding-bottom:3px;
text-transform:capitalize
}

.chungtoi{
border:1px solid #ddd;
border-radius:5px
}

.du-an .is-divider,.tin-tuc .is-divider,.sidebar-inner .is-divider{
display:none
}

.tin-tuc .cat-label{
color:#F44B0D;
font-weight:700;
font-size:13px
}

.blog-post-inner .category a,.cat-label .category a,.ux-newsbox .category a,.blog-post-inner .cat-label a{
color:#F44B0D;
font-weight:700;
font-size:13px;
text-decoration:none
}

.header-item-customers:after{
content:"";
position:absolute;
width:85px;
height:25px;
background:url(/wp-content/themes/flatsome-child/images/icon-star.png) repeat-x
}

.modal-form-contact .wpcf7-form-control-wrap .wpcf7-form-control{
height:45px;
border-radius:5px;
-webkit-text-fill-color:#C3C3C4!important;
margin-bottom:15px
}

.modal-form-contact .wpcf7-form-control.wpcf7-submit{
display:block;
width:100%;
background:#1246AB;
color:#fff!important;
border-radius:5px;
padding:5px 15px
}

.wpcf7-input-title{
padding-bottom:24px;
font-size:24px;
font-weight:600
}

.title-he-thong{
color:#0D6EFD;
font-size:20px;
padding-bottom:10px
}

.badge-frame .badge-inner,.badge-outline .badge-inner{
background-color:#FF4F4F;
border:none;
color:#fff;
padding:5px 8px 6px;
border-radius:10px;
line-height:18px
}

.product-small.box{
padding:.4em
}

.product-small.box::after{
height:80%
}

.row .section{
padding-left:0;
padding-right:0
}

.flickity-slider > .col:has(.product-small,.product){
position:relative
}

.flickity-slider > .col:has(.product-small,.product)::before{
content:"";
position:absolute;
left:0;
top:0;
width:1px;
height:90%;
background-color:#E8E8E8
}

.flickity-slider > .col:has(.product-small,.product):nth-child(4n+1)::before{
display:none
}



.row-small > .col:has(.product-small,.product){
position:relative
}

.row-small > .col:has(.product-small,.product)::before{
content:"";
position:absolute;
left:0;
top:0;
width:1px;
height:90%;
background-color:#E8E8E8
}

.row-small > .col:has(.product-small,.product):nth-child(4n+1)::before{
display:none
}

.nav-pagination>li i{
font-size:1.2em;
top:0;
vertical-align:middle
}

.filter-title{
display:block;
width:100%;
padding:8px 12px;
background:var(--primary-gradient);
color:#fff;
font-weight:700;
border-radius:4px;
margin-bottom:10px
}

.category-page-row .filter-content{
padding:10px 0
}

.category-page-title .page-title-inner{
min-height:60px;
padding-top:10px;
position:relative
}

.woocommerce-ordering,.woocommerce-ordering select{
display:inline-block;
margin:0
}

.category-page-row .flex-col.medium-text-center{
border-bottom:1px solid #ececec
}

.woocommerce-ordering{
margin-left:auto!important;
margin-bottom:0!important
}

.woocommerce-ordering select{
padding:5px 30px 8px 10px;
border-radius:4px;
font-size:14px
}

/* ===== Container căn giữa (WC + Post) ===== */
.woocommerce-pagination,
ul.page-numbers.nav-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 15px;
}

/* ===== Reset & layout danh sách ===== */
.woocommerce-pagination .page-numbers,
ul.page-numbers.nav-pagination {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;            /* tránh khoảng trắng mặc định của ul */
  gap: 8px;             /* thay cho margin li để linh hoạt wrap */
  flex-wrap: wrap;      /* tự xuống dòng khi hẹp */
}

/* ===== Khoảng cách giữa các item (fallback nếu không dùng gap) ===== */
.woocommerce-pagination .page-numbers li,
ul.page-numbers.nav-pagination li {
  margin: 0 4px;
}

/* ===== Nút trang (a/span), next/prev ===== */
.woocommerce-pagination .page-number,
.woocommerce-pagination .next,
.woocommerce-pagination .prev,
ul.page-numbers.nav-pagination .page-number,
ul.page-numbers.nav-pagination .next,
ul.page-numbers.nav-pagination .prev {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  font-size: 16px;
  color: #333;
  border-radius: 6px;
  border: 1px solid #ddd;
  transition: all .3s ease;
  text-decoration: none;
  line-height: 1;          /* canh icon đẹp hơn */
  background-color: #fff;  /* nền trắng đồng nhất */
}

/* Hover */
.woocommerce-pagination .page-number:hover,
.woocommerce-pagination .next:hover,
.woocommerce-pagination .prev:hover,
ul.page-numbers.nav-pagination .page-number:hover,
ul.page-numbers.nav-pagination .next:hover,
ul.page-numbers.nav-pagination .prev:hover {
  background-color: #f0f0f0;
}

/* Trang hiện tại (span.page-number.current) */
.woocommerce-pagination .page-number.current,
ul.page-numbers.nav-pagination .page-number.current {
  background-color: #2563eb;
  color: #fff;
  border-color: transparent;
}

/* Dấu … (dots) – giữ phẳng, không hover */
.woocommerce-pagination .page-number.dots,
ul.page-numbers.nav-pagination .page-number.dots {
  width: auto;            /* để dấu … không bị ép khung */
  padding: 0 8px;
  border: none;
  background: transparent;
  cursor: default;
}

/* Icon mũi tên */
.woocommerce-pagination .next i,
.woocommerce-pagination .prev i,
ul.page-numbers.nav-pagination .next i,
ul.page-numbers.nav-pagination .prev i {
  font-size: 18px;
  line-height: 1;
}

/* (Tùy chọn) Tăng độ ưu tiên nếu bị CSS theme ghi đè */
ul.page-numbers.nav-pagination .page-number,
ul.page-numbers.nav-pagination .next,
ul.page-numbers.nav-pagination .prev {
  /* border: 1px solid #ddd !important; */
}


.shop-container hr{
display:none
}

.price-wrapper{
display:flex;
flex-direction:column;
align-items:flex-start;
padding-top:10px
}

.price-wrapper ins,.product-price-container .price-wrapper ins,.woocommerce div.product p.price ins span.amount,.woocommerce ul.products li.product .price ins span.amount,.price-wrapper .price ins .woocommerce-Price-amount.amount{
font-size:20px!important;
font-weight:700!important;
text-decoration:none!important;
color:red!important;
display:block;
margin-bottom:8px
}

.price-wrapper del,.woocommerce div.product p.price del span.amount,.woocommerce ul.products li.product .price del span.amount,.price-wrapper .price del .woocommerce-Price-amount.amount{
font-size:16px!important;
color:gray!important;
font-weight:400!important;
opacity:.7;
display:block
}

.price-wrapper .price .woocommerce-Price-amount.amount{
color:red!important;
font-size:20px!important;
font-weight:700!important
}

.des-produc .price-wrapper ins,.des-produc .product-price-container .price-wrapper ins,.des-produc .woocommerce div.product p.price ins span.amount,.des-produc .woocommerce ul.products li.product .price ins span.amount,.des-produc .price-wrapper .price ins .woocommerce-Price-amount.amount{
font-size:24px!important;
font-weight:700!important;
text-decoration:none!important;
color:red!important;
display:block;
margin-bottom:8px
}

.woocommerce-variation-price{
border-top:1px dashed #ddd;
font-size:.8em;
padding:7.5px 0;
display:none
}

.title-gnt{
font-size:24px;
color:#1769DC
}

.des-produc .is-divider{
height:1px;
max-width:100%
}

.variations_form .ux-swatch.selected{
border-radius:5px
}

.icon-box-contac{
display:flex;
align-items:center
}

.custom-quantity-wrapper{
display:flex;
align-items:center;
gap:50px
}

.custom-quantity-wrapper label{
font-size:16px;
padding:0 10px 0 0
}

.quantity input[type=number]{
max-width:3.5em;
text-align:center;
width:4.5em
}

.is-form,button.is-form,button[type=submit].is-form,input[type=button].is-form,input[type=reset].is-form,input[type=submit].is-form{
background-color:#ffff;
color:#666;
font-weight:400;
text-transform:none;
border-radius:5px;
padding:0 10px
}

input[type=number]{
box-shadow:none
}

.label label{
font-size:16px;
padding:0
}

.woocommerce-variation-add-to-cart{
display:flex;
gap:10px;
flex-wrap:wrap
}

body.single-product .single_add_to_cart_button,body.single-product .ux-buy-now-button{
text-transform:none;
padding:10px 20px;
border-radius:5px;
min-width:250px;
flex:1;
margin:20px 0
}

.ux-buy-now-button{
background-color:#FF2E2E
}

.product-tags{
display:flex;
gap:15px;
flex-wrap:wrap
}

.tag-item{
background-color:#DEF0FF;
padding:5px 12px;
display:inline-block;
color:#222
}

.button-container{
display:flex;
gap:12px
}

.custom-button{
display:flex;
align-items:center;
justify-content:center;
padding:12px 20px;
border:1px solid #0763DF;
border-radius:8px;
background:none;
color:#1976D2;
font-size:16px;
font-weight:700;
text-decoration:none;
cursor:pointer;
transition:background 0.3s,color .3s;
flex:1;
min-width:200px;
text-align:center
}

.custom-button:hover{
background:#1976D2;
color:#fff
}

.custom-button svg{
margin-right:8px;
width:20px;
height:20px
}

.product-info-heading{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:10px
}

.product-info-heading .heading-title{
font-weight:600;
font-size:16px
}

.copy-info-button{
background:none;
border:none;
font-size:15px;
color:#333;
cursor:pointer;
display:flex;
align-items:center;
gap:5px;
padding:0
}

.copy-text{
font-size:14px;
text-transform:capitalize;
font-weight:400
}

.copy-icon{
width:24px
}

.product-info-table-wrapper{
background:#f9f9f9;
border-radius:10px;
padding:20px
}

.product-info-table-wrapper .product-info-container{
display:flex;
justify-content:space-between;
position:relative
}

.product-info-table-wrapper .product-info-container::before{
content:"";
position:absolute;
top:0;
bottom:0;
left:50%;
width:1px;
background-color:#E8E8E8;
transform:translateX(-50%)
}

.product-info-table-wrapper .product-column{
width:46%
}

.product-row{
display:flex;
justify-content:space-between;
padding:6px 0;
font-size:15px
}

.field-label{
font-weight:500;
color:#333
}

.field-value{
color:#000;
font-weight:400;
margin-left:8px
}

.specifications .product-info-container{
display:flex;
justify-content:space-between;
gap:20px;
padding-top:20px
}

.product-table{
width:50%;
border-collapse:collapse;
border:1px solid #e0e0e0
}

.product-table th,.product-table td{
padding:12px 15px;
border:1px solid #e0e0e0;
text-align:left;
font-weight:500
}

.specifications .product-table th{
background-color:#F6F9FF;
text-transform:none;
width:50%
}

.specifications .section-title-normal{
border-bottom:1px solid #ececec;
padding-bottom:20px
}

.specifications .section-title-normal span{
padding-bottom:23px
}

.nav-line > li > a:before{
display:none
}

.woocommerce-tabs .wc-tabs{
display:flex;
border-bottom:1px solid #ddd
}

.woocommerce-tabs .wc-tabs li{
list-style:none;
margin-right:20px;
padding-bottom:5px;
font-size:16px;
font-weight:400;
color:#999;
cursor:pointer;
transition:all .3s ease
}

.woocommerce-tabs .wc-tabs li.active{
font-weight:700;
color:#000;
position:relative
}

.woocommerce-tabs .wc-tabs li.active::after{
content:"";
position:absolute;
left:0;
bottom:-1px;
width:100%;
height:1px;
background:linear-gradient(to right,#0C69F2,#02B2DF,#5DCF7C)
}

.woocommerce-tabs .wc-tabs li a{
text-decoration:none;
text-transform:none;
font-size:20px;
padding:10px 0
}

.woocommerce-tabs .wc-tabs li.active a{
color:#000
}

.woocommerce-tabs .tab-panels .panel.active{
display:block
}

.icon-uu-dai{
align-items:center
}

blockquote{
position:relative;
padding:10px 40px;
font-size:24px;
text-align:center;
font-weight:700;
color:#4169e1;
margin:20px auto;
display:inline-block;
border-left:none
}

blockquote::before,blockquote::after{
content:'“';
font-size:80px;
color:#4169e1;
position:absolute;
line-height:1;
top:-10px
}

blockquote::before{
left:-10px
}

blockquote::after{
right:-10px;
transform:scaleX(-1)
}

.woocommerce-cart-form__contents{
width:100%;
border-collapse:collapse
}

.woocommerce-cart-form__contents thead th{
text-align:left;
text-transform:capitalize
}

.woocommerce-cart-form__contents td{
padding:12px;
vertical-align:middle
}

.cart-container .product-thumbnail img{
width:70px;
height:70px;
border-radius:5px;
border:1px solid #E0E0E0
}

.product-name{
font-weight:700
}

.product-quantity,.product-subtotal{
text-align:center!important
}

.woocommerce-cart-form__contents,.woocommerce-cart-form__contents th,.woocommerce-cart-form__contents td{
border:none!important
}

.cart-container{
border:1px solid #ddd;
border-radius:8px;
padding:15px;
background:#fff
}

.cart-title{
font-size:22px;
font-weight:700;
margin-bottom:10px
}

.shop_table_responsive{
width:100%;
border-collapse:collapse;
border-top:1px solid #ddd
}

.shop_table_responsive th{
border-bottom:1px solid #ddd
}

.product-remove a{
display:inline-block;
padding:10px 20px;
font-size:14px;
font-weight:700;
color:red;
background-color:#fff;
border:1px solid #ddd;
border-radius:6px;
text-decoration:none;
transition:background .2s ease-in-out,color .2s ease-in-out
}

.custom-quantity .qty-input{
-moz-appearance:none;
-webkit-appearance:none;
appearance:none;
border:1px solid #ddd;
border-radius:6px;
padding:8px 12px;
font-size:16px;
text-align:center;
width:79px;
height:40px;
background-color:#f8f8f8;
cursor:pointer
}

.cart_totals th.product-name{
display:none
}

.cart_totals .button,button[name="update_cart"],#place_order{
border-radius:5px;
background:var(--secondary-gradient);
text-transform:initial;
font-weight:600
}

.select-resize-ghost,.select2-container .select2-choice,.select2-container .select2-selection,input[type=date],input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url],select,textarea{
background-color:#fff;
border-radius:8px;
box-shadow:none;
color:#333;
font-size:14px;
font-weight:500;
height:44px
}

.select2-container .select2-choice>.select2-chosen,.select2-container .select2-selection--single .select2-selection__rendered,.select2-selection{
line-height:44px
}

label,legend{
color:#1B1D29;
font-weight:600
}

.woocommerce-hinh-thuc-thanh-toan{
border:1px solid #ddd;
border-radius:8px;
padding:15px;
margin-bottom:10px;
background:#fff;
display:flex;
align-items:center;
gap:10px
}

.woocommerce-hinh-thuc-thanh-toan input[type="radio"]{
margin:0;
transform:scale(1.2)
}

.woocommerce-hinh-thuc-thanh-toan label{
margin:0;
cursor:pointer;
font-size:16px
}

.payment_box{
margin-left:30px;
padding:10px
}

.payment_methods li+li{
border-top:0 solid #ececec
}

.woocommerce-hinh-thuc-thanh-toan:has(> input[type="radio"]:checked){
border-color:#2A73FF
}

body.archive .blog-wrapper.blog-archive .archive-page-header .page-title,body.search .blog-wrapper.blog-archive .archive-page-header .page-title{
font-weight:700
}

.flatsome-child-archive-blog{
padding-top:0!important
}

.flatsome-child-archive-blog .post-item{
position:relative
}

.flatsome-child-archive-blog .post-item:first-child .box-image{
width:100%!important
}

.flatsome-child-archive-blog .post-item:first-child .box-blog-post{
display:flex;
flex-direction:row;
flex-wrap:wrap
}

.flatsome-child-archive-blog .is-divider{
display:none
}

.flatsome-child-archive-blog .post-item:first-child .box-text{
padding-left:0
}

.flatsome-child-archive-blog .post-item:first-child .post-title{
font-size:26px;
font-weight:700
}

.flatsome-child-archive-blog .post-title{
font-size:20px
}

.flatsome-child-archive-blog .box-image{
border-radius:10px
}

body.category-column-full-width #post-list .box-text,.flatsome-child-archive-blog .box-vertical .box-text{
text-align:right
}

body.category-column-full-width #post-list .box-text .from_the_blog_excerpt,body.category-column-full-width #post-list .box-text .post-title,.flatsome-child-archive-blog .box-vertical .box-text .from_the_blog_excerpt,.flatsome-child-archive-blog .box-vertical .box-text .post-title{
text-align:left
}

body.category-column-full-width #post-list .box-text a.button,.flatsome-child-blog-slider .box-text a.button,.button-related-post a,.flatsome-child-archive-blog .box-text a.button{
border:0;
color:var(--fs-color-success);
padding:0;
text-transform:inherit;
font-size:14px;
position:relative;
font-weight:500;
margin:10px 0 0;
padding:0 30px 0 0;
background:url(assets/images/icon-readmore.png);
background-repeat:no-repeat;
background-size:20px 7px;
background-position:100% 8px;
display:inline-block;
line-height:inherit;
min-height:auto
}

.flatsome-child-blog-slider .box-text .post-title{
font-size:18px
}

.flatsome-child-blog-slider .box-text{
text-align:right
}

.flatsome-child-blog-slider .box-text.text-left .post-title,.flatsome-child-blog-slider .box-text.text-left .from_the_blog_excerpt{
text-align:left
}

body.category-column-full-width #post-list .box-text .post-title{
margin-bottom:10px
}

.widget-title{
display:block;
width:100%;
padding:10px 10px;
background:var(--primary-gradient);
color:#fff;
font-weight:700;
border-radius:4px
}

.widget-title.shop-sidebar{
margin-bottom:15px
}

.widget .is-divider{
display:none
}

.widget>ul>li+li,ul.menu>li+li{
border-top:none
}

.widget .badge{
height:6em;
width:6em
}

.menu-main-menu-container{
padding:10px
}

.product-small .woocommerce-loop-product__title{
line-height:24px;
height:48px;
overflow:hidden
}

.product-small .woocommerce-loop-product__title a{
overflow:hidden;
text-overflow:ellipsis;
display:-webkit-box;
-webkit-box-orient:vertical;
-webkit-line-clamp:2
}

.checkout .section-title span{
font-size:18px
}

.product-thumb-with-qty{
position:relative;
display:inline-block
}

.product-qty-badge{
position:absolute;
top:-6px;
right:-6px;
background:#989898;
color:#fff;
font-size:12px;
font-weight:700;
padding:3px 6px;
border-radius:50px;
line-height:1;
box-shadow:0 0 2px rgba(0,0,0,0.2)
}

.custom-cart-item{
display:flex;
gap:12px;
margin-bottom:20px;
padding-bottom:10px;
align-items:center
}

.custom-cart-list{
margin-top:10px
}

.custom-cart-item .thumb{
flex-shrink:0
}

.custom-cart-item .thumb img{
width:60px;
height:60px;
object-fit:cover;
border-radius:4px;
border:1px solid #ccc
}

.product-name-custom-cart{
font-weight:400;
margin-bottom:0;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
display:block;
max-width:280px
}

.product-price-custom-cart{
font-size:13px;
color:#444
}

.tam_tinh_oder thead,.tam_tinh_oder tbody{
display:none
}

.shop_table tfoot th{
font-weight:400;
color:#545454;
font-size:16px;
line-height:24px
}

.shop_table span.amount{
color:#545454;
font-weight:600;
font-size:16px
}

.cart-discount span.amount{
color:red
}

.cart_totals tbody th{
font-size:16px
}

.product-gallery-video{
position:relative
}

.video-overlay,.video-thumb-overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
display:flex;
align-items:center;
justify-content:center;
pointer-events:none
}

.video-play-icon{
width:64px;
height:64px;
object-fit:contain
}

.video-play-icon-small{
width:24px;
height:24px;
object-fit:contain
}

.product-video-thumb{
cursor:pointer;
position:relative
}

.mfp-iframe-holder .mfp-content{
max-width:800px;
height:450px
}

ul.products.list{
display:block;
width:100%
}

ul.products.list .product-list-view-item{
display:flex;
width:100%;
margin-bottom:20px;
border:1px solid #eee;
padding:15px
}

ul.products.list .product-list-view-item .list-view-inner{
display:flex;
width:100%
}

ul.products.list .product-list-view-item .product-image{
width:200px;
margin-right:20px;
flex-shrink:0
}

ul.products.list .product-list-view-item .product-content{
flex-grow:1
}

ul.products.list .product-list-view-item .product-excerpt{
margin:10px 0
}

.view-switcher{
margin-bottom:1em;
float:right
}

.view-switcher label{
margin-right:10px;
vertical-align:middle
}

.view-switcher .view-button{
background-color:#f0f0f0;
border:1px solid #ddd;
padding:5px 10px;
cursor:pointer;
font-size:16px;
line-height:1
}

.view-switcher .view-button.active{
background-color:var(--primary-color,#446084);
color:#fff;
border-color:var(--primary-color,#446084)
}

.products.list{
display:block
}

.products.list .product-small.col{
width:100%;
padding:0!important;
margin-bottom:1.5em
}

.products.list .product-list-view-item{
box-shadow:none;
border:1px solid #ececec;
padding:1em
}

.products.list .product-list-view-item .col-inner{
padding:0
}

.products.list .product-list-view-item .box-text{
padding-top:0;
font-size:.9em
}

ul.products.loading-view{
opacity:.5;
position:relative;
transition:opacity .3s ease-in-out
}

ul.products.loading-view::after{
content:'';
position:absolute;
top:50%;
left:50%;
width:40px;
height:40px;
margin-top:-20px;
margin-left:-20px;
border:4px solid #f3f3f3;
border-top:4px solid #3498db;
border-radius:50%;
animation:spin 1s linear infinite
}

@keyframes spin{
0%{
transform:rotate(0deg)
}

100%{
transform:rotate(360deg)
}
}

.header-button .is-small{
background:var(--secondary-gradient)
}

.radius100 img{
border-radius:100%
}

.tai-lieu-wrapper{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:15px;
margin-top:20px;
padding:5px
}

.tai-lieu-button{
display:flex;
align-items:center;
background-color:#E1F0FF;
padding:12px 20px;
text-decoration:none;
color:#000;
transition:background .3s
}

.tai-lieu-button:hover{
background-color:#d0e3ff
}

.tai-lieu-item .download-icon{
margin-right:10px
}

.custom-product-page.single-product .product-gallery .flickity-slider .col a{
display:block;
border:2px solid transparent;
border-radius:6px
}

.custom-product-page.single-product .product-gallery .flickity-slider .col.is-selected a{
border-color:#05f
}

.support-banner-wrapper{
position:relative;
max-width:600px;
margin:auto;
overflow:visible
}

.support-banner{
background: var(--secondary-gradient);
color:#fff;
padding:0 30px;
border-radius:8px;
border:2px solid #fff;
display:flex;
align-items:center;
min-height:95px;
position:relative
}

.robot-image{
position:absolute;
left:-40px;
bottom:-10px;
width:80px;
height:auto;
z-index:2
}

.support-content{
margin-left:20px;
flex:1
}



.entry-meta{
display:flex;
justify-content:space-between;
padding:0 10px 0 0;
width:100%
}

.entry-meta .meta-left{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:.5em
}

.entry-meta .meta-right{
display:flex;
align-items:center;
gap:.8em
}

.entry-meta .meta-left a[rel="author"]{
font-weight:700
}

.entry-content{
padding-top:0
}

#author-profile .social-icons{
display:flex;
justify-content:center;
gap:15px
}

.entry-author.author-box{
background-color:#EBF3FF;
padding:25px;
border-radius:20px;
border:1px solid #e2e8f0
}

.author-box .blog-author-image .avatar{
border-radius:50%
}

.author-box .author-name{
font-weight:600;
font-size:1.15em;
color:#1e293b;
margin-bottom:5px
}

.author-box .author-desc{
font-size:1em;
color:#475569;
margin-top:0;
line-height:1.6
}

.author-box .author-name{
margin-top:0
}

@media (max-width:768px){
h2{
font-size:20px
}

h3{
font-size:18px
}

h4{
font-size:16px
}

.tab-panels table th,.single-product table td{
padding:8px 10px!important;
font-size:14px!important
}

.product-info-container{
flex-direction:column
}

.product-table{
width:100%
}

.woocommerce-ordering{
margin-top:10px;
width:100%
}

body{
font-size:14px
}

.box-text.text-center{
padding-left:0;
padding-right:0
}

.header-button .header-cart-link .icon .primary .button .round .is-small{
padding:5px 12px
}


.row-small > .col:has(.product-small,.product)::before {
  content:"";
  position:absolute;
  left:0; top:0;
  width:1px; height:80%;
  background-color:#E8E8E8;
}
.row-small > .col:has(.product-small,.product):nth-child(2n+1)::before { display:none; }


.row.row-small.dl-row > .col::before{
content:none!important;
display:none!important
}

.flickity-slider > .col:nth-child(2n+1)::before{
display:none
}

.icon.primary.button{
color:#fff!important;
background-color:transparent!important;
border:.01px solid #fff!important
}

.woocommerce-loop-product__title{
font-size:14px
}

.section-title-normal span{
font-size:18px
}

.font32{
font-size:26px
}

.price-wrapper ins,.product-price-container .price-wrapper ins,.woocommerce ul.products li.product .price ins span.amount,.price-wrapper .price ins .woocommerce-Price-amount.amount{
font-size:16px!important
}

.price-wrapper del,.woocommerce ul.products li.product .price del span.amount,.price-wrapper .price del .woocommerce-Price-amount.amount{
font-size:14px!important
}

.woocommerce ul.products li.product .price span.amount,.price-wrapper .price .woocommerce-Price-amount.amount{
font-size:16px!important
}

.woocommerce.single-product div.product p.price span.amount{
font-size:24px!important
}

.woocommerce.single-product div.product p.price ins span.amount{
font-size:24px!important
}

.woocommerce.single-product div.product p.price del span.amount{
font-size:14px!important
}

#logo img{
max-height:40px
}
}

@media (max-width:575px){
h2{
font-size:18px
}

h3{
font-size:16px
}

h4{
font-size:14px
}

.shop-controls-nested-right{
display:flex;
flex-direction:column;
gap:10px
}



.shop-view-switcher,.woocommerce-ordering{
width:100%
}

.shop-view-switcher{
display:flex;
justify-content:space-around
}

.woocommerce-ordering select{
width:100%;
padding:10px;
font-size:16px
}

.header-button .header-cart-link.icon.primary.button.round.is-small{
padding:1px 7px!important
}

.shop-container .custom-sorting-tabs .sorting-tab{
padding-bottom:0
}

.product-list-view-info .product-info-container{
display:flex;
flex-direction:column;
gap:0
}

.product-attributes-column,.product-column{
width:100%!important
}

.product-info-table-wrapper .product-info-container::before{
display:none
}

.custom-button{
width:100%;
min-width:unset
}

.button-container{
display:grid
}

body.single-product .single_add_to_cart_button,body.single-product .ux-buy-now-button{
margin:15px 0 0
}

.entry-meta{
display:block
}

.dl-card{
min-height:6px;
padding:12px 14px
}

.fx-titlebar-row{
gap:10px
}
}

@media (min-width:550px){
.form-row-first{
margin-right:2%
}
}

@media (min-width: 768px){
.row-large>.col,.row-large>.flickity-viewport>.flickity-slider>.col{
margin-bottom:0;
padding:0 30px
}
}

.cat-hero-title{
line-height:1.25;
margin:6px 0 8px;
font-weight:700;
text-align:center
}

.cat-hero-desc{
margin:0 0 16px;
opacity:.85;
max-width:900px;
margin-left:auto;
margin-right:auto;
text-align:center
}

.subcat-buttons{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:14px;
padding-bottom: 20px;
list-style:none
}

.subcat-btn{
display:inline-block;
padding:15px 30px;
border:1px solid #0763DF
}

.subcat-btn:hover{
background:#f3f6ff
}

.subcat-btn.is-active{
background:#e8f0ff
}

.ux-newsbox .box-image img{
width:100%;
height:100%;
object-fit:cover;
display:block;
object-fit: fill;
}

.ux-newsbox .ratio-4-3{
position:relative;
display:block;
padding-top:75%
}

.ux-newsbox .ratio-4-3 img{
position:absolute;
inset:0;
width:100%;
height:100%;
object-fit: fill;
}

.ux-newsbox-item + .ux-newsbox-item{
border-top:1px solid rgba(0,0,0,.06);
padding-top:12px
}

.fx-titlebar{
margin:0 0 12px
}

.fx-titlebar-row{
position:relative;
display:flex;
align-items:flex-end;
justify-content:space-between;
gap:16px;
padding-bottom:10px
}

.fx-titlebar-row::after{
content:"";
position:absolute;
left:0;
right:0;
bottom:0;
height:1px;
background:#e6e6e6;
pointer-events:none;
z-index:0
}

.fx-title{
margin:0;
font-weight:700;
line-height:1.25;
font-size:clamp(22px,2.2vw,28px)
}

.fx-title > span{
position:relative;
display:inline-block;
text-transform:capitalize
}

.fx-title > span::after{
content:"";
position:absolute;
left:0;
right:0;
height:1px;
bottom:-10px;
background: var(--secondary-gradient);
z-index:1
}

.fx-more{
white-space:nowrap;
display:inline-flex;
align-items:center;
font-weight:600;
text-decoration:none;
color:#50B848;
line-height:1
}

.fx-more:hover{
text-decoration:underline
}

.fx-arr{
margin-left:.35rem
}

.single-post .page-title-inner.container{
max-width:1070px!important;
width:100%!important;
margin-left:auto;
margin-right:auto;
padding-left:15px;
padding-right:15px
}

.row-slider-image-box{
padding-bottom:40px
}

.row-slider-image-box .flickity-slider > .col > .col-inner{
display:flex!important;
flex-direction:column!important;
justify-content:flex-end!important;
height:100%!important;
gap:12px;
padding-bottom:8px
}

.portfolio-archive-breadcrumb{
text-align:left;
margin-bottom:12px;
font-size:14px;
color:#666
}

.portfolio-archive-breadcrumb a{
color:inherit
}

.portfolio-archive-title{
text-align:center;
font-size: 32px;
}

.portfolio-archive-desc{
text-align:center;
max-width:1120px;
margin:0 auto;
color:#555
}

.widget-portfolio {
  border:1px solid #eaeaea;
  border-radius:8px;
  padding:16px;
  background:#fff;
}

.widget-title-portfolio {
  font-weight:700;
  font-size:16px;
  border-bottom:1px solid #eaeaea;

}

.widget-portfolio .portfolio-nav {
  list-style:none;
  margin:0;
  padding-top:10px;
}

.widget-portfolio .portfolio-nav > li {
  margin:0;
}

/* Áp dụng chung cho <a> dù có nằm trong <li> hay trong <h2> */
.widget-portfolio .portfolio-nav > li > a,
.widget-portfolio .portfolio-nav > li > h2 > a {
  display:block;
  padding:10px 12px;
  border-radius:6px;
  color:#333;
  text-decoration:none;
  transition:background .2s,color .2s;
  font-size:16px;
  font-weight:400;
  margin:0; /* reset margin H2 */
}

/* Hover */
.widget-portfolio .portfolio-nav > li > a:hover,
.widget-portfolio .portfolio-nav > li > h2 > a:hover {
  background:#f5f7fa;
  color:#05f;
}

/* Active */
.widget-portfolio .portfolio-nav > li.current-menu-item > a,
.widget-portfolio .portfolio-nav > li.current-menu-item > h2 > a {
  color:#05f;
  font-weight:600;
}


.portfolio-side-card{
background:#f6f7f9;
border:1px solid #e6e8eb;
border-radius:12px;
padding:16px 18px;
box-shadow:0 2px 10px rgba(0,0,0,.04)
}

.portfolio-single-title{
margin:0 0 8px;
font-size:20px;
font-weight:700;
line-height:1.35
}

.portfolio-single-excerpt{
color:#4a5568;
line-height:1.6;
margin-bottom:8px
}

.portfolio-right-editor{
margin-top:10px
}

.portfolio-right-editor img{
max-width:100%;
height:auto;
border-radius:8px
}

#portfolio-content img{
border-radius:12px
}

#portfolio-content .entry-content > *{
margin-bottom:14px
}

.portfolio-sticky{
position:sticky;
top:90px;
align-self:flex-start
}

@media (max-width: 991px){
.portfolio-sticky{
position:static;
top:auto
}
}

.acf-links{
display:flex;
align-items:center;
flex-wrap:wrap;
column-gap:12px;
row-gap:8px;
margin:8px 0
}

.acf-links__label{
font-weight:700;
white-space:nowrap;
margin:0
}

.acf-links__label:after{
content:":";
margin-left:4px
}

.acf-links__items{
display:flex;
flex-wrap:wrap;
gap:10px
}

.acf-links__items a{
display:inline-block;
padding:8px 12px;
border:1px solid #ddd;
border-radius:6px;
background:#fff;
text-decoration:none;
color:#333;
line-height:1;
transition:border-color .2s,box-shadow .2s,color .2s
}

.acf-links__items a:hover{
border-color:#2370ff;
box-shadow:0 0 0 1px #2370ff inset;
color:#0a46bf
}

.acf-links p{
margin:0
}

.section-title-normal.product-section-title-related{
border-bottom:2px solid #ececec!important;
padding-bottom:5px
}

.item-partner .img-inner,.item-partner .col-inner{
display:flex;
flex-direction:row;
flex-wrap:wrap;
align-items:center;
justify-content:center
}

.h100-inner .col-inner,.h100{
height:100%
}

.col.item-partner{
padding:10px!important
}

.item-partner .col-inner{
background:#F7F7F7;
height:110px;
transition:all .3s;
position:relative;
overflow:hidden;
border-radius:10px
}

.dl-card{
display:flex;
align-items:center;
gap:12px;
width:100%;
min-height:61px;
padding:10px;
background:#E1F0FF;
color:#0b1f3a;
font-weight:500;
line-height:1.3;
text-decoration:none;
transition:background .2s ease,box-shadow .2s ease,transform .15s ease
}

.dl-card:hover{
background:#d7e8fb;
box-shadow:0 2px 8px rgba(0,0,0,.06);
transform:translateY(-1px)
}

.dl-ic{
width:22px;
height:22px;
flex:0 0 22px
}

.dl-label{
display:inline-block
}
/* Reset bullet + thụt lề của Flatsome */
.same-level-list,
.widget .same-level-list{
  margin:0;
  padding:0 !important;
  list-style:none;
}
.same-level-list li{
  margin:0px 0;
  padding:0;
  list-style:none;
  margin-left: 0 !important;
}
.same-level-list li::before{
  content:none !important; 
}

.same-level-list a.cat-link{
  display:inline-flex !important;
  align-items:center;
  gap:10px;
  line-height:1.3;
  min-height:40px; 
  text-decoration:none;
}
.same-level-list img.cat-icon{
  display:block;
  width:40px;    
  height:40px;
  flex:0 0 40px;
}

.same-level-list .cat-name{ position:relative; top:1px; }

/* h3 nhỏ hơn cho tiêu đề dự án */
.portfolio-box .portfolio-box-title {
  font-size: 16px;      /* nhỏ hơn mặc định */
  line-height: 1.35;
  font-weight: 600;
  text-transform: none; /* bỏ uppercase nếu muốn giữ nguyên thì xóa dòng này */
  margin: .35rem 0 0;
}

/* Mô tả dưới tiêu đề */
.portfolio-box-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  margin-top: 6px;
}
/* Mỗi "cell" (slide-grid) chiếm full bề rộng trong carousel */
.row_slider_category_box .slide-grid,
.row-slider-category-box .slide-grid,
.row-slider-caretory-box .slide-grid { width: 100%; }

/* Lưới 2 hàng × N cột trong mỗi cell.
   N lấy từ biến CSS --cols (được JS set theo breakpoint) */
.row_slider_category_box .slide-grid-inner,
.row-slider-category-box .slide-grid-inner,
.row-slider-caretory-box .slide-grid-inner{
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: 16px;
}

/* Mobile: giảm gap nếu muốn */
@media (max-width: 549.98px){
  .row_slider_category_box .slide-grid-inner,
  .row-slider-category-box .slide-grid-inner,
  .row-slider-caretory-box .slide-grid-inner{
    gap: 12px;
  }
      .entry-author .flex-row {
        flex-direction: column; /* Chuyển thành 1 cột */
        text-align: center; /* Căn giữa nội dung văn bản */
    }

    .entry-author .flex-col.mr {
        flex-basis: auto !important; /* Đặt lại flex-basis */
        margin-right: 0; /* Xóa margin bên phải */
        margin-bottom: 15px; /* Thêm margin dưới ảnh */
    }
.custom-container {
        flex-direction: column;
        align-items: center;
    }
    .custom-item {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }
		.custom-card {
    padding: 20px;
		}
.subcat-buttons{
    gap:10px;
    margin-top: -20px;   
  }

  .subcat-btn{
    flex: 1 1 calc(50% - 10px);
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;

    padding:12px 10px;         /* thu nhỏ padding */
    min-height:44px;           /* chuẩn tap target */
    font-size:14px;
    line-height:1.3;
    border-radius:5px;        /* bo tròn nhẹ cho “chip” đẹp hơn */

    word-break: break-word;    /* tránh tràn chữ dài */
    -webkit-tap-highlight-color: transparent;
  }

  .subcat-btn:hover{
    background:#f3f6ff;        /* giữ hiệu ứng hover nhẹ */
  }

  .subcat-btn.is-active{
    background:#e8f0ff;
    /* tùy chọn: nhấn mạnh trạng thái active */
    box-shadow: inset 0 0 0 2px #0763DF1A;
  }

/* ***** */
/* ===== TIÊU ĐỀ CHUNG: 2 dòng ===== */


/* Newsbox: tiêu đề 2 dòng (ô to & ô nhỏ) */
.ux-newsbox .post-title a,
.ux-newsbox .ux-newsbox-item h3 a{
  -webkit-line-clamp:2;
		font-size: 16px;
}

/* Newsbox: mô tả 3 dòng, 14px */
.ux-newsbox .from_the_blog_excerpt{
  font-size:14px;
  -webkit-line-clamp:2;
            /* 1.5 * 3 */
}

/* Khu vực khác: related / tin-tuc / author — mô tả 3 dòng, 15px */
.related-posts-section-container .from_the_blog_excerpt,
.tin-tuc .from_the_blog_excerpt,
.author-posts .from_the_blog_excerpt{
  font-size:15px;
  -webkit-line-clamp:2;
 }
.ux-newsbox-item{
  border-bottom:1px solid #e9e9e9;
  padding:12px 0;
}
ul.subcat-buttons > li{ margin:0; padding:0; }
}
/* Không vẽ vạch ngăn cột ở các slider tin tức / dự án */
.row.tin-tuc .flickity-slider > .col::before,
.row.tin-tuc .flickity-slider > .col::after,
.row.du-an   .flickity-slider > .col::before,
.row.du-an   .flickity-slider > .col::after {
  content:none !important;
  border:0 !important;
  display:none !important;
}
/* Fix chiều cao tối thiểu cho box category */
.box-category.has-hover.box-default {
  min-height: 220px;   /* hoặc 240px tùy bạn muốn thoáng hơn */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
/* --- Section bài viết hữu ích & bài viết nổi bật của tác giả --- */
.related-posts-section-container,
.author-posts {
  margin-top: 40px;
  margin-bottom: 40px;
}
.relative-pots .related-posts-section-container
{
  margin-top: 10px;
  margin-bottom: 40px;
}
/* Tiêu đề bài viết */
.related-posts-section-container .post-title a,
.author-posts .post-title a {
  font-size: 18px;           
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;     
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 6px;
}

/* Đoạn mô tả */
.related-posts-section-container .from_the_blog_excerpt,
.tin-tuc .from_the_blog_excerpt,
.author-posts .from_the_blog_excerpt {
  font-size: 16px;           
  line-height: 1.5;
  margin: 0;
}
.product-short-description-box .title-with-line {
  font-weight: 600;
  font-size: 16px;         
  margin-bottom: 10px;      
  padding-bottom: 0px;
  border-bottom: 1px solid #000; 
}
.form-row-first {
        margin-right: 2%;
    }
.from-lien-he {
	background: #FAFAFA;
  border-radius: 25px;
  padding: 33px 30px 0px 30px;
  width: 80% !important;
}

.trang-lien-he {
    background: var(--secondary-gradient);
    width: 100%; 
	 padding: 5px 0px !important;
   border-radius: 5px !important;
}
.col.ct-lt {
  padding: 0 15px 0px !important;
}
.accordion .accordion-title {
    background: #E8F0FF;
    color: var(--fs-color-primary);
    border: 0px !important;
    font-weight: 600;
    border-radius: 30px;
    font-size: 16px;
    position: relative;
    padding: 10px 45px 10px 30px;
}
.accordion .accordion-item {
    margin-bottom: 10px;
}
.accordion .accordion-title .toggle {
    position: absolute;
    right: 10px;
    left: inherit;
    transform: none;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    transform-origin: inherit;
    opacity: 1;
    justify-content: center;
    margin: 0px;
    top: 50%;
    transform: translate(0, -50%);
}

 .category-banner-acf-container {
     width: 100%;
     max-width: 1260px;
     margin-left: auto;
     margin-right: auto;
 }

 .category-banner-acf-container img {
     display: block; 
     width: 100%;
     height: auto;
 }
.sibling-categories-tags {
    margin-bottom: 1.5em; 
}

.sibling-tag-link {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 10px 8px 0;
    border: 1px solid #e0e0e0;
    border-radius: 99px;
    font-size: 0.9em;
}
.sibling-tag-link h2 {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  margin: 0;
  display: inline;
}
.row-small.number > .col::before {
    display: none !important;
}
.giai-phap {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    overflow: hidden;
}
.phuong-an-trien-khai > .col {
  position: relative;
}

.phuong-an-trien-khai > .col:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40%;
  right: -12px; 
  transform: translateY(-50%);
  width: 16px;  
  height: 16px;
  background-image: url('https://rangdongmall.com/wp-content/themes/flatsome-child/images/icon-arrow-right.svg'); 
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 10;
}

.row.hanhtrinh{
  max-width:1000px; 
  margin:0 auto;
  --pill-h:56px;
  --marker-h:64px;
  --marker-w:2px;
  --dot:12px;
  --marker-color:#ADC9FF;
}


.row.hanhtrinh > .col{ padding:0 !important; }
.row.hanhtrinh > .col > .col-inner{ padding:0 !important; }


.row.hanhtrinh .trip1 .col-inner,
.row.hanhtrinh .trip2 .col-inner,
.row.hanhtrinh .trip3 .col-inner,
.row.hanhtrinh .trip4 .col-inner{
  height:var(--pill-h);
  display:flex; align-items:center; justify-content:center;
  position:relative;
  overflow:visible;                 /* cho marker tràn ra dưới */
  padding:0;
  margin-bottom: calc(var(--marker-h) + 24px); /* chừa chỗ cho marker */
}

/* Màu + bo góc 2 đầu (desktop) */
.row.hanhtrinh .trip1 .col-inner{
  background:#097FED;
  border-top-left-radius:9999px; border-bottom-left-radius:9999px;
}
.row.hanhtrinh .trip2 .col-inner{ background:#04A4E3; border-radius:0; }
.row.hanhtrinh .trip3 .col-inner{ background:#26BDB8; border-radius:0; }
.row.hanhtrinh .trip4 .col-inner{
  background:#56CC84;
  border-top-right-radius:9999px; border-bottom-right-radius:9999px;
}


.row.hanhtrinh .tl-date{
  position:relative;
  width:100%; height:var(--pill-h);
  display:grid; place-items:center;
  margin:0; line-height:1;
  color:#fff; font-weight:700; letter-spacing:.5px;
}
.row.hanhtrinh .tl-date::after{     /* vạch */
  content:""; position:absolute; left:50%; transform:translateX(-50%);
  bottom: calc(-1 * var(--marker-h, 64px));
  width: var(--marker-w, 2px); height: var(--marker-h, 64px);
  background: var(--marker-color, #ADC9FF);
  z-index:3;
}
.row.hanhtrinh .tl-date::before{    /* chấm */
  content:""; position:absolute; left:50%; transform:translateX(-50%);
  bottom: calc(-1 * var(--marker-h, 64px) - var(--dot, 12px)/2);
  width: var(--dot, 12px); height: var(--dot, 12px);
  border-radius:50%; background: var(--marker-color, #ADC9FF);
  z-index:3;
}


.row.hanhtrinh .text{ text-align:center; }
.row.hanhtrinh .text p{ margin:6px 0; }


@media (max-width: 991px){
  .row.hanhtrinh{ --pill-h:52px; --marker-h:56px; }
}


@media (max-width: 767px){
  .row.hanhtrinh{ padding:0 10px; --pill-h:48px; --marker-h:36px; --dot:10px; }
  .row.hanhtrinh > .col{ padding:6px !important; } 
  .row.hanhtrinh .trip1 .col-inner,
  .row.hanhtrinh .trip2 .col-inner,
  .row.hanhtrinh .trip3 .col-inner,
  .row.hanhtrinh .trip4 .col-inner{ border-radius:16px !important; }
}


@media (max-width: 480px){
  .row.hanhtrinh > .col{ flex:0 0 100%; max-width:100%; }
}
.four-tieuchi .icon-box-img {
    display: flex;
    align-items: center; 
    justify-content: center;
}
.row-slider-caretory-box .slide-grid-inner > .col{
  min-height: 200px;    
  height: auto !important;
}
.row-slider-caretory-box .col {
  padding: 0 5px; 
}
.du-an .box-blog-post .image-cover,
.tin-tuc .box-blog-post .image-cover {
  padding-top: 66.66% !important; /* Tỉ lệ 900:600 (3:2) */
}
.nav.nav-small>li>a {
    font-size: 15px;
	color: #222222;
}
.row.row-solid.contac-gt{
  background:#fff;
  border-radius:22px;
  box-shadow:0 12px 28px rgba(10,35,70,.08);
  padding:26px 34px;
}

/* Cột trong row */
.row.row-solid.contac-gt > .col{
  padding:18px 10px;
  border-left:1px solid rgba(31,102,195,.35); /* vạch ngăn */
}
.row.row-solid.contac-gt > .col:first-child{
  border-left:0; /* bỏ vạch ở cột đầu */
}

/* Mobile: xếp dọc, dùng đường kẻ ngang thay vì dọc */
@media (max-width: 849.98px){
  .row.row-solid.contac-gt{ padding:18px; }
  .row.row-solid.contac-gt > .col{
    border-left:0;
    border-top:1px solid rgba(31,102,195,.25);
  }
  .row.row-solid.contac-gt > .col:first-child{ border-top:0; }
}

/* (Tuỳ chọn) Reset mọi pseudo có sẵn từ theme trong vùng này */
.row.row-solid.contac-gt::before,
.row.row-solid.contac-gt::after,
.row.row-solid.contac-gt > .col::before,
.row.row-solid.contac-gt > .col::after{
  content:none !important; display:none !important;
}
/* Danh sách trong mô tả taxonomy (category/tag) */
.term-description ul,
.term-description ol,
.taxonomy-description ul,
.taxonomy-description ol,
.related-posts-extra-content ul,
.related-posts-extra-content ol {
  margin: 0 0 1em 1.25em;   /* khoảng cách & thụt vào trái */
  padding: 0;
}

.term-description ul,
.taxonomy-description ul,
.related-posts-extra-content ul {
  list-style: disc;         /* chấm tròn */
}

.term-description ol,
.taxonomy-description ol,
.related-posts-extra-content ol {
  list-style: decimal;      /* số thứ tự */
}

.term-description li,
.taxonomy-description li,
.related-posts-extra-content li {
  margin: .25em 0;
  line-height: 1.6;
}

/* PC (>=850px): chỉ cho Header Bottom sticky, ẩn Header Main khi sticky */
@media (min-width: 850px){
  /* Khi header đang sticky… */
  #header .header-wrapper.stuck #masthead,
  #header .header-wrapper.stuck .header-bg-container {
    display: none !important;         /* ẩn block header-main & nền xanh */
  }

  /* Đảm bảo phần bottom luôn hiển thị khi sticky */
  #header .header-wrapper.stuck .header-bottom {
    display: block !important;
    visibility: visible !important;
	padding-top:10px
  }

  /* Nếu theme có tạo placeholder, bỏ chiều cao để không chừa khoảng trống */
  #header .header-wrapper + .sticky-placeholder {
    height: 0 !important;
  }
}
.nav-uppercase>li>a {
    text-transform: capitalize;
}
.mobile-sidebar-levels-2 .nav-slide>li>.sub-menu>li:not(.nav-slide-header)>a, .mobile-sidebar-levels-2 .nav-slide>li>ul.children>li:not(.nav-slide-header)>a {
    text-transform: capitalize;
}


/* Newsbox: tiêu đề 2 dòng (ô to & ô nhỏ) */
.ux-newsbox .post-title a,
.ux-newsbox .ux-newsbox-item h3 a{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Newsbox: mô tả 3 dòng, 14px */
.ux-newsbox .from_the_blog_excerpt{
  margin:0;
  line-height:1.5;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  text-overflow:ellipsis;
  max-height:4.5em;            /* 1.5 * 3 */
}

/* Khu vực khác: related / tin-tuc / author — mô tả 3 dòng, 15px */
.related-posts-section-container .from_the_blog_excerpt,
.tin-tuc .from_the_blog_excerpt,
.author-posts .from_the_blog_excerpt{
  line-height:1.5;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  text-overflow:ellipsis;
  max-height:4.5em; 
}

/* ----- Archive grid (tin-tuc) ONLY ----- */

/* Tiêu đề: 2 dòng, không ảnh hưởng nơi khác */
.row.tin-tuc .post-item h3.post-title { margin: 0; }
.row.tin-tuc .post-item h3.post-title a{
  font-size: 18px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;      /* fix 2 dòng */
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.5em * 2);
  word-break: break-word;
	height:3em;  
}

/* Mô tả: 2 dòng */
.row.tin-tuc .post-item .from_the_blog_excerpt.excerpt-archive{
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;  
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.5;

}
/* Áp cho Newsbox & Archive grid */
.ux-newsbox .image-cover,
.row.tin-tuc .image-cover { position: relative; overflow: hidden; }

/* Anchor phải chiếm trọn khung */
.ux-newsbox .image-cover > a,
.row.tin-tuc .image-cover > a,
.ux-newsbox .ratio-4-3 { 
  display: block !important; 
  width: 100% !important; 
  height: 100% !important;
}

/* Ảnh fill kín (chấp nhận méo) */
.ux-newsbox .image-cover img,
.row.tin-tuc .image-cover img,
.ux-newsbox .ratio-4-3 img {
  width: 100% !important;
  height: 100% !important;
  -o-object-fit: fill !important;
  object-fit: fill !important;     /* <-- fill */
  object-position: center !important;
}
#toc_container {
    border-radius: 10px;
}
.custom-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.custom-item {
    flex: 1 1 45%; /* Chia đều 2 cột, co giãn trên màn hình nhỏ */
    max-width: 500px;
}

.custom-card {
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 12px 10px 0px;
    height: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.custom-text-center {
    text-align: center;
}

.custom-heading {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    line-height: 1.2;
}

.custom-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Phần nút Đánh giá đã điều chỉnh để căn đều */
.custom-feedback-buttons {
    display: flex;
    align-items: center;
    justify-content: center; 
    width: 100%;
    margin: 0 auto;
}

.custom-feedback-btn {
    display: flex;
    flex: 1 1 0; 
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 0.9rem;
    color: #333;
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

.custom-feedback-btn:hover {
    transform: translateY(-2px);
    color: #007bff;
}

.custom-feedback-btn img {
    width: 32px;
    height: 32px;
    margin-bottom: 5px;
    filter: grayscale(1);
    transition: filter 0.2s ease-in-out;
}

.custom-feedback-btn:active img {
    filter: grayscale(0);
}

.custom-feedback-text {
       text-transform: capitalize;
}

.custom-divider {
    width: 1px;
    height: 60px;
    background-color: #e0e0e0;
    margin: 0 10px; 
}

.custom-social-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.custom-social-link img {
    width: 40px;
    height: 40px;
    transition: transform 0.2s ease-in-out;
}

.custom-social-link img:hover {
    transform: scale(1.1);
}

.custom-feedback-message {
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
    color: #555;
    min-height: 20px;
}
#feedback-section .custom-feedback-btn:hover img {
    /* Đảm bảo hiệu ứng chỉ xảy ra khi nút chưa bị vô hiệu hóa */
    filter: grayscale(0) !important;
}

#feedback-section .custom-feedback-btn:hover .custom-feedback-text {
    /* (Tùy chọn) đổi màu chữ khi hover */
    color: #007bff;
}
