.msc-side-cart {
	--msc-blue: #040f7c;
	--msc-gold: #CFB53B;
	--msc-bg: #ffffff;
	--msc-text: #111827;
	--msc-muted: #6b7280;
	--msc-border: #e5e7eb;
	--msc-soft: #f7f8fb;
	--msc-danger: #b91c1c;
	--msc-product-title: #040f7c;
	--msc-shadow: 0 24px 80px rgba(4, 15, 124, 0.26);
	color: var(--msc-text);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.4;
}

.msc-side-cart *,
.msc-side-cart *::before,
.msc-side-cart *::after {
	box-sizing: border-box;
}

.msc-screen-reader {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.msc-floating-button {
	position: fixed;
	right: max(18px, env(safe-area-inset-right));
	bottom: max(18px, env(safe-area-inset-bottom));
	z-index: 999998;
	display: inline-flex;
	min-height: 54px;
	align-items: center;
	gap: 9px;
	border: 0;
	border-radius: 999px;
	padding: 0 18px;
	background: var(--msc-blue);
	color: #ffffff;
	box-shadow: 0 16px 34px rgba(4, 15, 124, 0.28);
	cursor: pointer;
	font: inherit;
	font-weight: 800;
	letter-spacing: 0;
	text-decoration: none;
}

.msc-floating-button:hover,
.msc-floating-button:focus-visible {
	background: #0717a8;
	color: #ffffff;
	outline: 3px solid rgba(207, 181, 59, 0.42);
	outline-offset: 3px;
}

.msc-floating-icon {
	font-size: 18px;
	line-height: 1;
}

.msc-floating-text {
	font-size: 14px;
	white-space: nowrap;
}

.msc-floating-count {
	display: inline-grid;
	min-width: 24px;
	height: 24px;
	place-items: center;
	border-radius: 999px;
	background: var(--msc-gold);
	color: var(--msc-blue);
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
}

.msc-overlay {
	position: fixed;
	inset: 0;
	z-index: 999998;
	background: rgba(17, 24, 39, 0.48);
	opacity: 0;
	transition: opacity 220ms ease;
}

.msc-side-cart.msc-is-open .msc-overlay {
	opacity: 1;
}

.msc-panel {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	width: min(440px, 100vw);
	max-width: 100%;
	background: var(--msc-bg);
	box-shadow: var(--msc-shadow);
	transform: translate3d(105%, 0, 0);
	transition: transform 260ms ease;
	outline: 0;
}

.msc-side-cart.msc-is-open .msc-panel {
	transform: translate3d(0, 0, 0);
}

.msc-panel-content {
	display: flex;
	height: 100%;
	flex-direction: column;
	background: var(--msc-bg);
}

html.msc-lock-scroll,
body.msc-lock-scroll {
	overflow: hidden;
}

.msc-header {
	display: flex;
	flex: 0 0 auto;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--msc-border);
	background: linear-gradient(135deg, var(--msc-blue), #0717a8);
	color: #ffffff;
}

.msc-header-title {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 12px;
}

.msc-header-cart-icon {
	display: inline-grid;
	width: 38px;
	height: 38px;
	flex: 0 0 auto;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 8px;
	color: #ffffff;
}

.msc-header-cart-icon svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.msc-header-copy {
	min-width: 0;
}

.msc-kicker {
	display: block;
	margin-bottom: 4px;
	color: var(--msc-gold);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.msc-header h2 {
	margin: 0;
	color: #ffffff;
	font-size: 22px;
	font-weight: 900;
	line-height: 1.2;
}

.msc-side-cart .msc-close,
.msc-side-cart button.msc-close,
.msc-side-cart .msc-header .msc-close {
	display: inline-grid;
	width: 48px;
	height: 48px;
	flex: 0 0 auto;
	place-items: center;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	color: #ffffff !important;
	cursor: pointer;
	font: inherit;
	font-size: 44px;
	line-height: 1;
	text-shadow: none;
	appearance: none;
}

.msc-side-cart .msc-close span {
	color: #ffffff !important;
	font-size: 44px;
	line-height: 1;
}

.msc-side-cart .msc-close:hover,
.msc-side-cart .msc-close:focus,
.msc-side-cart .msc-close:focus-visible {
	border: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	color: #ffffff !important;
	outline: 0;
}

.msc-notices {
	flex: 0 0 auto;
	padding: 0 20px;
}

.msc-notices:empty {
	display: none;
}

.msc-notices .woocommerce-error,
.msc-notices .woocommerce-info,
.msc-notices .woocommerce-message {
	margin: 14px 0 0;
	border: 1px solid var(--msc-border);
	border-radius: 8px;
	padding: 12px 14px;
	background: #ffffff;
	color: var(--msc-text);
	font-size: 13px;
	list-style-position: inside;
}

.msc-notices .woocommerce-error {
	border-color: rgba(185, 28, 28, 0.24);
	color: var(--msc-danger);
}

.msc-notices .woocommerce-message {
	border-color: rgba(4, 15, 124, 0.18);
}

.msc-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding: 16px 20px 20px;
	background: var(--msc-soft);
}

.msc-section {
	margin: 0 0 14px;
	border: 1px solid var(--msc-border);
	border-radius: 10px;
	padding: 14px;
	background: #ffffff;
}

.msc-section-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.msc-section-title h3 {
	margin: 0;
	color: var(--msc-blue);
	font-size: 15px;
	font-weight: 900;
	line-height: 1.25;
}

.msc-items {
	display: grid;
	gap: 14px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.msc-item {
	display: grid;
	grid-template-columns: 78px minmax(0, 1fr);
	gap: 12px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--msc-border);
}

.msc-item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.msc-item-image,
.msc-upsell-image {
	display: block;
	overflow: hidden;
	border: 1px solid var(--msc-border);
	border-radius: 8px;
	background: #ffffff;
}

.msc-item-image {
	width: 78px;
	aspect-ratio: 1;
}

.msc-item-image img,
.msc-upsell-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.msc-item-content,
.msc-upsell-content {
	min-width: 0;
}

.msc-item-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.msc-item-name,
.msc-upsell-name {
	color: var(--msc-product-title);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
	text-decoration: none;
}

.msc-item-name:hover,
.msc-upsell-name:hover {
	color: var(--msc-product-title);
}

.msc-side-cart .msc-link-button {
	border: 0;
	display: inline-grid;
	width: 28px;
	height: 28px;
	place-items: center;
	border-radius: 50%;
	padding: 0;
	background: transparent;
	color: var(--msc-danger) !important;
	cursor: pointer;
	font: inherit;
	font-size: 24px;
	font-weight: 900;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.msc-side-cart .msc-link-button:hover,
.msc-side-cart .msc-link-button:focus-visible {
	background: transparent;
	color: #7f1d1d !important;
	outline: 0;
}

.msc-side-cart .msc-link-button span[aria-hidden="true"] {
	color: currentColor !important;
	line-height: 1;
}

.msc-item-meta {
	margin-top: 5px;
	color: var(--msc-muted);
	font-size: 12px;
}

.msc-item-price-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 10px;
	color: var(--msc-gold);
	font-size: 13px;
}

.msc-item-price,
.msc-item-subtotal,
.msc-upsell-price,
.msc-total-row strong,
.msc-rate strong,
.msc-side-cart .woocommerce-Price-amount {
	color: var(--msc-gold);
}

.msc-item-subtotal {
	font-size: 14px;
	white-space: nowrap;
}

.msc-quantity {
	display: inline-grid;
	grid-template-columns: 34px 48px 34px;
	height: 34px;
	margin-top: 10px;
	overflow: hidden;
	border: 1px solid var(--msc-border);
	border-radius: 8px;
	background: #ffffff;
}

.msc-quantity button,
.msc-quantity input {
	width: 100%;
	min-width: 0;
	border: 0;
	background: #ffffff;
	color: var(--msc-text);
	font: inherit;
	text-align: center;
}

.msc-quantity button {
	cursor: pointer;
	font-size: 16px;
	font-weight: 900;
}

.msc-quantity button:hover,
.msc-quantity button:focus-visible {
	background: var(--msc-blue);
	color: #ffffff;
	outline: 0;
}

.msc-quantity input {
	appearance: textfield;
	border-right: 1px solid var(--msc-border);
	border-left: 1px solid var(--msc-border);
	font-size: 14px;
}

.msc-quantity input::-webkit-outer-spin-button,
.msc-quantity input::-webkit-inner-spin-button {
	margin: 0;
	appearance: none;
}

.msc-inline-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
}

