.sl-pmi-kit-notice {
	--sl-pmi-accent: #166d7b;
	--sl-pmi-ink: #12263a;
	--sl-pmi-soft: #43586b;
	margin: 0 0 18px;
	padding: 14px 16px;
	border: 1px solid #b9d4d9;
	border-left: 4px solid var(--sl-pmi-accent);
	border-radius: 10px;
	background: #f2f8f9;
	color: var(--sl-pmi-ink);
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 13px;
	line-height: 1.55;
}
.sl-pmi-kit-notice strong { display: block; margin-bottom: 4px; color: var(--sl-pmi-ink); font-size: 14px; }
.sl-pmi-kit-notice p { margin: 3px 0 !important; color: var(--sl-pmi-soft); font-size: inherit; line-height: inherit; }
.sl-pmi-kit-notice .sl-pmi-kit-total { margin-top: 8px !important; color: var(--sl-pmi-accent); font-weight: 800; }
.sl-pmi-kit-notice.is-loading { opacity: .8; }
.sl-pmi-kit-notice.is-warning { border-color: #efc46c; border-left-color: #b26a00; background: #fff8e8; }
.sl-pmi-kit-notice.is-error { border-color: #e3aaa5; border-left-color: #b42318; background: #fff4f2; }
.sl-pmi-kit-product-notice { max-width: 620px; }

/* v1.0.3 no longer shows any pre-cart or standalone pricing-source notices. */
.sl-pmi-kit-notice { display: none !important; }

/* Checkout-only mismatch treatment. */
.sl-pmi-kit-checkout-notice { display: none !important; }
.sl-checkout-scope .woocommerce-checkout-review-order-table .sl-pmi-kit-location-row > td {
	width: auto !important;
	padding: 0 20px 12px !important;
	border-top: 0 !important;
	border-right: 0 !important;
	border-bottom: 1px solid #c7dde1 !important;
	border-left: 3px solid #166d7b !important;
	background: #f2f8f9 !important;
	color: #8a5200 !important;
	font-size: 11px !important;
	line-height: 1.45 !important;
	text-align: left !important;
	white-space: normal !important;
}
.sl-pmi-kit-location-note {
	display: block;
	width: 100%;
	max-width: none;
}
.shop_table tr.sl-pmi-kit-fee-row--has-location-note > th,
.shop_table tr.sl-pmi-kit-fee-row--has-location-note > td {
	padding-bottom: 7px !important;
	border-bottom: 0 !important;
}

/* Distinct Student Kit fee row in cart totals and checkout order review. */
.shop_table tr.sl-pmi-kit-fee-row > th,
.shop_table tr.sl-pmi-kit-fee-row > td,
.shop_table tr.fee:has(.sl-pmi-kit-fee-value) > th,
.shop_table tr.fee:has(.sl-pmi-kit-fee-value) > td {
	padding-top: 13px !important;
	padding-bottom: 13px !important;
	border-top: 1px solid #c7dde1 !important;
	border-bottom: 1px solid #c7dde1 !important;
	background: #f2f8f9 !important;
	color: #17384a !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
}
.shop_table tr.sl-pmi-kit-fee-row > th,
.shop_table tr.fee:has(.sl-pmi-kit-fee-value) > th {
	border-left: 3px solid #166d7b !important;
	font-weight: 700 !important;
}
.shop_table tr.sl-pmi-kit-fee-row > td,
.shop_table tr.fee:has(.sl-pmi-kit-fee-value) > td {
	color: #166d7b !important;
	font-weight: 750 !important;
}
.sl-cart-scope .sl-summary-line.sl-pmi-kit-fee-row,
.sl-cart-scope .sl-summary-line:has(.sl-pmi-kit-fee-value) {
	margin: 0 -20px !important;
	padding: 13px 20px !important;
	border: 0 !important;
	border-top: 1px solid #c7dde1 !important;
	border-bottom: 1px solid #c7dde1 !important;
	border-left: 3px solid #166d7b !important;
	border-radius: 0 !important;
	background: #f2f8f9 !important;
	color: #17384a !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
}
.sl-cart-scope .sl-summary-line.sl-pmi-kit-fee-row > span,
.sl-cart-scope .sl-summary-line:has(.sl-pmi-kit-fee-value) > span {
	color: #17384a !important;
	font-weight: 700 !important;
}
.sl-cart-scope .sl-summary-line.sl-pmi-kit-fee-row > strong,
.sl-cart-scope .sl-summary-line:has(.sl-pmi-kit-fee-value) > strong {
	color: #166d7b !important;
	font-weight: 750 !important;
}
.sl-pmi-kit-fee-value {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 7px;
}
.sl-pmi-kit-info {
	position: relative;
	display: inline-flex;
	margin-left: 7px;
	vertical-align: middle;
}
.sl-pmi-kit-info-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 18px !important;
	min-width: 18px !important;
	height: 18px !important;
	min-height: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid #166d7b !important;
	border-radius: 50% !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #166d7b !important;
	font-family: Georgia, serif !important;
	font-size: 12px !important;
	font-style: italic;
	font-weight: 700 !important;
	line-height: 1 !important;
	cursor: help;
}
.sl-pmi-kit-info-button:hover,
.sl-pmi-kit-info-button:focus-visible {
	background: #166d7b !important;
	color: #fff !important;
	outline: 2px solid rgba(22, 109, 123, .22) !important;
	outline-offset: 2px;
}
.sl-pmi-kit-tooltip {
	position: absolute;
	right: -8px;
	bottom: calc(100% + 9px);
	z-index: 100;
	display: block;
	width: min(290px, calc(100vw - 48px));
	padding: 10px 12px;
	border: 1px solid #b9d4d9;
	border-radius: 8px;
	background: #102d3a;
	box-shadow: 0 8px 24px rgba(18, 38, 58, .18);
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	text-align: left;
	white-space: normal;
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
	pointer-events: none;
}
.sl-pmi-kit-tooltip::after {
	position: absolute;
	top: 100%;
	right: 10px;
	border: 6px solid transparent;
	border-top-color: #102d3a;
	content: "";
}
.shop_table tr.sl-pmi-kit-fee-row .sl-pmi-kit-tooltip,
.shop_table tr.fee:has(.sl-pmi-kit-fee-value) .sl-pmi-kit-tooltip {
	right: auto;
	left: -8px;
}
.shop_table tr.sl-pmi-kit-fee-row .sl-pmi-kit-tooltip::after,
.shop_table tr.fee:has(.sl-pmi-kit-fee-value) .sl-pmi-kit-tooltip::after {
	right: auto;
	left: 10px;
}
.sl-pmi-kit-info:hover .sl-pmi-kit-tooltip,
.sl-pmi-kit-info:focus-within .sl-pmi-kit-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Mandatory fee inside the header/menu cart preview. */
.widget_shopping_cart_content .sl-pmi-kit-mini-cart-fee {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 8px 4px 10px;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 13px;
	line-height: 1.4;
}
.widget_shopping_cart_content .sl-pmi-kit-mini-cart-fee-label {
	font-weight: 600;
}
.widget_shopping_cart_content .sl-pmi-kit-mini-cart-fee-amount {
	flex: 0 0 auto;
	color: inherit;
	font-weight: 600;
	white-space: nowrap;
}

/* The custom AJAX empty state is inserted into the existing flex layout. */
.sl-cart-scope .sl-cart-layout > .sl-empty-cart:only-child {
	flex: 1 1 100% !important;
	width: 100% !important;
}

@media (max-width: 720px) {
	.sl-checkout-scope .woocommerce-checkout-review-order-table .sl-pmi-kit-location-row > td {
		padding-right: 12px !important;
		padding-left: 12px !important;
	}
	.sl-cart-scope .sl-summary-line.sl-pmi-kit-fee-row,
	.sl-cart-scope .sl-summary-line:has(.sl-pmi-kit-fee-value) {
		margin-right: -12px !important;
		margin-left: -12px !important;
		padding-right: 12px !important;
		padding-left: 12px !important;
	}
}

@media (max-width: 640px) {
	.sl-cart-scope .sl-summary-line.sl-pmi-kit-fee-row,
	.sl-cart-scope .sl-summary-line:has(.sl-pmi-kit-fee-value) {
		align-items: flex-start !important;
		gap: 10px;
	}
	.sl-pmi-kit-tooltip {
		right: auto;
		left: -10px;
	}
	.sl-pmi-kit-tooltip::after {
		right: auto;
		left: 12px;
	}
}
