/*
 * Black Friday Bundles landing page.
 * Loaded only on the "black-friday-bundles" category page.
 * Every rule starts with .dl-black-friday, a class that exists on that page only.
 */

/*
 * Bold weights. The site's own Inter file holds every weight, but the theme only
 * switches on 400 and 600. This switches on 700 to 900 from that same file.
 * The second address is a copy kept next to this stylesheet, used only if the
 * first one ever moves.
 */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 700 900;
	font-display: swap;
	src: url("/wp-content/fonts/inter/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2") format("woff2"),
		url("black-friday-inter.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * Shoptimizer adds space above the content when a page has no breadcrumb, and
 * below it on every category page. Both are removed so the black hero sits
 * directly under the menu. The bundle list has its own bottom spacing.
 */
body.dl-black-friday #content.site-content {
	padding-top: 0;
	padding-bottom: 0;
}

.dl-black-friday .dlbf {
	clear: both;
	float: none;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
	color: #444444;
	font-family: inherit;
}

/* The theme's own page container already has side padding. */
.dl-black-friday .col-full .dlbf {
	padding-left: 0;
	padding-right: 0;
}

.dl-black-friday .dlbf *,
.dl-black-friday .dlbf *::before,
.dl-black-friday .dlbf *::after {
	box-sizing: border-box;
}

/* ---------- Hero ---------- */

.dl-black-friday .dlbf .dlbf-hero {
	background: #0B0B0B;
	color: #FFFFFF;
	padding: 64px 0 72px;
	margin: 0;
	/* Runs the black to both screen edges without moving the content. */
	box-shadow: 0 0 0 100vmax #0B0B0B;
	clip-path: inset(0 -100vmax);
}

.dl-black-friday .dlbf .dlbf-tag {
	display: inline-block;
	background: #F04124;
	color: #0B0B0B;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-radius: 4px;
}

.dl-black-friday .dlbf .dlbf-title {
	margin: 24px 0 0;
	padding: 0;
	color: #FFFFFF;
	font-size: clamp(36px, 5.6vw, 64px);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.03em;
	text-transform: none;
}

.dl-black-friday .dlbf .dlbf-lead {
	margin: 22px 0 0;
	padding: 0;
	max-width: 700px;
	color: #D0D0D0;
	font-size: 20px;
	line-height: 1.5;
}

.dl-black-friday .dlbf .dlbf-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.dl-black-friday .dlbf .dlbf-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 11px 18px;
	border: 1px solid #3A3A3A;
	border-radius: 999px;
	color: #FFFFFF;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	list-style: none;
}

.dl-black-friday .dlbf .dlbf-pill::before {
	content: none;
}

.dl-black-friday .dlbf .dlbf-pill svg {
	flex: 0 0 auto;
	color: #7FD3A3;
}

/* ---------- Bundle list ---------- */

.dl-black-friday .dlbf .dlbf-list {
	padding: 48px 0 72px;
}

.dl-black-friday .dlbf .dlbf-list-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin: 0 0 24px;
}

.dl-black-friday .dlbf .dlbf-count {
	margin: 0;
	padding: 0;
	color: #222222;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
}

.dl-black-friday .dlbf .dlbf-delivery {
	color: #6B6B6B;
	font-size: 15px;
}

.dl-black-friday .dlbf .dlbf-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dl-black-friday .dlbf .dlbf-card {
	display: block;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	list-style: none;
	background: #FFFFFF;
	border: 1px solid #E6E6E6;
	border-radius: 10px;
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dl-black-friday .dlbf .dlbf-card::before {
	content: none;
}

.dl-black-friday .dlbf .dlbf-card:hover {
	border-color: #0B0B0B;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.dl-black-friday .dlbf .dlbf-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: #222222;
	text-decoration: none;
}

.dl-black-friday .dlbf .dlbf-card-link:focus-visible {
	outline: 3px solid #1E68C4;
	outline-offset: -3px;
}

.dl-black-friday .dlbf .dlbf-media {
	position: relative;
	display: block;
	aspect-ratio: 6 / 5;
	background: #FFFFFF;
	border-bottom: 1px solid #EFEFEF;
}

/* The photo fills the frame without stretching it, so every card's photo area is the same shape. */
.dl-black-friday .dlbf .dlbf-media img {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 14px;
	object-fit: contain;
}

.dl-black-friday .dlbf .dlbf-badges {
	position: absolute;
	top: 12px;
	left: 12px;
	right: 12px;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 6px;
}

.dl-black-friday .dlbf .dlbf-badge {
	padding: 6px 10px;
	border-radius: 4px;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
}

.dl-black-friday .dlbf .dlbf-badge-bundle {
	background: #0B0B0B;
	color: #FFFFFF;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.dl-black-friday .dlbf .dlbf-badge-save {
	margin-left: auto;
	background: #F04124;
	color: #0B0B0B;
	font-size: 13px;
}

.dl-black-friday .dlbf .dlbf-body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	gap: 8px;
	padding: 20px;
}

