/* Restored reference homepage sections after the EMS catalog rows. */

/* Source-session hero, brand rail and product-grid contract. */
.ems-homepage.bd-el-home {
	--bd-black: #050505;
	--bd-dark: #111;
	--bd-orange: var(--ems-accent, #F6A51C);
	--bd-border: #d9d9d9;
	font-family: Inter, Arial, Helvetica, sans-serif;
	color: #191919;
	background: #fff;
}

/* Keep the EMS reference body and heading faces consistent with policy and
 * product surfaces while leaving the surrounding theme untouched. */
.ems-homepage.bd-el-home,
.ems-homepage.bd-el-home p,
.ems-homepage.bd-el-home a,
.ems-homepage.bd-el-home button {
	font-family: Inter, Arial, Helvetica, sans-serif !important;
}

.ems-homepage.bd-el-home h1,
.ems-homepage.bd-el-home h2,
.ems-homepage.bd-el-home h3,
.ems-homepage.bd-el-home h4 {
	font-family: Oswald, "Arial Narrow", Arial, Helvetica, sans-serif !important;
}

.ems-homepage.bd-el-home .bd-el-hero {
	position: relative;
	display: flex;
	min-height: 640px;
	align-items: center;
	overflow: hidden;
	color: #fff;
	background: #111;
}

.ems-homepage.bd-el-home .bd-el-hero::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .72));
	content: "";
}

