/* Consistent visible cover height and baseline across every book catalogue.
   Cover bounds remove supplier whitespace; original cover proportions are preserved. */
.book-title .card-art,.christmas-grid .card-art{height:auto;aspect-ratio:4/5;background:var(--paper);padding:1rem .5rem;container-type:inline-size;display:flex;align-items:flex-end;justify-content:center;overflow:visible}
.book-cover{height:auto;width:min(100cqw,calc(100cqw * var(--cover-aspect)));max-width:100%;aspect-ratio:var(--cover-ratio);position:relative;overflow:hidden;box-shadow:#00000040 0 25px 50px -12px;flex:none}
.book-title .card-art .book-cover img,.christmas-grid .card-art .book-cover img{position:absolute;width:var(--cover-width);height:var(--cover-height);max-width:none;left:var(--cover-left);top:var(--cover-top);padding:0;object-fit:fill;mix-blend-mode:normal;transition:none;transform:none}
.book-title .card-art:hover img{transform:none}
@media(max-width:500px){.book-title .card-art,.christmas-grid .card-art{padding:.75rem .375rem}}

/* Match the book catalogue's larger image area for every assortment category. */
#collection #cards:not(.book-catalog):not(.brand-overview){grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 24px}
#collection .card:not(.book-title):not(.brand-card) .card-art{height:auto;aspect-ratio:4/5;padding:2rem;background:var(--paper);overflow:hidden}
#collection .card:not(.book-title):not(.brand-card) .card-art img{width:100%;height:100%;padding:0;object-fit:contain}
@media(min-width:1500px){#collection #cards:not(.book-catalog):not(.brand-overview){grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1000px){#collection #cards:not(.book-catalog):not(.brand-overview){grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 20px}}
@media(max-width:600px){#collection #cards:not(.book-catalog):not(.brand-overview){gap:28px 12px}}
@media(max-width:500px){#collection .card:not(.book-title):not(.brand-card) .card-art{padding:1rem}}
