/* ==========================================================================
   Property Single — page-property.php styles
   Colores extraídos del Figma:
     bg:        #f9f2ea  (crema cálido)
     text:      #1c130a  (café oscuro)
     accent:    #b3b77e  (verde salvia/dorado)
     border:    #383028  (café medio)
     muted:     #444
     white:     #ffffff
   Tipografías: Georgia Pro Cond Light → serif fallback
                AUTHENTIC Sans → sans-serif fallback
   ========================================================================== */

/* --------------------------------------------------------------------------
   Variables locales de propiedad
   -------------------------------------------------------------------------- */
:root {
	--fx-p-bg:        #f9f2ea;
	--fx-p-text:      #1c130a;
	--fx-p-accent:    #b3b77e;
	--fx-p-border:    #383028;
	--fx-p-muted:     #444444;
	--fx-p-line:      #eeeeee;
	--fx-p-white:     #ffffff;
	--fx-p-radius-lg: 24px;
	--fx-p-radius-md: 14px;
	--fx-p-radius-sm: 10px;
	--fx-p-radius-xs: 5px;
	--fx-p-shadow:    0 2px 2.5px rgba(50,54,72,.08);
	--fx-p-max:       1260px;
	--fx-p-sidebar-w: 400px;
	--fx-p-gap:       90px;
}

/* --------------------------------------------------------------------------
   Botón retroceder
   -------------------------------------------------------------------------- */
.fx-back-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 20px;
	font-family: 'AUTHENTIC Sans', sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: var(--fx-p-muted);
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
}

.fx-back-link:hover {
	color: var(--fx-p-text);
	transform: translateX(-2px);
}

.fx-back-link svg {
	stroke: currentColor;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

/* ==========================================================================
   Base de la página
   ========================================================================== */
.fx-property-single {
	background-color: var(--fx-p-bg);
	color: var(--fx-p-text);
	font-family: 'Georgia Pro', Georgia, 'Times New Roman', serif;
	min-height: 100vh;
}

/* ==========================================================================
   LAYOUT — el hero debe extenderse debajo del header transparente.
   El #content sigue en flow normal, que con un header absolute empieza
   en top: 0. No debería haber gap, pero por si Elementor o WP inyectan
   algo, forzamos margin/padding a cero.
   ========================================================================== */

body.fx-property-single #content {
	padding-top: 0;
	margin-top: 0;
}
body.fx-property-single #content > .fx-property-single {
	padding-top: 0;
	margin-top: 0;
}

/* ==========================================================================
   HERO — grid 2×2, full-width, edge-to-edge
   ========================================================================== */
.fx-hero {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding: 0 !important;
}

.fx-hero__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 340px 340px;
	gap: 14px;
	padding: 0;
}

.fx-hero__cell {
	overflow: hidden;
	position: relative;
}

.fx-hero__cell img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .6s ease;
}

/* Las celdas ahora son <button>: reset de estilos nativos */
.fx-hero__cell {
	all: unset;
	display: block;
	overflow: hidden;
	position: relative;
	cursor: zoom-in;
}

.fx-hero__cell:hover img {
	transform: scale(1.03);
}


/* Botón "Ver más fotos" — dentro del hero, esquina inferior derecha */
.fx-hero__gallery-btn {
	position: absolute;
	bottom: 28px;
	right: 32px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(28,19,10,.7);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 6px;
	padding: 10px 20px;
	font-family: 'AUTHENTIC Sans', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: var(--fx-p-accent);
	cursor: pointer;
	letter-spacing: .02em;
	transition: background .2s, transform .15s;
	z-index: 5;
}

.fx-hero__gallery-btn:hover {
	background: rgba(28,19,10,.85);
	transform: translateY(-1px);
}

.fx-hero__gallery-icon {
	font-size: 16px;
}

/* ==========================================================================
   Layout: body (main + sidebar)
   ========================================================================== */
.fx-property-body {
	display: grid;
	grid-template-columns: 1fr var(--fx-p-sidebar-w);
	gap: var(--fx-p-gap);
	align-items: start;
	padding-top: 48px;
	padding-bottom: 80px;
	max-width: var(--fx-p-max);
}

/* ==========================================================================
   Columna principal
   ========================================================================== */
