:root {
	--p4m-ink: #07192b;
	--p4m-navy: #071d34;
	--p4m-blue: #075e9b;
	--p4m-blue-dark: #03436f;
	--p4m-aqua: #2eb4b7;
	--p4m-yellow: #ffd336;
	--p4m-paper: #ffffff;
	--p4m-soft: #f3f7fa;
	--p4m-mist: #e8f0f5;
	--p4m-line: #d6e0e8;
	--p4m-muted: #586778;
	--p4m-danger: #a12727;
	--p4m-success: #17633a;
	--p4m-shadow: 0 18px 50px rgba(7, 29, 52, 0.1);
	--p4m-radius: 18px;
}

/* Sitewide commerce cleanup supplied by the child theme. */
body:not(.home) .p4m-market-header--global {
	position: relative;
}

body.woocommerce-shop .wd-page-title,
body.tax-product_cat .wd-page-title,
body.tax-product_tag .wd-page-title {
	min-height: 150px;
	display: flex;
	align-items: center;
	background-color: #071119;
	background-image: linear-gradient(90deg, rgba(5, 13, 18, .88), rgba(5, 13, 18, .42)), image-set(url("../images/marine-hero.avif") type("image/avif"), url("../images/marine-hero.webp") type("image/webp"));
	background-position: center 48%;
	background-size: cover;
}

body.woocommerce-shop .wd-page-title > .wd-page-title-bg,
body.tax-product_cat .wd-page-title > .wd-page-title-bg,
body.tax-product_tag .wd-page-title > .wd-page-title-bg {
	display: none;
}

body.woocommerce-shop .wd-page-title :where(.title, .breadcrumbs, .breadcrumbs a),
body.tax-product_cat .wd-page-title :where(.title, .breadcrumbs, .breadcrumbs a),
body.tax-product_tag .wd-page-title :where(.title, .breadcrumbs, .breadcrumbs a) {
	color: #fff;
}

body .wd-compare-btn,
body .wd-wishlist-btn,
body .wd-quick-view-icon,
body .quick-view,
body .wd-hover-quick {
	display: none !important;
}

body.home .whb-header,
body.home .whb-clone,
body.home .footer-container,
body.home .copyrights-wrapper,
body.home .wd-toolbar,
body.home .page-title {
	display: none !important;
}

body.home .main-page-wrapper {
	padding: 0 !important;
}

body.home #main-content,
body.home .site-content,
body.home .entry-content {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.p4m-marketplace,
.p4m-marketplace * {
	box-sizing: border-box;
}

.p4m-marketplace {
	width: 100%;
	overflow: clip;
	background: var(--p4m-paper);
	color: var(--p4m-ink);
	font-family: Inter, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
}

.p4m-marketplace h1,
.p4m-marketplace h2,
.p4m-marketplace h3,
.p4m-marketplace p {
	margin-top: 0;
}

.p4m-marketplace h1,
.p4m-marketplace h2,
.p4m-marketplace h3 {
	color: var(--p4m-ink);
	font-weight: 800;
	letter-spacing: -0.025em;
}

.p4m-marketplace a {
	text-decoration: none;
}

.p4m-marketplace img {
	display: block;
	max-width: 100%;
}

.p4m-shell {
	width: min(1240px, calc(100% - 40px));
	margin-inline: auto;
}

.p4m-skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100000;
	padding: 12px 18px;
	border-radius: 8px;
	background: #fff;
	color: var(--p4m-ink);
	font-weight: 800;
	box-shadow: var(--p4m-shadow);
	transform: translateY(-150%);
}

.p4m-skip-link:focus {
	transform: translateY(0);
}

.p4m-marketplace :where(a, button, input, textarea):focus-visible {
	outline: 3px solid var(--p4m-yellow);
	outline-offset: 3px;
}

.p4m-announcement {
	background: var(--p4m-yellow);
	color: var(--p4m-ink);
	font-size: 14px;
	font-weight: 800;
	text-align: center;
}

.p4m-announcement p,
.p4m-announcement a {
	display: block;
	margin: 0;
	padding: 9px 0;
	color: inherit;
}

.p4m-market-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--p4m-line);
	backdrop-filter: blur(14px);
}

