/**
 * Canvas Club — PNP / WCQCM checkout modal theme overrides
 */

.wcqcm-modal__dialog--canvasclub {
	--wcqcm-font: var(--cc-font-family, 'Fredoka', system-ui, sans-serif);
	--wcqcm-primary: var(--cc-purple, #43248d);
	--wcqcm-purple: var(--cc-purple, #43248d);
	--wcqcm-pink: var(--cc-pink, #e85a9a);
	--wcqcm-accent: var(--cc-navy, #1a2238);
	--wcqcm-text: var(--cc-navy, #1a2238);
	--wcqcm-bg: var(--cc-white, #fff);
	--wcqcm-surface: #f7f4fc;
	--wcqcm-border: #e4ddf0;
	--wcqcm-radius: 0.5rem;
	font-family: var(--cc-font-family, 'Fredoka', system-ui, sans-serif);
	color: var(--cc-navy, #1a2238);
	border-color: rgba(67, 36, 141, 0.14);
	box-shadow: 0 28px 80px rgba(26, 34, 56, 0.28);
}

.wcqcm-modal__dialog--canvasclub .wcqcm-modal__header {
	padding: 1.15rem 3.5rem 1rem 1.35rem;
	background: linear-gradient(180deg, #faf7fc 0%, var(--cc-white, #fff) 100%);
	border-bottom: 1px solid var(--wcqcm-border);
}

.wcqcm-modal__dialog--canvasclub .wcqcm-modal__brand {
	margin: 0 0 0.5rem;
	font-family: var(--cc-font-baloo-bold, var(--cc-font-family));
	font-size: var(--font-size-small, 0.875rem);
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--cc-purple, #43248d);
}

.wcqcm-modal__dialog--canvasclub .wcqcm-modal__title.section-heading {
	display: inline-flex;
	margin: 0 0 0.5rem;
	padding: 0.35rem 0.5rem 0.65rem 0.25rem;
	font-family: var(--cc-font-baloo-bold, var(--cc-font-family));
	font-size: clamp(1.35rem, 2.8vw, var(--font-size-xxx-large, 1.75rem));
	font-weight: 500;
	line-height: 1.15;
	color: var(--cc-navy, #1a2238);
}

.wcqcm-modal__dialog--canvasclub .wcqcm-modal__subtitle {
	margin: 0;
	max-width: 32rem;
	font-family: var(--cc-font-family);
	font-size: var(--font-size-large, 16px);
	font-weight: 400;
	line-height: 1.5;
	color: rgba(26, 34, 56, 0.72);
}

.wcqcm-modal__dialog--canvasclub .wcqcm-modal__close {
	border-color: rgba(67, 36, 141, 0.2);
	color: var(--cc-purple, #43248d);
	transition:
		background 0.25s ease,
		border-color 0.25s ease,
		color 0.25s ease,
		transform 0.25s ease;
}

.wcqcm-modal__dialog--canvasclub .wcqcm-modal__close:hover,
.wcqcm-modal__dialog--canvasclub .wcqcm-modal__close:focus-visible {
	background: var(--cc-purple, #43248d);
	border-color: var(--cc-purple, #43248d);
	color: var(--cc-white, #fff);
	transform: scale(1.06);
}

.wcqcm-modal__dialog--canvasclub .wcqcm-modal__body {
	background: var(--cc-white, #fff);
}

.wcqcm-modal__dialog--canvasclub .wcqcm-checkout {
	border-color: var(--wcqcm-border);
	border-radius: calc(var(--wcqcm-radius) + 0.15rem);
	overflow: hidden;
	transition: box-shadow 0.3s ease;
}

.wcqcm-modal__dialog--canvasclub .wcqcm-checkout__panel--billing {
	background: var(--cc-white, #fff);
}

.wcqcm-modal__dialog--canvasclub .wcqcm-checkout__panel--summary,
.wcqcm-modal__dialog--canvasclub .wcqcm-modal__review {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.15rem 1.15rem 1.35rem;
	background: linear-gradient(180deg, #faf7fc 0%, #f3eef9 100%);
}

.wcqcm-modal .wcqcm-modal__review .wcqcm-checkout__order-review {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.wcqcm-modal .wcqcm-modal__review #order_review_heading {
	margin-bottom: 0.35rem;
}

/* Line items */
.wcqcm-modal .wcqcm-modal__review .woocommerce-checkout-review-order-table {
	width: 100%;
	margin: 0;
	border-collapse: separate;
	border-spacing: 0;
	font-family: var(--cc-font-family);
}

.wcqcm-modal .wcqcm-modal__review .woocommerce-checkout-review-order-table thead {
	display: none;
}

.wcqcm-modal .wcqcm-modal__review .woocommerce-checkout-review-order-table tbody {
	display: block;
}

.wcqcm-modal .wcqcm-modal__review .woocommerce-checkout-review-order-table tbody tr.cart_item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.35rem 0.75rem;
	padding: 0.9rem 1rem;
	margin-bottom: 0.55rem;
	background: var(--cc-white, #fff);
	border: 2px solid #e4ddf0;
	border-radius: 0.65rem;
	box-shadow: 0 4px 14px rgba(67, 36, 141, 0.06);
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
	position: relative;
}

.wcqcm-modal .wcqcm-modal__review .woocommerce-checkout-review-order-table tbody tr.cart_item:last-child {
	margin-bottom: 0;
}

.wcqcm-modal .wcqcm-modal__review .woocommerce-checkout-review-order-table tbody tr.cart_item:hover {
	border-color: rgba(67, 36, 141, 0.28);
	box-shadow: 0 6px 18px rgba(67, 36, 141, 0.1);
}

.wcqcm-modal .wcqcm-modal__review .woocommerce-checkout-review-order-table tbody tr.cart_item td {
	position: unset;
	padding: 0;
	border: 0;
}

.wcqcm-modal .wcqcm-modal__review .woocommerce-checkout-review-order-table .product-name {
	flex: 1 1 calc(100% - 5.5rem);
	padding-right: 2rem;
	font-family: var(--cc-font-baloo-bold, var(--cc-font-family));
	font-size: 18px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--cc-navy, #1a2238);
}

.wcqcm-modal .wcqcm-modal__review .woocommerce-checkout-review-order-table .product-name .wcqcm-line-item__name {
	display: block;
	padding-right: 0;
}

.wcqcm-modal .wcqcm-modal__review .woocommerce-checkout-review-order-table .product-quantity {
	display: none;
}

.wcqcm-modal .wcqcm-modal__review .woocommerce-checkout-review-order-table .product-total {
	flex: 0 0 auto;
	align-self: center;
	font-family: var(--cc-font-baloo-bold, var(--cc-font-family));
	font-size: var(--font-size-x-large, 18px);
	font-weight: 700;
	color: var(--cc-purple, #43248d);
	white-space: nowrap;
}

.wcqcm-modal .wcqcm-modal__review .wcqcm-remove-line-item {
	top: -10px;
    right: -10px;
	width: 1.65rem;
	height: 1.65rem;
	border: 1px solid #e4ddf0;
	background: var(--cc-white, #fff);
	color: rgba(26, 34, 56, 0.55);
	font-size: 1rem;
	line-height: 1.45rem;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.wcqcm-modal .wcqcm-modal__review .wcqcm-remove-line-item:hover,
.wcqcm-modal .wcqcm-modal__review .wcqcm-remove-line-item:focus-visible {
	background: var(--cc-pink, #e85a9a);
	border-color: var(--cc-pink, #e85a9a);
	color: var(--cc-white, #fff);
	transform: scale(1.05);
	outline: none;
}

/* Totals */
.wcqcm-modal .wcqcm-modal__review .woocommerce-checkout-review-order-table tfoot {
	display: block;
	margin-top: 0.65rem;
	padding: 0.85rem 1rem;
	background: var(--cc-white, #fff);
	border: 2px solid rgba(67, 36, 141, 0.16);
	border-radius: 0.65rem;
	box-shadow: 0 4px 14px rgba(67, 36, 141, 0.06);
}

.wcqcm-modal .wcqcm-modal__review .woocommerce-checkout-review-order-table tfoot tr {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.wcqcm-modal .wcqcm-modal__review .woocommerce-checkout-review-order-table tfoot th,
.wcqcm-modal .wcqcm-modal__review .woocommerce-checkout-review-order-table tfoot td {
	padding: 0.35rem 0;
	border: 0;
	font-family: var(--cc-font-baloo-bold);
	font-size: var(--font-size-x-large, 18px);
	font-weight: 600;
	color: rgba(26, 34, 56, 0.78);
}

.wcqcm-modal .wcqcm-modal__review .woocommerce-checkout-review-order-table tfoot td {
	font-weight: 700;
	color: var(--cc-navy, #1a2238);
}

.wcqcm-modal .wcqcm-modal__review .woocommerce-checkout-review-order-table tfoot tr.order-total {
	margin-top: 0.35rem;
	padding-top: 0.65rem;
	border-top: 2px solid #ece6f4;
}

.wcqcm-modal .wcqcm-modal__review .woocommerce-checkout-review-order-table tfoot tr.order-total th,
.wcqcm-modal .wcqcm-modal__review .woocommerce-checkout-review-order-table tfoot tr.order-total td {
	padding-top: 0.65rem;
	font-family: var(--cc-font-baloo-bold, var(--cc-font-family));
	font-size: clamp(1.05rem, 2vw, var(--font-size-xx-large, 1.5rem));
	font-weight: 700;
	color: var(--cc-purple, #43248d);
}

/* Promo code */
.wcqcm-modal .wcqcm-modal__review .wcqcm-coupon {
	margin: 0;
	padding: 0.85rem 1rem;
	background: var(--cc-white, #fff);
	border: 2px dashed #d8c9ef;
	border-radius: 0.65rem;
}

.wcqcm-modal .wcqcm-modal__review .wcqcm-coupon__label {
	margin-bottom: 0.5rem;
	font-family: var(--cc-font-baloo-bold, var(--cc-font-family));
	font-size: var(--font-size-large, 16px);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cc-purple, #43248d);
}

/* Payment */
.wcqcm-modal .wcqcm-modal__review #payment {
	margin: 0;
	padding: 1rem;
	background: var(--cc-white, #fff);
	border: 2px solid #e4ddf0;
	border-radius: 0.65rem;
	box-shadow: 0 4px 14px rgba(67, 36, 141, 0.06);
}

.wcqcm-modal .wcqcm-modal__review #payment::before {
	content: 'Payment';
	display: block;
	margin-bottom: 0;
	font-family: var(--cc-font-baloo-bold, var(--cc-font-family));
	font-size: var(--font-size-large, 16px);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--cc-purple, #43248d);
}

.wcqcm-modal .wcqcm-modal__review #payment ul.payment_methods {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin: 0 0 0.85rem;
}

.wcqcm-modal .wcqcm-modal__review #payment ul.payment_methods li {
	margin: 0;
	padding: 0.75rem 0.9rem;
	border: 2px solid #e4ddf0;
	border-radius: 0.55rem;
	background: #fcfbfe;
	cursor: pointer;
	transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.wcqcm-modal .wcqcm-modal__review #payment ul.payment_methods li:hover {
	border-color: rgba(67, 36, 141, 0.28);
	box-shadow: 0 4px 12px rgba(67, 36, 141, 0.08);
}

.wcqcm-modal .wcqcm-modal__review #payment ul.payment_methods li:has(input:checked) {
	border-color: unset;
    background: unset;
    box-shadow: unset;
    padding: 0;
    border: unset;
}

.wcqcm-modal .wcqcm-modal__review #payment ul.payment_methods li label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	font-family: var(--cc-font-baloo-bold, var(--cc-font-family));
	font-size: var(--font-size-large, 16px);
	font-weight: 700;
	color: var(--cc-navy, #1a2238);
	cursor: pointer;
}

.wcqcm-modal .wcqcm-modal__review #payment ul.payment_methods li:has(input:checked) label {
	color: var(--cc-purple, #43248d);
	line-height: 1.2;
}

.wcqcm-modal .wcqcm-modal__review #payment ul.payment_methods li input.input-radio{
	display: none;
}

.wcqcm-modal .wcqcm-modal__review #payment div.payment_box {
	margin-top: 0.65rem;
	padding: 0;
	background: unset;
	font-family: var(--cc-font-family);
	font-size: 15px;
	line-height: 1.55;
	color: rgba(26, 34, 56, 0.82);
	border: unset;
}

.wcqcm-modal .wcqcm-modal__review #payment .place-order {
	position: sticky;
	bottom: 0;
	margin: 0.35rem 0 0;
	padding: 0.85rem 0 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 28%);
}

.wcqcm-modal .wcqcm-modal__review .woocommerce-terms-and-conditions-wrapper {
	display: none;
}


.wcqcm-modal .wcqcm-modal__review .btn.pink-brush.wcqcm-place-order {
	margin-top: 0.15rem;
}

.wcqcm-modal .wcqcm-modal__review .woocommerce-privacy-policy-text {
	margin-bottom: 0.65rem;
	font-family: var(--cc-font-family);
	font-size: var(--font-size-small, 0.875rem);
	line-height: 1.5;
	color: rgba(26, 34, 56, 0.75);
}

.wcqcm-modal__dialog--canvasclub .wcqcm-checkout__heading.section-heading {
	display: inline-flex;
	margin: 0 0 1rem;
	padding: 0.25rem 0.35rem 0.55rem 0.15rem;
	font-family: var(--cc-font-baloo-bold, var(--cc-font-family));
	font-size: clamp(1.1rem, 2vw, var(--font-size-xx-large, 1.5rem));
	font-weight: 500;
	line-height: 1.2;
	color: var(--cc-navy, #1a2238);
	width: fit-content;
}

.wcqcm-modal__dialog--canvasclub .wcqcm-checkout__subheading {
	font-family: var(--cc-font-baloo-bold, var(--cc-font-family));
	font-size: var(--font-size-small, 0.875rem);
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--cc-purple, #43248d);
}

.wcqcm-modal__dialog--canvasclub .woocommerce-checkout .form-row label,
.wcqcm-modal__dialog--canvasclub .wcqcm-field-label {
	font-family: var(--cc-font-baloo-bold, var(--cc-font-family));
	font-size: var(--font-size-small, 0.875rem);
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--cc-navy, #1a2238);
}

.wcqcm-modal__dialog--canvasclub .form-row input.input-text,
.wcqcm-modal__dialog--canvasclub .form-row textarea,
.wcqcm-modal__dialog--canvasclub .form-row select,
.wcqcm-modal__dialog--canvasclub .wcqcm-field-input,
.wcqcm-modal__dialog--canvasclub .wcqcm-coupon__input {
	min-height: 1.5rem !important;
	padding: 0.55rem 0.85rem;
	border: 2px solid var(--wcqcm-border);
	border-radius: var(--wcqcm-radius);
	background: var(--cc-white, #fff);
	font-family: var(--cc-font-family);
	font-size: var(--font-size-x-large, 18px) !important;
	color: var(--cc-navy, #1a2238);
	transition:
		border-color 0.25s ease,
		box-shadow 0.25s ease,
		background-color 0.25s ease;
	width: -webkit-fill-available;
}

.wcqcm-modal__dialog--canvasclub .form-row select {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2343248d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
	padding-right: 2.25rem;
}

.wcqcm-modal__dialog--canvasclub .form-row select::-ms-expand {
	display: none;
}

.wcqcm-modal__dialog--canvasclub .form-row input:focus,
.wcqcm-modal__dialog--canvasclub .form-row textarea:focus,
.wcqcm-modal__dialog--canvasclub .form-row select:focus,
.wcqcm-modal__dialog--canvasclub .wcqcm-field-input:focus,
.wcqcm-modal__dialog--canvasclub .wcqcm-coupon__input:focus {
	border-color: var(--cc-purple, #43248d);
	box-shadow: 0 0 0 3px rgba(67, 36, 141, 0.14);
	outline: none;
}

.wcqcm-modal__dialog--canvasclub .select2-container--default .select2-selection--single {
	min-height: 2.75rem;
	border: 2px solid var(--wcqcm-border);
	border-radius: var(--wcqcm-radius);
	background: var(--cc-white, #fff);
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.wcqcm-modal__dialog--canvasclub .select2-container--default.select2-container--focus .select2-selection--single,
.wcqcm-modal__dialog--canvasclub .select2-container--default.select2-container--open .select2-selection--single {
	border-color: var(--cc-purple, #43248d);
	box-shadow: 0 0 0 3px rgba(67, 36, 141, 0.14);
}

.wcqcm-modal__dialog--canvasclub .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding-left: 0.85rem;
	font-family: var(--cc-font-family);
	font-size: var(--font-size-medium, 1rem);
	line-height: 2.5rem;
	color: var(--cc-navy, #1a2238);
}

.wcqcm-modal__dialog--canvasclub .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 2.5rem;
	right: 0.5rem;
	width: 1.5rem;
}

.wcqcm-modal__dialog--canvasclub .select2-container--default .select2-selection--single .select2-selection__arrow b {
	display: none !important;
	border: 0 !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
}

.wcqcm-modal__dialog--canvasclub .select2-container--default .select2-selection--single .select2-selection__arrow::before {
	content: '';
	position: absolute;
	inset: 0;
	margin: auto;
	width: 12px;
	height: 8px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px 8px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2343248d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.wcqcm-modal__dialog--canvasclub .select2-dropdown {
	border: 2px solid var(--wcqcm-border);
	border-radius: var(--wcqcm-radius);
	font-family: var(--cc-font-family);
}

.wcqcm-modal__dialog--canvasclub .select2-results__option--highlighted[aria-selected] {
	background: var(--cc-purple, #43248d);
}

.wcqcm-modal__dialog--canvasclub .wcqcm-coupon {
	background: var(--wcqcm-surface);
}

.wcqcm-modal__dialog--canvasclub .wcqcm-coupon__apply {
	border-color: var(--cc-purple, #43248d) !important;
	border-radius: var(--wcqcm-radius) !important;
	font-family: var(--cc-font-baloo-bold, var(--cc-font-family)) !important;
	font-size: var(--font-size-small, 0.875rem) !important;
	color: var(--cc-purple, #43248d) !important;
	transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.wcqcm-modal__dialog--canvasclub .wcqcm-coupon__apply:hover,
.wcqcm-modal__dialog--canvasclub .wcqcm-coupon__apply:focus-visible {
	background: var(--cc-purple, #43248d) !important;
	color: var(--cc-white, #fff) !important;
	transform: translateY(-1px);
}

.wcqcm-modal__dialog--canvasclub #payment ul.payment_methods li {
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.wcqcm-modal__dialog--canvasclub #payment ul.payment_methods li:hover {
	border-color: rgba(67, 36, 141, 0.35);
	box-shadow: 0 4px 14px rgba(67, 36, 141, 0.08);
}

.wcqcm-modal__dialog--canvasclub #payment ul.payment_methods li label {
	font-family: var(--cc-font-family);
}

.wcqcm-modal__dialog--canvasclub #payment ul.payment_methods li input {
	accent-color: var(--cc-purple, #43248d);
}

.wcqcm-modal__dialog--canvasclub .wcqcm-checkout__panel--summary #payment {
	margin-top: 0;
	padding-top: 1rem;
	border-top: 0;
}

.wcqcm-modal__dialog--canvasclub .woocommerce-checkout-review-order-table .product-name,
.wcqcm-modal__dialog--canvasclub .woocommerce-checkout-review-order-table tfoot td,
.wcqcm-modal__dialog--canvasclub .woocommerce-checkout-review-order-table tfoot th {
	font-family: var(--cc-font-family);
}

.wcqcm-modal__dialog--canvasclub .woocommerce-checkout-review-order-table .order-total th,
.wcqcm-modal__dialog--canvasclub .woocommerce-checkout-review-order-table .order-total td {
	color: var(--cc-purple, #43248d);
	font-family: var(--cc-font-baloo-bold, var(--cc-font-family));
}

.wcqcm-modal__dialog--canvasclub .wcqcm-remove-line-item:hover,
.wcqcm-modal__dialog--canvasclub .wcqcm-remove-line-item:focus {
	background: var(--cc-pink, #e85a9a);
}

.wcqcm-modal__dialog--canvasclub #payment .place-order {
	background: transparent;
}

.wcqcm-modal__dialog--canvasclub .btn.pink-brush.wcqcm-place-order {
	width: 100%;
	min-width: 0;
}

.wcqcm-modal__dialog--canvasclub .btn.pink-brush.wcqcm-place-order .btn-label {
	font-family: var(--cc-font-baloo-bold, var(--cc-font-family));
	font-size: clamp(0.95rem, 1.5vw, 1.125rem);
	letter-spacing: 0.08em;
}

.wcqcm-modal__dialog--canvasclub .woocommerce-privacy-policy-text,
.wcqcm-modal__dialog--canvasclub .woocommerce-terms-and-conditions-wrapper {
	font-family: var(--cc-font-family);
	font-size: var(--font-size-small, 0.875rem);
}

.wcqcm-modal__dialog--canvasclub .wcqcm-modal__notice {
	margin: 0;
	padding: 0.85rem 1rem;
	border-radius: var(--wcqcm-radius, 0.5rem);
	font-family: var(--cc-font-family);
	font-size: var(--font-size-medium, 1rem);
	font-weight: 600;
	line-height: 1.45;
}

.wcqcm-modal__dialog--canvasclub .wcqcm-modal__notice.is-error {
	padding-top: 0.85rem;
	color: #9f1239;
	background: #fff5f7;
	border: 1px solid #fecdd3;
	box-shadow: 0 4px 14px rgba(190, 18, 60, 0.08);
}

/* WooCommerce checkout notices */
@keyframes wcqcm-notice-in {
	from {
		opacity: 0;
		transform: translate3d(0, -0.35rem, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

.wcqcm-modal .woocommerce-NoticeGroup {
	margin: 0 0 1.15rem;
	animation: wcqcm-notice-in 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.wcqcm-modal .woocommerce-NoticeGroup ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wcqcm-modal .woocommerce-error,
.wcqcm-modal .woocommerce-message,
.wcqcm-modal .woocommerce-info,
.wcqcm-modal .wcqcm-anet-errors {
	position: relative;
	margin: 0 0 0.65rem;
	padding: 0.9rem 1rem 0.9rem 2.85rem;
	border-radius: calc(var(--wcqcm-radius, 0.5rem) + 0.1rem);
	font-family: var(--cc-font-family);
	font-size: var(--font-size-medium, 1rem);
	font-weight: 500;
	line-height: 1.5;
	color: var(--cc-navy, #1a2238);
}

.wcqcm-modal .woocommerce-NoticeGroup > :last-child,
.wcqcm-modal .woocommerce-error:last-child,
.wcqcm-modal .woocommerce-message:last-child,
.wcqcm-modal .woocommerce-info:last-child,
.wcqcm-modal .wcqcm-anet-errors:last-child {
	margin-bottom: 0;
}

.wcqcm-modal .woocommerce-error::before,
.wcqcm-modal .woocommerce-message::before,
.wcqcm-modal .woocommerce-info::before,
.wcqcm-modal .wcqcm-anet-errors::before {
	content: '';
	position: absolute;
	top: 0.95rem;
	left: 1rem;
	width: 1.25rem;
	height: 1.25rem;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.wcqcm-modal .woocommerce-error,
.wcqcm-modal .wcqcm-anet-errors {
	background: #fff5f7;
	border: 1px solid #fecdd3;
	color: #9f1239;
	box-shadow: 0 4px 14px rgba(190, 18, 60, 0.08);
}

.wcqcm-modal .woocommerce-error::before,
.wcqcm-modal .wcqcm-anet-errors::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9' stroke='%23be123c' stroke-width='1.5'/%3E%3Cpath d='M10 6v5' stroke='%23be123c' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='10' cy='14' r='0.75' fill='%23be123c'/%3E%3C/svg%3E");
}

.wcqcm-modal .woocommerce-message {
	background: #f0faf3;
	border: 1px solid #b7e4c7;
	color: #166534;
	box-shadow: 0 4px 14px rgba(22, 101, 52, 0.08);
}

.wcqcm-modal .woocommerce-message::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9' stroke='%23166534' stroke-width='1.5'/%3E%3Cpath d='M6.5 10.2 8.8 12.5 13.5 7.8' stroke='%23166534' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.wcqcm-modal .woocommerce-info {
	background: #f6f1fa;
	border: 1px solid #d8c9ef;
	color: var(--cc-purple, #43248d);
	box-shadow: 0 4px 14px rgba(67, 36, 141, 0.08);
}

.wcqcm-modal .woocommerce-info::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9' stroke='%2343248d' stroke-width='1.5'/%3E%3Cpath d='M10 9v5' stroke='%2343248d' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='10' cy='6.25' r='0.75' fill='%2343248d'/%3E%3C/svg%3E");
}

.wcqcm-modal .woocommerce-error li,
.wcqcm-modal .woocommerce-message li,
.wcqcm-modal .woocommerce-info li {
	margin: 0;
	padding: 0;
}

.wcqcm-modal .woocommerce-error li + li,
.wcqcm-modal .woocommerce-message li + li,
.wcqcm-modal .woocommerce-info li + li {
	margin-top: 0.45rem;
	padding-top: 0.45rem;
	border-top: 1px solid rgba(190, 18, 60, 0.12);
}

.wcqcm-modal .woocommerce-message li + li {
	border-top-color: rgba(22, 101, 52, 0.12);
}

.wcqcm-modal .woocommerce-info li + li {
	border-top-color: rgba(67, 36, 141, 0.12);
}

.wcqcm-modal .woocommerce-error .button,
.wcqcm-modal .woocommerce-message .button,
.wcqcm-modal .woocommerce-info .button {
	float: none;
	display: inline-flex;
	margin-top: 0.65rem;
	padding: 0.45rem 0.85rem;
	border: 1px solid currentColor;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font-family: var(--cc-font-baloo-bold, var(--cc-font-family));
	font-size: var(--font-size-small, 0.875rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.wcqcm-modal .woocommerce-error .button:hover,
.wcqcm-modal .woocommerce-message .button:hover,
.wcqcm-modal .woocommerce-info .button:hover {
	background: currentColor;
	color: #fff;
}

.wcqcm-modal .checkout-inline-error-message {
	display: block;
	margin-top: 0.35rem;
	font-family: var(--cc-font-family);
	font-size: var(--font-size-small, 0.875rem);
	font-weight: 600;
	line-height: 1.4;
	color: #be123c;
}

.wcqcm-modal .form-row.woocommerce-invalid label {
	color: #be123c;
}

.wcqcm-modal .form-row.woocommerce-invalid input.input-text,
.wcqcm-modal .form-row.woocommerce-invalid textarea,
.wcqcm-modal .form-row.woocommerce-invalid select,
.wcqcm-modal .form-row.woocommerce-invalid .wcqcm-field-input {
	border-color: #f87171;
	background: #fffafb;
	box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}

.wcqcm-modal .form-row.woocommerce-invalid .select2-container--default .select2-selection--single {
	border-color: #f87171;
	box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}

/* Thank-you */
.wcqcm-modal__dialog--canvasclub .wcqcm-thankyou__title {
	font-family: var(--cc-font-baloo-bold, var(--cc-font-family));
	font-size: clamp(1.25rem, 2.5vw, var(--font-size-xxx-large, 1.75rem));
	color: var(--cc-navy, #1a2238);
}

.wcqcm-modal__dialog--canvasclub .wcqcm-thankyou__email-notice {
	font-family: var(--cc-font-family);
	font-size: var(--font-size-large, 16px);
}

.wcqcm-modal__dialog--canvasclub .wcqcm-thankyou__icon {
	color: var(--cc-green, #5cb85c);
}

.wcqcm-modal__dialog--canvasclub .wcqcm-thankyou__home-btn {
	border: 2px solid var(--cc-purple, #43248d);
	border-radius: 100px;
	background: var(--cc-purple, #43248d);
	font-family: var(--cc-font-baloo-bold, var(--cc-font-family));
	font-size: var(--font-size-medium);
    font-weight: 700;
	letter-spacing: 0.08em;
	transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
	margin-top: 20px;
}

.wcqcm-modal__dialog--canvasclub .wcqcm-thankyou__home-btn:hover,
.wcqcm-modal__dialog--canvasclub .wcqcm-thankyou__home-btn:focus {
	background: var(--cc-purple-hover, #642f80);
	border-color: var(--cc-purple-hover, #642f80);
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(67, 36, 141, 0.35);
	opacity: 1;
}

.wcqcm-modal__dialog--canvasclub .wcqcm-thankyou-summary__total th,
.wcqcm-modal__dialog--canvasclub .wcqcm-thankyou-summary__total td {
	color: var(--cc-purple, #43248d);
}

@media (max-width: 782px) {
	.wcqcm-modal__dialog--canvasclub .wcqcm-modal__header {
		padding: 0.9rem 3rem 0.75rem 1rem;
	}

	.wcqcm-modal__dialog--canvasclub .wcqcm-modal__title.section-heading {
		font-size: clamp(1.15rem, 5vw, 1.45rem);
	}

	.wcqcm-modal__dialog--canvasclub .wcqcm-checkout__heading.section-heading {
		font-size: clamp(1rem, 4.5vw, 1.25rem);
	}

	.wcqcm-modal .wcqcm-modal__review {
		padding: 1rem 0.85rem 1.15rem;
	}

	.wcqcm-modal .wcqcm-modal__review .woocommerce-checkout-review-order-table tbody tr.cart_item {
		padding: 0.8rem 0.85rem;
	}

	.wcqcm-modal .wcqcm-modal__review #payment .place-order {
		position: static;
		background: transparent;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wcqcm-modal__dialog--canvasclub .form-row input,
	.wcqcm-modal__dialog--canvasclub .form-row select,
	.wcqcm-modal__dialog--canvasclub .wcqcm-modal__close,
	.wcqcm-modal__dialog--canvasclub .wcqcm-coupon__apply,
	.wcqcm-modal__dialog--canvasclub .wcqcm-thankyou__home-btn {
		transition: none;
	}

	.wcqcm-modal .woocommerce-NoticeGroup {
		animation: none;
	}
}
