/* Front page hero. */
.home-hero {
	padding: 0 0 20px;
	background: transparent;
	color: var(--psdv-ink);
}

#primary {
	min-height: 65vh;
}

.home-hero > .psdv-container {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.home-hero__inner {
	width: 100%;
	max-width: none;
	margin-inline: 0;
	position: relative;
	display: grid;
	grid-template-columns: minmax(330px, 1fr) minmax(440px, 480px);
	gap: 34px;
	align-items: center;
	justify-content: space-between;
	min-height: 65vh;
	overflow: hidden;
	padding-top: 24px;
	padding-right: max(30px, calc((100vw - 1520px) / 2));
	padding-bottom: 20px;
	padding-left: max(30px, calc((100vw - 1520px) / 2));
	border-radius: 0;
	background: #2b0b09;
	box-shadow: 0 22px 58px rgba(40, 20, 10, 0.16);
}

.home-hero__media {
	position: absolute;
	inset: 0 -10px;
	z-index: 0;
	overflow: hidden;
	border-radius: inherit;
	background-color: #2b0b09;
	background-image: var(--psdv-hero-poster);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	pointer-events: none;
}

.home-hero__media::after {
	position: absolute;
	inset: 0;
	z-index: 2;
	background:
		linear-gradient(180deg, rgba(32, 10, 9, 0.72) 0, rgba(32, 10, 9, 0.3) 12px, rgba(32, 10, 9, 0) 28px),
		linear-gradient(90deg, rgba(26, 10, 8, 0.56) 0%, rgba(26, 10, 8, 0.22) 42%, rgba(26, 10, 8, 0.12) 100%),
		linear-gradient(180deg, rgba(18, 8, 7, 0.12) 0%, rgba(18, 8, 7, 0.2) 100%);
	content: '';
	pointer-events: none;
}

.home-hero__poster,
.home-hero__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	filter: brightness(0.84) saturate(0.94) contrast(1.02);
	transform: scale(1.015);
}