.admin-bar .p4m-market-header {
	top: 32px;
}

.p4m-market-header__top {
	display: grid;
	grid-template-columns: minmax(160px, 220px) minmax(300px, 1fr) auto;
	gap: 24px;
	align-items: center;
	min-height: 78px;
}

.p4m-market-header__brand,
.p4m-theme-logo {
	display: flex;
	align-items: center;
}

.p4m-market-header .p4m-theme-logo,
.p4m-market-header .p4m-nav-toggle {
	min-height: 44px !important;
}

.p4m-theme-logo img {
	width: auto;
	max-width: 210px;
	height: 42px;
	object-fit: contain;
}

.p4m-wordmark {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--p4m-navy);
	font-size: 22px;
	font-weight: 900;
	letter-spacing: -0.04em;
}

.p4m-header-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	min-width: 0;
	border: 2px solid var(--p4m-navy);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}

.p4m-header-search input {
	width: 100%;
	min-width: 0;
	height: 48px;
	padding: 0 16px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--p4m-ink);
	font-size: 16px;
}

.p4m-header-search input:focus {
	outline: 0;
}

.p4m-header-search button,
.p4m-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: 0;
	background: var(--p4m-navy);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

.p4m-header-search button:hover,
.p4m-button:hover {
	background: var(--p4m-blue);
	color: #fff;
}

.p4m-market-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
}

.p4m-market-header__actions > a,
.p4m-nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	color: var(--p4m-ink);
	font-size: 14px;
	font-weight: 800;
}

.p4m-cart-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	margin-left: 5px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--p4m-yellow);
	color: var(--p4m-ink);
	font-size: 12px;
	font-weight: 900;
}

.p4m-nav-toggle {
	display: none;
	padding: 0 14px;
	border: 1px solid var(--p4m-line);
	border-radius: 9px;
	background: #fff;
	cursor: pointer;
}

.p4m-primary-nav {
	border-top: 1px solid var(--p4m-line);
	background: var(--p4m-paper);
}

.p4m-primary-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2vw, 29px);
	min-height: 48px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.p4m-primary-nav__list::-webkit-scrollbar {
	display: none;
}

.p4m-primary-nav__list li {
	flex: 0 0 auto;
	margin: 0;
}

.p4m-primary-nav__list a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--p4m-ink);
	font-size: 13px;
	font-weight: 750;
	white-space: nowrap;
}

.p4m-primary-nav__list a:hover {
	color: var(--p4m-blue);
}

.p4m-hero {
	position: relative;
	background-color: #05182b;
	background-image:
		linear-gradient(90deg, rgba(3, 17, 31, 0.97) 0%, rgba(5, 30, 52, 0.91) 46%, rgba(5, 43, 69, 0.5) 100%),
		url("../images/marine-hero.webp");
	background-position: center;
	background-size: cover;
	color: #fff;
}

@supports (background-image: image-set(url("../images/marine-hero.avif") type("image/avif"))) {
	.p4m-hero {
		background-image:
			linear-gradient(90deg, rgba(3, 17, 31, 0.97) 0%, rgba(5, 30, 52, 0.91) 46%, rgba(5, 43, 69, 0.5) 100%),
			image-set(url("../images/marine-hero.avif") type("image/avif"), url("../images/marine-hero.webp") type("image/webp"));
	}
}

.p4m-hero::after {
	position: absolute;
	right: -8%;
	bottom: -40%;
	width: 540px;
	height: 540px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	box-shadow: 0 0 0 54px rgba(255, 255, 255, 0.025), 0 0 0 108px rgba(255, 255, 255, 0.02);
	content: "";
	pointer-events: none;
}

.p4m-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
	gap: clamp(36px, 6vw, 88px);
	align-items: center;
	min-height: 500px;
	padding-block: 58px;
}

