/* ==========================================
   ESTUDIO: ESTRUCTURA IDÉNTICA A LA HABITACIÓN
   ========================================== */

/* Corrección del Fondo Vinotinto */
.estudio-container,
#room-detail-estudio {
  background-image: url('../img/Mobile/6Estudio/Background_03.png');
  /* Se agrega '../' por si tu archivo CSS está en una carpeta /css/ */
}

/* Sección Contenedora */
.estudio-section {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 10px 16px 30px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.estudio-lamp-container {
  display: flex;
  justify-content: center;
  margin-top: -12px;
  /* Sube la lámpara hasta pegar al borde superior */
  margin-bottom: 10px;
  /* Separa un poco el texto "SKETCHBOOK" hacia abajo */
}

.estudio-lamp-img {
  display: block;
  width: 130px;
  height: auto;
}

/* Encabezado SKETCHBOOK */
/* Alineación Estricta a la Izquierda del Título */
.estudio-header.left-aligned {

  text-align: left;
  align-self: flex-start;
  /* Fuerza la caja al borde izquierdo dentro del flexbox */
  width: 100%;
  max-width: 380px;
  margin-top: 5px;
  margin-bottom: 20px;
  padding-left: 15px;
  /* Espacio con el borde de la pantalla */
  box-sizing: border-box;
}

.estudio-header.left-aligned .estudio-title,
.estudio-header.left-aligned .estudio-subtitle,
.estudio-header.left-aligned .estudio-desc {
  text-align: left;
  /* Garantiza que cada línea de texto esté a la izquierda */
}

.estudio-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
  overflow-wrap: break-word;
}

.estudio-subtitle {
  font-size: 0.95rem;
  font-weight: bold;
  color: #ffffff;
  margin: 0 0 2px 0;
  opacity: 0.95;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.estudio-desc {
  font-size: 0.9rem;
  color: #ffffff;
  margin: 0;
  opacity: 0.85;
  line-height: 1.4;
  overflow-wrap: break-word;
}

/* Planta Gatito Sobre la Repisa */
.bookshelf-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  margin-top: 10px;
}

.estudio-plant-img {
  position: absolute;
  top: -80px;
  right: 12px;
  width: 100px;
  height: auto;
  z-index: 5;
  pointer-events: none;
}

/* Red Hot Chili Peppers / Pie de sección */
.estudio-footer-info {
  text-align: center;
  color: #ffffff;
  margin-top: 20px;
}

.rhcp-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 3px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.rhcp-subtitle {
  font-size: 1rem;
  font-weight: bold;
  color: #ffffff;
  margin: 0 0 2px 0;
  opacity: 0.9;
}

.rhcp-desc {
  font-size: 1rem;
  color: #ffffff;
  margin: 0;
  opacity: 0.85;
}

/* Capa de hotspots sobre el mueble */
.bookshelf-container {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.hotspots-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hotspot-btn {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #e50914;
  border: 2px solid #ffffff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

/* Hotspots ajustados exactamente sobre los libros */
.hp-estudio-stack {
  top: 35%;
  left: 22%;
}

.hp-estudio-v1 {
  top: 35%;
  left: 62%;
}

.hp-estudio-v2 {
  top: 35%;
  left: 70%;
}

.hp-estudio-v3 {
  top: 35%;
  left: 78%;
}

.hp-estudio-v4 {
  top: 35%;
  left: 88%;
}


/* ==========================================
   SECCIÓN ANIMACIÓN 3D
   ========================================== */

.animacion-3d-section {
  text-align: center;
  padding: 20px 15px 10px;
  background: transparent;
}

.animacion-title {
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.animacion-subtitle {
  color: #FFFFFF;
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0 0 18px 0;
  opacity: 0.9;
  overflow-wrap: break-word;
}

/* Alineación del Cuadro a la Izquierda */
.animacion-frame-container {
  position: relative;
  display: block;
  margin-left: 10px !important;
  /* Empuja el cuadro hacia la izquierda */
  margin-right: auto !important;
  width: 65%;
  /* Ancho proporcional al mockup */
  max-width: 260px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.animacion-frame-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Hotspot dentro del Cuadro */
.hp-animacion-3d {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  background-color: #C0182D;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  cursor: pointer;
}

/* ==========================================
   SECCIÓN ESCRITORIO / COMPUTADOR
   ========================================== */

.desk-section {
  width: 100%;
  padding: 10px 0 20px;
  margin-top: 5px;
  /* Pega el escritorio al cuadro de arriba */
  display: flex;
  justify-content: center;
  background: transparent;
}

.desk-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.desk-img {
  display: block;
  width: 111%;
  height: 100%;
}

/* Hotspot Monitor Computador */
.hp-computer {
  position: absolute;
  top: 26%;
  /* Posicionado exactamente en el centro de la pantalla */
  left: 65.5%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background-color: #C0182D;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   SECCIÓN FOOTER ESTUDIO (CARRITO)
   ========================================== */

.estudio-footer-section {
  width: 100%;
  margin-top: -15px;
  /* Pega el carrito justo a la base del escritorio */
  padding-bottom: 20px;
  display: flex;
  justify-content: flex-start;
  /* Alinea el carrito a la derecha */
  background: transparent;
  overflow: hidden;
}

.cart-container {
  position: relative;
  width: 100%;
  max-width: 360px;
  /* Escala ajustada para vista mobile */
}

.cart-img {
  display: block;
  width: 112%;
  height: auto;
}