/* Scoped containment for the tall, unmodified After Hours artwork. */
.after-hours-edit .layout,
.after-hours-edit .visual,
.after-hours-edit .right-column,
.after-hours-edit .outfit-media{min-width:0;max-width:100%}
.after-hours-edit .outfit-media{width:100%;aspect-ratio:1080/1920}
.after-hours-edit .outfit-media .hero,
.after-hours-edit .outfit-media .outfit-motion{display:block;width:100%;max-width:100%;height:100%;object-fit:contain}
.after-hours-edit header.wrap .brand-lockup{min-width:0;max-width:100%}
@media(max-width:800px){
 .after-hours-edit .wrap{width:calc(100% - 32px);max-width:calc(100% - 32px);margin-inline:auto}
 .after-hours-edit header.wrap{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
 .after-hours-edit header.wrap nav{display:flex;flex-wrap:wrap;width:100%;min-width:0;max-width:100%;gap:8px 20px}
 .after-hours-edit header.wrap nav a{min-height:44px;white-space:normal}
 .after-hours-edit .layout{display:flex;flex-direction:column;width:100%;align-items:stretch}
 .after-hours-edit .visual{width:100%;max-width:min(520px,100%);margin-inline:auto}
 .after-hours-edit .right-column{width:100%}
 .after-hours-edit .outfit-media .hero{max-height:none}
}

/* Authentic front/back galleries use the existing gallery.js controller. */
.after-hours-edit .after-hours-galleries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin:40px 0}
.after-hours-edit .garment-gallery-panel,.after-hours-edit .product-gallery{min-width:0;max-width:100%}
.after-hours-edit .product-gallery{padding:16px;border:1px solid #e1d6ce;background:#fffaf7}
.after-hours-edit .gallery-slide{margin:0 0 12px}.after-hours-edit .gallery-slide img{display:block;width:100%;height:360px;object-fit:contain;background:#fff}
.after-hours-edit .gallery-slide figcaption{font:12px/1.5 Arial,sans-serif;text-align:center;margin-top:8px;color:#6f5661}
.after-hours-edit .gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;font:12px Arial,sans-serif}
.after-hours-edit .gallery-controls button,.after-hours-edit .gallery-thumbs button{min-width:44px;min-height:44px;background:#fff;border:1px solid #e1d6ce;color:#523e39;cursor:pointer}
.after-hours-edit .gallery-thumbs{display:flex;justify-content:center;gap:10px;margin-top:12px}.after-hours-edit .gallery-thumbs button{padding:8px;display:grid;justify-items:center;gap:5px}
.after-hours-edit .gallery-thumbs img{display:block;width:48px;height:64px;object-fit:contain}.after-hours-edit .gallery-thumbs span{font:11px Arial,sans-serif}
.after-hours-edit .gallery-thumbs button[aria-pressed=true]{border:2px solid #a5627a}.after-hours-edit .product-gallery :focus-visible{outline:3px solid #a5627a;outline-offset:3px}
.after-hours-edit .product-gallery [hidden]{display:none!important}
@media(max-width:600px){.after-hours-edit .after-hours-galleries{grid-template-columns:minmax(0,1fr);gap:24px}.after-hours-edit .gallery-slide img{height:320px}}
