/*
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.   ***************/

.price-wrapper a.button {
	width: 80%;
}

ul.product_list_widget li a.button {
	line-height: 32px;
	color: white;
}

.product-home {
	border-radius: 8px;
}

.product-home .col-inner {
	border-radius: 8px;
}

.product-home .box-image {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.product-home .add-to-cart-button a {
	border-radius: 8px;
}

.product-home .add-to-cart-button:hover a {
	transform: scale(1.1);
}

.product-home .box-text.text-center {
	border-radius: 8px;
}

.product-title a {
	font-weight: 500;
	text-transform: capitalize;
}

.title-product .section-title-normal {
	border-bottom: none;
}

.title-product .section-title-normal span {
	border-bottom: 3px solid var(--fs-color-secondary);
}

.title-product a {
	font-size: 0.72em;
}

.social-icons {
	margin: 1em 0;
}

.social-icons a {
	margin: 0;
}

.product-small .col-inner {
	border-radius: 8px;
}

.product-small .col-inner .product-small {
	border-radius: 8px;
}

.product-small .box-image {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.product-small .add-to-cart-button a {
	border-radius: 8px;
}

.product-small .add-to-cart-button:hover a {
	transform: scale(1.1);
}

.section-title {
	b {
		opacity: 0;
	}

	.section-title-main {
		font-weight: 700;
		color: #83d756 !important;
	}
}

.form-lien-he {
	.giftcode {
		margin-bottom: 15px;
	}

	input,
	select {
		height: 48px;
		padding: 0 16px;
		border-radius: 12px;
		border: 1px solid #e5e7eb;
		background: #fff;
		font-size: 14px;
		color: #111827;
		transition: all 0.25s ease;
	}
}

.wpcf7-form-control-wrap {

	.wpcf7-form-control {
		height: 48px;
		padding: 8px 16px;
		border-radius: 12px;
		border: 1px solid #e5e7eb;
		background: #fff;
		font-size: 14px;
		color: #111827;
		transition: all 0.25s ease;
		box-shadow: none;
	}
}

.wpcf7-submit {
	background-color: var(--fs-color-primary);
	color: #fff;
	border-radius: 8px !important;
	overflow: hidden;
}

.widget_product_categories,
.widget_price_filter,
.widget_recently_viewed_products,
.widget_products {
	/* padding: 10px; */
	border-radius: 5px;
	border: 1px solid #eee;

	.is-divider {
		display: none;
	}

	.widget-title {
		font-size: 14px;
		text-transform: uppercase;
		font-weight: bold;
		padding-bottom: 15px;
		padding-top: 15px;
		background: var(--fs-color-primary);
		color: #fff;
		padding-left: 10px;
		line-height: 1;
		border-radius: 5px 5px 0px 0px;
		display: flex;
	}

	.product-categories {
		padding: 15px;
	}

	.price_slider_wrapper {
		padding: 30px 15px;
	}

	.product_list_widget {
		padding: 15px;

		img {
			border-radius: 4px;
			overflow: hidden;
		}
	}
}

.post-item {
	.col-inner {
		border-radius: 8px;
		/* overflow: hidden; */
	}

	.box-image {
		img {
			border-radius: 8px;
			overflow: hidden;
		}
	}
}

.custom-blog-home {
	.post-item {
		.col-inner {
			overflow: hidden;
		}
	}
}

.bai-viet-lien-quan {
	h3 {
		text-transform: uppercase;
	}

	.list-bai-viet {
		display: flex;
		list-style: none;
		gap: 10px;

		li {
			box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
			border-radius: 8px;
			overflow: hidden;

			.box-image {
				a {
					padding: 0;
				}
			}

			a {
				padding: 15px;
				display: block;
			}
		}
	}
}

.entry-divider {
	display: none;
}

.product-small {
	.woocommerce-LoopProduct-link {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		/* Giới hạn tối đa 2 dòng */
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
		/* Hiện dấu ... nếu vượt quá */
		white-space: normal;
		/* Cho phép xuống dòng */
		height: 40px;
	}
}
.woocommerce-billing-fields__field-wrapper {
	.form-row-first {
		width: 100%;
	}
}

@media only screen and (max-width: 48em) {
	/*************** ADD MOBILE ONLY CSS HERE  ***************/


}