/* ==========================================================================
   Product Teaser Block (arminum/product-teaser)
   ========================================================================== */

/* Grid wrapper */
.arminum-product-teaser {
	display: grid;
	gap: 30px;
	margin-block: 2em;
}

.arminum-product-teaser--cols-1 {
	grid-template-columns: minmax(0, 420px);
}

.arminum-product-teaser--cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.arminum-product-teaser--cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 767px) {
	.arminum-product-teaser--cols-2,
	.arminum-product-teaser--cols-3 {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Shield the Elementor card from blog content styles */
.arminum-product-teaser__item > .elementor,
.arminum-product-teaser__item > .elementor > .e-con {
	height: 100%;
}

.arminum-product-teaser a {
	text-decoration: none;
	box-shadow: none;
}

.arminum-product-teaser img {
	margin: 0;
	max-width: 100%;
}

.arminum-product-teaser h2,
.arminum-product-teaser h3 {
	margin: 0;
}

/* --------------------------------------------------------------------------
   Fallback card / editor preview (mirrors the shop loop item)
   -------------------------------------------------------------------------- */
.arminum-product-card {
	display: flex;
	flex-direction: column;
	gap: 32px;
	height: 100%;
	padding: 16px;
	background: #fff;
	border-radius: 14px;
	color: #130101;
	box-sizing: border-box;
}

.arminum-product-card__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 7px;
}

.arminum-product-card__title {
	font-size: 32px;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
}

.arminum-product-card__title a {
	color: inherit;
}

.arminum-product-card__price {
	color: #cc1726;
	font-size: 28.8px;
	line-height: 1.2;
}

.arminum-product-card__price del {
	color: #130101;
	opacity: .5;
	font-size: .7em;
}

.arminum-product-card__button {
	align-self: flex-end;
	margin-top: auto;
	padding: 11px 19px 10px;
	border: 1px solid #130101;
	border-radius: 999px;
	color: #000;
	font-size: 16px;
	line-height: 1;
	text-transform: uppercase;
	transition: background-color .2s, color .2s;
}

.arminum-product-card__button:hover,
.arminum-product-card__button:focus {
	background: #130101;
	color: #fff;
}

/* No navigation from inside the block editor preview */
.editor-styles-wrapper .arminum-product-teaser a {
	pointer-events: none;
}
