/**
 * Sanural — доставка и доверие в карточке товара.
 */

.single-product .snr-pcdt {
	margin: 22px 0 20px;
	min-width: 0;
}


.single-product .snr-pcdt__delivery {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 14px;
	padding: 18px;
	border: 1px solid #e6e8eb;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(24, 32, 45, 0.05);
}

.single-product .snr-pcdt__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #f2f6f4;
}

.single-product .snr-pcdt__icon svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.single-product .snr-pcdt__title {
	margin: 0 0 5px;
	font-size: 18px;
	line-height: 1.25;
}

.single-product .snr-pcdt__lead {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.5;
	color: #4d5562;
}

.single-product .snr-pcdt__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.single-product .snr-pcdt__list li {
	position: relative;
	margin: 6px 0;
	padding-left: 18px;
	font-size: 14px;
	line-height: 1.45;
}

.single-product .snr-pcdt__list li::before {
	content: "•";
	position: absolute;
	left: 2px;
	top: 0;
	font-weight: 700;
}

.single-product .snr-pcdt__link {
	display: inline-flex;
	margin-top: 9px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.single-product .snr-pcdt__trust {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 12px;
}

.single-product .snr-pcdt__trust-item {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	min-height: 68px;
	padding: 13px;
	border: 1px solid #eceef1;
	border-radius: 12px;
	background: #fafbfc;
}

.single-product .snr-pcdt__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #e9f4ed;
	font-weight: 700;
}

.single-product .snr-pcdt__trust-item strong,
.single-product .snr-pcdt__trust-item small {
	display: block;
}

.single-product .snr-pcdt__trust-item strong {
	margin-bottom: 2px;
	font-size: 13px;
	line-height: 1.35;
}

.single-product .snr-pcdt__trust-item small {
	font-size: 12px;
	line-height: 1.35;
	color: #69717d;
}

@media (max-width: 767px) {
	.single-product .snr-pcdt__delivery {
		grid-template-columns: 36px minmax(0, 1fr);
		padding: 15px;
	}

	.single-product .snr-pcdt__icon {
		width: 36px;
		height: 36px;
	}

	.single-product .snr-pcdt__trust {
		grid-template-columns: 1fr;
	}

	.single-product .snr-pcdt__trust-item {
		min-height: 0;
	}
}




/* Размещение: новый блок слева под галереей. */
.single-product .snr-pcdt--left {
	box-sizing: border-box;
	align-self: flex-start;
}

/* Штатная именованная область карточки sanural.ru. */
.single-product div.product .snr-pcdt--sanural-area {
	grid-area: delivery-payment;
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin: 22px 0 20px;
}

/*
 * Коммерческая зона под кнопкой «В корзину».
 * На широком экране CTA собраны в спокойную вертикальную колонку слева,
 * а карточка «Нашли дешевле» стоит рядом и выровнена по верхнему краю.
 * Flex-wrap автоматически складывает блоки друг под другом, когда места мало.
 */
.single-product .snr-pcdt-summary-extras {
	display: flex !important;
	flex-flow: row wrap;
	align-items: stretch;
	gap: 18px;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	margin: 20px 0 8px;
}

.single-product .snr-pcdt-summary-extras > .snr-pcdt-moved-card {
	position: relative !important;
	inset: auto !important;
	grid-area: auto !important;
	grid-column: auto !important;
	grid-row: auto !important;
	order: 2 !important;
	flex: 1.65 1 350px !important;
	align-self: stretch;
	box-sizing: border-box;
	min-width: 0 !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	float: none !important;
	clear: both;
	transform: none !important;
}

@media (max-width: 920px) {
	.single-product .snr-pcdt--left {
		width: 100% !important;
		max-width: 100% !important;
		flex-basis: 100% !important;
	}

	.single-product .snr-pcdt-summary-extras {
		margin-top: 14px;
		gap: 14px;
	}
}


.single-product .snr-pcdt-legacy-delivery-hidden {
	display: none !important;
}


/* Старый шаблонный блок состоит из двух колонок: доставка + оплата. */
.single-product .snr-pcdt-legacy-delivery-column-hidden {
	display: none !important;
}

