/*
Theme Name: BSHQ Flatsome Child V5.6.1 Balanced Doctor Photo
Theme URI: https://bshoangquan.com
Template: flatsome
Author: ThS. BS Hoàng Quân
Description: BSHQ brand-unified layout system on top of Flatsome. Controlled header/footer, typography, colors and page templates.
Version: 5.6.1
*/

/* CSS cũ từ child theme hiện tại được giữ lại bên dưới để tránh mất style cũ. */


@media(max-width:767px){
	.loop_product .btn_buy{
		font-size:11px !important;
	}
	.child-category-item .child-title{
		font-size:15px !important;
	}
	.main_post .content h1 {
		font-size: 26px !important;
	}
}
@media(min-width:1024px){
	.child-category-item .child-thumb img {
		min-height: 211px;
	}
	.post-sidebar .sidebar_dmuc,
	.main_post .content{
		padding: 24px !important;
	}
}
.sec_banner .button span {
    font-size: 15px;
}

.title-text h2,
.title-text h3 {
    font-size: 22px;
    /* font-weight: 400; */
    margin-top: 0px;
    color: #5d6532;
    position: relative;
    padding-bottom: 15px;
    padding-top: 15px;
    margin-bottom: 20px;
    text-transform: uppercase;
    /* padding-left: 45px; */
    border-bottom: 3px solid #ddd;
    background-position: center left;
}

.title-text h2:before,
.title-text h3:before {
    position: absolute;
    content: "";
    background: #5d6532;
    height: 3px;
    width: 100px;
    left: 0px;
    bottom: -3px;
}

/* Homepage */
.text_gioithieu {
    padding: 15px;
    background: #5d6532;
    color: #fff;
    border-radius: 10px;
}

.row_dieutri .icon-box {
    border: 1px solid #d8e788;
    border-radius: 15px;
    padding: 15px 15px 5px;
    min-height: 310px;
    background: #f5f9de;
}

.testimonial-box {
    border-radius: 13px;
    padding: 30px 20px;
    background: #fbfbfb;
    /* box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; */
}

.testimonial-text p {
    font-size: 15px;
}

.star-rating span:before {
    color: #d1a537;
}

.row_feedback .flickity-page-dots {
    bottom: -15px !important;
}


.row_dieutri h3 {
    font-size: 1.2rem;
    color: #000;
    line-height: 28px;
}

.icb_qtrinh {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    min-height: 362px;
    box-shadow: rgb(240 255 157 / 25%) 0px 8px 24px;
}

.icb_qtrinh h3 {
    border-bottom: 1px dashed;
    padding-bottom: 10px;
    margin-bottom: 20px;
    min-height: 69px;
}

.post_home .box {
    border: 1px solid #e3e3e3;
}

.post_home .box .box-text {
    padding: 13px;
}

.absolute-footer,
.from_the_blog_comments {
    display: none;
}

.sec_footer {
    border-top: 1px solid #e3e3e3;

}

.post_home .post-item {
    padding-bottom: 0 !important;
}

.social-icons a {
    margin-right: 10px !important;
}

/* --------TÀI LIỆU & KHÓA HỌC ---------- */
.box_tailieu {
    border: 1px solid #eee;
    border-radius: 4px;
}

.btn_download {
    border-radius: 4px;
}

/* Chứng chỉ - Hồ sơ khoa học */
.box_chungchi .box-text {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 4px;
}

.box_chungchi img {
    min-height: 280px;
    max-height: 280px;
    object-fit: cover;
    border-radius: 4px;
}

.wpcf7-form .wpcf7-form-control-wrap input,
.wpcf7-form .wpcf7-form-control-wrap textarea {
    box-shadow: none;
    border-radius: 4px;
}

.wpcf7-form .wpcf7-form-control-wrap input {
    min-height: 44px;
}

.wpcf7-form .wpcf7-form-control-wrap textarea {
    min-height: 180px;
}

.wpcf7-submit {
    border-radius: 4px !important;
}

.post_border .box {
    border: 1px solid #eee;
    border-radius: 4px;
}

.post_border .box-text {
    padding: 13px;
}

.post-item .is-divider {
    display: none;
}