.msc-inline-form input,
.msc-shipping-form input {
	width: 100%;
	min-height: 42px;
	border: 1px solid var(--msc-border);
	border-radius: 8px;
	padding: 0 12px;
	background: #ffffff;
	color: var(--msc-text);
	font: inherit;
	font-size: 14px;
}

.msc-inline-form input:focus,
.msc-shipping-form input:focus {
	border-color: var(--msc-blue);
	outline: 3px solid rgba(4, 15, 124, 0.12);
}

.msc-inline-form button,
.msc-shipping-form button,
.msc-small-button {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 8px;
	padding: 0 13px;
	background: var(--msc-blue);
	color: #ffffff;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	font-weight: 900;
	text-decoration: none;
	white-space: nowrap;
}

.msc-inline-form button:hover,
.msc-inline-form button:focus-visible,
.msc-shipping-form button:hover,
.msc-shipping-form button:focus-visible,
.msc-small-button:hover,
.msc-small-button:focus-visible {
	background: var(--msc-gold);
	color: #ffffff;
	outline: 0;
}

.msc-shipping-form {
	display: grid;
	gap: 5px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin: 0;
}

.msc-postcode-field {
	display: grid;
	gap: 5px;
	margin: 0;
	color: var(--msc-text);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
}

.msc-shipping-form button {
	width: 100%;
	align-self: end;
}

