.wlx-quick-checkout-is-open {
	overflow: hidden !important;
}

.wlx-quick-checkout-modal,
.wlx-quick-checkout-modal * {
	box-sizing: border-box;
}

.wlx-quick-checkout-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	opacity: 1;
	padding: 16px;
	position: fixed;
	transition: opacity 160ms ease;
	z-index: 999999;
}

.wlx-quick-checkout-modal[aria-hidden="true"] {
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
}

.wlx-quick-checkout-modal__backdrop {
	background: rgba(15, 15, 15, 0.58);
	backdrop-filter: blur(3px);
	inset: 0;
	position: absolute;
}

.wlx-quick-checkout-modal__dialog {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
	max-height: min(94dvh, 850px);
	max-width: 760px;
	overflow: hidden;
	position: relative;
	width: min(94vw, 760px);
}

.wlx-quick-checkout-modal__dialog:focus {
	outline: none;
}

.wlx-quick-checkout-modal__header {
	align-items: center;
	border-bottom: 1px solid #e7e7e7;
	display: flex;
	flex: 0 0 auto;
	justify-content: space-between;
	min-height: 62px;
	padding: 10px 18px 10px 24px;
}

.wlx-quick-checkout-modal__header h2 {
	color: #111 !important;
	font-family: inherit;
	font-size: clamp(21px, 2.1vw, 26px);
	font-weight: 750;
	line-height: 1.2;
	margin: 0;
}

.wlx-quick-checkout-modal__close {
	align-items: center;
	background: transparent !important;
	border: 0 !important;
	border-radius: 999px;
	box-shadow: none !important;
	color: #111 !important;
	cursor: pointer;
	display: inline-flex;
	font-size: 34px;
	height: 40px;
	justify-content: center;
	line-height: 1;
	margin: 0;
	padding: 0 0 3px;
	width: 40px;
}

.wlx-quick-checkout-modal__close:hover,
.wlx-quick-checkout-modal__close:focus-visible {
	background: #f1f1f1 !important;
	outline: 2px solid #111;
	outline-offset: 1px;
}

.wlx-quick-checkout-modal__content {
	min-height: 0;
	overflow: auto;
	position: relative;
}

.wlx-quick-checkout-form {
	display: grid;
	gap: 13px;
	margin: 0;
	padding: 18px 24px 22px;
}

.wlx-quick-checkout-error {
	background: #fff4f4;
	border: 1px solid #d72c2c;
	border-radius: 7px;
	color: #a31212;
	font-size: 14px;
	line-height: 1.35;
	margin: 0;
	padding: 9px 11px;
}

.wlx-quick-checkout-error[hidden],
.wlx-quick-checkout-coupon__panel[hidden],
.wlx-quick-checkout-coupon__status[hidden],
.wlx-quick-checkout-status[hidden] {
	display: none !important;
}

.wlx-quick-checkout-fields {
	display: grid;
	gap: 9px;
}

.wlx-quick-checkout-field {
	align-items: stretch;
	background: #fff;
	border: 1px solid #c9c9c9;
	border-radius: 8px;
	color: #111 !important;
	display: flex;
	height: 54px;
	margin: 0 !important;
	overflow: hidden;
	transition: border-color 130ms ease, box-shadow 130ms ease;
}

.wlx-quick-checkout-field:focus-within {
	border-color: #111;
	box-shadow: 0 0 0 1px #111;
}

.wlx-quick-checkout-field.has-error {
	border-color: #d72c2c;
	box-shadow: 0 0 0 1px #d72c2c;
}

.wlx-quick-checkout-field__icon {
	align-items: center;
	background: #eeeeee;
	border-right: 1px solid #d1d1d1;
	display: flex;
	flex: 0 0 56px;
	justify-content: center;
}

.wlx-quick-checkout-field__icon svg {
	fill: none;
	height: 23px;
	stroke: #111;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 23px;
}

.wlx-quick-checkout-field input {
	appearance: none;
	background: #fff !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #111 !important;
	font: inherit;
	font-size: 16px !important;
	height: 100% !important;
	line-height: 1.3;
	margin: 0 !important;
	min-height: 0 !important;
	outline: none !important;
	padding: 0 16px !important;
	width: 100%;
}

.wlx-quick-checkout-field input::placeholder {
	color: #555 !important;
	opacity: 1;
}

.wlx-quick-checkout-summary {
	border-top: 1px solid #e2e2e2;
	margin-top: 1px;
	padding-top: 10px;
}

