html.sgb-cart-open,
html.sgb-cart-open body {
	overflow: hidden;
}

.site-header .header-navigation .header-menu-container > ul > li.sgb-account-menu-item > a {
	margin-left: 5px;
	padding-inline: 20px;
	color: #fff;
	background: linear-gradient(135deg, #17749d, var(--sgb-blue-dark)) !important;
	box-shadow: 0 8px 18px rgba(20, 97, 138, .22) !important;
}

.site-header .header-navigation .header-menu-container > ul > li.sgb-account-menu-item > a:hover {
	color: #fff;
	background: linear-gradient(135deg, #12678e, #0a3f5c) !important;
	transform: translateY(-1px);
}

.site-header .header-navigation .header-menu-container > ul > li.sgb-header-cart-item {
	display: flex;
	align-items: center;
}

.sgb-header-cart-button {
	min-height: 42px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0 4px 0 5px;
	padding: 0 10px;
	border: 1px solid #c9dbe2;
	border-radius: 9px;
	color: var(--sgb-navy);
	background: #fff;
	box-shadow: none;
	font-size: 12px;
	font-weight: 850;
	cursor: pointer;
}

.sgb-header-cart-button:hover {
	color: var(--sgb-blue);
	border-color: #9fbfcb;
	background: var(--sgb-mist);
}

.sgb-header-cart-button svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.sgb-header-cart-count {
	min-width: 21px;
	height: 21px;
	display: grid;
	place-items: center;
	padding-inline: 5px;
	border-radius: 999px;
	color: #153449;
	background: var(--sgb-gold);
	font-size: 10px;
	font-weight: 950;
}

.sgb-cart-layer {
	position: fixed;
	z-index: 999998;
	inset: 0;
	pointer-events: none;
	visibility: hidden;
}

.sgb-cart-layer[aria-hidden="false"] {
	pointer-events: auto;
	visibility: visible;
}

.sgb-cart-layer__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgba(7, 28, 42, .52);
	opacity: 0;
	backdrop-filter: blur(5px);
	transition: opacity .28s ease;
}

.sgb-cart-layer[aria-hidden="false"] .sgb-cart-layer__backdrop {
	opacity: 1;
}

.sgb-cart-drawer {
	position: absolute;
	top: 0;
	right: 0;
	width: min(460px, 100%);
	height: 100%;
	display: flex;
	flex-direction: column;
	color: var(--sgb-text);
	background: #fff;
	box-shadow: -24px 0 70px rgba(10, 38, 55, .22);
	outline: none;
	transform: translateX(102%);
	transition: transform .32s cubic-bezier(.22, .7, .2, 1);
}

.sgb-cart-layer[aria-hidden="false"] .sgb-cart-drawer {
	transform: translateX(0);
}

.sgb-cart-drawer__header {
	min-height: 94px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 24px;
	border-bottom: 1px solid var(--sgb-line);
	background: linear-gradient(135deg, #fff, var(--sgb-mist));
}

.sgb-cart-drawer__header span,
.sgb-cart-review__eyebrow {
	display: block;
	margin-bottom: 3px;
	color: var(--sgb-blue);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.sgb-cart-drawer__header h2 {
	margin: 0;
	color: var(--sgb-navy);
	font-size: 25px;
	letter-spacing: -.025em;
}

.sgb-cart-drawer__header button {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1px solid #c9dbe2;
	border-radius: 50%;
	color: var(--sgb-navy);
	background: #fff;
	font-size: 25px;
	font-weight: 400;
	cursor: pointer;
}

.sgb-cart-drawer__body {
	min-height: 0;
	padding: 22px 24px 28px;
	overflow-y: auto;
}

.sgb-cart-items {
	display: grid;
	gap: 13px;
}

.sgb-cart-item {
	position: relative;
	display: grid;
	grid-template-columns: 76px 1fr auto;
	gap: 14px;
	align-items: center;
	padding: 11px;
	border: 1px solid var(--sgb-line);
	border-radius: 14px;
	background: #fff;
}

.sgb-cart-item__image {
	height: 76px;
	display: grid;
	place-items: center;
	overflow: hidden;
	border-radius: 10px;
	background: var(--sgb-mist);
}

.sgb-cart-item__image img {
	width: 100%;
	height: 100%;
	padding: 6px;
	object-fit: contain;
}

.sgb-cart-item__details {
	min-width: 0;
	display: grid;
	gap: 3px;
}

.sgb-cart-item__name {
	overflow: hidden;
	color: var(--sgb-navy);
	font-weight: 850;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sgb-cart-item__meta {
	color: #738692;
	font-size: 11px;
}

.sgb-cart-item__details strong {
	color: var(--sgb-blue);
	font-size: 13px;
}

.sgb-cart-item__remove {
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: #748792 !important;
	background: var(--sgb-mist);
	font-size: 20px;
	text-decoration: none !important;
}

.sgb-cart-item__remove:hover {
	color: #9b392f !important;
	background: #fff1ef;
}

.sgb-cart-subtotal {
	margin: 18px 0;
	padding: 17px 2px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-block: 1px solid var(--sgb-line);
	color: var(--sgb-navy);
}

.sgb-cart-subtotal span {
	font-size: 13px;
	font-weight: 750;
}

.sgb-cart-subtotal strong {
	font-size: 20px;
}

.sgb-cart-review {
	padding: 18px;
	border: 1px solid #efd38e;
	border-left: 4px solid var(--sgb-gold);
	border-radius: 13px;
	background: #fff9e9;
}

.sgb-cart-review h3 {
	margin: 0 0 10px;
	color: var(--sgb-navy);
	font-size: 17px;
}

.sgb-cart-review ul {
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.sgb-cart-review li {
	position: relative;
	margin: 5px 0;
	padding-left: 17px;
	font-size: 12px;
}

.sgb-cart-review li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: #2f7a49;
	font-weight: 900;
}

.sgb-cart-review__check {
	display: grid;
	grid-template-columns: 18px 1fr;
	gap: 9px;
	align-items: start;
	padding: 12px;
	border: 1px solid #ead28f;
	border-radius: 9px;
	background: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.45;
}

.sgb-cart-review__check.needs-attention {
	border-color: #b05245;
	box-shadow: 0 0 0 3px rgba(176, 82, 69, .10);
}

.sgb-cart-review__check input {
	margin-top: 2px;
}

.sgb-cart-review > p {
	margin: 9px 0 0;
	color: #71838e;
	font-size: 9px;
	line-height: 1.45;
}

.sgb-cart-actions {
	margin-top: 16px;
	display: grid;
	grid-template-columns: .75fr 1.25fr;
	gap: 9px;
}

.sgb-cart-button {
	min-height: 49px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 15px;
	border-radius: 9px;
	font-size: 12px;
	font-weight: 850;
	text-align: center;
	text-decoration: none !important;
}

.sgb-cart-button--primary {
	color: #fff !important;
	background: linear-gradient(135deg, var(--sgb-blue), var(--sgb-teal));
	box-shadow: 0 10px 22px rgba(20, 97, 138, .19);
}

.sgb-cart-button--primary.is-disabled {
	cursor: not-allowed;
	filter: grayscale(.35);
	opacity: .48;
}

.sgb-cart-button--secondary {
	color: var(--sgb-navy) !important;
	border: 1px solid #bdd0d8;
	background: #fff;
}

.sgb-cart-empty {
	min-height: calc(100vh - 170px);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 40px 12px;
	text-align: center;
}

.sgb-cart-empty__icon {
	width: 65px;
	height: 65px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: var(--sgb-blue);
	background: var(--sgb-mist);
	font-size: 31px;
}

.sgb-cart-empty h3 {
	margin: 18px 0 7px;
	color: var(--sgb-navy);
}

.sgb-cart-empty p {
	max-width: 290px;
	margin: 0 0 20px;
	font-size: 13px;
}

.sgb-cart-form-error {
	margin: 12px 0 0;
	padding: 10px 12px;
	border-left: 3px solid #a84a3d;
	border-radius: 6px;
	color: #81382f;
	background: #fff4f2;
	font-size: 11px;
}

@media (max-width: 760px) {
	.sgb-header-cart-button__label {
		display: none;
	}
	.sgb-header-cart-button {
		min-width: 43px;
		justify-content: center;
	}
	.sgb-cart-drawer__body {
		padding-inline: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sgb-cart-layer__backdrop,
	.sgb-cart-drawer {
		transition: none;
	}
}
