.rz-prd {
	--rz-prd-gap: 8px;
	--rz-prd-font: "AdihausDIN", "AdineuePRO", Arial, Helvetica, sans-serif;
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.rz-prd *,
.rz-prd *::before,
.rz-prd *::after {
	box-sizing: border-box;
}

.rz-prd__title {
	margin: 0 0 16px;
	padding: 0 0 0 15px;
	font-family: var(--rz-prd-font);
	font-size: clamp(1.35rem, 2.2vw, 1.85rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.05;
	text-transform: uppercase;
	color: #000;
}

.rz-prd__track {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: var(--rz-prd-gap);
	width: 100%;
	overflow: hidden;
	background: #fff;
}

.elementor .rz-prd a.rz-prd__card,
.rz-prd a.rz-prd__card,
.elementor .rz-prd button.rz-prd__card,
.rz-prd button.rz-prd__card {
	position: relative;
	display: block;
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	padding: 0;
	text-decoration: none;
	color: #fff;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	outline: none;
	cursor: pointer;
	overflow: hidden;
	background: #111;
	font: inherit;
	text-align: left;
	-webkit-appearance: none;
	appearance: none;
}

.rz-prd__media {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #111;
}

.elementor .rz-prd .rz-prd__image,
.rz-prd .rz-prd__image {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	object-fit: cover !important;
	object-position: center top !important;
}

.rz-prd__image--placeholder {
	background: #222;
}

.rz-prd__danmaku {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 70%;
	overflow: hidden;
	pointer-events: none;
	z-index: 2;
}

.rz-prd__bullet {
	position: absolute;
	left: 100%;
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	max-width: min(88%, 260px);
	padding: 7px 12px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #111;
	font-family: var(--rz-prd-font);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	will-change: transform;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.rz-prd__bullet-stars {
	display: block;
	flex: 0 0 auto;
	color: #111;
	font-size: 11px;
	letter-spacing: 0.06em;
	line-height: 1;
}

.rz-prd__bullet-text {
	display: block;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rz-prd__bullet.is-flying {
	animation-name: rz-prd-fly;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
}

.rz-prd__bullet.is-fade {
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	animation-name: rz-prd-fade;
	animation-timing-function: ease-in-out;
	animation-fill-mode: forwards;
}

/* --rz-prd-travel = stage width in px (set by JS) so bullets cross the full card. */
@keyframes rz-prd-fly {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(calc(-100% - var(--rz-prd-travel, 100%)));
	}
}

@keyframes rz-prd-fade {
	0% {
		opacity: 0;
	}
	15% {
		opacity: 1;
	}
	85% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

.rz-prd__shade {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 42%;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.62) 0%,
		rgba(0, 0, 0, 0.22) 55%,
		rgba(0, 0, 0, 0) 100%
	);
	pointer-events: none;
	z-index: 1;
}

.rz-prd__meta {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 0 12px 14px;
	pointer-events: none;
}

.rz-prd__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-family: var(--rz-prd-font);
	font-size: clamp(0.78rem, 1.05vw, 0.95rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-transform: uppercase;
	color: #fff;
}

.rz-prd__price {
	display: block;
	font-family: var(--rz-prd-font);
	font-size: clamp(0.72rem, 0.95vw, 0.85rem);
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
}

.rz-prd__price .price,
.rz-prd__price .amount,
.rz-prd__price del,
.rz-prd__price ins,
.rz-prd__price bdi {
	color: #fff;
	opacity: 1;
	text-decoration: none;
	background: transparent;
}

.rz-prd__price del {
	opacity: 0.7;
	text-decoration: line-through;
}

.rz-prd__rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--rz-prd-font);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1;
	color: #fff;
}

.rz-prd__stars {
	letter-spacing: 0.08em;
	color: #fff;
}

.rz-prd__card--more {
	background: #1a1a1a;
}

.rz-prd__media--more {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: linear-gradient(160deg, #222 0%, #111 100%);
}

.rz-prd__more-label {
	padding: 0 16px;
	font-family: var(--rz-prd-font);
	font-size: clamp(0.9rem, 1.2vw, 1.05rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.25;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
}

.rz-prd__more-arrow {
	font-size: 1.35rem;
	line-height: 1;
	color: #fff;
}

.rz-prd-empty {
	padding: 16px;
	border: 1px dashed #c3c4c7;
	color: #50575e;
	background: #f6f7f7;
}

/*
 * Reviews drawer shell reuses Razzi `.rz-modal` / `.panel-content`
 * (same right-edge slide as the cart drawer). Only feed layout below.
 */
.rz-prd-reviews-modal.ra-cart-modal .modal-content {
	padding: 0;
	height: 100%;
	min-height: 0;
	overflow: hidden;
}

.rz-prd-reviews-modal .rz-prd-feed {
	height: 100%;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 8px 20px 28px;
}

.rz-prd-feed__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rz-prd-feed__item {
	padding: 18px 0;
	border-bottom: 1px solid #e5e5e5;
}

.rz-prd-feed__item:last-child {
	border-bottom: 0;
}

.rz-prd-feed__stars {
	display: block;
	margin: 0 0 6px;
	font-size: 13px;
	letter-spacing: 0.08em;
	line-height: 1;
	color: #111;
}

.rz-prd-feed__text {
	margin: 0 0 10px;
	font-family: var(--rz-prd-font);
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.5;
	color: #222;
	white-space: pre-wrap;
	word-break: break-word;
}

.rz-prd-feed__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 10px;
	font-family: var(--rz-prd-font);
	font-size: 0.8rem;
	line-height: 1.3;
	color: #666;
}

.rz-prd-feed__author {
	font-weight: 600;
	color: #333;
}

.rz-prd-feed__date {
	color: #888;
}

.rz-prd-feed__product {
	color: #111;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.rz-prd-feed__product:hover {
	opacity: 0.75;
}

.rz-prd-feed__status {
	padding: 16px 0;
	font-family: var(--rz-prd-font);
	font-size: 0.9rem;
	color: #666;
	text-align: center;
}

.rz-prd-feed__sentinel {
	height: 1px;
	width: 100%;
}

@media (max-width: 900px) {
	.rz-prd__track {
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		scrollbar-width: thin;
	}

	.elementor .rz-prd a.rz-prd__card,
	.rz-prd a.rz-prd__card,
	.elementor .rz-prd button.rz-prd__card,
	.rz-prd button.rz-prd__card {
		flex: 0 0 78%;
		max-width: 280px;
		scroll-snap-align: start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rz-prd__bullet.is-flying {
		animation: none;
	}
}
