.margin-left-20px{
    margin-left: 20px;
}
.full-width{
   display: block;
}
.hidden {
    display: none;
}
.form-contact-top {
    background-image: url("/wp-content/themes/haruco/assets/images/bg-contact.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}
.form-contact-top .form-contact-support .custom-field-group:nth-child(even) {
    margin-left: 0px;
}
.header-middle .search-product .dropdown-search select {
	border: none;
	outline: none;
	background-color: transparent;
}
.header-middle .search-product .dropdown-search select:focus {
	border: none;
    background-color: transparent;
    color: #6F6F6F;
    padding: 5px 73px 5px 23px;
    position: relative;
}
.header-bottom .main-menu .menu-category-product .dropdown-menu .dropdown-item::before {
    background-image: url("/wp-content/themes/haruco/assets/images/icon/ic_right-orange.svg");
}
.dropdown-search .btn-dropdown-search::after {
    background-image: url("/wp-content/themes/haruco/assets/images/icon/ic_down.svg");
}
.btn-dropdown-search {
     border: none;
    outline: none;
    box-shadow: none;
    appearance: none; /* Cho trình duyệt hiện đại */
    -webkit-appearance: none; /* Safari/Chrome */
    -moz-appearance: none; /* Firefox */
    background-color: transparent; /* Tùy chọn */
}
.btn-dropdown-search:hover{
    border: none;
}
.btn-dropdown-search:focus{
    border: none;
}
.btn-dropdown-search:active{
    border: none;
}
.float-contact {
    bottom: 30%;
    right: 8px;
}
.content-introduce {
	padding-top: 32px;
}
.content-introduce img {
	margin: 0 auto;
}
.news-body-detail h2{
    font-size: 1.5rem;
}

.news-body-detail h3{
    font-size: 1.4rem;
}

.news-body-detail h4{
    font-size: 1.3rem;
}

.product-detail-body{

}
.product-detail-body h2, .box-huongdansudung h2{
    font-size: 1.5rem;
}

.product-detail-body h3, .box-huongdansudung h3{
    font-size: 1.4rem;
}

.product-detail-body h4, .box-huongdansudung h4{
    font-size: 1.3rem;
}
.post-detail.news-body-detail a{
	color: #15c;
}
.post-detail.news-body-detail a strong{
    color: #15c;
}
.post-detail.news-body-detail strong a{
    color: #15c;
}
.post-detail.news-body-detail a b{
    color: #15c;
}
.post-detail.news-body-detail b a{
    color: #15c;
}
.product-detail-body a{
	color: #15c;	
}
.product-detail-body a strong{
    color: #15c;
}
.product-detail-body strong a{
    color: #15c;
}
.product-detail-bodya b{
    color: #15c;
}
.product-detail-body b a{
    color: darkgreen;
}
.product-detail-body p{
	font-size: 18px;
}
.product-detail-body iframe{
    /*
    aspect-ratio: 9 / 16;
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto; */
}
.post-detail.news-body-detail iframe{
 
}
.block-shortcode-product .info h4 a {
	color: #4E514F !important;
}
.block-shortcode-product .info a {
	color: #f54343 !important;
}
.box-checkhangchinhhang iframe {

}
.box-news-related .item-news-vertical .img img {
	height: 108px;
    width: 133px;
    border-radius: 20px;
}
.block-shortcode-of-product-thamkhao p{
	text-align: center;
    font-size: 20px;
    color: red;
    border-bottom: 1px solid #ededed;
}
/************** Table content /**************/
body #ez-toc-container {
    border-radius: 10px !important;
    border: 1px solid #dbdbdb !important;
    background: #fff !important;
    padding: 0;
    width: 100%;
}
body #ez-toc-container li {
    border-bottom: 1px solid #dbdbdb;
}
body #ez-toc-container li a {
    font-size: 18px !important;
    line-height: 38px;
    padding: 8px 8px;
    font-weight: bold !important;
}
body #ez-toc-container li a:hover {
    text-decoration: none !important;
}
body #ez-toc-container li a::before {
    width: 29px;
    height: 29px;
    display: flex;
    flex-shrink: 0;
    background-color: #FF6D3E;
    border-radius: 100%;
    color: #fff;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    margin-top: 3px;
    content: counters(item, '', decimal) '';
}
body #ez-toc-container .ez-toc-title-container{
    padding: 10px 10px 0 10px;
    display: none;
}
.ez-toc-sticky .ez-toc-sidebar .ez-toc-sticky-title {
    color: #ff6d3e !important
}
.ez-toc-sticky .ez-toc-sidebar {

}
.ez-toc-sticky-title-container{
    border-bottom: 1px solid #ff6d3e !important;
}
.ez-toc-open-icon .text{
    color: #ff6d3e !important;
}
.ez-toc-sticky-toggle-direction ul {

}
.ez-toc-sticky-toggle-direction ul li {
    
}
.ez-toc-sticky-toggle-direction ul li a{
    font-size: 16px !important;
    line-height: 18px;
    padding: 8px 8px;
    font-weight: bold !important;
    color: #ff6d3e !important;
}
#ez-toc-sticky-container .ez-toc-sticky-toggle-direction ul a:hover{
    text-decoration: none;
}

