.product-detail {
	margin: 0 auto;
	padding: 24px 0;
	font-family: "roboto_ltregular", arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #000;
	padding-top: 0 !important;
}

.product-detail__breadcrumbs {
	margin-bottom: 16px;
	font-size: 13px;
	color: #666;
}

.product-detail__breadcrumbs a {
	color: #666;
	text-decoration: none;
}

.product-detail__breadcrumbs a:hover {
	text-decoration: underline;
}

.product-detail__breadcrumbs span {
	color: #999;
	margin: 0 4px;
}

.product-detail__title {
	margin: 0 0 8px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
}

.product-detail__article {
	margin-bottom: 24px;
	font-size: 13px;
	color: #666;
}

.product-detail__layout {
	display: flex;
	gap: 32px;
	align-items: flex-start;
}

.product-detail__gallery {
	position: relative;
	flex-shrink: 0;
	display: flex;
	gap: 12px;
	align-items: center;
}

.product-detail__thumbs {
	position: absolute;
	top: 12px;
	left: 12px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.product-detail__thumb {
	width: 52px;
	height: 52px;
	object-fit: cover;
	border: 1px solid #E9E9E9;
	border-radius: 2px;
	cursor: pointer;
	transition: border-color 0.2s;
}

.product-detail__thumb:hover,
.product-detail__thumb.is-active {
	border-color: #2563eb;
}

.product-detail__main-wrap {
	width: 520px;
	height: 420px;
	background: #fff;
	border-radius: 2px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #E9E9E9;
}

.product-detail__main-img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.product-detail__content {
	flex: 1;
	min-width: 0;
	max-width: 434px;
}

.product-detail__desc-title {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 700;
}

.product-detail__desc-text {
	margin: 0 0 20px;
	color: #333;
}

.product-detail__specs-title {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
}

.product-detail__specs-list {
	margin: 0 0 12px;
	list-style: none;
	padding: 0;
}

.product-detail__spec-row {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	border-bottom: 1px solid #e5e5e5;
	gap: 16px;
}

.product-detail__spec-name {
	color: #666;
	flex-shrink: 0;
}

.product-detail__spec-value {
	text-align: right;
}

.product-detail__all-specs {
	color: #2563eb;
	font-size: 14px;
	text-decoration: none;
}

.product-detail__all-specs:hover {
	text-decoration: underline;
}

.product-detail__sidebar {
	flex-shrink: 0;
	width: 280px;
	padding: 0;
}

.product-detail__brand {
	margin-bottom: 20px;
}

.product-detail__brand img {
	max-height: 32px;
	width: auto;
}

.product-detail__price-block {
	background: #ebebeb;
	border-radius: 6px;
	padding: 16px;
	margin-bottom: 20px;
}

.product-detail__price-label {
	font-size: 13px;
	color: #666;
	margin-bottom: 4px;
}

.product-detail__price-old {
	font-size: 14px;
	color: #999;
	text-decoration: line-through;
	margin-bottom: 4px;
}

.product-detail__price-current {
	font-size: 24px;
	font-weight: 700;
	color: #000;
	margin: 0;
	max-width: 70%;
}

.product-detail__discount-badge {
	display: inline-block;
	background: #e53935;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	border-radius: 4px;
	padding: 2px 8px;
	margin-bottom: 8px;
}

.product-detail__delivery-label {
	font-size: 13px;
	color: #666;
	margin-bottom: 10px;
}

.product-detail__delivery-btns {
	display: flex;
	width: 280px;
	height: 38px;
	margin-bottom: 20px;
	border-radius: 4px;
	padding: 4px;
	overflow: hidden;
	background: #efefef;
}

.product-detail__delivery-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 16px;
	border: none;
	background: #efefef;
	color: #333;
	font-size: 14px;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
	border-radius: 4px;
}

.product-detail__delivery-btn:hover:not(.is-active) {
	background: #e5e5e5;
}

.product-detail__delivery-btn.is-active {
	background: #6b6b6b;
	color: #fff;
}

.product-detail__cart-btn {
	display: block;
	width: 280px;
	padding: 14px 0;
	background: #336699;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s;
}

.product-detail__cart-btn:hover {
	background: #4a5c6d;
}

@media (max-width: 1024px) {
	.product-detail__layout {
		flex-wrap: wrap;
		gap: 20px;
	}

	.product-detail__sidebar {
		width: 100%;
	}

	.product-detail__delivery-btns {
		width: 100%;
		box-sizing: border-box;
	}

	.product-detail__cart-btn {
		width: 100%;
	}
}

.product-specs__cell:last-child {
	font-weight: 700;
}