.ems-homepage.bd-el-home .bd-el-hero-video {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.ems-homepage.bd-el-home .bd-el-hero .bd-el-wrap {
	position: relative;
	z-index: 2;
	display: flex;
	width: 100%;
	padding-top: 120px;
	padding-bottom: 120px;
	align-items: center;
	flex-direction: column;
	text-align: center;
}

.ems-homepage.bd-el-home .bd-el-hero h1,
.ems-homepage.bd-el-home .bd-el-hero h2 {
	margin: 0 0 14px;
	color: #fff;
	font-size: clamp(42px, 4vw, 56px);
	font-weight: 900;
	letter-spacing: -.02em;
	line-height: .95;
	text-shadow: 0 2px 10px #000;
}

.ems-homepage.bd-el-home .bd-el-hero p {
	max-width: 690px;
	margin: 0 0 28px;
	color: #fff;
	font-size: 18px;
	line-height: 1.45;
}

.ems-homepage.bd-el-home .bd-el-btn-red {
	display: inline-flex;
	width: max-content;
	padding: 15px 20px;
	border-radius: 9px;
	background: var(--bd-orange);
	color: #fff;
	font-size: 17px;
	font-weight: 900;
}

.ems-homepage.bd-el-home .bd-el-btn-red:hover,
.ems-homepage.bd-el-home .bd-el-btn-red:focus-visible {
	background: #e84d22;
	color: #fff;
}

.ems-homepage.bd-el-home .bd-el-sale {
	background: #050505;
}

.ems-homepage.bd-el-home .bd-el-brands-section {
	padding-top: 60px;
	background: #fff;
	overflow: hidden;
}

.ems-homepage.bd-el-home .bd-el-brands-section .bd-el-title {
	margin-bottom: 16px;
}

.ems-homepage.bd-el-home .bd-el-subtitle {
	margin: 0 auto 44px;
	color: #555;
	font-size: 14px;
	text-align: center;
}

.ems-homepage.bd-el-home .bd-el-brand-slider {
	position: relative;
	display: flex;
	width: 100%;
	align-items: center;
	gap: 14px;
}

.ems-homepage.bd-el-home .bd-el-brand-viewport {
	width: 100%;
	overflow-x: auto;
	scroll-behavior: smooth;
	overscroll-behavior-inline: contain;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.ems-homepage.bd-el-home .bd-el-brand-viewport::-webkit-scrollbar {
	display: none;
}

.ems-homepage.bd-el-home .bd-el-brand-grid {
	display: grid;
	grid-auto-columns: minmax(250px, 1fr);
	grid-auto-flow: column;
	grid-template-rows: 1fr;
	gap: 16px;
	min-width: max-content;
}

.ems-homepage.bd-el-home .bd-el-logo-card {
	display: flex;
	width: clamp(250px, 22vw, 322px);
	height: 170px;
	padding: 22px;
	align-items: center;
	justify-content: center;
	border: 1px solid #e1e1e1;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 5px 18px rgba(0, 0, 0, .06);
	transition: transform .2s ease, box-shadow .2s ease;
}

.ems-homepage.bd-el-home .bd-el-logo-card:hover,
.ems-homepage.bd-el-home .bd-el-logo-card:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.ems-homepage.bd-el-home .bd-el-logo-card img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ems-homepage.bd-el-home .bd-el-brand-arrow {
	display: inline-flex;
	width: 42px;
	height: 42px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	border: 1px solid #d5d5d5;
	border-radius: 50%;
	background: #fff;
	color: #111;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.ems-homepage.bd-el-home .bd-el-brand-arrow:hover,
.ems-homepage.bd-el-home .bd-el-brand-arrow:focus-visible {
	border-color: #111;
	background: #111;
	color: #fff;
}

.ems-homepage.bd-el-home .bd-el-brand-arrow[disabled],
.ems-homepage.bd-el-home .bd-el-brand-slider.is-static .bd-el-brand-arrow {
	visibility: hidden;
	pointer-events: none;
}

.ems-homepage.bd-el-home .bd-el-products-section {
	padding: 54px 0;
}

.ems-homepage.bd-el-home .bd-el-section-head {
	display: flex;
	margin-bottom: 30px;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
}

.ems-homepage.bd-el-home .bd-el-section-head h2 {
	margin: 0;
	color: #111;
	font-size: 32px;
	font-weight: 900;
}

.ems-homepage.bd-el-home .bd-el-section-head a {
	color: #111;
	font-size: 14px;
	font-weight: 800;
	text-decoration: underline;
}

.ems-homepage.bd-el-home .bd-el-products-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ems-homepage.bd-el-home .bd-el-products-grid > li {
	min-width: 0;
}

.ems-homepage.bd-el-home .bd-el-products-grid .ems-hp-product__media {
	min-height: 260px;
}

.ems-homepage.bd-el-home .bd-el-products-grid .ems-hp-product__link {
	height: 100%;
}

.ems-homepage.bd-el-home .bd-el-empty-note {
	margin: 0;
	color: #555;
	text-align: center;
}

/* Keep both hero slides clear of the transparent homepage navigation. */
.ems-homepage.bd-el-home .ems-hp-hero-slider .ems-hp-hero__content.bd-el-wrap {
	justify-content: flex-start;
	padding-top: 250px;
	padding-bottom: 0;
}

@media (max-width: 1024px) {
	.ems-homepage.bd-el-home .ems-hp-hero-slider .ems-hp-hero__content.bd-el-wrap {
		padding-top: 220px;
	}

	.ems-homepage.bd-el-home .bd-el-brands-section {
		padding-top: 48px;
	}

	.ems-homepage.bd-el-home .bd-el-hero {
		min-height: 700px;
	}

	.ems-homepage.bd-el-home .bd-el-hero .bd-el-wrap {
		padding-top: 150px;
		padding-bottom: 120px;
	}

	.ems-homepage.bd-el-home .bd-el-products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.ems-homepage.bd-el-home .ems-hp-hero-slider .ems-hp-hero__content.bd-el-wrap {
		padding-top: 190px;
	}

	.ems-homepage.bd-el-home .bd-el-brands-section {
		padding-top: 38px;
	}

	.ems-homepage.bd-el-home .bd-el-hero {
		min-height: 620px;
	}

	.ems-homepage.bd-el-home .bd-el-hero h1,
	.ems-homepage.bd-el-home .bd-el-hero h2 {
		font-size: 38px;
	}

	.ems-homepage.bd-el-home .bd-el-hero p {
		font-size: 16px;
	}

	.ems-homepage.bd-el-home .bd-el-brand-slider {
		gap: 6px;
	}

	.ems-homepage.bd-el-home .bd-el-brand-arrow {
		width: 34px;
		height: 34px;
		font-size: 24px;
	}

	.ems-homepage.bd-el-home .bd-el-brand-grid {
		/* Keep two equal logo cards in the mobile viewport. The 120px reserve
		 * accounts for the two arrow controls, their gaps, and page gutters. */
		grid-auto-columns: calc((100vw - 120px) / 2);
	}

	.ems-homepage.bd-el-home .bd-el-logo-card {
		width: calc((100vw - 120px) / 2);
		height: 140px;
	}

	.ems-homepage.bd-el-home .bd-el-products-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ems-homepage.bd-el-home .bd-el-section-head {
		align-items: flex-start;
		flex-direction: column;
	}
}
.ems-homepage .bd-el-sale,
.ems-homepage .bd-el-buy-ease,
.ems-homepage .bd-el-featured-categories,
.ems-homepage .bd-el-feedback,
.ems-homepage .bd-el-gallery-section,
.ems-homepage .bd-el-story-hero,
.ems-homepage .bd-el-door-shipping,
.ems-homepage .bd-el-buy-now,
.ems-homepage .bd-el-partners,
.ems-homepage .bd-el-warranty,
.ems-homepage .bd-el-buy-with-card,
.ems-homepage .bd-el-service-center,
.ems-homepage .bd-el-sale *,
.ems-homepage .bd-el-buy-ease *,
.ems-homepage .bd-el-featured-categories *,
.ems-homepage .bd-el-feedback *,
.ems-homepage .bd-el-gallery-section *,
.ems-homepage .bd-el-story-hero *,
.ems-homepage .bd-el-door-shipping *,
.ems-homepage .bd-el-buy-now *,
.ems-homepage .bd-el-partners *,
.ems-homepage .bd-el-warranty *,
.ems-homepage .bd-el-buy-with-card *,
.ems-homepage .bd-el-service-center * {
	box-sizing: border-box;
}

.ems-homepage :is(
	.bd-el-sale,
	.bd-el-buy-ease,
	.bd-el-featured-categories,
	.bd-el-feedback,
	.bd-el-gallery-section,
	.bd-el-buy-now,
	.bd-el-partners,
	.bd-el-service-center
) {
	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.ems-homepage .bd-el-sale {
	padding: 56px 18px;
	background: var(--ems-accent, #F6A51C);
	color: #fff;
	text-align: center;
	text-transform: uppercase;
}

.ems-homepage .bd-el-sale h2 {
	margin: 0 0 8px;
	color: #fff;
	font-size: clamp(28px, 2.65vw, 46px);
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.08;
}

.ems-homepage .bd-el-sale p {
	max-width: 720px;
	margin: 0 auto;
	color: #fff;
	font-size: clamp(16px, 1.4vw, 23px);
	font-style: italic;
	line-height: 1.35;
	text-transform: none;
}

.ems-homepage .bd-el-wrap {
	width: min(100%, 1360px);
	margin: 0 auto;
	padding-inline: 20px;
}

.ems-homepage .bd-el-title {
	margin: 0 0 10px;
	color: #111;
	font-size: 32px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.05;
	text-align: center;
	text-transform: uppercase;
}

.ems-homepage .bd-el-buy-ease {
	padding: 80px 6%;
	background: #f7f7f7;
}

.ems-homepage .bd-el-buy-ease h2 {
	margin: 0 0 50px;
	color: #111;
	font-size: 58px;
	font-weight: 900;
	letter-spacing: 0;
	text-align: center;
}

.ems-homepage .bd-el-ease-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	overflow: hidden;
	border: 1px solid #d9d9d9;
	border-radius: 26px;
	background: #fff;
}

.ems-homepage .bd-el-ease-card {
	display: grid;
	min-height: 280px;
	grid-template-rows: 72px 52px 72px;
	align-content: center;
	justify-items: center;
	padding: 48px 30px 40px;
	border-right: 1px solid #d9d9d9;
	text-align: center;
}

.ems-homepage .bd-el-ease-card:last-child {
	border-right: 0;
}

.ems-homepage .bd-el-ease-icon {
	display: flex;
	width: 72px;
	height: 72px;
	align-items: center;
	justify-content: center;
	margin: 0;
	color: #1a1a1a;
}

.ems-homepage .bd-el-ease-card h3 {
	display: flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	margin: 0;
	color: #1a1a1a;
	font-size: 18px;
	font-weight: 900;
}

.ems-homepage .bd-el-ease-card p {
	display: flex;
	min-height: 72px;
	align-items: flex-start;
	justify-content: center;
	margin: 0;
	color: #333;
	font-size: 16px;
	line-height: 1.4;
}

.ems-homepage .bd-el-feedback-strip {
	padding: 18px;
	background: #050505;
	color: #fff;
	font-size: 22px;
	font-weight: 900;
	text-align: center;
	text-transform: uppercase;
}

.ems-homepage .bd-el-feedback-card {
	width: 100%;
	max-width: none;
	padding: 0 16px 42px;
}

.ems-homepage .bd-el-feedback-proof {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: 48px;
	align-items: center;
	width: 100%;
	padding: 46px clamp(24px, 6vw, 96px);
	background: #f7f7f7;
}

.ems-homepage .bd-el-feedback-proof h2 {
	margin: 0 0 16px;
	color: #111;
	font-size: 30px;
	font-weight: 900;
	line-height: 1.1;
}

.ems-homepage .bd-el-feedback-proof strong {
	display: block;
	margin-bottom: 8px;
	color: #111;
	font-size: 24px;
}

.ems-homepage .bd-el-feedback-proof p {
	margin: 0;
	color: #444;
	font-size: 16px;
	line-height: 1.45;
}

.ems-homepage .bd-el-feedback-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.ems-homepage .bd-el-feedback-facts p {
	padding: 18px;
	border: 1px solid #ddd;
	background: #fff;
}

.ems-homepage .bd-el-feedback-facts b,
.ems-homepage .bd-el-feedback-facts span {
	display: block;
}

.ems-homepage .bd-el-feedback-facts b {
	margin-bottom: 4px;
	color: #111;
	font-size: 16px;
}

.ems-homepage .bd-el-feedback-facts span {
	color: #555;
	font-size: 14px;
	line-height: 1.4;
}

.ems-homepage .bd-el-gallery-section {
	padding: 0;
	background: #fff;
}

.ems-homepage .bd-el-gallery-section .bd-el-wrap {
	width: 100%;
	max-width: none;
	padding: 0;
}

.ems-homepage .bd-el-gallery-section .bd-el-title {
	width: 100%;
	margin: 0;
	padding: 24px 20px;
	background: #050505;
	color: #fff;
}

.ems-homepage .bd-el-gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	width: 100%;
	padding: 16px;
}

.ems-homepage .bd-el-gallery img {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 0;
	background: #eee;
	object-fit: cover;
}

.ems-homepage .bd-el-story-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	overflow: hidden;
	width: min(calc(100% - 40px), 1360px);
	margin: 60px auto;
	background: #fff;
}

.ems-homepage .bd-el-story-hero-image {
	min-height: 0;
	align-self: center;
}

.ems-homepage .bd-el-story-hero-image img,
.ems-homepage .bd-el-door-image img,
.ems-homepage .bd-el-warranty-image img,
.ems-homepage .bd-el-buy-with-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ems-homepage .bd-el-story-hero-image img {
	display: block;
	height: auto;
	object-fit: contain;
	object-position: center center;
}

.ems-homepage .bd-el-warranty-image {
	min-height: 0;
	align-self: center;
}

.ems-homepage .bd-el-warranty-image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center center;
}

.ems-homepage .bd-el-door-image img {
	object-position: 50% center;
}

.ems-homepage .bd-el-story-hero-text {
	display: flex;
	justify-content: center;
	flex-direction: column;
	padding: 70px 48px;
}

.ems-homepage .bd-el-story-hero-text h2 {
	margin: 0 0 18px;
	color: #000;
	font-size: 38px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.08;
}

.ems-homepage .bd-el-story-hero-text p {
	max-width: 560px;
	margin: 0 0 28px;
	color: #111;
	font-size: 18px;
	line-height: 1.45;
}

.ems-homepage .bd-el-story-hero-text p:last-child {
	margin-bottom: 0;
}

.ems-homepage .bd-el-door-shipping {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 47%);
	gap: 64px;
	align-items: center;
	width: min(calc(100% - 40px), 1360px);
	margin: 70px auto;
}

