/*
 * Black Friday bundle product page.
 * Loaded only on a product in the "black-friday-bundles" category.
 * Every rule starts with .dl-black-friday-product, a class that exists on
 * those pages only.
 */

/*
 * Bold weights. The site's own Inter file holds every weight from thin to black,
 * but the theme only switches on 400 and 600, so anything bolder was drawn at
 * 600. This switches on 700 to 900 from that same file (no extra download).
 * 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;
}

.dl-black-friday-product .summary .dlbf-pdp-tag,
.dl-black-friday-product .summary .dlbf-box,
.dl-black-friday-product .summary .dlbf-box *,
.dl-black-friday-product .summary .dlbf-trust,
.dl-black-friday-product .summary .dlbf-trust *,
.dl-black-friday-product .dlbf-pdp-imgbadges,
.dl-black-friday-product .dlbf-pdp-imgbadges * {
	box-sizing: border-box;
}

/* ---------- Badge above the title ---------- */

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

/* ---------- Title and star rating ---------- */

body.dl-black-friday-product div.product .summary h1.product_title {
	margin: 0 0 14px;
	padding-right: 0;
	color: #222222;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
}

.dl-black-friday-product .summary .dlbf-rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	color: #444444;
	font-size: 14px;
	line-height: 1.4;
}

.dl-black-friday-product .summary .dlbf-rating-stars {
	color: #B8860B;
	font-size: 18px;
	line-height: 1;
	letter-spacing: 2px;
}

.dl-black-friday-product .summary .woocommerce-product-details__short-description,
.dl-black-friday-product .summary .woocommerce-product-details__short-description p {
	color: #444444;
	/* 14px is the size the shop uses for this text on every other listing. */
	font-size: 14px;
	line-height: 1.5;
}

/* ---------- Button: full width, no quantity box ---------- */

body.dl-black-friday-product div.product .summary form.cart {
	display: block;
	margin: 0 0 18px;
}

body.dl-black-friday-product div.product .summary form.cart .quantity,
body.dl-black-friday-product div.product .summary form.cart .quantity-nav {
	display: none;
}

body.dl-black-friday-product div.product .summary form.cart .single_add_to_cart_button.button {
	display: block;
	float: none;
	width: 100%;
	height: 56px;
	margin: 0;
	padding: 0 16px;
	background-color: #2F7A50;
	border: 0;
	border-radius: 6px;
	color: #FFFFFF;
	font-size: 16px;
	font-weight: 700;
	line-height: 56px;
	letter-spacing: 0;
	text-align: center;
	text-transform: none;
}

body.dl-black-friday-product div.product .summary form.cart .single_add_to_cart_button.button:hover,
body.dl-black-friday-product div.product .summary form.cart .single_add_to_cart_button.button:focus-visible {
	background-color: #27663F;
	color: #FFFFFF;
}

/* ---------- "Inside the ..." tiles ---------- */

.dl-black-friday-product .dlbf-inside,
.dl-black-friday-product .dlbf-inside * {
	box-sizing: border-box;
}

/*
 * Same width and side padding as the theme's own product sections, so the edges
 * line up with the photo above and the tabs below. The live site sets those
 * sections to the container width (1170px) plus the side padding.
 */
.dl-black-friday-product .dlbf-inside {
	clear: both;
	max-width: calc(5.2325em + 1170px);
	margin: 0 auto 40px;
	padding: 48px 1em 56px;
	background: #F5F5F5;
	/* Runs the grey to both screen edges without moving the content. */
	box-shadow: 0 0 0 100vmax #F5F5F5;
	clip-path: inset(0 -100vmax);
}

@media (min-width: 993px) {
	.dl-black-friday-product .dlbf-inside {
		padding-right: 2.617924em;
		padding-left: 2.617924em;
	}
}

.dl-black-friday-product .dlbf-inside .dlbf-inside-heading {
	margin: 0 0 24px;
	padding: 0;
	color: #222222;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
}

.dl-black-friday-product .dlbf-inside .dlbf-inside-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dl-black-friday-product .dlbf-inside .dlbf-inside-tile {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 20px;
	background: #FFFFFF;
	border-radius: 8px;
	list-style: none;
}

.dl-black-friday-product .dlbf-inside .dlbf-inside-tile::before {
	content: none;
}

