.ae-detail-gallery{min-width:0;align-self:start}
.ae-gallery-stage{position:relative;overflow:hidden;aspect-ratio:1;background:#e9e3d8;display:grid;place-items:center}
.ae-gallery-stage .ae-gallery-photo{display:block;width:100%;height:100%;max-height:none;object-fit:contain;border-radius:0;transition:transform .3s ease}
.ae-gallery-stage .ae-gallery-photo[hidden],.ae-dimension-view[hidden]{display:none!important}
.ae-gallery-stage[data-view=detail] .ae-gallery-photo{object-fit:cover;transform:scale(1.8);transform-origin:60% 63%}
.ae-dimension-view{width:100%;padding:12px}
.ae-dimension-view svg{display:block;width:100%;max-height:430px}
.ae-dimension-view p{font:13px/1.5 var(--ae-sans)!important;text-align:center;margin:0!important}
.ae-gallery-controls{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:13px;border-bottom:1px solid #c9c0b2}
.ae-gallery-controls button{min-height:48px;padding:8px 3px;border:0;border-bottom:2px solid transparent;color:#665f54;background:transparent;font:13px/1.3 var(--ae-sans);cursor:pointer}
.ae-gallery-controls button[aria-pressed=true]{border-color:#302c27;color:#302c27}
.ae-gallery-caption{font:13px/1.6 var(--ae-sans)!important;margin:14px 0 0!important;color:#665f54}
dialog[data-single-product=true] .qe-product[hidden]{display:none!important}
dialog[data-single-product=true]>.qe-intro,dialog[data-single-product=true]>h2{display:none!important}
dialog[data-single-product=true] .qe-product{margin-top:0!important;border-top:0!important;padding-top:0!important}
dialog[data-single-product=true] .qe-products{padding-top:20px!important}
@media(max-width:749px){.ae-gallery-stage{max-height:390px}.ae-gallery-controls{gap:0}.ae-gallery-controls button{font-size:12px;min-height:48px}.ae-gallery-caption{font-size:12px!important;line-height:1.6!important}.ae-dimension-view svg{max-height:300px}}
@media(prefers-reduced-motion:reduce){.ae-gallery-stage .ae-gallery-photo{transition:none}}

dialog[data-single-product=true] .qe-heading{display:none!important}
dialog[data-single-product=true] .qe-products{display:grid!important;grid-template-columns:1fr!important}
dialog[data-single-product=true] .qe-product:not([hidden]){display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:36px}
dialog[data-single-product=true] .qe-copy{padding:0!important}
@media(max-width:749px){dialog[data-single-product=true] .qe-product:not([hidden]){grid-template-columns:1fr!important;gap:26px}}

.ae-pillow-dialog .ae-pillow-close{margin:0}
.ae-pillow-dialog .ae-pillow-detail{align-items:start}
.ae-pillow-dialog .ae-gallery-controls button{min-height:48px}
.ae-pillow-dialog .ae-gallery-caption{font-size:14px!important;line-height:1.6!important}