@media (max-width: 768px) {
	.product-detail__layout {
		gap: 16px;
	}

	.product-description,
	.product-specs {
		margin-top: 42px !important;
	}

	.product-specs__cell:first-child {
		padding-bottom: 0;
	}

	.product-specs__cell:last-child {
		padding-top: 0;
	}

	.product-specs__row {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}


	/* Миниатюры: как на десктопе — абсолютно внутри фото, но 30×30 */
	.product-detail__gallery {
		width: 100%;
	}

	.product-detail__main-wrap {
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 3;
	}

	.product-detail__thumb {
		width: 30px;
		height: 30px;
	}

	.product-detail__title {
		font-size: 20px;
	}

	.product-detail__price-current {
		font-size: 22px;
		max-width: 100%;
	}

	.product-detail__price-block-inner {
		max-width: 100%;
	}

	.product-detail__delivery-btns {
		width: 100%;
		box-sizing: border-box;
	}

	/* Логотип по центру на мобилке */
	.product-detail__brand {
		text-align: center;
	}

	.product-detail__cart-btn {
		width: 100%;
	}

	/* Таблица характеристик: карточная верстка на мобилке */
	.product-specs__table,
	.product-specs__table tbody {
		display: block;
	}

	.product-specs__row {
		display: block;
		padding: 10px 12px 12px;
	}

	.product-specs__cell {
		display: block;
		padding: 0;
		width: auto !important;
		font-size: 14px;
	}

	/* Название — мелкий серый текст */
	.product-specs__cell:first-child {
		font-size: 12px;
		color: #888;
		font-weight: 400;
		margin-bottom: 4px;
	}

	/* Значение — жирный чёрный текст */
	.product-specs__cell:last-child {
		font-size: 14px;
		color: #000;
		font-weight: 700;
	}

	/* Карусель: peek-эффект — центральное фото + края соседних */
	.product-gallery {
		width: auto;
		left: auto;
		right: auto;
		margin-left: 0;
		margin-right: 0;
		overflow: visible;
		/* разрешаем "выглядывать" соседним фото */
	}

	.product-gallery__scroll {
		width: 100%;
		left: auto;
		right: auto;
		margin-left: 0;
		margin-right: 0;
		justify-content: flex-start;
		/* Боковые отступы = (100% - ширина фото) / 2, чтобы первое/последнее центрировалось */
		padding: 8px 12.5vw 16px;
		box-sizing: border-box;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		overflow-x: auto;
		/* Убираем скроллбар на мобилке */
		scrollbar-width: none;
	}

	.product-gallery__scroll::-webkit-scrollbar {
		display: none;
	}

	.product-gallery__item {
		width: 75vw;
		flex-shrink: 0;
		min-width: 0;
		max-width: none;
		max-height: none;
		aspect-ratio: 4 / 3;
		scroll-snap-align: center;
	}

	/* Стрелки скрываем — тач-скролл достаточен */
	.product-gallery__arrow {
		display: none;
	}


	.product-description {
		padding: 32px 0;
		margin-top: 24px;
	}

	.product-specs {
		padding: 32px 0;
	}

	.product-gallery {
		padding: 32px 0;
	}

	.product-video {
		margin-bottom: 32px;
	}

	.product-detail {
		margin-top: 20px;
	}
}

.product-detail__price-block-inner {
	display: flex;
	max-width: 60%;
	justify-content: space-between;
}

.product-description {
	margin: 0 auto;
	padding: 48px 0;
	background: #fff;
	font-family: "roboto_ltregular", arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #000;
}

.product-description__title {
	margin: 0 0 32px;
	padding-bottom: 12px;
	font-size: 24px;
	font-weight: 700;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

.product-description__list {
	display: flex;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}

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

.product-description__img-wrap {
	margin-bottom: 16px;
	background: #f5f5f5;
	border-radius: 4px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-description__img {
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
	width: 100%;
}

.product-description__heading {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.product-description__text {
	margin: 0;
	color: #333;
}

@media (max-width: 768px) {
	.product-description__list {
		flex-direction: column;
	}
}

.product-specs {
	margin: 0 auto;
	padding: 48px 0;
	background: #fff;
	font-family: "roboto_ltregular", arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: #000;
}

.product-specs__title {
	margin: 0 0 24px;
	font-size: 18px;
	font-weight: 700;
}

.product-specs__table {
	width: 100%;
	border-collapse: collapse;
}

.product-specs__row {
	background: #fff;
}

.product-specs__row:nth-child(even) {
	background: #f5f5f5;
}

.product-specs__cell {
	padding: 12px 16px;
	vertical-align: top;
	text-align: left;
}

.product-specs__cell:first-child {
	width: 40%;
	color: #000;
}

.product-specs__cell:last-child {
	color: #000;
}

.product-gallery {
	position: relative;
	width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding: 48px 0;
	background: #fff;
}

.product-gallery__wrap {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
}

.product-gallery__scroll {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: thin;
	padding: 8px 0 16px;
	justify-content: center;
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.product-gallery__scroll::-webkit-scrollbar {
	height: 6px;
}

.product-gallery__scroll::-webkit-scrollbar-track {
	background: #f0f0f0;
	border-radius: 3px;
}

.product-gallery__scroll::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 3px;
}

.product-gallery__item {
	flex-shrink: 0;
	width: 35%;
	min-width: 260px;
	max-width: 700px;
	height: auto;
	max-height: 346px;
	background: #f5f5f5;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-gallery__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);

	border: none;

	cursor: pointer;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.product-gallery__arrow:hover {
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.product-gallery__arrow img {
	width: 24px;
	height: 24px;
	display: block;
}

.product-gallery__arrow--prev {
	left: 8px;
}

.product-gallery__arrow--next {
	right: 8px;
}

.product-video {
	margin: 0 auto 48px;
	padding: 0;
}

.product-video__inner {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

.product-video__inner iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.product-analogs__scroll {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-behavior: smooth;
	padding: 4px 0 8px;
}
.product-analogs__item {
	flex: 0 0 191px;
	max-width: 191px;
	border: 1px solid #E9E9E9;
	border-radius: 2px;
	padding: 8px 8px 12px;
	background: #fff;
}
.product-analogs__img {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 8px;
	object-fit: cover;
}
.product-analogs__caption {
	font-size: 13px;
	color: #000;
}
.product-analogs__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	cursor: pointer;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.product-analogs__arrow img {
	width: 24px;
	height: 24px;
	display: block;
}
.product-analogs__arrow--prev {
	left: 0;
}
.product-analogs__arrow--next {
	right: 0;
}

.product-analogs {
    margin-top: 12px;
    position: relative;
}