.yamato-product-page {
	position: relative;
	overflow: hidden;
	padding: 0 0 6rem;
	background: #fff;
}

.yamato-product-page__container {
	position: relative;
	z-index: 2;
}

.yamato-product-page__decor {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.yamato-product-page__wave {
	position: absolute;
	width: min(26rem, 34vw);
	opacity: 0.28;
}

.yamato-product-page__wave svg {
	display: block;
	width: 100%;
	height: auto;
}

.yamato-product-page__wave--left {
	top: 8%;
	left: -4%;
}

.yamato-product-page__wave--right {
	right: -4%;
	bottom: 12%;
	transform: scaleX(-1);
}

.yamato-product-page__icon {
	position: absolute;
	display: block;
	width: auto;
	max-width: none;
	opacity: 0.1;
}

.yamato-product-page__icon--bamboo {
	top: 18%;
	left: 2%;
	width: min(10rem, 14vw);
}

.yamato-product-page__icon--fish {
	right: 3%;
	top: 42%;
	width: min(8.75rem, 12vw);
}

.yamato-product-page__icon--shrimp {
	left: 4%;
	bottom: 8%;
	width: min(7.5rem, 10vw);
}

.yamato-product-page__side-label {
	left: clamp(1rem, 3vw, 2.5rem);
	top: 5rem;
}

.yamato-product-single {
	margin: 0;
}

.yamato-product-single__entity {
	padding: 4rem 0 0;
	width: 100%;
}

.yamato-product-single__hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	margin-bottom: 3.75rem;
}

.yamato-product-single__hero-media {
	min-width: 0;
}

.yamato-product-single__hero-body {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.yamato-product-single__hero-content {
	position: relative;
	z-index: 2;
	padding-left: 1.75rem;
}

.yamato-product-single__hero-content::before {
	content: "";
	position: absolute;
	top: 0.35rem;
	left: 0;
	bottom: 0;
	width: 1px;
	background: linear-gradient(180deg, #9c7f4e 0%, #e9dfcd 55%, transparent 100%);
	opacity: 0.65;
}

.yamato-product-single__hero-content-decor {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	overflow: hidden;
}

.yamato-product-single__hero-content-wave {
	position: absolute;
	top: -2rem;
	right: -3rem;
	width: min(13rem, 50%);
	opacity: 0.16;
}

.yamato-product-single__hero-content-wave svg {
	display: block;
	width: 100%;
	height: auto;
}

.yamato-product-single__hero-content-icon {
	position: absolute;
	right: 0;
	bottom: 0.5rem;
	width: min(5rem, 20vw);
	opacity: 0.07;
}

.yamato-product__gallery {
	margin-bottom: 0;
}

.yamato-product__gallery-main {
	overflow: hidden;
	border: 2px solid #f1f1f1;
	padding: 1.5rem;
}

.yamato-product__gallery-link {
	display: block;
}

.yamato-product__gallery-image {
	display: block;
	width: 100%;
	height: auto;
}

.yamato-product__gallery-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

.yamato-product__gallery-thumb {
	display: block;
	width: 88px;
	height: 88px;
	overflow: hidden;
}

.yamato-product__gallery-thumb-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.yamato-product__intro {
	margin-bottom: 2rem;
}

.yamato-product-single__hero-body .yamato-product__intro {
	margin-bottom: 0;
}

.yamato-product-single__hero-body .yamato-product__title::after {
	content: "";
	display: block;
	width: 3.5rem;
	height: 2px;
	margin-top: 1rem;
	background: #9c7f4e;
}

.yamato-product__title {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.15;
	font-weight: 400;
}

.yamato-product__meta {
	display: block;
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	line-height: 1rem;
	color: #a8a7a8;
}

.yamato-product__meta-item:not(:last-child) {
	border-right: 1px solid #d7bfab;
	padding-right: 0.5rem;
	margin-right: 0.5rem;
}

.yamato-product__excerpt {
	color: #595758;
}

.yamato-product__excerpt > :last-child {
	margin-bottom: 0;
}

.yamato-product__divider {
	position: relative;
	margin: 1.5rem 0 1.75rem;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		#e9dfcd 18%,
		#d7bfab 50%,
		#e9dfcd 82%,
		transparent 100%
	);
}

.yamato-product__divider::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 0.5rem;
	height: 0.5rem;
	background: #9c7f4e;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px #d7bfab;
	transform: translate(-50%, -50%) rotate(45deg);
}

