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

/*************** ADD CUSTOM CSS HERE.   ***************/
/* ===== WRAPPER MENU ===== */
.header-vertical-menu {
  border-radius: 4px;
}

/* ===== MENU CHA ===== */
.header-vertical-menu > li > a {
  padding: 12px 16px;
  font-weight: 500;
}

/* Active / hover menu cha */
.header-vertical-menu > li:hover > a,
.header-vertical-menu > li.current-menu-item > a {
  background: #f5f7fa;
  color: #f37021;
}

/* ===== CHILD MENU PANEL ===== */
.header-vertical-menu .sub-menu {
  background: #fff;
  min-width: 260px;
  padding: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
  border-radius: 4px;
}

/* ===== ITEM TRONG CHILD MENU ===== */
.header-vertical-menu .sub-menu li a {
  padding: 8px 10px;
  display: block;
  border-radius: 3px;
  color: #333;
  font-weight: 400;
}

/* Hover item con */
.header-vertical-menu .sub-menu li a:hover {
  background: #f37021;
  color: #fff;
  padding-left: 14px;
  transition: all .2s ease;
}

/* ========= ACHIEVEMENT ========= */
.achievement .col-inner .icon-box-img {
	display: flex;
    align-items: center;
}

.achievement .col-inner .icon-inner {
	width: 60px;
    height: 60px;
    box-sizing: border-box;
    background: #3daf2c;
    position: relative;
    padding: 17px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.achievement .col-inner .icon-inner svg {
	padding-top: 0;
}

.achievement .col-inner:hover svg {
    -webkit-animation: toRightFromLeft 0.5s forwards;
    -moz-animation: toRightFromLeft 0.5s forwards;
    animation: toRightFromLeft 0.5s forwards;
}

.header-bottom > .container > .flex-col.flex-left {
  max-width: 300px;
}

.goi-mua-hang {
	align-items: center;
}

.goi-mua-hang.icon-box h3 {
	line-height: 1.2;
	font-size: 14px;
	font-weight: 500;
}

.goi-mua-hang.icon-box h3 a {
	font-size: 24px;
	font-weight: 500;
}

.goi-mua-hang .icon-box-img {
	background-color: var(--primary-color);
	border-radius: 50%;
	width: 48px !important;
	height: 48px;
	display: flex;
	align-items: center;
}

.goi-mua-hang .icon-box-img img {
	padding-top: 0;
	transform: scale(1.3);
}

.header-main > .container .flex-left.hide-for-medium .col.large-12 {
	border-left: 1px solid #dbdbdb;
}

.header-main > .container .logo {
  max-width: 250px;
  flex-basis: 250px;
  margin-right: 55px;
}

#header .nav-uppercase>li>a {
	text-transform: unset;
}

#top-bar .social-icons i {
	min-width: 2em;
	font-size: 16px;
}

.header-button-1 {
	margin-right: 12px !important;
}

.header-button-1 .button {
    line-height: 38px;
    font-size: 18px;
    font-weight: 400;
    text-transform: unset;
    width: auto;
    height: 40px;
    min-height: 0;
    border-radius: 20px;
}

.header-button-2 {
	margin-left: 12px !important;
}

.header-button-2 .button {
    line-height: 38px;
    font-size: 18px;
    font-weight: 400;
    text-transform: unset;
    width: auto;
    height: 40px;
    min-height: 0;
    border-radius: 20px;
	background-color: #14345C !important;
}

.header-search-form-wrapper .searchform .search-field {
	height: 42px;
	line-height: 42px;
	box-shadow: 0 0;
	border: 0;
}

.header-search-form-wrapper .searchform .search_categories {
	height: 42px;
	width: 60px !important;
	line-height: 42px;
	box-shadow: 0 0;
	border: 0;
	background-color: #f1f1f1;
	cursor: pointer;
}

.header-search-form-wrapper .searchform .ux-search-submit {
	height: 42px;
	width: 60px;
	line-height: 42px;
	box-shadow: 0 0;
	border: 0;
	cursor: pointer;
}

