/*
Theme Name: Ray Booking Theme
Theme URI: https://www.aplicacionesweb.net
Author: Rayco Garcia (Aplicaciones Web Hosting)
Author URI: https://www.aplicacionesweb.net
Description: Un tema espectacular y elegante con efecto glassmorphism para reservas directas de viviendas vacacionales, firmado por Rayco Garcia de Aplicaciones Web Hosting. Soporte: soporte@aplicacionesweb.net, Tel: +34928090909.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ray-booking-theme
*/

/* --- Variables de Diseño (Aesthetics System - Luxury Beach & Ocean Theme) --- */
:root {
	--bg-primary: #fcfbfa; /* Blanco lino suave ultra limpio */
	--bg-secondary: #f5f6f1; /* Gris arena claro estilo Alava Suites */
	--accent-gold: #af884f; /* Oro ocre elegante Alava Suites */
	--accent-gold-hover: #96713d; /* Ocre oscuro en hover */
	--accent-luxury: #af884f; /* Mismo tono de lujo dorado */
	--text-primary: #212529; /* Carbono suave de alta legibilidad */
	--text-secondary: #5a6065; /* Gris intermedio */
	--glass-bg: rgba(255, 255, 255, 0.88); /* Cristal glaseado elegante */
	--glass-border: rgba(175, 136, 79, 0.15); /* Contorno dorado suave */
	--glass-shadow: rgba(33, 37, 41, 0.04); /* Sombra muy sutil */
	--font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-headings: 'Playfair Display', Georgia, serif;
	--border-radius-lg: 24px;
	--border-radius-md: 16px;
	--transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset básico */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background-color: var(--bg-primary);
	color: var(--text-primary);
	font-family: var(--font-primary);
	font-weight: 400;
	letter-spacing: 0.3px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-headings);
	font-weight: 700;
	color: var(--text-primary);
}

/* Glassmorphism utility card */
.glass-card {
	background: var(--glass-bg);
	backdrop-filter: blur(25px);
	-webkit-backdrop-filter: blur(25px);
	border: 1px solid var(--glass-border);
	box-shadow: 0 12px 35px 0 var(--glass-shadow);
	border-radius: var(--border-radius-lg);
	padding: 30px;
}

/* Header & Navigation */
header.site-header {
	background: rgba(253, 252, 249, 0.85);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(2, 128, 144, 0.08);
	position: sticky;
	top: 0;
	z-index: 100;
	padding: 20px 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo a {
	color: var(--text-primary);
	font-size: 26px;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: 0.5px;
}

.logo span {
	color: var(--accent-gold);
}

/* Buscador Flotante (Search Hero Bar) */
.vv-search-hero-bar {
	max-width: 1400px;
	margin: 40px auto 0;
	padding: 0 20px;
}

.search-bar-inner {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
	gap: 20px;
	align-items: center;
	padding: 18px 30px;
	border-radius: 60px; /* Cápsula elegante */
	border: 1px solid rgba(2, 128, 144, 0.15);
	box-shadow: 0 10px 30px rgba(29, 45, 68, 0.04);
}

@media (max-width: 991px) {
	.search-bar-inner {
		grid-template-columns: 1fr;
		border-radius: var(--border-radius-lg);
		padding: 25px;
	}
}

.search-col {
	display: flex;
	flex-direction: column;
	border-right: 1px solid rgba(2, 128, 144, 0.15);
	padding-right: 15px;
}

.search-col:last-of-type {
	border-right: none;
}

@media (max-width: 991px) {
	.search-col {
		border-right: none;
		border-bottom: 1px solid rgba(2, 128, 144, 0.15);
		padding-right: 0;
		padding-bottom: 15px;
	}
}

.search-col label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--accent-gold);
	margin-bottom: 4px;
	font-weight: 700;
}

.search-col input, 
.search-col select {
	background: transparent;
	border: none;
	color: var(--text-primary);
	font-size: 15px;
	font-weight: 600;
	outline: none;
	width: 100%;
}