.msc-address-summary {
	margin: 10px 0 0;
	border: 1px solid rgba(4, 15, 124, 0.12);
	border-radius: 8px;
	padding: 9px 11px;
	background: #f9fafb;
	color: var(--msc-blue);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.35;
}

.msc-coupons-list {
	display: grid;
	gap: 8px;
	padding: 0;
	margin: 0 0 10px;
	list-style: none;
}

.msc-coupons-list li,
.msc-rate,
.msc-total-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.msc-rate {
	border: 1px solid rgba(4, 15, 124, 0.12);
	border-radius: 8px;
	padding: 10px 12px;
	background: #f9fafb;
	color: var(--msc-text);
	font-size: 13px;
	font-weight: 700;
}

.msc-rates {
	display: grid;
	gap: 8px;
	margin-top: 10px;
}

.msc-help-text {
	margin: 10px 0 0;
	color: var(--msc-muted);
	font-size: 13px;
	line-height: 1.45;
}

.msc-upsell-list {
	display: grid;
	gap: 12px;
}

.msc-upsell-item {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 10px;
}

.msc-upsell-image {
	width: 64px;
	aspect-ratio: 1;
}

.msc-upsell-content {
	display: grid;
	gap: 5px;
}

.msc-upsell-price {
	font-size: 13px;
	font-weight: 800;
}

.msc-small-button {
	width: fit-content;
	min-height: 32px;
	gap: 7px;
	padding: 0 10px;
	font-size: 12px;
}

.msc-add-cart-icon {
	display: inline-grid;
	width: 17px;
	height: 17px;
	place-items: center;
	color: currentColor;
}

.msc-add-cart-icon svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.msc-footer {
	display: grid;
	flex: 0 0 auto;
	gap: 10px;
	border-top: 1px solid var(--msc-border);
	padding: 16px 20px 18px;
	background: #ffffff;
	box-shadow: 0 -10px 24px rgba(17, 24, 39, 0.08);
}

.msc-total-row {
	color: var(--msc-muted);
	font-size: 14px;
}

.msc-total-row-strong {
	color: var(--msc-text);
	font-size: 17px;
	font-weight: 900;
}

.msc-button {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	padding: 0 16px;
	font: inherit;
	font-size: 14px;
	font-weight: 900;
	text-align: center;
	text-decoration: none;
}

.msc-button-primary {
	background: var(--msc-blue);
	color: #ffffff;
}

.msc-button-primary:hover,
.msc-button-primary:focus-visible {
	background: var(--msc-gold);
	color: #ffffff;
	outline: 0;
}

.msc-button-secondary {
	border: 1px solid rgba(4, 15, 124, 0.24);
	background: #ffffff;
	color: var(--msc-blue);
}

.msc-button-secondary:hover,
.msc-button-secondary:focus-visible {
	border-color: rgba(4, 15, 124, 0.42);
	background: #ffffff;
	color: var(--msc-blue);
	outline: 0;
}

.msc-empty {
	display: grid;
	min-height: 100%;
	place-items: center;
	align-content: center;
	gap: 12px;
	text-align: center;
}

.msc-empty-mark {
	display: grid;
	width: 68px;
	height: 68px;
	place-items: center;
	border: 2px solid rgba(207, 181, 59, 0.5);
	border-radius: 50%;
	background: rgba(4, 15, 124, 0.06);
	color: var(--msc-blue);
	font-size: 24px;
	font-weight: 900;
}

.msc-empty h3,
.msc-empty p {
	margin: 0;
}

.msc-empty h3 {
	color: var(--msc-blue);
	font-size: 20px;
}

.msc-empty p {
	max-width: 280px;
	color: var(--msc-muted);
	font-size: 14px;
}

.msc-side-cart.msc-is-busy .msc-panel-content {
	cursor: progress;
}

.msc-side-cart.msc-is-busy .msc-body,
.msc-side-cart.msc-is-busy .msc-footer {
	opacity: 0.62;
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.msc-overlay,
	.msc-panel {
		transition: none;
	}
}

@media (max-width: 520px) {
	.msc-panel {
		width: 100vw;
	}

	.msc-header,
	.msc-body,
	.msc-footer,
	.msc-notices {
		padding-right: 16px;
		padding-left: 16px;
	}

	.msc-floating-button {
		right: max(14px, env(safe-area-inset-right));
		bottom: max(14px, env(safe-area-inset-bottom));
		min-width: 56px;
		min-height: 56px;
		justify-content: center;
		padding: 0 12px;
	}

	.msc-floating-text {
		display: none;
	}

	.msc-item {
		grid-template-columns: 70px minmax(0, 1fr);
	}

	.msc-item-image {
		width: 70px;
	}

	.msc-inline-form {
		grid-template-columns: 1fr;
	}

	.msc-inline-form button,
	.msc-shipping-form button {
		width: 100%;
	}

	.msc-shipping-form {
		grid-template-columns: 1fr;
	}
}
