.lssc-lock-scroll {
	overflow: hidden !important;
}

.lssc-root,
.lssc-root * {
	box-sizing: border-box;
}

.lssc-root {
	--lssc-primary: #111827;
	--lssc-accent: #16a34a;
	font-family: inherit;
}

.lssc-overlay {
	position: fixed;
	inset: 0;
	z-index: 999998;
	background: rgba(0, 0, 0, .30);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility .25s ease;
}

.lssc-drawer {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	width: min(430px, 94vw);
	height: 100vh;
	height: 100dvh;
	max-height: 100vh;
	margin: 0;
	padding: 0;
	background: #fff;
	color: #111827;
	box-shadow: -22px 0 50px rgba(15, 23, 42, .16);
	transform: translate3d(102%, 0, 0);
	transition: transform .3s cubic-bezier(.22, 1, .36, 1);
	outline: 0;
}

.lssc-root.is-open .lssc-overlay {
	opacity: 1;
	visibility: visible;
}

.lssc-root.is-open .lssc-drawer {
	transform: translate3d(0, 0, 0);
}

.lssc-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 91px;
	padding: 20px 24px;
	border-bottom: 1px solid #e5e7eb;
	background: #fff;
}

.lssc-eyebrow {
	display: block;
	margin: 0 0 4px;
	color: var(--lssc-accent);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .14em;
}

.lssc-drawer-header h2 {
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--lssc-primary);
	font: 700 22px/1.2 inherit;
	letter-spacing: -.02em;
}

.lssc-close,
.lssc-remove,
.lssc-floating-button,
.lssc-quantity button,
.lssc-continue {
	font: inherit;
	cursor: pointer;
}

