/* Акции: список (/sales/). Токены твиков — глобальные --ink, --accent, --rule и т.д. */

.lux-sales-page {
	--luxs-shadow-soft: 0 10px 28px -12px color-mix(in oklch, var(--ink) 14%, transparent), 0 4px 10px -6px color-mix(in oklch, var(--ink) 8%, transparent);
	--luxs-shadow-card: 0 22px 48px -18px color-mix(in oklch, var(--ink) 16%, transparent), 0 8px 18px -8px color-mix(in oklch, var(--ink) 10%, transparent);
	--luxs-bn-glow:
		0 0 0 1px oklch(0.6 0 0 / 0.16),
		0 0 22px 2px oklch(0.5 0 0 / 0.28);
	--luxs-bn-lift-shadow:
		var(--luxs-shadow-card),
		0 18px 40px -10px oklch(0.45 0 0 / 0.38),
		0 6px 16px -6px oklch(0.55 0 0 / 0.28);
	--luxs-t: 0.24s cubic-bezier(.2, .7, .2, 1);
	--luxs-r-md: var(--r-md, 10px);

	/*max-width: 1320px;*/
	margin: 0 auto;
	padding: 28px 0 80px; /*28px 28px 80px;*/
}

.lux-sales-page__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 40px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--rule);
	margin-bottom: 48px;
}

.lux-sales-page__eyebrow {
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: 0.18em;
	color: var(--ink-4);
	text-transform: uppercase;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.lux-sales-page__eyebrow::before {
	content: '';
	width: 22px;
	height: 1px;
	background: var(--ink-4);
}

.lux-sales-page__title {
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(40px, 4.6vw, 64px);
	line-height: 1;
	letter-spacing: -0.01em;
	color: var(--ink);
	margin: 0;
}

.lux-sales-page__title em {
	color: var(--accent-2);
	font-weight: 400;
	font-style: italic;
}

.lux-sales-list {
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.lux-sales-list__entry {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 56px;
	align-items: center;
	padding-bottom: 56px;
	border-bottom: 1px dashed var(--rule);
}

.lux-sales-list__entry:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.lux-sales-list__entry:nth-child(even) {
	grid-template-columns: 1fr 1.4fr;
}

.lux-sales-list__entry:nth-child(even) .lux-sales-list__bn-wrap {
	order: 2;
}

/* Архивная акция */
.lux-sales-list__entry.is-archive {
	opacity: 0.78;
}

.lux-sales-list__entry.is-archive .lux-sales-list__copy {
	color: var(--ink-4);
}

.lux-sales-list__entry.is-archive .lux-sales-list__name,
.lux-sales-list__entry.is-archive .lux-sales-list__num {
	color: var(--ink-3);
}

.lux-sales-list__entry.is-archive .lux-sales-list__name em {
	color: var(--ink-4);
}

.lux-sales-list__entry.is-archive .lux-sales-list__bn-img {
	filter: grayscale(0.65) brightness(0.92);
}

.lux-sales-list__entry.is-archive .lux-sales-list__bn::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(20, 16, 12, 0.18);
	pointer-events: none;
}

.lux-sales-list__entry.is-archive .lux-sales-list__bn-label {
	background: rgba(10, 8, 6, 0.5);
	left: 10px;
	bottom: 10px;
}

.lux-sales-list__entry.is-archive:hover {
	opacity: 0.92;
}

.lux-sales-list__entry.is-archive:hover .lux-sales-list__bn-img {
	filter: grayscale(0.3) brightness(0.96);
}

.lux-sales-list__entry.is-archive .lux-sales-list__bn-wrap {
	cursor: default;
}

.lux-sales-list__entry.is-archive .lux-sales-list__bn {
	box-shadow:
		0 0 0 1px oklch(0.6 0 0 / 0.10),
		var(--luxs-shadow-card);
}

.lux-sales-list__bn-wrap {
	position: relative;
	display: block;
	color: inherit;
	text-decoration: none;
}

.lux-sales-list__entry:not(.is-archive) .lux-sales-list__bn-wrap .lux-sales-list__bn {
	box-shadow: var(--luxs-bn-glow), var(--luxs-bn-lift-shadow);
}

.lux-sales-list__entry:not(.is-archive) .lux-sales-list__bn-wrap:active .lux-sales-list__bn {
	transform: translateY(-3px);
}

@media (hover: hover) {
	.lux-sales-list__entry:not(.is-archive) .lux-sales-list__bn-wrap:hover .lux-sales-list__bn {
		transform: translateY(-3px);
	}
}

.lux-sales-list__bn {
	position: relative;
	aspect-ratio: 2 / 1;
	border-radius: var(--luxs-r-md);
	overflow: hidden;
	background: linear-gradient(135deg, color-mix(in oklch, var(--accent) 35%, var(--bg-muted)), color-mix(in oklch, var(--accent-2) 25%, var(--ink-5)));
	box-shadow: var(--luxs-shadow-soft);
	transition: transform var(--luxs-t);
}

.lux-sales-list__bn-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lux-sales-list__bn::after {
	content: '';
	position: absolute;
	inset: 0;
	box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--bg-card) 18%, transparent);
	border-radius: inherit;
	pointer-events: none;
}