.yamato-product-single__hero-body .yamato-product__purchase {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.yamato-product__purchase {
	margin-bottom: 0;
}

.yamato-product__price {
	margin-bottom: 1.5rem;
}

.yamato-product__price p {
	margin: 0;
	font-size: 1.875rem;
	line-height: 2rem;
	color: #040a1c;
}

.yamato-product__price-label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.2;
	color: #9c7f4e;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.yamato-product__price .amount {
	font-weight: 700;
}

/* Корзина на single — полноценная кнопка, красная как в карточках */
.yamato-product__cart .yamato-menu__cart-controls--single {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.yamato-product__cart .yamato-menu__cart-controls--single:not(.is-empty) .yamato-menu__add-to-cart {
	display: none;
}

.yamato-product__cart .yamato-menu__cart-controls--single.is-empty .yamato-menu__add-to-cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	width: auto;
	height: auto;
	min-height: 3rem;
	padding: 0.75rem 2rem;
	border: 2px solid #ca3c3f;
	border-radius: 0;
	background: transparent;
	color: #282f40;
	font-size: 1rem;
	line-height: 1.2;
	white-space: nowrap;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.yamato-product__cart .yamato-menu__cart-controls--single.is-empty .yamato-menu__add-to-cart .material-icons {
	font-size: 1.25rem;
	line-height: 1;
}

.yamato-product__cart .yamato-menu__cart-controls--single.is-empty .yamato-menu__add-to-cart:hover {
	background: #ca3c3f;
	border-color: #ca3c3f;
	color: #fff;
}

.yamato-product__cart .yamato-menu__cart-controls--single .yamato-menu__quantity {
	width: 11.25rem;
	margin-right: 0.5rem;
}

.yamato-product__cart .yamato-menu__cart-controls--single .yamato-menu__qty-input {
	height: 3rem;
	font-size: 1rem;
}

.yamato-product__cart .yamato-menu__cart-controls--single .yamato-menu__qty-btn {
	min-width: 2.5rem;
	height: 3rem;
	font-size: 1.125rem;
}

.yamato-product__info {
	margin-bottom: 3.75rem;
	font-size: 1.125rem;
	line-height: 2rem;
	color: #595758;
}

.yamato-product__tabs {
	display: flex;
	align-items: flex-start;
	gap: 2rem;
}

.yamato-product__tabs-nav {
	flex: 0 0 20rem;
	max-width: 20rem;
	display: block;
	margin: 0;
}

.yamato-product__tabs-item {
	display: block;
	margin: 0;
}

.yamato-product__tabs-item:not(:last-child) {
	margin-bottom: 0.5rem;
}

.yamato-product__tabs-link {
	display: inline-block;
	width: auto;
	max-width: 100%;
	padding: 0 0 0.35rem;
	border: 0;
	border-bottom: 2px solid transparent;
	background: none;
	color: #ca3c3f;
	font-family: var(--yamato-font-body);
	font-size: 1.3125rem;
	line-height: 1.35;
	text-align: left;
	cursor: pointer;
	transition: color 0.3s ease, border-color 0.3s ease;
}

.yamato-product__tabs-link:hover {
	color: #040a1c;
}

body.yamato-body .yamato-product__tabs-link {
	border-bottom: 2px solid transparent;
}

body.yamato-body .yamato-product__tabs-item.is-active .yamato-product__tabs-link {
	color: #040a1c;
	border-bottom-color: #040a1c;
}

.yamato-product__tabs-link::after {
	content: none;
}

.yamato-product__tabs-panels {
	flex: 1 1 auto;
	min-width: 0;
}

.yamato-product__tabs-panel {
	display: none;
	padding-top: 0;
	font-size: 1rem;
	line-height: 1.5rem;
	color: #595758;
}

.yamato-product__tabs-panel.is-active {
	display: block;
}

.yamato-product__tab-list {
	display: grid;
	gap: 0.5rem;
}

.yamato-product__tab-list-item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.yamato-product__tab-list-item .material-icons-outlined {
	flex: 0 0 auto;
	font-size: 1.25rem;
	line-height: 1.5rem;
	color: #040a1c;
}

.yamato-product__tab-list-text {
	display: inline;
}

.yamato-product__tab-list-label {
	font-weight: 500;
	color: #040a1c;
}

.yamato-product__footer {
	margin-bottom: 3rem;
	padding: 2rem 0;
	border-top: 1px solid #e9dfcd;
	border-bottom: 1px solid #e9dfcd;
}

.yamato-product__share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.yamato-product__share-label {
	font-size: 1.125rem;
	color: #040a1c;
}

.yamato-product__share-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	margin: -0.75rem -0.5rem 0;
	padding: 0;
	list-style: none;
}

