/*
 * Home (página 2). Estructura y textos en Elementor (clases gm-home*).
 * Botones .gm-btn y .gm-eyebrow base en footer.css / about.css; aquí lo propio del home.
 */
.gm-home {
	--gm-ink: #0a0a0a;
	--gm-muted: #666;
	--gm-line: #e6e6e6;
}
/* Reset del espaciado de Elementor; las reglas de abajo (misma especificidad, después) lo ajustan. */
.gm-home .elementor-widget-wrap > .elementor-widget { margin-bottom: 0; }
.gm-home p:last-child { margin-bottom: 0; }
.gm-home .gm-eyebrow {
	font-size: 12.5px;
	letter-spacing: .1em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--gm-ink);
}
.gm-home__title .elementor-heading-title {
	font-size: 40px;
	line-height: 1.1;
	letter-spacing: -.015em;
	font-weight: 500;
	margin: 14px 0 0;
	max-width: 18ch;
}
a.gm-link { color: var(--gm-ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(0, 0, 0, .3); padding-bottom: 2px; transition: border-color .2s; }
a.gm-link:hover { border-color: var(--gm-ink); }
a.gm-link--light { color: #fff; border-color: rgba(255, 255, 255, .35); }
a.gm-link--light:hover { border-color: #fff; }

/* Elementor solo envuelve columnas a partir del breakpoint tablet (767); hace falta también en 768–991 */
@media (max-width: 991px) {
	.gm-home > .elementor-container { flex-wrap: wrap; }
}

/* Cabeceras de sección */
.gm-home__header { padding: 96px 0 32px; }
.gm-home__header-link > .elementor-widget-wrap.elementor-element-populated { padding-bottom: 14px; }
.gm-home__link { text-align: right; font-size: 15px; }

/* Hero */
.gm-home__hero { padding: 40px 0 24px; }
.gm-home__h1 .elementor-heading-title {
	font-size: 68px;
	line-height: 1;
	letter-spacing: -.028em;
	font-weight: 500;
	margin: 18px 0 24px;
	max-width: 12ch;
}
.gm-home .elementor-widget.gm-home__lead { font-size: 19px; line-height: 1.6; max-width: 46ch; margin-bottom: 32px; }
.gm-home .elementor-widget.gm-home__trust { margin-top: 36px; }
/* Fila de confianza: texto con ícono separado por filetes, sin parecer botones */
.gm-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 0; }
.gm-trust li {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 22px 0 0;
	padding: 0 22px 0 0;
	border-right: 1px solid var(--gm-line);
	font-size: 14px;
	line-height: 1.2;
	color: #444;
	white-space: nowrap;
}
.gm-trust li:last-child { margin-right: 0; padding-right: 0; border-right: 0; }
.gm-trust li svg { flex: 0 0 auto; color: var(--gm-ink); }
.gm-home__hero-img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* Categorías: la rejilla del tema, con tipografía propia */
.gm-home__cats { padding: 0 0 24px; }
.gm-home__cats .category-info { padding-top: 14px; }
.gm-home__cats .category-name { font-size: 18px; line-height: 1.3; font-weight: 500; margin: 0 0 2px; }
.gm-home__cats .category-count { color: var(--gm-muted); font-size: 14px; }

/* Productos (tabs del tema) */
.gm-home__products,
.gm-home__new { padding: 0 0 24px; }
/* Con una sola pestaña, la cabecera de la sección ya hace de título */
.gm-home__tabs--single .minimog-tabs__header-wrap { display: none; }

/* Cashback */
.gm-home__promo { padding: 88px 0; color: rgba(255, 255, 255, .7); }
.gm-home__promo .gm-eyebrow { color: rgba(255, 255, 255, .5); }
.gm-home__promo-title .elementor-heading-title {
	color: #fff;
	font-size: 44px;
	line-height: 1.08;
	letter-spacing: -.02em;
	font-weight: 500;
	margin: 14px 0 0;
	max-width: 14ch;
}
.gm-home__promo-side > .elementor-widget-wrap.elementor-element-populated { padding-left: 48px; }
.gm-home .elementor-widget.gm-home__promo-text { font-size: 17px; line-height: 1.65; max-width: 44ch; margin-bottom: 26px; }
.gm-home__promo-text p { color: inherit; }
.gm-home .elementor-widget.gm-home__promo-login { margin-top: 16px; font-size: 14px; }

/* Quiénes somos */
.gm-home__about { padding: 96px 0; }
.gm-home__about-img img { width: 100%; height: auto; }
.gm-home .gm-home__about-copy > .elementor-widget-wrap.elementor-element-populated { padding-left: 56px; }
.gm-home .elementor-widget.gm-home__about-text { font-size: 17px; line-height: 1.7; max-width: 50ch; margin: 20px 0 28px; }

/* FAQ */
.gm-home__faq { padding: 96px 0 112px; }
.gm-home .elementor-widget.gm-home__faq-text { font-size: 16px; line-height: 1.65; max-width: 36ch; margin-top: 20px; color: var(--gm-muted); }
.gm-home .gm-home__faq-intro > .elementor-widget-wrap.elementor-element-populated { padding-right: 48px; }

@media (max-width: 991px) {
	.gm-home__header { padding: 72px 0 24px; }
	.gm-home__link { text-align: left; margin-top: 10px; }
	.gm-home__hero { padding: 24px 0 8px; }
	.gm-home__h1 .elementor-heading-title { font-size: 52px; }
	.gm-home__hero-media { margin-top: 36px; }
	.gm-home__promo { padding: 64px 0; }
	.gm-home__promo-side > .elementor-widget-wrap.elementor-element-populated { padding-left: 10px; padding-top: 28px; }
	.gm-home__about { padding: 64px 0; }
	.gm-home .gm-home__about-copy > .elementor-widget-wrap.elementor-element-populated { padding-left: 10px; padding-top: 32px; }
	.gm-home__faq { padding: 64px 0 80px; }
	.gm-home .gm-home__faq-intro > .elementor-widget-wrap.elementor-element-populated { padding-right: 10px; padding-bottom: 24px; }
}
@media (max-width: 767px) {
	/* Margen lateral en móvil: el tema deja solo 15px al borde */
	.gm-home > .elementor-container { padding-left: 11px; padding-right: 11px; }
}
@media (max-width: 575px) {
	.gm-home__header { padding: 56px 0 20px; }
	.gm-home__title .elementor-heading-title,
	.gm-home__promo-title .elementor-heading-title { font-size: 30px; }
	.gm-home__hero { padding: 16px 0 0; }
	.gm-home__h1 .elementor-heading-title { font-size: 40px; max-width: none; }
	.gm-home .elementor-widget.gm-home__lead { font-size: 17px; margin-bottom: 24px; }
	.gm-home .elementor-widget.gm-home__trust { margin-top: 28px; }
	.gm-trust { flex-direction: column; align-items: flex-start; gap: 12px; }
	.gm-trust li { margin: 0; padding: 0; border: 0; }
	.gm-home__cats .category-name { font-size: 16px; }
	.gm-home__hero-media { margin-top: 28px; }
	.gm-home__promo { padding: 56px 0; }
	.gm-home__about { padding: 56px 0; }
	.gm-home__faq { padding: 56px 0 64px; }
}
