.product-page {
	padding: 32px 0 72px;
	background: #fff;
}

.product-page__container {
	max-width: 1320px;
}

.product-page__top {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(320px, 420px);
	gap: 40px;
	align-items: start;
	margin-bottom: 56px;
}

.product-gallery {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
	min-width: 0;
}

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

.product-gallery__thumb {
	display: block;
	width: 100%;
	padding: 0;
	border: 1px solid #e2e2e2;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.18s ease, opacity 0.18s ease;
}

.product-gallery__thumb:hover,
.product-gallery__thumb.is-active {
	border-color: #111;
}

.product-gallery__thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1.16;
	object-fit: cover;
}

.product-gallery__main-wrap {
	position: relative;
	min-width: 0;
}

.product-badge {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 16px;
	background: #111;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.product-gallery__mobile {
	display: none;
}

.product-gallery__mobile-track {
	display: flex;
}

.product-gallery__mobile-slide {
	flex: 0 0 100%;
}

.product-gallery__mobile-slide img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1.08;
	object-fit: cover;
}

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

.product-gallery__main {
	background: #f5f5f5;
	overflow: hidden;
}

.product-gallery__main img,
.product-gallery__main-image {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1.08;
	object-fit: cover;
}

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

.product-summary__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 10px;
}

.product-summary__details {
	min-width: 0;
	flex: 1 1 auto;
}

.product-summary__save-like {
	flex: 0 0 auto;
	display: flex;
	align-items: flex-start;
	padding-top: 2px;
}

.product-summary__designer {
	margin: 0 0 8px;
	font-size: 15px;
	line-height: 1.25;
	font-weight: 800;
	color: #111;
	text-decoration: underline;
	text-underline-offset: 2px;
	text-transform: uppercase;
}

.product-love-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: #111;
	cursor: pointer;
	flex: 0 0 auto;
	transition: opacity 0.18s ease;
}

.product-love-button:hover {
	opacity: 0.7;
}

.product-love-button__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.product-love-button__icon svg {
	display: block;
	width: 20px;
	height: 17px;
}

.product-love-button__icon--filled {
	display: none;
}

.product-love-button.is-loved .product-love-button__icon--outline {
	display: none;
}

.product-love-button.is-loved .product-love-button__icon--filled {
	display: inline-flex;
}

.product-summary__title {
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.35;
	font-weight: 400;
	letter-spacing: 0;
	color: #111;
}

.product-summary__meta {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.45;
	color: #7a7a7a;
}

.product-summary__price {
	margin: 0 0 24px;
	font-size: 28px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #111;
}

.product-summary__price .amount {
	color: #111;
	font-weight: inherit;
}

.product-summary__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 28px;
}

.product-summary__actions .product-action,
.product-summary__actions .product-message-form {
	width: 100%;
}

.product-message-form {
	width: 100%;
	margin: 0;
}

.product-message-form .product-action {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.product-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 20px;
	border: 1px solid #d9d9d9;
	font-size: 15px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.product-action--primary {
	border-color: #111;
	background: #111;
	color: #fff;
}

.product-action--primary:hover {
	background: #222;
	border-color: #222;
	color: #fff;
}

.product-action--secondary {
	background: #fff;
	color: #111;
}

.product-action--secondary:hover {
	background: #f7f7f7;
	color: #111;
}

.product-panel {
	padding: 24px 0;
	border-top: 1px solid #ececec;
}

.product-panel:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.product-panel__title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

.product-panel__title {
	margin: 0 0 14px;
	font-size: 16px;
	line-height: 1.2;
	font-weight: 800;
	color: #111;
}

.product-panel__title-row .product-panel__title,
.product-trust-panel__title .product-panel__title {
	margin-bottom: 0;
}

.product-panel__link {
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none;
	color: #2952ff;
	white-space: nowrap;
}

.product-panel__content {
	font-size: 15px;
	line-height: 1.7;
	color: #222;
}

.product-panel__content--description p {
	margin: 0 0 14px;
}

.product-panel__content--description p:last-child {
	margin-bottom: 0;
}

.product-details-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 18px;
}

.product-details-list__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	font-size: 14px;
	line-height: 1.45;
}

.product-details-list__label {
	color: #777;
	flex: 0 0 120px;
}

.product-details-list__value {
	color: #111;
	font-weight: 600;
	text-align: right;
}

.product-seller-card__header {
	display: flex;
	align-items: center;
	gap: 14px;
}

.product-seller-card__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #111;
	color: #fff;
	font-size: 18px;
	font-weight: 800;
	flex: 0 0 auto;
	object-fit: cover;
}

.product-seller-card__meta {
	min-width: 0;
	flex: 1 1 auto;
}

.product-seller-card__name {
	font-size: 18px;
	line-height: 1.2;
	font-weight: 800;
	color: #111;
	margin-bottom: 4px;
}

.product-seller-card__submeta {
	font-size: 14px;
	line-height: 1.45;
	color: #777;
}

.product-seller-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	margin-left: auto;
	padding: 0 12px;
	border: 1px solid #d8d8d8;
	background: #fff;
	color: #111;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	flex: 0 0 auto;
}

.product-seller-card__button:hover {
	background: #f7f7f7;
	color: #111;
}