.header-bottom > .container > .flex-col.flex-center {
  max-width: 66.6666666667%;
  -ms-flex-preferred-size: 66.6666666667%;
  flex-basis: 66.6666666667%;
}

.header-bottom > .container > .flex-col.flex-center > .nav {
  padding-left: 42px;
	padding-right: 48px;
}

.header-bottom > .container .header-search-form {
	width: 100%;
}

.section-title b {
  opacity: 0;
}

h2.section-title .section-title-main {
  color: var(--primary-color);
  background: url(/wp-content/uploads/2026/01/xenang-tde-nau.png) no-repeat center bottom;
  padding-bottom: 20px;
}

.tieu-chi-section .icon-box {
	border: 1px solid #d9d9d9;
    padding: 5px;
}

.tieu-chi-section .icon-box h3 {
	font-size: 18px;
}

.product-small.box {
	border: 1px solid #d9d9d9;
	border-radius: var(--radius);
	overflow: hidden;
	/*   box-shadow: 0px 3px 4px 0px #bbbbbb; */
	transition: .3s;
	height: 100%;
}

.product-small.box:hover {
	border: 1px solid var(--primary-color);
}

.product-small.box .box-text-products {
	padding: 12px;
}

.product-small.box .woocommerce-loop-product__title {
	font-size: 18px;
	font-weight: 500;
}

.product-small.box .bb-product-action {
	display: flex;
	justify-content: space-between;
	margin-top: 24px;
}

.product-small.box .bb-product-action .button {
	margin: 0;
	border-radius: var(--radius);
	text-transform: unset;
	padding-inline: 24px;
}

.product-small.box .bb-product-action .button.readmore {
	background-color: #fff;
	color: #141414;
	border: 1px solid #bdbdbd;
}

.product-small.box ins > .woocommerce-Price-amount {
	color: #FF3E20;
}

.product-small.box .bb-product-action .added_to_cart.wc-forward {
	display: none;
}

.product-small.box .bb-product-action .add_to_cart_button.added {
	display: inline-block;
}

.product-small.box .woocommerce-LoopProduct-link {
  font-size: 14px;
  margin-bottom: 15px;
}

.section-product .nav {
/* 	border: 1px solid #B9B9B9; */
    max-width: 640px;
    margin: 0 auto;
}

.section-product li.tab {
    margin: 0 5px !important;
    width: calc(calc(100% / 3) - 10px);
    text-align: center;
}

.section-product li.tab.active a {
  background-color: var(--primary-color);
}

.section-product li.tab a {
  display: block;
  width: 100%;
    letter-spacing: .05em;
    color: #434343;
    font-size: 14px;
    padding: 0 15px;
    line-height: 34px;
    font-weight: 300;
  border: 1px solid #ccc;
  border-radius: 20px;
}

.section-product li.tab a:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.section-product li.tab.active a {
  color: #fff;
}

.section-product li.tab > a:before {
  bottom: -2px;
}

.section-product .post-item .post-title {
  font-size: 1.1rem;
}

.section-product .post-item .button {
  background-color: var(--primary-color);
  border-width: 1px;
  padding-inline: 20px;
  font-size: .8rem;
  text-transform: unset;
}