.lux-sales-list__bn-label {
	position: absolute;
	left: 14px;
	bottom: 14px;
	font-family: var(--mono);
	font-size: 9.5px;
	letter-spacing: 0.14em;
	color: rgba(255, 255, 255, 0.88);
	text-transform: uppercase;
	background: rgba(20, 16, 12, 0.28);
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(8px) saturate(1.4);
	-webkit-backdrop-filter: blur(8px) saturate(1.4);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.22),
		inset 0 -1px 0 rgba(0, 0, 0, 0.18),
		0 2px 10px rgba(0, 0, 0, 0.28);
}

.lux-sales-list__copy {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.lux-sales-list__meta-top {
	display: flex;
	gap: 18px;
	align-items: baseline;
	flex-wrap: wrap;
}

.lux-sales-list__num {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 400;
	font-size: 56px;
	line-height: 1;
	color: var(--accent-2);
	letter-spacing: -0.02em;
}

.lux-sales-list__eyebrow {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.16em;
	color: var(--ink-4);
	text-transform: uppercase;
}

.lux-sales-list__name {
	font-family: var(--serif);
	font-weight: 500;
	font-size: clamp(32px, 3.4vw, 48px);
	line-height: 1;
	letter-spacing: -0.01em;
	color: var(--ink);
	text-wrap: balance;
	margin: 0;
}

.lux-sales-list__name a {
	color: inherit;
	text-decoration: none;
	transition: color var(--luxs-t);
}

.lux-sales-list__name a:hover {
	color: var(--accent);
}

.lux-sales-list__name em {
	font-style: italic;
	color: var(--accent-2);
	font-weight: 400;
}

.lux-sales-list__dates {
	display: grid;
	grid-template-columns: auto auto;
	gap: 0;
	margin-top: 6px;
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
}

.lux-sales-list__dates .cell {
	padding: 14px 20px 14px 0;
	border-right: 1px dashed var(--rule);
}

.lux-sales-list__dates .cell:last-child {
	padding-left: 24px;
	padding-right: 0;
	border-right: none;
}

.lux-sales-list__dates .lbl {
	font-family: var(--mono);
	font-size: 9.5px;
	letter-spacing: 0.16em;
	color: var(--ink-4);
	text-transform: uppercase;
	margin-bottom: 6px;
}

.lux-sales-list__dates .val {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 500;
	font-size: 24px;
	color: var(--ink);
	line-height: 1;
	letter-spacing: -0.005em;
}

.lux-sales-list__dates .val.muted {
	color: var(--ink-4);
}

.lux-sales-list__cta {
	align-self: flex-start;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink);
	border-bottom: 1px solid var(--ink);
	padding-bottom: 3px;
	margin-top: 6px;
	transition: color var(--luxs-t), border-color var(--luxs-t);
	text-decoration: none;
}

.lux-sales-list__cta:hover {
	color: var(--accent);
	border-color: var(--accent);
}

.lux-sales-list__cta--done {
	border-bottom: none;
	padding-bottom: 0;
	color: var(--ink-3);
	cursor: default;
}

.lux-sales-list__cta--done:hover {
	color: var(--ink-3);
	border-color: transparent;
}

.lux-sales-page__pager {
	margin-top: 48px;
}

@media (max-width: 1100px) {
	.lux-sales-list__entry,
	.lux-sales-list__entry:nth-child(even) {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.lux-sales-list__entry:nth-child(even) .lux-sales-list__bn-wrap {
		order: 0;
	}

	.lux-sales-list__num {
		font-size: 44px;
	}
}

@media (max-width: 720px) {
	.lux-sales-page {
		padding: 20px 18px 56px;
	}

	.lux-sales-page__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
	}

	.lux-sales-page__title {
		font-size: 38px;
	}

	.lux-sales-list {
		gap: 40px;
	}

	.lux-sales-list__entry {
		gap: 22px;
		padding-bottom: 40px;
	}

	.lux-sales-list__name {
		font-size: 28px;
	}

	.lux-sales-list__num {
		font-size: 36px;
	}

	.lux-sales-list__dates .cell {
		padding: 12px 14px 12px 0;
	}

	.lux-sales-list__dates .cell:last-child {
		padding-left: 16px;
	}

	.lux-sales-list__dates .val {
		font-size: 20px;
	}
}