.product-trust-panel {
	background: #fafafa;
	padding: 24px 20px;
	border: 1px solid #ececec;
	margin-top: 8px;
}

.product-trust-panel__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.product-trust-panel__title-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
}

.product-trust-panel__title-icon svg {
	display: block;
	width: 20px;
	height: 20px;
}

.product-feedback-placeholder {
	padding: 18px 16px;
	border: 1px solid #ececec;
	background: #fafafa;
	font-size: 14px;
	line-height: 1.55;
	color: #666;
}

.product-section {
	margin-top: 52px;
	padding-top: 28px;
	border-top: 1px solid #ececec;
}

.product-section__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.product-section__title {
	margin: 0;
	font-size: 28px;
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #111;
}

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

.product-card {
	display: block;
	color: inherit;
	text-decoration: none;
	min-width: 0;
}

.product-card__image-wrap {
	background: #f3f3f3;
	overflow: hidden;
	margin-bottom: 12px;
}

.product-card__image-wrap img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1.16;
	object-fit: cover;
	transition: transform 0.2s ease;
}

.product-card:hover .product-card__image-wrap img {
	transform: scale(1.02);
}

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

.product-card__title-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}

.product-card__title {
	font-size: 13px;
	line-height: 1.35;
	font-weight: 800;
	text-transform: uppercase;
	color: #111;
	word-break: break-word;
}

.product-card__size {
	font-size: 12px;
	line-height: 1.3;
	font-weight: 800;
	color: #111;
	white-space: nowrap;
	flex: 0 0 auto;
}

.product-card__price {
	font-size: 15px;
	line-height: 1.3;
	font-weight: 800;
	color: #111;
}

.product-card__price .amount {
	color: inherit;
	font-weight: inherit;
}

@media (max-width: 1180px) {
	.product-page__top {
		grid-template-columns: minmax(0, 1fr) 380px;
		gap: 28px;
	}

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

@media (max-width: 980px) {
	.product-page {
		padding: 24px 0 56px;
	}

	.product-page__top {
		grid-template-columns: 1fr;
		gap: 28px;
	}

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

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

@media (max-width: 640px) {
	.product-page {
		padding: 18px 0 42px;
	}

	.product-page__container {
		padding-left: 16px;
		padding-right: 16px;
	}

	.product-page__top {
		margin-bottom: 36px;
	}

	.product-gallery {
		display: block;
	}

	.product-gallery__thumbs,
	.product-gallery__main {
		display: none;
	}

	.product-gallery__main-wrap {
		position: relative;
	}

	.product-gallery__mobile {
		display: block;
	}

	.product-gallery__mobile-track {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.product-gallery__mobile-track::-webkit-scrollbar {
		display: none;
	}

	.product-gallery__mobile-slide {
		flex: 0 0 100%;
		scroll-snap-align: start;
		background: #f5f5f5;
	}

	.product-gallery__mobile-slide img {
		display: block;
		width: 100%;
		aspect-ratio: 1 / 1.08;
		object-fit: cover;
	}

	.product-gallery__mobile-dots {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		margin-top: 12px;
	}

	.product-gallery__mobile-dot {
		width: 7px;
		height: 7px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #d5d5d5;
		cursor: pointer;
	}

	.product-gallery__mobile-dot.is-active {
		background: #111;
	}

	.product-badge {
		top: 12px;
		left: 12px;
		min-height: 34px;
		padding: 0 12px;
		font-size: 11px;
	}

	.product-summary__head {
		align-items: flex-start;
		gap: 14px;
	}

	.product-summary__designer {
		margin-bottom: 8px;
		font-size: 14px;
	}

	.product-summary__title {
		font-size: 18px;
		line-height: 1.35;
	}

	.product-summary__meta {
		font-size: 13px;
		margin-bottom: 14px;
	}

	.product-summary__price {
		font-size: 24px;
		margin-bottom: 18px;
	}

	.product-summary__actions {
		gap: 10px;
		margin-bottom: 22px;
	}

	.product-action {
		min-height: 50px;
		font-size: 14px;
		letter-spacing: 0.05em;
	}

	.product-panel {
		padding: 20px 0;
	}

	.product-panel__title {
		font-size: 15px;
		margin-bottom: 12px;
	}

	.product-panel__content {
		font-size: 14px;
		line-height: 1.65;
	}

	.product-details-list__row {
		flex-direction: column;
		gap: 4px;
	}

	.product-details-list__label {
		flex: none;
	}

	.product-details-list__value {
		text-align: left;
	}

	.product-seller-card__header {
		align-items: flex-start;
	}

	.product-seller-card__avatar {
		width: 46px;
		height: 46px;
		font-size: 16px;
	}

	.product-seller-card__name {
		font-size: 16px;
	}

	.product-seller-card__button {
		height: 32px;
		padding: 0 10px;
		font-size: 10px;
	}

	.product-trust-panel {
		padding: 20px 16px;
	}

	.product-section {
		margin-top: 38px;
		padding-top: 22px;
	}

	.product-section__title {
		font-size: 24px;
	}

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

	.product-card__title {
		font-size: 12px;
	}

	.product-card__price {
		font-size: 14px;
	}
}

@media (max-width: 420px) {
	.product-summary__title {
		font-size: 17px;
	}

	.product-summary__price {
		font-size: 22px;
	}

	.product-card-grid {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}
}
