/* Cards horizontais de produto da home: imagem a esquerda, conteudo a
 * direita e a faixa de preco/CTA cruzando a base, como no mockup. */
.srt-product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.srt-product-card {
	position: relative;
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	grid-template-rows: 1fr auto;
	min-height: 196px;
	border: 1px solid rgba(32, 176, 248, 0.18);
	border-radius: var(--srt-radius-lg);
	background: linear-gradient(180deg, rgba(3, 16, 25, 0.96), rgba(1, 9, 15, 0.98));
	box-shadow: var(--srt-shadow-soft);
	overflow: hidden;
	transition: transform var(--srt-motion), border-color var(--srt-motion), box-shadow var(--srt-motion);
}

.srt-product-card:hover {
	transform: translateY(-4px);
	border-color: rgba(32, 176, 248, 0.42);
	box-shadow: var(--srt-shadow-cyan);
}

.srt-product-card__media {
	grid-row: 1 / span 2;
	grid-column: 1;
	position: relative;
	overflow: hidden;
}

/* O <picture> e inline por padrao e nao tem altura propria: sem isto, o
   height: 100% da imagem nao tem contra o que medir e o card estica. */
.srt-product-card__media picture {
	display: block;
	width: 100%;
	height: 100%;
}

.srt-product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.srt-product-card__body {
	grid-row: 1;
	grid-column: 2;
	padding: 16px 18px 6px;
}

.srt-product-card__badge {
	display: inline-flex;
	align-items: center;
	margin-bottom: 10px;
	border-radius: 999px;
	color: #ffffff;
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	padding: 5px 11px;
	text-transform: uppercase;
}

.srt-product-card__badge--orange {
	background: linear-gradient(90deg, #f6a11c, #e07600);
	color: #1c1000;
}

.srt-product-card__badge--green {
	background: linear-gradient(90deg, #17a34a, #0b7a33);
}

.srt-product-card__badge--purple {
	background: linear-gradient(90deg, #7c3aed, #5b21b6);
}

.srt-product-card__badge--teal {
	background: linear-gradient(90deg, #14b8a6, #0d9488);
	color: #04201c;
}

.srt-product-card__badge--gold {
	background: linear-gradient(90deg, #ffc967, #f0a52c);
	color: #241701;
}

.srt-product-card__body h3 {
	margin: 0 0 2px;
	font-size: 1.28rem;
	font-weight: 750;
}

.srt-product-card__subtitle {
	display: block;
	margin-bottom: 9px;
	color: var(--srt-primary);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.srt-product-card__body p {
	margin: 0;
	color: var(--srt-text-muted);
	font-size: 0.82rem;
	line-height: 1.5;
}

.srt-product-card__footer {
	grid-row: 2;
	grid-column: 2;
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 18px 16px;
}

.srt-product-card__price {
	color: var(--srt-cyan);
	font-size: 1.32rem;
	font-weight: 800;
	white-space: nowrap;
}

.srt-product-card__price .amount,
.srt-product-card__price bdi {
	color: inherit;
}

.srt-product-card__price del {
	display: none;
}

.srt-product-card__cta {
	flex: 0 0 auto;
	gap: 8px;
	min-height: 42px;
	padding: 10px 14px;
	font-size: 0.87rem;
	white-space: nowrap;
}

.srt-product-card__cta .srt-btn__arrow svg {
	width: 15px;
	height: 15px;
}

.srt-products-empty {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	border: 1px solid rgba(32, 176, 248, 0.18);
	border-radius: var(--srt-radius-md);
	background: rgba(3, 16, 25, 0.9);
	padding: 26px;
}

.srt-products-empty p {
	margin-bottom: 0;
}

@media (max-width: 1100px) {
	.srt-product-grid {
		grid-template-columns: 1fr;
	}

	.srt-product-card {
		grid-template-columns: 180px minmax(0, 1fr);
	}
}

@media (max-width: 560px) {
	.srt-product-card {
		grid-template-columns: 1fr;
		grid-template-rows: 170px auto auto;
	}

	.srt-product-card__media {
		grid-row: 1;
		grid-column: 1;
	}

	/* A arte larga ja vem enquadrada no rosto; ancorar no topo cortaria de
	   novo. */
	.srt-product-card__media img {
		object-position: center;
	}

	.srt-product-card__body {
		grid-row: 2;
		grid-column: 1;
	}

	.srt-product-card__footer {
		grid-row: 3;
		grid-column: 1;
		align-items: stretch;
		flex-direction: column;
	}

	.srt-products-empty {
		align-items: stretch;
		flex-direction: column;
	}
}