.post_border h5 {
    color: var(--fs-color-primary);
    margin-bottom: 13px;
}

/* ------------ sản phẩm-------------- */
.product_archive header {
    background: var(--fs-color-primary);
    padding: 30px 0;
    margin-bottom: 30px;
}

.product_archive.single header {
    margin-bottom: 50px !important;
}

.rank-math-breadcrumb p {
    margin-bottom: 0 !important;
}

.product_archive header .rank-math-breadcrumb a,
.product_archive header .rank-math-breadcrumb p,
.sec_bread .rank-math-breadcrumb a,
.sec_bread .rank-math-breadcrumb p {
    color: #fff;
}

.loop_product .box {
    border: 1px solid #eee;
    border-radius: 13px;
}

.loop_product .box-text {
    padding: 13px;
    text-align: center;
}

.loop_product .excerpt {
    margin-bottom: 12px;
}

.loop_product .btn_buy {
    padding: 15px 16px;
    border-radius: 4px;
    background: var(--fs-color-primary);
    color: #fff;
    width: 100%;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
}

.loop_product .box-image img {
    border-radius: 13px;
}

.loop_product .title_product {
    min-height: 52px;
    margin-bottom: 8px;
}

/* aside */
.widget_sidebar, .widget_product_categories{
    background: #fff;
    border: 1px solid #dfdfdf;
    border-radius: 4px;
}

.shop-title-page {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 15px;
}

span.widget-title {
    font-size: 16px;
    margin-bottom: 16px;
    display: inline-block;
    background: var(--fs-color-primary);
    width: 100%;
    color: #fff;
    padding: 13px;
}

.san-pham-categories {
    list-style: none;
    padding: 0 13px;
}

.san-pham-categories li {
    font-size: 14px;
    display: block;
    line-height: 18px;
    padding: 10px 0px;
}

.san-pham-categories li:not(:last-child) {
    border-bottom: 1px dashed #cdcdcd;
}


.widget_categories ul li,
.widget_product_categories ul li {
    background-image: url('http://localhost/hoangquan/wp-content/uploads/2025/12/arrow-next-small-svgrepo-com-1.svg');
    background-size: 17px;
    background-repeat: no-repeat;
    background-position-y: center;
    padding-left: 10px !important;
}

.widget_product_categories ul li {
    padding-left: 20px !important;
    margin-left: 0 !important;
}

/* ---------single sản phẩm -------- */
.nlw_ga_da .image_da_feat img {
    width: 100%;
    height: 510px;
    object-fit: cover;
    border-radius: 10px;
}

.nlw_ga_da.product .image_da_feat img {
    max-height: 290px;
    border: 1px solid #eee;
    object-fit: cover;
}

.nlw_ga_da.product .thumb_da {
    margin-top: 15px;
}

.nlw_ga_da .thumb_da {
    margin-top: 30px;
    display: flex;
    gap: 13px;
    justify-content: flex-start;
}

.nlw_ga_da .thumb_da img {
    cursor: pointer;
    border-radius: 6px;
    max-height: 80px;
    border: 1px solid #eee;
}

.btn-shopee,
.btn-tiktok {
    padding: 14px 26px;
    display: inline-block;
    border-radius: 30px;
    color: #fff;
    font-weight: 600;
    min-width: 230px;
}

.btn-shopee:hover,
.btn-tiktok:hover {
    color: #fff;
}

.btn-shopee {
    background: #EE4C2D;
    margin-bottom: 10px;
}

.btn-tiktok {
    background: #000000;
}

/* Blog archive - single blog */
.archive-page-header {
    text-align: left;
}

.search_archive {
    margin-bottom: 30px;
}

.search-field {
    box-shadow: none !important;
    border-top-left-radius: 4px !important;
    min-height: 44px !important;
    border-bottom-left-radius: 4px !important;
    box-shadow: none !important;
}

.ux-search-submit {
    height: 44px;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}

#post-list .box {
    border: 1px solid #eee;
    border-radius: 4px;
}

#post-list .box img {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

#post-list .box .box-text {
    padding: 13px;
}