.p4m-eyebrow {
	margin-bottom: 12px;
	color: var(--p4m-blue);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.p4m-hero .p4m-eyebrow {
	color: var(--p4m-yellow);
}

.p4m-hero h1 {
	max-width: 800px;
	margin-bottom: 22px;
	color: #fff;
	font-size: clamp(44px, 5.7vw, 76px);
	line-height: 0.99;
	letter-spacing: -0.055em;
}

.p4m-hero__copy > p:not(.p4m-eyebrow) {
	max-width: 700px;
	margin-bottom: 28px;
	color: #d9e7f1;
	font-size: 18px;
}

.p4m-route-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.p4m-route-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 154px;
	padding: 22px;
	border: 1px solid rgba(255, 255, 255, 0.27);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	transition: transform 160ms ease, background-color 160ms ease;
}

.p4m-route-card:hover {
	transform: translateY(-3px);
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
}

.p4m-route-card--primary {
	border-color: var(--p4m-yellow);
	background: var(--p4m-yellow);
	color: var(--p4m-ink);
}

.p4m-route-card--primary:hover {
	background: #ffe16a;
	color: var(--p4m-ink);
}

.p4m-route-card span {
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.p4m-route-card strong {
	font-size: 19px;
	line-height: 1.2;
}

.p4m-route-card small {
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.4;
	opacity: 0.84;
}

.p4m-latest-card {
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 26px 80px rgba(0, 0, 0, 0.25);
	color: var(--p4m-ink);
}

.p4m-latest-card__label {
	margin-bottom: 13px;
	color: var(--p4m-blue);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.p4m-latest-card__image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 210px;
	margin-bottom: 14px;
	border-radius: 13px;
	background: var(--p4m-soft);
	overflow: hidden;
}

.p4m-latest-card__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.p4m-latest-card__meta {
	margin-bottom: 7px;
	color: var(--p4m-muted);
	font-size: 12px;
	font-weight: 700;
}

.p4m-latest-card h2 {
	margin-bottom: 14px;
	font-size: 20px;
	line-height: 1.25;
}

.p4m-latest-card h2 a {
	color: inherit;
}

.p4m-latest-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 13px;
	border-top: 1px solid var(--p4m-line);
	font-weight: 800;
}

.p4m-latest-card__footer a {
	color: var(--p4m-blue);
	font-size: 13px;
}

.p4m-section {
	padding-block: clamp(56px, 7vw, 92px);
}

.p4m-section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 30px;
}

.p4m-section-heading h2,
.p4m-section--sourcing h2 {
	margin-bottom: 0;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.05;
}

.p4m-arrow-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--p4m-blue);
	font-size: 14px;
	font-weight: 850;
}

.p4m-department-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.p4m-department-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 236px;
	padding: 26px;
	border: 1px solid var(--p4m-line);
	border-radius: var(--p4m-radius);
	background: #fff;
	color: var(--p4m-ink);
	overflow: hidden;
	transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.p4m-department-card::after {
	position: absolute;
	top: -22px;
	right: -22px;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background-position: center;
	background-size: cover;
	box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.9);
	content: "";
	opacity: 0.2;
	pointer-events: none;
}

.p4m-department-card[data-department="electrical-power"]::after {
	background-image: url("../images/marine-electrical.webp");
}

.p4m-department-card[data-department="pumps-plumbing"]::after,
.p4m-department-card[data-department="docking-deck"]::after {
	background-image: url("../images/marine-maintenance.webp");
}

.p4m-department-card[data-department="fuel-systems"]::after,
.p4m-department-card[data-department="propulsion"]::after {
	background-image: url("../images/marine-fuel.webp");
}

.p4m-department-card[data-department="trailer-parts"]::after {
	background-image: url("../images/marine-trailer.webp");
}

@supports (background-image: image-set(url("../images/marine-electrical.avif") type("image/avif"))) {
	.p4m-department-card[data-department="electrical-power"]::after {
		background-image: image-set(url("../images/marine-electrical.avif") type("image/avif"), url("../images/marine-electrical.webp") type("image/webp"));
	}

	.p4m-department-card[data-department="pumps-plumbing"]::after,
	.p4m-department-card[data-department="docking-deck"]::after {
		background-image: image-set(url("../images/marine-maintenance.avif") type("image/avif"), url("../images/marine-maintenance.webp") type("image/webp"));
	}

	.p4m-department-card[data-department="fuel-systems"]::after,
	.p4m-department-card[data-department="propulsion"]::after {
		background-image: image-set(url("../images/marine-fuel.avif") type("image/avif"), url("../images/marine-fuel.webp") type("image/webp"));
	}

	.p4m-department-card[data-department="trailer-parts"]::after {
		background-image: image-set(url("../images/marine-trailer.avif") type("image/avif"), url("../images/marine-trailer.webp") type("image/webp"));
	}
}