.search-col select option {
	background-color: var(--bg-primary);
	color: var(--text-primary);
}

.btn-search-trigger {
	background: var(--accent-gold);
	color: #ffffff;
	border: none;
	padding: 14px 28px;
	font-size: 15px;
	font-weight: 700;
	border-radius: 40px;
	cursor: pointer;
	transition: var(--transition-smooth);
	box-shadow: 0 4px 15px rgba(2, 128, 144, 0.2);
}

.btn-search-trigger:hover {
	background: var(--accent-gold-hover);
	transform: scale(1.03);
	box-shadow: 0 6px 20px rgba(2, 128, 144, 0.3);
}

/* Layout principal */
.vv-product-layout {
	max-width: 1400px;
	margin: 40px auto 100px;
	padding: 0 20px;
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 50px;
}

@media (max-width: 991px) {
	.vv-product-layout {
		grid-template-columns: 1fr;
		margin-bottom: 60px;
	}
}

/* Galería Espectacular con Zoom */
.vv-gallery {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 220px 220px;
	gap: 20px;
	margin-bottom: 40px;
}

@media (max-width: 768px) {
	.vv-gallery {
		grid-template-columns: 1fr;
		grid-template-rows: 300px 150px 150px;
	}
}

.vv-gallery-main {
	grid-row: span 2;
	background: var(--bg-secondary);
	border-radius: var(--border-radius-lg);
	overflow: hidden;
	border: 1px solid rgba(2, 128, 144, 0.1);
}

.vv-gallery-thumb {
	background: var(--bg-secondary);
	border-radius: var(--border-radius-lg);
	overflow: hidden;
	border: 1px solid rgba(2, 128, 144, 0.1);
}

.vv-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition-smooth);
}

.vv-gallery img:hover {
	transform: scale(1.04);
}

/* Grid de Especificaciones */
.house-specs-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
	padding: 20px 25px;
	margin-bottom: 40px;
	text-align: center;
	border: 1px solid rgba(2, 128, 144, 0.15);
	background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
	.house-specs-row {
		grid-template-columns: repeat(2, 1fr);
	}
}

.spec-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	border-right: 1px solid rgba(2, 128, 144, 0.15);
}

.spec-item:last-child {
	border-right: none;
}

@media (max-width: 768px) {
	.spec-item:nth-child(2) {
		border-right: none;
	}
	.spec-item {
		margin-bottom: 10px;
	}
}

.spec-item .icon {
	font-size: 26px;
	margin-bottom: 5px;
}

.spec-item .label {
	font-size: 11px;
	text-transform: uppercase;
	color: var(--text-secondary);
	margin-bottom: 2px;
	font-weight: 600;
}

.spec-item .value {
	font-size: 14px;
	font-weight: 700;
	color: var(--text-primary);
}

/* Sidebar y widget de reservas */
.booking-widget {
	position: sticky;
	top: 120px;
	height: fit-content;
	border: 1px solid rgba(2, 128, 144, 0.15);
	background: #ffffff;
	box-shadow: 0 10px 30px rgba(29, 45, 68, 0.04);
	padding: 14px !important; /* Reducido al máximo */
}

.booking-widget-title {
	font-size: 18px; /* Reducido a 18px */
	font-weight: 700;
	margin-bottom: 8px; /* Reducido a 8px */
	display: flex;
	align-items: baseline;
	justify-content: space-between;
}

.booking-widget-title .price {
	color: var(--accent-gold);
}

.booking-widget-title .price span {
	font-size: 12.5px;
	color: var(--text-secondary);
}

/* Calendario en Sidebar */
.calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 1px; /* Reducido al mínimo */
	margin: 5px 0; /* Reducido a 5px */
	text-align: center;
}

