:root {
	color-scheme: only light;
	--mbk-red: #e30613;
	--mbk-yellow: #ffc400;
	--mbk-ink: #0b0b0b;
	--mbk-shell-wrap: 2400px;
	--mbk-content-wrap: 2200px;
}

html:has(body.mbk-site-page) {
	color-scheme: only light;
	background: #fff !important;
}

body.mbk-site-page,
body.mbk-site-page .site,
body.mbk-site-page #content,
body.mbk-site-page .site-content,
body.mbk-site-page .entry-content {
	margin: 0 !important;
	background: #fff !important;
	color: var(--mbk-ink) !important;
}

body.mbk-site-page #page {
	min-height: 0 !important;
}

body.mbk-site-page .site-header,
body.mbk-site-page #colophon,
body.mbk-home-page .entry-header,
body.mbk-home-page .post-navigation {
	display: none !important;
}

body.mbk-home-page #content > .ast-container,
body.mbk-home-page .site-content > .ast-container,
body.mbk-home-page #primary,
body.mbk-home-page .site-main,
body.mbk-home-page article,
body.mbk-home-page .entry-content {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.mbk-site-page:not(.mbk-home-page):not(.mbk-store-page):not(.mbk-experience-page):not(.mbk-about-family-page) #content > .ast-container,
body.mbk-site-page:not(.mbk-home-page):not(.mbk-store-page):not(.mbk-experience-page):not(.mbk-about-family-page) .site-content > .ast-container,
body.mbk-site-page:not(.mbk-home-page):not(.mbk-store-page):not(.mbk-experience-page):not(.mbk-about-family-page) #primary,
body.mbk-site-page:not(.mbk-home-page):not(.mbk-store-page):not(.mbk-experience-page):not(.mbk-about-family-page) .site-main {
	display: block !important;
	width: min(calc(100% - 40px), 1240px) !important;
	max-width: 1240px !important;
	margin-inline: auto !important;
	padding: 48px 0 64px !important;
}

body.mbk-site-page:not(.mbk-home-page):not(.mbk-store-page):not(.mbk-experience-page):not(.mbk-about-family-page) article,
body.mbk-site-page:not(.mbk-home-page):not(.mbk-store-page):not(.mbk-experience-page):not(.mbk-about-family-page) .entry-content {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

/* MBK-owned templates are full-width application surfaces. This deliberately
 * outranks Astra's content containers without editing the parent theme. */
body.mbk-site-page.mbk-store-page #primary.mbk-store-page-main,
body.mbk-site-page.mbk-experience-page #primary.mbk-experience,
body.mbk-site-page.mbk-about-family-page #primary.mbk-about-main {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

.mbk-site-shell,
.mbk-site-shell *,
.mbk-home,
.mbk-home *,
.ffx-core-mbk-hero,
.ffx-core-mbk-hero *,
.ffx-core-mbk-categories,
.ffx-core-mbk-categories *,
.ffx-core-mbk-location,
.ffx-core-mbk-location * {
	box-sizing: border-box;
}

.mbk-shell-wrap,
.mbk-section-wrap {
	margin-inline: auto;
	max-width: none !important;
}

.mbk-shell-wrap {
	width: min(calc(100% - 112px), var(--mbk-shell-wrap));
}

.mbk-section-wrap {
	width: min(calc(100% - clamp(48px, 10.4vw, 160px)), var(--mbk-content-wrap));
}

body.mbk-home-page .entry-content > .mbk-hero,
body.mbk-home-page .entry-content > .mbk-location-strip,
body.mbk-home-page .entry-content > .ffx-core-mbk-hero,
body.mbk-home-page .entry-content > .ffx-core-mbk-categories,
body.mbk-home-page .entry-content > .ffx-core-mbk-location {
	width: 100% !important;
	max-width: none !important;
	margin-inline: 0 !important;
}

.mbk-icon {
	display: block;
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
}

.mbk-account-link.is-current,
.mbk-cart-link.is-current {
	box-shadow: inset 0 -3px var(--mbk-red);
}

.mbk-utility-bar {
	position: relative;
	z-index: 30;
	background: #050505 !important;
	color: #fff !important;
	font: 500 12px/1.2 Arial, sans-serif;
}

.mbk-utility-bar .mbk-shell-wrap {
	min-height: 43px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
}

.mbk-utility-item,
.mbk-utility-social {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff !important;
	text-decoration: none !important;
	white-space: nowrap;
}

.mbk-utility-item .mbk-icon {
	width: 18px;
	height: 18px;
	flex-basis: 18px;
}

.mbk-utility-social {
	margin-left: auto;
}

.mbk-utility-social .mbk-icon {
	filter: brightness(0) invert(1);
}

.mbk-commerce-header {
	position: relative;
	z-index: 25;
	background: #fff !important;
	border-bottom: 1px solid #dedede;
	font-family: Arial, sans-serif;
}

.mbk-commerce-header__inner {
	min-height: 140px;
	display: grid;
	grid-template-columns: 220px minmax(230px, 1fr) auto;
	align-items: center;
	gap: 28px;
}

.mbk-brand {
	height: 124px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: #111 !important;
	text-decoration: none !important;
}

.mbk-brand img {
	width: 210px;
	height: 102px;
	object-fit: contain;
	object-position: center;
}

.mbk-brand span,
.mbk-location-brand span {
	font: 800 11px/1 Arial, sans-serif;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.mbk-primary-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 42px;
}

.mbk-primary-nav a {
	padding: 15px 0 11px;
	border-bottom: 3px solid transparent;
	color: #111 !important;
	font: 700 16px/1 Arial, sans-serif;
	text-decoration: none !important;
}

.mbk-primary-nav a:hover,
.mbk-primary-nav a:focus-visible,
.mbk-primary-nav a.is-current {
	border-color: var(--mbk-red);
	color: var(--mbk-red) !important;
}

.mbk-header-tools {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
}

.mbk-product-search {
	width: clamp(230px, 19vw, 300px);
}

.mbk-site-shell .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.mbk-product-search form {
	height: 47px;
	display: flex;
	margin: 0;
	border: 1px solid #cfcfcf;
	border-radius: 5px;
	overflow: hidden;
	background: #fff !important;
}

.mbk-product-search input[type="search"] {
	min-width: 0;
	width: 100%;
	height: 45px;
	margin: 0;
	padding: 0 14px;
	border: 0 !important;
	outline: 0;
	background: #fff !important;
	color: #222 !important;
	font-size: 14px;
}

.mbk-product-search button {
	width: 47px;
	height: 45px;
	margin: 0;
	padding: 0;
	border: 0 !important;
	display: grid;
	place-items: center;
	flex: 0 0 47px;
	background: #fff !important;
	color: transparent !important;
	font-size: 0;
}

.mbk-account-link,
.mbk-cart-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 47px;
	color: #111 !important;
	font: 700 13px/1 Arial, sans-serif;
	text-decoration: none !important;
	white-space: nowrap;
}

.mbk-account-link .mbk-icon,
.mbk-cart-link .mbk-icon {
	filter: brightness(0);
}

.mbk-cart-link {
	padding: 0 18px;
	border-radius: 5px;
	background: var(--mbk-yellow) !important;
}

.mbk-cart-link .amount {
	color: inherit !important;
}

.mbk-mobile-menu {
	display: none;
}

.ffx-core-mbk-hero,
.ffx-core-mbk-categories,
.ffx-core-mbk-location {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

.mbk-hero {
	position: relative;
	height: clamp(430px, 22vw, 560px);
	min-height: clamp(430px, 22vw, 560px);
	overflow: hidden;
	background: #fff !important;
	font-family: Arial, sans-serif;
}

.mbk-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center right;
}

.mbk-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, #fff 0%, #fff 31%, rgba(255,255,255,.97) 37%, rgba(255,255,255,.72) 44%, rgba(255,255,255,0) 55%);
}

