/**
 * Estilos del front-end del plugin Gonher.
 * Layout: sidebar de categorias (izquierda) + grid de productos (derecha).
 */

.gonher-catalogo {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
	margin: 1.5rem 0;
}

/* ---- Sidebar de categorias ---- */
.gonher-sidebar {
	flex: 0 0 240px;
	max-width: 240px;
}

.gonher-sidebar__titulo {
	color: #FFF;
	margin: 0 0 0.75rem;
	font-size: 1.1rem;
	border-bottom: 2px solid #D0366F;
	padding-bottom: 0.4rem;
}

.gonher-cat-all {
	color: #FFF;
	display: block;
	font-weight: 800;
	padding: 0.35rem 0;
	text-decoration: none;
}

.gonher-cat-all.is-active {
	color: #ED575F;
}

/* Quitar bullets y margenes que el tema (Divi) suele inyectar en los li.
   Se usa alta especificidad para ganar sobre las reglas del tema. */
.gonher-catalogo ul,
.gonher-catalogo ul li,
.gonher-catalogo ol,
.gonher-catalogo ol li {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0;
	padding: 0;
}

.gonher-catalogo ul { padding: 0 !important }

.gonher-catalogo ul li::before,
.gonher-catalogo ul li::marker {
	content: none !important;
}

.gonher-cat-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Sublistas anidadas: se indentan para reflejar la jerarquia. */
.gonher-cat-list .gonher-cat-list {
	margin-left: 0.8rem;
	border-left: 1px solid #ececec;
	padding-left: 0.6rem;
}

.gonher-cat-item {
	margin: 0;
}

/* Fila: boton toggle + enlace de categoria. */
.gonher-cat-row {
	display: flex;
	align-items: center;
	gap: 0.15rem;
}

/* Boton de expandir/colapsar (flecha). */
.gonher-cat-toggle {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	position: relative;
}

/* La flecha: un triangulo con borde. */
.gonher-cat-toggle:not(.gonher-cat-toggle--empty)::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 6px;
	height: 6px;
	border-right: 2px solid #888;
	border-bottom: 2px solid #888;
	transform: translate(-50%, -60%) rotate(-45deg);
	transition: transform 0.15s ease;
}

/* Cuando el item esta abierto, la flecha apunta hacia abajo. */
.gonher-cat-item.is-open > .gonher-cat-row > .gonher-cat-toggle::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

/* Espaciador cuando no hay hijos (alinea los textos). */
.gonher-cat-toggle--empty {
	cursor: default;
}

.gonher-cat-link {
	color: #FFF;
	display: block;
	padding: 0.3rem 0;
	text-decoration: none;
	font-size: 0.92rem;
	line-height: 1.3;
	flex: 1 1 auto;
}

.gonher-cat-link:hover {
	color: #EDF000;
}

.gonher-cat-link.is-active {
	color: #2ea3f2;
	font-weight: 700;
}

/* Colapso: ocultar las sublistas de items colapsados. */
.gonher-cat-item.is-collapsed > .gonher-cat-list {
	display: none;
}

/* Sin JS: mostrar todo (degradacion elegante). */
.no-js .gonher-cat-item.is-collapsed > .gonher-cat-list {
	display: block;
}

/* ---- Contenido / grid ---- */
.gonher-contenido {
	flex: 1 1 auto;
	min-width: 0;
}

.gonher-catalogo__titulo {
	margin: 0 0 0.5rem;
}

/* ---- Buscador ---- */
.gonher-buscador {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}

.gonher-buscador__input {
	flex: 1 1 220px;
	padding: 0.5rem 0.7rem;
	border: 1px solid #FFF;
	border-radius: 4px;
	font-size: 0.9rem;
	background: transparent;
  color: #FFF !important;
}