.lssc-close {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 1px solid #111827;
	border-radius: 50%;
	background: #111827;
	box-shadow: 0 6px 16px rgba(17, 24, 39, .18);
	color: #fff;
	transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.lssc-close:hover {
	border-color: #000;
	background: #000;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .24);
	color: #fff;
	transform: scale(1.05);
}

.lssc-close:active {
	transform: scale(.96);
}

.lssc-close svg,
.lssc-remove svg,
.lssc-floating-button svg,
.lssc-empty-icon svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lssc-close svg {
	width: 18px;
	height: 18px;
	stroke: #fff;
	stroke-width: 2;
}

.lssc-drawer-content {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
	background: #fff;
}

.lssc-style-state {
	display: none !important;
}

.lssc-drawer-content::after {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: block;
	background: rgba(255, 255, 255, .7);
	content: '';
	opacity: 0;
	pointer-events: none;
	transition: opacity .18s ease;
}

.lssc-drawer-content.is-loading::after {
	opacity: 1;
	pointer-events: auto;
}

.lssc-feedback {
	position: absolute;
	top: 10px;
	left: 24px;
	right: 24px;
	z-index: 6;
	min-height: 0;
	padding: 0;
	border-radius: 8px;
	background: transparent;
	color: #374151;
	font-size: 12px;
	text-align: center;
}

.lssc-feedback:not(:empty) {
	padding: 8px 12px;
	background: #f3f4f6;
}

.lssc-feedback.is-error {
	background: #fef2f2;
	color: #b91c1c;
}

.lssc-empty {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 42px 32px;
	text-align: center;
}

.lssc-empty-icon {
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	margin-bottom: 22px;
	border: 1px solid #e5e9ef;
	border-radius: 50%;
	background: #f5f7fa;
	background: linear-gradient(145deg, #fff 0%, #eef2f7 100%);
	box-shadow: 0 12px 28px rgba(15, 23, 42, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
	color: var(--lssc-primary);
}

.lssc-empty-icon svg {
	width: 40px;
	height: 40px;
	stroke-width: 1.65;
}

.lssc-empty h3 {
	margin: 0 0 8px;
	padding: 0;
	color: #111827;
	font: 700 20px/1.3 inherit;
}

.lssc-empty p {
	max-width: 290px;
	margin: 0 0 22px;
	color: #6b7280;
	font: 400 14px/1.55 inherit;
}

.lssc-continue {
	padding: 11px 18px;
	border: 1px solid #d1d5db;
	border-radius: 9px;
	background: #fff;
	color: #111827;
	font-size: 13px;
	font-weight: 700;
}

.lssc-item-count {
	padding: 14px 24px 9px;
	color: #6b7280;
	font-size: 12px;
	font-weight: 600;
}

.lssc-items {
	flex: 1 1 auto;
	min-height: 100px;
	padding: 0 24px 16px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.lssc-item {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 15px;
	padding: 16px 0;
	border-bottom: 1px solid #eef0f2;
}

.lssc-item-image {
	align-self: start;
	width: 84px;
	height: 84px;
	overflow: hidden;
	border: 1px solid #eef0f2;
	border-radius: 10px;
	background: #f8fafc;
}

.lssc-item-image a {
	display: block;
	height: 100%;
}

.lssc-item-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	object-fit: cover;
}

.lssc-item-main {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: space-between;
}

.lssc-item-top,
.lssc-item-bottom {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.lssc-item-name {
	min-width: 0;
}

.lssc-item-name > a,
.lssc-item-name > span {
	display: block;
	margin: 0;
	color: #1f2937;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}

.lssc-item-name dl.variation {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 5px;
	margin: 5px 0 0;
	color: #6b7280;
	font-size: 11px;
}

.lssc-item-name dl.variation dt,
.lssc-item-name dl.variation dd,
.lssc-item-name dl.variation p {
	margin: 0;
	padding: 0;
}

.lssc-remove {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 28px;
	height: 28px;
	margin: -4px -4px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #9ca3af;
}

.lssc-remove:hover {
	color: #dc2626;
}

.lssc-remove svg {
	width: 17px;
	height: 17px;
}

.lssc-item-bottom {
	align-items: center;
	margin-top: 12px;
}

.lssc-quantity {
	display: grid;
	grid-template-columns: 28px 34px 28px;
	height: 30px;
	overflow: hidden;
	border: 1px solid #d1d5db;
	border-radius: 7px;
}

.lssc-quantity button,
.lssc-quantity input {
	display: grid;
	place-items: center;
	width: 100%;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	color: #374151;
	font: 600 13px/28px inherit;
	text-align: center;
}

.lssc-quantity button:hover {
	background: #f3f4f6;
}

.lssc-quantity input {
	border-right: 1px solid #e5e7eb;
	border-left: 1px solid #e5e7eb;
	appearance: textfield;
	-moz-appearance: textfield;
}

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

.lssc-item-price {
	color: var(--lssc-primary);
	font-size: 14px;
	font-weight: 800;
	white-space: nowrap;
}

.lssc-drawer-footer {
	flex: 0 0 auto;
	padding: 18px 24px max(22px, env(safe-area-inset-bottom));
	border-top: 1px solid #e5e7eb;
	background: #fff;
	box-shadow: 0 -12px 30px rgba(15, 23, 42, .04);
}

.lssc-subtotal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 3px;
	color: #374151;
	font-size: 15px;
}

.lssc-subtotal strong {
	color: var(--lssc-primary);
	font-size: 18px;
	font-weight: 800;
}

.lssc-shipping-note {
	margin: 0 0 14px;
	color: #6b7280;
	font-size: 11px;
	line-height: 1.4;
}

.lssc-checkout-button,
.lssc-cart-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	text-align: center;
	text-decoration: none !important;
}

.lssc-checkout-button {
	min-height: 49px;
	padding: 12px 18px;
	border: 0;
	border-radius: 10px;
	background: var(--lssc-accent);
	box-shadow: 0 8px 20px rgba(22, 163, 74, .24);
	box-shadow: 0 8px 20px color-mix(in srgb, var(--lssc-accent) 24%, transparent);
	color: #fff !important;
	font-size: 14px;
	font-weight: 800;
	transition: filter .2s ease, transform .2s ease;
}

.lssc-checkout-button:hover {
	filter: brightness(.94);
	transform: translateY(-1px);
}

.lssc-cart-link {
	margin-top: 12px;
	color: #4b5563 !important;
	font-size: 12px;
	font-weight: 700;
}

.lssc-floating-button {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 2147483000;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--lssc-primary);
	box-shadow: 0 10px 30px rgba(15, 23, 42, .25);
	color: #fff;
	-webkit-appearance: none;
	appearance: none;
	animation: none !important;
	backface-visibility: hidden;
	contain: layout style;
	cursor: pointer;
	isolation: isolate;
	overflow: visible;
	pointer-events: auto !important;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	transform: translateZ(0) !important;
	transition: box-shadow .2s ease;
	-webkit-user-select: none;
	user-select: none;
}

.lssc-floating-button:hover {
	animation: none !important;
	box-shadow: 0 12px 32px rgba(15, 23, 42, .3);
	filter: none !important;
	transform: translateZ(0) !important;
}

.lssc-floating-button:active {
	animation: none !important;
	filter: none !important;
	transform: translateZ(0) !important;
}

.lssc-root.is-open .lssc-floating-button {
	opacity: 0;
	pointer-events: none !important;
	visibility: hidden;
}

.lssc-floating-button svg {
	width: 25px;
	height: 25px;
	pointer-events: none;
}

.lssc-floating-count {
	position: absolute;
	top: -4px;
	right: -4px;
	display: grid;
	place-items: center;
	min-width: 23px;
	height: 23px;
	padding: 0 5px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: var(--lssc-accent);
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	pointer-events: none;
}

.lssc-close:focus-visible,
.lssc-remove:focus-visible,
.lssc-floating-button:focus-visible,
.lssc-quantity button:focus-visible,
.lssc-quantity input:focus-visible,
.lssc-checkout-button:focus-visible,
.lssc-cart-link:focus-visible,
.lssc-continue:focus-visible {
	outline: 3px solid rgba(22, 163, 74, .32);
	outline: 3px solid color-mix(in srgb, var(--lssc-accent) 42%, transparent);
	outline-offset: 2px;
}

@media (max-width: 480px) {
	.lssc-drawer {
		width: min(390px, 100vw);
	}

	.lssc-drawer-header {
		min-height: 82px;
		padding: 17px 20px;
	}

	.lssc-item-count {
		padding-right: 20px;
		padding-left: 20px;
	}

	.lssc-items {
		padding-right: 20px;
		padding-left: 20px;
	}

	.lssc-item {
		grid-template-columns: 74px minmax(0, 1fr);
		gap: 12px;
	}

	.lssc-item-image {
		width: 74px;
		height: 74px;
	}

	.lssc-drawer-footer {
		padding-right: 20px;
		padding-left: 20px;
	}

	.lssc-floating-button {
		right: 16px;
		bottom: max(18px, env(safe-area-inset-bottom));
		width: 55px;
		height: 55px;
		pointer-events: auto !important;
		touch-action: manipulation;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lssc-overlay,
	.lssc-drawer,
	.lssc-close,
	.lssc-floating-button,
	.lssc-checkout-button {
		transition: none !important;
	}
}