.ems-homepage .bd-el-door-content h2 {
	margin: 0 0 28px;
	color: #111;
	font-size: 64px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.05;
}

.ems-homepage .bd-el-door-content p {
	max-width: 760px;
	margin: 0 0 34px;
	color: #555;
	font-size: 18px;
	line-height: 1.55;
}

.ems-homepage .bd-el-red-link {
	color: #e31c24;
	font-size: 20px;
	font-weight: 900;
	text-decoration: none;
}

.ems-homepage .bd-el-red-link span {
	margin-left: 5px;
	font-size: 28px;
	vertical-align: -2px;
}

.ems-homepage .bd-el-door-image {
	overflow: hidden;
	min-height: 0;
	aspect-ratio: 16 / 9;
	border-radius: 26px;
}

.ems-homepage .bd-el-buy-now {
	padding: 80px 6%;
	background: #fff;
}

.ems-homepage .bd-el-buy-now-header {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 70px;
	align-items: start;
	margin-bottom: 58px;
}

.ems-homepage .bd-el-buy-now-header h2 {
	margin: 0;
	font-size: 48px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.15;
}

.ems-homepage .bd-el-buy-now-copy p {
	max-width: 650px;
	margin: 0 0 22px;
	color: #444;
	font-size: 16px;
	line-height: 1.45;
}

