/*
Theme Name: Flatsome Child
Theme URI: http://flatsome.uxthemes.com
Template: flatsome
Author: UX-Themes
Author URI: https://uxthemes.com
Description: Multi-Purpose Responsive WooCommerce Theme
Version: 3.18.7.1761020413
Updated: 2025-10-21 11:20:13

*/

.breadcrumbs {
    color: #e22028;
}
.breadcrumb-wrapper {
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
    padding: 12px 20px;
}
.breadcrumb-wrapper a {
    color: #333;
    text-decoration: none;
}
.breadcrumb-wrapper a:hover {
    color: #e22028;
}
.breadcrumb-wrapper .divider {
    color: #000;
}
/* Căn trái toàn bộ phần text */
.product-info-custom {
    text-align: left !important;
}

/* Tên sản phẩm */
.product-info-custom .woocommerce-loop-product__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}
.product-info-custom .woocommerce-loop-product__title a{
	color: #000 !important;
}

/* Sao đánh giá */
.product-info-custom .star-rating {
    margin: 2px 0 4px 0;
}
.product-info-custom .star-rating :before{
	color: #FAAD00 !important;
}
/* Giá cũ và giá khuyến mãi hiển thị tách dòng */
.product-info-custom del,
.product-info-custom ins {
    display: block !important;
    line-height: 1.4;
}

/* Giá cũ */
.product-info-custom del {
    color: #888;
}

/* Giá khuyến mãi */
.product-info-custom ins {
    font-weight: bold;
	font-size: 16px;
}
.product-info-custom ins span{
	color: red;
	font-size: 18px;
}

/* ==== HEADER CART LINK ==== */
.header-cart-link {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	position: relative;
}

.header-cart-title {
	display: flex;
	flex-direction: column;
	font-size: 14px;
	line-height: 1.3;
	color: #333;
}

.header-cart-title .l {
	font-weight: 600;
	text-transform: uppercase;
}

.header-cart-title .qty_sp {
	font-size: 13px;
	color: #777;
}

.custom-dropdown {
	position: relative;
	width: 100%;
	font-size: 14px;
}
.dropdown-selected {
	padding: 10px;
	border-radius: 5px;
	background: #fff;
	cursor: pointer;
	color: #000;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.dropdown-arrow {
	margin-left: 10px;
	font-size: 12px;
}
.dropdown-items {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid rgba(73, 139, 162, 0.3);
	border-radius: 4px;
	box-shadow: 0 0 7px rgba(73, 139, 162, 0.3);
	z-index: 99;
}
.dropdown-item {
	padding: 8px 10px;
	cursor: pointer;
	color: #000;
}
.dropdown-item:hover {
	background: #f0f0f0;
}
.select-hide { display: none; }

.custom-filter-bar {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 10px;
	background: #F0F0F0;
	padding: 15px;
	border-radius: 5px;
	margin-bottom: 25px;
}
.clear-filter-btn {
	background: #000;
	color: #fff;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	border: none;
	transition: 0.2s ease;
	text-transform: none;
	margin-bottom: 0;
}
.clear-filter-btn:hover { background: #444; }
@media(max-width:768px){
	.custom-filter-bar{
		grid-template-columns: auto auto !important;
		grid-gap: 5px;
		padding: 8px 15px;
	}
	.category-row{
		padding: 10px 0;
		overflow: auto;
		display: flex;
		-webkit-box-align: center;
		align-items: flex-start;
		max-width: 100%;
		margin: 0;
		list-style: none;
		grid-gap: unset;
		justify-content: unset;
		scroll-snap-type: x mandatory;
	}
	.category-item{
		width: 16.667% !important;
		max-width: 16.667% !important;
		flex-basis: 16.667% !important;
	}
	.category-link{
		margin: 0 !important;
	}
	.category-link img{
		height: 30px !important;
		width: auto;
	}
	.category-link h4{
		font-size:12px;
	}

}
@media(max-width:480px){
	.category-item{
		width: 25% !important;
		max-width: 25% !important;
		flex-basis: 25% !important;
	}
}	

.category-page-row{
	padding-top: 0;
}
.category-row {
	display: flex;
	text-align: center;
	overflow-x: auto;
	margin-left: -8px;
	margin-right: -8px;
	align-items: flex-start;
	width: 100%;
	flex-wrap: wrap;
}
.category-row form{
	margin-bottom:0;
}
.category-item {
	max-width: calc(100% / 8);
	flex-basis: calc(100% / 8);
	text-align: center;
	width: calc(100% / 8);
	padding: 0 8px 16px;
	font-size: 17px;
	border-radius: 5px;
}
.category-link {
	display: block;
	text-decoration: none;
	color: inherit;
	border-radius: 6px;
	padding: 8px;
	transition: all 0.3s ease;
	background: none;
	border: none;
	cursor: pointer;
	margin: 0 15px;
}
.category-link img {
	width: auto;
	height: auto;
	transition: 0.3s;
}
.category-link:hover img { transform: scale(1.05); }
.category-link:hover .category-title { color: #EA0702; }
.category-title {
	font-size: 15px;
	color: #000;
	font-weight: 400;
	margin-top: 8px;
	text-transform: none;
}
.active-cat .category-title {
	color: #EA0702;
}