.wcqp-modal {
	background: rgba(17, 24, 39, 0.72);
	bottom: 0;
	display: none;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 99999;
}

.wcqp-modal.is-open {
	display: block;
}

.wcqp-modal__dialog {
	background: #fff;
	height: 100%;
	margin-left: auto;
	max-width: 820px;
	overflow: auto;
	padding: 24px;
}

.wcqp-modal__header,
.wcqp-wizard__footer,
.wcqp-cart-review__item {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
}

.wcqp-modal__close {
	background: transparent;
	border: 0;
	cursor: pointer;
	font-size: 32px;
	line-height: 1;
}

.wcqp-wizard [hidden] {
	display: none !important;
}

.wcqp-progress {
	display: flex;
	gap: 8px;
	margin: 18px 0;
}

.wcqp-progress span {
	align-items: center;
	background: #e5e7eb;
	border-radius: 50%;
	display: inline-flex;
	height: 32px;
	justify-content: center;
	width: 32px;
}

.wcqp-progress span.is-active {
	background: #111827;
	color: #fff;
}

.wcqp-step {
	display: none;
}

.wcqp-step.is-active {
	display: grid;
	gap: 14px;
}

.wcqp-step label {
	display: grid;
	font-weight: 600;
	gap: 6px;
}

.wcqp-step label.wcqp-checkbox {
	align-items: center;
	display: flex;
}

.wcqp-step input,
.wcqp-step select,
.wcqp-step textarea {
	width: 100%;
}

.wcqp-step .wcqp-checkbox input {
	width: auto;
}

.wcqp-year-field input {
	max-width: 180px;
	min-width: 130px;
}

.wcqp-cart-review {
	border: 1px solid #d1d5db;
	border-radius: 6px;
}

.wcqp-cart-review__item {
	border-bottom: 1px solid #e5e7eb;
	padding: 12px;
}

.wcqp-cart-review__product {
	align-items: center;
	display: flex;
	flex: 1;
	gap: 12px;
	min-width: 0;
}

.wcqp-cart-review__image {
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	flex: 0 0 100px;
	height: 100px;
	overflow: hidden;
	width: 100px;
}

.wcqp-cart-review__image img {
	display: block;
	height: 100px !important;
	max-height: 100px !important;
	max-width: 100px !important;
	object-fit: cover;
	width: 100px !important;
}

.wcqp-cart-review__title {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.wcqp-cart-review__title strong,
.wcqp-cart-review__title span {
	overflow-wrap: anywhere;
}

.wcqp-cart-review__qty {
	flex: 0 0 32px;
	text-align: center;
}

.wcqp-cart-review__prices {
	display: grid;
	flex: 0 0 180px;
	gap: 4px;
	text-align: right;
}

.wcqp-cart-review__item:last-child {
	border-bottom: 0;
}

.wcqp-cart-review__totals {
	background: #f9fafb;
	display: grid;
	gap: 8px;
	padding: 14px;
}

.wcqp-cart-review__totals div {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

@media (max-width: 640px) {
	.wcqp-cart-review__item {
		align-items: flex-start;
		flex-direction: column;
	}

	.wcqp-cart-review__prices {
		flex: none;
		text-align: left;
		width: 100%;
	}
}

.wcqp-wizard__notice {
	background: #ecfdf5;
	border-left: 4px solid #059669;
	padding: 12px;
}

.wcqp-wizard__notice.is-error {
	background: #fef2f2;
	border-left-color: #dc2626;
}