.ems-homepage .bd-el-buy-now-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.ems-homepage .bd-el-buy-card {
	display: flex;
	min-height: 215px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 28px 35px 24px;
	border: 1px solid #d9dde3;
	border-radius: 9px;
	text-align: center;
	transition: .18s ease;
}

.ems-homepage .bd-el-buy-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgb(0 0 0 / 8%);
}

.ems-homepage .bd-el-buy-icon {
	margin-bottom: 24px;
	color: #191919;
}

.ems-homepage .bd-el-buy-card h3 {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 900;
}

.ems-homepage .bd-el-buy-card p {
	max-width: 390px;
	margin: 0;
	color: #191919;
	font-size: 16px;
	line-height: 1.4;
}

.ems-homepage .bd-el-featured-categories {
	padding: 58px 0 72px;
	background: #fff;
}

.ems-homepage .bd-el-featured-categories__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
}

.ems-homepage .bd-el-featured-categories__head h2 {
	margin: 0;
	color: #111;
	font-size: 32px;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.ems-homepage .bd-el-featured-categories__head a,
.ems-homepage .bd-el-featured-categories__tab {
	color: #111;
	font-size: 16px;
	font-weight: 800;
	text-decoration: none;
}

.ems-homepage .bd-el-featured-categories__head a {
	white-space: nowrap;
}

.ems-homepage .bd-el-featured-categories__head a span {
	margin-left: 5px;
	font-size: 24px;
	vertical-align: -2px;
}

.ems-homepage .bd-el-featured-categories__tabs {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 34px;
	margin-bottom: 28px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	white-space: nowrap;
}

.ems-homepage .bd-el-featured-categories__tab {
	position: relative;
	padding: 0 0 10px;
	color: #777;
	transition: color .18s ease;
}

.ems-homepage .bd-el-featured-categories__tab:hover,
.ems-homepage .bd-el-featured-categories__tab:focus-visible,
.ems-homepage .bd-el-featured-categories__tab.is-active {
	color: #111;
}

.ems-homepage .bd-el-featured-categories__tab.is-active::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: #111;
	content: '';
}