.section-product .post-item .overlay{
  background: linear-gradient(180deg, #E9E9E900, #0072bbbf);
}

span.amount {color: #d9282f;font-size: 14px;font-weight:300}
span.amount a {color: #d9282f;}

.cta-big {
  color: #fff;
  text-align: center;
  padding: 50px 0;
}

.cta-big h2.section-title .section-title-main {
  color: #fff;
}

.cta-big .button {
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  background: #f37021;
  color: #141414 !important;
  margin-right: 0;
  /* Hiệu ứng zoom to nhỏ */
  animation: zoom-sale-btn 1s ease-in-out infinite alternate;
  transition: transform 0.2s;
}

.is-divider {
  display: none;
}

.bb-product-title {
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.bb-product-title h1 {
	margin-bottom: 0;
}

.bb-product-content {
  z-index: 2;
}

.bb-product-content .price {
	display: flex;
    align-items: flex-end;
}

.bb-product-content .price ins {
	order: 1
}

.bb-product-content .price del {
	order: 2;
}

.bb-product-content .price del bdi {
	font-size: 14px;
	color: #5B5B5B;
}

.bb-product-content .price ins bdi,.bb-product-content span.amount {
    font-size: 24px;
    font-weight: 700;
    margin-right: 12px;
}

.product-type-variable .woocommerce-Price-amount bdi {
	font-size: 16px;
    font-weight: 300;
}

.product-type-variable .product-page-price {
	color: #d9282f;
}

.product-type-variable .product-page-price .woocommerce-Price-amount:first-child {
	margin-right: 5px;
}

.product-type-variable .product-page-price .woocommerce-Price-amount:last-child {
	margin-left: 5px;
}

.bb-product-content .info-title {
	border-bottom: 1px solid #BDBDBD;
	padding-bottom: 4px;
}

.bb-product-content .readmore {
	border: solid 1px #0072bb;
	color: #0072bb;
	background-color: #fff !important;
	line-height: 1.5;
	padding-top: 7px;
	padding-bottom: 7px;
	width: 100%;
}

.bb-product-content .cart > span {
	line-height: 35px;
	margin-right: 6px;
}

.bb-product-content .cart .quantity {
	margin-bottom: 12px;
}

.bb-product-content .secondary {
    margin-right: 0;
    font-size: 1.25rem;
    min-height: 0;
    height: 40px;
    text-transform: unset;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding-inline: 0;
    justify-content: center;
}

.bb-product-content .secondary span {
	line-height: 23px;
}

.bb-product-content .benefit .col-inner {
	border: 1px solid #D0D0D0;
}

.bb-product-content .benefit .icon-box {
	padding-inline: 12px;
}

.bb-product-content .benefit h4 {
	margin-bottom: 24px;
}

.bb-product-content .benefit .icon-box-text p {
	font-size: 12px;
}

.bb-product-content .benefit .icon-box-text strong {
	font-size: 16px;
}

.related-products-wrapper .product-section-title {
  display: none;
}

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

/* ========= POPUP FORMS ========= */
.popup-form-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 9999;
	opacity: 0;
	transition: opacity 0.3s ease;
	overflow-y: auto;
}

.popup-form-overlay.active {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
}

.popup-form-container {
	position: relative;
	background: #fff;
	border-radius: 8px;
	padding: 30px;
	max-width: 500px;
	width: 90%;
	margin: 20px auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	transform: scale(0.9);
	transition: transform 0.3s ease;
}

.popup-form-overlay.active .popup-form-container {
	transform: scale(1);
}

.popup-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: transparent;
	border: none;
	font-size: 32px;
	color: #666;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease;
}

.popup-close:hover {
	color: #f37021;
}

.popup-form-container h3 {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 24px;
	font-weight: 600;
	color: #333;
	text-align: center;
}

.form-bao-gia,
.form-tu-van {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.form-bao-gia input[type="text"],
.form-bao-gia input[type="tel"],
.form-bao-gia input[type="email"],
.form-tu-van input[type="text"],
.form-tu-van input[type="tel"] {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.2s ease;
	box-sizing: border-box;
}

.form-tu-van select {
	width: 100%;
	padding: 0px 35px 0px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.2s ease;
	box-sizing: border-box;
}

.form-bao-gia input[type="text"]:focus,
.form-bao-gia input[type="tel"]:focus,
.form-bao-gia input[type="email"]:focus,
.form-tu-van input[type="text"]:focus,
.form-tu-van input[type="tel"]:focus,
.form-tu-van select:focus {
	outline: none;
	border-color: #f37021;
}

.form-bao-gia textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	min-height: 100px;
	resize: vertical;
	transition: border-color 0.2s ease;
	box-sizing: border-box;
	font-family: inherit;
}

.form-bao-gia textarea:focus {
	outline: none;
	border-color: #f37021;
}

.form-bao-gia .btn-primary,
.form-tu-van .btn-primary {
	background-color: #f37021;
	color: #fff;
	border: none;
	padding: 12px 24px;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s ease;
	text-transform: unset;
	width: 100%;
}

.form-bao-gia .btn-primary:hover,
.form-tu-van .btn-primary:hover {
	background-color: #e05f1a;
}

.form-tu-van select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	cursor: pointer;
}

/* Form wrapper cho shortcode */
.lbk-form-wrapper {
	max-width: 600px;
	margin: 0 auto;
}

.lbk-form-wrapper .form-bao-gia,
.lbk-form-wrapper .form-tu-van {
	background: #fff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Honeypot field (ẩn khỏi người dùng) */
.website-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

/* Form message */
.form-message {
	display: none;
	padding: 12px 15px;
	border-radius: 4px;
	font-size: 14px;
	margin-bottom: 10px;
	text-align: center;
}

.form-message.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.form-message.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Loading state */
.form-bao-gia .btn-primary.loading,
.form-tu-van .btn-primary.loading {
	opacity: 0.7;
	cursor: not-allowed;
	pointer-events: none;
}

.form-bao-gia .btn-primary:disabled,
.form-tu-van .btn-primary:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.btn-loading {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

/* Spinner */
.spinner {
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.product_list_widget .woocommerce-Price-amount {
  display: none;
}

.shop-page-title.category-page-title.page-title {
  display: none;
}

.cta-big label {
    display: none;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.popup-form-container {
		padding: 20px;
		margin: 10px;
		width: calc(100% - 20px);
	}

	.popup-form-container h3 {
		font-size: 20px;
		margin-bottom: 15px;
	}

	.popup-close {
		top: 10px;
		right: 10px;
		font-size: 28px;
	}

}

/* ========= KEYFRAMES ========= */
@keyframes toRightFromLeft {
	49% {
		transform:translate(100%);
	}
	50% {
		opacity:0;
		transform:translate(-100%);
	}
	51% {
		opacity:1;
	}
}

@keyframes zoom-sale-btn {
  0% {
    transform: scale(1);
  }
  60% {
    transform: scale(1.13);
  }
  100% {
    transform: scale(1);
  }
}

/* ========= FIXED BUTTON FORM BAO GIA ========= */
.formBaoGia {
	transition: all 0.3s ease;
}

.formBaoGia.is-fixed {
	position: fixed;
	bottom: 20px;
	right: 70px;
	z-index: 9998;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	animation: slideUpFade 0.3s ease;
  width: fit-content;
}

@keyframes slideUpFade {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive cho fixed button */
@media only screen and (max-width: 48em) {
	.formBaoGia.is-fixed {
    bottom: 54px;
    right: 0px;
  }
}

/* ========= SHOP SIDEBAR ========= */
#shop-sidebar{
	padding: 0;
}

#shop-sidebar .widget {
	margin-bottom: 30px;
	background: #fff;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Widget Title */
#shop-sidebar .widget-title.shop-sidebar,
#secondary .widget-title {
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	color: #333;
	display: inline-block;
	padding-bottom: 10px;
	border-bottom: 2px solid #f37021;
	letter-spacing: 0.5px;
}

/* Product Categories */
#shop-sidebar .product-categories {
	list-style: none;
	padding: 0;
	margin: 0;
}

#shop-sidebar .product-categories > li {
	margin: 0;
	border-bottom: 1px solid #e5e5e5;
}

#shop-sidebar .product-categories > li:last-child {
	border-bottom: none;
}

