:root {
	--epcb-ink: #10192a;
	--epcb-muted: #66758d;
	--epcb-blue: #2f6df6;
	--epcb-line: #dce3ec;
	--epcb-panel: #f4f7fb;
}

body.epcb-catalog-page .site-content,
body.epcb-catalog-page .site-content > .ast-container {
	display: block;
	margin: 0 !important;
	max-width: none !important;
	padding: 0 !important;
	width: 100% !important;
}

.ast-left-sidebar .epcb-catalog,
.epcb-catalog {
	width: 100%;
	margin: 0;
	color: var(--epcb-ink);
	background: #fff;
}

.epcb-container {
	margin-inline: auto;
	max-width: 1320px;
	padding-left: 24px;
	padding-right: 24px;
	width: 100%;
}

.epcb-hero {
	color: #fff;
	background: radial-gradient(circle at 82% 12%, #234977 0, #122a4a 26%, #091322 68%);
	border-bottom: 1px solid rgba(255,255,255,.12);
}

.epcb-hero .epcb-container { min-height: 460px; padding-bottom: 64px; padding-top: 58px; }
.epcb-breadcrumbs { color: #b9c4d5; display: flex; font-size: 14px; font-weight: 400; gap: 9px; line-height: 1.4; margin-bottom: 44px; }
.epcb-breadcrumbs a { color: inherit; text-decoration: none; }
.epcb-hero__grid { align-items: center; display: grid; gap: 60px; grid-template-columns: minmax(0, 1fr) 280px; }
.epcb-eyebrow { color: #66a8ff; font-size: 14px; font-weight: 800; letter-spacing: .13em; line-height: 1.25; margin: 0 0 12px; text-transform: uppercase; }
.epcb-hero h1 { color: #fff; font-size: clamp(42px, 5vw, 72px); font-weight: 850; letter-spacing: -.04em; line-height: 1.02; margin: 0; max-width: 900px; }
.epcb-hero__summary { color: #d4dce8; font-size: 19px; line-height: 1.48; margin: 22px 0 30px; max-width: 760px; }
.epcb-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 0; }
.epcb-oem-link,
.epcb-change-link { align-items: center; border: 1px solid rgba(255,255,255,.36); border-radius: 7px; color: #fff; display: inline-flex; font-size: 14px; font-weight: 800; height: 50px; justify-content: center; min-height: 50px; padding: 0 20px; text-decoration: none; }
.epcb-change-link { border-color: transparent; background: var(--epcb-blue); }
.epcb-oem-link:hover,
.epcb-change-link:hover { color: #fff; transform: translateY(-1px); }
.epcb-hero__stat { padding: 32px 28px; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; background: rgba(7,19,33,.34); text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.16); backdrop-filter: blur(8px); }
.epcb-hero__stat strong { display: block; font-size: 54px; line-height: 1; }
.epcb-hero__stat span { display: block; margin-top: 14px; color: #cbd7e8; line-height: 1.45; }

.epcb-trust { background: #080e19; color: #fff; }
.epcb-trust__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 25px; padding-top: 25px; }
.epcb-trust__grid > div { border-right: 1px solid #253044; display: flex; flex-direction: column; gap: 4px; min-height: auto; padding: 0 30px; }
.epcb-trust__grid > div:first-child { padding-left: 0; }
.epcb-trust__grid > div:last-child { border-right: 0; }
.epcb-trust strong,
.epcb-trust span { display: block; }
.epcb-trust strong { font-size: 16px; font-weight: 700; letter-spacing: .04em; line-height: 1.65; text-transform: uppercase; }
.epcb-trust span { color: #9eabba; font-size: 14px; line-height: 1.65; margin-top: 0; }

.epcb-section { padding-block: 76px; }
.epcb-categories { background: var(--epcb-panel); }
.epcb-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 30px; }
.epcb-heading .epcb-eyebrow { margin-bottom: 10px; }
.epcb-heading h2 { margin: 0; color: var(--epcb-ink); font-size: clamp(30px, 3vw, 44px); letter-spacing: -.035em; }
.epcb-heading > p,
.epcb-heading > div > p:last-child { margin: 8px 0 0; color: var(--epcb-muted); }
.epcb-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.epcb-category-card { display: grid; grid-template-columns: 62px minmax(0,1fr) auto; gap: 18px; align-items: center; min-height: 118px; padding: 22px; border: 1px solid var(--epcb-line); border-radius: 16px; color: var(--epcb-ink); background: #fff; text-decoration: none; box-shadow: 0 12px 34px rgba(18,37,63,.06); }
.epcb-category-card:hover { color: var(--epcb-ink); border-color: #9bbcff; transform: translateY(-2px); }
.epcb-category-card__icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 14px; color: var(--epcb-blue); background: #edf3ff; }
.epcb-category-card__icon svg { width: 38px; fill: none; stroke: currentColor; stroke-width: 2; }
.epcb-category-card strong,
.epcb-category-card small { display: block; }
.epcb-category-card strong { font-size: 18px; }
.epcb-category-card small { margin-top: 7px; color: var(--epcb-muted); }
.epcb-category-card i { color: var(--epcb-blue); font-size: 24px; font-style: normal; }
.epcb-swipe { display: none; }

.epcb-products { background: #fff; }
.epcb-products__heading { align-items: center; }
.epcb-toolbar { display: flex; align-items: center; gap: 14px; }
.epcb-sort { display: grid; gap: 6px; color: var(--epcb-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.epcb-sort select { min-width: 190px; height: 48px; padding: 0 38px 0 14px; border: 1px solid var(--epcb-line); border-radius: 9px; color: var(--epcb-ink); background-color: #fff; font-size: 14px; font-weight: 650; text-transform: none; letter-spacing: 0; }
.epcb-products .apfb-filter { margin: 0 0 32px; }
.epcb-products .apfb-filter__grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.epcb-products .apcb-products-grid { margin-top: 0; }
.epcb-empty { padding: 70px 24px; border: 1px dashed #bdc9d9; border-radius: 18px; background: var(--epcb-panel); text-align: center; }
.epcb-empty h3 { margin: 0; font-size: 28px; }
.epcb-empty p { color: var(--epcb-muted); }
.epcb-empty a { display: inline-flex; min-height: 46px; padding: 0 20px; align-items: center; border-radius: 8px; color: #fff; background: var(--epcb-blue); text-decoration: none; font-weight: 750; }

@media (max-width: 900px) {
	.epcb-hero__grid { grid-template-columns: 1fr 220px; gap: 30px; }
	.epcb-category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.epcb-products .apfb-filter__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 767px) {
	.epcb-container { padding-left: 18px; padding-right: 18px; }
	.epcb-hero .epcb-container { min-height: auto; padding-bottom: 34px; padding-top: 28px; }
	.epcb-breadcrumbs { font-size: 13px; margin-bottom: 32px; }
	.epcb-hero__grid { display: block; }
	.epcb-hero h1 { font-size: 38px; }
	.epcb-hero__summary { font-size: 16px; line-height: 1.45; margin: 16px 0 22px; }
	.epcb-hero__actions { margin-top: 0; }
	.epcb-oem-link,
	.epcb-change-link { flex: 1 1 100%; height: 50px; min-height: 50px; }
	.epcb-hero__stat { display: none; }
	body.epcb-catalog-page .epcb-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 12px !important; }
	.epcb-trust__grid > div { align-items: center; border-left: 0; justify-content: center; min-height: 76px; padding: 14px 10px; text-align: center; }
	.epcb-trust__grid > div:first-child { border-right: 1px solid #253044; padding-left: 10px; }
	body.epcb-catalog-page .epcb-trust__sepa { display: none !important; }
	.epcb-trust span { display: none; }
	.epcb-trust strong { font-size: 13px; font-weight: 800; letter-spacing: .05em; line-height: 1.45; }
	.epcb-section { padding-block: 48px; }
	.epcb-heading { display: block; margin-bottom: 22px; }
	.epcb-heading h2 { font-size: 30px; }
	.epcb-heading > p { margin-top: 10px; }
	.epcb-category-grid { display: flex; gap: 12px; margin-inline: -18px; padding: 2px 18px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.epcb-category-grid::-webkit-scrollbar { display: none; }
	.epcb-category-card { flex: 0 0 82%; min-height: 108px; scroll-snap-align: start; }
	.epcb-swipe { display: block; margin: 14px 0 0; color: var(--epcb-muted); text-align: right; font-size: 13px; }
	.epcb-products__heading { display: grid; gap: 18px; }
	.epcb-toolbar { justify-content: space-between; }
	.epcb-sort { flex: 1; }
	.epcb-sort select { width: 100%; min-width: 0; }
	.epcb-products .apfb-filter__grid { grid-template-columns: 1fr; }
}
