/*
Theme Name: Hostel Copacabana
Theme URI: https://hostelcopacabana.com.ar
Author: Hostel Copacabana
Description: Theme para hostels y alojamientos con ficha al estilo de los grandes portales de reservas: galería en mosaico, tarjeta de reserva fija, habitaciones con carrusel, reseñas y botones flotantes. Compatible con WooCommerce.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hostel-copacabana
Tags: e-commerce, hotel, one-column, two-columns, custom-logo, custom-menu, featured-images, translation-ready, accessibility-ready
*/

/* =========================================================
   1. Tokens
   ========================================================= */
:root {
	--hc-accent: #D14A0B;
	--hc-ink: #1E2430;
	--hc-muted: #5B6270;
	--hc-line: #E6E2DC;
	--hc-surface: #F6F3EE;
	--hc-ok: #17795A;
	--hc-wa: #25D366;
	--hc-radius: 14px;
	--hc-radius-sm: 9px;
	--hc-shadow: 0 8px 28px rgba(30, 36, 48, .12);
	--hc-header-h: 68px;
	--hc-float-bottom: 20px;
	--hc-font: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--hc-max: 1180px;
}

/* =========================================================
   2. Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	font-family: var(--hc-font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--hc-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.has-mobile-bar { padding-bottom: 76px; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--hc-accent); text-underline-offset: 3px; }
a:hover { color: color-mix(in srgb, var(--hc-accent) 75%, #000); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--hc-accent); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hc-skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 10px 14px; z-index: 100001; border-radius: 8px; }
.hc-skip:focus { left: 8px; }
.hc-muted { color: var(--hc-muted); }
.hc-center { text-align: center; }
.hc-icon { flex: none; }

.hc-container { width: 100%; max-width: var(--hc-max); margin: 0 auto; padding: 0 20px; }
.hc-narrow { max-width: 820px; }
.hc-wide { max-width: var(--hc-max); }
.hc-main { padding: 28px 0 56px; }
.hc-page-title { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: .6em; }

/* =========================================================
   3. Botones
   ========================================================= */
.hc-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 22px; min-height: 48px;
	font: 700 1rem/1.2 var(--hc-font);
	border: 2px solid transparent; border-radius: var(--hc-radius-sm);
	background: var(--hc-accent); color: #fff; text-decoration: none; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.hc-btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
	background: color-mix(in srgb, var(--hc-accent) 80%, #000); color: #fff;
}
.hc-btn--sm { padding: 9px 16px; min-height: 42px; font-size: .95rem; }
.hc-btn--block { display: flex; width: 100%; }
.hc-btn--primary { background: var(--hc-accent); color: #fff; }
.hc-btn--outline { background: #fff; color: var(--hc-ink); border-color: var(--hc-ink); }
.hc-btn--outline:hover { background: var(--hc-ink); color: #fff; }
.hc-btn--ghost { background: transparent; color: var(--hc-ink); }
.hc-btn--ghost:hover { background: var(--hc-surface); color: var(--hc-ink); }
.hc-btn--light { background: #fff; color: var(--hc-ink); border-color: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.hc-btn--light:hover { background: var(--hc-surface); color: var(--hc-ink); }
.hc-btn--wa { background: #128C4A; color: #fff; }
.hc-btn--wa:hover { background: #0E6F3B; color: #fff; }
.hc-btn--disabled { background: var(--hc-line); color: var(--hc-muted); cursor: not-allowed; }

/* =========================================================
   4. Header
   ========================================================= */
.hc-header {
	position: sticky; top: 0; z-index: 1000;
	background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--hc-line);
}
.admin-bar .hc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .hc-header { top: 46px; } }
.hc-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--hc-header-h); }
.hc-brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--hc-ink); flex: none; }
.hc-brand__logo { max-height: 46px; width: auto; }
.hc-brand__name { font-weight: 800; font-size: 1.25rem; }
.hc-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.hc-menu, .hc-lang { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.hc-menu a, .hc-lang a { display: block; padding: 8px 12px; color: var(--hc-ink); text-decoration: none; font-weight: 600; border-radius: 8px; }
.hc-menu a:hover, .hc-lang a:hover { background: var(--hc-surface); color: var(--hc-ink); }
.hc-menu .sub-menu { display: none; }
.hc-header__actions { display: flex; align-items: center; gap: 10px; }
/* Carrito desplegable */
.hc-cart { position: relative; }
.hc-cart__toggle { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--hc-ink); border-radius: 50%; cursor: pointer; }
.hc-cart__toggle:hover, .hc-cart.is-open .hc-cart__toggle { background: var(--hc-surface); }
.hc-cart__count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--hc-accent); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.hc-cart__panel {
	position: absolute; right: 0; top: calc(100% + 10px); z-index: 1001;
	width: min(360px, calc(100vw - 32px)); max-height: 70vh; overflow-y: auto;
	background: #fff; border: 1px solid var(--hc-line); border-radius: var(--hc-radius); box-shadow: var(--hc-shadow); padding: 16px 18px;
}
.hc-cart__panel[hidden] { display: none; }
.hc-cart__title { font-weight: 800; margin: 0 0 10px; }
.hc-cart__empty { color: var(--hc-muted); margin: 0 0 12px; font-size: .95rem; }
.hc-cart__list { list-style: none; margin: 0; padding: 0; display: grid; }
.hc-cart__list li { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--hc-line); font-size: .95rem; }
.hc-cart__list li:first-child { border-top: 0; padding-top: 0; }
.hc-cart__name { font-weight: 700; }
.hc-cart__meta { color: var(--hc-muted); font-size: .88rem; }
.hc-cart__price { font-weight: 700; }
.hc-cart__total { display: flex; justify-content: space-between; margin: 10px 0 14px; padding-top: 12px; border-top: 2px solid var(--hc-ink); }
.hc-cart__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* Botón de video del menú */
.hc-video-btn { white-space: nowrap; }
.hc-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; color: var(--hc-ink); border-radius: 50%; cursor: pointer; }