.single-product .snr-pcdt-legacy-payment-only {
	grid-template-columns: minmax(0, 1fr) !important;
	column-gap: 0 !important;
}

.single-product .snr-pcdt-legacy-payment-only.snr-pcdt-legacy-payment-only {
	display: block;
}

.single-product .snr-pcdt-legacy-payment-column {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	flex: 1 1 100% !important;
}


/*
 * Версия 1.2.4:
 * старый объединенный блок темы «Доставка + Оплата» удаляется полностью.
 * На странице остается только региональный блок плагина.
 */
.single-product .snr-pcdt-legacy-combined-hidden,
.single-product .snr-pcdt-legacy-line-hidden {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	min-height: 0 !important;
	max-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
}


/* CTA под кнопкой «В корзину». */
.single-product .snr-pcdt-actions {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	grid-auto-rows: minmax(58px, 1fr);
	align-self: stretch;
	order: 1;
	flex: 1 1 220px;
	gap: 10px;
	box-sizing: border-box;
	min-width: 0;
	width: 100%;
}

.single-product .snr-pcdt-action {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100% !important;
	min-height: 48px;
	padding: 12px 15px;
	border: 1px solid #161616;
	border-radius: 8px;
	background: #fff;
	color: #161616;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	cursor: pointer;
	transition: transform .15s ease, background .15s ease, color .15s ease;
}

.single-product .snr-pcdt-action:hover {
	transform: translateY(-1px);
	background: #f5f5f5;
}

.single-product .snr-pcdt-action--primary {
	background: #111;
	color: #fff;
}

.single-product .snr-pcdt-action--primary:hover {
	background: #2c2c2c;
}

.single-product .snr-pcdt-action--project {
	grid-column: auto !important;
	border-color: #e87722;
	color: #9d4708;
	background: #fff8f2;
}

/*
 * Компактное наличие в свободном месте слева от логотипа бренда.
 * Переносится штатный блок темы, поэтому названия складов и реальные остатки
 * продолжают обновляться существующим механизмом магазина.
 */
