.vetex-cac-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.vetex-cac-modal.is-active {
	display: flex;
}

.vetex-cac-modal[hidden] {
	display: none !important;
}

.vetex-cac-trigger {
	cursor: pointer;
}

.vetex-cac-loop-wrap {
	display: block;
	width: 100%;
}

.vetex-cac-loop-wrap .vetex-cac-loop-button,
.vetex-cac-loop-wrap .vetex-cac-loop-button.button,
.products .vetex-cac-loop-wrap .vetex-cac-loop-button,
.products .vetex-cac-loop-wrap .vetex-cac-loop-button.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
}

.vetex-cac-loop-wrap .vetex-cac-loop-button--disabled,
.vetex-cac-loop-wrap .vetex-cac-loop-button--disabled.button,
.products .vetex-cac-loop-wrap .vetex-cac-loop-button--disabled,
.products .vetex-cac-loop-wrap .vetex-cac-loop-button--disabled.button,
.vetex-cac-loop-wrap .vetex-cac-loop-button--disabled:hover,
.vetex-cac-loop-wrap .vetex-cac-loop-button--disabled.button:hover,
.products .vetex-cac-loop-wrap .vetex-cac-loop-button--disabled:hover,
.products .vetex-cac-loop-wrap .vetex-cac-loop-button--disabled.button:hover,
.vetex-cac-loop-wrap .vetex-cac-loop-button--disabled:focus,
.vetex-cac-loop-wrap .vetex-cac-loop-button--disabled.button:focus,
.products .vetex-cac-loop-wrap .vetex-cac-loop-button--disabled:focus,
.products .vetex-cac-loop-wrap .vetex-cac-loop-button--disabled.button:focus {
	border-color: #d1d5db !important;
	background: #e5e7eb !important;
	background-color: #e5e7eb !important;
	background-image: none !important;
	color: #6b7280 !important;
	box-shadow: none !important;
	transform: none !important;
	opacity: 1 !important;
	padding: 5px 45px;
}

.vetex-cac-loop-wrap .vetex-cac-loop-button::before,
.vetex-cac-loop-wrap .vetex-cac-loop-button::after,
.vetex-cac-loop-wrap .vetex-cac-loop-button.button::before,
.vetex-cac-loop-wrap .vetex-cac-loop-button.button::after,
.vetex-cac-loop-wrap .vetex-cac-loop-button .wd-action-icon,
.vetex-cac-loop-wrap .vetex-cac-loop-button .wd-add-btn-replace,
.vetex-cac-loop-wrap .vetex-cac-loop-button .wd-tooltip-label,
.products .vetex-cac-loop-wrap .vetex-cac-loop-button::before,
.products .vetex-cac-loop-wrap .vetex-cac-loop-button::after,
.products .vetex-cac-loop-wrap .vetex-cac-loop-button.button::before,
.products .vetex-cac-loop-wrap .vetex-cac-loop-button.button::after,
.products .vetex-cac-loop-wrap .vetex-cac-loop-button .wd-action-icon,
.products .vetex-cac-loop-wrap .vetex-cac-loop-button .wd-add-btn-replace,
.products .vetex-cac-loop-wrap .vetex-cac-loop-button .wd-tooltip-label {
	display: none !important;
	content: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
}

.vetex-cac-modal-open {
	overflow: hidden;
}

.vetex-cac-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 24, 39, 0.62);
}

.vetex-cac-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 560px;
	padding: 28px;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
}

.vetex-cac-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	border: 0;
	background: transparent;
	color: #475569;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.vetex-cac-modal__close:hover,
.vetex-cac-modal__close:focus {
	background-color: transparent;
}

.vetex-cac-modal__title {
	margin: 0 40px 16px 0;
	color: #0f172a;
	font-size: 24px;
	line-height: 1.2;
	text-transform: uppercase;
}

.vetex-cac-modal__body {
	margin-top: 24px;
	margin-bottom: 24px;
	color: #334155;
}

.vetex-cac-modal__body p:last-child {
	margin-bottom: 0;
}

.vetex-cac-modal__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
}

.vetex-cac-modal__actions .vetid-login-button {
	width: 250px;
    max-width: 100%;
}

.vetex-cac-login-button,
.vetex-cac-modal__secondary {
	width: 100%;
	justify-content: center;
}

.vetex-cac-modal__secondary {
	border: 1px solid #cbd5e1;
	background: #ffffff;
	color: #0f172a;
}

.vetex-cac-modal__secondary:hover,
.vetex-cac-modal__secondary:focus {
	background: #f8fafc;
	color: #0f172a;
}

body.vetex-cac-single-product-restricted .single_variation_wrap .quantity,
body.vetex-cac-single-product-restricted .single_variation_wrap .single_add_to_cart_button,
body.vetex-cac-single-product-restricted .single_variation_wrap .woocommerce-variation-add-to-cart,
body.vetex-cac-single-product-restricted form.cart .quantity,
body.vetex-cac-single-product-restricted form.cart .single_add_to_cart_button {
	display: none !important;
}

@media (max-width: 767px) {
	.vetex-cac-modal {
		padding: 16px;
	}

	.vetex-cac-modal__dialog {
		padding: 22px;
	}

	.vetex-cac-modal__title {
		font-size: 22px;
	}
}
