.bbpp-overview, .bbpp-layout {
    text-align: left;
    color: #3f3343;
    font-family: "Work Sans", system-ui, sans-serif;
}
.bbpp-overview { margin: .5rem 0 .75rem; }
.bbpp-layout { margin: .6rem 0 .35rem .3rem; }
.bbpp-overview summary, .bbpp-layout summary {
    display: list-item;
    width: fit-content;
    max-width: 100%;
    cursor: pointer;
    font: 600 .87rem/1.5 "Work Sans", system-ui, sans-serif;
}
.bbpp-overview summary:focus-visible, .bbpp-open:focus-visible {
    outline: 2px solid #833311;
    outline-offset: 3px;
}
.bbpp-overview p { margin: .4rem 0; font-size: .94rem; line-height: 1.55; }
.bbpp-pages { margin: .55rem 0 .8rem; padding: 0; list-style: none; text-transform: none; }
.bbpp-pages li { margin: 0 0 .48rem; font: 400 .94rem/1.54 "Work Sans", system-ui, sans-serif; }
.bbpp-product-contents { margin: .3rem 0 1.2rem; }
.bbpp-open { display: inline-block; margin: .35rem 0; color: #833311; text-decoration: underline; }
.resource-preview:has(.bbpp-preview-label), .bbsr-preview:has(.bbpp-preview-label) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .45rem;
}
.bbpp-preview-label {
    display: block;
    color: #514351;
    font: 500 .68rem/1.3 "Roboto Mono", monospace;
    letter-spacing: .045em;
    text-transform: uppercase;
}
.bbpp-page-note { margin: .25rem 0 .55rem; color: #514351; font: 400 .88rem/1.45 "Work Sans", system-ui, sans-serif; }
.pdf-reader .page-stage.bbpp-small-page #preview-page {
    width: auto;
    height: auto;
    max-width: min(100%, 270px);
    max-height: 270px;
    object-fit: contain;
}
.pdf-reader .zoom-button[hidden] { display: none; }
@media (max-width: 600px) {
    .bbpp-overview summary { padding: .35rem 0; }
}
body.bbpp-print-kit #bb-catalog-product .bb-product-crop {
    display: grid;
    place-items: center;
    aspect-ratio: auto;
    padding: .85rem;
}
body.bbpp-print-kit #bb-catalog-product .bb-product-crop > span {
    display: block;
    position: static;
    width: 100%;
    aspect-ratio: auto;
    transform: none;
}
body.bbpp-print-kit #bb-catalog-product .bb-product-crop img {
    position: static;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 380px;
    object-fit: contain;
    margin-inline: auto;
}
body.bbpp-print-kit #bb-catalog-product .bb-enlarged-print .bb-product-crop img {
    max-height: 75vh;
}
