/* =============================================
   DETALLE DE HABITACIÓN - ESTILOS CSS SIN TAILWIND
   ============================================= */

/* Contenedor principal del artículo */
.habitacion-detalle {
  /* El grid column y order se manejan desde el contenedor padre */
}

@media (min-width: 1024px) {
  .habitacion-detalle {
    grid-column: span 8 / span 8;
    order: 2;
  }
}

/* Etiqueta superior */
.habitacion-detalle-label {
  color: #0044a5;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
}

/* Título principal */
.habitacion-detalle-title {
  font-size: 2.25rem;
  margin-bottom: 2rem;
  font-weight: 400;
  color: #1A1A1A;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .habitacion-detalle-title {
    font-size: 3rem;
  }
}

/* Texto solo para lectores de pantalla */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Imagen principal */
.habitacion-detalle-imagen-container {
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
}

@media (min-width: 768px) {
  .habitacion-detalle-imagen-container {
    height: 500px;
  }
}

.habitacion-detalle-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
  display: block;
}

/* Descripción */
.habitacion-detalle-descripcion {
  color: #4b5563;
  font-weight: 300;
  line-height: 1.625;
  margin-bottom: 3rem;
  font-size: 1.125rem;
}

.habitacion-detalle-descripcion p {
  margin-bottom: 1rem;
}

.habitacion-detalle-descripcion p:last-child {
  margin-bottom: 0;
}

/* Título de sección */
.habitacion-detalle-section-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
  color: #1A1A1A;
}

/* Divisor decorativo */
.habitacion-detalle-divider {
  width: 3rem;
  height: 1px;
  background-color: #0044a5;
  margin-bottom: 2rem;
  border: none;
}

/* =============================================
   LISTA DE AMENIDADES
   ============================================= */

.amenidades-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 2rem;
  margin-bottom: 3rem;
  color: #6b7280;
  font-weight: 300;
  font-size: 0.875rem;
  list-style: none;
  padding: 0;
}

@media (min-width: 768px) {
  .amenidades-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.amenidad-item {
  display: flex;
  align-items: center;
}

.amenidad-icon {
  color: #0044a5;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* =============================================
   FRASE DESTACADA (BLOCKQUOTE)
   ============================================= */

.habitacion-frase {
  background-color: #f3f4f6;
  padding: 2rem;
  border-left: 4px solid #0044a5;
  margin-bottom: 3rem;
}

.habitacion-frase blockquote {
  color: #4b5563;
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.625;
  font-style: italic;
  margin: 0;
}

/* =============================================
   GALERÍA DE IMÁGENES
   ============================================= */

.habitacion-galeria {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  border-radius: 0.75rem;
}

/* Ocultar scrollbar pero mantener funcionalidad */
.habitacion-galeria::-webkit-scrollbar {
  display: none;
}

.habitacion-galeria {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.habitacion-galeria-item {
  min-width: 250px;
  height: 12rem;
  scroll-snap-align: start;
  flex-shrink: 0;
  margin: 0;
}

.habitacion-galeria-item:last-child {
  margin-right: 0;
}

.habitacion-galeria-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0.5rem;
}

/* =============================================
   FAQ DE LA ESTANCIA
   ============================================= */

.faq-estancia {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid #e5e7eb;
}

.faq-estancia-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
  color: #1A1A1A;
}

.faq-estancia-container > * + * {
  margin-top: 1rem;
}

/* Cada pregunta */
.faq-estancia-details {
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.75rem;
  transition: box-shadow 0.3s ease;
}

.faq-estancia-details:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

/* Ocultar marcador por defecto */
.faq-estancia-details summary::-webkit-details-marker {
  display: none;
}

.faq-estancia-details summary {
  list-style: none;
}

.faq-estancia-summary {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
  color: #1A1A1A;
  list-style: none;
}

.faq-estancia-summary::-webkit-details-marker {
  display: none;
}

.faq-estancia-question {
  font-size: 1rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  margin: 0;
  flex: 1;
  padding-right: 1rem;
}

.faq-estancia-icon {
  transition: transform 0.3s ease;
  color: #0044a5;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.faq-estancia-details[open] .faq-estancia-icon {
  transform: rotate(180deg);
}

.faq-estancia-icon svg {
  width: 20px;
  height: 20px;
}

.faq-estancia-answer {
  margin-top: 1rem;
  color: #6b7280;
  font-weight: 300;
  line-height: 1.625;
  font-size: 0.875rem;
  text-align: left;
}

/* =============================================
   UTILIDADES ADICIONALES
   ============================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}