/**
 * Alituts Elementor Widgets – shared frontend styles.
 */

.aeew-categories {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.aeew-categories--empty {
	padding: 16px;
	border: 1px dashed #c3c4c7;
	border-radius: 4px;
	color: #646970;
	font-size: 14px;
	line-height: 1.5;
}

.aeew-category-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	line-height: 1.2;
	background-color: #f3f3f3;
	color: #111111;
	transform: scale(1);
	transform-origin: center center;
	transition-property: transform, color, background, box-shadow, border-color;
	transition-timing-function: ease;
	will-change: transform;
}

.aeew-category-item__label {
	display: inline-flex;
	align-items: center;
}

.aeew-category-item__count {
	opacity: 0.7;
	font-weight: 400;
}

.aeew-category-item__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	line-height: 1;
}

.aeew-category-item__icon svg {
	display: block;
}

.aeew-categories[data-hover-effect="zoom_in"] .aeew-category-item:hover,
.aeew-categories[data-hover-effect="zoom_out"] .aeew-category-item:hover {
	transform: scale(var(--aeew-hover-scale, 1.05));
}

/* Promo Card */
.aeew-promo-card {
	position: relative;
	display: flex;
	overflow: hidden;
	width: 100%;
	min-height: 280px;
	isolation: isolate;
}

.aeew-promo-card__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.aeew-promo-card__bg {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 280px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	transform: scale(1);
	transform-origin: center center;
	transition-property: transform;
	transition-timing-function: ease;
	will-change: transform;
}

.aeew-promo-card__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-color: rgba(0, 0, 0, 0.45);
	transition: background-color 0.3s ease;
	pointer-events: none;
}

.aeew-promo-card__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: flex-end;
	width: 100%;
	min-height: 280px;
	box-sizing: border-box;
}

.aeew-promo-card__inner {
	width: 100%;
}

.aeew-promo-card__title {
	margin: 0;
	color: #ffffff;
	font-weight: 700;
	line-height: 1.2;
}

.aeew-promo-card__description {
	margin: 0;
	color: #ffffff;
	line-height: 1.5;
}

.aeew-promo-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	background-color: #ffffff;
	color: #111111;
	font-weight: 600;
	line-height: 1.2;
	transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.aeew-promo-card__button--static {
	cursor: default;
}

.aeew-promo-card[data-hover-effect="zoom_in"]:hover .aeew-promo-card__bg,
.aeew-promo-card[data-hover-effect="zoom_out"]:hover .aeew-promo-card__bg {
	transform: scale(var(--aeew-bg-hover-scale, 1.08));
}

.elementor-widget-aeew-promo-card .elementor-widget-container,
.elementor-widget-aeew-product-categories .elementor-widget-container {
	width: 100%;
}