.p4m-department-card:hover {
	transform: translateY(-4px);
	border-color: var(--p4m-blue);
	box-shadow: var(--p4m-shadow);
	color: var(--p4m-ink);
}

.p4m-department-card__number {
	margin-bottom: auto;
	color: var(--p4m-blue);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.12em;
}

.p4m-department-card h3 {
	margin: 34px 0 8px;
	font-size: 22px;
}

.p4m-department-card p {
	margin-bottom: 16px;
	color: var(--p4m-muted);
	font-size: 14px;
}

.p4m-department-card__count {
	color: var(--p4m-blue);
	font-size: 12px;
	font-style: normal;
	font-weight: 800;
}

.p4m-section--products {
	background: var(--p4m-soft);
}

.p4m-product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.p4m-product-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid var(--p4m-line);
	border-radius: var(--p4m-radius);
	background: #fff;
	overflow: hidden;
}

.p4m-product-card__image {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1.25 / 1;
	padding: 18px;
	background: #fff;
	overflow: hidden;
}

.p4m-product-card__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.p4m-product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px;
	border-top: 1px solid var(--p4m-line);
}

.p4m-product-card__meta,
.p4m-product-card__date {
	margin-bottom: 8px;
	color: var(--p4m-muted);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.p4m-product-card h3 {
	margin-bottom: 16px;
	font-size: 16px;
	line-height: 1.35;
}

.p4m-product-card h3 a {
	color: var(--p4m-ink);
}

.p4m-product-card h3 a:hover {
	color: var(--p4m-blue);
}

.p4m-product-card__date {
	margin-top: -8px;
	text-transform: none;
}

.p4m-product-card__footer {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--p4m-line);
}

.p4m-product-card__price {
	color: var(--p4m-ink);
	font-size: 16px;
	font-weight: 850;
}

.p4m-product-card__price del {
	color: var(--p4m-muted);
	font-size: 12px;
	font-weight: 500;
}

.p4m-product-card__price ins {
	text-decoration: none;
}

.p4m-product-card .p4m-arrow-link {
	flex: 0 0 auto;
	font-size: 12px;
}

.p4m-section--brands {
	background: var(--p4m-navy);
}

.p4m-section--brands .p4m-eyebrow {
	color: var(--p4m-yellow);
}

.p4m-section--brands h2 {
	color: #fff;
}

.p4m-brand-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.p4m-brand-card {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	min-height: 146px;
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--p4m-radius);
	background: rgba(255, 255, 255, 0.07);
	color: #fff;
	transition: background-color 160ms ease, transform 160ms ease;
}

.p4m-brand-card:hover {
	transform: translateY(-3px);
	background: rgba(255, 255, 255, 0.13);
	color: #fff;
}

.p4m-brand-card__image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	padding: 8px;
	border-radius: 13px;
	background: #fff;
}

.p4m-brand-card__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.p4m-brand-card__copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.p4m-brand-card strong {
	color: #fff;
	font-size: 22px;
}

.p4m-brand-card small {
	margin-top: 4px;
	color: #c9d8e5;
	font-size: 13px;
}

.p4m-brand-card em {
	margin-top: 12px;
	color: var(--p4m-yellow);
	font-size: 11px;
	font-style: normal;
	font-weight: 850;
	text-transform: uppercase;
}

.p4m-section--recent {
	background: #fff;
}

.p4m-guide-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.p4m-guide-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--p4m-line);
	border-radius: var(--p4m-radius);
	background: #fff;
	overflow: hidden;
}

.p4m-guide-card__image {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--p4m-mist);
	overflow: hidden;
}

.p4m-guide-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p4m-guide-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px;
}

.p4m-guide-card time {
	color: var(--p4m-muted);
	font-size: 12px;
	font-weight: 750;
}

.p4m-guide-card h3 {
	margin: 12px 0;
	font-size: 21px;
	line-height: 1.25;
}

