/* =============================================
 * Hot Deals Widget
 * ============================================= */
.hd-deals-widget {
	position: relative;
}

.hd-swiper {
	overflow: visible;
}

.hd-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.hd-grid > .swiper-slide {
	width: auto !important;
	height: auto !important;
	margin-right: 0 !important;
	flex-shrink: initial;
}

/* =============================================
 * Item
 * ============================================= */
.hd-item-inner {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	height: 100%;
	overflow: hidden;
}

/* =============================================
 * Product Image
 * ============================================= */
.hd-image {
	display: block;
	width: 100%;
	overflow: hidden;
	flex-shrink: 0;
}

.hd-image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	transition: transform 0.3s ease;
}

.hd-item-inner:hover .hd-image img {
	transform: scale(1.05);
}

.hd-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: #f0f0f0;
}

/* =============================================
 * Price Row
 * ============================================= */
.hd-price-row {
	display: inline-flex;
	align-items: center;
	margin: 8px 8px 0;
	gap: 0;
	flex-wrap: nowrap;
}

.hd-flash-icon {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	line-height: 1;
	position: relative;
	z-index: 2;
}

.hd-price-bg {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: linear-gradient(90deg, #FFECEB 0%, rgba(255, 236, 235, 0) 100%);
	border-radius: 10px;
	padding: 4px 12px 4px 14px;
	margin-left: -10px;
}

.hd-flash-icon svg {
	display: block;
	width: 18px;
	height: auto;
}

.hd-price-current {
	font-size: 16px;
	font-weight: 700;
	color: #e74c3c;
	white-space: nowrap;
	line-height: 1.3;
}

.hd-price-old {
	font-size: 12px;
	color: #999;
	text-decoration: line-through;
	white-space: nowrap;
	line-height: 1.3;
}

/* =============================================
 * MOQ
 * ============================================= */
.hd-moq {
	display: block;
	padding: 4px 8px 8px;
	font-size: 12px;
	color: #999;
	line-height: 1.4;
}

/* =============================================
 * Navigation Arrows (mobile only)
 * ============================================= */
.hd-nav-btn {
	display: none;
}

@media (max-width: 768px) {
	.hd-swiper {
		overflow: hidden;
	}

	.hd-grid {
		display: flex !important;
		gap: 0 !important;
	}

	.hd-grid > .swiper-slide {
		width: auto;
		height: auto;
		margin-right: 0;
		flex-shrink: 0;
	}

	.hd-swiper .swiper-wrapper {
		align-items: stretch;
	}

	.hd-swiper .swiper-slide {
		height: auto;
	}

	.hd-nav-btn {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		z-index: 10;
		width: 28px;
		height: 28px;
		background: rgba(255,255,255,0.9);
		border-radius: 50%;
		box-shadow: 0 1px 4px rgba(0,0,0,0.15);
		cursor: pointer;
		color: #333;
	}

	.hd-nav-btn svg {
		width: 16px;
		height: 16px;
	}

	.hd-nav-prev {
		left: 4px;
	}

	.hd-nav-next {
		right: 4px;
	}

	.hd-nav-btn.swiper-button-disabled {
		opacity: 0.3;
		pointer-events: none;
	}
}