.calendar-header {
	font-weight: 700;
	color: var(--accent-gold);
	font-size: 10px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.calendar-day {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	margin: 0 auto;
	cursor: pointer;
	transition: var(--transition-smooth);
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	color: var(--text-primary);
}

.calendar-day:hover:not(.blocked):not(.empty) {
	background: rgba(2, 128, 144, 0.1);
	transform: scale(1.06);
}

.calendar-day.selected {
	background: var(--accent-gold) !important;
	color: #ffffff !important;
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(2, 128, 144, 0.3);
}

.calendar-day.blocked {
	color: rgba(29, 45, 68, 0.2);
	text-decoration: line-through;
	cursor: not-allowed;
}

.calendar-day.empty {
	cursor: default;
}

/* Selector de Fechas e inputs */
.date-selector-inputs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px; /* Reducido a 6px */
	margin-bottom: 10px; /* Reducido a 10px */
}

.date-input-wrapper {
	background: var(--bg-primary);
	border: 1px solid rgba(2, 128, 144, 0.15);
	padding: 4px 10px; /* Reducido a 4px */
	border-radius: var(--border-radius-md);
}

.date-input-wrapper label {
	font-size: 9px; /* Reducido a 9px */
	text-transform: uppercase;
	color: var(--text-secondary);
	display: block;
	margin-bottom: 1px;
	letter-spacing: 0.5px;
	font-weight: 700;
}

.date-input-wrapper input {
	background: transparent;
	border: none;
	color: var(--text-primary);
	font-size: 13px;
	font-weight: 600;
	outline: none;
	width: 100%;
}

/* Desglose de Precios */
.price-breakdown {
	border-top: 1px solid rgba(2, 128, 144, 0.15);
	padding-top: 8px; /* Reducido a 8px */
	margin-bottom: 10px; /* Reducido a 10px */
	display: none;
}

.price-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 6px; /* Reducido a 6px */
	font-size: 13px; /* Reducido a 13px */
	color: var(--text-secondary);
	font-weight: 500;
}

.price-row.total {
	font-size: 16px; /* Reducido a 16px */
	font-weight: 700;
	color: var(--text-primary);
	border-top: 1px dashed rgba(2, 128, 144, 0.15);
	padding-top: 8px;
	margin-top: 8px;
}

/* Botón de Reserva */
.btn-book-now {
	background: var(--accent-gold);
	color: #ffffff;
	border: none;
	border-radius: var(--border-radius-md);
	width: 100%;
	padding: 10px; /* Reducido a 10px */
	font-size: 13px; /* Reducido a 13px */
	font-weight: 700;
	cursor: pointer;
	transition: var(--transition-smooth);
	box-shadow: 0 4px 15px rgba(2, 128, 144, 0.2);
}

.btn-book-now:hover {
	background: var(--accent-gold-hover);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(2, 128, 144, 0.35);
}

/* Grid de Amenidades */
.amenities-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
	margin: 30px 0;
}

.amenity-card {
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(2, 128, 144, 0.12);
	border-radius: var(--border-radius-md);
	padding: 16px 22px;
	display: flex;
	align-items: center;
	gap: 15px;
	transition: var(--transition-smooth);
	box-shadow: 0 4px 15px rgba(29, 45, 68, 0.02);
}

.amenity-card:hover {
	transform: translateY(-3px);
	border-color: var(--accent-gold);
	background: #ffffff;
	box-shadow: 0 8px 25px rgba(2, 128, 144, 0.08);
}

.amenity-card svg {
	fill: var(--accent-gold);
	width: 24px;
	height: 24px;
}

/* Mapa con Overlay Card */
.map-overlay-card {
	position: absolute;
	bottom: 20px;
	left: 20px;
	max-width: 280px;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	border: 1px solid rgba(2, 128, 144, 0.15);
	padding: 20px;
	border-radius: var(--border-radius-md);
	z-index: 5;
	box-shadow: 0 10px 30px rgba(29, 45, 68, 0.08);
}

.map-overlay-card h4 {
	font-size: 16px;
	font-weight: 700;
	color: var(--accent-gold);
	margin-bottom: 5px;
}

