.equimo-email-validation {
	display: block;
	margin-top: 5px;
	font-size: 12px;
	padding: 5px 8px;
	border-radius: 3px;
}

.equimo-email-validation.loading {
	color: #666;
	background: #f0f0f0;
}

.equimo-email-validation.success {
	color: #155724;
	background-color: #d4edda;
	border: 1px solid #c3e6cb;
}

.equimo-email-validation.info {
	color: dodgerblue;
	background-color: #d4eafd;
	border: 1px solid #80bdfb;
}

.equimo-email-validation.error {
	color: #721c24;
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
}
div.link {
	box-shadow: .1em .1em .5em rgba(0, 0, 0, .2);
	cursor: pointer;

	&:hover {
		box-shadow: .1em .1em .5em rgba(0, 0, 0, .3);
	}
}

/**
Visual grouping within a single grid of products without changing the HTML structure
 */
.archive ul.wp-block-woocommerce-product-template {

	padding-top: 3em;

	& li.wc-block-product {

		--category-frame-color: #2eb8f1;

		&:nth-last-child(1 of .product_cat-bundles) {
			margin-bottom: 5em;

			& + li.wc-block-product {
				grid-column-start: 1;
				position: relative;

				&:before {
					content: '';
					position: absolute;
					top: -.8em;
					left: -.8em;
					width: 50vw;
					height: 10em;
					background: linear-gradient(to bottom, transparent, white), linear-gradient(to right, var(--category-frame-color), transparent);
					border-radius: 1.5em 0 0 0;
				}
			}
		}

		&:nth-child(1 of .product_cat-subscriptions), &:first-child {
			grid-column-start: 1;
			position: relative;

			&:before {
				content: '';
				position: absolute;
				top: -.8em;
				left: -.8em;
				width: 50vw;
				height: 10em;
				background: linear-gradient(to bottom, transparent, white), linear-gradient(to right, var(--category-frame-color), transparent);
				border-radius: 1.5em 0 0 0;
			}
		}

		&:has(+ li.virtual) {
			margin-bottom: 5em;
		}

		& .wp-block-woocommerce-product-image {
			border-radius: 1em 1em 0 0;
			box-shadow: 0 0 .5em rgba(0, 0, 0, .3);
			margin: 1.5em;

			@media (max-width: 768px) {
				& {
					margin: 0 0 1em 0;
				}

			}

			& .wc-block-components-product-sale-badge {
				top: 1em;
				right: 1em;
			}
		}

		&.product_cat-bundles-with-subscription .wp-block-woocommerce-product-image {
			position: relative;

			&:after {
				content: '';
				position: absolute;
				bottom: 0;
				left: 50%;
				transform: translate(-50%, -50%);
				width: 30%;
				height: 30%;
				background: url("./images/crown-premium.svg") no-repeat center center/contain;
				pointer-events: none;
			}
		}

		&.product_cat-bundles-with-subscription.product_cat-stable-team .wp-block-woocommerce-product-image:after {
			background: url("./images/crown-professional.svg") no-repeat center center/contain;
		}
	}
}
.comparison-table {
	margin: 2em 0;
	border-collapse: collapse;
	font-size: 80%;
	border: 1px solid #ccc;

	& th,
	& td {
		text-align: left;
		padding: .3em .6em;
	}

	& thead, & .section-header th {
		background-color: #cdcdcd;
	}

	& td {
		text-align: center;
	}

	.check-mark {
		color: #10b981;
		font-weight: bold;
	}

	.cross-mark {
		color: #ef4444;
		font-weight: bold;
	}
}
