/* =========================================================
   Portada de Tienda - Metas Golf Academy
   Solo se carga en la portada de /tienda/ (sin filtros).
   Usa los colores y la tipografia del Kit de Elementor.
   ========================================================= */

.mt-shop {
	--mt-ink: var(--e-global-color-primary, #000);
	--mt-cream: var(--e-global-color-accentsecondary, #FCFBF5);
	--mt-sand: var(--e-global-color-secondary, #F9F7EA);
	--mt-yellow: var(--e-global-color-accent, #FDF567);
	--mt-muted: var(--e-global-color-text, #8B8B8B);
	--mt-line: var(--e-global-color-divider, #0000001A);
	--mt-green-1: #0b2410;
	--mt-green-2: #1b4721;
	--mt-green-3: #3a6a2f;
	--mt-wrap: 1240px;
	background: var(--mt-cream);
	color: var(--mt-ink);
	padding: 0;
	overflow: hidden;
}
.mt-shop *,
.mt-shop *::before,
.mt-shop *::after { box-sizing: border-box; }

.mt-shop :where(h1, h2, h3, p, ul, li, figure) { margin: 0; padding: 0; }
.mt-shop :where(ul) { list-style: none; }
.mt-shop :where(a) { text-decoration: none; color: inherit; }

.mt-wrap {
	width: 100%;
	max-width: var(--mt-wrap);
	margin-inline: auto;
	padding-inline: 24px;
}

/* ---------- Etiqueta (eyebrow) ---------- */
.mt-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.mt-eyebrow::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--mt-yellow);
}

/* ---------- Hero ---------- */
.mt-hero {
	margin: 0 16px;
	border-radius: 18px;
	background:
		radial-gradient(120% 140% at 85% 0%, var(--mt-green-3) 0%, rgba(58, 106, 47, 0) 55%),
		linear-gradient(115deg, var(--mt-green-1) 0%, var(--mt-green-2) 100%);
	color: #fff;
	padding: 38px 0 44px;
}
.mt-hero .mt-wrap { padding-inline: 32px; max-width: none; }
.mt-hero .mt-eyebrow { color: var(--mt-yellow); margin-bottom: 16px; }
.mt-hero__title {
	max-width: 560px;
	font-size: clamp(30px, 4vw, 42px);
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
}
.mt-hero__text {
	max-width: 520px;
	margin-top: 14px;
	font-size: 15px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.82);
}
.mt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 100px;
	background: var(--mt-yellow);
	color: var(--mt-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	padding: 15px 24px;
	transition: background-color 0.25s ease, color 0.25s ease;
}
.mt-btn:hover,
.mt-btn:focus-visible { background: #fff; color: var(--mt-ink); }
.mt-hero .mt-btn { margin-top: 26px; }

/* ---------- Secciones ---------- */
.mt-section { padding: 52px 0 0; }
.mt-section__head { margin-bottom: 22px; }
.mt-section__head .mt-eyebrow { margin-bottom: 8px; color: var(--mt-ink); }
.mt-h2 {
	font-size: clamp(22px, 2.6vw, 26px);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--mt-ink);
}

/* ---------- Categorias ---------- */
.mt-cats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 18px;
}
.mt-cat {
	display: block;
	background: #fff;
	border: 1px solid var(--mt-line);
	border-radius: 14px;
	padding: 18px 16px;
	transition: transform 0.25s ease, border-color 0.25s ease;
}
.mt-cat:hover,
.mt-cat:focus-visible { transform: translateY(-3px); border-color: var(--mt-ink); }
.mt-cat__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--mt-yellow);
}
.mt-cat__icon svg { width: 22px; height: 22px; stroke: var(--mt-ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mt-cat__name { display: block; font-size: 15px; font-weight: 700; line-height: 1.2; }
.mt-cat__count { display: block; margin-top: 4px; font-size: 12px; color: var(--mt-muted); }

/* ---------- Destacados ---------- */
.mt-featured__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 22px;
}
.mt-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.mt-pill {
	appearance: none;
	border: 0;
	cursor: pointer;
	border-radius: 100px;
	background: var(--mt-sand);
	color: var(--mt-ink);
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	padding: 9px 14px;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.mt-pill:hover { background: var(--mt-yellow); }
.mt-pill[aria-pressed="true"] { background: var(--mt-ink); color: #fff; }

.mt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
	gap: 18px;
}
.mt-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--mt-line);
	border-radius: 12px;
	transition: transform 0.25s ease, border-color 0.25s ease;
}
.mt-card:hover,
.mt-card:focus-within { transform: translateY(-3px); border-color: var(--mt-ink); }
.mt-card[hidden] { display: none; }
.mt-card__media {
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	background: var(--mt-sand);
}
.mt-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mt-card__media svg { width: 34px; height: 34px; stroke: var(--mt-muted); fill: none; stroke-width: 1.6; stroke-linecap: round; opacity: 0.7; }
.mt-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px; flex: 1; }
.mt-card__brand { font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--mt-muted); }
.mt-card__name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.mt-card__name a::after { content: ""; position: absolute; inset: 0; }
.mt-card__price { margin-top: auto; padding-top: 10px; font-size: 15px; font-weight: 700; }
.mt-card__price del { margin-right: 6px; font-size: 11px; font-weight: 400; color: var(--mt-muted); }
.mt-card__price ins { background: none; text-decoration: none; }
.mt-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 1;
	border-radius: 6px;
	background: var(--mt-ink);
	color: var(--mt-yellow);
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	padding: 5px 7px;
}
.mt-empty {
	border: 1px dashed var(--mt-line);
	border-radius: 12px;
	padding: 28px;
	color: var(--mt-muted);
	font-size: 14px;
}

