/* /sales/ — акции в стиле сайта */

body:has(.lx-sales-page .company-header) .page-top .topic,
body:has(.lx-sales-article) .page-top .topic {
	display: none;
}

body:has(.lx-sales-page) section.page-top {
	padding-bottom: 8px;
}

body:has(.lx-sales-article) section.page-top {
	padding-bottom: 0;
}

.lx-sales-page {
	padding: 12px 0 100px;
	color: #fff;
}

.lx-sales-page .company-header {
	text-align: center;
	margin-bottom: 36px;
}

.lx-sales-page .company-header h1 {
	margin: 0 0 12px;
	color: #fff;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 400;
	line-height: 1.2;
	background: none;
	-webkit-text-fill-color: #fff;
}

.lx-sales-page .company-header p {
	margin: 0;
	color: rgba(255, 255, 255, 0.72) !important;
	font-size: 18px;
	line-height: 1.45;
}

.lx-sales-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.lx-sales-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	text-decoration: none !important;
	color: inherit;
	background: #0b0d10;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 22px;
	overflow: hidden;
	transition: border-color 0.2s, transform 0.2s;
}

.lx-sales-card:hover {
	border-color: rgba(29, 73, 255, 0.55);
	transform: translateY(-2px);
	color: inherit;
}

.lx-sales-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	background: linear-gradient(160deg, #1d49ff 0%, #0b0d10 75%);
	overflow: hidden;
}

.lx-sales-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.lx-sales-card:hover .lx-sales-card__img {
	transform: scale(1.03);
}

.lx-sales-card__badges {
	position: absolute;
	top: 14px;
	left: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	z-index: 1;
}

.lx-sales-card__badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: #1d49ff;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.lx-sales-card__badge--sale {
	background: #fff;
	color: #0b0d10;
}

.lx-sales-card__badge--soft {
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	backdrop-filter: blur(8px);
}

.lx-sales-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 20px 22px;
	flex: 1;
}

.lx-sales-card__date {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.55);
}

.lx-sales-card__title {
	display: block;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
}

.lx-sales-card__preview {
	display: block;
	flex: 1;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.62);
}

.lx-sales-card__more {
	margin-top: 4px;
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.88);
}

.lx-sales-card:hover .lx-sales-card__more {
	color: #fff;
}

.lx-sales-cards__nav {
	margin-top: 36px;
	text-align: center;
}

/* Detail */
.lx-sales-page:has(.lx-sales-article) {
	padding-top: 0;
	padding-bottom: 0;
}

.lx-sales-article {
	padding: 0 0 80px;
	margin-top: -20px;
}

.lx-sales-article__shell.lx-home-bonuses__shell {
	background: #0b0d10;
	padding: 40px 0 48px;
}

.lx-sales-detail-page {
	position: relative;
	z-index: 1;
	padding: 8px 0;
	background: transparent;
	color: #fff;
	max-width: 820px;
	margin: 0 auto;
}

.lx-sales-article .lx-news-article__head--out {
	margin: 0 0 24px;
	padding: 0;
}

.lx-sales-article .lx-news-article__intro.company-header {
	background: transparent;
	max-width: none;
}

.lx-sales-article .lx-news-article__intro.company-header h2.lx-news-article__title {
	width: 100%;
	max-width: 920px;
	margin: 0 0 16px;
	font-size: clamp(28px, 3.6vw, 42px);
	font-weight: 500;
	line-height: 1.2;
	background: linear-gradient(180deg, #ffffff, #6b778d);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.lx-sales-article .lx-news-article__back {
	display: inline-block;
	margin-bottom: 14px;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	text-decoration: none;
}

.lx-sales-article .lx-news-article__back:hover {
	color: #fff;
}

.lx-sales-article .lx-news-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 0;
}

.lx-sales-article .lx-news-article__chip {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	background: #1d49ff;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
}

.lx-sales-article .lx-news-article__chip--sale,
.lx-sales-detail-page .lx-news-article__chip--sale {
	background: #fff;
	color: #0b0d10;
}

.lx-sales-article .lx-news-article__date {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.55);
}

.lx-sales-article .lx-news-article__share {
	margin-left: auto;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.04);
	color: rgba(255, 255, 255, 0.85);
	border-radius: 999px;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.lx-sales-article .lx-news-article__share:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.35);
	color: #fff;
}

.lx-sales-article .lx-news-article__lead {
	margin: 0 0 24px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 18px;
	line-height: 1.55;
}

.lx-sales-article .lx-news-article__feature {
	margin: 0 0 28px;
	overflow: hidden;
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.lx-sales-article .lx-news-article__feature-img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 1200px) {
	.lx-sales-article .lx-news-article__intro.company-header {
		padding-left: 24px !important;
		padding-right: 24px !important;
	}
}

.lx-sales-detail-page .ordered-block__title,
.lx-sales-detail-page .switcher-title {
	color: #fff !important;
	background: none !important;
	-webkit-text-fill-color: #fff !important;
}

.lx-sales-detail-page .content {
	font-size: 17px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.82);
}

.lx-sales-detail-page .content p,
.lx-sales-detail-page .content li,
.lx-sales-detail-page .content span,
.lx-sales-detail-page .content br,
.lx-sales-detail-page .content div {
	color: rgba(255, 255, 255, 0.82) !important;
}

.lx-sales-detail-page .content h2,
.lx-sales-detail-page .content h3,
.lx-sales-detail-page .content h4 {
	margin: 28px 0 12px;
	color: #fff !important;
	background: none !important;
	-webkit-text-fill-color: #fff !important;
	font-weight: 500;
}

.lx-sales-detail-page .content a {
	color: #9db6ff !important;
}

.lx-sales-detail-page .content img {
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Order / CTA block inside sale */
.lx-sales-detail-page .ordered-block.order_form .outer-rounded-x,
.lx-sales-detail-page .order-info-block {
	background: rgba(255, 255, 255, 0.04) !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	border-radius: 20px !important;
	color: #fff;
}

.lx-sales-detail-page .order-info-block .btn-default {
	border-radius: 12px;
}

.lx-sales-detail-page .bottom-links-block {
	display: none;
}

.lx-sales-article__footer {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lx-sales-article__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.lx-sales-article__btn--solid {
	background: #fff;
	color: #0b0d10;
	border: 1px solid #fff;
}

.lx-sales-article__btn--solid:hover {
	background: rgba(255, 255, 255, 0.92);
	color: #0b0d10;
}

.lx-sales-article__btn--ghost {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.28);
}

.lx-sales-article__btn--ghost:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff;
}

@media (max-width: 991px) {
	.lx-sales-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.lx-sales-page {
		padding: 8px 0 72px;
	}

	.lx-sales-cards {
		grid-template-columns: 1fr;
		max-width: 480px;
		margin: 0 auto;
	}

	.lx-sales-detail-page .content {
		font-size: 16px;
	}
}