.map-overlay-card p {
	font-size: 13px;
	color: var(--text-secondary);
	line-height: 1.4;
}

/* Efecto Especial: Animación de Entrada */
.reveal-fade {
	animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	opacity: 0;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Cuadrícula de Galería Completa de Fotos Reales */
.vv-full-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 15px;
	margin-bottom: 50px;
}

.vv-full-gallery-item {
	background: var(--bg-secondary);
	border-radius: var(--border-radius-md);
	overflow: hidden;
	aspect-ratio: 4/3;
	border: 1px solid rgba(2, 128, 144, 0.1);
	box-shadow: 0 4px 15px rgba(29, 45, 68, 0.02);
}

.vv-full-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition-smooth);
}

.vv-full-gallery-item img:hover {
	transform: scale(1.06);
	filter: brightness(1.03);
}

/* --- ESTILOS DE GALERÍA HERO AUTOMÁTICA FULL-WIDTH --- */
.vv-hero-slider {
	position: relative;
	width: 100%;
	height: 70vh; /* 70% de la pantalla, inmersivo estilo Alava Suites */
	margin: 0;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.vv-hero-slider::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 35%;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.3) 0%, transparent 100%);
	z-index: 3;
	pointer-events: none;
}

@media (max-width: 768px) {
	.vv-hero-slider {
		height: 45vh;
	}
}

.slider-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
}

.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1.5s ease-in-out; /* Transición súper suave estilo Alava Suites */
	z-index: 1;
}

.slide.active {
	opacity: 1;
	z-index: 2;
}

.slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	cursor: pointer;
	transform: scale(1);
	transition: transform 9s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Efecto Ken Burns lento y elegante */
}

.slide.active img {
	transform: scale(1.06); /* Lento acercamiento */
}

.slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(2, 128, 144, 0.2);
	color: var(--text-primary);
	font-size: 24px;
	padding: 10px 18px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 5;
	transition: var(--transition-smooth);
}

.slider-arrow:hover {
	background: var(--accent-gold);
	color: #ffffff;
}

.slider-arrow.prev-slide { left: 25px; }
.slider-arrow.next-slide { right: 25px; }

.slider-dots {
	position: absolute;
	bottom: 25px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 5;
}

.slider-dots .dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	border: 1px solid rgba(29, 45, 68, 0.1);
	cursor: pointer;
	transition: var(--transition-smooth);
}

.slider-dots .dot.active {
	background: var(--accent-gold);
	width: 28px;
	border-radius: 10px;
}


