.radio-group__item.selected {
	background-color: #F2C91C;
    border-color: #F2C91C;
    color: #212121;
}

.product__field:last-child {
	margin: 0 0 20px !important;
}

.sku-prop-block {
	margin: 0 0 0.5em;
}


.product__btn {
	margin: 0 0 12px !important;
}


.no-select {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

input[type='number'] {
	-moz-appearance: textfield;
	appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button { -webkit-appearance: none; }


.catalog-compare-list + *[class] {
	    margin-top: 0;
}

.product__anons {
  margin: 0 0 15px;
  padding-bottom: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  border-bottom: 1px solid #eee; /* лёгкое разделение */
  max-width: 700px;
}

/* Product Image Zoom Styles */
.product__img-zoom {
  cursor: zoom-in;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.product__img-zoom:hover {
  opacity: 0.9;
}

.product-zoom-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

.product-zoom-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: auto;
  touch-action: pan-x pan-y pinch-zoom;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .product-zoom-image {
    max-width: 95%;
    max-height: 95%;
  }
  
  .product-zoom-container {
    background: rgba(0, 0, 0, 0.98);
  }
}

/* Поддержка touch-устройств */
@media (hover: none) and (pointer: coarse) {
  .product__img-zoom {
    cursor: pointer;
  }
  
  .product__img-zoom:active {
    opacity: 0.8;
  }

  .product-zoom-nav {
    width: 44px !important;
    height: 44px !important;
    font-size: 24px !important;
  }

  .product-zoom-nav--prev {
    left: 10px !important;
  }

  .product-zoom-nav--next {
    right: 10px !important;
  }
}

/* Стили для кнопок навигации */
.product-zoom-nav:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
}

.product-zoom-nav:active {
  transform: translateY(-50%) scale(0.95);
}

/* Индикатор изображений */
.product-zoom-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-zoom-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.product-zoom-dot:hover {
  transform: scale(1.2);
}

.product__delivery-item {
    display: flex;
    gap: 10px;
    margin: 7px 0;
    align-items: baseline;
}

.product__help {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid #eee;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.product__help strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: #212121;
  margin-bottom: 4px;
}

.quantity-control,
.product__quantity-control {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}

.product__quantity-control {
	justify-content: center;
	max-width: 310px;
	margin: 0 auto 12px;
}

.basket-quantity-control {
	justify-content: flex-start;
	margin: 0;
}

.quantity-btn,
.product__quantity-btn {
	flex: 0 0 60px;
	height: 58px;
	border-radius: 12px;
	border: 1px solid #E0E3EB;
	background: #F5F7FA;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	line-height: 1;
	font-weight: 600;
	color: #1A1A1A;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.quantity-btn:hover,
.product__quantity-btn:hover {
	background: #E9ECF2;
	border-color: #C9CEDA;
}

.quantity-input,
.product__quantity-input {
	flex: 1 1 auto;
	min-width: 96px;
	height: 58px;
	border-radius: 12px;
	border: 1px solid #E0E3EB;
	background: #fff;
	text-align: center;
	font-weight: 600;
	font-size: 18px;
	color: #1A1A1A;
}

.basket-quantity-control .quantity-btn {
	flex: 0 0 52px;
}

.basket-quantity-control .basket-item-amount-filed-block {
	flex: 1 1 auto;
}

.basket-quantity-control .basket-item-amount-filed {
	width: 100%;
}

.product__benefit {
	margin-bottom: 12px;
	font-size: 14px;
	color: #1A1A1A;
	display: flex;
	gap: 6px;
	align-items: baseline;
}

.product__benefit-caption {
	font-weight: 500;
	color: #6D737F;
}

.product__benefit-value {
	font-weight: 600;
	color: #E74C3C;
}

.help-phone {
  font-weight: 600;
  color: #212121;
  text-decoration: none;
  transition: color 0.2s ease;
}

.help-phone:hover {
  color: #F2C91C;
}

.help-tg {
  color: #229ED9;
  font-weight: 500;
  text-decoration: none;
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s ease;
}

.help-tg:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
	.quantity-control,
	.product__quantity-control {
		gap: 8px;
	}

	.quantity-btn,
	.product__quantity-btn,
	.quantity-input,
	.product__quantity-input,
	.catalog-quantity-control .quantity-btn,
	.catalog-quantity-control .quantity-input,
	.basket-quantity-control .quantity-btn,
	.basket-quantity-control .quantity-input {
		height: 52px;
		font-size: 18px;
	}
}

@media (max-width: 480px) {
	.product__quantity-control {
		max-width: 100%;
		margin: 0 0 12px;
	}

	.quantity-btn,
	.product__quantity-btn,
	.quantity-input,
	.product__quantity-input {
		height: 48px;
		font-size: 16px;
	}

	.basket-quantity-control .quantity-btn {
		flex: 0 0 44px;
	}
}

/* Стили для галереи сертификатов */
.gallery--certificates {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
	margin: 30px 0;
}

.gallery--certificates .gallery__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid #E0E3EB;
	border-radius: 12px;
	padding: 20px;
	transition: all 0.3s ease;
	text-decoration: none;
	color: #1A1A1A;
	min-height: 200px;
	overflow: hidden;
}

