/* home-v3 · carrusel de "Choose your book" (04-10-2026). Lo arma home-v3-carrusel.js sobre .book__fotos. */
.book__fotos.lh-car { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 0 0 20px; }
.lh-car__marco { position: relative; }
.lh-car__pista { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-x: contain; outline: none; }
.lh-car__pista::-webkit-scrollbar { display: none; }
.lh-car__pista:focus-visible { box-shadow: inset 0 0 0 2px #7B1E2B; }
.lh-car__foto { flex: 0 0 100%; margin: 0; aspect-ratio: 4 / 3; scroll-snap-align: center; display: flex; align-items: center;
  justify-content: center; overflow: hidden; }
.lh-car__foto img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(60, 30, 20, 0.26)); padding: 3% 5%; }
.lh-car__foto--escena img { object-fit: cover; filter: none; padding: 0; }
.lh-car__flecha { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.94); color: #7B1E2B; font: 30px/1 Georgia, "Times New Roman", serif; display: flex;
  align-items: center; justify-content: center; padding: 0 0 3px; cursor: pointer; box-shadow: 0 8px 20px rgba(40, 20, 10, 0.28);
  transition: transform .15s ease, background .15s ease; }
.lh-car__flecha:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.lh-car__flecha:focus-visible { outline: 2px solid #7B1E2B; outline-offset: 2px; }
.lh-car__flecha--ant { left: 14px; }
.lh-car__flecha--sig { right: 14px; }
.lh-car__puntos { display: flex; justify-content: center; gap: 8px; }
.lh-car__puntos button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 5px; background: #CDBFA6; cursor: pointer;
  transition: width .2s ease, background .2s ease; }
.lh-car__puntos button[aria-current="true"] { width: 24px; background: #7B1E2B; }
@media (max-width: 720px) {
  .lh-car__pista { gap: 10px; padding: 0 6%; scroll-padding: 0 6%; }
  .lh-car__foto { flex-basis: 88%; }
  .lh-car__foto--escena { border-radius: 4px; }
  .lh-car__flecha { width: 38px; height: 38px; font-size: 26px; }
  .lh-car__flecha--ant { left: 8px; }
  .lh-car__flecha--sig { right: 8px; }
}
@media (prefers-reduced-motion: reduce) { .lh-car__flecha, .lh-car__puntos button { transition: none; } }

/* ══ 14-10-2026 (dueño: «no se diferencia a qué bloque pertenece cada imagen; el box se camufla con el fondo y las
   imágenes quedan feas; que quede así, con imágenes, pero mejor posicionadas») ══
   La zona de fotos iba de blanco a crema, el mismo crema del fondo de la sección: el borde de arriba de cada tarjeta
   desaparecía y la foto parecía del libro anterior. Ahora la tarjeta tiene un filete dorado arriba y más sombra, y las
   fotos están sobre un pergamino más oscuro que el fondo. En el teléfono la foto ocupa todo el ancho de la tarjeta. */
#books .book { position: relative; border: 1px solid #E2D3B5; border-top: 3px solid var(--gold);
  box-shadow: 0 26px 46px -28px rgba(60, 30, 20, 0.55), 0 2px 8px rgba(60, 30, 20, 0.05); }
#books .book__fotos.lh-car {
  background: radial-gradient(130% 100% at 50% 30%, #F6EEDF 0%, #ECDFC6 70%, #E6D6B9 100%);
  border-bottom: 1px solid #E2D3B5;
}
#books .book--flip .book__fotos.lh-car { border-bottom: 1px solid #E2D3B5; }
@media (min-width: 900px) {
  #books .book__fotos.lh-car { border-bottom: 0; border-right: 1px solid #E2D3B5; }
  #books .lh-car__foto--escena img { border-radius: 3px; box-shadow: 0 18px 34px -18px rgba(40, 20, 10, 0.55); }
}
@media (max-width: 899px) {
  #books .book { margin-bottom: 40px; }
  #books .book__fotos.lh-car { gap: 12px; padding: 0 0 16px; }
  /* una foto por vez, de borde a borde de la tarjeta (antes 88 % con la siguiente asomando: quedaba chica y suelta) */
  #books .lh-car__pista { gap: 0; padding: 0; scroll-padding: 0; }
  #books .lh-car__foto { flex-basis: 100%; }
  #books .lh-car__foto--escena { border-radius: 0; }
  #books .lh-car__foto img { padding: 5% 7%; }
  #books .lh-car__foto--escena img { padding: 0; }
  #books .lh-car__flecha { width: 38px; height: 38px; font-size: 25px; background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 16px rgba(40, 20, 10, 0.3); }
  #books .lh-car__flecha--ant { left: 10px; }
  #books .lh-car__flecha--sig { right: 10px; }
}
