/**
 * Hero de imagem — desktop + mobile.
 * Extraído do custom-style.css do tema. As classes .products-hero
 * já vêm do site original (mantidas tal e qual, já tinham a técnica
 * certa de largura 100vw).
 */

/* ==========================================================
   DESKTOP
========================================================== */

.products-hero {
	position: relative;
	width: 100vw;
	height: 50vh;
	overflow: hidden;
	margin: 0;
	padding: 0;
	margin-left: calc(-50vw + 50%);
	box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.58);
}

.products-hero-picture {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.products-hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
}

.products-hero-content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: white;
	text-align: center;
	background: rgba(0, 0, 0, 0.35);
	padding: 0 20px;
}

.products-hero h1 {
	color: #ffffff;
	font-size: 5em;
	max-width: 1000px;
	line-height: 1.1;
	margin: 0 0 16px;
}

.products-hero p {
	color: #ffffff;
	max-width: 650px;
	line-height: 1.5;
	margin: 0;
}

/* ==========================================================
   MOBILE (até 768px)
========================================================== */
@media (max-width: 768px) {

	.products-hero {
		height: 42vh;
		box-shadow: 0 6px 8px rgba(0, 0, 0, 0.45);
	}

	.products-hero-content {
		padding: 0 clamp(20px, 6vw, 44px);
	}

	.products-hero h1 {
		max-width: clamp(300px, 88vw, 680px);
		font-size: clamp(2.4rem, 10vw, 4rem);
		line-height: 1.1;
	}

	.products-hero p {
		max-width: clamp(280px, 82vw, 560px);
		font-size: clamp(1rem, 3.5vw, 1.25rem);
		line-height: 1.5;
	}
}