body {
	background: var(--ssbc-page);
	color: var(--ssbc-ink);
	font-size: var(--ssbc-text-md);
	line-height: 1.55;
}

.ssbc-site-header {
	background: var(--ssbc-surface);
}

.ssbc-header-benefits {
	background: var(--ssbc-navy);
	color: #fff;
	font-size: 13px;
	font-weight: 750;
}

.ssbc-header-benefits__inner {
	display: flex;
	gap: clamp(18px, 4vw, 46px);
	align-items: center;
	justify-content: center;
	width: min(var(--ssbc-max-width), calc(100% - 32px));
	min-height: 38px;
	margin-inline: auto;
}

.ssbc-header-benefits a {
	color: #fff;
	text-decoration: none;
}

.ssbc-header-main {
	border-bottom: 1px solid var(--ssbc-line);
	background: #fff;
}

.ssbc-header-main__inner {
	display: grid;
	grid-template-columns: 292px minmax(280px, 1fr) 150px auto;
	gap: 22px;
	align-items: center;
	width: min(var(--ssbc-max-width), calc(100% - 32px));
	min-height: 84px;
	margin-inline: auto;
}

.ssbc-header-logo {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	color: var(--ssbc-magenta);
	font-size: 28px;
	font-weight: 850;
	letter-spacing: 0;
	text-decoration: none;
	white-space: nowrap;
}

.ssbc-header-logo__mark {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border: 4px solid var(--ssbc-magenta);
	border-radius: 50%;
	box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 12px var(--ssbc-magenta);
}

.ssbc-header-logo__text {
	white-space: nowrap;
}

.ssbc-header-search form {
	position: relative;
	margin: 0;
}

.ssbc-header-search input[type="search"],
.ssbc-header-search .search-field {
	width: 100%;
	min-height: 50px;
	border: 1px solid #9097a4;
	border-radius: 999px;
	background: #fff;
	padding: 0 20px 0 54px;
	font-size: 15px;
}

.ssbc-header-search button,
.ssbc-header-search input[type="submit"] {
	position: absolute;
	top: 7px;
	left: 8px;
	width: 36px;
	height: 36px;
	overflow: hidden;
	border: 0;
	border-radius: 50%;
	background: var(--ssbc-magenta);
	color: #fff;
	font-size: 0;
}

.ssbc-header-search button::before,
.ssbc-header-search input[type="submit"]::before {
	position: absolute;
	top: 9px;
	left: 9px;
	width: 13px;
	height: 13px;
	border: 2px solid currentColor;
	border-radius: 50%;
	content: "";
}

.ssbc-header-search button::after,
.ssbc-header-search input[type="submit"]::after {
	position: absolute;
	top: 22px;
	left: 22px;
	width: 9px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	content: "";
	transform: rotate(45deg);
}

.ssbc-header-location {
	display: grid;
	gap: 2px;
	color: var(--ssbc-muted);
	font-size: 13px;
	line-height: 1.2;
}

.ssbc-header-location strong {
	color: var(--ssbc-ink);
	font-size: 15px;
}

.ssbc-header-actions {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: flex-end;
}

.ssbc-header-actions a {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	min-height: 38px;
	border-radius: 50%;
	color: var(--ssbc-ink);
	font-size: 13px;
	font-weight: 850;
	text-decoration: none;
}

.ssbc-header-actions small {
	position: absolute;
	top: 0;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--ssbc-magenta);
	color: #fff;
	font-size: 11px;
}

.ssbc-department-nav {
	border-bottom: 1px solid var(--ssbc-line);
	background: #fff;
}

.ssbc-department-nav__inner {
	width: min(var(--ssbc-max-width), calc(100% - 32px));
	margin-inline: auto;
	overflow-x: auto;
}

.ssbc-department-menu {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: nowrap;
}

.ssbc-department-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 14px;
	color: var(--ssbc-ink);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	text-transform: uppercase;
}

.ssbc-department-menu li:first-child a {
	background: var(--ssbc-magenta);
	color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--ssbc-ink);
	font-family: var(--ssbc-font-heading);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.08;
}

p {
	margin-top: 0;
}

.woocommerce-notices-wrapper,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	width: min(var(--ssbc-max-width), calc(100% - 32px));
	margin-right: auto;
	margin-left: auto;
}

.ssbc-container,
.ssbc-shop-shell,
.ssbc-product-page {
	width: min(var(--ssbc-max-width), calc(100% - 32px));
	margin-right: auto;
	margin-left: auto;
}

.ssbc-shop-shell,
.ssbc-product-page {
	position: relative;
	left: 50%;
	width: min(var(--ssbc-max-width), calc(100vw - 32px));
	margin-left: 0;
	transform: translateX(-50%);
}

body.woocommerce-page .site-main,
body.post-type-archive-product .site-main,
body.tax-product_cat .site-main,
body.tax-product_tag .site-main {
	width: 100%;
	max-width: none;
	padding-right: 0;
	padding-left: 0;
}

.ssbc-eyebrow {
	color: var(--ssbc-magenta);
	font-size: var(--ssbc-text-xs);
	font-weight: 850;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ssbc-muted {
	color: var(--ssbc-muted);
}

@media (max-width: 767px) {
	.ssbc-header-benefits {
		background: var(--ssbc-magenta);
	}

	.ssbc-header-benefits__inner {
		display: grid;
		gap: 2px;
		justify-items: center;
		min-height: 76px;
		font-size: 15px;
		text-align: center;
	}

	.ssbc-header-benefits__inner span:nth-child(n+3),
	.ssbc-header-benefits__inner a {
		display: none;
	}

	.ssbc-header-main__inner {
		grid-template-columns: 1fr auto;
		gap: 12px;
		min-height: 98px;
	}

	.ssbc-header-logo {
		font-size: 23px;
	}

	.ssbc-header-logo__mark {
		width: 25px;
		height: 25px;
	}

	.ssbc-header-search {
		grid-column: 1 / -1;
		order: 3;
	}

	.ssbc-header-location {
		display: none;
	}

	.ssbc-header-actions a:first-child {
		display: none;
	}

	.ssbc-department-nav {
		display: none;
	}

	.ssbc-container,
	.ssbc-shop-shell,
	.ssbc-product-page {
		width: min(100% - 20px, var(--ssbc-max-width));
	}
}
