/**
 * Supreme Hero — CSS
 * -------------------------------------------------------------
 * Reproduit à l'identique la section "Hero" Elementor de la page
 * Contact (fond dégradé/overlay + titre Patrick Hand), pour toute
 * page utilisant template-parts/supreme-hero.php — notamment
 * woocommerce/archive-product.php (page Boutique / Cours).
 *
 * Emplacement : wp-content/themes/bosa-educare/assets/css/supreme-hero.css
 * (créer le dossier assets/css/ s'il n'existe pas encore)
 * -------------------------------------------------------------
 *
 * Référence Elementor (page Contact, template "Hero", id 531) :
 *   - container: min-height 400px (200px mobile), contenu centré verticalement
 *   - background_color: #5035F20D
 *   - background_overlay_image: bg-gradient-image-1.jpg, cover, center, opacité 0.4
 *   - heading: Patrick Hand, 60px, weight 700, couleur = globale "primary"
 */

.supreme-shop-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 400px;
	padding: 0 15px;
	overflow: hidden;

	/* fond couleur, identique au container Elementor */
	background-color: #5035F20D;
}

/* image overlay en pseudo-élément : reproduit "background_overlay_*" d'Elementor
   (image séparée de la couleur de fond, avec sa propre opacité).
   L'URL de l'image est injectée dynamiquement via une variable CSS
   (--supreme-hero-overlay) définie en inline style par supreme-hero.php,
   car l'image est un média de la médiathèque WordPress (uploads/), pas
   un fichier statique du thème. */
.supreme-shop-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var( --supreme-hero-overlay );
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	opacity: 0.4;
	pointer-events: none;
}

.supreme-shop-hero-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
}

.supreme-shop-hero-title {
	margin: 0;
	font-family: "Patrick Hand", cursive;
	font-size: 60px;
	font-weight: 700;
	line-height: 1.2;

	/* Couleur globale Elementor "primary" : ajuste cette valeur si ta
	   couleur globale "Primary" (Site Settings > Global Colors) diffère. */
	color: var( --e-global-color-primary, #EB5A3E );
}

.supreme-shop-hero .breadcrumb-wrap,
.supreme-shop-hero .breadcrumbs {
	position: relative;
	z-index: 1;
	margin-top: 12px;
	text-align: center;
}

/* Mobile : même comportement que le container Elementor (min-height 200px mobile) */
@media ( max-width: 767px ) {
	.supreme-shop-hero {
		min-height: 200px;
	}

	.supreme-shop-hero-title {
		font-size: 34px;
	}
}
