/* Shared collection cover layout across all storefront routes. */
.gallery .fp-bundle-overview{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:22px;width:100%;height:100%;padding:24px 14px;box-sizing:border-box;background:linear-gradient(145deg,#f2f7ec,#fff8e8);text-align:center;overflow:hidden}
.gallery .fp-overview-caption{display:block;font-family:inherit;font-size:12px;font-weight:500;line-height:1.4;color:#56705c;letter-spacing:0}
.gallery .fp-overview-title{font-family:Songbook,sans-serif;font-size:clamp(20px,4.8vw,28px);font-weight:400;line-height:1.12;color:#244d3b;margin:0}
.gallery .fp-overview-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:start;gap:8px;width:100%;min-height:0}
.gallery .fp-overview-row:has(> :nth-child(6)){grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gallery .fp-overview-book{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0}
.gallery .fp-overview-book img{display:block;width:100%!important;height:auto!important;aspect-ratio:772/1000;max-height:155px;object-fit:contain;border-radius:4px;box-shadow:0 5px 12px #25432b20}
.gallery .fp-overview-book>span{font-family:inherit;font-size:10px;font-weight:600;line-height:1.25;color:#35513f;overflow-wrap:normal}
@media(max-width:600px){.gallery .fp-bundle-overview{padding:18px 10px;gap:18px}.gallery .fp-overview-row{gap:6px}.gallery .fp-overview-book>span{font-size:9px}.gallery .fp-overview-row:has(> :nth-child(6)) .fp-overview-book img{max-height:72px!important}.gallery .fp-overview-caption{font-size:11px}.gallery .fp-overview-title{font-size:23px}}

.gallery .fp-bundle-overview[data-count="9"]{gap:10px;padding:12px 10px}.gallery .fp-bundle-overview[data-count="9"] .fp-overview-row{gap:7px}.gallery .fp-bundle-overview[data-count="9"] .fp-overview-book{gap:3px}.gallery .fp-bundle-overview[data-count="9"] .fp-overview-book img{max-height:55px!important}.gallery .fp-bundle-overview[data-count="9"] .fp-overview-book>span{font-size:8px;line-height:1.15}.gallery .fp-bundle-overview[data-count="9"] .fp-overview-title{font-size:21px}

.gallery .gallery-open:has(.fp-bundle-overview[data-count="9"]){height:340px!important;max-height:none!important}.gallery .fp-overview-row{flex-shrink:0;min-height:auto}

/* Keep all ten Christmas covers visible in the bundle overview. */
.gallery .gallery-open:has(.fp-bundle-overview[data-count="10"]){height:420px!important;max-height:none!important}
.gallery .fp-bundle-overview[data-count="10"]{padding:14px 10px;gap:12px}
.gallery .fp-bundle-overview[data-count="10"] .fp-overview-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px 7px!important}
.gallery .fp-bundle-overview[data-count="10"] .fp-overview-book{gap:5px}
.gallery .fp-bundle-overview[data-count="10"] .fp-overview-book img{max-height:115px!important}
.gallery .fp-bundle-overview[data-count="10"] .fp-overview-book>span{font-size:9px;line-height:1.2}
@media(max-width:600px){.gallery .gallery-open:has(.fp-bundle-overview[data-count="10"]){height:330px!important}.gallery .fp-bundle-overview[data-count="10"] .fp-overview-book img{max-height:74px!important}.gallery .fp-bundle-overview[data-count="10"] .fp-overview-book>span{font-size:8px}.gallery .fp-bundle-overview[data-count="10"] .fp-overview-title{font-size:21px}}
