/* ==========================================================================
   Gnumux · Plantilla por defecto de la tienda
   Todas las clases usan el prefijo .gx- para convivir con el CSS de Frappe.
   Los colores principales se pueden cambiar desde Parametros del Sitio Web.
   ========================================================================== */

:root {
	--gx-primary: #1f6feb;
	--gx-ink: #0f172a;
	--gx-sale: #e11d48;
	--gx-ok: #059669;
	--gx-warn: #b45309;
	--gx-text: #1e293b;
	--gx-muted: #64748b;
	--gx-line: #e2e8f0;
	--gx-soft: #f8fafc;
	--gx-soft-2: #f1f5f9;
	--gx-white: #fff;
	--gx-radius: 14px;
	--gx-radius-sm: 10px;
	--gx-shadow: 0 1px 2px rgb(15 23 42 / 6%), 0 8px 24px rgb(15 23 42 / 6%);
	--gx-shadow-lg: 0 20px 50px rgb(15 23 42 / 18%);
	--gx-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--gx-container: 1240px;
	--gx-header-h: 0px;
}

/* ---------- Base ---------- */
body.gx {
	margin: 0;
	font-family: var(--gx-font);
	color: var(--gx-text);
	background: var(--gx-white);
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
.gx *, .gx *::before, .gx *::after { box-sizing: border-box; }
.gx-embebido { font-family: var(--gx-font); color: var(--gx-text); font-size: 15px; line-height: 1.55; }
.gx-embebido .gx-container { max-width: var(--gx-container); }
.gx img { max-width: 100%; height: auto; display: block; }
.gx a { color: inherit; text-decoration: none; }
.gx h1, .gx h2, .gx h3, .gx h4 { color: var(--gx-ink); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
.gx p { margin: 0 0 1em; }
.gx button { font: inherit; cursor: pointer; }
.gx input, .gx select, .gx textarea { font: inherit; color: inherit; }
.gx [hidden] { display: none !important; }
.gx-icon { flex: none; display: inline-block; vertical-align: middle; }
.gx-rot180 { transform: rotate(180deg); }
.gx-skip { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--gx-ink); color: #fff !important; padding: 10px 16px; }
.gx-skip:focus { left: 8px; }
.gx-container { width: 100%; max-width: var(--gx-container); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.gx-main { min-height: 50vh; }
.gx-muted { color: var(--gx-muted); }
.gx-small { font-size: 13px; }
.gx-center { text-align: center; }
.gx-right { text-align: right !important; }
.gx :focus-visible { outline: 2px solid var(--gx-primary); outline-offset: 2px; }

/* ---------- Botones ---------- */
.gx-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 42px; padding: 0 18px; border-radius: 999px;
	border: 1px solid transparent; background: var(--gx-soft-2); color: var(--gx-ink);
	font-weight: 600; font-size: 14px; white-space: nowrap; transition: .15s ease;
}
.gx-btn:hover { filter: brightness(.97); text-decoration: none; }
.gx-btn:disabled { opacity: .5; cursor: not-allowed; }
.gx-btn--primary { background: var(--gx-primary); color: #fff !important; }
.gx-btn--primary:hover { filter: brightness(1.08); }
.gx-btn--dark { background: var(--gx-ink); color: #fff !important; }
.gx-btn--light { background: #fff; color: var(--gx-ink) !important; }
.gx-btn--ghost { background: transparent; border-color: var(--gx-line); }
.gx-btn--ghost:hover { background: var(--gx-soft); }
.gx-btn--lg { min-height: 50px; padding: 0 24px; font-size: 15px; }
.gx-btn--sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.gx-btn--block { width: 100%; }
.gx-btn--icon { width: 42px; padding: 0; }
.gx-btn--lg.gx-btn--icon { width: 50px; }
.gx-btn.is-active { color: var(--gx-sale); border-color: var(--gx-sale); }
.gx-btn.is-active .gx-icon { fill: currentColor; }
.gx-btn.is-loading { pointer-events: none; opacity: .7; }
.gx-link { color: var(--gx-primary) !important; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0; }
.gx-link--muted { color: var(--gx-muted) !important; font-weight: 500; }
.gx-link:hover { text-decoration: underline; }
.gx-iconbtn {
	position: relative; display: inline-flex; align-items: center; gap: 6px;
	background: none; border: 0; padding: 8px; border-radius: 999px; color: var(--gx-ink);
}
.gx-iconbtn:hover { background: var(--gx-soft-2); }
.gx-count {
	position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 999px; background: var(--gx-primary); color: #fff; font-size: 11px; font-weight: 700;
	display: grid; place-items: center; line-height: 1;
}
.gx-count.is-bump { animation: gx-bump .4s ease; }
@keyframes gx-bump { 50% { transform: scale(1.35); } }

/* ---------- Header ---------- */
.gx-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--gx-line); }
.gx-topbar { background: var(--gx-ink); color: #cbd5e1; font-size: 13px; }
.gx-topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 16px; }
.gx-topbar__contact { display: flex; gap: 18px; align-items: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gx-topbar__contact a { display: inline-flex; align-items: center; gap: 6px; color: #e2e8f0; }
.gx-topbar__prefs { display: flex; gap: 6px; align-items: center; }
.gx-select { display: inline-flex; align-items: center; gap: 6px; position: relative; font-size: 14px; }
.gx-select select {
	appearance: none; -webkit-appearance: none; border: 1px solid var(--gx-line); border-radius: 999px;
	padding: 8px 32px 8px 14px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
	cursor: pointer;
}
.gx-select--bare { color: #e2e8f0; }
.gx-select--bare select {
	border: 0; background-color: transparent; color: #e2e8f0; padding: 6px 22px 6px 2px; font-size: 13px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-position: right 4px center;
}
.gx-select--bare select option { color: var(--gx-text); }
.gx-select__sym { font-weight: 700; }
.gx-mainbar__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.gx-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--gx-ink); letter-spacing: -.02em; flex: none; }
.gx-logo img { max-height: 44px; width: auto; }
.gx-logo__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--gx-primary); color: #fff; }
.gx .gx-logo--light { color: #fff; }
.gx-search { flex: 1; display: flex; max-width: 620px; position: relative; }
.gx-search input {
	width: 100%; height: 46px; border: 1px solid var(--gx-line); background: var(--gx-soft);
	border-radius: 999px; padding: 0 54px 0 20px; outline: none; transition: .15s;
}
.gx-search input:focus { background: #fff; border-color: var(--gx-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gx-primary) 15%, transparent); }
.gx-search button {
	position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border-radius: 999px; border: 0;
	background: var(--gx-primary); color: #fff; display: grid; place-items: center;
}
.gx-search--inline { margin: 24px auto; width: 100%; }
.gx-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.gx-actions__label { font-size: 14px; font-weight: 600; }
.gx-dropdown { position: relative; }
.gx-dropdown__menu {
	position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: #fff; border-radius: var(--gx-radius);
	box-shadow: var(--gx-shadow-lg); padding: 8px; display: none; z-index: 60; border: 1px solid var(--gx-line);
}
.gx-dropdown.is-open .gx-dropdown__menu { display: block; }
.gx-dropdown__menu a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.gx-dropdown__menu a:hover { background: var(--gx-soft-2); }

.gx-nav { border-top: 1px solid var(--gx-line); }
.gx-nav__inner { display: flex; align-items: center; gap: 4px; min-height: 48px; }
.gx-nav__item { position: relative; }
.gx-nav__link {
	display: inline-flex; align-items: center; gap: 6px; padding: 12px 14px; font-weight: 600; font-size: 14px;
	color: var(--gx-text); background: none; border: 0; border-radius: 8px;
}
.gx-nav__link:hover, .gx-nav__link.is-active { color: var(--gx-primary); }
.gx-nav__link--cats { background: var(--gx-soft-2); margin-right: 8px; }
.gx-mega, .gx-submenu {
	display: none; position: absolute; left: 0; top: 100%; background: #fff; border-radius: var(--gx-radius);
	box-shadow: var(--gx-shadow-lg); border: 1px solid var(--gx-line); padding: 20px; z-index: 55;
}
.gx-mega { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px 28px; width: min(860px, 90vw); }
.gx-submenu { min-width: 220px; padding: 8px; }
.gx-submenu a, .gx-mega a { display: block; padding: 6px 8px; font-size: 14px; color: var(--gx-muted); border-radius: 6px; }
.gx-submenu a:hover, .gx-mega a:hover { color: var(--gx-primary); background: var(--gx-soft); }
.gx-mega .gx-mega__title { color: var(--gx-ink); font-weight: 700; }
@media (hover: hover) and (min-width: 961px) {
	.gx-nav__item:hover > .gx-mega { display: grid; }
	.gx-nav__item:hover > .gx-submenu { display: block; }
}
.gx-nav__item.is-open > .gx-mega { display: grid; }
.gx-nav__item.is-open > .gx-submenu { display: block; }
.gx-backdrop { display: none; }

/* ---------- Secciones ---------- */
.gx-section { margin: 48px 0; }
.gx-section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.gx-section__title { font-size: clamp(20px, 2.4vw, 28px); margin: 0; }
.gx-vistos .gx-section__title { display: inline-flex; align-items: center; gap: 10px; }
.gx-vistos .gx-section__title .gx-icon { color: var(--gx-primary); }
.gx-page { padding-top: 20px; padding-bottom: 56px; }
.gx-page--narrow { max-width: 560px; }
.gx-page--medium { max-width: 980px; }
.gx-registro-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.gx-registro-cols fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.gx-registro-cols legend { font-size: 17px; font-weight: 700; color: var(--gx-ink); padding: 0 0 10px; margin-bottom: 4px; border-bottom: 2px solid var(--gx-primary); width: 100%; }
.gx-form select { width: 100%; min-height: 46px; border: 1px solid var(--gx-line); border-radius: 10px; padding: 10px 14px; background: #fff; }
.gx-form input[type=checkbox], .gx-form input[type=radio] { width: 18px; height: 18px; min-height: 0; padding: 0; flex: none; accent-color: var(--gx-primary); box-shadow: none; }
.gx-form label.gx-check { flex-direction: row; align-items: flex-start; gap: 10px; }
.gx-bases { font-weight: 500; line-height: 1.45; margin-top: 6px; color: var(--gx-text); }
.gx-bases input { margin-top: 2px; }
.gx-bases .gx-link { display: inline; }
@media (max-width: 760px) { .gx-registro-cols { grid-template-columns: 1fr; gap: 18px; } }
.gx-page__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.gx-page__title { font-size: clamp(24px, 3vw, 34px); margin: 6px 0 16px; }
.gx-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--gx-muted); margin: 4px 0 10px; }
.gx-crumbs a:hover { color: var(--gx-primary); }
.gx-crumbs span { color: var(--gx-text); }

/* ---------- Hero ---------- */
.gx-hero { position: relative; overflow: hidden; background: var(--gx-ink); color: #fff; }
.gx-hero__track { position: relative; aspect-ratio: 16 / 6; min-height: 320px; max-height: 560px; }
.gx-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; pointer-events: none; }
.gx-hero__slide.is-active { opacity: 1; pointer-events: auto; }
.gx-hero__media { width: 100%; height: 100%; object-fit: cover; }
.gx-hero__slide picture { display: contents; }
.gx-hero__caption { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; }
.gx-hero__caption h1, .gx-hero__caption h2 { color: #fff; font-size: clamp(30px, 5vw, 60px); max-width: 640px; margin: 0; letter-spacing: -.03em; }
.gx-hero__caption p { font-size: 18px; max-width: 560px; color: #e2e8f0; margin: 0; }
.gx-hero--plain { background: linear-gradient(120deg, var(--gx-ink), var(--gx-primary)); }
.gx-hero--plain .gx-hero__caption { position: static; padding-top: 80px; padding-bottom: 80px; }
.gx-hero__nav {
	position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 999px; border: 0;
	background: rgb(255 255 255 / 85%); color: var(--gx-ink); display: grid; place-items: center; z-index: 2;
}
.gx-hero__nav--prev { left: 18px; }
.gx-hero__nav--next { right: 18px; }
.gx-hero__dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.gx-hero__dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgb(255 255 255 / 50%); padding: 0; transition: .2s; }
.gx-hero__dots button.is-active { width: 28px; background: #fff; }

/* ---------- Categorías / marcas / blog ---------- */
.gx-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.gx-cat { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-weight: 600; }
.gx-cat__img {
	width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--gx-soft-2);
	display: grid; place-items: center; color: var(--gx-primary); transition: transform .2s;
}
.gx-cat__img img { width: 100%; height: 100%; object-fit: cover; }
.gx-cat:hover .gx-cat__img { transform: translateY(-4px); }
.gx-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.gx-brand { border: 1px solid var(--gx-line); border-radius: var(--gx-radius); padding: 14px; display: grid; place-items: center; background: #fff; aspect-ratio: 2 / 1; transition: .2s; }
.gx-brand:hover { box-shadow: var(--gx-shadow); }
.gx-brand img { max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: .2s; }
.gx-brand:hover img { filter: none; opacity: 1; }
.gx-brandgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.gx-brandcard { border: 1px solid var(--gx-line); border-radius: var(--gx-radius); padding: 18px; display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; transition: .2s; }
.gx-brandcard:hover { box-shadow: var(--gx-shadow); transform: translateY(-2px); }
.gx-brandcard__img { width: 100%; aspect-ratio: 2 / 1; display: grid; place-items: center; margin-bottom: 8px; }
.gx-brandcard__img img { max-height: 100%; object-fit: contain; }
.gx-brandcard__name { font-weight: 700; }
.gx-banners { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.gx-banner { border-radius: var(--gx-radius); overflow: hidden; }
.gx-banner img { width: 100%; transition: transform .4s; }
.gx-banner:hover img { transform: scale(1.03); }
.gx-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.gx-post { border: 1px solid var(--gx-line); border-radius: var(--gx-radius); overflow: hidden; }
.gx-post img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.gx-post > div { padding: 16px; }
.gx-post h3 { font-size: 17px; }

/* ---------- Tarjeta de producto ---------- */
.gx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.gx-card {
	position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gx-line);
	border-radius: var(--gx-radius); overflow: hidden; transition: box-shadow .2s, transform .2s; height: 100%;
}
.gx-card:hover { box-shadow: var(--gx-shadow); transform: translateY(-2px); }
.gx-card__media { position: relative; aspect-ratio: 1; background: var(--gx-soft); overflow: hidden; }
.gx-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gx-card:hover .gx-card__media img { transform: scale(1.04); }
.gx-card__fav {
	position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 999px; border: 0;
	background: rgb(255 255 255 / 92%); color: var(--gx-muted); display: grid; place-items: center; box-shadow: var(--gx-shadow); z-index: 2;
}
.gx-card__fav:hover { color: var(--gx-sale); }
.gx-card__fav.is-active, [data-gx-fav].is-active { color: var(--gx-sale); }
.gx-card__fav.is-active .gx-icon, [data-gx-fav].is-active .gx-icon { fill: currentColor; }
.gx-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.gx-card__brand { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--gx-muted); font-weight: 600; }
.gx-card__title { font-size: 15px; font-weight: 600; margin: 0; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.gx-card__title a:hover { color: var(--gx-primary); }
.gx-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.gx-badge { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--gx-ink); color: #fff; z-index: 1; }
.gx-badge--sale { background: var(--gx-sale); }
.gx-badge--muted { background: #475569; top: auto; bottom: 10px; }
.gx-badge--lg { font-size: 14px; padding: 6px 12px; top: 16px; left: 16px; }
.gx-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.gx-price__final { font-weight: 800; font-size: 17px; color: var(--gx-ink); }
.gx-price__final.is-sale { color: var(--gx-sale); }
.gx-price__old { color: var(--gx-muted); font-size: 13px; }
.gx-price--lg .gx-price__final { font-size: 30px; }
.gx-price--lg .gx-price__old { font-size: 17px; }
.gx-price--ask { font-weight: 600; color: var(--gx-muted); font-size: 14px; }

/* Carrusel horizontal */
.gx-rail { position: relative; }
.gx-rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; }
.gx-rail__track::-webkit-scrollbar { display: none; }
.gx-rail__item { scroll-snap-align: start; }
.gx-rail__nav {
	position: absolute; top: 38%; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--gx-line);
	background: #fff; display: grid; place-items: center; box-shadow: var(--gx-shadow); z-index: 3; color: var(--gx-ink);
}
.gx-rail__nav--prev { left: -16px; }
.gx-rail__nav--next { right: -16px; }
.gx-rail__nav[disabled] { opacity: 0; pointer-events: none; }

/* ---------- Catálogo ---------- */
.gx-catalog { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; }
.gx-filters { position: sticky; top: calc(var(--gx-header-h) + 16px); }
.gx-filters fieldset { border: 0; border-bottom: 1px solid var(--gx-line); padding: 0 0 16px; margin: 0 0 16px; min-width: 0; }
.gx-filters legend { font-weight: 700; color: var(--gx-ink); margin-bottom: 10px; font-size: 14px; padding: 0; }
.gx-filters__form { display: flex; flex-direction: column; gap: 4px; }
.gx-filters__form .gx-btn { margin-top: 8px; }
.gx-filters__link { display: block; padding: 5px 0; color: var(--gx-muted); font-size: 14px; }
.gx-filters__link:hover { color: var(--gx-primary); }
.gx-filters__link.is-active { color: var(--gx-primary); font-weight: 700; }
.gx-filters .gx-filters__check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; font-weight: 400; color: var(--gx-text); cursor: pointer; }
.gx-filters__check input { width: 16px; height: 16px; accent-color: var(--gx-primary); flex: none; margin: 0; }
.gx-filters__check:has(input:checked) { color: var(--gx-primary); font-weight: 600; }
.gx-filters__limpiar { margin-top: 6px; }
.gx-search--catalogo { margin-right: auto; max-width: 420px; }
.gx-page__acciones { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gx-radio, .gx-check { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 4px 0; cursor: pointer; }
.gx-radio input, .gx-check input { accent-color: var(--gx-primary); width: 16px; height: 16px; }
.gx-range { display: flex; align-items: center; gap: 8px; }
.gx-range input { width: 100%; min-width: 0; height: 38px; border: 1px solid var(--gx-line); border-radius: 8px; padding: 0 10px; }
.gx-toolbar { display: flex; justify-content: flex-end; gap: 12px; margin-bottom: 18px; }
.gx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.gx-chip { padding: 8px 14px; border-radius: 999px; background: var(--gx-soft-2); font-size: 14px; font-weight: 600; }
.gx-chip:hover { background: var(--gx-primary); color: #fff; }
.gx-pager { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.gx-pager__btn { min-width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--gx-line); font-weight: 600; padding: 0 10px; }
.gx-pager__btn:hover { border-color: var(--gx-primary); color: var(--gx-primary); }
.gx-pager__btn.is-active { background: var(--gx-primary); border-color: var(--gx-primary); color: #fff; }
.gx-pager__gap { display: grid; place-items: center; padding: 0 4px; color: var(--gx-muted); }

/* ---------- Producto ---------- */
.gx-pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; margin-top: 10px; }
.gx-gallery__main { position: relative; border-radius: var(--gx-radius); overflow: hidden; background: var(--gx-soft); aspect-ratio: 1; }
.gx-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gx-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gx-gallery__thumbs button { flex: none; width: 76px; height: 76px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--gx-soft); }
.gx-gallery__thumbs button.is-active { border-color: var(--gx-primary); }
.gx-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gx-pdp__info { display: flex; flex-direction: column; gap: 14px; }
.gx-pdp__brand { color: var(--gx-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.gx-pdp__title { font-size: clamp(24px, 3vw, 34px); margin: 0; }
.gx-pdp__meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--gx-muted); font-size: 13px; align-items: center; }
.gx-pdp__lead { color: var(--gx-muted); font-size: 16px; margin: 0; }
.gx-save { color: var(--gx-sale); font-weight: 600; margin: -6px 0 0; }
.gx-stock { display: inline-flex; align-items: center; gap: 4px; color: var(--gx-ok); font-weight: 600; }
.gx-stock--out { color: var(--gx-sale); }
.gx-variant__label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.gx-variant__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.gx-swatch { min-width: 40px; height: 40px; border-radius: 999px; border: 2px solid var(--gx-line); display: grid; place-items: center; padding: 3px; font-size: 13px; font-weight: 600; }
.gx-swatch span { width: 100%; height: 100%; border-radius: 999px; background: var(--sw, #ccc); min-width: 30px; }
.gx-swatch.is-active { border-color: var(--gx-ink); }
.gx-size { min-width: 46px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--gx-line); display: grid; place-items: center; font-weight: 600; }
.gx-size.is-active { border-color: var(--gx-ink); background: var(--gx-ink); color: #fff; }
.gx-size.is-disabled { opacity: .45; text-decoration: line-through; }
.gx-buy { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.gx-buy__add { flex: 1; }
.gx-qty { display: inline-flex; align-items: center; border: 1px solid var(--gx-line); border-radius: 999px; overflow: hidden; height: 50px; background: #fff; }
.gx-qty button { width: 42px; height: 100%; border: 0; background: none; display: grid; place-items: center; color: var(--gx-ink); }
.gx-qty button:hover { background: var(--gx-soft-2); }
.gx-qty input { width: 46px; text-align: center; border: 0; outline: none; font-weight: 700; -moz-appearance: textfield; background: transparent; }
.gx-qty input::-webkit-outer-spin-button, .gx-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gx-line .gx-qty, .gx-drawer .gx-qty { height: 38px; }
.gx-line .gx-qty button, .gx-drawer .gx-qty button { width: 34px; }
.gx-line .gx-qty input, .gx-drawer .gx-qty input { width: 36px; }
.gx-pdp__perks { list-style: none; padding: 16px; margin: 6px 0 0; border-radius: var(--gx-radius); background: var(--gx-soft); display: grid; gap: 10px; font-size: 14px; }
.gx-pdp__perks li { display: flex; gap: 10px; align-items: center; }
.gx-tabs { margin-top: 48px; }
.gx-tabs__list { display: flex; gap: 4px; border-bottom: 1px solid var(--gx-line); margin-bottom: 20px; }
.gx-tabs__list button { padding: 12px 18px; border: 0; background: none; font-weight: 700; color: var(--gx-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.gx-tabs__list button.is-active { color: var(--gx-ink); border-color: var(--gx-primary); }
.gx-tabs__panel { display: none; }
.gx-tabs__panel.is-active { display: block; }
.gx-prose { max-width: 820px; font-size: 16px; }
.gx-prose ul { padding-left: 20px; }

/* ---------- Tablas / paneles / formularios ---------- */
.gx-panel { background: #fff; border: 1px solid var(--gx-line); border-radius: var(--gx-radius); padding: 24px; margin-bottom: 20px; }
.gx-panel h2 { font-size: 18px; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.gx-step { width: 28px; height: 28px; border-radius: 999px; background: var(--gx-primary); color: #fff; display: inline-grid; place-items: center; font-size: 14px; }
.gx-form { display: flex; flex-direction: column; gap: 14px; }
.gx-form--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gx-form--tight { gap: 14px; }
.gx-form__full { grid-column: 1 / -1; }
.gx-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; color: var(--gx-ink); }
.gx-form input, .gx-form textarea, .gx-form select {
	width: 100%; min-height: 46px; border: 1px solid var(--gx-line); border-radius: 10px; padding: 10px 14px;
	font-weight: 400; background: #fff; outline: none; transition: .15s;
}
.gx-form textarea { min-height: 70px; resize: vertical; }
.gx-form input:focus, .gx-form textarea:focus { border-color: var(--gx-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gx-primary) 14%, transparent); }
.gx-options { display: grid; gap: 10px; }
.gx-option { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--gx-line); border-radius: 12px; cursor: pointer; transition: .15s; }
.gx-option:has(input:checked) { border-color: var(--gx-primary); background: color-mix(in srgb, var(--gx-primary) 6%, #fff); }
.gx-option input { accent-color: var(--gx-primary); width: 18px; height: 18px; flex: none; }
.gx-option__body { flex: 1; display: flex; flex-direction: column; }
.gx-option__price { font-weight: 700; }
.gx-option__logo { max-height: 28px; width: auto; }
.gx-tablewrap { overflow-x: auto; }
.gx-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.gx-table th, .gx-table td { padding: 12px 10px; border-bottom: 1px solid var(--gx-line); text-align: left; }
.gx-table th { color: var(--gx-muted); font-weight: 600; font-size: 13px; }
.gx-table tfoot td { border-bottom: 0; padding: 6px 10px; }
.gx-table__total td { font-weight: 800; font-size: 17px; color: var(--gx-ink); padding-top: 12px !important; }
.gx-table--spec th { width: 40%; color: var(--gx-ink); background: var(--gx-soft); }
.gx-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--gx-soft-2); font-size: 12px; font-weight: 700; }
.gx-pill--ok { background: #d1fae5; color: #065f46; }
.gx-pill--warn { background: #fef3c7; color: #92400e; }
.gx-alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 14px; font-size: 14px; }
.gx-alert--warn { background: #fef3c7; color: #92400e; }
.gx-alert--ok { background: #d1fae5; color: #065f46; }
.gx-alert--error { background: #fee2e2; color: #991b1b; }
.gx-alert--lg { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; padding: 16px 20px; margin: 10px 0 20px; }
.gx-bancard { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.gx-bancard p { display: flex; gap: 8px; align-items: center; margin: 0; }
.gx-bancard__frame { width: 100%; border-radius: 12px; overflow: hidden; }
.gx-bancard__frame iframe { width: 100% !important; min-height: 430px; border: 0; }
.gx-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0 0 12px; font-size: 14px; }
.gx-dl dt { color: var(--gx-muted); }
.gx-dl dd { margin: 0; font-weight: 600; word-break: break-word; }
.gx-dl--box { background: var(--gx-soft); border-radius: 10px; padding: 14px; }

/* ---------- Carrito / checkout / pedido ---------- */
.gx-cartpage, .gx-checkout, .gx-order { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.gx-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--gx-line); align-items: center; }
.gx-line__img { border-radius: 12px; overflow: hidden; background: var(--gx-soft); aspect-ratio: 1; }
.gx-line__img img { width: 100%; height: 100%; object-fit: cover; }
.gx-line__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gx-line__name { font-weight: 600; }
.gx-line__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.gx-line__total { font-size: 16px; white-space: nowrap; }
.gx-summary { background: var(--gx-soft); border-radius: var(--gx-radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.gx-summary--sticky { position: sticky; top: calc(var(--gx-header-h) + 16px); }
.gx-summary h3 { font-size: 18px; margin: 0 0 4px; }
.gx-summary__row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.gx-summary__total { border-top: 1px solid var(--gx-line); padding-top: 12px; font-size: 18px; color: var(--gx-ink); }
.gx-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-height: 320px; overflow: auto; }
.gx-mini li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.gx-mini img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: #fff; }
.gx-mini__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gx-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gx-success { display: flex; gap: 20px; align-items: center; background: #ecfdf5; border-radius: var(--gx-radius); padding: 24px; margin: 10px 0 24px; }
.gx-success h1 { font-size: 24px; margin: 0 0 4px; }
.gx-success p { margin: 0; }
.gx-success__icon { width: 64px; height: 64px; border-radius: 999px; background: var(--gx-ok); color: #fff; display: grid; place-items: center; flex: none; }
.gx-order__status { display: flex; flex-wrap: wrap; gap: 28px; margin-bottom: 16px; }
.gx-order__status > div { display: flex; flex-direction: column; gap: 4px; }
.gx-account { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.gx-tile { border: 1px solid var(--gx-line); border-radius: var(--gx-radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; transition: .2s; color: var(--gx-ink); }
.gx-tile .gx-icon { color: var(--gx-primary); margin-bottom: 6px; }
.gx-tile:hover { box-shadow: var(--gx-shadow); transform: translateY(-2px); }
.gx-account__cols { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; }

/* ---------- Acceso (tienda cerrada) ---------- */
.gx-access { display: flex; align-items: center; gap: 24px; padding: 28px; border-radius: var(--gx-radius); background: var(--gx-soft); border: 1px solid var(--gx-line); flex-wrap: wrap; }
.gx-access__icon { width: 72px; height: 72px; border-radius: 999px; background: #fff; color: var(--gx-primary); display: grid; place-items: center; box-shadow: var(--gx-shadow); flex: none; }
.gx-access__text { flex: 1; min-width: 240px; }
.gx-access__text h2 { margin: 0 0 6px; font-size: 22px; }
.gx-access__text p { margin: 0; }
.gx-access__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.gx-switch { margin-top: 12px; font-weight: 600; }

/* ---------- Vacíos / 404 ---------- */
.gx-empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--gx-line); border-radius: var(--gx-radius); background: var(--gx-soft); }
.gx-empty__icon { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 999px; background: #fff; display: grid; place-items: center; color: var(--gx-primary); box-shadow: var(--gx-shadow); }
.gx-empty p { color: var(--gx-muted); max-width: 440px; margin: 0 auto 18px; }
.gx-notfound { text-align: center; max-width: 620px; padding-top: 60px; }
.gx-notfound__code { font-size: 110px; font-weight: 900; line-height: 1; background: linear-gradient(120deg, var(--gx-primary), var(--gx-sale)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Drawer del carrito ---------- */
.gx-drawer { position: fixed; inset: 0; z-index: 2000; visibility: hidden; } /* sobre encabezados fijos y modales de Bootstrap (1055) */
.gx-drawer.is-open { visibility: visible; }
.gx-drawer__backdrop { position: absolute; inset: 0; background: rgb(15 23 42 / 45%); opacity: 0; transition: opacity .25s; }
.gx-drawer.is-open .gx-drawer__backdrop { opacity: 1; }
.gx-drawer__panel {
	position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform .3s ease; box-shadow: var(--gx-shadow-lg);
}
.gx-drawer.is-open .gx-drawer__panel { transform: none; }
.gx-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--gx-line); }
.gx-drawer__head h3 { margin: 0; font-size: 18px; display: flex; gap: 8px; align-items: center; }
.gx-drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.gx-drawer__body .gx-line { grid-template-columns: 72px 1fr auto; gap: 12px; }
.gx-drawer__body .gx-empty { border: 0; background: none; padding: 48px 0; }
.gx-drawer__foot { padding: 18px 20px; border-top: 1px solid var(--gx-line); display: flex; flex-direction: column; gap: 10px; }
.gx-drawer__total { display: flex; justify-content: space-between; font-size: 17px; }
.gx-spinner { width: 32px; height: 32px; border: 3px solid var(--gx-line); border-top-color: var(--gx-primary); border-radius: 999px; margin: 60px auto; animation: gx-spin .8s linear infinite; }
@keyframes gx-spin { to { transform: rotate(360deg); } }

/* ---------- Modal / toasts / flotantes ---------- */
.gx-modal { position: fixed; inset: 0; z-index: 2010; display: grid; place-items: center; padding: 20px; }
.gx-modal__backdrop { position: absolute; inset: 0; background: rgb(15 23 42 / 55%); }
.gx-modal__panel { position: relative; background: #fff; border-radius: var(--gx-radius); max-width: 720px; width: 100%; max-height: 90vh; overflow: auto; }
.gx-modal__close { position: absolute; right: 8px; top: 8px; background: #fff; }
.gx-toasts { position: fixed; z-index: 2020; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100% - 32px); }
.gx-toast {
	background: var(--gx-ink); color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--gx-shadow-lg); font-size: 14px; font-weight: 500;
	display: flex; gap: 10px; align-items: center; animation: gx-toast-in .25s ease; pointer-events: auto;
}
.gx-toast--error { background: #b91c1c; }
.gx-toast--ok { background: #047857; }
@keyframes gx-toast-in { from { opacity: 0; transform: translateY(10px); } }
.gx-whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 999px; background: #25d366; color: #fff !important; display: grid; place-items: center; box-shadow: var(--gx-shadow-lg); transition: transform .2s; }
.gx-whatsapp:hover { transform: scale(1.08); }
.gx-whatsapp img { border-radius: 999px; }
.gx-totop { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--gx-line); background: #fff; display: grid; place-items: center; box-shadow: var(--gx-shadow); opacity: 0; pointer-events: none; transition: opacity .2s; color: var(--gx-ink); }
.gx-totop.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- Footer ---------- */
.gx-footer { background: var(--gx-ink); color: #94a3b8; margin-top: 40px; font-size: 14px; }
.gx-footer__perks { background: var(--gx-soft); color: var(--gx-text); border-top: 1px solid var(--gx-line); }
.gx-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 28px; padding-bottom: 28px; }
.gx-perk { display: flex; gap: 14px; align-items: center; }
.gx-perk .gx-icon { color: var(--gx-primary); }
.gx-perk strong { display: block; color: var(--gx-ink); font-size: 14px; }
.gx-perk span { font-size: 13px; color: var(--gx-muted); }
.gx-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-top: 48px; padding-bottom: 40px; }
.gx-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.gx-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.gx-footer a:hover { color: #fff; }
.gx-footer__brand p { margin-top: 14px; }
.gx-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.gx-social { display: flex; gap: 8px; margin-top: 12px; }
.gx-social a { width: 38px; height: 38px; border-radius: 999px; background: rgb(255 255 255 / 8%); display: grid; place-items: center; color: #e2e8f0; }
.gx-social a:hover { background: var(--gx-primary); }
.gx-newsletter { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; color: #e2e8f0; }
.gx-newsletter__row { display: flex; gap: 6px; }
.gx-newsletter input { flex: 1; min-width: 0; height: 42px; border-radius: 999px; border: 0; padding: 0 16px; }
.gx-footer__bottom { border-top: 1px solid rgb(255 255 255 / 8%); }
.gx-footer__bottom-inner { display: flex; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; font-size: 13px; }
.gx-footer__powered a { color: #e2e8f0; font-weight: 600; }
/* Sello «Hecho con gnumux» (marca Gnumux by CTi: discreta en los sitios de los clientes) */
.gx-sello { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 5px; border: 1px solid rgb(255 255 255 / 18%); border-radius: 999px; color: #cbd5e1; font-size: 12.5px; text-decoration: none; transition: border-color .15s, color .15s; }
.gx-sello:hover { border-color: #C4E94B; color: #fff; }
.gx-sello img { display: block; border-radius: 5px; }
.gx-sello b { font-weight: 700; letter-spacing: -0.02em; color: #fff; }

/* ---------- Páginas de Frappe (login, contacto…) dentro de la plantilla ---------- */
.gx .page-content-wrapper, .gx .page_content { min-height: 40vh; }
.gx .container { max-width: var(--gx-container); }
.gx .for-login .page-card, .gx .for-signup .page-card, .gx .for-forgot .page-card { border-radius: var(--gx-radius); border: 1px solid var(--gx-line); box-shadow: var(--gx-shadow); }
.gx .btn-primary { background: var(--gx-primary); border-color: var(--gx-primary); }
.gx .page-card-head img, .gx .page-card-head .app-logo { margin-left: auto; margin-right: auto; }

/* ---------- Responsive ---------- */
.gx-show-md { display: none !important; }
@media (max-width: 1100px) {
	.gx-rail__track { grid-auto-columns: calc((100% - 40px) / 3); }
	.gx-footer__grid { grid-template-columns: 1fr 1fr; }
	.gx-perks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
	.gx-show-md { display: inline-flex !important; }
	.gx-hide-md { display: none !important; }
	.gx-mainbar__inner { gap: 8px; min-height: 64px; }
	.gx-search { display: none; position: absolute; left: 12px; right: 12px; top: 100%; max-width: none; padding: 10px 0; background: #fff; }
	.gx-header.is-search .gx-search { display: flex; }
	.gx-header.is-search .gx-search input { box-shadow: var(--gx-shadow-lg); background: #fff; }
	.gx-mainbar { position: relative; }
	.gx-logo { font-size: 18px; }
	.gx-nav {
		position: fixed; inset: 0 auto 0 0; width: min(340px, 86vw); background: #fff; z-index: 70; overflow-y: auto;
		transform: translateX(-100%); transition: transform .3s ease; border: 0;
	}
	.gx-header.is-menu .gx-nav { transform: none; box-shadow: var(--gx-shadow-lg); }
	.gx-nav__inner { flex-direction: column; align-items: stretch; padding: 0; gap: 0; }
	.gx-nav__head { display: flex !important; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--gx-line); }
	.gx-nav__link { width: 100%; justify-content: space-between; padding: 14px 20px; border-radius: 0; border-bottom: 1px solid var(--gx-soft-2); }
	.gx-nav__link--cats { margin: 0; background: none; }
	.gx-nav__link--cats { justify-content: flex-start; }
	.gx-nav__link--cats .gx-icon:last-child { margin-left: auto; }
	.gx-mega, .gx-submenu { position: static; box-shadow: none; border: 0; border-radius: 0; width: auto; padding: 4px 20px 12px 28px; background: var(--gx-soft); }
	.gx-nav__item.is-open > .gx-mega { display: block; }
	.gx-mega__col { margin-bottom: 10px; }
	.gx-header.is-menu .gx-backdrop, .gx-catalog.is-filters + .gx-backdrop, body.gx-filters-open .gx-backdrop--filters {
		display: block; position: fixed; inset: 0; background: rgb(15 23 42 / 45%); z-index: 65;
	}
	.gx-catalog { grid-template-columns: 1fr; }
	.gx-filters {
		position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); background: #fff; z-index: 70; padding: 0 20px 20px;
		overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; top: 0;
	}
	body.gx-filters-open .gx-filters { transform: none; box-shadow: var(--gx-shadow-lg); }
	.gx-filters__head { display: flex !important; justify-content: space-between; align-items: center; padding: 14px 0; position: sticky; top: 0; background: #fff; }
	.gx-toolbar { justify-content: space-between; }
	.gx-pdp { grid-template-columns: 1fr; gap: 24px; }
	.gx-cartpage, .gx-checkout, .gx-order { grid-template-columns: 1fr; }
	.gx-summary--sticky { position: static; }
	.gx-auth, .gx-account__cols { grid-template-columns: 1fr; }
	.gx-rail__nav { display: none; }
}
@media (max-width: 640px) {
	body.gx { font-size: 14px; }
	.gx-container { padding-left: 14px; padding-right: 14px; }
	.gx-hide-sm { display: none !important; }
	.gx-topbar__contact a:not(:first-child) { display: none; }
	.gx-hero__track { aspect-ratio: 8 / 9; max-height: 520px; }
	.gx-hero__nav { display: none; }
	.gx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.gx-rail__track { grid-auto-columns: 62%; gap: 12px; }
	.gx-card__body { padding: 10px 12px 12px; }
	.gx-card__title { font-size: 14px; }
	.gx-price__final { font-size: 15px; }
	.gx-card .gx-btn--icon { width: 36px; min-height: 36px; }
	.gx-cats { grid-template-columns: repeat(4, 1fr); gap: 10px; font-size: 12px; }
	.gx-section { margin: 32px 0; }
	.gx-form--grid { grid-template-columns: 1fr; }
	.gx-line { grid-template-columns: 72px 1fr; }
	.gx-line__total { grid-column: 2; }
	.gx-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.gx-perks { grid-template-columns: 1fr; gap: 14px; }
	.gx-panel { padding: 18px; }
	.gx-success { flex-direction: column; text-align: center; }
	.gx-whatsapp { width: 50px; height: 50px; right: 14px; bottom: 14px; }
	.gx-totop { left: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.gx *, .gx *::before, .gx *::after { transition: none !important; animation: none !important; }
}

/* ---------- Acceso (/login) ---------- */
.gx-acceso { min-height: calc(100vh - 260px); display: grid; place-items: center; padding: 56px 16px 72px; }
.gx-acceso__card { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 22px; }
.gx-acceso__titulo { font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--gx-ink); text-align: center; margin: 0; }
.gx-acceso__sub { color: var(--gx-muted); text-align: center; margin: 6px 0 26px; font-size: 15px; }
.gx-acceso__form { gap: 16px; }
.gx-acceso__form label { font-weight: 500; font-size: 13px; color: var(--gx-text); }
.gx-acceso__form input { min-height: 48px; border-radius: 12px; font-size: 15px; }
.gx-acceso__form .gx-btn { margin-top: 6px; border-radius: 12px; }
.gx-acceso__fila { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.gx-acceso__clave { position: relative; display: block; }
.gx-acceso__clave input { padding-right: 48px; }
.gx-acceso__ojo { position: absolute; top: 0; right: 0; height: 100%; width: 46px; display: grid; place-items: center; background: none; border: 0; color: var(--gx-muted); cursor: pointer; }
.gx-acceso__ojo:hover { color: var(--gx-ink); }
.gx-acceso__ojo .gx-ojo-ocultar, .gx-acceso__ojo.is-on .gx-ojo-ver { display: none; }
.gx-acceso__ojo.is-on .gx-ojo-ocultar { display: block; }
.gx-acceso__error, .gx-acceso__ok { margin: 0; font-size: 14px; padding: 10px 14px; border-radius: 10px; }
.gx-acceso__error { background: #fef2f2; color: #b91c1c; }
.gx-acceso__ok { background: #ecfdf5; color: #047857; }
.gx-acceso__o { display: flex; align-items: center; gap: 14px; color: var(--gx-muted); font-size: 13px; margin: 22px 0; }
.gx-acceso__o::before, .gx-acceso__o::after { content: ""; flex: 1; height: 1px; background: var(--gx-line); }
.gx-acceso__social { display: grid; gap: 10px; }
.gx-acceso__social .gx-btn { border-radius: 12px; }
.gx-acceso__social-icon img, .gx-acceso__social-icon svg { width: 18px; height: 18px; }
.gx-acceso__volver { margin: 22px auto 0; display: flex; color: var(--gx-muted) !important; font-weight: 500; }
.gx-acceso__pie { text-align: center; color: var(--gx-muted); font-size: 14px; margin: 8px 0 0; padding-top: 22px; border-top: 1px solid var(--gx-line); }
.gx-acceso [hidden] { display: none !important; }
