/*
 Theme Name: Lanuishop Editorial v2
 Theme URI: https://example.com/lanuishop-editorial
 Description: Child theme of Astra for Lanuishop, with editorial + marketplace layout and sidebar parsing.
 Author: Lanuishop
 Template: astra
 Version: 1.0
 Text Domain: lanuishop-editorial-v2
*/

/* Tipografía base */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Contenedor principal de la entrada Lanuishop */
.ls-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

/* Columna de storytelling (ancho medio, 1B) */
.ls-main {
  flex: 0 0 65%;
  max-width: 720px;
}

/* Sidebar marketplace (sticky) */
.ls-sidebar {
  flex: 0 0 35%;
  position: sticky;
  top: 1.5rem;
  align-self: flex-start;
  background: #ffffff; /* 3A: fondo blanco */
  border: 1px solid #eeeeee;
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
  box-sizing: border-box;
}

/* Botón CTA verde sostenible (2B) */
.ls-sidebar .btn,
.entry-content .cta .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: #4CAF50;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.ls-sidebar .btn:hover,
.entry-content .cta .btn:hover {
  opacity: 0.9;
}

/* Galería */
.gallery img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0.75rem;
  border-radius: 8px;
}

/* Vídeos */
.product-video,
.lanuishop-video {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.product-video iframe,
.lanuishop-video iframe {
  width: 100%;
  min-height: 220px;
  border-radius: 8px;
}

/* Ficha técnica */
.product-data {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.product-data p {
  margin: 0.25rem 0;
}

/* Listas de beneficios / consecuencias */
.entry-content ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 1rem;
}

.entry-content li {
  margin-bottom: 0.35rem;
}

/* Subtítulo */
.subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  color: #444;
}

/* Responsive móvil */
@media (max-width: 900px) {
  .ls-container {
    flex-direction: column;
    padding: 1.5rem 1rem;
  }
  .ls-main,
  .ls-sidebar {
    flex: 0 0 100%;
    max-width: 100%;
    position: static;
  }
}