.archive-page-header {
    background: var(--fs-color-primary);
    padding-top: 30px;
    margin-bottom: 30px;
}

.archive-page-header h1 {
    color: #fff;
}

.post-meta-after {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 13px;
}


.post-meta-after .post-date {
    font-size: 14px;
    color: #999999;
}

.post-meta-after .post-date i {
    margin-right: 4px;
}

.btn-view-detail {
    font-size: 14px;
    padding: 12px 16px;
    border: 1px solid var(--fs-color-primary);
    color: var(--fs-color-primary);
    border-radius: 4px;
}

#post-list .post-item .from_the_blog_excerpt {
    color: #999999;
}

#post-list .post-item h5 {
    margin-bottom: 10px;
    font-size: 17px;
}

/* Blog single */
.main_post {
    background: #fbfbfb !important;
}

.post-sidebar .sidebar_dmuc,
.main_post .content {
    background-color: #fff;
    border-radius: 4px;
}

.main_post .content h1 {
    font-size: 33px;
    color: #000;
}

.main_post .content .date {
    color: #999999;
    font-size: 16px;
}

.content_inner {
    margin-top: 20px;
}

.title_sidebar {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-categories,
.tag-list,
.related-list {
    list-style: none;
    padding: 13px;
}

.widget_sidebar {
    margin-bottom: 15px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list a {
    border: 1px solid var(--fs-color-primary);
    color: var(--fs-color-primary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 15px;
}

.tag-list a:hover {
    background: var(--fs-color-primary);
    color: #fff;
}

.related-list img {
    width: 80px;
    border-radius: 4px;
    min-width: 80px;
}

.related-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-list a.related-title {
    font-size: 13px;
    line-height: 18px;
}

.post-item .title_product {
    font-size: 16px;
    color: #000;
}

/* Fixed float contact */
.float-contact {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99999;
}

.chat-zalo {
    background: #f58620;
    border-radius: 20px;
    padding: 0 18px;
    color: white;
    display: block;
    margin-bottom: 6px;
}

.chat-face {
    background: #125c9e;
    border-radius: 20px;
    padding: 0 18px;
    color: white;
    display: block;
    margin-bottom: 6px;
}

.float-contact .hotline {
    background: #e82829 !important;
    border-radius: 20px;
    padding: 0 18px;
    color: white;
    display: block;
    margin-bottom: 6px;
}

.chat-zalo a,
.chat-face a,
.hotline a {
    font-size: 15px;
    color: white;
    font-weight: 400;
    text-transform: none;
    line-height: 0;
}

/* -------------------CATEGORY-PAGE------------- */
.category-page-header {
    background: var(--fs-color-primary);
}

.category-page-header h1 {
    color: #fff;
}

.category-page {
    padding: 50px 0;
}

.child-category-item,
.post-list article {
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s;
}

.post-list article .box-text {
    padding-bottom: 13px !important;
}

.child-category-item .box-text,
.post-list article .box-text {
    padding: 0 13px;
}



.child-category-item .child-title {
    min-height: 47px;
}

/* single post aside category */
.blog-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-categories .cat-item {
    position: relative;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.blog-categories .cat-item:last-child {
    border-bottom: 0 !important;
}

.blog-categories .cat-item a {
    text-decoration: none;
    color: #333;
    display: inline-block;
	max-width:85%;
}

.blog-categories .cat-item a:hover {
    color: #007bff;
}

.blog-categories .cat-parent {
    position: relative;
}

.blog-categories .toggle-submenu {
    position: absolute;
    right: 0;
    top: 3px;
    cursor: pointer;
    padding: 5px 10px;
    transition: transform 0.3s ease;
}

.blog-categories .toggle-submenu:hover {
    color: #007bff;
}

.blog-categories .toggle-submenu.active {
    transform: rotate(180deg);
}

.blog-categories .children {
    list-style: none;
    padding-left: 10px;
    margin: 10px 0 0 0;
    display: none;
}

.blog-categories .children.show {
    display: block;
}

.blog-categories .children .cat-item {
    border-bottom: none;
    padding: 5px 0;
    margin: 0;
}

.blog-categories .children .cat-item a {
    font-size: 14px;
    color: #666;
}

.blog-categories .children .cat-item a:before {
    content: "→";
    margin-right: 5px;
}

.blog-categories {
    padding-left: 20px;
}

/*  */
.tocer-toc {
    border: 0 !important;
    border-radius: 4px !important;
    padding: 10px !important;
}

.tocer .tocer-header {
    flex-wrap: nowrap !important;
}

h2.tocer-title {
    font-weight: 700 !important;
    font-size: 22px !important;
}

.btn_tailieu {
    background: #D4AF37 !important;
}

.btn_zalodatlich {
    background: #C97A2B !important;
}
#content.product_archive{
    padding-top: 0 !important;
}
/* single */
.sec_relate {
    padding-top: 0 !important;
}

.row.related-posts {
    background: #fff !important;
    border-radius: 8px;
    padding: 20px 10px;
}

.related-posts article {
    border: 1px solid #f7f7f7;
    border-radius: 8px;
    transition: all 0.3s;
    margin-bottom: 0 !important;
}

.related-posts article .box-text {
    padding: 13px;
}
.box_feedback{
	border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s;
}
.box_feedback .box-text{
	padding:13px;
}
.box_feedback img{
	border-top-left-radius:8px;
	border-top-right-radius:8px;
}
.box_feedback .star-rating{
	margin: 10px 0;
}

/* contact button */
/* ----- Box contact footer------- */
#support ul li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#support a, #support span {
    text-decoration: none;
    color: #333;
	font-weight:700;
}
#support li:hover{
	background:transparent !important;
}
/* Icon Footer */
#support {
    position: fixed;
    right: 10px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    z-index: 99999;
}
.wave {
    animation-name: wave;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }
   