.gonher-buscador__btn {
	padding: 0.5rem 3rem;
	border: 0;
	border-radius: 25px;
	background: linear-gradient(90deg,#FF3131,#FF914D);
	color: #fff;
	cursor: pointer;
	font-size: 0.9rem;
}

.gonher-buscador__btn:hover {
	background: #185a92;
}

@media( max-width: 576px ) {
	.gonher-buscador__btn { width: 100%; }
}

.gonher-buscador__limpiar {
	color: #777;
	font-size: 0.85rem;
	text-decoration: none;
}

.gonher-busqueda-info {
	font-style: italic;
	color: #555;
	margin: 0 0 0.5rem;
}

/* Variante "solo": los shortcodes modulares no fuerzan el ancho de 240px. */
.gonher-sidebar--solo {
	max-width: none;
	flex: 1 1 auto;
}

.gonher-contenido--solo {
	width: 100%;
}

.gonher-breadcrumb {
	font-size: 0.85rem;
	color: #777;
	margin-bottom: 0.5rem;
}

.gonher-breadcrumb a {
	color: #2ea3f2;
	text-decoration: none;
}

.gonher-breadcrumb__sep {
	color: #bbb;
}

.gonher-cat-actual {
	color: #FFF;
	margin: 0.25rem 0 0.5rem;
}

.gonher-conteo {
	color: #888;
	font-size: 0.85rem;
	margin: 0 0 1rem;
}

.gonher-productos {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 1rem;
}

.gonher-producto {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 1rem !important;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	background: #fff;
}

.gonher-producto__img {
	width: 100%;
	height: 140px;
	object-fit: contain;
	border-radius: 4px;
}

.gonher-producto__info {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.gonher-producto__nombre {
	color: #000;
	font-weight: 800;
	font-size: 0.9rem;
	line-height: 1.3;
}

.gonher-producto__separador {
	width: 100%;
  height: 2px;
}

.separador-azul { background-color: #054FA5; }
.separador-morado { background-color: #795090; }
.separador-rosa { background-color: #D0366F; }
.separador-salmon { background-color: #ED575F; }
.separador-naranja { background-color: #FF3131; }

.gonher-producto__marca {
	font-size: 0.78rem;
	color: #000;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.gonher-producto__codigo {
	color: #000;
	font-size: 0.72rem;
}

.gonher-producto__precio {
	color: #0aae39;
	font-weight: 700;
}

.gonher-producto__disponible {
	font-size: 0.75rem;
	color: #555;
}

/* ---- Paginacion ---- */
.gonher-paginacion {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 1.5rem;
	flex-wrap: wrap;
}

.gonher-pag-link {
	text-decoration: none;
	color: #2ea3f2;
	border: 1px solid #2ea3f2;
	padding: 0.35rem 0.8rem;
	border-radius: 4px;
	font-size: 0.85rem;
}

.gonher-pag-link:hover {
	background: #2ea3f2;
	color: #fff;
}

.gonher-pag-info {
	color: #777;
	font-size: 0.85rem;
}

/* ---- Mensajes ---- */
.gonher-error,
.gonher-empty {
	color: #666;
	padding: 1rem;
	background: #f6f6f6;
	border-radius: 4px;
}

/* ---- Responsive: en movil, sidebar arriba del grid ---- */
@media (max-width: 782px) {
	.gonher-catalogo {
		flex-direction: column;
	}

	.gonher-sidebar {
		flex: 1 1 auto;
		max-width: none;
		width: 100%;
	}

	/* En movil el acordeon sigue funcionando igual: las subcategorias se ven
	   solo cuando su padre esta expandido (clase is-open). */
}

/* ---- Enlace de la tarjeta de producto ---- */
.gonher-producto__link {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.gonher-producto__link:hover .gonher-producto__nombre {
	color: #2ea3f2;
}

/* ---- Ficha de detalle de producto ---- */
.gonher-volver {
	margin: 0 0 1rem;
}

.gonher-volver a {
	text-decoration: none;
	color: #2ea3f2;
}

.gonher-volver-footer { margin-top: 40px; }

.gonher-detalle {
	display: flex;
	gap: 2rem;
	align-items: flex-start;
	margin: 1rem 0 1.5rem;
	flex-wrap: wrap;
}

.gonher-detalle__media {
	flex: 0 0 460px;
	max-width: 460px;
}

/* Contenedor con boton para la imagen principal (permite el zoom / lupa). */
.gonher-detalle__img-wrap {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
	position: relative;
	line-height: 0;
}

.gonher-detalle__img {
	width: 100%;
	height: auto;
	min-height: 360px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background: #fafafa;
	object-fit: contain;
	transition: transform 0.25s ease;
}

/* Icono de lupa que aparece al pasar el cursor por la imagen principal. */
.gonher-detalle__zoom-hint {
	position: absolute;
	right: 10px;
	bottom: 10px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba( 0, 0, 0, 0.55 );
	opacity: 0;
	transition: opacity 0.2s ease;
	pointer-events: none;
}

.gonher-detalle__zoom-hint::before {
	content: '';
	position: absolute;
	left: 9px;
	top: 9px;
	width: 10px;
	height: 10px;
	border: 2px solid #fff;
	border-radius: 50%;
}

.gonher-detalle__zoom-hint::after {
	content: '';
	position: absolute;
	right: 8px;
	bottom: 8px;
	width: 8px;
	height: 2px;
	background: #fff;
	transform: rotate( 45deg );
	transform-origin: right center;
}

.gonher-detalle__img-wrap:hover .gonher-detalle__zoom-hint,
.gonher-detalle__img-wrap:focus-visible .gonher-detalle__zoom-hint {
	opacity: 1;
}

.gonher-detalle__img-wrap:hover .gonher-detalle__img {
	transform: scale( 1.02 );
}

.gonher-detalle__info {
	flex: 1 1 300px;
	min-width: 0;
}

.gonher-detalle__nombre {
	margin: 0 0 0.75rem;
}

.gonher-detalle__meta {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.gonher-detalle__meta li {
	font-size: 0.9rem;
	color: #FFF;
}

.gonher-detalle__precio {
	color: #d63638;
	font-weight: 800;
	font-size: 2rem;
	margin: 0 0 0.75rem;
}

.gonher-detalle__corta {
	color: #555;
	line-height: 1.5;
}

.gonher-detalle__descripcion,
.gonher-detalle__especs {
	margin: 1.5rem 0;
}

.gonher-detalle__descripcion h3,
.gonher-detalle__especs h3 {
	border-bottom: 2px solid #e0e0e0;
	padding-bottom: 0.4rem;
	margin-bottom: 0.75rem;
}

.gonher-detalle__descripcion img {
	max-width: 100%;
	height: auto;
}

.gonher-especs-tabla {
	width: 100%;
	max-width: 600px;
	border-collapse: collapse;
}

.gonher-especs-tabla th,
.gonher-especs-tabla td {
	text-align: left;
	padding: 0.5rem 0.75rem;
	border: 1px solid #e6e6e6;
	font-size: 0.9rem;
}

.gonher-especs-tabla th {
	background: #f7f7f7;
	width: 40%;
}

/* Responsive: la ficha pasa a una columna en movil. */
@media (max-width: 600px) {
	.gonher-detalle__media {
		flex: 1 1 auto;
		max-width: none;
		width: 100%;
	}
}

/* ---- Ficha de detalle rediseñada ---- */
.gonher-catalogo--detalle {
	display: block; /* anula el flex de 2 columnas del catalogo */
}

.gonher-detalle__titulo {
	color: #FFF;
	font-size: 1.8rem;
	font-weight: 800;
	margin: 0 0 1rem;
	text-transform: uppercase;
}

/* Miniaturas de imagenes secundarias. */
.gonher-detalle__miniaturas {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.6rem;
	flex-wrap: wrap;
}

.gonher-detalle__mini {
	width: 72px;
	height: 72px;
	object-fit: contain;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	background: #fafafa;
	cursor: pointer;
	transition: border-color 0.15s ease;
}

.gonher-detalle__mini:hover {
	border-color: #2ea3f2;
}

/* Miniatura actualmente mostrada en el visor principal. */
.gonher-detalle__mini.is-active {
	border-color: #2ea3f2;
	box-shadow: 0 0 0 1px #2ea3f2;
}

/* Tabla de volumetria. */
.gonher-volumetria {
	color: #FFF;
	font-size: 0.9em;
	font-weight: 600;
	margin-top: 1rem;
}

.gonher-print-overlay .gonher-volumetria { color: #666; }

.gonher-volumetria__tabla {
	width: 100%;
	max-width: 420px;
	border-collapse: collapse;
	margin-top: 0.4rem;
}

.gonher-volumetria__tabla th,
.gonher-volumetria__tabla td {
	border: 1px solid #e6e6e6;
	padding: 0.35rem 0.6rem;
	font-size: 0.85rem;
	text-align: left;
}

.gonher-volumetria__tabla th {
	background: #f7f7f7;
	width: 45%;
}

.gonher-detalle__corta {
	margin: 1.25rem 0;
	line-height: 1.5;
	color: #FFF;
}

/* ---- Pestañas ---- */
.gonher-tabs {
	color: #FFF;
	margin-top: 1.5rem;
}

.gonher-tabs h1,
.gonher-tabs h2,
.gonher-tabs h3,
.gonher-tabs h4,
.gonher-tabs h5,
.gonher-tabs h6 { color: #FFF; }

.gonher-tabs__nav {
	display: flex;
	gap: 0.25rem;
	border-bottom: 1px solid #ddd;
	flex-wrap: wrap;
}

.gonher-tab-btn {
	background: linear-gradient(90deg,#004AAD,#CB6CE6);
	border: 1px solid #ddd;
	border-bottom: 0;
	padding: 0.5rem 1rem;
	cursor: pointer;
	font-size: 0.9rem;
	border-radius: 4px 4px 0 0;
	color: #ddd;
	opacity: 0.8;
}

.gonher-tab-btn.is-active {
	background: linear-gradient(90deg,#FF3131,#FF914D);
	color: #FFF;
	font-weight: 800;
	position: relative;
	top: 1px;
	opacity: 1;
}

.gonher-tab-panel {
	border: 1px solid #ddd;
	border-top: 0;
	padding: 1rem;
	line-height: 1.55;
}

.gonher-tab-panel img {
	max-width: 100%;
	height: auto;
}

/* Con JS activo, solo el panel activo se muestra. */
.js-gonher-tabs .gonher-tab-panel {
	display: none;
}

.js-gonher-tabs .gonher-tab-panel.is-active {
	display: block;
}

/* Sin JS (fallback): todos los paneles visibles, apilados. */

/* ---- Boton imprimir ---- */
.gonher-detalle__acciones {
	margin-top: 1rem;
}

.gonher-btn-imprimir {
	background: linear-gradient(113deg,#73bc11 0%,#f7bd01 100%);
	color: #fff;
	border: 0;
	padding: 0.5rem 3rem;
	border-radius: 25px;
	cursor: pointer;
	font-size: 0.9rem;
}

.gonher-btn-imprimir.gonher-print-do {
	background: #2d3a67;
	padding: 0.5rem 1.1rem;
	border-radius: 4px;
}

.gonher-btn-imprimir.gonher-print-do:hover {
	background: #232d52;
}

.is-hidden {
	display: none !important;
}

/* ---- Modal de impresion ---- */
.gonher-print-overlay {
	position: fixed;
	inset: 0;
	background: rgba( 0, 0, 0, 0.55 );
	z-index: 100000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	overflow: auto;
	padding: 2rem 1rem;
}

.gonher-print-overlay[hidden] {
	display: none;
}

.gonher-print-dialog {
	background: #fff;
	width: 100%;
	max-width: 900px;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba( 0, 0, 0, 0.3 );
	overflow: hidden;
}

.gonher-print-controles {
	background: #f3f4f6;
	border-bottom: 1px solid #e0e0e0;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.gonher-print-controles__row {
	display: flex;
	gap: 1rem;
	align-items: center;
	flex-wrap: wrap;
}

.gonher-print-controles__row select {
	padding: 0.35rem 0.5rem;
}

.gonher-print-controles__botones {
	display: flex;
	gap: 0.5rem;
}

.gonher-print-cerrar {
	background: #e0e0e0;
	border: 0;
	padding: 0.5rem 1.1rem;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.9rem;
}

.gonher-print-area {
	padding: 1.5rem;
}

.gonher-print__titulo {
	font-size: 1.5rem;
	text-transform: uppercase;
	margin: 0 0 1rem;
}

.gonher-print__cabecera {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
	align-items: flex-start;
}

.gonher-print__media {
	flex: 0 0 300px;
	max-width: 300px;
}

.gonher-print__media img {
	width: 100%;
	height: auto;
}

.gonher-print__info {
	flex: 1 1 260px;
	min-width: 0;
}

.gonher-print__precio {
	color: #d63638;
	font-weight: 800;
	font-size: 1.8rem;
	margin: 0 0 0.35rem;
}

.gonher-print__leyenda {
	color: #d63638;
	font-weight: 700;
	font-size: 0.8rem;
	margin: 0 0 1rem;
}

.gonher-print__meta {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.gonher-print__meta li {
	font-size: 0.9rem;
	margin-bottom: 0.25rem;
}

.gonher-print__seccion {
	margin-top: 1.5rem;
}

.gonher-print__seccion h3 {
	border-bottom: 2px solid #e0e0e0;
	padding-bottom: 0.4rem;
	margin-bottom: 0.75rem;
}

.gonher-print__secundarias-grid {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: center;
}

.gonher-print__secundarias-grid img {
	max-width: 220px;
	height: auto;
}

/* Evitar scroll del fondo cuando el modal esta abierto. */
body.gonher-print-abierto {
	overflow: hidden;
}

/* ---- Impresion: solo el area imprimible ---- */
@media print {
	/* Colapsar todo el documento (excepto el overlay) para que no genere hojas
	   en blanco. display:none colapsa tambien el espacio (a diferencia de
	   visibility:hidden, que dejaba huecos). */
	body > *:not( .gonher-print-overlay ) {
		display: none !important;
	}

	/* El overlay se muestra en flujo NORMAL (position:static), no fixed/absolute:
	   un elemento fijo/absoluto solo imprime UNA pagina y corta el resto. Como el
	   JS lo movio a ser hijo directo de <body> y todo lo demas esta en display:none,
	   queda como unico contenido empezando desde arriba: sin hoja en blanco y con
	   paginado correcto en varias hojas. */
	.gonher-print-overlay {
		display: block !important;
		position: static !important;
		left: auto;
		top: auto;
		width: auto;
		height: auto;
		margin: 0;
		padding: 0;
		background: #fff;
		overflow: visible;
	}

	.gonher-print-dialog {
		box-shadow: none;
		max-width: none;
		width: 100%;
		border-radius: 0;
	}

	.gonher-print-area {
		padding: 0;
	}

	/* Ocultar los controles y lo marcado como oculto. */
	.no-print,
	.is-hidden {
		display: none !important;
	}

	/* Evitar cortes feos en secciones e imagenes. */
	.gonher-print__seccion,
	.gonher-print__secundarias-grid img {
		page-break-inside: avoid;
	}

	/* "Informacion adicional" siempre inicia en una pagina nueva (pagina 2). */
	.gonher-print__salto {
		page-break-before: always;
	}
}

/* ---- Lightbox / zoom de imagenes de producto ---- */
.gonher-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba( 0, 0, 0, 0.85 );
	padding: 2rem;
	overflow: hidden;
	touch-action: none;
}

.gonher-lightbox[hidden] {
	display: none;
}

/* Contenedor de la imagen ampliada; el zoom se aplica sobre la imagen. */
.gonher-lightbox__stage {
	position: relative;
	max-width: 95vw;
	max-height: 90vh;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: zoom-in;
}

.gonher-lightbox__img {
	max-width: 95vw;
	max-height: 90vh;
	width: auto;
	height: auto;
	object-fit: contain;
	transform-origin: center center;
	transition: transform 0.2s ease;
	user-select: none;
	-webkit-user-drag: none;
}

/* Cuando esta con zoom aplicado, el cursor indica que se puede arrastrar. */
.gonher-lightbox.is-zoomed .gonher-lightbox__stage {
	cursor: grab;
}

.gonher-lightbox.is-zoomed.is-panning .gonher-lightbox__stage {
	cursor: grabbing;
}

.gonher-lightbox.is-zoomed .gonher-lightbox__img {
	transition: none;
}

/* Boton de cierre. */
.gonher-lightbox__cerrar {
	position: absolute;
	top: 1rem;
	right: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba( 255, 255, 255, 0.12 );
	border-radius: 50%;
	background: rgba( 20, 20, 20, 0.6 );
	-webkit-backdrop-filter: blur( 8px );
	backdrop-filter: blur( 8px );
	color: #fff;
	font-size: 1.6rem;
	line-height: 0;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.1s ease;
	z-index: 2;
}

.gonher-lightbox__cerrar:hover {
	background: rgba( 255, 255, 255, 0.22 );
}

.gonher-lightbox__cerrar:active {
	transform: scale( 0.92 );
}

.gonher-lightbox__cerrar:focus-visible,
.gonher-lightbox__nav:focus-visible {
	outline: 2px solid rgba( 255, 255, 255, 0.7 );
	outline-offset: 2px;
}

/* Flechas de navegacion (cuando hay varias imagenes). */
.gonher-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY( -50% );
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba( 255, 255, 255, 0.12 );
	border-radius: 50%;
	background: rgba( 20, 20, 20, 0.6 );
	-webkit-backdrop-filter: blur( 8px );
	backdrop-filter: blur( 8px );
	color: #fff;
	font-size: 1.8rem;
	line-height: 0;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.1s ease;
	z-index: 2;
}

.gonher-lightbox__nav:hover {
	background: rgba( 255, 255, 255, 0.22 );
}

.gonher-lightbox__nav:active {
	transform: translateY( -50% ) scale( 0.92 );
}

.gonher-lightbox__nav--prev {
	left: 1rem;
}

.gonher-lightbox__nav--next {
	right: 1rem;
}

.gonher-lightbox__nav[hidden] {
	display: none;
}

/* Controles de zoom (+/-): barra flotante centrada abajo. */
.gonher-lightbox__zoom-ctrls {
	position: absolute;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX( -50% );
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.35rem;
	border-radius: 999px;
	background: rgba( 20, 20, 20, 0.6 );
	-webkit-backdrop-filter: blur( 8px );
	backdrop-filter: blur( 8px );
	box-shadow: 0 4px 18px rgba( 0, 0, 0, 0.35 );
	border: 1px solid rgba( 255, 255, 255, 0.12 );
	z-index: 2;
}

.gonher-lightbox__zoom-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	line-height: 0;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.1s ease;
}

.gonher-lightbox__zoom-btn svg {
	display: block;
	width: 22px;
	height: 22px;
}

.gonher-lightbox__zoom-btn:hover {
	background: rgba( 255, 255, 255, 0.18 );
}

.gonher-lightbox__zoom-btn:active {
	transform: scale( 0.92 );
	background: rgba( 255, 255, 255, 0.28 );
}

.gonher-lightbox__zoom-btn:focus-visible {
	outline: 2px solid rgba( 255, 255, 255, 0.7 );
	outline-offset: 2px;
}

/* Separador vertical entre los botones + y -. */
.gonher-lightbox__zoom-sep {
	width: 1px;
	height: 22px;
	background: rgba( 255, 255, 255, 0.25 );
	margin: 0 0.15rem;
}

body.gonher-lightbox-abierto {
	overflow: hidden;
}

@media ( max-width: 600px ) {
	.gonher-lightbox {
		padding: 0.5rem;
	}
}

/* No mostrar el lightbox al imprimir. */
@media print {
	.gonher-lightbox {
		display: none !important;
	}
}