.ems-homepage .bd-el-featured-categories__panel[hidden] {
	display: none;
}

.ems-homepage .bd-el-featured-categories__panel .ems-hp-product-grid {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1024px) {
	.ems-homepage .bd-el-featured-categories__panel .ems-hp-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.ems-homepage .bd-el-featured-categories__head {
		align-items: flex-start;
		flex-direction: column;
	}

	.ems-homepage .bd-el-featured-categories__tabs {
		justify-content: flex-start;
		gap: 24px;
	}

	.ems-homepage .bd-el-featured-categories__panel .ems-hp-product-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ems-homepage .bd-el-partners {
	padding: 58px 20px 82px;
	border-top: 1px solid #eee;
	background: #fff;
	text-align: center;
}

.ems-homepage .bd-el-partners h2 {
	margin: 0 0 36px;
	font-size: 32px;
	font-weight: 900;
	text-transform: uppercase;
}

.ems-homepage .bd-el-partners div {
	display: flex;
	flex-wrap: wrap;
	gap: 54px;
	align-items: center;
	justify-content: center;
}

.ems-homepage .bd-el-partners span {
	color: #111;
	font-size: 24px;
	font-weight: 900;
}

.ems-homepage .bd-el-warranty {
	display: grid;
	grid-template-columns: 55% 45%;
	overflow: hidden;
	width: min(calc(100% - 40px), 1360px);
	margin: 50px auto;
	border-radius: 24px;
	background: #0f0f10;
	align-items: center;
}

.ems-homepage .bd-el-warranty-image {
	min-height: 0;
	align-self: center;
}

.ems-homepage .bd-el-warranty-content {
	display: flex;
	justify-content: center;
	flex-direction: column;
	padding: 80px 70px;
	background: #0f0f10;
	color: #fff;
}

.ems-homepage .bd-el-warranty-content h2 {
	margin: 0 0 26px;
	color: #fff;
	font-size: 64px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.05;
}

.ems-homepage .bd-el-warranty-content p {
	max-width: 520px;
	margin: 0 0 34px;
	color: #fff;
	font-size: 20px;
	line-height: 1.5;
}

.ems-homepage :is(.bd-el-warranty-btn, .bd-el-buy-with-btn) {
	display: inline-flex;
	width: max-content;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 0 26px;
	border-radius: 10px;
	background: #e31c24;
	color: #fff;
	font-size: 18px;
	font-weight: 900;
	text-decoration: none;
}

.ems-homepage .bd-el-buy-with-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	overflow: hidden;
	width: min(calc(100% - 40px), 1360px);
	margin: 40px auto 70px;
	border-radius: 16px;
	background: #f4f4f4;
}