@media (max-width: 900px) {
	.hc-header__inner { gap: 8px; }
	.hc-burger { display: inline-grid; place-items: center; }
	.hc-header__actions { margin-left: 0; }
	.hc-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0; margin: 0;
		background: #fff; border-bottom: 1px solid var(--hc-line); box-shadow: var(--hc-shadow);
		padding: 8px 20px 16px; display: none; max-height: calc(100vh - var(--hc-header-h)); overflow-y: auto;
	}
	.hc-nav.is-open { display: flex; }
	.hc-menu, .hc-lang { flex-direction: column; align-items: stretch; }
	.hc-menu a, .hc-lang a { padding: 14px 6px; border-bottom: 1px solid var(--hc-line); border-radius: 0; }
}
@media (max-width: 420px) {
	.hc-video-btn { width: 44px; height: 44px; padding: 0; border-radius: 50%; }
	.hc-video-btn__label { display: none; }
}

/* =========================================================
   5. Galería principal (mosaico)
   ========================================================= */
.hc-hero { padding: 20px 0 0; }
.hc-hero__wrap { position: relative; }
.hc-hero__grid {
	display: grid; gap: 8px;
	grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr);
	height: clamp(300px, 42vw, 480px);
	border-radius: var(--hc-radius); overflow: hidden;
}
.hc-hero__item { position: relative; display: block; overflow: hidden; background: var(--hc-surface); }
.hc-hero__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hc-hero__item:hover img { transform: scale(1.03); }
.hc-hero__item:first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
.hc-hero__item--extra { display: none; }
.hc-hero__all { position: absolute; right: 14px; bottom: 14px; z-index: 2; }
/* Menos de 5 fotos: se reacomoda */
.hc-hero__grid--n1 .hc-hero__item:first-child { grid-column: 1 / -1; }
.hc-hero__grid--n2 .hc-hero__item:first-child { grid-column: 1 / 4; }
.hc-hero__grid--n2 .hc-hero__item:nth-child(2) { grid-column: 4; grid-row: 1 / 3; }
.hc-hero__grid--n3 .hc-hero__item:first-child { grid-column: 1 / 4; }
.hc-hero__grid--n3 .hc-hero__item:nth-child(2) { grid-column: 4; grid-row: 1; }
.hc-hero__grid--n3 .hc-hero__item:nth-child(3) { grid-column: 4; grid-row: 2; }
.hc-hero__grid--n4 .hc-hero__item:first-child { grid-column: 1 / 3; }
.hc-hero__grid--n4 .hc-hero__item:nth-child(4) { grid-column: 3 / 5; }
.hc-hero__empty { padding: 36px; border: 2px dashed var(--hc-line); border-radius: var(--hc-radius); text-align: center; background: var(--hc-surface); }