.mbk-hero::after {
	content: "";
	position: absolute;
	inset: -12px auto -12px -10px;
	z-index: 2;
	width: 280px;
	background: url('../img/paint-edge-vertical-ai-v1.webp') left center/100% 100% no-repeat;
}

.mbk-hero__inner {
	position: relative;
	z-index: 3;
	width: min(calc(100% - 112px), var(--mbk-shell-wrap));
	min-height: clamp(430px, 22vw, 560px);
	display: flex;
	align-items: center;
}

.mbk-hero__copy {
	width: 46%;
	max-width: 800px;
	padding: 24px 0 20px 16px;
}

.mbk-hero h1 {
	max-width: 760px;
	margin: 0 0 14px !important;
	color: #050505 !important;
	font: 900 clamp(52px, 3.7vw, 74px)/.98 Arial, sans-serif !important;
	letter-spacing: -.045em;
	text-transform: uppercase;
}

.mbk-hero h1 span {
	display: block;
	color: var(--mbk-red) !important;
}

.mbk-hero p {
	max-width: 560px;
	margin: 0 0 24px !important;
	color: #151515 !important;
	font: 400 clamp(18px, 1.25vw, 22px)/1.45 Arial, sans-serif;
}

.mbk-button {
	display: inline-flex;
	min-width: 226px;
	min-height: 62px;
	align-items: center;
	justify-content: center;
	padding: 0 28px;
	border-radius: 5px;
	background: var(--mbk-red) !important;
	box-shadow: 0 8px 18px rgba(227, 6, 19, .18);
	color: #fff !important;
	font: 800 23px/1 Arial, sans-serif;
	text-decoration: none !important;
	text-transform: uppercase;
}

