/* Flat covers, identical 14:21 frames and readable editorial captions. */
.book-flow{--book-width:clamp(240px,25vw,340px);--book-gap:clamp(28px,3vw,48px);height:780px;perspective:none;mask-image:none}
.book-flow-track{align-items:flex-start;padding:38px 5vw 30px;transform-style:flat;height:auto}
.book-flow-item{height:auto;align-items:stretch;justify-content:flex-start;transform-style:flat}
.book-flow-cover{position:relative;display:block;height:auto;aspect-ratio:14/21;overflow:hidden;transform-style:flat;will-change:auto;transform:none!important;opacity:1!important}
.book-flow-cover img{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;object-fit:fill}
.book-flow-item figcaption{position:static;text-align:left;max-height:none;overflow:visible;margin-top:23px;width:100%;opacity:1!important}
.book-caption-title{display:block;font-family:var(--serif);font-weight:400;font-size:25px;line-height:1.2;letter-spacing:-.025em}
.book-category{display:block;font-family:var(--sans);font-size:13px;font-weight:600;line-height:1.35;letter-spacing:.09em;text-transform:uppercase;margin-top:17px;color:var(--green)}
.pepita-cover{height:auto;aspect-ratio:14/21;padding:0;background:none;align-items:stretch}
.pepita-cover img{width:100%;height:100%;max-height:none;max-width:none;object-fit:fill}
.pepita-product h3{font-family:var(--serif);font-size:25px;line-height:1.2;font-weight:400;letter-spacing:-.025em}
.pepita-product-copy .book-category{font-size:13px;line-height:1.35;font-weight:600;margin-top:17px;opacity:1;letter-spacing:.09em;color:var(--green)}
.book-detail-art img{width:min(100%,334px);height:auto;aspect-ratio:14/21;object-fit:fill;filter:none}
@media(min-width:1600px){.book-flow{height:780px}.book-flow-item{height:auto}.book-flow-cover{height:auto}}
@media(max-width:760px){.book-flow{--book-width:220px;--book-gap:25px;height:600px;perspective:none}.book-flow-track{padding:28px 6vw}.book-flow-item{height:auto}.book-flow-cover{height:auto}.book-caption-title{font-size:23px}.book-flow-item figcaption{font-size:inherit;margin-top:21px}.pepita-cover{height:auto;padding:0}.pepita-product h3{font-size:21px}.pepita-product-copy .book-category{font-size:12px}.book-detail-art img{max-width:85%;width:254px;height:auto;max-height:none}}
@media(max-width:440px){.pepita-cover{height:auto;padding:0}.pepita-product h3{font-size:20px}}

/* Touch devices use a normal scrollable row; Safari never depends on transforms to show covers. */
@media(max-width:760px){
  .book-flow{height:auto!important;overflow-x:auto;overflow-y:hidden;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;cursor:auto;perspective:none;mask-image:none}
  .book-flow-track{height:auto;transform:none!important;will-change:auto;transform-style:flat;align-items:flex-start}
  .book-flow-item{visibility:visible!important}
  .book-flow-item[data-duplicate]{display:none}
  .book-flow-pause{display:none}
}
