/* ==========================================================
   Black Friday Landing Page  (template-black-friday.php)
   ========================================================== */

:root {
	--bf-bg: #FFF6F0;
	--bf-text: #000;
	--bf-red: #BF2229;
	--bf-white: #fff;
	--bf-font: 'HarmonyOS Sans', 'HarmonyOS_Sans', 'HarmonyOS Sans SC', Arial, sans-serif;
}
main#primary {
  margin-top: 102px;
}
body.page-template-page-templates-template-black-friday,
body.page-template-template-black-friday {
	background-color: var(--bf-bg);
}

.bf-lp {
	background-color: var(--bf-bg);
	color: var(--bf-text);
	font-family: var(--bf-font);
	overflow-x: hidden;
}

.bf-lp *,
.bf-lp *::before,
.bf-lp *::after {
	box-sizing: border-box;
}

.bf-lp img {
	max-width: 100%;
	height: auto;
	display: block;
}

.bf-container {
	width: 100%;
	max-width: 1170px;
	margin: 0 auto;
	padding: 0 20px;
}

.bf-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Shared button ---------- */
.bf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 5px 24px;
	border: 1.5px solid var(--bf-text);
	border-radius: 50px;
	background: transparent;
	color: var(--bf-text);
	font-family: var(--bf-font);
	font-weight: 700;
	font-size: 16px;
	line-height: 27px;
	letter-spacing: 0.04em;
	text-align: center;
	vertical-align: middle;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
	text-decoration: none !important;
}

.bf-btn:hover,
.bf-btn:focus-visible {
	background: var(--bf-red);
	border-color: var(--bf-red);
	color: var(--bf-white);
	text-decoration: none;
}

.bf-btn:focus-visible {
	outline: 2px solid var(--bf-red);
	outline-offset: 3px;
}

/* ==========================================================
   SECTION 1 – Banner
   ========================================================== */
.bf-hero,
.bf-hero__link {
	display: block;
	width: 100%;
}

.bf-hero__img {
	width: 100%;
	height: auto;
}

/* ==========================================================
   SECTION 2 – Product cards
   ========================================================== */
.bf-deals {
	padding: 90px 0 70px;
}

.bf-deals__title {
	margin: 0 0 50px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	column-gap: 15px;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.bf-deals__title-sm {
	font-family: var(--bf-font);
	font-weight: 700;
	font-style: normal;
	font-size: 40px;
	line-height: 100%;
	color: var(--bf-text);
}

.bf-deals__title-lg {
	font-family: var(--bf-font);
	font-weight: 900;
	font-style: italic;
	font-size: 56px;
	line-height: 100%;
	color: var(--bf-red);
}

.bf-grid {
	display: grid;
	column-gap: 40px;
	row-gap: 46px;
}
 
.bf-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.bf-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: var(--bf-white);
	border-radius: 12px;
	padding: 27px 24px;
	text-align: center;
	transition: box-shadow 0.3s ease;
}
.bf-card:hover,
.bf-card:focus-within {
	box-shadow: 0px 4px 30px 0px #BF222959;
}

.bf-card__media {
	width: 100%;
	height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
}

.bf-card__img {
	max-height: 150px;
	width: auto !important;
	object-fit: contain;
}

.bf-card__body {
	margin-bottom: 26px;
}

.bf-card__title {
	margin: 0 0 8px;
	font-family: var(--bf-font);
	font-weight: 900;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0;
	text-align: center;
	color: var(--bf-text);
	text-transform: none;
}

.bf-card__variant {
	margin: 0;
	font-family: var(--bf-font);
	font-weight: 500;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0;
	text-align: center;
	color: var(--bf-text);
}

.bf-card__btn {
	width: 100%;
	margin-top: auto; /* keeps buttons aligned at the bottom */
}

/* ==========================================================
   SECTION 3 – Image + content
   ========================================================== */
.bf-promo {
	padding: 60px 0 100px;
}

.bf-promo__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-columns: 60% 40%;
	align-items: center;
	gap: 60px;
}

.bf-promo__img {
	width: 100%;
	margin: 0 auto;
}

.bf-promo__title {
	margin: 0 0 28px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.bf-promo__heading {
	display: block;
	margin: 0 0 14px 30px;
	font-family: var(--bf-font);
	font-weight: 700;
	font-style: normal;
	font-size: 38px;
	line-height: 100%;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--bf-text);
}

.bf-promo__boxes {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding-left: 14px;
}

/* Red parallelogram box */
.bf-redbox {
	display: inline-block;
	background: var(--bf-red);
	padding: 3px 28px;
	transform: skewX(-18deg);
}

.bf-redbox > span {
	display: inline-block;
	display: flex;
	transform: skewX(18deg);
	font-family: var(--bf-font);
	font-weight: 700;
	font-style: italic;
	font-size: 47.01px;
	line-height: 120%;
	letter-spacing: 0.01em;
	text-align: center;
	text-transform: uppercase;
	color: var(--bf-white);
	white-space: nowrap;
}

.bf-promo__text {
	margin: 0 0 30px;
	max-width: 440px;
	font-family: var(--bf-font);
	font-weight: 400;
	font-size: 18px;
	line-height: 140%;
	letter-spacing: 0;
	color: var(--bf-text);
}

.bf-promo__text p {
	margin: 0 0 12px;
	font: inherit;
	color: inherit;
}

.bf-promo__text p:last-child { margin-bottom: 0; }

.bf-promo__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1199px) {
	.bf-grid { gap: 24px; }
	.bf-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
	main#primary{
         margin-top: 52px;
        }

	.bf-grid {
		column-gap: 24px;
		row-gap: 32px;
	  }
	.bf-grid--4,
	.bf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

	.bf-promo__inner { gap: 40px; }
	.bf-redbox > span { font-size: 40px; }
	.bf-deals__title-sm {font-size: 30px;}
	.bf-deals__title-lg{font-size: 40px;}
	.bf-promo__inner{grid-template-columns: 50% 40%;}
}

@media (max-width: 767px) {
	/* Section 2 */
	.bf-deals { padding: 50px 0; }

	.bf-deals__title {
		flex-direction: column;
		align-items: center;
		margin-bottom: 40px;
	}

	.bf-deals__title-sm {
		font-size: 26px;
		line-height: 120%;
	}

	.bf-deals__title-lg {
		font-size: 36px;
		line-height: 120%;
	}
 
	.bf-grid--4,
	.bf-grid--3 {
		grid-template-columns: 1fr;
		max-width: 340px;
		margin: 0 auto;
		gap: 32px;
		row-gap: 32px;
		padding: 0 25px;
	}


	/* Section 3 */
	.bf-promo { padding: 0 0 80px; }

	.bf-promo__inner {
		grid-template-columns: 1fr;
		gap: 28px;
		text-align: center;
	}

	.bf-promo__title,
	.bf-promo__boxes { align-items: center; }

	.bf-promo__boxes { padding-left: 0; }

	.bf-promo__heading {
		margin: 0 0 12px;
		font-size: 28px;
		text-align: center;
	}

	.bf-redbox { padding: 4px 22px; }

	.bf-redbox > span { font-size: 36px; }

	.bf-promo__text {
		margin: 0 auto 26px;
		text-align: center;
	}

	.bf-promo__buttons {
		flex-direction: column;
		align-items: center;
	}

	.bf-promo__buttons .bf-btn {
		width: 100%;
		max-width: 300px;
	}
}

@media (max-width: 374px) {
	.bf-redbox > span { font-size: 30px; }
}