.fx-property-main {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

/* Títulos de sección */
.fx-section-title {
	font-family: 'Georgia Pro', Georgia, serif;
	font-weight: 300;
	font-size: 32px;
	line-height: 1;
	color: var(--fx-p-text);
	margin: 0 0 24px;
}

/* --------------------------------------------------------------------------
   Intro: título + stats
   -------------------------------------------------------------------------- */
.fx-property-intro {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fx-property-title {
	font-family: 'Georgia Pro', Georgia, serif;
	font-weight: 300;
	font-size: clamp(52px, 5.5vw, 80px);
	line-height: 1.0;
	color: var(--fx-p-text);
	margin: 0;
}

.fx-property-address {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: var(--fx-p-muted, #6b7280);
	margin: 6px 0 0;
	padding: 0;
}

.fx-property-stats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0 32px;
}

.fx-property-stats li {
	font-family: 'Georgia Pro', Georgia, serif;
	font-weight: 300;
	font-size: 20px;
	color: var(--fx-p-text);
	white-space: nowrap;
	position: relative;
}

.fx-property-stats li + li::before {
	content: '·';
	position: absolute;
	left: -18px;
	color: var(--fx-p-muted);
}

/* --------------------------------------------------------------------------
   Descripción
   -------------------------------------------------------------------------- */
.fx-property-desc {
	position: relative;
}

.fx-property-desc__text {
	font-family: 'AUTHENTIC Sans', sans-serif;
	font-size: 16px;
	line-height: 1.67;
	color: var(--fx-p-text);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: -webkit-line-clamp 0s;
}

.fx-property-desc__text.is-expanded {
	display: block;
	-webkit-line-clamp: unset;
}

.fx-property-desc__toggle {
	background: none;
	border: none;
	padding: 8px 0 0;
	font-family: 'AUTHENTIC Sans', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: var(--fx-p-text);
	cursor: pointer;
	letter-spacing: .03em;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Habitaciones — slider horizontal
   -------------------------------------------------------------------------- */
.fx-property-rooms__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.fx-property-rooms__header .fx-section-title {
	margin: 0;
}

.fx-rooms-nav {
	display: flex;
	gap: 8px;
}

.fx-rooms-nav__btn {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid var(--fx-p-border);
	background: var(--fx-p-accent);
	color: var(--fx-p-muted);
	font-size: 18px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .2s, transform .15s;
}

.fx-rooms-nav__btn:hover {
	background: #a2a66c;
	transform: scale(1.08);
}

.fx-rooms-track-wrapper {
	overflow: hidden;
}

.fx-rooms-track {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 20px;
	transition: transform .4s cubic-bezier(.4,0,.2,1);
	will-change: transform;
}

/* Cards de habitación */
.fx-room-card {
	flex: 0 0 calc((100% - 40px) / 3);
	min-width: 0;
	background: var(--fx-p-white);
	border-radius: var(--fx-p-radius-sm);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--fx-p-shadow);
	transition: transform .25s, box-shadow .25s;
}

.fx-room-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 32px rgba(50,54,72,.13);
}

.fx-room-card__link {
	display: block;
	text-decoration: none;
}

.fx-room-card__img-wrap {
	aspect-ratio: 4/3;
	overflow: hidden;
}

.fx-room-card__img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}

.fx-room-card:hover .fx-room-card__img-wrap img {
	transform: scale(1.06);
}

.fx-room-card__body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.fx-room-card__name {
	font-family: 'Georgia Pro', Georgia, serif;
	font-weight: 600;
	font-size: 18px;
	color: var(--fx-p-text);
	margin: 0;
}

.fx-room-card__bed {
	font-family: 'AUTHENTIC Sans', sans-serif;
	font-size: 13px;
	color: var(--fx-p-muted);
	margin: 0;
}

.fx-room-card__desc {
	font-family: 'AUTHENTIC Sans', sans-serif;
	font-size: 13px;
	line-height: 1.55;
	color: var(--fx-p-text);
	margin: 0 0 4px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-height: calc(13px * 1.55 * 3);
}


/* --------------------------------------------------------------------------
   Botón global
   -------------------------------------------------------------------------- */