.dl-black-friday-product .dlbf-inside .dlbf-inside-label {
	color: #6B6B6B;
	font-size: 13px;
	line-height: 1.3;
}

.dl-black-friday-product .dlbf-inside .dlbf-inside-value {
	color: #222222;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.dl-black-friday-product .dlbf-inside .dlbf-inside-tag {
	color: #2F7A50;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

@media (max-width: 992px) {
	.dl-black-friday-product .dlbf-inside .dlbf-inside-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/*
 * ---------- "Why buy from us" and the reviews, under the tiles ----------
 * On a normal listing these sit in the right-hand column under the button. On a
 * bundle page they print here instead, so the tiles follow the summary as in
 * the design. Same width and side padding as the tiles.
 */
.dl-black-friday-product .dlbf-more {
	clear: both;
	box-sizing: border-box;
	max-width: calc(5.2325em + 1170px);
	margin: 0 auto 24px;
	padding: 0 1em;
}

.dl-black-friday-product .dlbf-more .product-widget {
	margin-bottom: 0;
	padding-top: 0;
}

@media (min-width: 993px) {
	.dl-black-friday-product .dlbf-more {
		padding-right: 2.617924em;
		padding-left: 2.617924em;
	}

	/*
	 * First block (checkout and "Why buy from us") in a narrow left column,
	 * the reviews two across on the right. The left block stays in view while
	 * the reviews scroll past, so there is no empty space under it.
	 */
	.dl-black-friday-product .dlbf-more .product-widget {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
		column-gap: 48px;
		align-items: start;
	}

	.dl-black-friday-product .dlbf-more .product-widget > :first-child {
		grid-column: 1;
		grid-row: 1 / span 20;
		position: sticky;
		top: 85px;
	}

	.dl-black-friday-product .dlbf-more .glsr-reviews {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px 40px;
		align-items: start;
	}

	.dl-black-friday-product .dlbf-more .product-widget > :not(:first-child) {
		grid-column: 2;
	}

	.dl-black-friday-product .dlbf-more .product-widget > :only-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	body.dl-black-friday-product div.product .summary h1.product_title {
		font-size: 22px;
	}

	.dl-black-friday-product .dlbf-inside {
		padding-top: 32px;
		padding-bottom: 36px;
	}

	.dl-black-friday-product .dlbf-inside .dlbf-inside-heading {
		font-size: 20px;
		margin-bottom: 16px;
	}

	.dl-black-friday-product .dlbf-inside .dlbf-inside-grid {
		gap: 10px;
	}

	.dl-black-friday-product .dlbf-inside .dlbf-inside-tile {
		padding: 14px;
	}

	.dl-black-friday-product .dlbf-inside .dlbf-inside-value {
		font-size: 15px;
	}
}

/* ---------- Badges on the main photo ---------- */

.dl-black-friday-product .woocommerce-product-gallery__image {
	position: relative;
}

.dl-black-friday-product .dlbf-pdp-imgbadges {
	position: absolute;
	top: 16px;
	left: 16px;
	/* Leaves room for the theme's zoom icon in the photo's top right corner. */
	right: 56px;
	z-index: 3;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 8px;
	/* Clicks pass through to the photo, so zoom and lightbox still work. */
	pointer-events: none;
}

.dl-black-friday-product .dlbf-pdp-imgbadge {
	padding: 8px 12px;
	border-radius: 4px;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
}

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

.dl-black-friday-product .dlbf-pdp-imgbadge-save {
	margin-left: auto;
	background: #F04124;
	color: #0B0B0B;
	font-size: 14px;
}

/* ---------- "What's in the bundle" box ---------- */

.dl-black-friday-product .summary .dlbf-box {
	clear: both;
	margin: 18px 0;
	padding: 24px;
	background: #0B0B0B;
	color: #FFFFFF;
	border-radius: 10px;
}

.dl-black-friday-product .summary .dlbf-box-heading {
	margin: 0 0 8px;
	padding: 0;
	color: #7FD3A3;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.dl-black-friday-product .summary .dlbf-box-lines {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dl-black-friday-product .summary .dlbf-box-line {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid #2A2A2A;
	list-style: none;
}

.dl-black-friday-product .summary .dlbf-box-line::before {
	content: none;
}

.dl-black-friday-product .summary .dlbf-box-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
	color: #FFFFFF;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

.dl-black-friday-product .summary .dlbf-box-item svg {
	flex: 0 0 auto;
	margin-top: 2px;
	color: #7FD3A3;
}

.dl-black-friday-product .summary .dlbf-box-value {
	flex: 0 0 auto;
	color: #B5B5B5;
	font-size: 14px;
	line-height: 1.35;
}

.dl-black-friday-product .summary .dlbf-box-total {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	padding-top: 18px;
}

.dl-black-friday-product .summary .dlbf-box-worth {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.dl-black-friday-product .summary .dlbf-box-was {
	color: #B5B5B5;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: line-through;
	opacity: 1;
}

.dl-black-friday-product .summary .dlbf-box-save {
	padding: 5px 10px;
	background: #F04124;
	color: #0B0B0B;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
}

.dl-black-friday-product .summary .dlbf-box-now {
	margin-left: auto;
	color: #FFFFFF;
	font-size: 46px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.03em;
}

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

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

/* ---------- Trust row under the button ---------- */

.dl-black-friday-product .summary .dlbf-trust {
	clear: both;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 4px 0 20px;
	padding: 0;
	list-style: none;
}

.dl-black-friday-product .summary .dlbf-trust-item {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	color: #222222;
	font-size: 14px;
	line-height: 1.35;
	list-style: none;
}

.dl-black-friday-product .summary .dlbf-trust-item::before {
	content: none;
}

.dl-black-friday-product .summary .dlbf-trust-item svg {
	flex: 0 0 auto;
	color: #2F7A50;
}

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

@media (max-width: 600px) {
	.dl-black-friday-product .dlbf-pdp-imgbadges {
		top: 10px;
		left: 10px;
		right: 54px;
	}

	.dl-black-friday-product .dlbf-pdp-imgbadge {
		padding: 6px 9px;
	}

	.dl-black-friday-product .dlbf-pdp-imgbadge-bundle {
		font-size: 11px;
	}

	.dl-black-friday-product .dlbf-pdp-imgbadge-save {
		font-size: 12px;
	}

	.dl-black-friday-product .summary .dlbf-box {
		padding: 18px;
	}

	.dl-black-friday-product .summary .dlbf-box-item {
		font-size: 15px;
	}

	.dl-black-friday-product .summary .dlbf-box-now {
		font-size: 44px;
	}

	.dl-black-friday-product .summary .dlbf-trust {
		grid-template-columns: 1fr;
		gap: 10px;
	}
}

/* ---------- Card logos ("Guaranteed Safe Checkout") under the trust row ---------- */

.dl-black-friday-product .summary .dlbf-checkout {
	clear: both;
	margin: 0 0 8px;
	padding-top: 0;
}

.dl-black-friday-product .summary .dlbf-checkout fieldset {
	margin: 0;
}

/*
 * ---------- Reviews, full width under the spec tiles ----------
 * Three across on a desktop, two on a tablet, one on a phone. Same width and
 * side padding as the tiles above, so the edges line up.
 */
.dl-black-friday-product .dlbf-reviews {
	clear: both;
	box-sizing: border-box;
	max-width: calc(5.2325em + 1170px);
	margin: 0 auto 32px;
	padding: 8px 1em 0;
	color: #111111;
	font-size: 14px;
}

@media (min-width: 993px) {
	.dl-black-friday-product .dlbf-reviews {
		padding-right: 2.617924em;
		padding-left: 2.617924em;
	}
}

.dl-black-friday-product .dlbf-reviews .dlbf-reviews-heading {
	margin: 0 0 20px;
	padding: 0;
	color: #111111;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: uppercase;
}

.dl-black-friday-product .dlbf-reviews .widget {
	margin: 0;
	font-size: 14px;
}

.dl-black-friday-product .dlbf-reviews .glsr-reviews {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 40px;
	align-items: start;
}

.dl-black-friday-product .dlbf-reviews .glsr-review-title h4,
.dl-black-friday-product .dlbf-reviews .glsr-review-title .glsr-tag-value {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

@media (max-width: 992px) {
	.dl-black-friday-product .dlbf-reviews .glsr-reviews {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 32px;
	}
}

@media (max-width: 600px) {
	.dl-black-friday-product .dlbf-reviews .glsr-reviews {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	/* A phone shows the first three, so the page does not run on. */
	.dl-black-friday-product .dlbf-reviews .glsr-reviews > .glsr-review:nth-child(n+4) {
		display: none;
	}
}
