/* 1. Thiết lập khung thẻ sản phẩm (Card) */
.product-small.box {
	background-color: var(--color-white);
	border: 1px solid #1c1c1c;
	border-radius: 20px;
	padding: 0 !important;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hiệu ứng Hover */
.product-small.box:hover {
	border: 1px solid var(--color-main);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* 2. Định dạng hình ảnh dính sát viền */
.product-small .box-image {
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
}

.product-small .box-image img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	display: block;
	border-radius: 0 !important;
}

/* 3. Phần văn bản (Thêm padding ở đây để tạo khoảng cách với viền) */
.product-small .box-text-products {
	padding: 10px 10px 15px 15px !important;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

/* Tiêu đề sản phẩm */
.product-small .product-title {
	margin: 4px 0 !important;
	line-height: 1.4;
}

.product-small .product-title a {
	color: var(--color-main) !important;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	min-height: 2.6em;
}

.products_info .location_text {
	color: #6092d0c2;
	font-size: 12px;
}

/* 5. Nút Xem thông tin (View Profile) */
.product-small .button_bottom {
	margin-top: 10px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.product-small .btn-view-profile {
	background: var(--color-white);
	color: var(--color-main) !important;
	border: 1px solid var(--color-main);
	border-radius: 20px;
	padding: 10px 24px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	display: inline-block;
	transition: background-color 0.2s, color 0.2s;
}

.product-small .btn-view-profile:hover {
	background: var(--color-phu);
	color: var(--color-white) !important;
}

/* Ẩn bớt các phần giá gốc/khuyến mãi mặc định */
.product-small .price-wrapper, .pt-half {
	display: none; 
}

.product-section {
	border-top: none !important;
}

.related .specialty-tag {
	font-size: 10px;
}