.yamato-product__share-links > li {
	padding: 0.75rem 0.5rem 0;
}

.yamato-product__share-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	min-height: 2rem;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.yamato-product__share-link:hover {
	opacity: 0.85;
	transform: translateY(-1px);
}

.yamato-product__share-icon {
	display: block;
	width: 1.5rem;
	height: 1.5rem;
	object-fit: contain;
}

.yamato-product__share-icon--max {
	border-radius: 0.3125rem;
}

.yamato-product__nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	margin-bottom: 4rem;
}

.yamato-product__nav-link {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 0;
	color: #040a1c;
}

.yamato-product__nav-link--next {
	justify-content: flex-end;
	text-align: right;
	flex-direction: row-reverse;
}

.yamato-product__nav-thumb {
	flex: 0 0 88px;
	width: 88px;
	height: 88px;
	margin: 0;
	overflow: hidden;
}

.yamato-product__nav-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.yamato-product__nav-label {
	display: block;
	font-size: 0.875rem;
	color: #7a7879;
}

.yamato-product__nav-title {
	display: block;
	font-size: 1.125rem;
	line-height: 1.3;
}

.yamato-product__related {
	margin-bottom: 4rem;
}

.yamato-product__related-title {
	margin: 0 0 2rem;
	font-size: 2.25rem;
	line-height: 1.2;
}

.yamato-product__related-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

.yamato-product__related-grid .yamato-menu__product {
	height: 100%;
	padding: 1rem;
}

.yamato-product__related-grid .yamato-menu__product-body {
	padding-top: 0.875rem;
	font-size: 0.875rem;
	line-height: 1.35rem;
}

.yamato-product__related-grid .yamato-menu__product-title {
	font-size: 1rem;
	line-height: 1.35rem;
}

.yamato-product__related-grid .yamato-menu__product-meta {
	margin-bottom: 0.5rem;
	font-size: 0.75rem;
	line-height: 1rem;
}