.mbk-button:hover,
.mbk-button:focus-visible {
	background: #bd0010 !important;
	color: #fff !important;
}

.mbk-categories {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	padding-block: 20px 22px;
	background: #fff !important;
}

.mbk-category {
	position: relative;
	min-height: clamp(264px, 14vw, 360px);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	border-radius: 9px;
	background: #d7d7d7 !important;
	box-shadow: 0 5px 15px rgba(0,0,0,.11);
	text-decoration: none !important;
}

.mbk-category__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.mbk-category::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(0,0,0,.16), transparent 55%);
	z-index: 1;
}

.mbk-category span {
	position: relative;
	z-index: 2;
	width: 100%;
	min-height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 11px 30px 13px;
	background-color: transparent !important;
	background-position: center 52% !important;
	background-size: 94% 88% !important;
	background-repeat: no-repeat !important;
	color: #050505 !important;
	font: 900 clamp(22px, 1.8vw, 30px)/1.05 Arial, sans-serif;
	text-decoration: none !important;
}

.mbk-category--hardware span {
	background-image: url('../img/paint-banner-hardware-v2.webp') !important;
}

.mbk-category--paint span {
	background-image: url('../img/paint-banner-paint-v2.webp') !important;
}

.mbk-category--diy span {
	background-image: url('../img/paint-banner-diy-v2.webp') !important;
}

.mbk-category:hover,
.mbk-category:focus-visible {
	transform: translateY(-2px);
}

.mbk-popular-picks {
	padding: 4px 0 32px;
	background: #fff !important;
	font-family: Arial, sans-serif;
}

.mbk-popular-picks__heading {
	display: grid;
	grid-template-columns: minmax(60px, 1fr) auto minmax(60px, 1fr);
	align-items: center;
	gap: 26px;
	margin: 0 0 18px;
}

.mbk-popular-picks__heading span {
	height: 3px;
	background: var(--mbk-yellow) !important;
}

.mbk-popular-picks__heading h2 {
	margin: 0 !important;
	color: #101010 !important;
	font: 900 clamp(24px, 2vw, 34px)/1 Arial, sans-serif !important;
	letter-spacing: -.02em;
	text-transform: uppercase;
}

.mbk-product-carousel {
	position: relative;
}

.mbk-product-carousel__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	scroll-snap-type: x mandatory;
}

.mbk-product-carousel__viewport::-webkit-scrollbar {
	display: none;
}

.mbk-product-carousel__track {
	display: flex;
	gap: 18px;
}

.mbk-product-card {
	min-width: calc((100% - 54px) / 4);
	display: grid;
	grid-template-rows: 176px auto auto auto;
	align-content: start;
	padding: 16px 18px 18px;
	border: 1px solid #ededed;
	border-radius: 6px;
	background: #fff !important;
	box-shadow: 0 7px 20px rgba(0,0,0,.08);
	color: #111 !important;
	scroll-snap-align: start;
	text-decoration: none !important;
}

.mbk-product-card img {
	width: 100%;
	height: 164px;
	display: block;
	object-fit: contain;
}

.mbk-product-card__name {
	margin-top: 8px;
	color: #111 !important;
	font: 800 18px/1.2 Arial, sans-serif;
}

.mbk-product-card__detail {
	min-height: 21px;
	margin-top: 4px;
	color: #444 !important;
	font: 400 14px/1.25 Arial, sans-serif;
}

.mbk-product-card strong {
	margin-top: 9px;
	color: var(--mbk-red) !important;
	font: 900 21px/1 Arial, sans-serif;
}

