/*
 * Meya — pages de sélection Tendances / Meilleures ventes
 * (custom-listing-pages.php). Composants et jetons de l'accueil
 * (meya-home.css) ; cartes produit = celles de la Boutique. Préfixe .ml-.
 */

/* ---- Bannière : carte sable arrondie, texte à gauche, photo à droite ---- */
.ml-hero { max-width: 1280px; margin: 0 auto; padding: clamp(16px, 2.4vw, 32px) clamp(16px, 3vw, 40px) 0; }
.ml-hero__card { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(380px, 38vw, 520px); border-radius: var(--mh-r); overflow: hidden; background: var(--mh-band); }
.ml-hero__card picture { order: 2; position: relative; display: block; min-height: 100%; background: #ece4d6; }
.ml-hero__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.ml-hero__text { align-self: center; padding: clamp(32px, 5vw, 72px); max-width: 560px; }
.ml-hero__text .mh-eyebrow { margin: 0 0 12px; font-size: 12px; letter-spacing: .22em; color: #6b665c; }
.ml-hero__title { margin: 0 0 16px; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; font-size: clamp(44px, 5.4vw, 76px); line-height: 1; letter-spacing: -.015em; color: #121110; }
.ml-hero__title em { font-style: italic; }
.ml-hero__sub { margin: 0; font-size: 15px; line-height: 1.75; color: #4a4640; }
@media (max-width: 767px) {
	.ml-hero__card { grid-template-columns: 1fr; min-height: 0; }
	.ml-hero__card picture { order: 0; aspect-ratio: 4 / 3; }
	.ml-hero__text { padding: 28px 20px 32px; }
}

/* ---- Grille : en-tête de l'accueil + compteur, cartes de la Boutique ---- */
.ml-grid__text { max-width: 56ch; margin: 14px 0 0; font-size: 15px; line-height: 1.75; color: #4a4640; }
.ml-grid .uku-pcard__media { aspect-ratio: 3 / 4; }

/* ---- Conclusion : bande sable, texte + trois photos ---- */
.ml-outro { position: relative; display: grid; grid-template-columns: 4fr 7fr; align-items: center; gap: clamp(32px, 5vw, 80px); background: var(--mh-band) !important; box-shadow: 0 0 0 100vmax var(--mh-band); clip-path: inset(0 -100vmax); margin-top: var(--mh-gap) !important; }
.ml-outro__text .mh-eyebrow { margin: 0 0 12px; font-size: 12px; letter-spacing: .22em; color: #6b665c; }
.ml-outro__text .mh-title { margin-bottom: 18px; font-size: clamp(34px, 3.6vw, 48px); font-weight: 400; line-height: 1.1; }
.ml-outro__body { margin: 0 0 28px; font-size: 15px; line-height: 1.75; color: #4a4640; }
.ml-outro__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.ml-outro__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ml-outro__ph { aspect-ratio: 3 / 4; border-radius: var(--mh-r); overflow: hidden; background: #ece4d6; }
.ml-outro__ph:nth-child(2) { border-radius: 999px 999px var(--mh-r) var(--mh-r); }
.ml-outro__ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
@media (max-width: 899px) {
	.ml-outro { grid-template-columns: 1fr; }
}
@media (max-width: 559px) {
	.ml-outro__photos { gap: 8px; }
	.ml-outro__ctas .mh-btn { flex: 1 1 100%; text-align: center; }
}
