/* Inicio: portadas reales de productos en el hero (reemplazan los libros ilustrados). */
.hero-cover {
  position: absolute; display: block; aspect-ratio: 2 / 3; overflow: hidden;
  border-radius: 12px; background: #fff;
  box-shadow: 0 26px 50px rgba(62, 49, 117, .32), 0 6px 14px rgba(33, 28, 68, .18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hero-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-cover:focus-visible { outline: 3px solid #6349df; outline-offset: 4px; }
.hero-cover-main { width: 250px; z-index: 3; transform: translate(-18px, -6px) rotate(-4deg); }
.hero-cover-left { width: 190px; z-index: 2; transform: translate(-170px, 34px) rotate(-13deg); }
.hero-cover-right { width: 196px; z-index: 2; transform: translate(150px, 40px) rotate(11deg); }
@media (hover: hover) {
  .hero-cover:hover { box-shadow: 0 32px 60px rgba(62, 49, 117, .4), 0 8px 18px rgba(33, 28, 68, .2); }
  .hero-cover-main:hover { transform: translate(-18px, -14px) rotate(-4deg); }
  .hero-cover-left:hover { transform: translate(-170px, 26px) rotate(-13deg); }
  .hero-cover-right:hover { transform: translate(150px, 32px) rotate(11deg); }
}
@media (max-width: 620px) {
  .hero-cover-main { width: 176px; transform: translate(-10px, 0) rotate(-4deg); }
  .hero-cover-left { width: 132px; transform: translate(-112px, 34px) rotate(-13deg); }
  .hero-cover-right { width: 136px; transform: translate(104px, 38px) rotate(11deg); }
  .hero-cover-main:hover, .hero-cover-left:hover, .hero-cover-right:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-cover { transition: none; } }
