/*
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.   ***************/
.box-blog-post .is-divider{
	display: none;
}
input[type=email], input[type=number], input[type=search], input[type=tel], input[type=text], input[type=url]{
	border-color: #89EBB2;
    min-height: 46px;
    border-radius: 25px;
}
textarea{
	border-color: #89EBB2;
    border-radius: 25px;
}
.wpcf7 label{
	font-weight: 400;
}
.dark .wpcf7 label,
.dark .wpcf7-form{
	color: var(--primary-color)
}
.wpcf7-form .wpcf7-submit{
	margin-left: auto;
    margin-right: auto;
    min-width: 120px;
    border-radius: 25px;
    font-weight: 400;
    display: block;
    margin-bottom: 0;
}
.box-list-item .box-item h2,
.box-list-item .box-item h3,
.box-list-item .box-item h4{
	color: #116333;
	font-size: 34px;
	margin-bottom: 0;
}
.section-layer img{
	border-radius: 20px;
}
.section-layer .banner{
	background-color: transparent;
}
.box-video{
	position: relative;
}
.box-video .video-button-wrapper{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.box-video > div{
	overflow: hidden;
}
.row.align-equal .col-inner,
.row.align-equal .col-inner .box{
	height: 100%;
}
.col .box,
.box-blog-post .box-image{
	border-radius: 8px;
	overflow: hidden;
}
.col .box h2,
.col .box h3,
.col .box h4{
	font-size: 20px;
}
.col.post-item > .col-inner{
	overflow: hidden;
}
.box-blog-post.box-text-bottom .box-text{
	padding-left: 15px;
    padding-right: 15px;
    background: linear-gradient(0deg, #E9FBF1, transparent);
}
.box-step .icon .icon-inner{
	background-color: #7CE145;
    padding: 20px;
    border-radius: 999px;
}
.box-step .col:nth-child(even) .icon .icon-inner{
	background-color: #fff;
}
.col.large-2 .img-inner img{
	border-radius: 10px;
}
.product-title .woocommerce-LoopProduct-link{
	font-size: 16px;
    font-weight: 700;
    color: #123524;
}
.col [class*="product-"].box{
	border-radius: 12px;
	border: 1px solid #D8EBDD;
}
.box-text-products{
	padding-left: 12px;
	padding-right: 12px;
	padding-bottom: 12px;
	position: static;
}
.badge-container{
	margin: 10px 0 0 10px;
}
.badge{
	height: 2.2em;
}
.badge-inner{
	background-color: #F93936;
    border-radius: 100px;
    overflow: hidden;
    font-weight: 400;
    padding: 0px 13px;
}

/* Giá: đảo thứ tự -> giá mới lên trên, giá gốc gạch xuống dưới */
.product.col .price {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.product.col .price ins{
    order: 1;
    text-decoration: none;
    font-weight: 700;
    color: #111;
}
span.amount bdi{
	font-size: 17px;
}
/* Nhãn "Giá chỉ từ:" thêm bằng CSS */
.product.col .price ins::before {
    content: "Giá chỉ từ: ";
    font-weight: 400;
    font-size: 14px;
    color: #555;
}
.product.col .price .screen-reader-text { display: none; }

.product.col .price-wrapper{
	margin: 10px 0;
}
/* Nút Mua ngay */
.product.col .buy-now-btn {
    display: block;
    position: absolute;
    padding: 11px 15px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    background: #2e9e4f;
    color: #fff !important;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s ease;
    text-align: center;
}
.product.col .buy-now-btn:hover { background: #25813f; }
ins span.amount,
span.amount bdi{
	color: #F81D19;
}
.product.col .price del{
	order: 2;
}
.product.col .price del span.amount bdi{
    color: #9aa0a6;
    font-size: 14px;
}
.product.col > .col-inner,
.product.col > .col-inner > .box{
	height: 100%;
}
.product.col > .col-inner > .box{
	position: relative;
	padding-bottom: 50px;
}
.slides-cols-9 .flickity-slider{
	display: flex;
}
.slides-cols-9 .flickity-slider > *{
	flex-basis: 33.3333333333%;
    max-width: 33.3333333333%;
}
.slides-cols-9 .flickity-slider > *{
	margin-right: 10px;
}
.slides-cols-9 .flickity-slider > .section{
	padding: 10px !important;
	border-radius: 10px;
}
.slides-cols-9 .flickity-slider > .section .icon-box .icon-box-text{
	min-height: 52px;
}
.slider-nav-circle .flickity-prev-next-button .arrow,
.slider-nav-circle .flickity-prev-next-button svg{
	background-color: #F2F2F7;
	border-width: 0;
}
@media only screen and (min-width: 768px) {
	.slides-cols-9 .flickity-slider > *{
		flex-basis: calc(16.6666667% - 10px);
		max-width: calc(16.6666667% - 10px);
	}
	.box-list-item .box-item h2,
	.box-list-item .box-item h3,
	.box-list-item .box-item h4{
		font-size: 44px;
	}
}
@media only screen and (min-width: 850px) {
	.slider-nav-outside .flickity-prev-next-button{
		position: absolute;
		top: 0;
		bottom: auto;
		left: auto !important;
		margin-top: -50px !important;
		opacity: 1;
	}
	.slider-nav-outside .flickity-prev-next-button.previous{
		right: 50px;
	}
	.slider-nav-outside .flickity-prev-next-button.next{
		right: 15px;
	}
}
@media only screen and (min-width: 1200px) {
	.slides-cols-9 .flickity-slider > *{
		flex-basis: calc(12.5% - 10px);
		max-width: calc(12.5% - 10px);
	}
	.box-list-item .box-item h2,
	.box-list-item .box-item h3,
	.box-list-item .box-item h4{
		font-size: 53px;
	}
	.row-cols-5 > .col{
		flex-basis: 20%;
        max-width: 20%;
	}
	.box-step .icon-box-img{
		position: relative;
	}
	.box-step .icon{
		border: 1px solid #fff;
        border-radius: 999px;
        padding: 10px;
	}
	.box-step .col .col-inner .icon-box{
		display: flex;
    	flex-direction: column;
	}
	.box-step .col:nth-child(even){
		 padding-top: 192px;
	}
	.box-step .col:nth-child(odd) .icon-box .icon-box-text{
		order: -1;
	}
	.box-step{
		background: url(/wp-content/uploads/2025/12/OBJECTS-1.png);
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: center 165px;
	}
}
@media only screen and (min-width: 1200px) and (max-width: 1400px){
	.box-step > .col:nth-child(1) .gap-element{
		padding-top: 42px !important;
	}
	.box-step > .col:nth-child(3) .gap-element{
		padding-top: 50px !important;
	}
	.box-step > .col:nth-child(5) .gap-element{
		padding-top: 0px !important;
	}
}
@media only screen and (min-width: 1400px) {
	.slides-cols-9 .flickity-slider > *{
		flex-basis: calc(11.1111111111% - 10px);
		max-width: calc(11.1111111111% - 10px);
	}
	.box-step .col:nth-child(even){
		 padding-top: 170px;
	}
	.section-layer img{
		border-radius: 40px;
	}
	.row:not(.row-full-width),
	.row.row-small,
	.container{
		max-width: 1392px !important;
	}
	.box-blog-post .box-image{
		border-radius: 8px;
		overflow: hidden;
	}
	.col [class*="product-"].box{
		border-radius: 8px;
	}
	.col .box h2,
	.col .box h3,
	.col .box h4{
		font-size: 24px;
	}
	.box-step{
        background-position: center 110px;
	}
}

h1.entry-title{
	font-size: 2.2rem;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}