.single-product .snr-pcdt-stock-brand-row {
	grid-area: brand;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 138px;
	align-items: start;
	gap: 14px;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.single-product .snr-pcdt-stock-brand-row > .brand-image-product {
	grid-area: auto !important;
	align-self: start;
	justify-self: end;
	box-sizing: border-box;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	text-align: right !important;
}

.single-product .snr-pcdt-stock-brand-row > .brand-image-product img {
	box-sizing: content-box;
	max-width: 110px;
	margin: 0 !important;
	object-fit: contain;
}

.single-product .snr-pcdt-stock-slot {
	display: block !important;
	position: relative !important;
	inset: auto !important;
	grid-area: auto !important;
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 12px !important;
	padding: 0 !important;
	float: none !important;
	clear: both;
	transform: none !important;
}

.single-product .snr-pcdt-stock-brand-row > .snr-pcdt-stock-card {
	align-self: stretch;
	height: 100%;
}

.single-product .snr-pcdt-stock-card {
	display: block !important;
	position: relative !important;
	inset: auto !important;
	grid-area: auto !important;
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 10px 12px !important;
	border: 1px solid #dde3e8 !important;
	border-radius: 10px !important;
	background: #fff !important;
	box-shadow: 0 6px 22px rgba(24, 32, 45, .055) !important;
	overflow: hidden;
	float: none !important;
	transform: none !important;
}

.single-product .snr-pcdt-stock-card > :first-child,
.single-product .snr-pcdt-stock-card h2,
.single-product .snr-pcdt-stock-card h3,
.single-product .snr-pcdt-stock-card h4,
.single-product .snr-pcdt-stock-card h5 {
	margin-top: 0 !important;
}

.single-product .snr-pcdt-stock-card h2,
.single-product .snr-pcdt-stock-card h3,
.single-product .snr-pcdt-stock-card h4,
.single-product .snr-pcdt-stock-card h5 {
	margin-bottom: 7px !important;
	padding: 0 !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	text-align: left !important;
}

.single-product .snr-pcdt-stock-card .availability-status {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.single-product .snr-pcdt-stock-card .select-availability-status {
	display: block !important;
	box-sizing: border-box;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	font-size: inherit !important;
}

.single-product .snr-pcdt-stock-card table {
	width: 100% !important;
	margin: 0 !important;
	border-collapse: collapse !important;
}

.single-product .snr-pcdt-stock-card ul,
.single-product .snr-pcdt-stock-card ol {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.single-product .snr-pcdt-stock-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	column-gap: 12px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 4px 8px !important;
	border-radius: 8px !important;
	background: #f3f7ed !important;
}

.single-product .snr-pcdt-stock-row {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 7px !important;
	box-sizing: border-box;
	min-width: 0;
	min-height: 28px !important;
	margin: 0 !important;
	padding: 4px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(50, 67, 40, .12) !important;
	background: transparent !important;
	font-size: 12px !important;
	line-height: 1.3 !important;
}

.single-product .snr-pcdt-stock-row > :first-child {
	min-width: 0;
	overflow-wrap: anywhere;
	color: #52606d;
}

.single-product .snr-pcdt-stock-row > :last-child {
	flex: 0 0 auto;
	font-weight: 700;
	text-align: right;
}

.single-product .snr-pcdt-stock-grid[data-snr-stock-count="1"] {
	grid-template-columns: minmax(0, 1fr) !important;
}

.single-product .snr-pcdt-stock-grid[data-snr-stock-parity="even"] .snr-pcdt-stock-row:nth-last-child(-n+2),
.single-product .snr-pcdt-stock-grid[data-snr-stock-parity="odd"] .snr-pcdt-stock-row:last-child {
	border-bottom-color: transparent !important;
}

@media (max-width: 680px) {
	.single-product .snr-pcdt-stock-brand-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.single-product .snr-pcdt-stock-brand-row > .brand-image-product {
		order: -1;
		justify-self: center;
		text-align: center !important;
	}

	.single-product .snr-pcdt-stock-card {
		padding: 11px 12px !important;
	}

	.single-product .snr-pcdt-stock-grid {
		grid-template-columns: minmax(0, 1fr) !important;
		column-gap: 0 !important;
	}

	.single-product .snr-pcdt-stock-grid .snr-pcdt-stock-row:not(:last-child) {
		border-bottom-color: rgba(50, 67, 40, .12) !important;
	}

	.single-product .snr-pcdt-stock-grid .snr-pcdt-stock-row:last-child {
		border-bottom-color: transparent !important;
	}
}

/* Popup. */
html.snr-pcdt-modal-open,
html.snr-pcdt-modal-open body {
	overflow: hidden;
}

.snr-pcdt-modal[hidden] {
	display: none !important;
}

.snr-pcdt-modal {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.snr-pcdt-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 15, 22, .62);
}

.snr-pcdt-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(640px, 100%);
	max-height: calc(100vh - 40px);
	overflow: auto;
	padding: 28px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
}

.snr-pcdt-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.snr-pcdt-modal__title {
	margin: 0 40px 7px 0;
	font-size: 25px;
	line-height: 1.2;
}

.snr-pcdt-modal__subtitle {
	margin: 0 0 20px;
	color: #5e6672;
	line-height: 1.5;
}

.snr-pcdt-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.snr-pcdt-form__field {
	display: grid;
	gap: 6px;
	margin: 0;
	font-size: 13px;
	font-weight: 600;
}

.snr-pcdt-form__field--wide,
.snr-pcdt-form__status,
.snr-pcdt-form__submit,
.snr-pcdt-form__privacy {
	grid-column: 1 / -1;
}

.snr-pcdt-form input,
.snr-pcdt-form textarea {
	box-sizing: border-box;
	width: 100%;
	border: 1px solid #d5d9df;
	border-radius: 8px;
	background: #fff;
	font: inherit;
}

.snr-pcdt-form input {
	min-height: 46px;
	padding: 9px 12px;
}

.snr-pcdt-form textarea {
	padding: 11px 12px;
	resize: vertical;
}

.snr-pcdt-form__attachment small {
	color: #727986;
	font-weight: 400;
}