#shop-sidebar .product-categories > li > a {
	display: block;
	padding: 12px 0;
	color: #333;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s ease, padding-left 0.2s ease;
	position: relative;
}

#shop-sidebar .product-categories > li > a:hover {
	color: #f37021;
	padding-left: 8px;
}

/* Category với children */
#shop-sidebar .product-categories > li.cat-parent {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#shop-sidebar .product-categories > li.cat-parent > a {
	flex: 1;
	padding-right: 10px;
}

#shop-sidebar .product-categories .toggle {
	background: transparent;
	border: none;
	padding: 8px;
	cursor: pointer;
	color: #666;
	transition: color 0.2s ease, transform 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 1;
}

#shop-sidebar .product-categories .toggle:hover {
	color: #f37021;
}

#shop-sidebar .product-categories .toggle i {
	font-size: 14px;
	transition: transform 0.2s ease;
}

#shop-sidebar .product-categories > li.cat-parent[aria-expanded="true"] .toggle i {
	transform: rotate(180deg);
}

/* Children (Sub-categories) */
#shop-sidebar .product-categories .children {
	list-style: none;
	padding: 0;
	margin: 0;
	padding-left: 20px;
	display: none;
	background-color: #f9f9f9;
	margin-top: 0;
	padding-top: 8px;
	padding-bottom: 8px;
}

