/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Mar 13 2026 | 01:53:40 */
/* 	====================
Start - Product item  
==================== */
.hn__product-card__item {
	display: flex;
	flex-direction: column;
	gap: 1.25vw;
}
.hn__product-card__item .product-card__image-wrapper {
	position: relative;
}
.product-card__image-wrapper > a {
    display: flex;
}
.hn__product-card__item .product-card__img {
	margin: 0 !important;
	aspect-ratio: 260/220;
	object-fit: cover;
	width: 100%;
}

.hn__product-card__item .product-card__image-wrapper > *:not(a) {
	position: absolute;
}
.hn__product-card__item span.product-card__badge.product-card__badge--new {
	top: 10px;
	left: 10px;
}
.hn__product-card__item .product-card__wishlist-btn {
	top: 10px;
	right: 10px;
	display: flex;
}
.hn__product-card__item .product-card__wishlist-btn > button {
	border: 0;
	padding: 0;
	outline: 0;
	background-color: unset !important;
}

.hn__product-card__item .product-card__content {
	display: flex;
	flex-direction: column;
	gap: 0.4vw;
}
.hn__product-card__item .product-card__label-pro {
	font-family: Inter;
	font-weight: 500;
	font-size: 0.625vw;
	color: #64748B;
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
}
.hn__product-card__item .hn-tag-item {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
}
.hn__product-card__item .product-card__title {
    padding: 0 !IMPORTANT;
    font-family: "Georama", sans-serif;
    margin: 0 !important;
    font-size: 1vw;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3em;
    height: 2.6em;
}
.hn__product-card__item .product-card__title > a {
	color: var(--text-normal, var(--Foundation-Blue-Dark, #141A5F));
	font-weight: 500;
	letter-spacing: -0.325px;
}
.hn__product-card__item .product-card__rating {
	color: var(--Gold, #C6A75E);
	font-family: var(--Inter, Inter);
	font-size: 0.75vw;
	font-weight: 500;
}
.hn__product-card__item .product-card__price {
	color: var(--text-dark, var(--Foundation-Blue-Darker, #090C2C));
	font-family: var(--Inter, Inter);
	font-size: 1.5vw;
	font-weight: 600;
	letter-spacing: -0.05em;
	display: flex;
	gap: 0.33em;
	align-items: center;
	flex-wrap: wrap;
}
.hn__product-card__item .product-card__price ins {
	order: -1;
	text-decoration: none;
}
.hn__product-card__item .product-card__price > del {
	color: var(--text-light, var(--foundation-blue-light-active, #B2B6DB));
	font-family: var(--Inter, Inter);
	font-size: 0.6em;
	font-weight: 400;
	letter-spacing: -1.2px;
	text-decoration-line: line-through;
}
.hn__product-card__item .product-card__footer {
	display: flex;
	justify-content: space-between;
}
.hn__product-card__item  a.product-card__add-btn {
	display: inline-flex;
	--size: 2.5vw;
	width: var(--size);
	height: var(--size);
	align-items: center;
	justify-content: center;
	background: #0C1039;
	color: #fff;
}
/* Container nút bấm */
.product-card__add-btn {
    position: relative;
    transition: all 0.3s ease;
}

/* Ẩn loader mặc định */
.hn-loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: hn-spin 0.8s linear infinite;
    position: absolute;
}

@keyframes hn-spin {
    to { transform: rotate(360deg); }
}

/* Khi WooCommerce thêm class .loading */
.product-card__add-btn.loading .icon-plus {
    opacity: 0; /* Ẩn icon dấu cộng */
}

.product-card__add-btn.loading .hn-loader {
    display: block; /* Hiện icon xoay */
}

/* Hiệu ứng khi thành công (tùy chọn) */
.product-card__add-btn.added {
    background-color: #28a745; /* Đổi màu nút khi xong */
}
.product-card__footer a.added_to_cart.wc-forward {
    display: none;
}



.wishlist-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

/* Hiệu ứng khi nhấn */
.wishlist-btn:active { transform: scale(0.8); }

/* Điều khiển SVG */
.wishlist-btn .icon-filled { display: none; }
.wishlist-btn .icon-empty { display: block; }

/* Trạng thái Active */
.wishlist-btn.active .icon-empty { display: none; }
.wishlist-btn.active .icon-filled { 
    display: block; 
    animation: heartBeat 0.3s ease;
}

/* Animation cho trái tim khi được thêm */
@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Trạng thái Loading */
.wishlist-btn.loading { opacity: 0.5; cursor: wait; }
@media (max-width: 1280px) {
	.hn__product-card__item {
		gap: 12px;
	}
	.hn__product-card__item .product-card__content {
		gap: 6px;
	}
	.hn__product-card__item .product-card__label-pro {
		font-size: 11px;
	}
	.hn__product-card__item .product-card__title {
		font-size: 14px;
	}
	.hn__product-card__item .product-card__rating {
		font-size: 11px;
	}
	.hn__product-card__item .product-card__price {
		font-size: 20px;
	}
	.hn__product-card__item  a.product-card__add-btn {
		--size: 32px;
	}
}
@media (max-width: 576px) {
	.hn__product-card__item .product-card__label-pro {
    font-size: 10px;
}
	.hn__product-card__item .product-card__price {
		font-size: 15px;
	}
}
/* 	====================
End - Product item  
==================== */


/* ====================
Start - Post item
========================= */
.hn__post-grid article .elementor-post__text {
	display: flex;
	flex-direction: column;
}
.hn__post-grid article .elementor-post__text .elementor-post__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.hn__post-grid article .elementor-post__text .elementor-post__meta-data {
	order: -1;
}
/* ====================
End - Post item
========================= */