.store-media-link { display:block; width:100%; height:100%; }
.store-card-media > span { pointer-events:none; }
.store-card-media .store-card-favorite { z-index:1; }
.listing-editor .photo-editor { border:1px solid #766649; border-radius:.6rem; padding:1rem; margin:0; min-width:0; }
.photo-editor legend { color:#ead197; font-weight:700; padding:0 .25rem; }
.photo-editor > label { margin:.75rem 0; }
.photo-editor > .listing-cover { width:min(100%,320px); aspect-ratio:16/9; object-fit:cover; border-radius:.4rem; }
.gallery-upload { padding:.7rem; border:1px dashed #aa8f55; border-radius:.45rem; }
#gallery-file-status { margin:0 0 .45rem; font-size:.9rem; color:#f2ce82; }
.edit-photo-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(105px,100%),1fr)); gap:.5rem; }
.edit-photo-grid img,.listing-gallery img { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:.45rem; }
.edit-photo-grid label { margin:0; background:#101813; padding:.35rem; border-radius:.45rem; }
.edit-photo-grid label span { display:flex; align-items:center; gap:.3rem; font-size:.83rem; }
.edit-photo-grid label input { width:auto; }
.listing-gallery ul { list-style:none; display:grid; grid-auto-columns:minmax(160px,30%); grid-auto-flow:column; overflow-x:auto; scroll-snap-type:x mandatory; gap:.65rem; padding:.2rem 0 .55rem; }
.listing-gallery li { scroll-snap-align:start; }
.listing-gallery a { display:block; }
.listing-gallery h2 { font-size:1.4rem; margin-bottom:.55rem; }
@media (max-width:680px) {
    .storefront .site-header nav { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.5rem .65rem; padding:.5rem 0; }
    .storefront .brand img { width:124px; }
    .storefront .site-header .site-navigation { grid-column:1/-1; grid-row:3; flex-wrap:nowrap; gap:.6rem; overflow-x:auto; padding:0 0 .25rem; white-space:nowrap; }
    .storefront .site-navigation a { padding:.45rem .15rem; font-size:.82rem; }
    .storefront .site-contact-actions { grid-column:1/-1; grid-row:2; display:grid; grid-template-columns:1fr 1fr; }
    .storefront .site-contact-actions a { min-height:40px; }
    .storefront .site-account-links { gap:.4rem; justify-content:flex-end; }
    .storefront .site-account-links button { padding:.3rem .45rem; }
    .store-hero { min-height:350px; }
    .store-hero-copy { padding:1.7rem 0 4.6rem; }
    .store-hero-copy > p:not(.store-kicker) { font-size:.91rem; max-width:30ch; }
    .store-hero h1 { font-size:clamp(2rem,8vw,3rem); }
    .store-search { margin-top:-38px; margin-bottom:1.3rem; }
    .store-tabs { width:100%; flex-wrap:nowrap; overflow:auto; }
    .store-tabs a { flex:1; white-space:nowrap; font-size:.76rem; padding:.5rem .35rem; }
    .store-search form { border-radius:0 0 .85rem .85rem; padding:.7rem; gap:.48rem; }
    .store-search form input,.store-search form select { min-height:41px; font-size:16px; }
    .store-search form label { font-size:.72rem; }
    .store-card-favorite button,a.store-card-favorite { width:44px; height:44px; }
    .store-card-arrow { min-width:44px; min-height:44px; }
    .listing-gallery ul { grid-auto-columns:minmax(0,84%); }
    .listing-editor .listing-save { width:100%; min-height:44px; }
}