.fx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 20px;
	border-radius: var(--fx-p-radius-xs);
	font-family: 'AUTHENTIC Sans', sans-serif;
	font-size: 14.6px;
	font-weight: 500;
	letter-spacing: .02em;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background .2s, transform .15s, box-shadow .2s;
}

.fx-btn--primary {
	background: var(--fx-p-accent);
	border: 1px solid var(--fx-p-accent);
	color: var(--fx-p-text);
}

.fx-btn--primary:hover {
	background: #a2a66c;
	border-color: #a2a66c;
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(179,183,126,.35);
}

.fx-btn--full {
	width: 100%;
	height: 51px;
}

/* --------------------------------------------------------------------------
   Amenidades
   -------------------------------------------------------------------------- */
.fx-property-amenities {
	border-top: 1px solid var(--fx-p-line);
	border-bottom: 1px solid var(--fx-p-line);
	padding: 28px 0;
}

.fx-amenities-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
}

.fx-amenity {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: 'AUTHENTIC Sans', sans-serif;
	font-size: 14px;
	color: var(--fx-p-text);
}

.fx-amenity .fa {
	font-size: 16px;
	color: var(--fx-p-text);
	width: 20px;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Disponibilidad
   -------------------------------------------------------------------------- */
.fx-property-availability {
	/* El shortcode de VikBooking heredará estilos del plugin */
}

.fx-availability-widget {
	border: 1px solid var(--fx-p-border);
	border-radius: var(--fx-p-radius-lg);
	background: var(--fx-p-white);
	padding: 24px;
	box-shadow: var(--fx-p-shadow);
}

/* Demo placeholder del calendario */
.fx-calendar-demo {
	min-height: 260px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--fx-p-muted);
	font-family: 'AUTHENTIC Sans', sans-serif;
	font-size: 14px;
}

