/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Template: blocksy
Author: CreativeThemes
Author URI: https://creativethemes.com
Description: Blocksy is a fast, modern WordPress theme with advanced WooCommerce support and full compatibility with the block editor.
Tags: accessibility-ready,blog,block-patterns,e-commerce,wide-blocks,block-styles,grid-layout,one-column,two-columns,three-columns,four-columns,right-sidebar,left-sidebar,translation-ready,custom-colors,custom-logo,custom-menu,featured-images,footer-widgets,full-width-template,theme-options,threaded-comments
Version: 2.1.44.1780374002
Updated: 2026-06-02 11:20:02

*/
ul.ct-filter-widget[data-filter-criteria="taxonomy:product_brand"] {
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
	--product-taxonomy-logo-size: unset !important;
}
ul[data-filter-criteria="taxonomy:product_brand"] .ct-media-container {
    width: 100%;
}

.ct-sidebar > div {
	border: 1px solid #e8e8e8;
	padding: 20px;
	border-radius: 5px;
}
li.ct-filter-item {
	margin-bottom: 5px;
}
ul[data-filter-criteria="taxonomy:product_brand"] li {
	margin-bottom: 0;
}
.ct-filter-widget .ct-filter-item-inner a {
	align-items: flex-start !important;
}
.ct-filter-widget .ct-filter-item-inner a .ct-checkbox {
	top: 2px !important;
}
.bottom-content {
	margin: 20px 0;
}
.ct-filter-item-inner a img {
	border: 1px solid #e8e8e8;
}
/* brand product */
.brand-item {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 30px;
	border: 1px solid #e8e8e8;
	padding: 20px;
	border-radius: 5px;
	box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .16);
	transition: background 0.3s, border 0.5s, border-radius 0.5s, box-shadow 0.5s !important;
}
.brand-item:hover {
	box-shadow: 0 30px 40px 0 rgba(0, 0, 0, .2);
}
.brand-image {
	flex-basis: 40%;
	border-radius: 5px;
	overflow: hidden;
}

.brand-content {
	flex-basis: 60%;
}
.brand-des {
	line-height: 1.5;
}
.brand-name {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 10px;
}
/* danh muc san pham lien quan */
.related-product-cats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.related-cat-item {
	text-align: center;
	border: 1px solid #e8e8e8;
	padding: 5px;
}

h3.cat-name {
	font-size: 16px;
	padding: 10px 5px;
}
h2.relate-title {
	margin-top: 20px;
}
.cat-thumbnail .feature {position: relative;overflow: hidden;}
.cat-thumbnail .feature::before {content: "";display: block;padding-top: 75%;}
.cat-thumbnail .feature .image{position: absolute;top: 0;left: 0;bottom: 0;right: 0;margin: auto;background-size: cover;background-position: center;}
/* end danh muc san pham lien quan */

.old-av-one-half {
	width: 100%;
	display: block;
	margin-bottom: 20px;
}
a.tvn-avia-button {
	padding: 15px 30px 13px;
	font-size: 13px;
	min-width: 139px;
	background-color: #EFBB1F;
	color: #fff;
	border-radius: 30px;
	margin: auto;
}

.tvn-avia-button-wrap {
	display: block;
	text-align: center;
	clear: both;
}

a.tvn-avia-button.tvn-avia-button--big {
	width: 100%;
	padding: 20px;
	font-size: 1.5em;
	margin: 0;
	border: 0;
	position: relative;
	display: block;
}
/* css recent post */
.bv-related-posts {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.bv-related-item {
	display: flex;
	gap: 15px;
	text-decoration: none;
	color: inherit;
	align-items: flex-start;
}

.bv-related-thumb img {
	width: 80px;
	border-radius: 3px;
	object-fit: cover;
}

.bv-related-title {
	font-size: 15px;
	line-height: 1.4;
	margin: 0 0 6px;
	font-weight: 600;
}
.bv-related-thumb {
	width: 80px;
	flex-basis: 80px;
}

.bv-related-content {
	flex-basis: calc(100% - 95px);
	width: calc(100% - 95px);
}
.bv-related-date {
	font-size: 14px;
	color: #7a7a7a;
}
.bv-related-content p {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	padding: 0;
	font-size: 14px;
}
/* Nội dung liên quan */
.related-items-widget {
	margin: 0px 0px 20px 0px;
}

.related-items-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.related-item {
	margin-bottom: 12px;
}

.related-item-link {
	display: flex;
	gap: 12px;
	text-decoration: none;
	color: #333;
	transition: color 0.3s ease;
}

.related-item-link:hover {
	color: #0066cc;
}

.related-item-thumbnail {
	flex-shrink: 0;
	width: 80px;
	height: 80px;
	overflow: hidden;
	border-radius: 4px;
	background: #f0f0f0;
}

.related-item-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.related-item-title {
	flex: 1;
	display: flex;
	align-items: center;
	font-size: 14px;
	line-height: 1.4;
}
@media screen and (max-width: 540px) {
	.brand-item {
		display: flex;
		flex-direction: column;
		padding: 10px;
	}
	.brand-name {
		font-size: 18px;
	}
	.related-product-cats {
		grid-template-columns: repeat(2, 1fr);
	}
	h2.relate-title {
		font-size: 20px;
	}
}