.p4m-guide-card h3 a {
	color: var(--p4m-ink);
}

.p4m-guide-card p {
	color: var(--p4m-muted);
	font-size: 14px;
}

.p4m-guide-card .p4m-arrow-link {
	margin-top: auto;
}

.p4m-section--sourcing {
	background: linear-gradient(135deg, #eaf5f7, #eef3f9);
}

.p4m-sourcing-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
	gap: clamp(36px, 7vw, 92px);
	align-items: start;
}

.p4m-section--sourcing h2 {
	max-width: 650px;
	margin-bottom: 20px;
}

.p4m-section--sourcing p,
.p4m-section--sourcing li {
	color: var(--p4m-muted);
}

.p4m-section--sourcing ul {
	margin: 24px 0 0;
	padding-left: 20px;
}

.p4m-section--sourcing li + li {
	margin-top: 9px;
}

.p4m-request-panel {
	padding: clamp(22px, 4vw, 38px);
	border: 1px solid var(--p4m-line);
	border-radius: 22px;
	background: #fff;
	box-shadow: var(--p4m-shadow);
}

.p4m-request-panel h3 {
	font-size: 24px;
}

.p4m-form-status {
	margin-bottom: 22px;
	padding: 14px 16px;
	border-left: 4px solid currentColor;
	border-radius: 8px;
	background: var(--p4m-soft);
	color: var(--p4m-danger);
	font-weight: 700;
}

.p4m-form-status.is-success {
	color: var(--p4m-success);
}

.p4m-request-form p {
	margin-bottom: 18px;
}

.p4m-request-form label {
	display: block;
	margin-bottom: 7px;
	color: var(--p4m-ink);
	font-size: 13px;
	font-weight: 800;
}

.p4m-request-form input:not([type="file"]),
.p4m-request-form textarea {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 11px 13px;
	border: 1px solid #b9c7d2;
	border-radius: 9px;
	background: #fff;
	color: var(--p4m-ink);
	font: inherit;
}

.p4m-request-form textarea {
	min-height: 128px;
	resize: vertical;
}

.p4m-request-form input[type="file"] {
	width: 100%;
	min-height: 44px;
	padding: 8px 0;
}

.p4m-request-form small {
	display: block;
	margin-top: 5px;
	color: var(--p4m-muted);
	font-size: 12px;
}

.p4m-field-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.p4m-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.p4m-button {
	border-radius: 9px;
}

.p4m-market-footer {
	background: #041424;
	color: #c8d4df;
}

.p4m-market-footer__grid {
	display: grid;
	grid-template-columns: minmax(260px, 1.8fr) repeat(3, minmax(140px, 1fr));
	gap: 42px;
	padding-block: 58px 42px;
}

.p4m-theme-logo--footer img {
	width: auto;
	max-width: 220px;
	height: 53px;
	filter: brightness(0) invert(1);
}

.p4m-market-footer__grid > div p {
	max-width: 390px;
	margin-top: 14px;
	color: #9fb1c1;
	font-size: 14px;
}

.p4m-market-footer h2 {
	margin-bottom: 14px;
	color: #fff;
	font-size: 14px;
	letter-spacing: 0;
}

.p4m-market-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.p4m-market-footer li + li {
	margin-top: 9px;
}

.p4m-market-footer a {
	color: #c8d4df;
	font-size: 14px;
}

.p4m-market-footer a:hover {
	color: var(--p4m-yellow);
}

.p4m-market-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-block: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #8fa4b5;
	font-size: 12px;
}