/* ---------- Ventajas ---------- */
.mt-perks {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 22px;
	background: #fff;
	border: 1px solid var(--mt-line);
	border-radius: 14px;
	padding: 22px 26px;
}
.mt-perk { display: flex; align-items: center; gap: 12px; }
.mt-perk__icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mt-yellow); }
.mt-perk__icon svg { width: 17px; height: 17px; stroke: var(--mt-ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mt-perk__title { display: block; font-size: 12px; font-weight: 700; line-height: 1.2; }
.mt-perk__sub { display: block; margin-top: 2px; font-size: 11px; color: var(--mt-muted); }

/* ---------- CTA WhatsApp ---------- */
.mt-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: var(--mt-ink);
	color: #fff;
	border-radius: 16px;
	padding: 30px 36px;
}
.mt-cta__title { font-size: 18px; font-weight: 700; line-height: 1.2; color: #fff; }
.mt-cta__text { margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, 0.75); }

.mt-shop__end { height: 72px; }

/* ---------- Movil ---------- */
@media (max-width: 767px) {
	.mt-shop { padding-top: 80px; }
	.mt-hero { margin-inline: 12px; padding: 30px 0 34px; }
	.mt-hero .mt-wrap { padding-inline: 22px; }
	.mt-cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.mt-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.mt-cta { padding: 24px; }
	.mt-perks { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.mt-cat, .mt-card, .mt-btn, .mt-pill { transition: none; }
	.mt-cat:hover, .mt-card:hover { transform: none; }
}

/* El tema fija el color de h1-h3: se refuerza donde el fondo es oscuro */
.mt-shop .mt-hero .mt-hero__title { color: #fff; }
.mt-shop .mt-cta .mt-cta__title { color: #fff; }
.mt-shop .mt-h2 { color: var(--mt-ink); }

.mt-shop { background: var(--mt-cream); }
.mt-btn--dark { background: var(--mt-ink); color: #fff; }
.mt-btn--dark:hover, .mt-btn--dark:focus-visible { background: var(--mt-yellow); color: var(--mt-ink); }
.mt-shop .page-header { margin-bottom: 0; }
@media (max-width: 767px) { .mt-shop { padding-top: 0; } }

.mt-shop section.mt-section { padding: 52px 0 0 !important; }

/* Rejilla de destacados: 5 columnas que ocupan todo el ancho */
.mt-shop .mt-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1023px) { .mt-shop .mt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .mt-shop .mt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Separacion entre la cabecera de pagina y la primera seccion */
.mt-shop .page-header { margin-bottom: 0 !important; }
.mt-shop .page-header + section.mt-section { margin-top: 48px !important; }

/* ---------- Resenas ---------- */
.mt-reviews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.mt-review { margin: 0; background: #fff; border: 1px solid var(--mt-line); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.mt-review__who { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.mt-review__who span { font-size: 11px; color: var(--mt-muted); }
.mt-review__stars { font-size: 13px; letter-spacing: 2px; color: #E8B800; }
.mt-shop .mt-review__text { margin: 0; padding: 0; border: 0; background: none; font-size: 12px; line-height: 1.55; font-style: normal; color: #555; }
@media (max-width: 1023px) { .mt-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .mt-reviews { grid-template-columns: 1fr; } }
/* ---------- Marcas ---------- */
.mt-shop .mt-brands__title { margin: 0 0 22px; text-align: center; font-size: 16px !important; font-weight: 700; line-height: 1.3 !important; color: var(--mt-ink); }
.mt-brands__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.mt-shop .mt-brand {
	display: grid;
	place-items: center;
	min-width: 150px;
	padding: 20px 26px;
	background: #fff;
	border: 1px solid var(--mt-line);
	border-radius: 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--mt-ink);
	transition: border-color 0.25s ease, transform 0.25s ease;
}
.mt-shop .mt-brand:hover, .mt-shop .mt-brand:focus-visible { border-color: var(--mt-ink); transform: translateY(-3px); }
@media (max-width: 575px) { .mt-brands__list { gap: 10px; } .mt-shop .mt-brand { min-width: 0; flex: 1 1 calc(50% - 10px); padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .mt-shop .mt-brand { transition: none; } .mt-shop .mt-brand:hover { transform: none; } }