.snr-pcdt-form__honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.snr-pcdt-form__status {
	min-height: 20px;
	font-size: 14px;
}

.snr-pcdt-form__status--success {
	color: #24743b;
}

.snr-pcdt-form__status--error {
	color: #b42318;
}

.snr-pcdt-form__submit {
	min-height: 50px;
	border: 0;
	border-radius: 8px;
	background: #111;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.snr-pcdt-form__submit:disabled {
	opacity: .6;
	cursor: wait;
}

.snr-pcdt-form__privacy {
	margin: 0;
	color: #777f8a;
	font-size: 11px;
	line-height: 1.4;
}

@media (max-width: 620px) {
	.snr-pcdt-form {
		grid-template-columns: 1fr;
	}

	.snr-pcdt-form__field--wide,
	.snr-pcdt-form__status,
	.snr-pcdt-form__submit,
	.snr-pcdt-form__privacy {
		grid-column: auto;
	}

	.snr-pcdt-modal {
		padding: 10px;
	}

	.snr-pcdt-modal__dialog {
		max-height: calc(100vh - 20px);
		padding: 22px 18px;
		border-radius: 12px;
	}
}


/* Полноширинные блоки под описанием товара. */
.single-product .snr-pcdt-product-after {
	box-sizing: border-box;
	clear: both;
	width: 100%;
	flex: 0 0 100%;
	grid-column: 1 / -1;
	margin: 34px 0;
	color: #1f2937;
}

.single-product .snr-pcdt-order-steps {
	margin: 0 0 28px;
	padding: 26px;
	border-radius: 18px;
	background: #f7f8fa;
	border: 1px solid rgba(20, 34, 66, .07);
}

.single-product .snr-pcdt-order-steps h2,
.single-product .snr-pcdt-related-categories h2 {
	margin: 0 0 18px;
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.2;
	color: #111827;
}

.single-product .snr-pcdt-order-steps ol {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: snr-product-step;
}

.single-product .snr-pcdt-order-steps li {
	position: relative;
	min-width: 0;
	padding: 46px 16px 18px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid rgba(20, 34, 66, .07);
	counter-increment: snr-product-step;
}

.single-product .snr-pcdt-order-steps li::before {
	content: counter(snr-product-step);
	position: absolute;
	top: 14px;
	left: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #1f2937;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.single-product .snr-pcdt-order-steps strong {
	display: block;
	margin-bottom: 7px;
	font-size: 16px;
	color: #111827;
}

.single-product .snr-pcdt-order-steps span {
	display: block;
	color: #566173;
	font-size: 14px;
	line-height: 1.55;
}

.single-product .snr-pcdt-related-categories {
	padding: 26px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid rgba(20, 34, 66, .08);
	box-shadow: 0 14px 40px rgba(20, 34, 66, .055);
}

.single-product .snr-pcdt-related-categories__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
}

.single-product .snr-pcdt-related-categories__grid a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-width: 0;
	padding: 15px;
	border-radius: 14px;
	background: #f7f8fa;
	border: 1px solid rgba(20, 34, 66, .08);
	color: #1f2937;
	text-decoration: none;
	font-weight: 800;
	line-height: 1.35;
	transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.single-product .snr-pcdt-related-categories__grid a:hover {
	transform: translateY(-1px);
	background: #fff;
	border-color: rgba(20, 34, 66, .18);
}

.single-product .snr-pcdt-related-categories__grid a span {
	flex: 0 0 auto;
	font-size: 18px;
}

@media (max-width: 980px) {
	.single-product .snr-pcdt-order-steps ol {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.single-product .snr-pcdt-related-categories__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.single-product .snr-pcdt-product-after {
		margin: 26px 0;
	}

	.single-product .snr-pcdt-order-steps,
	.single-product .snr-pcdt-related-categories {
		padding: 18px;
		border-radius: 14px;
	}

	.single-product .snr-pcdt-order-steps ol,
	.single-product .snr-pcdt-related-categories__grid {
		grid-template-columns: 1fr;
	}

	.single-product .snr-pcdt-order-steps li {
		padding: 44px 15px 16px;
	}
}
