/* Direct format links sit beside the cover, outside its preview button. */
.eb-format-art{position:relative;isolation:isolate;background:#f3f1e9;overflow:hidden}
.eb-format-art .ebx-card-art{width:100%;height:240px;padding:20px 64px;border:0;border-radius:0}
.eb-format-art .ebx-card-art>img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.eb-format-art .ebx-card-art[data-preview="kidsbundle"]{gap:0}
.eb-format-art .ebx-card-art[data-preview="kidsbundle"]>img{max-width:58%;height:auto;transform:rotate(-5deg);margin:0 -4px}
.eb-format-art .ebx-card-art[data-preview="kidsbundle"]>img.ebx-second{transform:rotate(5deg)}
.eb-format-badge{position:absolute;top:50%;transform:translateY(-50%);z-index:2;display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:53px;min-height:64px;padding:5px 1px!important;background:#fff!important;color:#243d36!important;border:1px solid #d7ded7;border-radius:12px;text-decoration:none!important;box-sizing:border-box;font:600 10px/1.2 Arial,sans-serif;box-shadow:0 2px 6px #203b3010}
.eb-format-badge:hover{background:#f7f1e3!important;border-color:#b78b3d}
.eb-format-badge:focus-visible,.eb-direct-buy:focus-visible,.eb-catalog-preview:focus-visible,.eb-inline-preview:focus-visible{outline:3px solid #c4831c;outline-offset:-3px}
.eb-digital-badge{left:7px}.eb-amazon-badge{right:7px}
.eb-format-badge .eb-buy-icon,.eb-direct-buy .eb-buy-icon{display:block!important;width:28px!important;height:30px!important;min-width:28px;aspect-ratio:auto!important;object-fit:contain!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important}
.eb-audio-icon{font:28px/30px Arial,sans-serif}
.eb-catalog-card>.eb-catalog-art{padding:0!important}
.eb-catalog-preview{display:flex;justify-content:center;align-items:center;width:100%;height:290px;border:0;padding:20px 68px;background:transparent;cursor:pointer}
.eb-catalog-preview>img{width:100%;height:100%;aspect-ratio:auto;object-fit:contain}
.eb-legacy-art{position:relative}.eb-legacy-art>button[data-preview]{max-width:calc(100% - 120px);margin:auto}.eb-legacy-art .eb-format-badge{top:50%;bottom:auto;transform:translateY(-50%);flex-direction:column;min-height:64px;width:55px;font-size:10px}
.eb-inline-preview{display:block;margin:0 0 14px;padding:10px 0;min-height:44px;border:0;background:none;color:#284b40;font:700 15px Arial,sans-serif;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.eb-hero-formats{position:relative;display:flex;gap:12px;justify-content:center;margin:18px auto 0}
.eb-hero-formats .eb-format-badge{position:static;transform:none;flex-direction:row;width:auto;min-height:46px;padding:7px 14px!important;font-size:12px;gap:9px}
.ebx-preview-dialog{width:min(1160px,96vw);max-width:1160px}
.ebx-preview-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;flex:1;min-height:0;overflow:hidden}
.ebx-preview-layout .ebx-preview-content{min-width:0;overflow-y:auto}
.ebx-preview-layout .ebx-page-image{width:auto;max-width:100%;max-height:65dvh;object-fit:contain}
.ebx-preview-layout .ebx-preview-bottom{display:block;overflow-y:auto;border-top:0;border-left:1px solid #d5ddd5;padding:24px 18px;box-shadow:none}
.eb-buy-heading h3{font:500 25px/1.2 Georgia,serif;margin:6px 0 20px}.eb-buy-heading .ebx-kicker{font-size:10px!important}
.eb-direct-options{display:flex;flex-direction:column;gap:10px}
.eb-direct-buy{display:flex!important;align-items:center;gap:11px;padding:14px 11px!important;min-height:67px;box-sizing:border-box;background:#fff;color:#213e34!important;border:1px solid #bdcdbf;border-radius:10px;text-decoration:none!important;font:14px/1.3 Arial,sans-serif!important;text-align:left}
.eb-direct-buy:hover{background:#eef5ed}.eb-direct-amazon{border-color:#dfbd78;background:#fffaf0}.eb-direct-buy strong{display:block;font-size:13px}.eb-direct-buy small{display:block;font-size:12px;margin-top:5px}.eb-go{margin-left:auto}.eb-purchase-note{font:12px/1.6 Arial,sans-serif!important;margin:18px 0!important}.ebx-preview-bottom .sample-download{display:block;padding:8px 0;min-height:40px}
@media(max-width:1000px) and (min-width:651px){.eb-format-art .ebx-card-art{padding-left:60px;padding-right:60px}.eb-catalog-preview{padding-left:65px;padding-right:65px}}
@media(max-width:650px){
 .eb-format-art .ebx-card-art{height:240px;padding:15px 15px 68px}.eb-format-badge{top:auto;bottom:9px;transform:none;min-height:44px;width:62px;flex-direction:row;gap:4px;font-size:9px}.eb-format-badge .eb-buy-icon{width:23px!important;height:25px!important;min-width:23px}.eb-digital-badge{left:8px}.eb-amazon-badge{right:8px}
 .eb-catalog-preview{height:310px;padding:20px 74px}.eb-catalog-art .eb-format-badge{top:50%;bottom:auto;transform:translateY(-50%);flex-direction:column;min-height:64px;width:55px;font-size:10px}
 .eb-hero-formats .eb-format-badge{min-height:44px;transform:none}.ebx-preview-dialog{width:100vw;max-width:100vw}.ebx-preview-layout{display:flex;flex-direction:column}.ebx-preview-layout .ebx-preview-content{flex:1;min-height:0;padding-bottom:14px}.ebx-preview-layout .ebx-preview-bottom{flex:none;border-left:0;border-top:1px solid #d5ddd5;padding:10px 12px;max-height:35dvh;overflow-y:auto}.eb-buy-heading{display:none}.eb-direct-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.eb-direct-options:has(>a:only-child){grid-template-columns:1fr}.eb-direct-buy{min-height:58px;padding:9px 8px!important;gap:6px}.eb-direct-buy strong{font-size:11px}.eb-direct-buy small{font-size:11px}.eb-direct-buy .eb-buy-icon{width:24px!important;min-width:24px;height:26px!important}.eb-go{display:none}.eb-purchase-note{font-size:10px!important;line-height:1.35!important;margin:8px 0 0!important}.ebx-preview-bottom .sample-download{min-height:0;padding:7px 0 0;font-size:11px!important}
}
