/* Scoped additions: preserve existing storefront and administration layouts. */
header .brand>img{width:270px;height:90px;object-fit:contain;border:0;border-radius:6px;background:transparent}
header .brand>span{display:none}
.rancho-product-photo{margin:0 0 16px;position:relative;background:#faf7f0;overflow:hidden;border-radius:10px}
.rancho-product-photo img{display:block;width:100%;height:180px;object-fit:contain;background:#faf7f0}
.rancho-product-photo figcaption{padding:5px 8px 7px;font-size:10px;line-height:1.3;text-align:center;color:#425341;background:#faf7f0}
#product-dialog .dialog-image{height:225px;background:#faf7f0}
#product-dialog .dialog-image img{width:100%;height:100%;object-fit:contain}
.rancho-photo-note{font-size:12px;line-height:1.5;color:#425341;margin:8px 0 18px}
footer{flex-wrap:wrap}
footer .rancho-admin-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid currentColor;border-radius:8px;color:inherit;font-weight:700;font-size:14px;text-decoration:underline;text-underline-offset:4px}
footer .rancho-admin-link:hover{background:#163e2c;color:#fffbee}
footer .rancho-admin-link:focus-visible{outline:3px solid #a94814;outline-offset:4px}
img.rancho-admin-logo{width:58px;height:58px;object-fit:contain;border-radius:8px;flex-shrink:0}
.login-brand img.rancho-admin-logo{width:110px;height:110px}
@media(max-width:760px){header .brand>img{width:174px;height:58px}header{gap:8px}.rancho-product-photo img{height:150px}footer .rancho-admin-link{flex-basis:100%;margin-top:4px}.rancho-product-photo{margin-bottom:12px}}
@media(max-width:380px){header .brand>img{width:144px;height:48px}.rancho-product-photo img{height:130px}}

footer .rancho-photo-credits{color:#f6eab0;text-underline-offset:3px;padding:12px 0;min-height:44px;box-sizing:border-box;font-size:13px}

.dialog-image[hidden]{display:none!important}
