/* Чёрная пятница · SHOPSTYLE. Разметка и даты — inc/sale-page.php. */
.ss-bf-sale {
	--ss-bf-graphite: #242022;
	--ss-bf-paper: #e8dacf;
	padding: clamp(14px, 2.8vw, 28px);
	margin-block: 0 18px;
	border-radius: 5px;
	background: var(--ss-bf-graphite);
	color: #fffaf6;
}

.ss-bf-sale > p {
	margin: 0 0 4px;
	color: var(--ss-bf-paper);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
}

.ss-bf-sale > h1 {
	margin: 0 0 14px;
	color: inherit;
	font-size: clamp(24px, 4vw, 40px);
	font-weight: 650;
	line-height: 1.12;
	letter-spacing: -.035em;
	text-transform: none;
}

.ss-bf-filters {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(4px, 1vw, 10px);
	max-width: 640px;
}

.ss-bf-filters > a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 4px 2px;
	border: 1px solid #766970;
	border-radius: 3px;
	background: #302a2e;
	color: #fffaf6;
	font-size: clamp(10px, 2.8vw, 13px);
	font-weight: 650;
	text-align: center;
	line-height: 1.05;
}

.ss-bf-filters > a span { font-weight: 450; }
.ss-bf-filters > a strong { font-size: clamp(16px, 4.2vw, 23px); }
.ss-bf-filters > a:hover { background: #453d42; color: #fffaf6; }
.ss-bf-filters > a[aria-current="page"] {
	border-color: var(--ss-bf-paper);
	background: var(--ss-bf-paper);
	color: #251e20;
}

.ss-bf-filters > a:focus-visible,
.mobile-nav .wd-nav-mobile > li.ss-bf-menu-sale > a:focus-visible {
	outline: 2px solid #a76873;
	outline-offset: 2px;
}

.ss-bf-sale-empty { padding-block: 12px 24px; }

@media (max-width: 1024px) {
	.mobile-nav .wd-nav-mobile > li.ss-sale.ss-bf-menu-sale > a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		min-height: 45px;
		margin-inline: 15px;
		padding: 8px 10px;
		border-radius: 4px;
		background: #242022;
		color: #fffaf6;
		font-weight: 650;
	}

	.mobile-nav .wd-nav-mobile > li.ss-sale.ss-bf-menu-sale > a .nav-link-text { color: inherit; }

	.ss-bf-menu-badge {
		flex: 0 0 auto;
		padding: 5px 7px;
		border-radius: 3px;
		background: #e8dacf;
		color: #251e20;
		font-size: 10px;
		font-weight: 700;
		letter-spacing: .07em;
		white-space: nowrap;
	}
}