@media (max-width: 1080px) {
	.p4m-market-header__top {
		grid-template-columns: minmax(150px, 190px) minmax(240px, 1fr) auto;
		gap: 16px;
	}

	.p4m-market-header__actions > a:first-child {
		display: none;
	}

	.p4m-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.p4m-brand-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.admin-bar .p4m-market-header {
		top: 46px;
	}

	.p4m-shell {
		width: min(100% - 28px, 1240px);
	}

	.p4m-market-header__top {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 10px 14px;
		min-height: auto;
		padding-block: 10px;
	}

	.p4m-theme-logo img {
		max-width: 170px;
		height: 36px;
	}

	.p4m-market-header__actions {
		gap: 8px;
	}

	.p4m-market-header__actions > a:first-child {
		display: none;
	}

	.p4m-nav-toggle {
		display: inline-flex;
	}

	.p4m-header-search {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.p4m-header-search input {
		height: 46px;
		font-size: 15px;
	}

	.p4m-primary-nav {
		display: none;
		max-height: calc(100vh - 130px);
		overflow-y: auto;
	}

	.p4m-primary-nav.is-open {
		display: block;
	}

	.p4m-primary-nav__list {
		display: grid;
		gap: 0;
		padding-block: 8px 14px;
		overflow: visible;
	}

	.p4m-primary-nav__list li {
		border-bottom: 1px solid var(--p4m-line);
	}

	.p4m-primary-nav__list a {
		width: 100%;
		min-height: 48px;
	}

	.p4m-hero__grid,
	.p4m-sourcing-grid {
		grid-template-columns: 1fr;
	}

	.p4m-hero__grid {
		min-height: auto;
		padding-block: 48px;
	}

	.p4m-hero h1 {
		font-size: clamp(40px, 10vw, 62px);
	}

	.p4m-latest-card {
		display: grid;
		grid-template-columns: 170px minmax(0, 1fr);
		column-gap: 18px;
		align-items: center;
	}

	.p4m-latest-card__label {
		grid-column: 1 / -1;
	}

	.p4m-latest-card__image {
		grid-row: 2 / 5;
		height: 150px;
		margin: 0;
	}

	.p4m-latest-card__footer {
		grid-column: 2;
	}

	.p4m-department-grid,
	.p4m-guide-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.p4m-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.p4m-market-footer__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.p4m-market-footer__grid > div:first-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 580px) {
	.p4m-theme-logo img {
		max-width: 140px;
		height: 32px;
	}

	.p4m-market-header__actions {
		gap: 5px;
	}

	.p4m-market-header__actions > a {
		font-size: 13px;
	}

	.p4m-header-search {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.p4m-header-search button {
		padding-inline: 14px;
	}

	.p4m-hero__grid {
		padding-block: 38px;
	}

	.p4m-hero h1 {
		margin-bottom: 16px;
		font-size: 39px;
	}

	.p4m-hero__copy > p:not(.p4m-eyebrow) {
		font-size: 16px;
	}

	.p4m-route-grid,
	.p4m-field-row,
	.p4m-department-grid,
	.p4m-brand-grid,
	.p4m-guide-grid {
		grid-template-columns: 1fr;
	}

	.p4m-route-card {
		min-height: 130px;
	}

	.p4m-latest-card {
		display: block;
	}

	.p4m-latest-card__image {
		height: 190px;
		margin-bottom: 14px;
	}

	.p4m-section {
		padding-block: 48px;
	}

	.p4m-section-heading {
		display: block;
		margin-bottom: 22px;
	}

	.p4m-section-heading > .p4m-arrow-link {
		margin-top: 10px;
	}

	.p4m-department-card {
		min-height: 210px;
	}

	.p4m-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.p4m-product-card__image {
		aspect-ratio: 1 / 1;
		padding: 10px;
	}

	.p4m-product-card__body {
		padding: 13px;
	}

	.p4m-product-card__meta {
		font-size: 10px;
	}

	.p4m-product-card h3 {
		font-size: 14px;
	}

	.p4m-product-card__footer {
		display: block;
	}

	.p4m-product-card__price {
		margin-bottom: 4px;
		font-size: 14px;
	}

	.p4m-product-card .p4m-arrow-link {
		min-height: 40px;
	}

	.p4m-brand-card {
		min-height: 132px;
	}

	.p4m-sourcing-grid {
		gap: 30px;
	}

	.p4m-request-panel {
		padding: 20px;
	}

	.p4m-market-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 30px;
	}

	.p4m-market-footer__grid > div:first-child {
		grid-column: 1 / -1;
	}

	.p4m-market-footer__bottom {
		display: grid;
	}
}

@media (max-width: 360px) {
	.p4m-wordmark {
		font-size: 18px;
	}

	.p4m-cart-link {
		font-size: 0 !important;
	}

	.p4m-cart-count {
		font-size: 12px;
	}

	.p4m-product-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.p4m-marketplace *,
	.p4m-marketplace *::before,
	.p4m-marketplace *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

/* Native informational and editorial templates. */
.p4m-content-main {
	padding: clamp(42px, 6vw, 82px) 0;
	background: #f4f7f9;
}

.p4m-content-card {
	width: min(920px, 100%);
	margin-inline: auto;
	padding: clamp(26px, 5vw, 60px);
	border: 1px solid #dce5eb;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 16px 44px rgba(7, 43, 69, 0.07);
}

.p4m-content-card > header {
	margin-bottom: 30px;
	padding-bottom: 22px;
	border-bottom: 1px solid #dce5eb;
}

.p4m-content-card h1 {
	margin: 0;
	color: #072b45;
	font-size: clamp(34px, 5vw, 54px);
	line-height: 1.08;
}

.p4m-content-card h2,
.p4m-content-card h3 {
	margin-top: 1.65em;
	color: #0b4267;
	line-height: 1.25;
}

.p4m-content-card p,
.p4m-content-card li {
	color: #354a59;
	font-size: 17px;
	line-height: 1.7;
}

.p4m-content-card a {
	font-weight: 700;
	text-underline-offset: 3px;
}

.p4m-content-card table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
}

.p4m-content-card .p4m-page-content {
	margin: 0;
}

/* Support and policy pages previously carried this presentation inline. */
.p4-policy {
	color: #26313d;
	line-height: 1.62;
}

.p4-policy *,
.p4-policy *::before,
.p4-policy *::after {
	box-sizing: border-box;
}

.p4-policy a {
	color: #08798f;
	font-weight: 800;
}

.p4-policy-wrap {
	width: 100%;
	max-width: 980px;
	margin-inline: auto;
}

.p4-kicker {
	margin: 0 0 9px;
	color: #08798f !important;
	font-size: 13px !important;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.p4-policy h2 {
	margin: 34px 0 10px;
	color: #10243a;
	font-size: 26px;
	font-weight: 900;
	line-height: 1.18;
}

.p4-policy h3 {
	margin: 22px 0 8px;
	color: #10243a;
	font-size: 20px;
	font-weight: 900;
	line-height: 1.2;
}

.p4-policy ul {
	margin: 8px 0 16px;
	padding-left: 23px;
}

.p4-lede {
	max-width: 800px;
	margin: 0 0 20px;
	color: #4b5a69 !important;
	font-size: 19px !important;
}

.p4-note {
	margin: 20px 0;
	padding: 16px 18px;
	border-left: 4px solid #08798f;
	background: #f6f9fb;
	color: #364452;
}

.p4-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 22px 0;
}

.p4-box {
	padding: 18px;
	border: 1px solid #dde5ec;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 8px 22px rgba(16, 36, 58, 0.05);
}

.p4-box strong {
	display: block;
	margin: 0 0 6px;
	color: #10243a;
	font-size: 17px;
}

.p4-updated {
	margin-top: 34px;
	color: #6a7580 !important;
	font-size: 14px !important;
}

.p4m-guide-meta {
	margin: 10px 0 0;
	color: #647681;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.p4m-guide-list {
	display: grid;
	gap: 18px;
}

.p4m-guide-list__item {
	padding: 24px;
	border: 1px solid #dce5eb;
	border-radius: 12px;
	background: #fff;
}

.p4m-guide-list__item h2 {
	margin: 6px 0 10px;
	font-size: clamp(22px, 3vw, 30px);
}

.p4m-guide-list__item p:last-child {
	margin-bottom: 0;
}

.p4m-guide-navigation {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 14px;
	margin-top: 34px;
	padding-top: 22px;
	border-top: 1px solid #dce5eb;
}

@media (max-width: 640px) {
	.p4m-content-main {
		padding: 30px 0 44px;
	}

	.p4m-content-card {
		padding: 22px 18px;
		border-radius: 12px;
	}

	.p4m-content-card p,
	.p4m-content-card li {
		font-size: 16px;
	}

	.p4-grid {
		grid-template-columns: 1fr;
	}
}
