/* GNEXIS · Estilo Mercado
 * Distribución tipo marketplace: cabecera de color con buscador, portada en carrusel, paneles blancos
 * sobre fondo gris, tarjetas con precio grande y caja de compra. Los colores salen de la marca de
 * cada tienda (variables --gx-c* que imprime gnexis-mercado.php). Móvil primero.
 */

.gx-mercado {
	--gx-fondo: #ebebeb;
	--gx-txt: rgba(0, 0, 0, .9);
	--gx-txt2: rgba(0, 0, 0, .55);
	--gx-txt3: rgba(0, 0, 0, .4);
	--gx-borde: rgba(0, 0, 0, .1);
	--gx-verde: #00a650;
	--gx-naranja: #f2711c;
	--gx-sombra: 0 1px 2px rgba(0, 0, 0, .12);
	--gx-sombra2: 0 7px 16px rgba(0, 0, 0, .1), 0 1px 3px rgba(0, 0, 0, .1);
	--gx-radio: 6px;
	--gx-ancho: 1200px;
	--gx-fuente: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	background: var(--gx-fondo);
	color: var(--gx-txt);
	font-family: var(--gx-fuente);
	-webkit-font-smoothing: antialiased;
}
.gx-mercado #wrapper,
.gx-mercado #inner-wrap,
.gx-mercado .site { background: transparent; }
.gx-mercado .gx-ico { width: 24px; height: 24px; flex: none; }
.gx-mercado .gx-verde { color: var(--gx-verde); }
.gx-mercado .gx-naranja { color: var(--gx-naranja); font-weight: 600; }
.gx-mercado .gx-gris { color: var(--gx-txt3); }
.gx-mercado .gx-agotado { color: var(--gx-txt2); }
.gx-mercado a:focus-visible,
.gx-mercado button:focus-visible,
.gx-mercado input:focus-visible,
.gx-mercado select:focus-visible { outline: 2px solid var(--gx-accion); outline-offset: 2px; }
.gx-mercado .gx-solo-escritorio { display: none; }
@media (min-width: 1024px) {
	.gx-mercado .gx-solo-escritorio { display: block; }
	.gx-mercado .gx-solo-movil { display: none !important; }
}

/* ================================================================ Cabecera */

.gx-cab {
	background: var(--gx-c);
	color: var(--gx-c-txt);
	box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
	position: relative;
	z-index: 50;
}
.gx-cab a { color: inherit; text-decoration: none; }
.gx-cab-in {
	max-width: var(--gx-ancho);
	margin: 0 auto;
	padding: 8px 12px 6px;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	grid-template-areas: "logo buscar hamb carrito" "ubic ubic ubic ubic";
	align-items: center;
	column-gap: 10px;
	row-gap: 6px;
}
.gx-logo { grid-area: logo; display: flex; align-items: center; gap: 10px; min-width: 0; }
.gx-logo-img { max-height: 36px; width: auto; }
.gx-logo-ini {
	width: 40px; height: 40px; border-radius: 50%;
	display: grid; place-items: center;
	background: #fff; color: var(--gx-c-osc);
	font-weight: 800; font-size: 15px; letter-spacing: -.02em;
	box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .08);
}
.gx-logo-txt { display: none; font-weight: 800; font-size: 20px; line-height: 1.05; letter-spacing: -.02em; }

.gx-buscar { grid-area: buscar; position: relative; display: flex; min-width: 0; }
.gx-buscar input[type="search"] {
	width: 100%; height: 36px; margin: 0;
	border: 0; border-radius: 2px;
	padding: 0 44px 0 12px;
	background: #fff; color: var(--gx-txt);
	font: 16px/1 var(--gx-fuente);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
	-webkit-appearance: none; appearance: none;
}
.gx-buscar input::placeholder { color: var(--gx-txt3); }
.gx-buscar button {
	position: absolute; right: 0; top: 0; bottom: 0; width: 44px;
	display: grid; place-items: center;
	background: transparent; border: 0; border-left: 1px solid #e6e6e6; padding: 0;
	color: var(--gx-txt2); border-radius: 0 2px 2px 0; cursor: pointer;
}
.gx-buscar button .gx-ico { width: 20px; height: 20px; }

.gx-hamb, .gx-carrito-movil {
	display: grid; place-items: center;
	width: 40px; height: 40px; padding: 0;
	background: transparent; border: 0; color: inherit; cursor: pointer; position: relative;
}
.gx-hamb { grid-area: hamb; }
.gx-carrito-movil { grid-area: carrito; }
.gx-hamb .gx-ico, .gx-carrito .gx-ico { width: 26px; height: 26px; }
.gx-carrito { position: relative; display: inline-grid; place-items: center; }
.gx-carrito-n {
	position: absolute; top: 2px; right: 0;
	min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
	background: var(--gx-c-txt); color: var(--gx-c);
	font-size: 11px; font-weight: 700; line-height: 17px; text-align: center;
}
.gx-carrito-n[hidden] { display: none; }

.gx-ubic { grid-area: ubic; display: flex; align-items: center; gap: 4px; font-size: 13px; opacity: .9; }
.gx-ubic .gx-ico { width: 20px; height: 20px; }
.gx-ubic small { margin-right: 4px; opacity: .8; font-size: 13px; }

.gx-promo, .gx-nav, .gx-nav-cuenta { display: none; }