.gallery--certificates .gallery__item:hover {
	border-color: #F2C91C;
	box-shadow: 0 4px 12px rgba(242, 201, 28, 0.15);
	transform: translateY(-2px);
}

.gallery--certificates .gallery__item-img {
	width: 100%;
	height: auto;
	max-height: 300px;
	object-fit: contain;
	border-radius: 8px;
	transition: opacity 0.3s ease;
}

/* Переопределяем стили hover для сертификатов */
.gallery--certificates .gallery__item:before,
.gallery--certificates .gallery__item:after {
	display: none !important;
}

.gallery--certificates .gallery__item:hover .gallery__item-img {
	opacity: 1 !important;
}

/* Стили для файлов (PDF и другие документы) */
.gallery__item-file {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	text-align: center;
}

.gallery__item-file-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	color: #F2C91C;
	flex-shrink: 0;
}

.gallery__item-file-icon svg {
	width: 100%;
	height: 100%;
}

.gallery__item-file-name {
	font-size: 14px;
	font-weight: 500;
	color: #1A1A1A;
	line-height: 1.4;
	word-break: break-word;
	max-width: 100%;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.gallery__item-file-type {
	font-size: 12px;
	font-weight: 600;
	color: #6D737F;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.gallery--certificates .gallery__item:hover .gallery__item-file-icon {
	color: #1A1A1A;
	transform: scale(1.1);
	transition: all 0.3s ease;
}

.gallery--certificates .gallery__item:hover .gallery__item-file-name {
	color: #F2C91C;
}

/* Адаптивность для галереи сертификатов */
@media (max-width: 1200px) {
	.gallery--certificates {
		grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
		gap: 16px;
	}
}

@media (max-width: 768px) {
	.gallery--certificates {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 12px;
		margin: 20px 0;
	}

	.gallery--certificates .gallery__item {
		padding: 16px;
		min-height: 160px;
	}

	.gallery__item-file-icon {
		width: 48px;
		height: 48px;
	}

	.gallery__item-file-name {
		font-size: 13px;
	}

	.gallery__item-file-type {
		font-size: 11px;
	}
}

@media (max-width: 480px) {
	.gallery--certificates {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
		margin: 16px 0;
	}

	.gallery--certificates .gallery__item {
		padding: 12px;
		min-height: 140px;
	}

	.gallery__item-file-icon {
		width: 40px;
		height: 40px;
	}

	.gallery__item-file-name {
		font-size: 12px;
		-webkit-line-clamp: 2;
	}

	.gallery__item-file-type {
		font-size: 10px;
	}

	.gallery--certificates .gallery__item-img {
		max-height: 200px;
	}
}

