/* Карточка товара: макет lepnoff-product */
body.single-product {
	background: #fff !important;
}
body.single-product::before {
	opacity: 0 !important;
}

.lp-product {
	--red: #b90000;
	--red-dark: #960000;
	--ink: #171719;
	--green: #23955a;
	max-width: 1170px;
	margin: 0 auto;
	padding: 28px 20px 50px;
	color: var(--ink);
	font: 15px/1.5 Helvetica, Arial, sans-serif;
}
.lp-product *,
.lp-product *::before,
.lp-product *::after { box-sizing: border-box; }
.lp-product h1,
.lp-product h2,
.lp-product p { margin-top: 0; }
.lp-product a { color: inherit; text-decoration: none; }
.lp-product button { font: inherit; cursor: pointer; }
.lp-product button:focus-visible,
.lp-product a:focus-visible,
.lp-product input:focus-visible {
	outline: 3px solid #e7b3b3;
	outline-offset: 3px;
}

.lp-product .woocommerce-notices-wrapper:empty { display: none; }
.lp-product .woocommerce-message,
.lp-product .woocommerce-error,
.lp-product .woocommerce-info {
	margin: 0 0 16px;
	padding: 12px 14px;
	list-style: none;
	border-radius: 6px;
	background: #f6f6f6;
}
.lp-product .woocommerce-message { color: var(--green); background: #f3faf6; }
.lp-product .woocommerce-error { color: var(--red); background: #fff5f5; }

.lp-product .crumbs {
	font-size: 12px;
	color: #999;
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 12px;
}
.lp-product .crumbs a:hover { color: var(--red); }
.lp-product .crumbs .sep { color: #bbb; }
.lp-product .return {
	display: inline-block;
	color: var(--red);
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
	margin: 0 0 18px;
}
.lp-product .return:hover { text-decoration: underline; }

.lp-product .hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px;
	align-items: start;
}
.lp-product .gallery {
	display: grid;
	grid-template-columns: 74px minmax(0, 1fr);
	gap: 12px;
}
.lp-product .thumbs {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.lp-product .thumb {
	border: 2px solid transparent;
	background: #fff;
	padding: 0;
	border-radius: 5px;
	overflow: hidden;
	aspect-ratio: 1;
	width: 100%;
}
.lp-product .thumb.active { border-color: var(--red); }
.lp-product .thumb img,
.lp-product .hero-photo img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
}
.lp-product .hero-photo {
	position: relative;
	background: #fafafa;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 5px;
}
.lp-product .hero-photo img { transition: transform .25s; }
.lp-product .zoom {
	position: absolute;
	right: 12px;
	top: 12px;
	width: 38px;
	height: 38px;
	border: 0 !important;
	background: #fff !important;
	border-radius: 50% !important;
	font-size: 22px;
	line-height: 1;
	padding: 0 !important;
	color: #171719 !important;
	box-shadow: 0 2px 8px #0002;
	min-height: 0 !important;
}

.lp-product .lp-badges { margin: 0 0 10px; }
.lp-product .te-red-label-badge,
.lp-product .te-new-badge {
	position: static;
	display: inline-block;
	left: auto;
	top: auto;
}

.lp-product .product-title {
	font-size: 29px;
	line-height: 1.18;
	letter-spacing: -.4px;
	margin: 3px 0 14px;
	font-weight: 800;
	color: var(--ink);
	background: none;
	padding: 0;
}
.lp-product .intro {
	font-size: 14px;
	color: #6a6c70;
	margin: 0 0 21px;
}
.lp-product .perks {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}
.lp-product .perk {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 115px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}
.lp-product .perk .circle {
	height: 38px;
	width: 38px;
	flex: none;
	display: grid;
	place-items: center;
	color: var(--red);
	border: 1.5px solid var(--red);
	border-radius: 50%;
	font-size: 18px;
}
.lp-product .perk .circle svg {
	display: block;
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.lp-product .specs {
	margin: 0 0 24px;
	display: grid;
	grid-template-columns: 185px 1fr;
	gap: 6px 10px;
	font-size: 13px;
}
.lp-product .specs dt { color: #888; font-weight: 400; }
.lp-product .specs dd { margin: 0; font-weight: 650; }
.lp-product .buy-line {
	display: flex;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
	margin-bottom: 15px;
}
.lp-product .price {
	font-size: 29px;
	font-weight: 800;
	white-space: nowrap;
	color: var(--ink);
	background: none;
	margin: 0;
	line-height: 1.1;
}
.lp-product .price-old {
	font-size: 16px;
	font-weight: 600;
	color: #999;
	margin-right: 8px;
	text-decoration: line-through;
}
.lp-product .stock {
	font-size: 13px;
	color: var(--green);
	font-weight: 700;
}
.lp-product .stock.is-out { color: var(--red); }
.lp-product .wholesale {
	color: var(--red);
	font-size: 13px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.lp-product .controls,
.lp-product form.controls {
	display: flex;
	gap: 12px;
	align-items: stretch;
	flex-wrap: wrap;
	margin: 0;
	float: none;
}
.lp-product .lp-qty {
	display: flex;
	align-items: center;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	height: 48px;
	background: #fff;
}
.lp-product .lp-qty button {
	background: transparent !important;
	border: 0 !important;
	width: 40px;
	height: 100%;
	font-size: 21px;
	color: #444 !important;
	padding: 0 !important;
	min-height: 0 !important;
	line-height: 1 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
.lp-product .lp-qty input {
	width: 37px !important;
	border: 0 !important;
	text-align: center;
	font-weight: 750;
	background: transparent !important;
	outline: none;
	padding: 0 !important;
	margin: 0 !important;
	height: 100% !important;
	min-height: 0 !important;
	box-shadow: none !important;
	color: var(--ink);
}
.lp-product .add,
.lp-product .mini-add,
.lp-product a.mini-add {
	border: 0 !important;
	background: var(--red) !important;
	color: #fff !important;
	font-weight: 750;
	border-radius: 6px !important;
	transition: background .2s;
	text-decoration: none !important;
	line-height: 1.2 !important;
	box-shadow: none !important;
	float: none !important;
}
.lp-product .add {
	padding: 0 25px !important;
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.lp-product .add:hover,
.lp-product .mini-add:hover,
.lp-product a.mini-add:hover { background: var(--red-dark) !important; color: #fff !important; }
.lp-product .add:disabled {
	opacity: .55;
	cursor: not-allowed;
}
.lp-product .heart {
	width: 48px;
	min-height: 48px;
	border: 1px solid #eee !important;
	background: #fff !important;
	border-radius: 6px !important;
	color: var(--red) !important;
	font-size: 25px;
	line-height: 1;
	padding: 0 !important;
}
.lp-product .heart.selected { background: #fff0f2 !important; }
.lp-product .notice {
	font-size: 13px;
	color: var(--green);
	min-height: 20px;
	margin-top: 10px;
	width: 100%;
	flex-basis: 100%;
}
.lp-product .notice.is-error { color: var(--red); }

.lp-product .tabs { margin-top: 38px; }
.lp-product .tab-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	background: #f5f5f5;
	border-bottom: 1px solid #e5e5e5;
}
.lp-product .tab-btn {
	background: transparent !important;
	border: 0 !important;
	border-bottom: 3px solid transparent !important;
	padding: 15px 19px !important;
	font-weight: 750;
	color: #303030 !important;
	border-radius: 0 !important;
	min-height: 0 !important;
	line-height: 1.2 !important;
	box-shadow: none !important;
}
.lp-product .tab-btn[aria-selected="true"] {
	background: #fff !important;
	color: var(--red) !important;
	border-bottom-color: var(--red) !important;
}
.lp-product .tab-panel {
	padding: 22px 4px 4px;
	font-size: 14px;
	color: #555;
	min-height: 145px;
}
.lp-product .tab-panel[hidden] { display: none !important; }
.lp-product .tab-panel p { margin: 0 0 10px; }
.lp-product .checks {
	list-style: none;
	padding: 0;
	margin: 14px 0;
}
.lp-product .checks li {
	margin: 6px 0;
	font-weight: 700;
	color: #222;
}
.lp-product .checks li::before {
	content: "✓";
	color: var(--red);
	margin-right: 12px;
}

.lp-product .info-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	margin-top: 20px;
}
.lp-product .info-card {
	display: flex;
	gap: 14px;
	border-radius: 9px;
	background: #eef6fa;
	padding: 21px 18px;
	min-height: 140px;
}
.lp-product .info-card:nth-child(2) { background: #f9f2eb; }
.lp-product .info-card:nth-child(3) { background: #edf5f9; }
.lp-product .info-icon {
	flex: none;
	color: #327fa7;
	line-height: 1;
}
.lp-product .info-icon svg {
	display: block;
	width: 28px;
	height: 28px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.lp-product .info-card:nth-child(2) .info-icon { color: #ce905e; }
.lp-product .info-card:nth-child(3) .info-icon { color: #6d8fa6; }
.lp-product .info-title {
	font-size: 14px;
	font-style: italic;
	font-weight: 800;
	margin-bottom: 5px;
	color: var(--ink);
}
.lp-product .info-text {
	font-size: 12px;
	color: #777;
	line-height: 1.4;
}
.lp-product .info-card a {
	color: var(--red);
	display: inline-block;
	font-size: 12px;
	font-weight: 800;
	margin-top: 12px;
}
.lp-product .info-card a:hover { text-decoration: underline; }

.lp-product .related { margin-top: 42px; }
.lp-product .related h2 {
	font-size: 24px;
	line-height: 1.2;
	margin: 0 0 18px;
	font-weight: 800;
	color: var(--ink);
	background: none;
	padding: 0;
}
.lp-product .product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 15px;
}
.lp-product .product-card {
	border: 1px solid #e7e7e7;
	border-radius: 7px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: none;
	padding: 0;
	margin: 0;
	width: auto;
	float: none;
}
.lp-product .product-card img {
	width: 100% !important;
	aspect-ratio: 1.08;
	height: auto !important;
	max-width: 100% !important;
	object-fit: cover;
	display: block;
}
.lp-product .card-content {
	padding: 14px 13px 13px;
	display: flex;
	flex: 1;
	flex-direction: column;
}
.lp-product .card-title {
	font-size: 14px;
	font-weight: 800;
	color: var(--red);
	line-height: 1.3;
	min-height: 57px;
	text-decoration: none;
}
.lp-product .card-title:hover { text-decoration: underline; }
.lp-product .card-price {
	font-weight: 800;
	font-size: 17px;
	margin: 10px 0 14px;
	color: var(--ink);
}
.lp-product .mini-add,
.lp-product a.mini-add {
	width: 100%;
	padding: 12px !important;
	margin-top: auto;
	display: block;
	text-align: center;
	cursor: pointer;
}
.lp-product .back-bottom { margin-top: 30px; }
.lp-product .features {
	border-top: 1px solid #ececec;
	margin-top: 35px;
	padding-top: 22px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}
.lp-product .feature {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 12px;
	color: #777;
}
.lp-product .feature strong {
	display: block;
	color: var(--red);
	font-size: 20px;
	line-height: 1;
	font-weight: 800;
}

.lp-product .lightbox {
	position: fixed;
	inset: 0;
	background: #000d;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	padding: 30px;
}
.lp-product .lightbox.open { display: flex; }
.lp-product .lightbox img {
	max-height: 90vh;
	max-width: 90vw;
	width: auto !important;
	height: auto !important;
	object-fit: contain;
}
.lp-product .lightbox button {
	position: absolute;
	right: 20px;
	top: 15px;
	border: 0 !important;
	background: #fff !important;
	border-radius: 50% !important;
	width: 45px;
	height: 45px;
	font-size: 27px;
	line-height: 1;
	padding: 0 !important;
	color: #171719 !important;
	min-height: 0 !important;
}
.lp-product .toast {
	position: fixed;
	bottom: 24px;
	right: 24px;
	background: #222;
	color: #fff;
	border-radius: 9px;
	padding: 14px 18px;
	box-shadow: 0 8px 30px #0003;
	z-index: 1001;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s;
}
.lp-product .toast.show { opacity: 1; }

@media (max-width: 850px) {
	.lp-product .hero { gap: 24px; }
	.lp-product .product-title { font-size: 25px; }
	.lp-product .gallery { grid-template-columns: 58px 1fr; }
	.lp-product .specs { grid-template-columns: 145px 1fr; }
	.lp-product .info-cards { grid-template-columns: 1fr; }
	.lp-product .info-card { min-height: unset; }
	.lp-product .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
	.lp-product { padding: 17px 15px 35px; }
	.lp-product .hero { grid-template-columns: 1fr; gap: 22px; }
	.lp-product .gallery { grid-template-columns: 1fr; }
	.lp-product .hero-photo { grid-row: 1; }
	.lp-product .thumbs { grid-row: 2; flex-direction: row; }
	.lp-product .thumb { width: 65px; }
	.lp-product .product-title { font-size: 26px; }
	.lp-product .perks { gap: 10px; }
	.lp-product .specs { grid-template-columns: 145px 1fr; }
	.lp-product .tab-btn { padding: 12px 11px !important; font-size: 12px; }
	.lp-product .tab-panel { min-height: 0; }
	.lp-product .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.lp-product .card-title { font-size: 13px; min-height: 52px; }
	.lp-product .related h2 { font-size: 22px; }
	.lp-product .features { grid-template-columns: 1fr 1fr; }
	.lp-product .toast { left: 12px; right: 12px; bottom: 12px; }
}
@media (max-width: 390px) {
	.lp-product .specs { grid-template-columns: 125px 1fr; }
	.lp-product .perks .perk { min-width: 90px; }
	.lp-product .controls,
	.lp-product form.controls { gap: 7px; }
	.lp-product .add { padding: 0 15px !important; }
}