.ems-homepage .bd-el-buy-with-copy {
	display: flex;
	justify-content: center;
	flex-direction: column;
	padding: 95px 40px;
}

.ems-homepage .bd-el-buy-with-copy h2 {
	margin: 0 0 30px;
	color: #000;
	font-size: 62px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.05;
}

.ems-homepage .bd-el-buy-with-copy p {
	max-width: 520px;
	margin: 0 0 34px;
	color: #444;
	font-size: 16px;
	line-height: 1.45;
}

.ems-homepage .bd-el-buy-with-image {
	min-height: 0;
	align-self: center;
}

.ems-homepage .bd-el-buy-with-image img {
	display: block;
	height: auto;
	object-fit: contain;
	object-position: center center;
}

.ems-homepage .bd-el-service-center {
	padding: 70px 6%;
	background: #fff;
	color: #191919;
}

.ems-homepage .bd-el-sc-header {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
	margin-bottom: 55px;
}

.ems-homepage .bd-el-sc-header h2 {
	margin: 0;
	font-size: 48px;
	font-weight: 900;
	line-height: 1.15;
}

.ems-homepage .bd-el-sc-header p {
	max-width: 620px;
	margin: 0;
	color: #444;
	font-size: 16px;
	line-height: 1.45;
}

.ems-homepage .bd-el-sc-tabs {
	display: inline-flex;
	gap: 18px;
	margin-bottom: 20px;
	padding: 10px 16px;
	border: 1px solid #ddd;
	border-radius: 18px;
}

