/* The page canvas is white; image stages have their own backgrounds. */
html,
body,
body #wrapper,
body #main,
body #content,
body .page-wrapper,
body .shop-container,
body .header-main,
body .header-bottom,
body.fk-gallery main,
body.fk-gallery .fk-buy,
body.fk-gallery .fk-product-info {
    background-color: #fff !important;
}
body.fk-gallery {
    --paper: #fff;
}
body.fk-gallery > footer {
    background: #fff;
    color: #20231f;
    border-top: 1px solid var(--rule);
}
body.fk-gallery > footer a,
body.fk-gallery > footer .wordmark {
    color: #20231f;
}

/* Size the photo frame directly, independent of legacy padding-based ratios. */
body #main .product-small .box-image > :is(.image-cover, .image-zoom, .image-zoom_in, .image-fade_in_back, a) {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1;
    height: auto !important;
    padding: 0 !important;
    display: block !important;
}