@media (max-width: 900px) {
	.hc-hero { padding-top: 0; }
	.hc-hero > .hc-container { padding: 0; }
	.hc-hero__grid, .hc-hero__grid[class*="--n"] {
		display: flex; height: auto; border-radius: 0; gap: 0;
		overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	}
	.hc-hero__grid::-webkit-scrollbar { display: none; }
	.hc-hero__item, .hc-hero__item--extra, .hc-hero__grid[class*="--n"] .hc-hero__item {
		display: block; flex: 0 0 100%; grid-column: auto; grid-row: auto;
		aspect-ratio: 4 / 3; scroll-snap-align: start;
	}
	.hc-hero__all { right: 12px; bottom: 12px; }
}

/* =========================================================
   6. Layout de ficha (columna principal + tarjeta de reserva)
   ========================================================= */
.hc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.hc-layout__side { position: sticky; top: calc(var(--hc-header-h) + 20px); }
.admin-bar .hc-layout__side { top: calc(var(--hc-header-h) + 52px); }
@media (max-width: 1000px) {
	.hc-layout { grid-template-columns: 1fr; gap: 0; }
	.hc-layout__side { position: static; margin-top: 24px; }
	/* Con JS: panel inferior que se abre desde la barra móvil */
	.hc-js .hc-layout__side { display: none; margin: 0; }
	.hc-js .hc-layout__side.is-open {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 99990;
		max-height: 90vh; overflow-y: auto; overscroll-behavior: contain;
		background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, .3);
		padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
	}
	.hc-js .hc-layout__side.is-open .hc-book { border: 0; box-shadow: none; padding: 0; }
	.hc-js .hc-book__close { display: grid; }
}
.hc-backdrop { position: fixed; inset: 0; z-index: 99980; background: rgba(12, 14, 18, .55); }
body.hc-sheet { overflow: hidden; }
body.hc-sheet .hc-float, body.hc-sheet .hc-mbar { display: none; }

.hc-intro { padding-bottom: 20px; border-bottom: 1px solid var(--hc-line); }
.hc-intro__title { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: .2em; }
.hc-intro__tagline { font-size: 1.15rem; color: var(--hc-muted); }
.hc-intro__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.hc-intro__place { display: inline-flex; align-items: center; gap: 6px; color: var(--hc-muted); }
.hc-score { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--hc-ink); }
.hc-score__num { background: var(--hc-ink); color: #fff; font-weight: 800; padding: 4px 10px; border-radius: 8px 8px 8px 2px; font-size: 1.05rem; }
.hc-score__label { font-weight: 700; }
.hc-score__count { color: var(--hc-muted); text-decoration: underline; text-underline-offset: 3px; }

.hc-section { padding: 36px 0; border-bottom: 1px solid var(--hc-line); scroll-margin-top: calc(var(--hc-header-h) + 16px); }
.hc-section:last-child { border-bottom: 0; }
.hc-section__title { font-size: 1.6rem; margin-bottom: .8em; }
.hc-subtitle { font-size: 1.1rem; margin: 1.4em 0 .6em; }
.hc-prose { max-width: 68ch; }
.hc-prose p:last-child { margin-bottom: 0; }
.hc-notice { padding: 16px 18px; background: var(--hc-surface); border-radius: var(--hc-radius-sm); }

/* Servicios */
.hc-amenities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px 24px; }
.hc-amenities li { display: flex; align-items: center; gap: 12px; }
.hc-amenities .hc-icon { color: var(--hc-accent); }

/* Tarjeta de reserva */
.hc-book { background: #fff; border: 1px solid var(--hc-line); border-radius: var(--hc-radius); box-shadow: var(--hc-shadow); padding: 22px; display: grid; gap: 12px; }
.hc-book__flag { display: flex; gap: 8px; align-items: flex-start; font-weight: 800; font-size: 1.05rem; margin: 0; color: var(--hc-ok); }
.hc-book__flag .hc-icon { margin-top: 3px; }
.hc-book__text { margin: 0; color: var(--hc-muted); font-size: .95rem; }
.hc-book { position: relative; }
.hc-book__close { display: none; position: absolute; top: -4px; right: -4px; width: 40px; height: 40px; border: 0; background: var(--hc-surface); color: var(--hc-ink); border-radius: 50%; place-items: center; cursor: pointer; }
.hc-book__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hc-book__from { margin: 0; display: grid; line-height: 1.15; }
.hc-book__from span { color: var(--hc-muted); font-size: .9rem; }
.hc-book__from strong { font-size: 1.6rem; }
.hc-book__trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--hc-muted); font-size: .95rem; }
.hc-book__trust li { display: flex; gap: 8px; align-items: center; }
.hc-book__trust .hc-icon { color: var(--hc-ok); }

