
/* Auto cover collage sourced only from included eBook featured images */
.esm-combo-covers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:10px;width:100%;height:100%;max-width:100%;min-width:0;overflow:hidden;isolation:isolate}
.esm-combo-cover-item{display:flex;align-items:center;justify-content:center;overflow:hidden;min-width:0;min-height:0;border-radius:10px;background:#e7ecfb}
.esm-combo-cover-item img{display:block!important;position:static!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;transform:none!important}
.esm-combo-covers:has(> :nth-child(3):last-child) .esm-combo-cover-item:first-child{grid-row:span 2}
.esm-combo-covers:has(> :nth-child(2):last-child){grid-template-rows:1fr}
.esm-combo-cover-fallback{display:flex;align-items:center;flex-direction:column;gap:5px;font-size:35px;text-align:center}
.esm-combo-cover-fallback span{font-size:11px;overflow-wrap:anywhere}
.esm-home .esm-combo-cover{padding:12px!important}
.esm-landing .esm-bundle-landing-cover{height:clamp(300px,40vw,520px)!important;max-height:none!important;overflow:hidden!important;padding:14px!important}
.esm-landing .esm-bundle-landing-cover .esm-combo-covers{max-height:100%}
.esm-landing .esm-bundle-included{padding:28px clamp(12px,4vw,50px);min-width:0}
.esm-landing .esm-bundle-book{background:#fff;border:1px solid #e0e7f4;border-radius:18px;padding:clamp(14px,2vw,26px);margin:20px 0;overflow:hidden}
.esm-landing .esm-bundle-book-header{display:grid;grid-template-columns:minmax(90px,140px) minmax(0,1fr);gap:18px;align-items:center;margin-bottom:20px}
.esm-landing .esm-bundle-book-cover{display:flex;align-items:center;justify-content:center;height:170px;overflow:hidden;background:#eef2ff;border-radius:10px;padding:8px}
.esm-landing .esm-bundle-book-cover img{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
.esm-landing .esm-bundle-book-header h3{font-size:20px;margin:0 0 8px;overflow-wrap:anywhere}
.esm-landing .esm-bundle-book-header p{color:#66718b;font-size:13px}
.esm-landing .esm-bundle-preview-title{font-weight:800;margin-bottom:12px}
.esm-landing .esm-bundle-book .esm-landing-preview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.esm-landing .esm-bundle-book .esm-landing-preview-grid a{display:flex;flex-direction:column;align-items:center;overflow:hidden;min-width:0;text-decoration:none}
.esm-landing .esm-bundle-book .esm-landing-preview-grid img{width:100%;height:190px;max-width:100%;object-fit:contain;background:#f6f8fc;border-radius:8px}
.esm-landing .esm-bundle-preview-unavailable{color:#6b7280;font-size:13px}
@media(max-width:650px){.esm-landing .esm-bundle-landing-cover{height:300px!important}.esm-landing .esm-bundle-book .esm-landing-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.esm-landing .esm-bundle-book .esm-landing-preview-grid img{height:170px}}
@media(max-width:380px){.esm-landing .esm-bundle-book-header{grid-template-columns:1fr}.esm-landing .esm-bundle-book-cover{height:190px}}