.wlx-quick-checkout-items {
	display: grid;
	gap: 7px;
}

.wlx-quick-checkout-item {
	align-items: center;
	border-bottom: 1px solid #ededed;
	display: grid;
	gap: 12px;
	grid-template-columns: 58px minmax(0, 1fr) auto;
	min-height: 68px;
	padding: 4px 2px 9px;
}

.wlx-quick-checkout-item__image {
	background: #f4f4f4;
	border-radius: 7px;
	height: 56px;
	position: relative;
	width: 56px;
}

.wlx-quick-checkout-item__image img {
	border-radius: inherit;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.wlx-quick-checkout-item__quantity {
	align-items: center;
	background: #777;
	border: 2px solid #fff;
	border-radius: 999px;
	color: #fff;
	display: flex;
	font-size: 11px;
	font-weight: 700;
	height: 23px;
	justify-content: center;
	min-width: 23px;
	padding: 0 5px;
	position: absolute;
	right: -8px;
	top: -8px;
}

.wlx-quick-checkout-item__details {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.wlx-quick-checkout-item__details strong {
	color: #111;
	font-size: 15px;
	line-height: 1.25;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wlx-quick-checkout-item__details span {
	color: #666;
	font-size: 12px;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wlx-quick-checkout-item__price {
	color: #111;
	font-size: 14px;
	white-space: nowrap;
}

.wlx-quick-checkout-totals {
	background: #fafafa;
	border: 1px solid #e1e1e1;
	border-radius: 8px;
	margin-top: 9px;
	padding: 7px 11px;
}

.wlx-quick-checkout-totals > div {
	align-items: center;
	color: #111;
	display: flex;
	font-size: 14px;
	justify-content: space-between;
	line-height: 1.25;
	min-height: 28px;
}

.wlx-quick-checkout-totals strong {
	color: #111;
	font-weight: 700;
}

.wlx-quick-checkout-totals .wlx-quick-checkout-discount,
.wlx-quick-checkout-totals .wlx-quick-checkout-discount strong {
	color: #17843c;
}

.wlx-quick-checkout-discount[hidden] {
	display: none !important;
}

.wlx-quick-checkout-totals .wlx-quick-checkout-total {
	border-top: 1px solid #dfdfdf;
	font-size: 17px;
	font-weight: 700;
	margin-top: 3px;
	min-height: 34px;
	padding-top: 5px;
}

.wlx-quick-checkout-coupon {
	margin-top: 8px;
}

.wlx-quick-checkout-coupon__toggle {
	align-items: center;
	background: #f6f6f6 !important;
	border: 1px solid #e5e5e5 !important;
	border-radius: 7px !important;
	box-shadow: none !important;
	color: #333 !important;
	cursor: pointer;
	display: flex !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	height: 38px !important;
	justify-content: space-between;
	line-height: 1.2 !important;
	margin: 0 !important;
	padding: 0 11px !important;
	text-transform: none !important;
	width: 100%;
}

.wlx-quick-checkout-coupon__toggle strong {
	color: #111;
	font-weight: 650;
}

.wlx-quick-checkout-coupon__panel {
	display: grid;
	gap: 7px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin-top: 7px;
}

.wlx-quick-checkout-coupon__panel input {
	background: #fff !important;
	border: 1px solid #bbb !important;
	border-radius: 7px !important;
	box-shadow: none !important;
	color: #111 !important;
	font-size: 14px !important;
	height: 40px !important;
	margin: 0 !important;
	min-height: 0 !important;
	padding: 0 11px !important;
}

.wlx-quick-checkout-coupon__panel button {
	background: #222 !important;
	border: 1px solid #222 !important;
	border-radius: 7px !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 650 !important;
	height: 40px !important;
	margin: 0 !important;
	padding: 0 15px !important;
	text-transform: none !important;
}

.wlx-quick-checkout-coupon__status {
	color: #2d633d;
	font-size: 12px;
	line-height: 1.3;
	margin: 5px 2px 0;
}

.wlx-quick-checkout-coupon__status.is-error {
	color: #a31212;
}

.wlx-quick-checkout-status {
	color: #555;
	font-size: 12px;
	line-height: 1.3;
	margin: -2px 0;
	text-align: center;
}

.wlx-quick-checkout-submit {
	align-items: center;
	background: #000 !important;
	border: 2px solid #000 !important;
	border-radius: 10px !important;
	box-shadow: 0 5px 12px rgba(0, 0, 0, 0.24) !important;
	color: #fff !important;
	cursor: pointer;
	display: flex !important;
	font-size: 17px !important;
	font-weight: 750 !important;
	gap: 10px;
	height: 55px !important;
	justify-content: center;
	line-height: 1 !important;
	margin: 0 !important;
	min-height: 55px !important;
	padding: 0 18px !important;
	text-transform: none !important;
	width: 100%;
}

.wlx-quick-checkout-submit:hover:not(:disabled),
.wlx-quick-checkout-submit:focus-visible:not(:disabled) {
	background: #202020 !important;
	border-color: #202020 !important;
}

.wlx-quick-checkout-submit:disabled {
	cursor: wait;
	opacity: 0.72;
}

.wlx-quick-checkout-submit__spinner {
	animation: wlx-quick-checkout-spin 700ms linear infinite;
	border: 2px solid rgba(255, 255, 255, 0.42);
	border-radius: 50%;
	border-top-color: #fff;
	display: none;
	height: 18px;
	width: 18px;
}

.wlx-quick-checkout-submit.is-loading .wlx-quick-checkout-submit__spinner {
	display: block;
}

.wlx-quick-checkout-engine {
	border: 0;
	height: 1px;
	left: -10000px;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
	width: 1px;
}

.wlx-quick-checkout-modal .screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	overflow: hidden !important;
	position: absolute !important;
	white-space: nowrap !important;
	width: 1px !important;
}

@keyframes wlx-quick-checkout-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
	.wlx-quick-checkout-modal {
		padding: 8px;
	}

	.wlx-quick-checkout-modal__dialog {
		border-radius: 13px;
		max-height: calc(100dvh - 16px);
		width: calc(100vw - 16px);
	}

	.wlx-quick-checkout-modal__header {
		min-height: 54px;
		padding: 7px 9px 7px 14px;
	}

	.wlx-quick-checkout-modal__header h2 {
		font-size: 19px;
	}

	.wlx-quick-checkout-modal__close {
		font-size: 30px;
		height: 38px;
		width: 38px;
	}

	.wlx-quick-checkout-form {
		gap: 9px;
		padding: 11px 12px 13px;
	}

	.wlx-quick-checkout-fields {
		gap: 7px;
	}

	.wlx-quick-checkout-field {
		height: 48px;
	}

	.wlx-quick-checkout-field__icon {
		flex-basis: 49px;
	}

	.wlx-quick-checkout-field__icon svg {
		height: 21px;
		width: 21px;
	}

	.wlx-quick-checkout-field input {
		font-size: 15px !important;
		padding: 0 12px !important;
	}

	.wlx-quick-checkout-summary {
		padding-top: 7px;
	}

	.wlx-quick-checkout-item {
		gap: 9px;
		grid-template-columns: 49px minmax(0, 1fr) auto;
		min-height: 57px;
		padding-bottom: 7px;
	}

	.wlx-quick-checkout-item__image {
		height: 48px;
		width: 48px;
	}

	.wlx-quick-checkout-item__details strong,
	.wlx-quick-checkout-item__price {
		font-size: 13px;
	}

	.wlx-quick-checkout-totals {
		margin-top: 6px;
		padding: 5px 9px;
	}

	.wlx-quick-checkout-totals > div {
		font-size: 13px;
		min-height: 24px;
	}

	.wlx-quick-checkout-totals .wlx-quick-checkout-total {
		font-size: 15px;
		min-height: 29px;
	}

	.wlx-quick-checkout-coupon {
		margin-top: 6px;
	}

	.wlx-quick-checkout-coupon__toggle {
		height: 34px !important;
	}

	.wlx-quick-checkout-submit {
		font-size: 15px !important;
		height: 49px !important;
		min-height: 49px !important;
	}
}

@media (max-height: 700px) {
	.wlx-quick-checkout-modal__dialog {
		max-height: calc(100dvh - 12px);
	}

	.wlx-quick-checkout-modal__header {
		min-height: 50px;
	}

	.wlx-quick-checkout-form {
		gap: 7px;
		padding-bottom: 11px;
		padding-top: 10px;
	}

	.wlx-quick-checkout-field {
		height: 45px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wlx-quick-checkout-modal,
	.wlx-quick-checkout-submit__spinner {
		animation: none;
		transition: none;
	}
}