@keyframes wave {
	0% {
		box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.8);
	}
	100% {
		box-shadow: 0 0 14px 16px rgba(220, 38, 38, 0);
	}
}
#iconChat {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: red;
    cursor: pointer;
    border-radius: 99px;
    overflow: hidden;
    box-shadow: 0 0 10px rgb(145 0 0);
}
 
#iconChat:before {
    content: "\f1d8";
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    text-align: center;
    width: 40px;
    height: 40px;
    line-height: 40px;
    top: 10px;
    left: 10px;
    color: red;
    background: #fff;
    border-radius: 99px;
}
 
 
/* Style Option Tab */
 
#option {
    background: center no-repeat #FFF;
    box-shadow: 0 10px 20px rgba(13,38,76,.19);
    width: 300px;
    position: absolute;
    bottom: 60px;
    right: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    padding: 4px 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 7px;
    -webkit-transform-origin: 80% 105%;
    -ms-transform-origin: 80% 105%;
    transform-origin: 80% 105%;
    -webkit-transition: ease-out .12s all;
    -o-transition: ease-out .12s all;
    transition: ease-out .12s all;
    z-index: 10000;
    display: none
}
 
#option:before {
    content: "";
    position: absolute;
    bottom: -7px;
    right: 25px;
    left: auto;
    display: inline-block!important;
    border-right: 10px solid transparent;
    border-top: 10px solid #FFF;
    border-left: 10px solid transparent;
}
 
#option li {
    width: 100%;
}
 
#option li a, #option li button {
    display: inline-block;
    padding: 8px 10px;
    cursor: pointer;
    border:0;
    background:transparent;
}
 #option li button svg {
    width: 21px;
 }
#option li:hover {
    background: #900000;
}
 
#option li a i, .f-svg{
    display: inline-flex;
	align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    line-height: 45px;
    background: #189eff;
    text-align: center;
    border-radius: 99px;
    color: #fff;
    margin-right: 8px;
}
#option li a svg{
    width: 22px;
    color: #ffffff;
    margin-right: 8px;
    margin-left: 6px;
}
 
/* Background Icon */
 
#option li a i.fa-facebook-messenger {
    background: #0078FF;
}
 
#option li a i.fa-phone {
    background: #4EB625;
}
 
#option li a i.fa-code {
    background: #000;
}
 
#option li a i.fa-eye {
    background: #FF643A;
}

/* BSHQ V3 loads main layout from /assets/css/bshq-system.css */
