/* 0. Đồng bộ nền lưới Blueprint toàn site (Trang chủ, Danh sách sản phẩm, Chi tiết sản phẩm) */
body {
	background-color: #f8fafc !important;
	background-image:
		linear-gradient(to right, rgba(148, 163, 184, 0.13) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(148, 163, 184, 0.13) 1px, transparent 1px);
	background-size: 26px 26px;
}

.wolf-breadcrumb {
	background-color: transparent !important;
}

.wolf-collections-page .wolf-sort-and-filter {
	background-color: rgba(255, 255, 255, 0.92);
	border: 1px solid #e2e8f0;
	border-radius: 12px !important;
	padding: 10px 14px;
}

/* 1. Màu nền hài hòa cho khối sản phẩm trang chủ (đồng bộ tông #090d19 & #23a9e1 của RETOSTORE) */
.wolf-products-block-1 .wolf-products-block-best-sale {
	background: linear-gradient(135deg, #0b1324 0%, #122643 60%, #163a5c 100%) !important;
	box-shadow: 0 10px 28px rgba(9, 13, 25, 0.14);
}

.wolf-products-block-1 .wolf-products-block-best-sale .wolf-title a {
	color: #ffffff;
}

.wolf-products-block-1 .wolf-products-block-best-sale .wolf-products-block-view-more .wolf-button {
	background-color: #23a9e1;
	border-color: #23a9e1;
	color: #ffffff;
	font-weight: 700;
}

.wolf-products-block-1 .wolf-products-block-best-sale .wolf-products-block-view-more .wolf-button:hover,
.wolf-products-block-1 .wolf-products-block-best-sale .wolf-products-block-view-more .wolf-button:focus {
	background-color: #1994c7;
	border-color: #1994c7;
	color: #ffffff;
}

.wolf-products-block-bestsale-banner img {
	border-radius: 0.75rem;
}

/* 2. Sửa tràn / cắt giá & nút Thêm vào giỏ + Mua ngay gọn đẹp trên PC & Mobile */
.wolf-product-item-card .wolf-product-box-price {
	flex-wrap: wrap;
	row-gap: 2px;
	column-gap: 6px;
}

.wolf-product-item-card .wolf-product-box-price .regular-price,
.wolf-product-item-card .wolf-product-box-price del {
	white-space: nowrap;
}

.wolf-product-item-card .wolf-product-action {
	width: 100%;
	flex-wrap: nowrap;
}

.wolf-product-item-card .wolf-product-action .btn-wolf-cart {
	width: 38px;
	min-width: 38px;
	height: 36px;
	padding: 0 !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 6px;
	background-color: #f8fafc !important;
	color: #090d19 !important;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.wolf-product-item-card .wolf-product-action .btn-wolf-cart:hover {
	background-color: #e2e8f0 !important;
	border-color: #94a3b8 !important;
	color: #090d19 !important;
}

.wolf-product-item-card .wolf-product-action .btn-wolf-cart svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.wolf-product-item-card .wolf-product-action .btn-wolf-cart .spinner-border {
	width: 16px !important;
	height: 16px !important;
}

.wolf-product-item-card .wolf-product-action .btn-wolf-buynow {
	height: 36px;
	font-size: 13px;
	font-weight: 700;
	padding: 0 12px;
	border-radius: 6px;
	background-color: #090d19;
	border: 1px solid #090d19;
	color: #ffffff;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.wolf-product-item-card .wolf-product-action .btn-wolf-buynow:hover,
.wolf-product-item-card .wolf-product-action .btn-wolf-buynow:focus {
	background-color: #23a9e1;
	border-color: #23a9e1;
	color: #ffffff;
}

@media (max-width: 575.98px) {
	.wolf-product-item-card .wolf-product-box-price .regular-price {
		font-size: 14.5px;
		font-weight: 700;
	}

	.wolf-product-item-card .wolf-product-box-price del {
		font-size: 12px;
	}

	.wolf-product-item-card .wolf-product-action .btn-wolf-cart {
		width: 34px;
		min-width: 34px;
		height: 34px;
	}

	.wolf-product-item-card .wolf-product-action .btn-wolf-cart svg {
		width: 16px;
		height: 16px;
	}

	.wolf-product-item-card .wolf-product-action .btn-wolf-buynow {
		height: 34px;
		font-size: 12px;
		padding: 0 10px;
	}
}

/* 3. Khung ảnh chính trang chi tiết sản phẩm luôn giữ tỉ lệ 1:1 trên cả Desktop & Mobile */
.wolf-product-images .product-image-block .gallery-top a.swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.wolf-product-images .product-image-block .gallery-top a.swiper-slide img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.wolf-product-images .product-image-block .gallery-top .video-slide {
	position: relative;
	width: 100%;
	padding-bottom: 0 !important;
	aspect-ratio: 1 / 1;
}

.wolf-product-images .product-image-block .gallery-top .video-slide iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* 3. Tag Đã bán trên thẻ sản phẩm & trang chi tiết */
.wolf-sold-tag-wrap {
	display: flex;
	align-items: center;
}

.wolf-sold-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 9px;
	border-radius: 999px;
	background-color: #f0f9ff;
	border: 1px solid #bae6fd;
	color: #0369a1;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
	white-space: nowrap;
}

.wolf-sold-tag__icon {
	flex-shrink: 0;
	color: #23a9e1;
}

.wolf-sold-tag__text strong {
	font-weight: 700;
	color: #090d19;
}

@media (max-width: 575.98px) {
	.wolf-sold-tag {
		font-size: 11px;
		padding: 2px 7px;
		gap: 3px;
	}

	.wolf-sold-tag__icon {
		width: 11px;
		height: 11px;
	}
}