.dpd-box {
	--dpd-bg: #E42E31;
	--dpd-fg: #ffffff;
	background: var(--dpd-bg);
	color: var(--dpd-fg);
	border-radius: 18px;
	padding: 18px;
	display: flex;
	align-items: stretch;
	gap: 18px;
	direction: rtl;
	font-family: inherit;
	box-sizing: border-box;
	overflow: hidden;
}

.dpd-box * {
	box-sizing: border-box;
}

.dpd-side {
	flex: 0 0 auto;
	width: 148px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 6px;
	padding: 14px 10px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .22);
}

.dpd-percent-icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--dpd-fg);
	margin-bottom: 2px;
}

.dpd-title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
}

.dpd-brand {
	font-size: 12px;
	opacity: .85;
	margin-top: -2px;
}

.dpd-timer {
	direction: ltr;
	display: flex;
	align-items: center;
	gap: 2px;
	background: rgba(0, 0, 0, .18);
	border-radius: 10px;
	padding: 6px 8px;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	margin-top: 6px;
}

.dpd-timer .dpd-sep {
	opacity: .6;
}

.dpd-timer.is-over {
	opacity: .6;
}

.dpd-more {
	margin-top: 8px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: rgba(255, 255, 255, .95);
	color: var(--dpd-bg);
	font-size: 13px;
	font-weight: 700;
	border-radius: 999px;
	padding: 7px 14px;
	text-decoration: none;
	white-space: nowrap;
}

.dpd-more svg {
	transform: scaleX(-1);
}

.dpd-track-wrap {
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: thin;
}

.dpd-track {
	display: flex;
	gap: 12px;
	height: 100%;
}

.dpd-card {
	position: relative;
	flex: 0 0 150px;
	background: #ffffff;
	color: #222;
	border-radius: 12px;
	padding: 10px;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	gap: 6px;
	border: 1px solid rgba(0, 0, 0, .06);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .10);
	transition: transform .15s ease, box-shadow .15s ease;
}

.dpd-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, .16);
}

.dpd-badge {
	position: absolute;
	top: 8px;
	inset-inline-start: 8px;
	background: var(--dpd-bg);
	color: var(--dpd-fg);
	font-size: 11px;
	font-weight: 700;
	border-radius: 6px;
	padding: 2px 6px;
	z-index: 1;
}

.dpd-img {
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	overflow: hidden;
	background: #f4f4f4;
}

.dpd-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.dpd-name {
	font-size: 12.5px;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.6em;
}

.dpd-prices {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: auto;
}

.dpd-old {
	font-size: 11px;
	color: #9a9a9a;
	text-decoration: line-through;
}

.dpd-new {
	font-size: 14px;
	font-weight: 700;
	color: var(--dpd-bg);
}

.dpd-new small {
	font-size: 10px;
	font-weight: 400;
	color: #777;
}

@media (max-width: 700px) {
	.dpd-box {
		flex-direction: column;
		gap: 10px;
		padding: 14px;
	}
	.dpd-side {
		display: grid;
		grid-template-columns: auto 1fr auto;
		grid-template-areas:
			"icon text more"
			"timer timer timer";
		align-items: center;
		width: auto;
		gap: 4px 10px;
		padding: 12px 14px;
	}
	.dpd-percent-icon {
		grid-area: icon;
		width: 34px;
		height: 34px;
		margin-bottom: 0;
		flex-shrink: 0;
	}
	.dpd-percent-icon svg {
		width: 20px;
		height: 20px;
	}
	.dpd-title {
		grid-area: text;
		font-size: 14.5px;
		line-height: 1.35;
		text-align: start;
	}
	.dpd-brand {
		grid-area: text;
		margin-top: 16px;
		font-size: 11px;
		text-align: start;
	}
	.dpd-more {
		grid-area: more;
		margin-top: 0;
		flex-shrink: 0;
		padding: 6px 10px;
		font-size: 12px;
	}
	.dpd-timer {
		grid-area: timer;
		margin-top: 2px;
		width: 100%;
		justify-content: center;
	}
}