/* --- ESTILOS DE LIGHTBOX POPUP GALLERY --- */
.vv-lightbox {
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(9, 12, 21, 0.95);
	backdrop-filter: blur(25px);
	-webkit-backdrop-filter: blur(25px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.lightbox-close {
	position: absolute;
	top: 30px;
	right: 40px;
	color: #ffffff;
	font-size: 45px;
	font-weight: bold;
	cursor: pointer;
	transition: var(--transition-smooth);
	z-index: 10001;
}

.lightbox-close:hover {
	color: var(--accent-gold);
	transform: scale(1.1);
}

.lightbox-content-wrapper {
	max-width: 85%;
	max-height: 80%;
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 10000;
}

.lightbox-content {
	max-width: 100%;
	max-height: 75vh;
	object-fit: contain;
	border-radius: var(--border-radius-md);
	border: 2px solid rgba(255, 255, 255, 0.05);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.flash-zoom-active {
	animation: flashZoom 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes flashZoom {
	0% {
		transform: scale(0.97);
		filter: brightness(2) contrast(1.1) blur(4px);
		opacity: 0.7;
	}
	40% {
		filter: brightness(1.25) contrast(1.05) blur(1.5px);
	}
	100% {
		transform: scale(1);
		filter: brightness(1) contrast(1) blur(0);
		opacity: 1;
	}
}

.lightbox-caption {
	margin-top: 15px;
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	letter-spacing: 0.5px;
}

.lightbox-arrow {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #ffffff;
	font-size: 30px;
	padding: 15px 22px;
	border-radius: 50%;
	cursor: pointer;
	transition: var(--transition-smooth);
	z-index: 10000;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.lightbox-arrow:hover {
	background: var(--accent-gold);
	border-color: var(--accent-gold);
	color: #ffffff;
}

.lightbox-arrow.prev-light { left: 40px; }
.lightbox-arrow.next-light { right: 40px; }

@media (max-width: 768px) {
	.lightbox-arrow {
		font-size: 20px;
		padding: 10px 15px;
	}
	.lightbox-arrow.prev-light { left: 10px; }
	.lightbox-arrow.next-light { right: 10px; }
}

/* --- COOKIES CONSENT BANNER --- */
.vv-cookie-banner {
	position: fixed;
	bottom: -200px;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	max-width: 700px;
	background: rgba(253, 252, 249, 0.9);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border);
	border-radius: var(--border-radius-md);
	box-shadow: 0 15px 45px rgba(29, 45, 68, 0.15);
	padding: 20px 25px;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	gap: 15px;
	transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vv-cookie-banner.active {
	bottom: 30px;
}

.vv-cookie-text {
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-primary);
	margin: 0;
}

.vv-cookie-text a {
	color: var(--accent-gold);
	text-decoration: underline;
	font-weight: 600;
}

.vv-cookie-actions {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
}

.btn-cookie-accept {
	background: var(--accent-gold);
	color: #ffffff;
	border: none;
	padding: 10px 22px;
	border-radius: 12px;
	font-weight: 600;
	cursor: pointer;
	font-size: 13px;
	transition: var(--transition-smooth);
}

.btn-cookie-accept:hover {
	background: var(--accent-gold-hover);
	transform: translateY(-1px);
}

.btn-cookie-settings {
	background: transparent;
	color: var(--text-secondary);
	border: 1px solid rgba(2, 128, 144, 0.2);
	padding: 10px 18px;
	border-radius: 12px;
	font-weight: 600;
	cursor: pointer;
	font-size: 13px;
	transition: var(--transition-smooth);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}

.btn-cookie-settings:hover {
	background: rgba(2, 128, 144, 0.05);
	color: var(--text-primary);
	transform: translateY(-1px);
}

@media (min-width: 600px) {
	.vv-cookie-banner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
	.vv-cookie-text {
		flex: 1;
	}
	.vv-cookie-actions {
		flex-shrink: 0;
	}
}

/* --- MENÚ STICKY DE SUBSECCIONES (ESTILO BOOKING.COM) --- */
.vv-sub-navigation {
	position: -webkit-sticky;
	position: sticky;
	top: 120px;
	z-index: 99;
	background: rgba(252, 251, 250, 0.92);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(13, 148, 136, 0.12);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
	margin-bottom: 40px;
	transition: var(--transition-smooth);
}

.sub-nav-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	gap: 35px;
	height: 62px;
	align-items: center;
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none; /* Ocultar scroll en Firefox */
}

.sub-nav-inner::-webkit-scrollbar {
	display: none; /* Ocultar scroll en Chrome/Safari */
}

.sub-nav-inner a {
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	position: relative;
	padding: 18px 0;
	transition: var(--transition-smooth);
}

.sub-nav-inner a:hover,
.sub-nav-inner a.active {
	color: var(--accent-gold);
}

.sub-nav-inner a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 3px;
	background: var(--accent-gold);
	border-radius: 3px 3px 0 0;
	transition: var(--transition-smooth);
}

.sub-nav-inner a:hover::after,
.sub-nav-inner a.active::after {
	width: 100%;
}

/* --- OPTIMIZACIÓN STICKY MÓVIL --- */
@media (max-width: 768px) {
	.vv-sub-navigation {
		position: static !important;
		margin-bottom: 25px !important;
	}
}

/* --- SOBRESCRITURA DE BOTONES WOOCOMMERCE (BRAND GOLD) --- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce-message a.button,
.woocommerce-checkout .place-order button.button {
	background-color: #af884f !important;
	color: #ffffff !important;
	border-radius: 30px !important;
	padding: 12px 28px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 1.5px !important;
	font-size: 13px !important;
	transition: all 0.3s ease !important;
	border: none !important;
	box-shadow: 0 4px 15px rgba(175, 136, 79, 0.15) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce-message a.button:hover,
.woocommerce-checkout .place-order button.button:hover {
	background-color: #96713d !important;
	color: #ffffff !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 6px 20px rgba(175, 136, 79, 0.3) !important;
}

/* --- CABECERA TRANSPARENTE EN HOME (integrada dentro del hero) --- */
.home header.site-header {
	position: fixed !important;
	width: 100% !important;
	top: 0 !important;
	left: 0 !important;
	transform: none !important;
	background: transparent !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	z-index: 1000 !important;
	padding: 18px 40px !important;
	transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease !important;
}

/* Soporte para barra de administración de WordPress en Home */
.admin-bar.home header.site-header {
	top: 32px !important;
}
@media (max-width: 782px) {
	.admin-bar.home header.site-header {
		top: 46px !important;
	}
	.home header.site-header {
		padding: 12px 20px !important;
	}
}

/* Al hacer scroll → cabecera sólida blanca con desenfoque */
.home header.site-header.scrolled {
	background: rgba(253, 252, 249, 0.96) !important;
	backdrop-filter: blur(20px) !important;
	-webkit-backdrop-filter: blur(20px) !important;
	box-shadow: 0 4px 24px rgba(29, 45, 68, 0.07) !important;
	padding: 12px 40px !important;
}

/* --- ENLACES DEL MENÚ: TEXTO BLANCO NÍTIDO EN NEGRITA SOBRE HERO --- */
.home header.site-header .navigation a,
.home header.site-header .lang-selector-btn {
	background: none !important;
	border: none !important;
	border-radius: 0 !important;
	color: #ffffff !important;
	font-weight: 800 !important;
	letter-spacing: 2.5px !important;
	text-shadow:
		0 1px 3px rgba(0, 0, 0, 0.6),
		0 2px 10px rgba(0, 0, 0, 0.35) !important;
	padding: 5px 4px !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	transition: var(--transition-smooth) !important;
}
.home header.site-header .navigation a:hover,
.home header.site-header .lang-selector-btn:hover {
	color: #f5dba5 !important; /* dorado claro al hover */
	text-shadow:
		0 1px 3px rgba(0, 0, 0, 0.5),
		0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

/* Al hacer scroll → nav limpia, oscura, peso normal */
.home header.site-header.scrolled .navigation a,
.home header.site-header.scrolled .lang-selector-btn {
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 5px 4px !important;
	color: var(--text-primary) !important;
	font-weight: 500 !important;
	letter-spacing: 2px !important;
	text-shadow: none !important;
	backdrop-filter: none !important;
}
.home header.site-header.scrolled .navigation a:hover,
.home header.site-header.scrolled .lang-selector-btn:hover {
	color: #af884f !important;
	background: transparent !important;
}

/* --- BOTÓN RESERVAR CABECERA (ESTILO SÓLIDO MARRONCITO) --- */
.btn-reservar-header {
	background-color: #af884f !important;
	color: #ffffff !important;
	border: 1px solid #af884f !important;
	padding: 8px 22px !important;
	border-radius: 30px !important;
	text-decoration: none !important;
	font-weight: 700 !important;
	font-size: 11px !important;
	letter-spacing: 2px !important;
	display: inline-block !important;
	box-shadow: 0 4px 15px rgba(175, 136, 79, 0.15) !important;
	transition: var(--transition-smooth) !important;
}

.btn-reservar-header:hover {
	background-color: #96713d !important;
	border-color: #96713d !important;
	color: #ffffff !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 6px 20px rgba(175, 136, 79, 0.3) !important;
}