#shop-sidebar .product-categories > li.cat-parent[aria-expanded="true"] .children {
	display: block;
}

#shop-sidebar .product-categories .children li {
	border-bottom: 1px solid #e5e5e5;
	margin: 0;
}

#shop-sidebar .product-categories .children li:last-child {
	border-bottom: none;
}

#shop-sidebar .product-categories .children a {
	display: block;
	padding: 8px 0;
	color: #666;
	text-decoration: none;
	font-size: 13px;
	transition: color 0.2s ease, padding-left 0.2s ease;
	position: relative;
}

#shop-sidebar .product-categories .children a:hover {
	color: #f37021;
	padding-left: 8px;
}

#shop-sidebar .product-categories .children a::before {
	content: "→";
	margin-right: 8px;
	color: #999;
	font-size: 12px;
	transition: color 0.2s ease;
}

#shop-sidebar .product-categories .children a:hover::before {
	color: #f37021;
}

/* Responsive cho sidebar */
@media only screen and (max-width: 48em) {
	#shop-sidebar .widget {
		padding: 15px;
		margin-bottom: 20px;
	}
	
	#shop-sidebar .widget-title.shop-sidebar {
		font-size: 14px;
	}
}

/* ========= FORM CONTACT LAYOUT ========= */
.form-contact-wrapper {
	max-width: 100%;
}

.form-contact-layout {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.form-contact-layout .form-row {
	display: flex;
	gap: 20px;
	width: 100%;
}

.form-contact-layout .form-col {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.form-contact-layout .form-col label {
	font-size: 14px;
	font-weight: 500;
	color: #333;
	margin-bottom: 8px;
}

.form-contact-layout .form-col input[type="text"],
.form-contact-layout .form-col input[type="tel"],
.form-contact-layout .form-col input[type="email"],
.form-contact-layout .form-col textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.2s ease;
	box-sizing: border-box;
	font-family: inherit;
}

.form-contact-layout .form-col input[type="text"]:focus,
.form-contact-layout .form-col input[type="tel"]:focus,
.form-contact-layout .form-col input[type="email"]:focus,
.form-contact-layout .form-col textarea:focus {
	outline: none;
	border-color: #f37021;
}

.form-contact-layout .form-col textarea {
	min-height: 100px;
	resize: vertical;
}

.form-contact-layout .btn-primary {
	background-color: #008080;
	color: #fff;
	border: none;
	padding: 14px 30px;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease;
	width: auto;
	align-self: flex-start;
	letter-spacing: 0.5px;
}

.form-contact-layout .btn-primary:hover {
	background-color: #006666;
}

.form-contact-layout .form-message {
	margin-top: 0;
}

/* Responsive cho form contact layout */
@media only screen and (max-width: 48em) {
	.form-contact-layout .form-row {
		flex-direction: column;
		gap: 15px;
	}
	
	.form-contact-layout .btn-primary {
		width: 100%;
	}
}

/* Fix icon menu Customizer */
#customize-theme-controls .accordion-section-title:before {
    font-family: dashicons !important;
    font-size: 18px;
    line-height: 1;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    text-align: center;
    vertical-align: middle;
}