/************************************ Single product ************************************/
.box-button-addtocart a:hover{
    text-decoration: none;
    color: #fff0f0;
}
.box-button-addtocart a.btn-addtocart{
    font-size: 20px;
    padding: 7px 14px;
    text-align: center;
}
.link-giohang{
    padding-top: 3px;
}
.link-giohang a{
    color: #fff0f0;
}
.link-giohang a:hover{
    color: #fff0f0;
}
/*** form đặt mua hàng ***/
.modal_dat_mua_hang .modal-content{
    max-width: 500px;
    margin: 0 auto;
    padding: 8px;
}
.modal_dat_mua_hang form input{
    border: 1px solid #FF6D3E;
    width: 100%;
    height: 40px;
    padding: 5px;
}
.modal_dat_mua_hang form input:focus{
    border: 1px solid #F26D42;   
}
.modal_dat_mua_hang form label{
   width: 100%;
}

.modal_dat_mua_hang form span{
    width: 100%;
    float: left;
}
.modal_dat_mua_hang form select{
    border: 1px solid #F26D42;
    width: 100%;
    border-radius: 8px;
    outline: none;
    height: 50px;
    padding: 5px;
    height: 40px;
}
.modal_dat_mua_hang form textarea{
    border: 1px solid #F26D42;
    width: 100%;
    height: 100px;
}
.modal_dat_mua_hang form textarea:focus{
    border: 1px solid #F26D42;  
}
.modal_dat_mua_hang form .wpcf7-submit{
    width: 100%;
    border: none;
    text-transform: uppercase;
    color: #fff;
    margin-top: 15px;
    margin-bottom: 10px;
    height: 46px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50px;
    background: linear-gradient(71deg, #e72b29 0%, #f26d42 100%);
}
.modal_dat_mua_hang form .wpcf7-not-valid-tip{
    font-size: 14px;
    font-style: italic;
    color: #fff;
}
.p_wrapp_1, .p_wrapp_2{
    width: 48%;
    display: inline-block;
}
.p_wrapp_6 span.wpcf7-spinner {
    width: 24px;
    height: 24px;
}
.p_wrapp_6 span.wpcf7-spinner:before {

}
.btn-datmuangay{
    width: 100%;
    border: none;
    text-transform: uppercase;
    color: #fff;
    margin-top: 15px;
    margin-bottom: 10px;
    height: 46px;
    font-size: 20px;
    font-weight: 700;
}
.btn-datmuangay:hover{
    color: #fff;
}
.btn-datmuangay .icon {
    display: inline-flex;
    height: 1.0rem;
    width: 1.0rem;
}
/************* Home page ******************/
@media (min-width: 768px) 
{
    .homepage section.blog-news {
        margin-bottom: 25px;
    }
    .havi-page-about .intro-about {
        margin-top: 0px;
    }
    .havi-page-about .intro-about .content-introduce {
        padding-top: 0;
    }
    .havi-page-about .breadcrumbs {
        margin-bottom: 0px;
    }
    .havi-page-about .commit-from-haruco {
        margin-top: 50px;
        margin-bottom: 25px;
    }
    .product-list-page .breadcrumbs {
        margin-bottom: 0px;
    }
    .page-news .mt-5{
        margin-top: 8px !important;
    }
}

.homepage .review-customer{
    padding-bottom: 30px;
}
/*** product list ************/
.wrapp-filer-pc{
    display: flex;
}
.before-loop-wrapper-filter .filter .woocommerce-ordering p:first-child {
	margin-top: 8px;
}
@media only screen and (min-width: 768px) 
{
	.item-best-seller .img img{
		height: 230px;
	}
    .list-product-search .item-best-seller .img img{
        height: 269px;
        width: auto;
    }
}
.item-best-seller .info h4 {
	font-size: 17px;
	line-height: 27px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	min-height: 55px;
}
.item-best-seller .info .a_title{
	font-size: 17px;
	line-height: 27px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	min-height: 55px;
}
.block-ttsk .blog-list .box-text h3{
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	min-height: 55px;
}
.block-ttsk .blog-list .box-text h3 a{
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	min-height: 55px;
}
@media (min-width: 768px) {
    .item-news-vertical .img {
   
    }
	.blog-news .blog-content .item-blog-new-simple .box-text{
		padding-bottom: 0;
	}
	.blog-list .item-blog-new-simple{
		
	}
	.blog-list .item-blog-new-simple img{
		
	}
	.blog-list .box-image.image-cover-h{
		
	}
	.blog-news .blog-content .blog-list .item-blog-new-simple .image-cover-h {
		padding-top: 50%;
	}
}
.item-customer-reviews .img img{
	height: 100%;
	width: 100%;
}
/*** common ******************/
.post-detail .img-center {
	text-align: center;
}
.product-detail-body .img-center {
	text-align: center;
}
.box-checkhangchinhhang .des .img-center {
	text-align: center;
}
/****************** Footer ****************************/
.box-dmc-bct {
    gap: 8px;
}
.box-dmc-bct li {
 
}
.box-dmc-bct li img {
    width: 100px;
}
.box-dmc-bct .dmca-badge img {
    width: 70px;
}
@media only screen and (max-width: 768px) {
    .box-dmc-bct {
       display: inline-flex;
    }
    .box-dmc-bct li img {
       
    }
}
/********** Form đặt mua hàng - Custom làm mới *****************/
.modal-formdatmua{
    z-index: 9999;
    padding-top: 15px;
}
.modal-formdatmua input{
    height: 40px;
    cursor: pointer;
}
.modal-formdatmua select{
    height: 40px;
    cursor: pointer;
}
.modal-formdatmua textarea{
    cursor: pointer;
}
.modal-formdatmua .order-form-attribute h3{
    text-align: center;
    font-weight: bold;
}
.modal-formdatmua .modal-content{
    background: transparent;
    border: none;
}
.modal-formdatmua .modal-dialog{
    max-width: 80%;
    margin-top: 0;
}
.order-form-custom .order-form-feature{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.order-form-custom .order-form-attribute{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.order-form-custom{
    background-image: url("/wp-content/themes/haruco/assets/images/form/bg-form-dm.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 15px 30px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0 !important;
}
.order-form-custom .row-wrapper-full{
    padding: 0px;
}
.order-form-custom .order-form-feature{
    background-color: #FFF5F0;
}
/* Wrapper có khoảng cách giữa các ô */
.row-wrapper-feature {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
    padding: 15px 0 15px 0;
}
.modal-formdatmua .feature-item{
    background: transparent;
    margin-bottom: 25px;
}
.modal-formdatmua .feature-item .item-f{
    /* border: 1px solid;
    border-image-source: linear-gradient(180deg, rgba(255, 252, 249, 0) 9.94%, #FFC480 100%);
    */
    padding: 15px 12px;
    text-align: center;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    background:
            linear-gradient(#FFF5F0, #ffffff) padding-box,
            linear-gradient(to top, #FFC480, #FFFCF9) border-box;
    border: 1px solid transparent;
    border-radius: 20px;
}
.modal-formdatmua .feature-item img {
    margin-bottom: 12px;
}

.modal-formdatmua .feature-item p {
    font-size: 16px;
    margin-bottom: 0;
    color: #000;
    line-height: 1.4;
}
.modal-body-formdatmua .feature-item img{
    width: 60px;
    height: 74px;
}
.feature-item-full.hotline-box-datmua {
    background: linear-gradient(90deg, #F44336 0%, #FF6F00 100%);
    color: white;
    border-radius: 60px 0 60px 0;
    padding: 24px 16px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.feature-item-full.hotline-box-datmua img{
    float: left;
    width: 57px;
    height: 57px;
}
.feature-item-full.hotline-box-datmua .item-bt{
    text-align: left;
    margin-left: 75px;
}
.feature-item-full.hotline-box-datmua .item-bt .item-line-1{

}
.feature-item-full.hotline-box-datmua .item-bt .item-line-2{
    font-size: 24px;
    margin-top: 0;
    font-weight: bold;
}
/* Giao diện form đặt hàng */
.modal-body-formdatmua .cf7-wrapper form.wpcf7-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.modal-body-formdatmua .cf7-wrapper .text-white{
    color: #fff !important;
}
.modal-body-formdatmua .cf7-wrapper p {
    margin: 0;
}
.modal-body-formdatmua .cf7-wrapper {

}

.modal-body-formdatmua .cf7-wrapper p {
    flex: 1 1 calc(50% - 10px);
}

.modal-body-formdatmua .cf7-wrapper p:nth-child(6)  /* Ghi chú */
{
    width: 100%;
}
.modal-body-formdatmua .cf7-wrapper input,
.modal-body-formdatmua .cf7-wrapper textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    color: #000;
}
.modal-body-formdatmua .cf7-wrapper textarea {
    min-height: 100px;
    resize: vertical;
}
.modal-body-formdatmua .box-submit{
    width: 100%;
}
.modal-body-formdatmua .box-submit p{
    width: 293px;
    margin: 0 auto;
}
.modal-body-formdatmua .box-submit p input{

}
.modal-body-formdatmua .box-submit p .wpcf7-spinner{
    display: none !important;
}
.modal-body-formdatmua .cf7-wrapper .btn-datmuangay {
    background: linear-gradient(to right, #FF8F2D, #FF8F2D);
    /* background: #FF8F2D; */
    border: none;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 0;
    border-radius: 6px;
    width: 293px;
    height: 45px;
    cursor: pointer;
    text-transform: uppercase;
}
.modal-body-formdatmua label{
    color: #FFF;
}
.modal-body-formdatmua .cf7-wrapper .wpcf7-submit:hover {
    background: #005f7f;
}
.modal-body-formdatmua .form-group{
    margin-bottom: 8px;
}
/* Xoá viền thừa */
.modal-body-formdatmua .cf7-wrapper > div {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.order-form-attribute .text-white{
    color: #fff !important;
    font-size: 16px;
}
.order-form-attribute  .wpcf7-not-valid-tip-{
    background: #fff;
    color: #dc3232;
    border-radius: 5px;
    margin-top: 1px;
    padding: 2px 5px;
    font-size: 14px;
}
.order-form-attribute  .wpcf7-not-valid-tip{
    color: darkred;
    font-size: 14px;
}
/********** Form dat mua mobile ***********/
@media only screen and (max-width: 768px)
{
    .modal-formdatmua .modal-dialog{
        max-width: 90%;
        margin: 0 auto;
    }
    .order-form-custom {
        background-image: none;
        padding: 0;
    }
    .modal-formdatmua .modal-content{
        padding: 0;
    }
    .modal-formdatmua .modal-content .modal-body{
        padding: 0;
    }
    .modal-formdatmua .order-form-attribute{
        background-image: url("/wp-content/themes/haruco/assets/images/form/bg-form-dm-mobile.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 15px !important;
        border-radius: 20px 20px 0 0;
    }
    .modal-formdatmua .order-form-attribute h3{
        text-align: center;
        font-weight: bold;
        margin: 8px 0;
    }
    .modal-body-formdatmua .cf7-wrapper {

    }
    .modal-body-formdatmua .cf7-wrapper p {
        flex: 1 1 calc(50% - 10px);
    }
    .modal-body-formdatmua .cf7-wrapper p:nth-child(6)  /* Ghi chú */
    {
        width: 100%;
    }
    .modal-body-formdatmua .cf7-wrapper textarea {
        height: 101px;
    }
    .order-form-attribute .wpcf7-not-valid-tip {
        font-size: 13px;
    }
    .feature-item-full.hotline-box-datmua{
        padding: 8px 26px;
    }
    .feature-item-full.hotline-box-datmua .item-bt .item-line-2 {
        font-size: 18px;
    }
    .order-form-custom .order-form-feature{
        border-radius: 0 0 20px 20px;
    }
}
/******* Form dat mua giua bai viet ********/
.form-datmua-giua-post{
    background-image: url("/wp-content/themes/haruco/assets/images/form/bg-form-dm-mobile.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 25px !important;
    border-radius: 20px;
}
.form-datmua-giua-post .wrap_form_in_post{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.form-datmua-giua-post .wrap_form_in_post h3{
    color: #fff;
    text-align: center;
    border-bottom: 1px solid #fff;
}
.form-datmua-giua-post .wrap_form_in_post p{
    flex: 1 1 calc(50% - 10px);
}
.form-datmua-giua-post .wrap_form_in_post label{
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}
.form-datmua-giua-post .wrap_form_in_post input{
    height: 40px;
    border-radius: 8px;
}
.form-datmua-giua-post .wrap_form_in_post .box-submit{
    width: 100%;
}
.form-datmua-giua-post .wrap_form_in_post .box-submit p{
    width: 100%;
    text-align: center;
}
.form-datmua-giua-post .wrap_form_in_post .box-submit .wpcf7-submit{
    width: 200px;
    margin: 0 auto;
    height: 50px;
    background: coral;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
    order-color: #fff;
    color: #FFF;
}
.form-datmua-giua-post .wpcf7-spinner{
    display: none;
}
.main-single-page .wpcf7 {
    border: 2px solid var(--primary-color);
    max-width: 450px;
    margin: auto;
    padding: 15px 45px 0;
    margin-bottom: 30px;
}
.form-datmua-giua-post .wrap_form_in_post input{
    border-color: #fff;
}
.wrap_form_in_post {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.wrap_form_in_post p {
    flex: 1 1 calc(50% - 16px); /* chia 2 cột */
    display: flex;
    flex-direction: column; /* label trên, input dưới */
    margin: 0;
    box-sizing: border-box;
}

.wrap_form_in_post p.full {
    flex: 1 1 100%; /* full chiều ngang */
    text-align: center;
}

.wrap_form_in_post input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 15px;
    box-sizing: border-box;
}
.wrap_form_in_post .wpcf7-not-valid-tip {
    color: beige !important;
}