/**
 * MARKET CATALOG — REFERENCE REFINEMENT.
 * Typography and semantic colors remain inherited from Elementor.
 */
.vm-market-catalog-preview,
.vm-market-catalog-preview__inner,
.vm-market-catalog-toolbar {
	max-width: 100%;
}

.vm-market-product-card__image {
	position: relative;
}

.vm-market-product-card__image > .vm-market-wishlist {
	top: 9px;
	right: 9px;
	color: color-mix(in srgb, var(--vm-market-surface-white, #fff) 76%, transparent);
}

@media (max-width: 767px) {
	.vm-market-catalog-toolbar {
		width: 100%;
		min-width: 0;
		grid-template-columns: 84px minmax(0, 1fr) 56px;
	}

	.vm-market-catalog-toolbar > * {
		min-width: 0;
	}

	.vm-market-sort-form {
		overflow: hidden;
	}

	.vm-market-sort-form select {
		min-width: 0;
		max-width: 100%;
	}

	.vm-market-view-switch {
		display: flex;
		width: 56px;
		min-width: 56px;
		overflow: hidden;
	}

	.vm-market-view-switch button {
		width: auto !important;
		min-width: 0 !important;
		height: 22px;
		flex: 1 1 0;
		padding: 0 !important;
	}

	.vm-market-view-switch svg {
		width: 12px !important;
		height: 12px !important;
	}

	.vm-market-product-card:not(.vm-market-product-card--wide)
	.vm-market-product-card__body {
		display: flex;
		flex-direction: column;
	}

	.vm-market-product-card__bottom {
		width: 100%;
		margin-top: auto;
	}
}