.dl-black-friday .dlbf .dlbf-model {
	margin: 0;
	padding: 0;
	color: #222222;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0;
	text-transform: none;
}

.dl-black-friday .dlbf .dlbf-spec {
	color: #6B6B6B;
	font-size: 14px;
	line-height: 1.5;
}

.dl-black-friday .dlbf .dlbf-incl {
	color: #2F7A50;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
}

.dl-black-friday .dlbf .dlbf-prices {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
	margin-top: auto;
	padding-top: 20px;
}

.dl-black-friday .dlbf .dlbf-now {
	color: #0B0B0B;
	font-size: 30px;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.dl-black-friday .dlbf .dlbf-was {
	color: #6B6B6B;
	font-size: 15px;
	font-weight: 400;
	text-decoration: line-through;
	opacity: 1;
}

/* Prices print inside WooCommerce's own price markup. Keep it on the card's styling. */
.dl-black-friday .dlbf .dlbf-now .amount,
.dl-black-friday .dlbf .dlbf-was .amount,
.dl-black-friday .dlbf .dlbf-badge .amount,
.dl-black-friday .dlbf .dlbf-now bdi,
.dl-black-friday .dlbf .dlbf-was bdi,
.dl-black-friday .dlbf .dlbf-badge bdi {
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-decoration: inherit;
}

.dl-black-friday .dlbf .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Filter panel ("Find your laptop") ---------- */

/* Cards and messages the filters have switched off. */
.dl-black-friday .dlbf [hidden] {
	display: none !important;
}

.dl-black-friday .dlbf .dlbf-filter {
	margin: -8px 0 28px;
	padding: 24px;
	background: #F5F5F5;
	border-radius: 10px;
}

.dl-black-friday .dlbf .dlbf-filter-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px 16px;
	margin: 0 0 20px;
}

.dl-black-friday .dlbf .dlbf-filter-title {
	margin: 0;
	padding: 0;
	color: #222222;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
}

.dl-black-friday .dlbf .dlbf-filter-status {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 16px;
	margin: 0;
	padding: 0;
	color: #6B6B6B;
	font-size: 15px;
	line-height: 1.3;
}

.dl-black-friday .dlbf .dlbf-filter-clear {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: #222222;
	font: inherit;
	font-weight: 700;
	letter-spacing: 0;
	text-decoration: underline;
	text-underline-offset: 2px;
	text-transform: none;
	cursor: pointer;
}

.dl-black-friday .dlbf .dlbf-filter-clear:hover {
	color: #000000;
	background: none;
}

.dl-black-friday .dlbf .dlbf-filter-groups {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 36px;
}

.dl-black-friday .dlbf .dlbf-filter-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.dl-black-friday .dlbf .dlbf-filter-label {
	color: #6B6B6B;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.dl-black-friday .dlbf .dlbf-filter-options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.dl-black-friday .dlbf .dlbf-filter-btn {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	padding: 11px 17px;
	min-height: 44px;
	background: #FFFFFF;
	border: 1px solid #D6D6D6;
	border-radius: 999px;
	box-shadow: none;
	color: #222222;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.dl-black-friday .dlbf .dlbf-filter-btn:hover {
	background: #FFFFFF;
	border-color: #0B0B0B;
	color: #222222;
}

/* Chosen. */
.dl-black-friday .dlbf .dlbf-filter-btn[aria-pressed="true"],
.dl-black-friday .dlbf .dlbf-filter-btn[aria-pressed="true"]:hover {
	background: #0B0B0B;
	border-color: #0B0B0B;
	color: #FFFFFF;
}

/* Would leave nothing to show with the other choices made. */
.dl-black-friday .dlbf .dlbf-filter-btn:disabled,
.dl-black-friday .dlbf .dlbf-filter-btn:disabled:hover {
	background: #FFFFFF;
	border-color: #E6E6E6;
	color: #B5B5B5;
	cursor: default;
}

.dl-black-friday .dlbf .dlbf-filter-btn:focus-visible,
.dl-black-friday .dlbf .dlbf-filter-clear:focus-visible {
	outline: 3px solid #1E68C4;
	outline-offset: 2px;
}

.dl-black-friday .dlbf .dlbf-filter-empty {
	margin: 0 0 28px;
	padding: 0;
	color: #444444;
	font-size: 16px;
}

/*
 * From tablet width up: one group per row, its name on the left and its options
 * on the right. Every row starts at the same edge, and a group with more
 * options simply runs further along its own row.
 */