.home-hero__poster {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.home-hero__video {
	position: relative;
	z-index: 1;
	opacity: 0;
	transition: opacity 0.45s ease;
}

.home-hero__media.is-video-ready .home-hero__video {
	opacity: 1;
}

.home-hero__content {
	position: relative;
	z-index: 2;
}

.home-hero__content {
	max-width: 650px;
	padding-left: 0;
}

.home-hero__content > * {
	opacity: 0;
	animation: psdv-hero-copy-in 0.82s cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-play-state: paused;
	will-change: opacity;
}

.home-hero__inner.is-poster-ready .home-hero__content > * {
	animation-play-state: running;
}

.home-hero__content h1 {
	animation-delay: 0.18s;
}

.home-hero__content p {
	animation-delay: 0.34s;
}

.home-hero__actions {
	opacity: 0;
	animation: psdv-hero-copy-in 0.82s cubic-bezier(0.22, 1, 0.36, 1) both;
	animation-delay: 0.5s;
	animation-play-state: paused;
}

.home-hero h1 {
	max-width: 620px;
	margin: 0;
	color: #f8f4ee;
	font-family: var(--psdv-heading-font);
	font-size: clamp(58px, 5.2vw, 76px);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: 0.01em;
	text-wrap: balance;
}

.home-hero p {
	max-width: 560px;
	margin: 22px 0 0;
	color: rgba(248, 244, 238, 0.9);
	font-family: var(--psdv-font);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.68;
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	width: min(100%, 260px);
	margin-top: 30px;
}

.home-hero__actions .button {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	min-height: 56px;
	padding: 13px 24px;
	font-family: var(--psdv-font);
	font-size: 15px;
	font-weight: 500;
}

.home-hero__actions .button:hover {
	transform: translateY(-1px);
}

.home-hero__actions .button:active {
	transform: translateY(0) scale(0.99);
}

.home-hero__actions .button-primary {
	border-color: rgba(219, 184, 118, 0.92);
	background: linear-gradient(180deg, #f7eee2 0%, #ebdcc8 100%);
	box-shadow: 0 14px 34px rgba(72, 6, 10, 0.22), inset 0 1px 0 rgba(255, 248, 237, 0.92);
	color: #48060a;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.home-hero__actions .button-primary > span {
	font-size: 17px;
}

.home-hero__actions .button-primary:hover {
	border-color: #e3bf82;
	background: linear-gradient(180deg, #fbf3e8 0%, #f2e1ca 100%);
	box-shadow: 0 18px 36px rgba(72, 6, 10, 0.2), inset 0 1px 0 rgba(255, 248, 237, 1);
	color: #3d0408;
	transform: translateY(-1px);
}

.home-hero__actions .button-primary:active {
	transform: translateY(0) scale(0.985);
}

.home-hero__actions .button-primary--seal {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border-radius: 999px;
}

.home-hero__actions .button-primary--seal::before,
.home-hero__actions .button-primary--seal::after {
	content: "";
	position: absolute;
	pointer-events: none;
}

.home-hero__actions .button-primary--seal::before {
	z-index: 1;
	inset: 5px;
	border: 1px dashed rgba(95, 15, 20, 0.44);
	border-radius: inherit;
}

.home-hero__actions .button-primary--seal::after {
	z-index: 0;
	inset: 0;
	background: linear-gradient(180deg, #fff6e9 0%, #e4c27f 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.26s ease;
}

.home-hero__actions .button-primary--seal > span,
.home-hero__actions .button-primary--seal .coin-icon {
	position: relative;
	z-index: 2;
}

.home-hero__actions .button-primary--seal:hover::after,
.home-hero__actions .button-primary--seal:focus-visible::after {
	transform: scaleX(1);
}

.home-hero__actions .button-primary--seal .coin-icon {
	width: clamp(28px, 8vw, 32px);
	height: clamp(28px, 8vw, 32px);
	margin-left: auto;
	padding: 7px;
	transform: translateX(12px);
}

.home-hero__actions .coin-icon {
	position: relative;
	z-index: 1;
	width: 38px;
	height: 38px;
	padding: 8px;
	border-radius: 50%;
	background: linear-gradient(180deg, #5f0f14 0%, #370306 100%);
	box-shadow: inset 0 1px 0 rgba(255, 248, 237, 0.18), 0 10px 20px rgba(24, 2, 4, 0.18);
	color: #f7dfad;
	transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.home-hero__actions .button-primary:hover .coin-icon {
	background: linear-gradient(180deg, #6d1117 0%, #420508 100%);
	box-shadow: inset 0 1px 0 rgba(255, 248, 237, 0.22), 0 14px 28px rgba(24, 2, 4, 0.22);
	color: #fff0c9;
	transform: translateX(2px);
}

.home-hero__actions .button-primary--seal:hover .coin-icon,
.home-hero__actions .button-primary--seal:focus-visible .coin-icon {
	transform: translateX(16px);
}

@keyframes psdv-hero-shell-in {
	from {
		opacity: 0;
		transform: translateY(18px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes psdv-hero-copy-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-hero__inner,
	.home-hero__content > *,
	.home-hero__actions {
		opacity: 1;
		transform: none;
		animation: none;
	}
}
/* Avito reviews — mobile only. Desktop layout remains unchanged. */
.psdv-avito-reviews--mobile {
	display: none;
}

@media (max-width: 767px) {
	.psdv-avito-reviews--mobile {
		display: block;
		padding: 0 16px;
		margin: 0;
		background: #f7f4ef;
	}

	.psdv-avito-reviews__inner {
		overflow: hidden;
		padding: 12px 0;
		border-top: 1px solid rgba(24, 24, 24, 0.10);
		border-bottom: 1px solid rgba(24, 24, 24, 0.10);
	}

	.psdv-avito-reviews__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		margin-bottom: 10px;
	}

	.psdv-avito-reviews__eyebrow {
		display: none;
	}

	.psdv-avito-reviews h2 {
		max-width: 190px;
		margin: 0;
		color: #191919;
		font-family: "Arsenal", Georgia, serif;
		font-size: 19px;
		font-weight: 600;
		line-height: 1.1;
		letter-spacing: -0.02em;
	}

	.psdv-avito-reviews__rating {
		flex: 0 0 auto;
		display: flex;
		align-items: baseline;
		gap: 3px;
		color: #191919;
		font-variant-numeric: tabular-nums;
	}

	.psdv-avito-reviews__rating strong {
		font-size: 19px;
		font-weight: 700;
		line-height: 1;
	}

	.psdv-avito-reviews__rating > span {
		color: #af7a1b;
		font-size: 15px;
		line-height: 1;
	}

.psdv-avito-reviews__rating {
	color: inherit;
	text-decoration: none;
}

.psdv-avito-reviews__rating small {
	display: block;
	margin-left: 4px;
	color: rgba(24, 24, 24, 0.62);
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	text-decoration: underline;
	text-decoration-color: rgba(24, 24, 24, 0.28);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	white-space: nowrap;
}

.psdv-avito-reviews__rating small b {
	margin-left: 2px;
	font-size: 12px;
	font-weight: 500;
}

.psdv-avito-reviews__rating:active {
	opacity: 0.62;
}

	.psdv-avito-reviews__viewport {
		overflow: hidden;
		margin-right: -16px;
	}

	.psdv-avito-reviews__track {
		display: flex;
		width: max-content;
		gap: 8px;
		animation: psdv-avito-reviews-marquee 58s linear infinite;
		will-change: transform;
	}

	.psdv-avito-review-card {
		display: flex;
		flex: 0 0 242px;
		flex-direction: column;
		min-height: 112px;
		padding: 11px 12px;
		border: 1px solid rgba(24, 24, 24, 0.11);
		border-radius: 12px;
		background: #fff;
		box-shadow: 0 5px 16px rgba(24, 24, 24, 0.04);
	}

	.psdv-avito-review-card__top {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
	}

	.psdv-avito-review-card__top strong {
		overflow: hidden;
		color: #191919;
		font-size: 13px;
		font-weight: 700;
		line-height: 1.2;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.psdv-avito-review-card__stars {
		flex: 0 0 auto;
		color: #af7a1b;
		font-size: 10px;
		line-height: 1;
		letter-spacing: 0.06em;
	}

	.psdv-avito-review-card__text {
		display: -webkit-box;
		overflow: hidden;
		margin: 8px 0 0;
		color: #2b2b2b;
		font-size: 12px;
		line-height: 1.34;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}

	.psdv-avito-review-card__item {
		display: -webkit-box;
		overflow: hidden;
		margin: auto 0 0;
		padding-top: 7px;
		border-top: 1px solid rgba(24, 24, 24, 0.08);
		color: rgba(24, 24, 24, 0.57);
		font-size: 10px;
		line-height: 1.2;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 1;
		line-clamp: 1;
	}

	.psdv-avito-review-card__answer,
	.psdv-avito-review-card time {
		display: none;
	}

	@keyframes psdv-avito-reviews-marquee {
		from {
			transform: translateX(0);
		}

		to {
			transform: translateX(-50%);
		}
	}
}

@media (max-width: 380px) {
	.psdv-avito-reviews h2 {
		max-width: 168px;
		font-size: 18px;
	}

	.psdv-avito-review-card {
		flex-basis: 228px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.psdv-avito-reviews__track {
		animation: none;
	}
}
@media (max-width: 767px) {
	.pd-market + .psdv-trust-bar {
		margin-top: 0 !important;
		border-top: 0 !important;
		box-shadow: none !important;
	}
}
@media (max-width: 767px) {
	.pd-market {
		margin-bottom: 0 !important;
		padding-bottom: 0 !important;
		border-bottom: 0 !important;
	}
}
@media (max-width: 767px) {
	.pd-market {
		border-bottom: 0 !important;
		box-shadow: none !important;
		background-image: none !important;
	}

	.pd-market::before,
	.pd-market::after {
		display: none !important;
		content: none !important;
		height: 0 !important;
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}
}
@media (max-width: 767px) {
	.pd-market {
		position: relative;
		z-index: 1;
	}

	.pd-market + .psdv-trust-bar {
		position: relative;
		z-index: 2;
		margin-top: -26px !important;
		padding-top: 12px !important;
		background: #f7f4ef !important;
	}
}
/* Product page: fix background of related/recently viewed block */
.psdv-related-products {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	border: 0 !important;
}
.psdv-related-products > *,
.psdv-related-products .psdv-related-products__inner {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
}