@media (min-width: 1024px) {
	.gx-cab-in {
		padding: 10px 16px 8px;
		grid-template-columns: 220px minmax(0, 1fr) 340px;
		grid-template-areas: "logo buscar promo" "ubic nav cuenta";
		column-gap: 32px;
		row-gap: 10px;
	}
	.gx-logo-txt { display: block; }
	.gx-logo-ini { width: 44px; height: 44px; font-size: 16px; }
	.gx-buscar input[type="search"] { height: 40px; font-size: 15px; }
	.gx-hamb, .gx-carrito-movil { display: none; }
	.gx-cab .gx-promo {
		grid-area: promo; justify-self: end;
		display: flex; align-items: center; gap: 8px;
		padding: 6px 16px 6px 10px; border-radius: 999px;
		background: rgba(255, 255, 255, .96); color: var(--gx-c-osc);
		font-size: 14px; box-shadow: var(--gx-sombra);
	}
	.gx-promo .gx-ico { color: var(--gx-verde); }
	.gx-promo strong { color: var(--gx-verde); }
	.gx-ubic { font-size: 14px; flex-direction: row; }
	.gx-ubic span { display: flex; flex-direction: column; line-height: 1.1; }
	.gx-ubic small { font-size: 12px; }
	.gx-nav { grid-area: nav; display: flex; align-items: center; gap: 22px; font-size: 14px; }
	.gx-nav > a, .gx-cats-btn { opacity: .85; }
	.gx-nav > a:hover, .gx-cats-btn:hover, .gx-nav-cuenta a:hover { opacity: 1; }
	.gx-nav-cuenta { grid-area: cuenta; justify-self: end; display: flex; align-items: center; gap: 20px; font-size: 14px; }
	.gx-nav-cuenta a { opacity: .9; }
	.gx-nav-cuenta .gx-carrito { opacity: 1; }
	.gx-nav-cuenta .gx-carrito-n { top: -6px; right: -8px; }
}