.fx-calendar-demo::before {
	content: 'El calendario de disponibilidad se mostrará aquí (shortcode VikBooking)';
	opacity: .5;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Mapa
   -------------------------------------------------------------------------- */
.fx-map-embed {
	border-radius: var(--fx-p-radius-md);
	overflow: hidden;
	height: 400px;
	border: 1px solid var(--fx-p-line);
}

.fx-map-embed iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* ==========================================================================
   SIDEBAR — tarjeta de reserva sticky
   ========================================================================== */
.fx-property-sidebar {
	position: sticky;
	top: 100px;                 /* compensa la altura del header sticky */
	align-self: start;
}

.fx-booking-card {
	background: var(--fx-p-white);
	border: 1px solid var(--fx-p-border);
	border-radius: var(--fx-p-radius-md);
	box-shadow: var(--fx-p-shadow);
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* Precio */
.fx-booking-card__price {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.fx-booking-card__desde {
	font-family: 'Georgia Pro', Georgia, serif;
	font-weight: 300;
	font-size: 20px;
	color: var(--fx-p-text);
}

.fx-booking-card__amount {
	font-family: 'PT Serif', Georgia, serif;
	font-weight: 700;
	font-size: 28px;
	color: var(--fx-p-text);
}

.fx-booking-card__per {
	font-family: 'Georgia Pro', Georgia, serif;
	font-weight: 300;
	font-size: 14px;
	color: var(--fx-p-muted);
}

.fx-booking-card__hint {
	font-family: 'Georgia Pro', Georgia, serif;
	font-weight: 300;
	font-size: 15px;
	line-height: 1.4;
	color: var(--fx-p-text);
	margin: 0;
}

/* --------------------------------------------------------------------------
   Formulario de reserva
   -------------------------------------------------------------------------- */
.fx-booking-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fx-booking-msg {
	padding: 12px;
	border-radius: var(--fx-p-radius-xs);
	background: #ffebeb;
	color: #d00000;
	font-family: 'AUTHENTIC Sans', sans-serif;
	font-size: 13px;
	font-weight: 500;
	border: 1px solid #ffcdcd;
	margin-bottom: 10px;
	text-align: center;
}

.fx-booking-form__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.fx-booking-form__label {
	font-family: 'AUTHENTIC Sans', sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: var(--fx-p-text);
	letter-spacing: .02em;
}

.fx-booking-form__input-wrap,
.fx-booking-form__select-wrap {
	position: relative;
}

.fx-booking-form__input,
.fx-booking-form__select {
	width: 100%;
	height: 50px;
	padding: 0 44px 0 12px;
	border: 2px solid var(--fx-p-line);
	border-radius: var(--fx-p-radius-sm);
	font-family: 'AUTHENTIC Sans', sans-serif;
	font-size: 14px;
	color: var(--fx-p-muted);
	background: var(--fx-p-white);
	appearance: none;
	-webkit-appearance: none;
	transition: border-color .2s, box-shadow .2s;
	cursor: pointer;
}

.fx-booking-form__input:focus,
.fx-booking-form__select:focus {
	outline: none;
	border-color: var(--fx-p-accent);
	box-shadow: 0 0 0 3px rgba(179,183,126,.2);
}

.fx-booking-form__input::-webkit-calendar-picker-indicator {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: auto;
	height: auto;
	color: transparent;
	background: transparent;
	cursor: pointer;
}

.fx-booking-form__icon {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 16px;
	pointer-events: none;
	color: var(--fx-p-muted);
}

/* Chevron select */
.fx-booking-form__select-wrap::after {
	content: '▾';
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: var(--fx-p-muted);
	font-size: 12px;
}

/* --------------------------------------------------------------------------
   Room Picker — dropdown custom con thumbnails
   -------------------------------------------------------------------------- */
.fx-room-picker {
	position: relative;
}

.fx-room-picker__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 50px;
	padding: 0 14px;
	border: 2px solid var(--fx-p-line);
	border-radius: var(--fx-p-radius-sm);
	background: var(--fx-p-white);
	font-family: 'AUTHENTIC Sans', sans-serif;
	font-size: 14px;
	color: var(--fx-p-muted);
	cursor: pointer;
	transition: border-color .2s, box-shadow .2s;
	text-align: left;
}

.fx-room-picker__trigger:focus,
.fx-room-picker__trigger[aria-expanded="true"] {
	outline: none;
	border-color: var(--fx-p-accent);
	box-shadow: 0 0 0 3px rgba(179,183,126,.2);
}

/* Cuando hay habitación seleccionada, el trigger muestra thumb + nombre */
.fx-room-picker__trigger.has-selection {
	color: var(--fx-p-text);
	font-weight: 500;
	gap: 10px;
	justify-content: flex-start;
}

.fx-room-picker__trigger.has-selection .fx-room-picker__chevron {
	margin-left: auto;
}

.fx-room-picker__trigger .fx-room-picker__selected-thumb {
	width: 36px;
	height: 28px;
	border-radius: 4px;
	object-fit: cover;
	flex-shrink: 0;
}

.fx-room-picker__chevron {
	font-size: 12px;
	color: var(--fx-p-muted);
	transition: transform .2s;
}

.fx-room-picker__trigger[aria-expanded="true"] .fx-room-picker__chevron {
	transform: rotate(180deg);
}

/* Dropdown */
.fx-room-picker__dropdown {
	list-style: none;
	margin: 6px 0 0;
	padding: 6px;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 20;
	background: var(--fx-p-white);
	border: 2px solid var(--fx-p-line);
	border-radius: var(--fx-p-radius-sm);
	box-shadow: 0 8px 24px rgba(28,19,10,.12);
	max-height: 260px;
	overflow-y: auto;
	display: none;
}

.fx-room-picker__dropdown.is-open {
	display: block;
	animation: fxPickerIn .18s ease-out;
}

@keyframes fxPickerIn {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Cada opción */
.fx-room-picker__option {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	border-radius: 6px;
	cursor: pointer;
	transition: background .15s;
}

.fx-room-picker__option:hover,
.fx-room-picker__option:focus-visible {
	background: var(--fx-p-bg);
	outline: none;
}

.fx-room-picker__option.is-selected {
	background: rgba(179,183,126,.15);
	border: 1px solid var(--fx-p-accent);
}

.fx-room-picker__thumb {
	width: 56px;
	height: 42px;
	border-radius: 5px;
	object-fit: cover;
	flex-shrink: 0;
}

.fx-room-picker__info {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.fx-room-picker__name {
	font-family: 'AUTHENTIC Sans', sans-serif;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--fx-p-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fx-room-picker__bed {
	font-family: 'AUTHENTIC Sans', sans-serif;
	font-size: 11.5px;
	color: var(--fx-p-muted);
}

/* Fila huéspedes (2 columnas: adultos + niños) */
.fx-booking-form__guests-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.fx-booking-form__guest-col {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media ( max-width: 1100px ) {
	:root {
		--fx-p-sidebar-w: 340px;
	}
}

@media ( max-width: 900px ) {
	.fx-hero__grid {
		grid-template-rows: 240px 240px;
	}
	.fx-property-body {
		grid-template-columns: 1fr;
	}
	.fx-property-sidebar {
		position: static;
		order: -1;
	}
	.fx-booking-card {
		border-radius: var(--fx-p-radius-sm);
	}
}

@media ( max-width: 640px ) {
	.fx-hero__grid {
		grid-template-rows: 180px 180px;
		gap: 4px;
	}
	.fx-hero__gallery-btn {
		bottom: 16px;
		right: 16px;
		padding: 8px 14px;
		font-size: 12px;
	}
	.fx-property-title {
		font-size: 42px;
	}
.fx-property-address {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: var(--fx-p-muted, #6b7280);
	margin: 6px 0 0;
	padding: 0;
}

	.fx-property-stats {
		gap: 0 20px;
	}
	.fx-property-stats li {
		font-size: 16px;
	}
	.fx-room-card {
		flex: 0 0 80vw;
	}
	.fx-booking-form__guests {
		grid-template-columns: auto 1fr 1fr;
	}
	.fx-property-body {
		padding-top: 28px;
		padding-bottom: 48px;
	}
	.fx-map-embed {
		height: 280px;
	}
}

/* ==========================================================================
   LIGHTBOX — caja de luz nativa (sin dependencias)
   ========================================================================== */

.fx-lb {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(10, 7, 4, .94);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 16px;
}

.fx-lb.is-open {
	display: flex;
	animation: fxLbIn .22s ease-out;
}

@keyframes fxLbIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Imagen principal */
.fx-lb__img-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 92vw;
	max-height: 80vh;
}

.fx-lb__img {
	display: block;
	max-width: 92vw;
	max-height: 80vh;
	object-fit: contain;
	border-radius: 6px;
	box-shadow: 0 24px 80px rgba(0,0,0,.7);
	user-select: none;
	animation: fxLbImgIn .2s ease-out;
}

@keyframes fxLbImgIn {
	from { opacity: 0; transform: scale(.96); }
	to   { opacity: 1; transform: scale(1);   }
}

/* Contador "2 / 4" */
.fx-lb__counter {
	font-family: 'AUTHENTIC Sans', sans-serif;
	font-size: 13px;
	color: rgba(255,255,255,.5);
	letter-spacing: .06em;
}

/* Botones de control */
.fx-lb__btn {
	all: unset;
	position: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255,255,255,.12);
	color: #fff;
	font-size: 22px;
	cursor: pointer;
	transition: background .18s, transform .15s;
	line-height: 1;
}

.fx-lb__btn:hover {
	background: rgba(255,255,255,.22);
	transform: scale(1.08);
}

.fx-lb__close {
	top: 20px;
	right: 24px;
	font-size: 20px;
}

.fx-lb__prev {
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.fx-lb__prev:hover { transform: translateY(-50%) scale(1.08); }

.fx-lb__next {
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.fx-lb__next:hover { transform: translateY(-50%) scale(1.08); }

/* Ocultar prev/next cuando no aplica */
.fx-lb__prev:disabled,
.fx-lb__next:disabled {
	opacity: .25;
	pointer-events: none;
}

/* Thumbnails en la parte inferior */
.fx-lb__thumbs {
	display: flex;
	gap: 8px;
	max-width: 92vw;
	overflow-x: auto;
	padding: 4px 0 8px;
	scrollbar-width: none;
}

.fx-lb__thumbs::-webkit-scrollbar { display: none; }

.fx-lb__thumb {
	all: unset;
	flex-shrink: 0;
	width: 56px;
	height: 42px;
	border-radius: 5px;
	overflow: hidden;
	cursor: pointer;
	opacity: .5;
	transition: opacity .2s, transform .2s;
	border: 2px solid transparent;
}

.fx-lb__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fx-lb__thumb.is-active,
.fx-lb__thumb:hover {
	opacity: 1;
	border-color: var(--fx-p-accent);
	transform: translateY(-2px);
}