.ems-homepage .bd-el-sc-tab {
	padding: 8px 18px;
	border: 0;
	border-radius: 14px;
	background: transparent;
	font-size: 14px;
	font-weight: 800;
}

.ems-homepage .bd-el-sc-tab.active {
	background: #111;
	color: #fff;
}

.ems-homepage .bd-el-sc-content {
	display: grid;
	grid-template-columns: 40% 60%;
	gap: 25px;
	align-items: stretch;
}

.ems-homepage .bd-el-sc-list {
	overflow-y: auto;
	max-height: 485px;
	border: 1px solid #ddd;
	border-radius: 18px;
	background: #fff;
}

.ems-homepage .bd-el-sc-item {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 20px;
	border-bottom: 1px solid #eee;
}

.ems-homepage .bd-el-sc-item:last-child {
	border-bottom: 0;
}

.ems-homepage .bd-el-sc-item h3 {
	margin: 0 0 9px;
	font-size: 16px;
	font-weight: 900;
}

.ems-homepage .bd-el-sc-item p {
	margin: 0;
	color: #444;
	font-size: 14px;
}

.ems-homepage .bd-el-sc-map iframe {
	width: 100%;
	height: 485px;
	border: 0;
	border-radius: 4px;
}

@media (max-width: 1024px) {
	.ems-homepage .bd-el-gallery {
		grid-template-columns: repeat(2, 1fr);
	}

	.ems-homepage :is(.bd-el-buy-with-card, .bd-el-door-shipping, .bd-el-sc-content) {
		grid-template-columns: 1fr;
	}

	.ems-homepage .bd-el-door-shipping {
		gap: 40px;
		margin-block: 40px;
	}
}

@media (max-width: 900px) {
	.ems-homepage :is(.bd-el-buy-ease h2, .bd-el-door-content h2, .bd-el-warranty-content h2) {
		font-size: 42px;
	}

	.ems-homepage :is(
		.bd-el-ease-cards,
		.bd-el-buy-now-header,
		.bd-el-buy-now-cards,
		.bd-el-warranty,
		.bd-el-story-hero,
		.bd-el-sc-header,
		.bd-el-feedback-proof,
		.bd-el-feedback-facts
	) {
		grid-template-columns: 1fr;
	}

	.ems-homepage .bd-el-ease-card {
		grid-template-rows: 72px auto auto;
		border-right: 0;
		border-bottom: 1px solid #d9d9d9;
	}

	.ems-homepage .bd-el-ease-card:last-child {
		border-bottom: 0;
	}

	.ems-homepage :is(.bd-el-story-hero, .bd-el-warranty) {
		margin: 25px 15px;
		width: calc(100% - 30px);
	}

	.ems-homepage .bd-el-buy-with-card {
		width: calc(100% - 30px);
		margin: 25px 15px 55px;
	}

	.ems-homepage .bd-el-buy-with-image {
		order: -1;
	}

	.ems-homepage :is(.bd-el-story-hero-text, .bd-el-warranty-content, .bd-el-buy-with-copy) {
		padding: 55px 28px;
	}

	.ems-homepage :is(.bd-el-story-hero-text h2, .bd-el-buy-with-copy h2) {
		font-size: 42px;
	}

	.ems-homepage .bd-el-warranty-image {
		min-height: 0;
	}

	.ems-homepage .bd-el-sc-header h2 {
		font-size: 36px;
	}
}

@media (max-width: 560px) {
	.ems-homepage .bd-el-gallery {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.ems-homepage .bd-el-door-image {
		width: 100%;
		order: -1;
	}

	.ems-homepage .bd-el-door-image img {
		object-position: 50% center;
	}

	.ems-homepage .bd-el-partners div {
		gap: 28px;
	}

	.ems-homepage .bd-el-partners span {
		font-size: 20px;
	}

	.ems-homepage .bd-el-buy-now-header h2 {
		font-size: 36px;
	}

	.ems-homepage .bd-el-sc-item {
		flex-direction: column;
	}
}