/* Menú de categorías (escritorio) */
.gx-cats { position: relative; }
.gx-cats-btn {
	display: inline-flex; align-items: center; gap: 2px;
	background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer;
}
.gx-cats-btn .gx-ico { width: 16px; height: 16px; }
.gx-cats-lista {
	position: absolute; top: calc(100% + 10px); left: -12px; z-index: 60;
	min-width: 240px; margin: 0; padding: 8px 0; list-style: none;
	background: #fff; color: var(--gx-txt); border-radius: var(--gx-radio);
	box-shadow: var(--gx-sombra2);
	visibility: hidden; opacity: 0; transform: translateY(-4px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.gx-cats-lista::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.gx-cats:hover .gx-cats-lista,
.gx-cats:focus-within .gx-cats-lista,
.gx-cats-btn[aria-expanded="true"] + .gx-cats-lista { visibility: visible; opacity: 1; transform: none; }
.gx-cats-lista a { display: block; padding: 9px 20px; font-size: 14px; }
.gx-cats-lista a:hover { background: var(--gx-accion); color: #fff; }

/* Cajón (menú del celular) */
.gx-cajon[hidden] { display: none; }
.gx-cajon { position: fixed; inset: 0; z-index: 99990; }
.gx-cajon-fondo { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.gx-cajon-panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px);
	background: #fff; overflow-y: auto; overscroll-behavior: contain;
	animation: gx-entra .2s ease-out;
}
@keyframes gx-entra { from { transform: translateX(30px); opacity: 0; } }
.gx-cajon-cab {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 16px; background: var(--gx-c); color: var(--gx-c-txt);
}
.gx-cajon-usuario { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.gx-cajon-usuario .gx-ico { width: 36px; height: 36px; padding: 6px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.gx-cajon-usuario span { display: flex; flex-direction: column; }
.gx-cajon-usuario a { color: inherit; text-decoration: underline; }
.gx-cajon-x { background: none; border: 0; color: inherit; padding: 6px; cursor: pointer; }
.gx-cajon-lista { list-style: none; margin: 0; padding: 4px 0; border-bottom: 1px solid var(--gx-borde); }
.gx-cajon-lista a {
	display: flex; align-items: center; gap: 14px;
	padding: 12px 20px; color: var(--gx-txt); text-decoration: none; font-size: 15px;
}
.gx-cajon-lista .gx-ico { width: 22px; height: 22px; color: var(--gx-txt2); }
.gx-cajon-sub { margin: 14px 20px 2px; font-size: 13px; color: var(--gx-txt2); }

/* ================================================================ Portada */

.gx-inicio { overflow: hidden; }

/* Carrusel */
.gx-hero {
	position: relative;
	background: linear-gradient(to bottom, var(--gx-c) 0, var(--gx-c) 62%, var(--gx-fondo) 62%);
	padding: 8px 0 0;
}
.gx-hero-pista {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
	scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.gx-hero-pista::-webkit-scrollbar { display: none; }
.gx-slide {
	flex: 0 0 100%; scroll-snap-align: center;
	display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center;
	box-sizing: border-box;
	padding: 0 12px;
}
.gx-slide > * { min-width: 0; }
.gx-slide-txt, .gx-slide-fotos { height: 176px; }
.gx-slide-txt {
	display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
	padding: 14px 4px 14px 18px;
	background: var(--gx-c-suave); color: var(--gx-c-osc);
	border-radius: var(--gx-radio) 0 0 var(--gx-radio);
}
.gx-slide-fotos {
	position: relative;
	background: radial-gradient(circle at 60% 55%, #fff 0 38%, var(--gx-c-suave) 39%);
	border-radius: 0 var(--gx-radio) var(--gx-radio) 0;
}
.gx-slide-txt p { margin: 0; }
.gx-slide-pre { font-size: 13px; }
.gx-slide-tit { font-size: 25px; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin: 2px 0 4px !important; }
.gx-slide-desc { font-size: 12px; line-height: 1.3; color: var(--gx-txt2); }
.gx-slide-btn {
	margin-top: 10px; padding: 7px 14px; border-radius: 999px;
	background: var(--gx-accion); color: #fff !important; text-decoration: none;
	font-size: 13px; font-weight: 600;
}
.gx-slide-fotos span {
	position: absolute; display: block;
	background: #fff; border-radius: 10px; overflow: hidden;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
}
.gx-slide-fotos img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gx-slide-foto-0 { width: 54%; aspect-ratio: 1; left: 30%; top: 14%; z-index: 2; transform: rotate(4deg); }
.gx-slide-foto-1 { width: 40%; aspect-ratio: 1; left: 6%; top: 34%; z-index: 1; transform: rotate(-7deg); }
.gx-slide-foto-2 { display: none !important; }
.gx-n1 .gx-slide-foto-0 { left: 22%; }

.gx-hero-flecha { display: none; }
.gx-hero-puntos {
	display: flex; justify-content: center; gap: 6px; padding: 8px 0 0;
}
.gx-hero-puntos button {
	width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%;
	background: rgba(0, 0, 0, .25); cursor: pointer;
}
.gx-hero-puntos button[aria-current="true"] { background: var(--gx-accion); width: 16px; border-radius: 3px; }

@media (min-width: 1024px) {
	.gx-hero { background: var(--gx-c); padding: 0; }
	.gx-hero::after {
		content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 150px;
		background: linear-gradient(to bottom, transparent, var(--gx-fondo));
		pointer-events: none;
	}
	.gx-slide {
		padding: 0 max(16px, calc((100% - var(--gx-ancho)) / 2 + 16px));
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		height: 400px; padding-bottom: 110px;
		color: var(--gx-c-txt);
	}
	.gx-slide-txt, .gx-slide-fotos { height: 290px; background: none; border-radius: 0; }
	.gx-slide-txt { color: var(--gx-c-txt); padding: 0 0 0 56px; }
	.gx-slide-pre { font-size: 22px; font-weight: 500; opacity: .9; }
	.gx-slide-tit { font-size: clamp(44px, 5.2vw, 72px); margin: 4px 0 10px !important; }
	.gx-slide-desc { font-size: 17px; color: inherit; opacity: .9; max-width: 34ch; }
	.gx-slide-btn {
		margin-top: 22px; padding: 12px 26px; font-size: 16px;
		background: #fff; color: var(--gx-c-osc) !important;
	}
	.gx-slide-fotos::before {
		content: ""; position: absolute; left: 50%; top: 50%; width: 330px; height: 330px;
		transform: translate(-50%, -50%); border-radius: 50%;
		background: rgba(255, 255, 255, .16);
	}
	.gx-slide-foto-0 { width: 230px; left: calc(50% - 90px); top: 10px; }
	.gx-slide-foto-1 { width: 170px; left: calc(50% - 250px); top: 100px; }
	.gx-slide-foto-2 { display: block !important; width: 150px; aspect-ratio: 1; left: calc(50% + 120px); top: 120px; transform: rotate(8deg); z-index: 3; }
	.gx-n1 .gx-slide-foto-0 { left: calc(50% - 115px); }
	.gx-hero-flecha {
		display: grid; place-items: center; position: absolute; top: 135px; z-index: 5;
		width: 48px; height: 96px; border: 0; padding: 0; cursor: pointer;
		background: rgba(255, 255, 255, .9); color: var(--gx-accion);
		box-shadow: var(--gx-sombra2); opacity: 0; transition: opacity .2s;
	}
	.gx-hero:hover .gx-hero-flecha, .gx-hero-flecha:focus-visible { opacity: 1; }
	.gx-hero-izq { left: 0; border-radius: 0 48px 48px 0; }
	.gx-hero-der { right: 0; border-radius: 48px 0 0 48px; }
	.gx-hero-puntos { position: absolute; left: 0; right: 0; bottom: 122px; z-index: 5; }
	.gx-hero-puntos button { background: rgba(255, 255, 255, .5); }
	.gx-hero-puntos button[aria-current="true"] { background: #fff; }
}

/* Cuerpo de la portada */
.gx-cuerpo { max-width: var(--gx-ancho); margin: 0 auto; padding: 0 12px 24px; position: relative; z-index: 2; }
@media (min-width: 1024px) {
	.gx-cuerpo { padding: 0 16px 40px; margin-top: -110px; }
}

.gx-franja {
	display: flex; align-items: center; justify-content: center; gap: 6px;
	margin: 12px 0 0; padding: 9px 12px; border-radius: var(--gx-radio);
	background: #fff; box-shadow: var(--gx-sombra);
	color: var(--gx-txt); text-decoration: none; font-size: 13px;
}
.gx-franja .gx-ico, .gx-franja strong { color: var(--gx-verde); }
.gx-franja .gx-ico { width: 20px; height: 20px; }

.gx-atajos {
	display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
	margin: 14px -12px 0; padding: 2px 12px 4px;
}
.gx-atajos::-webkit-scrollbar { display: none; }
.gx-atajos a {
	flex: 0 0 72px; display: flex; flex-direction: column; align-items: center; gap: 6px;
	color: var(--gx-txt2); text-decoration: none; font-size: 12px; line-height: 1.2; text-align: center;
}
.gx-atajo-ico {
	width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
	background: #fff; color: var(--gx-c-osc); box-shadow: var(--gx-sombra); overflow: hidden;
}
.gx-atajo-ico .gx-ico { width: 28px; height: 28px; }
.gx-atajo-foto img { width: 100%; height: 100%; object-fit: cover; }

.gx-tarjetas {
	display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	margin: 14px -12px 0; padding: 2px 12px 6px; scroll-padding: 0 12px;
}
.gx-tarjetas::-webkit-scrollbar { display: none; }
.gx-tarjeta {
	flex: 0 0 158px; scroll-snap-align: start;
	display: flex; flex-direction: column; align-items: center; text-align: center;
	padding: 14px 12px; background: #fff; border-radius: var(--gx-radio); box-shadow: var(--gx-sombra);
}
.gx-tarjeta p { margin: 0; }
.gx-tarjeta-tit { font-size: 14px; font-weight: 600; min-height: 2.5em; line-height: 1.25; }
.gx-tarjeta-ico {
	width: 64px; height: 64px; margin: 8px 0; border-radius: 50%;
	display: grid; place-items: center; background: var(--gx-c-suave); color: var(--gx-c-osc);
}
.gx-tarjeta-ico .gx-ico { width: 34px; height: 34px; stroke-width: 1.4; }
.gx-tarjeta-txt { font-size: 12px; color: var(--gx-txt2); line-height: 1.35; flex: 1; }
.gx-tarjeta-btn {
	margin-top: 10px; width: 100%; box-sizing: border-box; padding: 7px 8px; border-radius: 6px;
	background: var(--gx-accion-tinte); color: var(--gx-accion) !important; text-decoration: none;
	font-size: 12px; font-weight: 600;
}
.gx-tarjeta-btn:hover { background: var(--gx-accion-tinte2); }

@media (min-width: 1024px) {
	.gx-franja, .gx-atajos { display: none; }
	.gx-tarjetas {
		display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px;
		overflow: visible; margin: 0; padding: 0;
	}
	.gx-tarjeta { padding: 18px 14px 16px; }
	.gx-tarjeta-tit { font-size: 15px; min-height: 0; text-align: left; align-self: stretch; }
	.gx-tarjeta-ico { width: 96px; height: 96px; margin: 14px 0; }
	.gx-tarjeta-ico .gx-ico { width: 48px; height: 48px; }
	.gx-tarjeta-txt { font-size: 13px; }
	.gx-tarjeta-btn { margin-top: 14px; }
}

/* Paneles */
.gx-panel {
	margin-top: 16px; padding: 16px 0; background: #fff;
	border-radius: var(--gx-radio); box-shadow: var(--gx-sombra);
}
.gx-panel-cab { display: flex; align-items: baseline; gap: 14px; padding: 0 16px 12px; flex-wrap: wrap; }
.gx-panel-cab h2 { margin: 0; font-size: 18px; font-weight: 600; color: var(--gx-txt); }
.gx-panel-cab a { font-size: 13px; color: var(--gx-accion); text-decoration: none; }
.gx-panel-cab a:hover { text-decoration: underline; }
@media (min-width: 1024px) {
	.gx-panel { margin-top: 24px; padding: 22px 0 24px; }
	.gx-panel-cab { padding: 0 24px 16px; }
	.gx-panel-cab h2 { font-size: 24px; font-weight: 400; }
	.gx-panel-cab a { font-size: 14px; }
}

/* Carriles de tarjetas */
.gx-carril { position: relative; }
.gx-carril-lista {
	display: flex; gap: 10px; margin: 0; padding: 2px 16px 6px; list-style: none;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none;
}
.gx-carril-lista::-webkit-scrollbar { display: none; }
.gx-carril-lista > .gx-card { flex: 0 0 148px; scroll-snap-align: start; }
.gx-flecha { display: none; }
@media (min-width: 1024px) {
	.gx-carril-lista { gap: 16px; padding: 2px 24px 8px; scroll-padding: 0 24px; }
	.gx-carril-lista > .gx-card { flex-basis: calc((100% - 4 * 16px) / 5); }
	.gx-flecha {
		display: grid; place-items: center; position: absolute; top: 34%; z-index: 3;
		width: 56px; height: 56px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
		background: #fff; color: var(--gx-accion); box-shadow: var(--gx-sombra2);
	}
	.gx-flecha[hidden] { display: none; }
	.gx-flecha-izq { left: -18px; }
	.gx-flecha-der { right: -18px; }
}

/* ================================================================ Tarjeta de producto */

.gx-card { list-style: none; margin: 0; }
.gx-card-a {
	display: flex; flex-direction: column; height: 100%;
	background: #fff; border-radius: var(--gx-radio); box-shadow: var(--gx-sombra);
	color: var(--gx-txt); text-decoration: none; overflow: hidden;
	transition: box-shadow .15s;
}
.gx-card-a:hover { box-shadow: var(--gx-sombra2); }
.gx-card-img { display: block; aspect-ratio: 1; border-bottom: 1px solid #eee; background: #fff; }
.gx-card-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gx-card-info { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 14px; }
.gx-card-tit {
	font-size: 13px; line-height: 1.3; color: var(--gx-txt2);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	margin-bottom: 4px;
}
.gx-card-estrellas { font-size: 12px; color: var(--gx-accion); }
.gx-card-estrellas span { color: var(--gx-txt3); }
.gx-card-antes { font-size: 12px; color: var(--gx-txt3); }
.gx-card-fila { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 6px; }
.gx-desde { font-size: 12px; color: var(--gx-txt2); margin-right: 2px; }
.gx-precio { font-size: 20px; line-height: 1.15; font-weight: 400; color: var(--gx-txt); white-space: nowrap; }
.gx-precio .gx-mon { margin-right: 4px; }
.gx-precio sup { font-size: .5em; top: -.75em; margin-left: 1px; }
.gx-off { font-size: 13px; color: var(--gx-verde); font-weight: 400; white-space: nowrap; }
.gx-card-nota { font-size: 13px; font-weight: 600; margin-top: 2px; }
@media (min-width: 1024px) {
	.gx-card-info { padding: 14px 16px 18px; }
	.gx-card-tit { font-size: 14px; }
	.gx-precio { font-size: 24px; }
	.gx-off { font-size: 14px; }
}

/* ================================================================ Tienda, categorías y búsqueda */

.gx-mercado.woocommerce.archive .content-area { margin-top: 0; }
.gx-mercado.woocommerce.archive .content-container { max-width: var(--gx-ancho); padding: 0 12px; }
.gx-mercado.woocommerce.archive #main { padding: 14px 0 32px; }
.gx-mercado.woocommerce.archive .woocommerce-products-header,
.gx-mercado.woocommerce.archive .entry-hero,
.gx-mercado.woocommerce.archive .kadence-woo-toggle,
.gx-mercado.woocommerce.archive .kadence-woo-results-count { display: none; }

.gx-lista-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.gx-lista-tit { margin: 0; font-size: 20px; font-weight: 600; color: var(--gx-txt); }
.gx-filtrar {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 14px; border: 0; border-radius: 999px; cursor: pointer;
	background: #fff; color: var(--gx-accion); box-shadow: var(--gx-sombra);
	font: 600 14px var(--gx-fuente);
}
.gx-filtrar .gx-ico { width: 18px; height: 18px; }

.gx-mercado .kadence-shop-top-row { display: flex; justify-content: flex-end; margin: 0 0 10px; }
.gx-mercado .kadence-shop-top-row .kadence-woo-ordering, .gx-mercado .woocommerce-ordering { margin: 0; width: auto; }
.gx-mercado .woocommerce-ordering select { width: auto; font-weight: 400; }
.gx-mercado .woocommerce-ordering select {
	border: 0; background-color: transparent; color: var(--gx-txt); font-size: 14px; padding: 4px 26px 4px 4px; box-shadow: none;
}

/* Filtros: panel en el celular, columna en escritorio */
.gx-filtros {
	position: fixed; inset: 0 0 0 auto; z-index: 99990; width: min(88vw, 340px);
	background: #fff; padding: 0 20px 24px; overflow-y: auto;
	box-shadow: -8px 0 24px rgba(0, 0, 0, .2);
	transform: translateX(105%); visibility: hidden;
	transition: transform .2s ease-out, visibility .2s;
}
.gx-filtros.abierto { transform: none; visibility: visible; }
.gx-filtros-cab {
	position: sticky; top: 0; background: #fff; z-index: 1;
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px 0 10px; font-size: 17px;
}
.gx-filtros-cab button { background: none; border: 0; padding: 4px; cursor: pointer; color: var(--gx-txt2); }
.gx-filtros-total { margin: 0 0 4px; font-size: 14px; color: var(--gx-txt2); }
.gx-filtros-busq { margin: 0; font-size: 14px; }
.gx-filtro { margin-top: 20px; }
.gx-filtro h2 { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--gx-txt); }
.gx-filtro ul { list-style: none; margin: 0; padding: 0; }
.gx-filtro li a { display: block; padding: 5px 0; font-size: 14px; color: var(--gx-txt2); text-decoration: none; }
.gx-filtro li a:hover { color: var(--gx-accion); }
.gx-filtro li a[aria-current] { color: var(--gx-accion); font-weight: 600; }
.gx-filtro li span { color: var(--gx-txt3); }
.gx-precio-form { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.gx-precio-form label { flex: 1; min-width: 0; }
.gx-precio-form input {
	width: 100%; box-sizing: border-box; height: 34px; padding: 0 8px; border: 1px solid #bfbfbf; border-radius: 6px; font-size: 14px;
}
.gx-precio-form button {
	flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
	display: grid; place-items: center; background: var(--gx-accion-tinte); color: var(--gx-accion);
}
.gx-precio-form button .gx-ico { width: 18px; height: 18px; }
.gx-filtros-quitar { display: inline-block; margin-top: 20px; font-size: 14px; color: var(--gx-accion); }
body.gx-filtros-abiertos::after { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 99980; }

/* Listado: filas en el celular (foto a la izquierda), grilla en escritorio */
.gx-mercado.woocommerce ul.products {
	display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; padding: 0;
	background: #fff; border-radius: var(--gx-radio); box-shadow: var(--gx-sombra); overflow: hidden;
}
.gx-mercado.woocommerce ul.products::before, .gx-mercado.woocommerce ul.products::after { display: none; }
.gx-mercado.woocommerce ul.products > .gx-card { width: auto; margin: 0; float: none; padding: 0; }
.gx-mercado.woocommerce ul.products > .gx-card + .gx-card { border-top: 1px solid #eee; }
.gx-mercado.woocommerce ul.products .gx-card-a { flex-direction: row; box-shadow: none; border-radius: 0; }
.gx-mercado.woocommerce ul.products .gx-card-img { flex: 0 0 38%; max-width: 160px; border: 0; padding: 12px; box-sizing: border-box; }
.gx-mercado.woocommerce ul.products .gx-card-info { padding: 14px 14px 14px 4px; justify-content: center; }
.gx-mercado.woocommerce ul.products .gx-card-tit { font-size: 14px; color: var(--gx-txt); -webkit-line-clamp: 3; }

@media (min-width: 1024px) {
	.gx-mercado.woocommerce.archive .content-container { padding: 0 16px; }
	.gx-mercado.woocommerce.archive #main {
		display: grid; grid-template-columns: 240px minmax(0, 1fr); column-gap: 24px; row-gap: 0;
		align-items: start; padding: 24px 0 48px;
	}
	.gx-mercado.woocommerce.archive #main > * { grid-column: 2; }
	.gx-mercado.woocommerce.archive #main > .gx-filtros { grid-column: 1; grid-row: 1 / span 30; }
	.gx-mercado.woocommerce.archive #main > .gx-lista-cab { grid-column: 1; grid-row: 1; }
	.gx-mercado.woocommerce.archive #main > .gx-filtros { grid-row: 2 / span 30; }
	.gx-filtrar { display: none; }
	.gx-lista-tit { font-size: 26px; font-weight: 600; }
	.gx-filtros {
		position: static; width: auto; padding: 0; background: none; box-shadow: none; overflow: visible;
		transform: none; visibility: visible; transition: none;
	}
	.gx-filtros-cab { display: none; }
	.gx-mercado.woocommerce ul.products {
		grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 16px;
		background: none; box-shadow: none; border-radius: 0; overflow: visible;
	}
	.gx-mercado.woocommerce ul.products > .gx-card + .gx-card { border-top: 0; }
	.gx-mercado.woocommerce ul.products .gx-card-a { flex-direction: column; box-shadow: var(--gx-sombra); border-radius: var(--gx-radio); }
	.gx-mercado.woocommerce ul.products .gx-card-img { flex: none; max-width: none; padding: 0; border-bottom: 1px solid #eee; }
	.gx-mercado.woocommerce ul.products .gx-card-info { padding: 14px 16px 18px; justify-content: flex-start; }
	.gx-mercado.woocommerce ul.products .gx-card-tit { color: var(--gx-txt2); -webkit-line-clamp: 2; }
}
.gx-vacio { padding: 32px 20px; background: #fff; border-radius: var(--gx-radio); box-shadow: var(--gx-sombra); text-align: center; }
.gx-vacio a { color: var(--gx-accion); }

.gx-mercado .woocommerce-pagination ul.page-numbers { border: 0; margin-top: 20px; }
.gx-mercado .woocommerce-pagination ul.page-numbers li { border: 0; }
.gx-mercado .woocommerce-pagination .page-numbers a,
.gx-mercado .woocommerce-pagination .page-numbers span { border-radius: 6px; color: var(--gx-accion); }
.gx-mercado .woocommerce-pagination .page-numbers .current { background: var(--gx-accion-tinte); color: var(--gx-txt); }

/* ================================================================ Ficha de producto */

.gx-mercado.single-product .content-container { max-width: var(--gx-ancho); padding: 0 12px; }
.gx-mercado.single-product .content-area { margin-top: 12px; margin-bottom: 32px; }
.gx-mercado.single-product .product-title.product-above { padding: 0 0 8px; margin: 0; }
.gx-mercado.single-product .kadence-breadcrumbs { font-size: 13px; color: var(--gx-txt2); }
.gx-mercado.single-product .kadence-breadcrumbs a { color: var(--gx-accion); }
.gx-compra .stock { display: none; }

.gx-mercado.single-product div.product {
	display: grid; grid-template-columns: minmax(0, 1fr);
	background: #fff; border-radius: var(--gx-radio); box-shadow: var(--gx-sombra);
	padding: 14px 16px 20px !important;
}
.gx-mercado.single-product div.product > * { grid-column: 1 / -1; min-width: 0; }
.gx-mercado.single-product div.product .woocommerce-product-gallery,
.gx-mercado.single-product div.product .summary { width: auto !important; float: none !important; margin: 0 !important; }
.gx-mercado.single-product div.product .woocommerce-product-gallery { margin-bottom: 8px !important; }

.gx-ficha-estado { margin: 0 0 4px; font-size: 13px; color: var(--gx-txt2); }
.gx-ficha-tit.product_title { margin: 0 0 6px; font-size: 18px; line-height: 1.3; font-weight: 400; color: var(--gx-txt); }
.gx-ficha-val { font-size: 13px; color: var(--gx-txt2); text-decoration: none; }
.gx-estrellas {
	letter-spacing: 1px;
	background: linear-gradient(90deg, var(--gx-accion) var(--v), #ccc var(--v));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.gx-ficha-cabeza { margin-bottom: 12px; }

.gx-mercado.single-product .summary { display: block; }
.gx-ficha-antes { display: block; font-size: 16px; color: var(--gx-txt3); }
.gx-ficha-precio { display: flex; align-items: baseline; gap: 10px; margin: 0; flex-wrap: wrap; }
.gx-precio-xl { font-size: 36px; font-weight: 300; }
.gx-ficha-precio .gx-off { font-size: 18px; }
.gx-ficha-pago { margin: 4px 0 0; font-size: 14px; color: var(--gx-txt2); }
.gx-ficha-pago strong { color: var(--gx-verde); font-weight: 600; }
.gx-ficha-saber { margin-top: 20px; }
.gx-ficha-saber h2 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.gx-ficha-saber p { margin: 0 0 8px; font-size: 14px; color: var(--gx-txt2); line-height: 1.5; }
.gx-ficha-cat { margin: 10px 0 0; font-size: 13px; color: var(--gx-txt2); }
.gx-ficha-cat a { color: var(--gx-accion); text-decoration: none; }

.gx-compra { margin-top: 18px; }
.gx-compra p { margin: 0; }
.gx-compra-envio { display: flex; gap: 10px; margin-bottom: 12px !important; font-size: 15px; }
.gx-compra-envio .gx-ico { color: var(--gx-verde); margin-top: 1px; }
.gx-compra-envio > span { display: flex; flex-direction: column; }
.gx-compra-envio small { font-size: 13px; color: var(--gx-txt2); margin-top: 2px; }
.gx-compra-envio strong { font-weight: 600; }
.gx-compra-stock { margin: 16px 0 12px !important; font-size: 15px; }
.gx-compra-stock strong { font-weight: 600; }

.gx-mercado.single-product form.cart { display: flex; flex-direction: column; gap: 10px; margin: 0 !important; }
.gx-mercado.single-product form.cart .quantity { display: flex; align-items: center; gap: 8px; margin: 0 0 6px !important; }
.gx-mercado.single-product form.cart .quantity::before { content: "Cantidad:"; font-size: 15px; }
.gx-mercado.single-product form.cart .quantity .qty { width: 72px; height: 38px; border-radius: 6px; border: 1px solid #bfbfbf; font-size: 15px; }
.gx-mercado.single-product form.cart .single_add_to_cart_button,
.gx-mercado.single-product form.cart .gx-ahora {
	order: 3; width: 100%; height: 48px; margin: 0 !important; padding: 0 16px;
	border: 0; border-radius: 6px; cursor: pointer;
	font: 600 16px var(--gx-fuente); text-transform: none; letter-spacing: 0;
	background: var(--gx-accion-tinte); color: var(--gx-accion); box-shadow: none;
}
.gx-mercado.single-product form.cart .single_add_to_cart_button:hover { background: var(--gx-accion-tinte2); }
.gx-mercado.single-product form.cart .gx-ahora { order: 2; background: var(--gx-accion); color: #fff; }
.gx-mercado.single-product form.cart .gx-ahora:hover { background: var(--gx-accion-osc); }
.gx-mercado.single-product form.cart .single_add_to_cart_button .kadence-svg-iconset { display: none; }
.gx-mercado.single-product .variations_form .woocommerce-variation-add-to-cart { display: flex; flex-direction: column; gap: 10px; }
.gx-mercado.single-product table.variations { margin-bottom: 12px; }

.gx-compra-vende { margin-top: 18px !important; font-size: 14px; color: var(--gx-txt2); }
.gx-compra-vende strong { color: var(--gx-accion); font-weight: 600; }
.gx-compra-garantias { list-style: none; margin: 14px 0 0; padding: 0; }
.gx-compra-garantias li { display: flex; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--gx-txt2); line-height: 1.4; }
.gx-compra-garantias .gx-ico { width: 20px; height: 20px; color: var(--gx-txt3); }
.gx-compra-garantias strong { color: var(--gx-txt); font-weight: 600; }

/* Pestañas y relacionados */
.gx-mercado.single-product .woocommerce-tabs { margin-top: 24px; padding-top: 20px; border-top: 1px solid #eee; }
.gx-mercado.single-product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 12px; border: 0; }
.gx-mercado.single-product .woocommerce-tabs ul.tabs::before { display: none; }
.gx-mercado.single-product .woocommerce-tabs ul.tabs li { border: 0; background: none; margin: 0 16px 0 0; padding: 0; }
.gx-mercado.single-product .woocommerce-tabs ul.tabs li::before,
.gx-mercado.single-product .woocommerce-tabs ul.tabs li::after { display: none; }
.gx-mercado.single-product .woocommerce-tabs ul.tabs li a { padding: 6px 0; font-size: 16px; color: var(--gx-txt2); border-bottom: 2px solid transparent; }
.gx-mercado.single-product .woocommerce-tabs ul.tabs li.active a { color: var(--gx-txt); border-bottom-color: var(--gx-accion); }
.gx-mercado.single-product .woocommerce-tabs .panel { margin: 0; padding: 0; border: 0; box-shadow: none; font-size: 15px; color: var(--gx-txt2); }

.gx-mercado.single-product section.related,
.gx-mercado.single-product section.up-sells { margin-top: 28px; padding-top: 20px; border-top: 1px solid #eee; }
.gx-mercado.single-product section.related > h2,
.gx-mercado.single-product section.up-sells > h2 { font-size: 18px; font-weight: 600; margin: 0 0 12px; }
.gx-mercado.single-product section.related ul.products,
.gx-mercado.single-product section.up-sells ul.products {
	display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	background: none; box-shadow: none; border-radius: 0; padding: 2px 2px 8px; margin: 0;
}
.gx-mercado.single-product section.related ul.products > .gx-card,
.gx-mercado.single-product section.up-sells ul.products > .gx-card { flex: 0 0 150px; scroll-snap-align: start; border-top: 0 !important; }
.gx-mercado.single-product section.related ul.products .gx-card-a,
.gx-mercado.single-product section.up-sells ul.products .gx-card-a { flex-direction: column; box-shadow: var(--gx-sombra); border-radius: var(--gx-radio); }
.gx-mercado.single-product section.related ul.products .gx-card-img,
.gx-mercado.single-product section.up-sells ul.products .gx-card-img { flex: none; max-width: none; padding: 0; border-bottom: 1px solid #eee; }
.gx-mercado.single-product section.related ul.products .gx-card-info,
.gx-mercado.single-product section.up-sells ul.products .gx-card-info { padding: 10px 12px 14px; }

@media (min-width: 1024px) {
	.gx-mercado.single-product .content-container { padding: 0 16px; }
	.gx-mercado.single-product .content-area { margin-top: 16px; margin-bottom: 48px; }
	.gx-mercado.single-product div.product {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 32px; padding: 24px 24px 32px !important;
	}
	.gx-mercado.single-product div.product > .woocommerce-product-gallery { grid-column: 1; }
	.gx-mercado.single-product div.product > .summary {
		grid-column: 2; display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 24px; align-items: start;
	}
	.gx-ficha-tit.product_title { font-size: 22px; font-weight: 600; }
	.gx-compra {
		margin-top: 0; padding: 20px; border: 1px solid var(--gx-borde); border-radius: 8px;
		position: sticky; top: 16px;
	}
	.gx-mercado.single-product section.related ul.products,
	.gx-mercado.single-product section.up-sells ul.products { gap: 16px; }
	.gx-mercado.single-product section.related ul.products > .gx-card,
	.gx-mercado.single-product section.up-sells ul.products > .gx-card { flex-basis: 200px; }
	.gx-mercado.single-product section.related > h2 { font-size: 24px; font-weight: 400; }
}

/* ================================================================ Beneficios y más buscados */

.gx-beneficios {
	background: #fff; display: grid; gap: 28px; padding: 32px 20px; margin-top: 8px; text-align: center;
}
.gx-beneficios > div { display: flex; flex-direction: column; align-items: center; }
.gx-beneficios .gx-ico { width: 56px; height: 56px; color: var(--gx-c-osc); stroke-width: 1.2; }
.gx-beneficios h2 { margin: 10px 0 4px; font-size: 18px; font-weight: 400; color: var(--gx-txt); }
.gx-beneficios p { margin: 0 0 8px; max-width: 34ch; font-size: 14px; line-height: 1.4; color: var(--gx-txt2); }
.gx-beneficios a { font-size: 14px; color: var(--gx-accion); text-decoration: none; }
@media (min-width: 1024px) {
	.gx-beneficios {
		grid-template-columns: repeat(3, 1fr); gap: 0; padding: 48px max(16px, calc((100% - var(--gx-ancho)) / 2 + 16px));
	}
	.gx-beneficios > div { padding: 0 24px; }
	.gx-beneficios > div + div { border-left: 1px solid var(--gx-borde); }
	.gx-beneficios h2 { font-size: 20px; }
}

.gx-buscados { background: #fff; padding: 8px 20px 32px; }
.gx-buscados h2 { max-width: var(--gx-ancho); margin: 0 auto 10px; font-size: 16px; font-weight: 600; }
.gx-buscados p { max-width: var(--gx-ancho); margin: 0 auto; font-size: 13px; line-height: 1.9; color: var(--gx-txt3); }
.gx-buscados a { color: var(--gx-txt2); text-decoration: none; }
.gx-buscados a:hover { color: var(--gx-accion); }
@media (min-width: 1024px) {
	.gx-buscados { padding: 16px max(16px, calc((100% - var(--gx-ancho)) / 2 + 16px)) 40px; }
}

/* Categorías */
.gx-cat-grilla {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
	list-style: none; margin: 0; padding: 0 12px;
}
.gx-cat-grilla a {
	display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; box-sizing: border-box;
	padding: 12px 6px; border: 1px solid #eee; border-radius: var(--gx-radio);
	color: var(--gx-txt); text-decoration: none; text-align: center; font-size: 13px; line-height: 1.25;
}
.gx-cat-foto { width: 64px; height: 64px; display: block; }
.gx-cat-foto img { width: 100%; height: 100%; object-fit: contain; }
.gx-cat-nom { display: flex; flex-direction: column; }
.gx-cat-nom small { font-size: 11px; color: var(--gx-txt3); margin-top: 2px; }
.gx-cat-grilla a:hover { box-shadow: var(--gx-sombra2); }
@media (min-width: 1024px) {
	.gx-cat-grilla { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0 24px; }
	.gx-cat-grilla a { flex-direction: row; text-align: left; padding: 0; gap: 0; font-size: 16px; }
	.gx-cat-foto { flex: none; width: 88px; height: 88px; padding: 8px; box-sizing: border-box; border-right: 1px solid #eee; }
	.gx-cat-nom { padding: 0 16px; }
	.gx-cat-nom small { font-size: 12px; }
}

/* ================================================================ Pie */

.gx-pie { background: #fff; border-top: 1px solid var(--gx-borde); }
.gx-pie-in { max-width: var(--gx-ancho); margin: 0 auto; padding: 20px 16px 28px; }
.gx-pie-fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.gx-pie-links { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.gx-pie-links a { font-size: 13px; color: var(--gx-txt); text-decoration: none; }
.gx-pie-links a:hover { color: var(--gx-accion); }
.gx-libro {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
	border: 1px solid var(--gx-borde); border-radius: 6px; box-shadow: var(--gx-sombra);
	color: var(--gx-txt); text-decoration: none; font-size: 11px; line-height: 1.15; font-weight: 600;
}
.gx-libro .gx-ico { color: #c0392b; width: 28px; height: 28px; }
.gx-pie-legal { margin: 16px 0 0; font-size: 12px; line-height: 1.6; color: var(--gx-txt3); }
.gx-pie-legal a { color: var(--gx-txt2); }

/* ================================================================ Páginas, carrito y pago */

.gx-mercado.page:not(.home) .content-container,
.gx-mercado.woocommerce-cart .content-container,
.gx-mercado.woocommerce-checkout .content-container,
.gx-mercado.woocommerce-account .content-container { max-width: var(--gx-ancho); }
.gx-mercado.page:not(.home) .entry.content-bg { border-radius: var(--gx-radio); box-shadow: var(--gx-sombra); }
.gx-mercado .entry-hero .entry-header,
.gx-mercado .entry-hero-container-inner { background: transparent; }
.gx-mercado .wc-block-components-button:not(.is-link),
.gx-mercado .wp-element-button,
.gx-mercado .button.alt {
	background: var(--gx-accion); color: #fff; border-radius: 6px;
}
.gx-mercado .wc-block-components-button:not(.is-link):hover,
.gx-mercado .wp-element-button:hover { background: var(--gx-accion-osc); color: #fff; }
.gx-mercado.home .content-area { margin: 0; }
.gx-mercado.home .entry-content-wrap { padding: 0; }
.gx-mercado.home .entry-content > .gx-inicio { margin: 0; max-width: none; }
.gx-mercado .entry-content > p:empty { display: none; }

@media (prefers-reduced-motion: reduce) {
	.gx-mercado * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Ajustes finos */
.gx-mercado.single-product .product-title.product-above { padding-top: 10px; }
.gx-mercado.single-product .woocommerce-Tabs-panel > h2:first-child { display: none; }

/* ================================================================ Tiendas de servicios */

/* Portada con fotos del rubro */
.gx-hero-fotos .gx-slide { display: block; }
.gx-slide-marco {
	position: relative; height: 196px; border-radius: var(--gx-radio); overflow: hidden;
	background:
		linear-gradient(90deg, rgba(var(--gx-c-osc-rgb), .95) 0, rgba(var(--gx-c-osc-rgb), .82) 52%, rgba(var(--gx-c-osc-rgb), .2) 100%),
		var(--foto, none) center / cover no-repeat,
		var(--gx-c-osc);
	display: flex; align-items: center;
}
.gx-hero-fotos .gx-slide-txt {
	height: auto; background: none; color: #fff; border-radius: 0;
	padding: 16px 20px; max-width: 78%;
}
.gx-hero-fotos .gx-slide-desc { color: rgba(255, 255, 255, .88); }
.gx-hero-fotos .gx-slide-btn { background: #fff; color: var(--gx-c-osc) !important; }
@media (min-width: 1024px) {
	.gx-hero-fotos .gx-slide { padding: 0; height: 420px; }
	.gx-hero-fotos .gx-slide-marco {
		height: 100%; border-radius: 0; align-items: flex-start;
		background:
			linear-gradient(90deg, rgba(var(--gx-c-osc-rgb), .94) 0, rgba(var(--gx-c-osc-rgb), .78) 42%, rgba(var(--gx-c-osc-rgb), .1) 78%),
			var(--foto, none) center 30% / cover no-repeat,
			var(--gx-c-osc);
	}
	.gx-hero-fotos .gx-slide-txt {
		box-sizing: border-box; width: 100%; max-width: var(--gx-ancho); margin: 0 auto;
		padding: 56px 16px 0 72px;
	}
	.gx-hero-fotos .gx-slide-desc { max-width: 40ch; }
}

/* Fotos de categoría: las imágenes de servicio llevan texto abajo, se muestra la parte de la foto */
.gx-inicio-serv .gx-atajo-foto img,
.gx-inicio-serv .gx-cat-foto img { object-fit: cover; object-position: center 18%; }
.gx-inicio-serv .gx-cat-foto { overflow: hidden; border-radius: 6px; }
@media (min-width: 1024px) {
	.gx-inicio-serv .gx-cat-foto { border-radius: 0; padding: 0; }
}

/* Tarjetas de servicio */
.gx-card-etq { font-size: 12px; color: var(--gx-txt2); }
.gx-card-saldo { font-size: 12px; color: var(--gx-txt3); line-height: 1.3; }
.gx-precio-txt { font-size: 18px; color: var(--gx-verde); font-weight: 600; white-space: normal; }
@media (min-width: 1024px) { .gx-precio-txt { font-size: 20px; } }

/* Ficha de servicio */
.gx-mercado .summary > .gx-ficha,
.gx-mercado .gx-duracion { display: none; }
.gx-ficha-etq { margin: 0; font-size: 14px; color: var(--gx-txt2); }
.gx-ficha-precio .gx-precio-txt { font-size: 28px; }
.gx-ficha-req { margin-top: 20px; padding: 14px 16px; border-radius: 8px; background: var(--gx-c-suave); }
.gx-ficha-req h2 { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.gx-ficha-req ul { list-style: none; margin: 0; padding: 0; }
.gx-ficha-req li { display: flex; gap: 8px; margin: 6px 0; font-size: 14px; line-height: 1.4; }
.gx-ficha-req .gx-ico { width: 18px; height: 18px; color: var(--gx-verde); margin-top: 1px; stroke-width: 2.2; }
.gx-compra-nota { margin-top: 10px !important; font-size: 13px; color: var(--gx-txt2); }
.gx-mercado.single-product form.cart .quantity:has(input[type="hidden"]) { display: none !important; }
.gx-mercado.single-product .gx-compra-unico form.cart .single_add_to_cart_button { background: var(--gx-accion); color: #fff; }
.gx-mercado.single-product .gx-compra-unico form.cart .single_add_to_cart_button:hover { background: var(--gx-accion-osc); }
