/**

 * Карточка товара — рейтинг и отзывы под заголовком.

 */



/* Дозировка — прямоугольные чипы со скруглением (карточка товара) */
.single-product form.variations_form .wd-swatches-product.wd-swatches-single {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.single-product form.variations_form .wd-swatches-product.wd-swatches-single .wd-swatch.wd-text {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 8px 16px;
	border-radius: var(--wd-brd-radius, 12px);
	background-color: var(--bgcolor-gray-100, #eef2f5);
	border: 1px solid var(--brdcolor-gray-300, #dbe0e4);
	color: var(--wd-text-color, #242424);
	font-weight: 600;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.single-product form.variations_form .wd-swatches-product.wd-swatches-single .wd-swatch.wd-text .wd-swatch-text {
	font-size: 14px;
	line-height: 1.2;
	color: inherit;
}

.single-product form.variations_form .wd-swatches-product.wd-swatches-single .wd-swatch.wd-text.wd-active {
	--wd-swatch-brd-color: var(--wd-primary-color, #2080c9);
	background-color: var(--wd-primary-color, #2080c9);
	border-color: var(--wd-primary-color, #2080c9);
	color: #fff;
	box-shadow: none;
	outline: none;
}

.single-product form.variations_form .wd-swatches-product.wd-swatches-single .wd-swatch.wd-text:hover:not(.wd-disabled):not(.wd-active) {
	--wd-swatch-brd-color: var(--wd-primary-color, #2080c9);
	border-color: var(--wd-primary-color, #2080c9);
}

.single-product form.variations_form .wd-swatches-product.wd-swatches-single .wd-swatch.wd-text.wd-disabled,
.single-product form.variations_form .wd-swatches-product.wd-swatches-single .wd-swatch.wd-text.peptide-swatch-oos {
	opacity: 0.42;
	color: var(--color-gray-500, #767676);
	background-color: var(--bgcolor-gray-100, #f0f2f4);
	border-color: var(--brdcolor-gray-300, #dbe0e4);
	cursor: pointer;
}

.single-product form.variations_form .wd-swatches-product.wd-swatches-single .wd-swatch.wd-text.peptide-swatch-oos .wd-swatch-text {
	color: inherit;
}

/* Выбранная недоступная доза — акцент primary, но чуть приглушён */
.single-product form.variations_form .wd-swatches-product.wd-swatches-single .wd-swatch.wd-text.peptide-swatch-oos.wd-active {
	opacity: 0.72;
	--wd-swatch-brd-color: var(--wd-primary-color, #2080c9);
	background-color: var(--wd-primary-color, #2080c9);
	border-color: var(--wd-primary-color, #2080c9);
	color: #fff;
	box-shadow: none;
}

.single-product form.variations_form a.reset_variations,
.single-product form.variations_form .reset_variations {
	display: none !important;
}

.single-product form.variations_form table.variations {
	margin-bottom: 6px !important;
}

.single-product form.variations_form .single_variation_wrap {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.single-product form.variations_form .woocommerce-variation-add-to-cart {
	margin-top: 0;
	padding-top: 0;
}

.single-product form.variations_form .single_variation {
	margin-bottom: 0;
}

/* Наличие вариации — бейдж в духе summary-notice */
.single-product form.variations_form .woocommerce-variation-availability {
	margin: 10px 0 4px;
}

.single-product form.variations_form .woocommerce-variation-availability .stock {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 8px 14px;
	border-radius: var(--wd-brd-radius, 12px);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0.01em;
}

.single-product form.variations_form .woocommerce-variation-availability .stock::before {
	content: "";
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

.single-product form.variations_form .woocommerce-variation-availability .stock.out-of-stock {
	background: rgba(185, 28, 28, 0.06);
	border: 1px solid rgba(185, 28, 28, 0.18);
	color: #9f1239;
}

.single-product form.variations_form .woocommerce-variation-availability .stock.out-of-stock::before {
	content: "\00d7";
	background: #be123c;
	font-size: 13px;
}

.single-product form.variations_form .woocommerce-variation-availability .stock.in-stock {
	background: rgba(46, 155, 82, 0.08);
	border: 1px solid rgba(46, 155, 82, 0.22);
	color: #1f7a3f;
}

.single-product form.variations_form .woocommerce-variation-availability .stock.in-stock::before {
	content: "\2713";
	background: #2e9b52;
	font-size: 10px;
}

.single-product form.variations_form .woocommerce-variation-availability .stock.available-on-backorder {
	background: rgba(32, 128, 201, 0.08);
	border: 1px solid rgba(32, 128, 201, 0.22);
	color: var(--wd-primary-color, #2080c9);
}

.single-product form.variations_form .woocommerce-variation-availability .stock.available-on-backorder::before {
	content: "\2022";
	background: var(--wd-primary-color, #2080c9);
	font-size: 14px;
}

.summary .peptide-product-summary-rating {

	margin-top: 0;

	margin-bottom: 14px;

}



.summary .peptide-product-summary-rating .star-rating {

	float: none;

	margin: 0;

}



.summary .peptide-product-reviews-link {

	display: inline-flex;

	align-items: center;

	gap: 6px;

	color: var(--color-gray-500, #767676);

	font-size: 14px;

	font-weight: 500;

	line-height: 1.35;

	text-decoration: none;

	transition: color 0.25s ease;

}



.summary .peptide-product-reviews-link:hover {

	color: var(--wd-primary-color, #2080c9);

}



.summary .peptide-product-reviews-link__icon {

	display: inline-flex;

	align-items: center;

	justify-content: center;

	flex-shrink: 0;

	font-size: 15px;

	line-height: 1;

	color: inherit;

}



.summary .peptide-product-reviews-link__icon i,

.summary .peptide-product-reviews-link__icon svg {

	display: block;

	width: 1em;

	height: 1em;

	fill: currentColor;

}

.single-product .tabs-layout-tabs .shop_attributes.peptide-product-specs,
.single-product .tabs-layout-tabs .peptide-product-specs {
	max-width: none;
}

/* Вкладки: только активная панель (fallback, если HTML описания когда-то снова «рвёт» обёртку). */
.single-product .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel:not(.wd-active) {
	display: none;
}

.single-product .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel.wd-active {
	display: block;
}

/* —— Вкладка «Характеристики» —— */

.peptide-product-specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 48px;
	width: 100%;
	margin: 0;
}

.peptide-product-specs__row {
	display: grid;
	grid-template-columns: minmax(110px, 38%) minmax(0, 1fr);
	gap: 12px 20px;
	align-items: start;
	padding: 14px 0;
	border-bottom: 1px solid var(--brdcolor-gray-300, #e0e0e0);
	font-size: 14px;
	line-height: 1.45;
}

.peptide-product-specs__label {
	color: var(--color-gray-500, #767676);
	font-weight: 400;
}

.peptide-product-specs__value {
	color: var(--wd-text-color, #242424);
	font-weight: 500;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.peptide-product-specs__value p {
	margin: 0 0 0.65em;
}

.peptide-product-specs__value p:last-child {
	margin-bottom: 0;
}

@media (max-width: 767.98px) {
	.peptide-product-specs {
		grid-template-columns: 1fr;
		column-gap: 0;
	}

	.peptide-product-specs__col + .peptide-product-specs__col {
		margin-top: 0;
	}
}

/* —— Лабораторный анализ —— */

.peptide-lab-files__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
	gap: 20px 24px;
}

.peptide-lab-files__item {
	display: flex;
	flex-direction: column;
	gap: 10px;
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.peptide-lab-files__item:hover {
	opacity: 0.92;
	color: inherit;
}

.peptide-lab-files__thumb {
	position: relative;
	display: block;
	overflow: hidden;
	border: 1px solid var(--brdcolor-gray-300, #e0e0e0);
	border-radius: var(--wd-brd-radius, 12px);
	background: #fff;
	aspect-ratio: 3 / 4;
}

.peptide-lab-files__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.peptide-lab-files__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, var(--bgcolor-gray-100, #f3f4f6) 0%, #fff 40%);
}

.peptide-lab-files__badge {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 3px 8px;
	border-radius: 4px;
	background: #e53935;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.02em;
}

.peptide-lab-files__caption {
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--wd-text-color, #242424);
	text-align: center;
}

/* —— Хранение —— */

.peptide-product-storage {
	max-width: 900px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--wd-text-color, #242424);
}

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

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

/* —— Доставка и оплата (общий блок: blocks.css .peptide-delivery-summary) —— */

/* Дисклеймер в конце вкладки «Описание». */
.peptide-product-description-disclaimer {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-top: 24px;
	margin-bottom: 0;
	padding: 16px 18px;
	border: 1px solid #d4a017;
	border-radius: var(--wd-brd-radius, 12px);
	background: #fff9e6;
	color: var(--wd-text-color, #242424);
	font-size: 14px;
	line-height: 1.5;
}

.peptide-product-description-disclaimer__icon {
	flex-shrink: 0;
	margin-top: 1px;
}

.peptide-product-description-disclaimer p {
	margin: 0;
}

.peptide-product-description-disclaimer strong {
	font-weight: 600;
}

/* Summary: дисклеймер и «Почему ROSSPEPTIDES» перед «В корзину». */
.peptide-product-summary-trust {
	margin: 10px 0 16px;
	padding: 16px 18px;
	border-radius: var(--wd-brd-radius, 12px);
	background: rgba(32, 128, 201, 0.04);
	border: 1px solid var(--brdcolor-gray-300, #e8ecef);
}

.peptide-product-summary-trust__notice {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	padding: 12px 14px;
	border-radius: calc(var(--wd-brd-radius, 12px) - 2px);
	background: #fffbf0;
	border: 1px solid rgba(212, 160, 23, 0.35);
	box-shadow: none;
	color: var(--wd-text-color, #242424);
	font-size: 13px;
	line-height: 1.5;
}

.peptide-product-summary-trust__notice-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(212, 160, 23, 0.14);
	color: #b45309;
}

.peptide-product-summary-trust__notice-icon .peptide-product-summary-trust__svg,
.peptide-product-summary-trust__notice-icon .peptide-product-summary-trust__icon-wrap svg {
	display: block;
	width: 16px !important;
	height: 16px !important;
	max-width: 16px;
	max-height: 16px;
	fill: currentColor;
}

.peptide-product-summary-trust__icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	color: inherit;
}

.peptide-product-summary-trust__icon-wrap svg {
	display: block;
	fill: currentColor;
}

.peptide-product-summary-trust__notice-text {
	margin: 0;
	color: var(--color-gray-600, #555);
}

.peptide-product-summary-trust__notice-text strong {
	font-weight: 600;
	color: var(--wd-text-color, #242424);
}

.peptide-product-summary-trust__benefits {
	padding-top: 4px;
}

.peptide-product-summary-trust__benefits-title {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0.02em;
	color: var(--wd-text-color, #242424);
}

.peptide-product-summary-trust__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.peptide-product-summary-trust__list-item {
	position: relative;
	margin: 0 0 9px;
	padding-left: 1.35em;
	font-size: 13px;
	line-height: 1.45;
	color: var(--color-gray-600, #555);
}

.peptide-product-summary-trust__list-item::before {
	content: "•";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
	color: var(--wd-primary-color, rgb(32, 128, 201));
}

.peptide-product-summary-trust__list-item:last-child {
	margin-bottom: 0;
}