/* Buscador de YITH Booking dentro de la tarjeta */
.hc-book__widget { font-size: .95rem; min-width: 0; }
.hc-book__widget form { display: grid; gap: 10px; margin: 0; padding: 0; width: 100%; }
.hc-book__widget form > *, .hc-book__widget [class*="yith-wcbk-form-field"] { float: none !important; width: 100% !important; max-width: 100% !important; margin: 0 !important; min-width: 0; }
.hc-book__widget label { display: block; font-size: .8rem; color: var(--hc-muted); margin-bottom: 3px; font-weight: 600; }
.hc-book__widget input[type="text"], .hc-book__widget input[type="number"], .hc-book__widget input[type="date"], .hc-book__widget select { width: 100%; }
.hc-book__widget button[type="submit"], .hc-book__widget input[type="submit"], .hc-book__widget [class*="yith-wcbk"][class*="submit"] {
	display: flex; justify-content: center; align-items: center; width: 100%; min-height: 48px; padding: 12px 20px;
	background: var(--hc-accent); color: #fff; border: 0; border-radius: var(--hc-radius-sm); font: 700 1rem var(--hc-font); cursor: pointer;
}
.hc-book__widget button[type="submit"]:hover, .hc-book__widget input[type="submit"]:hover { background: color-mix(in srgb, var(--hc-accent) 80%, #000); }

/* Habitaciones */
.hc-rooms, .woocommerce ul.products.hc-rooms { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: 1fr; }
.woocommerce ul.products.hc-rooms::before, .woocommerce ul.products.hc-rooms::after { display: none; content: none; }
.woocommerce ul.products.hc-rooms li.hc-room.product,
.hc-rooms li.hc-room {
	display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0;
	width: auto; float: none; margin: 0; padding: 0;
	border: 1px solid var(--hc-line); border-radius: var(--hc-radius); overflow: hidden; background: #fff;
}
.hc-room__media { position: relative; min-width: 0; background: var(--hc-surface); }
.hc-room__placeholder img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.hc-room__body { padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hc-room__title { font-size: 1.25rem; margin: 0; }
.hc-room__title a { color: var(--hc-ink); text-decoration: none; }
.hc-room__title a:hover { color: var(--hc-accent); }
.hc-room__desc { color: var(--hc-muted); font-size: .96rem; margin: 0; }
.hc-room__buy { margin-top: auto; padding-top: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.hc-room__price { display: grid; gap: 2px; font-size: .92rem; }
.hc-room__flag { display: inline-flex; align-items: center; gap: 5px; color: var(--hc-ok); font-weight: 800; }
.hc-room__line { color: var(--hc-muted); }
.hc-room__line strong { color: var(--hc-ink); }
.hc-room__total { font-size: 1.35rem; font-weight: 800; }
.hc-room__total small { font-size: .85rem; font-weight: 500; color: var(--hc-muted); }
.hc-room .woocommerce-Price-amount { font-weight: inherit; }
@media (max-width: 700px) {
	.woocommerce ul.products.hc-rooms li.hc-room.product, .hc-rooms li.hc-room { grid-template-columns: 1fr; }
	.hc-room__buy { align-items: stretch; flex-direction: column; }
	.hc-room__buy .hc-btn { width: 100%; }
}

/* =========================================================
   7. Carrusel
   ========================================================= */
.hc-slider { position: relative; height: 100%; }
.hc-slider__track {
	display: flex; height: 100%; overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.hc-slider__track::-webkit-scrollbar { display: none; }
.hc-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; display: block; aspect-ratio: 3 / 2; cursor: zoom-in; }
.hc-slide img { width: 100%; height: 100%; object-fit: cover; }
.hc-room__media .hc-slide { aspect-ratio: auto; height: 100%; min-height: 210px; }
@media (max-width: 700px) { .hc-room__media .hc-slide { aspect-ratio: 3 / 2; height: auto; } }
.hc-slider__btn {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
	width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); color: var(--hc-ink);
	display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
	opacity: 0; transition: opacity .15s;
}
.hc-slider__btn--prev { left: 10px; }
.hc-slider__btn--next { right: 10px; }
.hc-slider:hover .hc-slider__btn, .hc-slider:focus-within .hc-slider__btn { opacity: 1; }
.hc-slider__btn:disabled { opacity: 0 !important; pointer-events: none; }
.hc-slider.is-single .hc-slider__btn, .hc-slider.is-single .hc-slider__dots { display: none; }
@media (hover: none) { .hc-slider__btn { display: none; } }
.hc-slider__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.hc-slider__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 0 2px rgba(0, 0, 0, .5); }
.hc-slider__dot.is-active { background: #fff; transform: scale(1.25); }

/* Lightbox */
.hc-lb { position: fixed; inset: 0; z-index: 100000; background: rgba(12, 14, 18, .95); display: flex; align-items: center; justify-content: center; padding: 56px 64px 64px; }
.hc-lb[hidden] { display: none; }
.hc-lb__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hc-lb__img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.hc-lb__cap { color: #e9e7e3; font-size: .95rem; text-align: center; }
.hc-lb__count { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #cfcbc4; font-size: .9rem; }
.hc-lb__close, .hc-lb__nav { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 4px; }
.hc-lb__close:hover, .hc-lb__nav:hover { background: rgba(255, 255, 255, .28); }
.hc-lb__close { top: 12px; right: 12px; }
.hc-lb__nav { top: 50%; transform: translateY(-50%); }
.hc-lb__prev { left: 12px; }
.hc-lb__next { right: 12px; }
.hc-lb.is-single .hc-lb__nav { display: none; }
body.hc-lock { overflow: hidden; }
body.hc-lock .hc-float, body.hc-lock .hc-mbar { display: none; }
@media (max-width: 700px) { .hc-lb { padding: 56px 8px 56px; } .hc-lb__nav { top: auto; bottom: 8px; transform: none; } }

/* =========================================================
   8. Ubicación y reseñas
   ========================================================= */
.hc-location__addr { display: flex; gap: 8px; align-items: center; color: var(--hc-muted); }
.hc-map { border-radius: var(--hc-radius); overflow: hidden; border: 1px solid var(--hc-line); margin-bottom: 14px; }
.hc-map iframe { display: block; width: 100%; height: 340px; border: 0; }
.hc-nearby { margin: 0; padding-left: 1.2em; }
.hc-reviews__summary { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.hc-reviews__badge { background: var(--hc-ink); color: #fff; font-weight: 800; font-size: 2rem; min-width: 74px; height: 74px; display: grid; place-items: center; border-radius: 16px 16px 16px 4px; }
.hc-reviews__label { font-size: 1.3rem; font-weight: 800; margin: 0; }
.hc-reviews__links { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.hc-reviews__widget { overflow: hidden; }

/* =========================================================
   9. Contenido genérico
   ========================================================= */
.hc-entry__content { max-width: 100%; }
.hc-entry__content > * { max-width: 100%; }
.hc-entry__content .alignwide, .hc-entry__content .alignfull { max-width: 100%; }
.hc-entry__content img { border-radius: 10px; }
.hc-entry__content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.hc-entry__content th, .hc-entry__content td { border: 1px solid var(--hc-line); padding: 10px 12px; text-align: left; }
.hc-entry__thumb { margin-bottom: 24px; }
.hc-entry__thumb img { border-radius: var(--hc-radius); }
.hc-posts { display: grid; gap: 22px; }
.hc-post-card { display: grid; grid-template-columns: 240px 1fr; gap: 20px; border: 1px solid var(--hc-line); border-radius: var(--hc-radius); overflow: hidden; }
.hc-post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.hc-post-card__body { padding: 18px 20px; }
.hc-post-card h2 a { color: var(--hc-ink); text-decoration: none; }
@media (max-width: 640px) { .hc-post-card { grid-template-columns: 1fr; } }
.navigation.pagination { margin-top: 28px; }
.navigation.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.navigation.pagination a, .navigation.pagination span { padding: 8px 14px; border: 1px solid var(--hc-line); border-radius: 8px; text-decoration: none; }
.navigation.pagination .current { background: var(--hc-ink); color: #fff; border-color: var(--hc-ink); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="password"], input[type="search"], select, textarea {
	font: inherit; padding: 11px 12px; min-height: 46px; border: 1px solid #cfcac2; border-radius: var(--hc-radius-sm); background: #fff; color: var(--hc-ink); max-width: 100%;
}
textarea { min-height: 120px; }

/* =========================================================
   10. Footer
   ========================================================= */
.hc-footer { background: var(--hc-ink); color: #dcd9d3; padding: 44px 0 20px; margin-top: 20px; }
.hc-footer a { color: #fff; }
.hc-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.hc-footer__title { font-weight: 800; color: #fff; margin-bottom: .6em; }
.hc-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hc-footer .hc-muted { color: #a9a59d; }
.hc-footer__legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); color: #a9a59d; }
@media (max-width: 700px) { .hc-footer__grid { grid-template-columns: 1fr; } }

/* =========================================================
   11. Barra móvil y botones flotantes
   ========================================================= */
.hc-mbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 9980;
	display: none; align-items: center; justify-content: space-between; gap: 12px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
	background: #fff; border-top: 1px solid var(--hc-line); box-shadow: 0 -6px 20px rgba(30, 36, 48, .08);
}
.hc-mbar__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; line-height: 1.2; font-size: .9rem; color: var(--hc-muted); }
.hc-mbar__price strong { font-size: 1.2rem; color: var(--hc-ink); }
@media (max-width: 900px) { .hc-mbar { display: flex; } }

.hc-float {
	position: fixed; z-index: 9990;
	bottom: calc(var(--hc-float-bottom) + env(safe-area-inset-bottom, 0px));
	display: flex; flex-direction: column; gap: 12px;
}
.hc-float--right { right: max(16px, env(safe-area-inset-right, 0px)); align-items: flex-end; }
.hc-float--left { left: max(16px, env(safe-area-inset-left, 0px)); align-items: flex-start; }
.hc-float__btn {
	position: relative; display: grid; place-items: center; width: 58px; height: 58px; padding: 0;
	border: 0; border-radius: 50%; color: #fff; cursor: pointer; text-decoration: none;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .28); transition: transform .15s, box-shadow .15s;
}
.hc-float__btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.hc-float__wa { background: var(--hc-wa); }
.hc-float__phone { background: var(--hc-ink); }
.hc-float__top { width: 46px; height: 46px; background: #fff; color: var(--hc-ink); border: 1px solid var(--hc-line); }
.hc-float__top:hover { color: var(--hc-ink); }
.hc-float__top[hidden] { display: none; }
.hc-float__label {
	position: absolute; top: 50%; transform: translateY(-50%); white-space: nowrap; pointer-events: none;
	background: var(--hc-ink); color: #fff; font-size: .9rem; font-weight: 600; padding: 8px 12px; border-radius: 8px; opacity: 0; transition: opacity .15s;
}
.hc-float--right .hc-float__label { right: calc(100% + 10px); }
.hc-float--left .hc-float__label { left: calc(100% + 10px); }
.hc-float__wa:hover .hc-float__label, .hc-float__wa:focus-visible .hc-float__label { opacity: 1; }
@media (hover: none) { .hc-float__label { display: none; } }
/* Con la barra de reserva móvil, los botones suben para no taparla */
@media (max-width: 900px) { body.has-mobile-bar { --hc-float-bottom: 92px; } }
@media (max-width: 480px) { .hc-float__btn { width: 54px; height: 54px; } }
@media print { .hc-float, .hc-mbar, .hc-header { display: none !important; } }

/* Compatibilidad con botones flotantes de plugins (Join.chat, Click to Chat, etc.):
   quedan por debajo del lightbox y de la barra móvil. */
#joinchat, .joinchat, #ht-ctc-chat, .ht-ctc, .wa__btn_popup, #qlwapp { z-index: 9985 !important; }
@media (max-width: 900px) {
	body.has-mobile-bar #joinchat, body.has-mobile-bar .joinchat, body.has-mobile-bar #ht-ctc-chat, body.has-mobile-bar .ht-ctc, body.has-mobile-bar #qlwapp { bottom: 92px !important; }
}

/* Elementor: evita que la grilla lo desborde */
.elementor-section-wrap, .elementor { max-width: 100%; }

/* =========================================================
   12. Ventana emergente de video
   ========================================================= */
.hc-modal { position: fixed; inset: 0; z-index: 100000; background: rgba(12, 14, 18, .9); display: flex; align-items: center; justify-content: center; padding: 56px 20px 20px; }
.hc-modal[hidden] { display: none; }
.hc-modal__box { position: relative; width: min(960px, 100%); }
.hc-modal__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--hc-radius-sm); overflow: hidden; }
.hc-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hc-modal__close { position: absolute; top: -48px; right: 0; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; display: grid; place-items: center; cursor: pointer; }
.hc-modal__close:hover { background: rgba(255, 255, 255, .3); }
@media (max-width: 600px) { .hc-modal { padding: 56px 8px 8px; align-items: center; } }