@media (min-width: 601px) {
	.dl-black-friday .dlbf .dlbf-filter-head {
		margin-bottom: 16px;
	}

	.dl-black-friday .dlbf .dlbf-filter-groups {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 8px;
	}

	.dl-black-friday .dlbf .dlbf-filter-group {
		display: grid;
		grid-template-columns: 104px minmax(0, 1fr);
		align-items: center;
		gap: 0 16px;
	}

	.dl-black-friday .dlbf .dlbf-filter-options {
		gap: 8px;
	}

	.dl-black-friday .dlbf .dlbf-filter-btn {
		padding: 7px 15px;
		min-height: 36px;
		font-size: 14px;
	}
}

/* The "Show filters" button is for phones only. */
.dl-black-friday .dlbf .dlbf-filter-toggle {
	display: none;
}

@media (max-width: 600px) {
	.dl-black-friday .dlbf .dlbf-filter {
		margin: 0 0 16px;
		padding: 14px 16px;
	}

	.dl-black-friday .dlbf .dlbf-filter-head {
		align-items: center;
		margin-bottom: 0;
	}

	.dl-black-friday .dlbf .dlbf-filter-title {
		font-size: 17px;
	}

	.dl-black-friday .dlbf .dlbf-filter-toggle {
		-webkit-appearance: none;
		appearance: none;
		display: inline-block;
		margin: 0;
		padding: 8px 14px;
		min-height: 40px;
		background: #FFFFFF;
		border: 1px solid #D6D6D6;
		border-radius: 999px;
		box-shadow: none;
		color: #222222;
		font-family: inherit;
		font-size: 14px;
		font-weight: 600;
		line-height: 1.3;
		letter-spacing: 0;
		text-transform: none;
		cursor: pointer;
	}

	.dl-black-friday .dlbf .dlbf-filter-toggle:focus-visible {
		outline: 3px solid #1E68C4;
		outline-offset: 2px;
	}

	.dl-black-friday .dlbf .dlbf-filter-status {
		flex: 1 1 100%;
		font-size: 14px;
	}

	/* Folded away until "Show filters" is tapped. */
	.dl-black-friday .dlbf .dlbf-filter-groups {
		display: none;
		gap: 14px;
		margin-top: 14px;
	}

	.dl-black-friday .dlbf .dlbf-filter.is-open .dlbf-filter-groups {
		display: flex;
	}

	.dl-black-friday .dlbf .dlbf-filter-group {
		flex: 1 1 100%;
		gap: 8px;
	}

	.dl-black-friday .dlbf .dlbf-filter-options {
		gap: 8px;
	}

	.dl-black-friday .dlbf .dlbf-filter-btn {
		padding: 8px 13px;
		min-height: 40px;
		font-size: 14px;
	}
}

/* ---------- Phones ---------- */

@media (max-width: 600px) {
	.dl-black-friday .dlbf .dlbf-hero {
		padding: 36px 0 40px;
	}

	.dl-black-friday .dlbf .dlbf-lead {
		font-size: 17px;
	}

	.dl-black-friday .dlbf .dlbf-pills {
		gap: 8px;
		margin-top: 22px;
	}

	.dl-black-friday .dlbf .dlbf-pill {
		padding: 8px 12px;
		font-size: 13px;
	}

	.dl-black-friday .dlbf .dlbf-list {
		padding: 28px 0 44px;
	}

	.dl-black-friday .dlbf .dlbf-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.dl-black-friday .dlbf .dlbf-media {
		aspect-ratio: 1 / 1;
	}

	.dl-black-friday .dlbf .dlbf-badges {
		top: 8px;
		left: 8px;
		right: 8px;
	}

	.dl-black-friday .dlbf .dlbf-badge {
		padding: 5px 7px;
	}

	.dl-black-friday .dlbf .dlbf-badge-bundle {
		font-size: 10px;
	}

	.dl-black-friday .dlbf .dlbf-body {
		gap: 6px;
		padding: 12px;
	}

	.dl-black-friday .dlbf .dlbf-model {
		font-size: 15px;
	}

	.dl-black-friday .dlbf .dlbf-spec {
		font-size: 13px;
		line-height: 1.4;
	}

	.dl-black-friday .dlbf .dlbf-incl {
		font-size: 12px;
	}

	.dl-black-friday .dlbf .dlbf-prices {
		padding-top: 10px;
	}

	.dl-black-friday .dlbf .dlbf-was {
		font-size: 13px;
	}

	.dl-black-friday .dlbf .dlbf-count {
		font-size: 20px;
	}

	.dl-black-friday .dlbf .dlbf-delivery {
		font-size: 13px;
	}

	.dl-black-friday .dlbf .dlbf-now {
		font-size: 22px;
	}

	.dl-black-friday .dlbf .dlbf-badge-save {
		font-size: 11px;
	}
}
