/* =========================================================
Hot Deal Section
========================================================= */
.vbx-hot-deal {
	background: #f4f1e8;
	--vbx-hotdeal-per-view: 4;
}

.vbx-hot-deal__wrap {
	background: var(--vbxwoo-light);
	border-radius: 0.75rem;
	padding: 1rem;
	/* box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05); */
}

.vbx-hot-deal__header {
	/* background: #ffd8bd; */
	color: var(--vbxwoo-primary);
	border-radius: 0.625rem;
	padding: 0.75rem 1rem;
}
.vbx-hot-deal-card__price del {
    font-size: 13px;
    font-weight: 500;
    margin-right: 5px;
}

.vbx-hot-deal-card__price ins {
    text-decoration: none;
}

.vbx-hot-deal__title {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--vbxwoo-primary);
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.vbx-hot-deal__title-icon {
	font-size: 1.2em;
	line-height: 1;
}

.vbx-hot-deal__countdown {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.vbx-hot-deal__time-box {
	min-width: 2.5rem;
	background: var(--vbxwoo-primary);
	color: var(--vbxwoo-light);
	text-align: center;
	border-radius: 0.3rem;
	padding: 0.2rem 0.2rem 0.2rem;
}

.vbx-hot-deal__time-num {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.1;
}

.vbx-hot-deal__time-label {
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: lowercase;
}

.vbx-hot-deal__view-all {
	background: var(--vbxwoo-primary);
	border-color: var(--vbxwoo-primary);
	color: var(--vbxwoo-light);
	font-weight: 700;
	padding: 0.52rem 1rem;
	line-height: 1.2;
}

.vbx-hot-deal__view-all:hover,
.vbx-hot-deal__view-all:focus-visible {
	background: var(--vbxwoo-primary);
	border-color: var(--vbxwoo-primary);
	color: var(--vbxwoo-light);
}

.vbx-hot-deal__slider {
	position: relative;
	margin-top: 0.9rem;
	padding-inline: 2rem;
}

.vbx-hot-deal__viewport {
	overflow: hidden;
	position: relative;
	width: 100%;
	touch-action: pan-y;
}

.vbx-hot-deal__track {
	display: flex;
	transition: transform 450ms cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
}

.vbx-hot-deal__item {
	flex: 0 0 25%;
	max-width: 25%;
	min-width: 0;
	padding-inline: 0.625rem;
	box-sizing: border-box;
}

.vbx-hot-deal-card {
	background: var(--vbxwoo-light);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.vbx-hot-deal-card__thumb {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 238px;
	padding: 1.1rem 0.9rem 2rem;
	border: 3px solid var(--vbxwoo-primary);
	border-radius: 0.625rem;
	background: #fff6f6;
	text-decoration: none;
	overflow: hidden;
}

.vbx-hot-deal-card__thumb::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(135deg, rgba(255, 0, 0, 0.16) 0 8px, transparent 8px 20px);
	background-size: 26px 26px;
	opacity: 0.35;
}

.vbx-hot-deal-card__img {
	position: relative;
	z-index: 1;
	width: auto;
	max-width: 100%;
	max-height: 185px;
	height: auto;
	object-fit: contain;
}

.vbx-hot-deal-card__discount {
	position: absolute;
	top: 0.6rem;
	left: 0.6rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.65rem;
	height: 2.65rem;
	border-radius: 50%;
	background: var(--vbxwoo-primary);
	color: var(--vbxwoo-light);
	font-size: 0.9rem;
	font-weight: 700;
}

.vbx-hot-deal-card__ribbon {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.35rem 0.6rem;
	background: var(--vbxwoo-primary);
	color: var(--vbxwoo-light);
	font-size: 0.74rem;
	font-weight: 700;
	line-height: 1.2;
}

.vbx-hot-deal-card__gift {
	font-size: 0.95rem;
}

.vbx-hot-deal-card__ribbon-text {
	letter-spacing: 0.03em;
}

.vbx-hot-deal-card__ribbon-end {
	margin-left: auto;
	padding: 0.12rem 0.35rem;
	border-radius: 0.2rem;
	background: var(--vbxwoo-light);
	color: var(--vbxwoo-primary);
	font-size: 0.64rem;
	font-weight: 700;
}

.vbx-hot-deal-card__body {
	padding: 0.72rem 0.1rem 0;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.vbx-hot-deal-card__title {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.55;
	font-weight: 500;
}

.vbx-hot-deal-card__title a {
	color: var(--vbxwoo-text);
	text-decoration: none;
}

.vbx-hot-deal-card__title a:hover,
.vbx-hot-deal-card__title a:focus-visible {
	color: var(--vbxwoo-primary);
}

.vbx-hot-deal-card__price {
	margin-top: 0.45rem;
	color: var(--vbxwoo-primary);
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 0;
}

.vbx-hot-deal-card__price .amount,
.vbx-hot-deal-card__price bdi {
	color: inherit;
	font-weight: inherit;
}

.vbx-hot-deal__nav {
	position: absolute;
	top: 50%;
	z-index: 6;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border: 0;
	border-radius: 999px;
	background: var(--vbxwoo-primary);
	transform: translateY(-50%);
	opacity: 0.94;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.vbx-hot-deal__nav:hover,
.vbx-hot-deal__nav:focus-visible {
	background: var(--vbxwoo-primary);
	opacity: 1;
}

.vbx-hot-deal__nav--prev {
	left: 0.5rem;
}

.vbx-hot-deal__nav--next {
	right: 0.5rem;
}

.vbx-hot-deal__nav .carousel-control-prev-icon,
.vbx-hot-deal__nav .carousel-control-next-icon {
	width: 1rem;
	height: 1rem;
	background-size: 1rem 1rem;
}

.vbx-hot-deal__nav.is-hidden {
	display: none;
}

@media (max-width: 991.98px) {
	.vbx-hot-deal {
		--vbx-hotdeal-per-view: 3;
	}

	.vbx-hot-deal__item {
		flex: 0 0 33.333333%;
		max-width: 33.333333%;
		padding-inline: 0.5rem;
	}

	.vbx-hot-deal__wrap {
		padding: 0.875rem;
	}

	.vbx-hot-deal-card__thumb {
		min-height: 214px;
	}
}

@media (max-width: 767.98px) {
	.vbx-hot-deal {
		--vbx-hotdeal-per-view: 2;
		padding-top: 2rem !important;
		padding-bottom: 2rem !important;
	}

	.vbx-hot-deal__item {
		flex: 0 0 50%;
		max-width: 50%;
		padding-inline: 0.375rem;
	}

	.vbx-hot-deal__header {
		padding: 0.7rem;
	}

	.vbx-hot-deal__title {
		font-size: 1.15rem;
	}

	.vbx-hot-deal__countdown {
		width: 100%;
		justify-content: space-between;
	}

	.vbx-hot-deal__time-box {
		min-width: calc(25% - 0.34rem);
		padding: 0.2rem 0.2rem;
	}

	.vbx-hot-deal__view-all {
		width: 100%;
	}

	.vbx-hot-deal-card__thumb {
		min-height: 185px;
	}

	.vbx-hot-deal-card__img {
		max-height: 145px;
	}

	.vbx-hot-deal__slider {
		padding-inline: 0;
	}

	.vbx-hot-deal__nav {
		width: 2.1rem;
		height: 2.1rem;
		top: 50%;
		transform: translateY(-50%);
	}

	.vbx-hot-deal__nav--prev {
		left: 0.2rem;
	}

	.vbx-hot-deal__nav--next {
		right: 0.2rem;
	}
}

/* =========================================================
End Hot Deal Section
========================================================= */