.yamato-product__related-grid .yamato-menu__product-excerpt {
	display: -webkit-box;
	margin-bottom: 0.75rem;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.yamato-product__related-grid .yamato-menu__product-price {
	font-size: 1.125rem;
	line-height: 1.5rem;
}

.yamato-product__related-grid .yamato-menu__add-to-cart,
.yamato-product__related-grid .yamato-menu__qty-btn {
	min-width: 2.25rem;
	height: 2.25rem;
}

.yamato-product__related-grid .yamato-menu__qty-input {
	height: 2.25rem;
	font-size: 0.875rem;
}

.yamato-product__related-grid .yamato-menu__quantity {
	width: 6.5rem;
}

.yamato-product__comments {
	margin-bottom: 2rem;
}

.yamato-product__comments-title {
	margin: 0 0 2rem;
	font-size: 2.25rem;
	line-height: 1.2;
}

.yamato-product__comments-list {
	display: grid;
	gap: 2rem;
}

.yamato-product__comment-body {
	display: flex;
	gap: 1.25rem;
}

.yamato-product__comment-avatar img {
	border-radius: 50%;
}

.yamato-product__comment-author {
	margin: 0 0 0.35rem;
	font-size: 1.125rem;
	line-height: 1.3;
}

.yamato-product__comment-meta {
	margin-bottom: 0.75rem;
	font-size: 0.875rem;
	color: #7a7879;
}

.yamato-product__comment-content > :last-child {
	margin-bottom: 0;
}

@media (min-width: 992px) {
	.yamato-product-single__hero {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		gap: 3rem;
		align-items: start;
	}

	.yamato-product-single__hero-body {
		padding-top: 0.5rem;
	}
}

@media (max-width: 1199px) {
	.yamato-product-page__wave,
	.yamato-product-page__icon {
		opacity: 0.07;
	}

	.yamato-product-page__side-label {
		display: none;
	}

	.yamato-product__related-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.yamato-product-single__entity {
		padding-top: 2.5rem;
	}

	.yamato-product__related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.yamato-product-page__decor {
		display: none;
	}

	.yamato-product-single__hero-content {
		padding-left: 1.25rem;
	}

	.yamato-product-single__hero-content-wave,
	.yamato-product-single__hero-content-icon {
		opacity: 0.05;
	}

	.yamato-product__tabs {
		flex-direction: column;
		gap: 1.5rem;
	}

	.yamato-product__tabs-nav {
		flex: none;
		max-width: none;
		width: 100%;
	}

	.yamato-product__tabs-item:not(:last-child) {
		margin-bottom: 0.375rem;
	}

	.yamato-product__tabs-link {
		font-size: 1.1875rem;
	}

	.yamato-product__nav {
		grid-template-columns: 1fr;
	}

	.yamato-product__nav-link--next {
		justify-content: flex-start;
		text-align: left;
		flex-direction: row;
	}

	.yamato-product__comment-body {
		flex-direction: column;
	}
}

@media (max-width: 640px) {
	.yamato-product__related-title {
		margin-bottom: 1.25rem;
		font-size: 1.5rem;
	}

	.yamato-product__related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.875rem;
	}

	.yamato-product__related-grid .yamato-menu__product {
		padding: 0.75rem;
	}

	.yamato-product__related-grid .yamato-menu__product-body {
		padding-top: 0.625rem;
		font-size: 0.8125rem;
		line-height: 1.25rem;
	}

	.yamato-product__related-grid .yamato-menu__product-title {
		font-size: 0.875rem;
		line-height: 1.25rem;
	}

	.yamato-product__related-grid .yamato-menu__product-meta {
		margin-bottom: 0.375rem;
		font-size: 0.6875rem;
		line-height: 0.875rem;
	}

	.yamato-product__related-grid .yamato-menu__product-excerpt {
		display: none;
	}

	.yamato-product__related-grid .yamato-menu__product-price {
		font-size: 0.9375rem;
		line-height: 1.25rem;
	}

	.yamato-product__related-grid .yamato-menu__add-to-cart,
	.yamato-product__related-grid .yamato-menu__qty-btn {
		min-width: 2rem;
		height: 2rem;
	}

	.yamato-product__related-grid .yamato-menu__qty-input {
		height: 2rem;
		font-size: 0.8125rem;
	}

	.yamato-product__related-grid .yamato-menu__quantity {
		width: 5.75rem;
	}
}

@media (max-width: 392px) {
	.yamato-product__related-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 1rem;
	}

	.yamato-product__related-grid .yamato-menu__product {
		padding: 1rem;
	}

	.yamato-product__related-grid .yamato-menu__product-title {
		font-size: 1rem;
	}

	.yamato-product__related-grid .yamato-menu__product-meta {
		font-size: 0.75rem;
	}

	.yamato-product__related-grid .yamato-menu__product-price {
		font-size: 1rem;
	}

	.yamato-product-single__hero-content {
		padding-left: 0;
	}

	.yamato-product-single__hero-content::before {
		display: none;
	}
}