.mbk-product-card:hover,
.mbk-product-card:focus-visible {
	border-color: var(--mbk-yellow);
	transform: translateY(-2px);
}

.mbk-carousel-button {
	position: absolute;
	top: 50%;
	z-index: 4;
	width: 42px;
	height: 42px;
	display: grid;
	place-content: center;
	margin: -21px 0 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #111 !important;
	box-shadow: 0 4px 14px rgba(0,0,0,.22);
	color: #fff !important;
	font: 400 34px/1 Arial, sans-serif;
	cursor: pointer;
}

.mbk-carousel-button--prev {
	left: -21px;
}

.mbk-carousel-button--next {
	right: -21px;
}

.mbk-carousel-button:hover,
.mbk-carousel-button:focus-visible {
	background: var(--mbk-red) !important;
}

.mbk-location-strip {
	background: linear-gradient(120deg, #060606, #151515) !important;
	color: #fff !important;
	font-family: Arial, sans-serif;
}

.mbk-location-strip__inner {
	min-height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
}

.mbk-location-brand {
	width: 130px;
	height: 78px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.mbk-location-brand img {
	width: 118px;
	height: 58px;
	object-fit: contain;
}

.mbk-location-brand span {
	font-size: 7px;
	color: #fff;
}

.mbk-location-divider {
	width: 1px;
	height: 52px;
	background: #6f6f6f;
}

.mbk-location-strip .mbk-icon {
	width: 42px;
	height: 42px;
	flex-basis: 42px;
}

.mbk-location-strip strong {
	color: #fff !important;
	font-size: clamp(22px, 2vw, 31px);
}

.mbk-location-address {
	color: var(--mbk-yellow) !important;
	font-size: 14px;
}

@media (max-width: 1180px) {
	.mbk-utility-delivery,
	.mbk-utility-hours {
		display: none;
	}
	.mbk-commerce-header__inner {
		grid-template-columns: 185px minmax(0, 1fr);
		gap: 14px 24px;
		padding-block: 12px;
	}
	.mbk-brand {
		grid-row: 1 / 3;
	}
	.mbk-primary-nav {
		justify-content: flex-start;
	}
	.mbk-header-tools {
		justify-content: flex-start;
		min-width: 0;
		gap: 14px;
	}
	.mbk-product-search {
		min-width: 0;
		width: auto;
		max-width: 360px;
		flex: 1 1 180px;
	}
	.mbk-location-address {
		display: none;
	}
	.mbk-product-card {
		min-width: calc((100% - 36px) / 3);
	}
}

@media (max-width: 760px) {
	.mbk-shell-wrap,
	.mbk-section-wrap {
		width: min(calc(100% - 28px), var(--mbk-shell-wrap));
	}
	.mbk-utility-bar .mbk-shell-wrap {
		min-height: 38px;
		justify-content: center;
	}
	.mbk-utility-address,
	.mbk-utility-social {
		display: none;
	}
	.mbk-utility-item {
		font-size: 11px;
	}
	.mbk-commerce-header__inner {
		min-height: 92px;
		grid-template-columns: 110px minmax(90px, 1fr) 42px;
		gap: 6px;
		padding-block: 6px;
	}
	.mbk-brand {
		grid-row: auto;
		height: 82px;
	}
	.mbk-brand img {
		width: 108px;
		height: 66px;
	}
	.mbk-brand span {
		font-size: 7px;
	}
	.mbk-primary-nav,
	.mbk-product-search,
	.mbk-account-link span,
	.mbk-cart-total,
	.mbk-cart-count {
		display: none;
	}
	.mbk-header-tools {
		justify-content: flex-end;
		gap: 8px;
	}
	.mbk-account-link,
	.mbk-cart-link {
		min-width: 43px;
		min-height: 43px;
		justify-content: center;
		padding: 0 10px;
	}
	.mbk-mobile-menu {
		position: relative;
		display: block;
	}
	.mbk-mobile-menu summary {
		width: 42px;
		height: 42px;
		display: grid;
		place-content: center;
		gap: 4px;
		cursor: pointer;
		list-style: none;
	}
	.mbk-mobile-menu summary::-webkit-details-marker {
		display: none;
	}
	.mbk-mobile-menu summary span {
		width: 24px;
		height: 3px;
		background: #111;
	}
	.mbk-mobile-menu nav {
		position: absolute;
		top: 48px;
		right: 0;
		z-index: 40;
		width: 180px;
		padding: 10px;
		border: 1px solid #ddd;
		background: #fff !important;
		box-shadow: 0 12px 25px rgba(0,0,0,.15);
	}
	.mbk-mobile-menu nav a {
		display: block;
		padding: 12px;
		color: #111 !important;
		font-weight: 700;
		text-decoration: none !important;
	}
	.mbk-hero {
		height: 540px;
		min-height: 540px;
	}
	.mbk-hero__media {
		top: auto;
		bottom: 0;
		height: 56%;
		object-position: 63% bottom;
	}
	.mbk-hero::before {
		background: linear-gradient(180deg, #fff 0%, #fff 43%, rgba(255,255,255,.9) 49%, rgba(255,255,255,0) 64%);
	}
	.mbk-hero::after {
		inset: -8px auto auto -6px;
		width: 170px;
		height: 58%;
	}
	.mbk-hero__inner {
		min-height: 540px;
		align-items: flex-start;
	}
	.mbk-hero__copy {
		width: 100%;
		max-width: 520px;
		padding: 42px 16px 0 24px;
	}
	.mbk-hero h1 {
		max-width: 11ch;
		font-size: clamp(36px, 11vw, 50px) !important;
	}
	.mbk-hero p {
		max-width: 410px;
		font-size: 15px;
	}
	.mbk-button {
		min-width: 176px;
		min-height: 52px;
		font-size: 18px;
	}
	.mbk-categories {
		grid-template-columns: 1fr;
		gap: 14px;
		padding-block: 16px 20px;
	}
	.mbk-category {
		min-height: 220px;
	}
	.mbk-category span {
		min-height: 64px;
		padding: 9px 22px 11px;
		background-size: 96% 88% !important;
		font-size: 24px;
	}
	.mbk-popular-picks {
		padding: 4px 0 24px;
	}
	.mbk-popular-picks__heading {
		grid-template-columns: 1fr auto 1fr;
		gap: 12px;
		margin-bottom: 14px;
	}
	.mbk-popular-picks__heading h2 {
		font-size: 22px !important;
	}
	.mbk-product-carousel__track {
		gap: 12px;
	}
	.mbk-product-card {
		min-width: 82%;
		grid-template-rows: 164px auto auto auto;
		padding: 14px 16px 16px;
	}
	.mbk-product-card img {
		height: 154px;
	}
	.mbk-carousel-button {
		width: 36px;
		height: 36px;
		margin-top: -18px;
		font-size: 28px;
	}
	.mbk-carousel-button--prev {
		left: -10px;
	}
	.mbk-carousel-button--next {
		right: -10px;
	}
	.mbk-location-strip__inner {
		min-height: 92px;
		gap: 14px;
	}
	.mbk-location-brand,
	.mbk-location-divider {
		display: none;
	}
	.mbk-location-strip .mbk-icon {
		width: 34px;
		height: 34px;
		flex-basis: 34px;
	}
	.mbk-location-strip strong {
		font-size: 19px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mbk-category,
	.mbk-button,
	.mbk-product-card {
		transition: none !important;
	}
}

/* Progressive load-in motion. Attributes are added by site.js, so content
 * remains visible when JavaScript is unavailable. */
@media (prefers-reduced-motion: no-preference) {
	html.mbk-motion-ready [data-mbk-reveal] {
		opacity: 0;
		transform: translate3d(0, 22px, 0) scale(.992);
		transition:
			opacity .58s cubic-bezier(.2, .75, .25, 1) var(--mbk-reveal-delay, 0ms),
			transform .72s cubic-bezier(.16, 1, .3, 1) var(--mbk-reveal-delay, 0ms);
		will-change: opacity, transform;
	}

	html.mbk-motion-ready [data-mbk-reveal="fade"] {
		transform: scale(1.015);
	}

	html.mbk-motion-ready [data-mbk-reveal].is-mbk-revealed {
		opacity: 1;
		transform: none;
		will-change: auto;
	}

	html.mbk-motion-ready img[data-mbk-image]:not(.is-mbk-loaded) {
		opacity: 0;
	}

	html.mbk-motion-ready img[data-mbk-image] {
		transition: opacity .55s ease, filter .65s ease;
	}

	html.mbk-motion-ready img[data-mbk-image].is-mbk-loaded {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	[data-mbk-reveal],
	img[data-mbk-image] {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}
