.site-main--product {
	padding-bottom: 0;
}

body.has-recipe-modal-open {
	overflow: hidden;
}

.product-card-page {
	padding-top: 24px;
}

.product-card-page__inner {
	width: min(100% - 48px, 1464px);
	margin: 0 auto;
}

.product-card-page__breadcrumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 45px;
	color: var(--color-text);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}

.product-card-page__crumb--muted,
.product-card-page__separator {
	color: var(--color-text-muted);
}

.product-card-page__mobile-toolbar {
	display: none;
}

.product-card {
	display: flex;
	flex-direction: column;
	gap: 150px;
}

.product-card__hero {
	display: grid;
	grid-template-columns: 597px 596px;
	align-items: start;
	gap: 271px;
}

.product-card__hero--no-gallery {
	grid-template-columns: minmax(0, 596px);
}

.product-card-gallery {
	display: grid;
	grid-template-columns: 100px minmax(0, 472px);
	gap: 25px;
	align-items: start;
}

.product-card-gallery__thumbs {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.product-card-gallery__thumb {
	display: block;
	width: 100%;
	height: 142px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}

.product-card-gallery__thumb.is-active {
	opacity: 1;
}

.product-card-gallery__thumb-image {
	display: block;
	width: 100%;
	height: 100%;
	border: 2px solid transparent;
	object-fit: cover;
}

.product-card-gallery__thumb.is-active .product-card-gallery__thumb-image {
	border-color: #ffffff;
}

.product-card-gallery__stage {
	position: relative;
	width: 100%;
	height: 700px;
}

.product-card-gallery__panel {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.product-card-gallery__panel.is-active {
	opacity: 1;
	pointer-events: auto;
}

.product-card-gallery__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-card-gallery__mobile {
	display: none;
}

.product-card__content {
	display: flex;
	flex-direction: column;
	gap: 80px;
}

.product-card__summary {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.product-card__heading {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.product-card__title {
	margin: 0;
	color: var(--color-text);
	font-size: 40px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.8px;
	text-transform: uppercase;
}

.product-card__volume {
	margin: 0;
	color: var(--color-text);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	padding: 6px 14px;
}

.product-card__price {
	margin: 0;
	color: var(--color-text);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	background: #e84423;
	padding: 6px 14px;
	border-radius: 999px;
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    flex-shrink: 0;           /* если родитель flex */
    word-break: break-word;   /* если длинные слова */
}

.product-card__description {
	color: var(--color-text);
	font-size: 16px;
	line-height: 1.5;
}

.product-card__description > :first-child {
	margin-top: 0;
}

.product-card__description > :last-child {
	margin-bottom: 0;
}

.product-card-accordion {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.product-card-accordion__item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.product-card-accordion__item:first-child {
	border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.product-card-accordion__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	padding: 16px 0;
	border: 0;
	background: transparent;
	color: var(--color-text);
	text-align: left;
	cursor: pointer;
}

.product-card-accordion__title {
	flex: 1 1 auto;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.1;
	text-transform: uppercase;
}

.product-card-accordion__icon {
	position: relative;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
}

.product-card-accordion__icon::before,
.product-card-accordion__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 1px;
	background: rgba(255, 255, 255, 0.8);
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.product-card-accordion__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.product-card-accordion__item.is-open .product-card-accordion__icon::after {
	opacity: 0;
}

.product-card-accordion__panel {
	padding-bottom: 16px;
}

.product-card-accordion__content {
	color: var(--color-text);
	font-size: 16px;
	line-height: 1.5;
}

.product-card-accordion__content > :first-child {
	margin-top: 0;
}

.product-card-accordion__content > :last-child {
	margin-bottom: 0;
}

.product-card-page__script-title {
	margin: 0;
	color: var(--color-text);
	font-family: "Nexa Script", "Brush Script MT", cursive;
	font-size: 64px;
	font-style: normal;
	font-weight: 300;
	line-height: 0.9;
	letter-spacing: -3.2px;
	text-align: center;
	font-feature-settings: "init" 1;
}

.product-recipes,
.product-related {
	display: flex;
	flex-direction: column;
	gap: 80px;
}

.product-recipes__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.product-recipes__card {
	min-width: 0;
}

.product-recipes__link-wrap {
	display: flex;
	flex-direction: column;
	gap: 33px;
}

.product-recipes__trigger {
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	text-align: left;
	cursor: pointer;
}

.product-recipes__media {
	position: relative;
	overflow: hidden;
	height: 600px;
	background: rgba(255, 255, 255, 0.04);
}

.product-recipes__preview {
	position: relative;
	height: 100%;
}

.product-recipes__placeholder,
.product-recipe-modal__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 24px;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.7);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
}

.product-recipes__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-recipes__player {
	display: none;
	width: 100%;
	height: 100%;
	background: #000000;
}

.product-recipes__player.is-ready {
	display: block;
}

.product-recipes__player iframe,
.product-recipes__player video {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.product-recipes__media.is-playing .product-recipes__preview {
	display: none;
}

.product-recipes__play-trigger {
	position: absolute;
	inset: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.product-recipes__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: rgba(232, 68, 35, 0.7);
	transform: translate(-50%, -50%);
	transition: background-color 0.2s ease;
}

.product-recipes__play::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 12px solid #ffffff;
	transform: translate(-35%, -50%);
}

.product-recipes__trigger:hover .product-recipes__play,
.product-recipes__trigger:focus-visible .product-recipes__play,
.product-recipes__play-trigger:hover .product-recipes__play,
.product-recipes__play-trigger:focus-visible .product-recipes__play {
	background: #e84423;
}

.product-recipes__meta {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.product-recipes__title {
	margin: 0;
	color: var(--color-text);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.1;
	text-transform: uppercase;
}

.product-recipes__excerpt {
	margin: 0;
	color: var(--color-text);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

.product-recipes__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--color-accent);
	transition: color 0.2s ease;
}

.product-recipes__cta-icon {
	display: block;
	width: 20px;
	height: 20px;
	background-color: currentColor;
	-webkit-mask: url("../img/recipes-composition-icon.svg") center / contain no-repeat;
	mask: url("../img/recipes-composition-icon.svg") center / contain no-repeat;
}

.product-recipes__cta-label {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: underline;
	text-transform: uppercase;
	text-underline-offset: 2px;
}

.product-recipes__cta-trigger {
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.product-recipe-modal {
	position: fixed;
	inset: 0;
	z-index: 120;
}

.product-recipe-modal[hidden] {
	display: none;
}

.product-recipe-modal__backdrop {
	position: absolute;
	inset: 0;
	backdrop-filter: blur(10px);
	background: rgba(9, 0, 3, 0.5);
}

.product-recipe-modal__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 40px 24px;
}

.product-recipe-modal__inner {
	position: relative;
	display: block;
	width: min(100%, 630px);
	max-height: min(100vh - 80px, 860px);
	padding: 80px;
	overflow: auto;
	background: #331a1f;
}

.product-recipe-modal__close {
	position: absolute;
	top: 24px;
	right: 24px;
	z-index: 2;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent url("../img/modal-close.svg") center / contain no-repeat;
	cursor: pointer;
}

.product-recipe-modal__content {
	display: flex;
	flex-direction: column;
	gap: 16px;
	color: #ffffff;
}

.product-recipe-modal__title {
	margin: 0;
	font-size: 40px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.8px;
	text-transform: uppercase;
}

.product-recipe-modal__excerpt {
	margin: 0;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.5;
}

.product-recipe-modal__text {
	font-size: 16px;
	line-height: 1.6;
}

.product-recipe-modal__text > :first-child {
	margin-top: 0;
}

.product-recipe-modal__text > :last-child {
	margin-bottom: 0;
}

.product-related__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.product-related__link {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.product-related__media {
	overflow: hidden;
	height: 494px;
	background: rgba(255, 255, 255, 0.04);
}

.product-related__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-related__meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.product-related__title {
	margin: 0;
	color: var(--color-text);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.48px;
	text-transform: uppercase;
}

.product-related__volume {
	margin: 0;
	color: var(--color-text);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

.product-related__price {
	margin: 0;
	color: var(--color-text);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

.product-card-page__outline-button {
	display: none;
}

.product-card-page__outline-button--mobile {
	display: none;
}

.product-recipes__cta-trigger:hover .product-recipes__cta,
.product-recipes__cta-trigger:focus-visible .product-recipes__cta {
	color: #ff7357;
}

@media (max-width: 1480px) and (min-width: 768px) {
	.product-card__hero {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 64px;
	}

	.product-card__hero--no-gallery {
		grid-template-columns: minmax(0, 1fr);
	}

	.product-card-gallery {
		grid-template-columns: 84px minmax(0, 1fr);
		gap: 16px;
	}

	.product-card-gallery__thumb {
		height: 120px;
	}

	.product-card-gallery__stage,
	.product-recipes__media,
	.product-related__media {
		height: auto;
	}

	.product-card-gallery__stage {
		aspect-ratio: 472 / 700;
	}

	.product-recipes__media {
		aspect-ratio: 472 / 600;
	}

	.product-related__media {
		aspect-ratio: 348 / 494;
	}

}

@media (max-width: 767px) {
	.product-card-page {
		padding-top: 16px;
	}

	.product-card-page__inner {
		width: min(100% - 32px, 343px);
	}

	.product-card-page__breadcrumbs {
		margin-bottom: 16px;
	}

	.product-card-page__mobile-toolbar {
		display: flex;
		flex-direction: column;
		gap: 22px;
		margin-bottom: 40px;
	}

	.product-card-page__tabs {
		display: flex;
		align-items: center;
		gap: 24px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.product-card-page__tabs::-webkit-scrollbar {
		display: none;
	}

	.product-card-page__tab {
		color: var(--color-text);
		font-size: 16px;
		font-weight: 400;
		line-height: 1.5;
		white-space: nowrap;
	}

	.product-card-page__tab.is-active {
		text-decoration: underline;
		text-underline-offset: 4px;
	}

	.product-card-page__search {
		display: flex;
		align-items: center;
		gap: 8px;
		width: 100%;
		height: 40px;
		padding: 0 16px;
		border: 1px solid #ffffff;
	}

	.product-card-page__search-input {
		width: 100%;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--color-text);
		font-size: 16px;
		font-weight: 400;
		line-height: 1.5;
		outline: none;
	}

	.product-card-page__search-input::placeholder {
		color: var(--color-text-muted);
	}

	.product-card-page__search-button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 16px;
		height: 16px;
		padding: 0;
		border: 0;
		background: transparent;
	}

	.product-card-page__search-icon {
		display: block;
		width: 16px;
		height: 16px;
	}

	.product-card {
		gap: 80px;
	}

	.product-card__hero {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.product-card-gallery {
		display: block;
	}

	.product-card-gallery__thumbs,
	.product-card-gallery__stage {
		display: none;
	}

	.product-card-gallery__mobile {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	.product-card-gallery__track {
		display: flex;
		gap: 0;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.product-card-gallery__track::-webkit-scrollbar {
		display: none;
	}

	.product-card-gallery__slide {
		flex: 0 0 100%;
		width: 100%;
		height: 450px;
		scroll-snap-align: start;
	}

	.product-card-gallery__slide .product-card-gallery__image {
		height: 100%;
	}

	.product-card-gallery__dots {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
	}

	.product-card-gallery__dot {
		width: 8px;
		height: 8px;
		padding: 0;
		border: 0;
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.3);
	}

	.product-card-gallery__dot.is-active {
		width: 32px;
		background: #ffffff;
	}

	.product-card__content {
		gap: 80px;
	}

	.product-card__title {
		font-size: 32px;
		letter-spacing: -0.64px;
	}

	.product-card__description,
	.product-card-accordion__content {
		font-size: 14px;
	}

	.product-card-accordion__title {
		font-size: 14px;
	}

	.product-card-page__script-title {
		font-size: 40px;
		letter-spacing: -1.2px;
	}

	.product-recipes,
	.product-related {
		gap: 40px;
	}

	.product-recipes__grid,
	.product-related__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.product-recipes__link-wrap {
		gap: 24px;
	}

	.product-recipes__media {
		height: 436px;
	}

	.product-recipes__play {
		width: 64px;
		height: 64px;
	}

	.product-recipes__title,
	.product-related__title {
		font-size: 18px;
		letter-spacing: 0;
	}

	.product-recipes__excerpt,
	.product-related__price,
	.product-related__volume {
		font-size: 14px;
	}

	.product-recipe-modal__dialog {
		align-items: flex-start;
		padding: 83px 0 0;
	}

	.product-recipe-modal__inner {
		width: 100%;
		max-height: calc(100vh - 83px);
		padding: 50px 16px;
	}

	.product-recipe-modal__close {
		top: 16px;
		right: 16px;
	}

	.product-recipe-modal__title {
		font-size: 40px;
		font-family: "Nexa Script", "Brush Script MT", cursive;
		font-style: normal;
		font-weight: 300;
		line-height: 0.9;
		letter-spacing: 0;
		text-transform: none;
		font-feature-settings: "init" 1;
	}

	.product-recipe-modal__excerpt,
	.product-recipe-modal__text {
		font-size: 14px;
		line-height: 1.5;
	}

	.product-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.product-related__link {
		gap: 8px;
	}

	.product-related__media {
		height: 234px;
	}

	.product-card-page__outline-button,
	.product-card-page__outline-button--mobile {
		display: inline-flex;
		width: 100%;
	}

}

/* Product characteristics (purpose, energy) and delivery link. */
.product-card__specs {
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 15px;
	line-height: 1.4;
}

.product-card__spec-label {
	color: var(--color-text-muted);
}

.product-card__spec-value {
	color: var(--color-text);
}

.product-card__delivery-link {
	display: inline-block;
	margin-top: 16px;
	color: var(--color-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Product reviews (ratings, list, form). */
.stars {
	display: inline-flex;
	gap: 2px;
}

.stars__star {
	color: rgba(255, 255, 255, 0.3);
	font-size: 16px;
	line-height: 1;
}

.stars__star.is-filled {
	color: #f5b301;
}

.product-card__rating {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 4px 0 0;
}

.product-card__rating-count {
	color: var(--color-text-muted);
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.product-reviews {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 0px;
}

.product-reviews__head {
	display: flex;
	align-items: baseline;
	gap: 20px;
	flex-wrap: wrap;
}

.product-reviews__summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.product-reviews__summary .stars__star {
	font-size: 20px;
}

.product-reviews__avg {
	font-size: 20px;
	font-weight: 600;
}

.product-reviews__count {
	color: var(--color-text-muted);
	font-size: 14px;
}

.product-reviews__empty {
	color: var(--color-text-muted);
}

.product-reviews__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.product-review {
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.product-review__head {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}

.product-review__author {
	font-weight: 600;
}

.product-review__date {
	color: var(--color-text-muted);
	font-size: 13px;
}

.product-review__text {
	line-height: 1.5;
}

.product-review__text p {
	margin: 0 0 8px;
}

.review-rating {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.review-rating__label {
	color: var(--color-text-muted);
	font-size: 14px;
}

.review-rating__stars {
	display: inline-flex;
	flex-direction: row-reverse;
}

.review-rating__input {
	position: absolute;
	width: 0;
	height: 0;
	opacity: 0;
}

.review-rating__star {
	cursor: pointer;
	color: rgba(255, 255, 255, 0.3);
	font-size: 26px;
	line-height: 1;
	padding: 0 2px;
	transition: color 0.15s ease;
}

.review-rating__input:checked ~ .review-rating__star,
.review-rating__star:hover,
.review-rating__star:hover ~ .review-rating__star {
	color: #f5b301;
}

.product-reviews__form .comment-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 640px;
}

.product-reviews__form .comment-form-comment,
.product-reviews__form .comment-form-author,
.product-reviews__form .comment-form-email,
.product-reviews__form .comment-form-url,
.product-reviews__form .form-submit {
	margin: 0;
}

.product-reviews__form .comment-form-url {
	display: none;
}

.product-reviews__form label {
	display: block;
	margin-bottom: 6px;
	color: var(--color-text-muted);
	font-size: 14px;
}

.product-reviews__form input[type="text"],
.product-reviews__form input[type="email"],
.product-reviews__form input[type="url"],
.product-reviews__form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--color-text);
	background: transparent;
	color: var(--color-text);
	font-family: "Inter Tight", sans-serif;
	font-size: 15px;
	outline: none;
}
