.detail-overview a.detail-photo{border:1px solid #e4e0d9;background:#fff;border-radius:3px;height:clamp(420px,38vw,540px);padding:30px 24px 48px;cursor:zoom-in}
.detail-overview a.detail-photo img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:scale-down;flex-shrink:1;transform:none}
.detail-photo .detail-photo-hint{position:absolute;bottom:15px;left:15px;right:15px;text-align:center;font-size:11px;line-height:1.6;color:#8a7c68;pointer-events:none}
.detail-overview a.detail-photo:hover{border-color:#b49b79}
.product-image-dialog{border:1px solid #e4e0d9;border-radius:4px;background:#fff;padding:18px 22px 22px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);width:max-content;color:#303735;box-shadow:0 20px 80px #0003;overflow:auto}
.product-image-dialog::backdrop{background:#1b201dcc}
.product-image-dialog[open]{display:flex;flex-direction:column;align-items:center;gap:18px}
.product-image-dialog .product-image-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%}
.product-image-dialog .product-image-title{font-size:13px;line-height:1.7;margin:0;max-width:620px;font-weight:500}
.product-image-dialog .product-image-close{border:1px solid #ddd6ca;background:#fff;color:#544a3c;border-radius:3px;flex-shrink:0;width:38px;height:38px;font:26px/1 Arial;display:grid;place-items:center;cursor:pointer}
.product-image-dialog .product-image-full{display:block;width:auto;height:auto;max-width:min(100%,calc(100vw - 78px));max-height:calc(100dvh - 156px);object-fit:scale-down;margin:auto}
html.product-image-open{overflow:hidden}
@media(max-width:720px){.detail-overview a.detail-photo{height:350px;padding:18px 18px 42px}.product-image-dialog{padding:14px}.product-image-dialog .product-image-title{font-size:12px}.product-image-dialog .product-image-full{max-width:calc(100vw - 62px);max-height:calc(100dvh - 180px)}}
@media(max-width:390px){.detail-overview a.detail-photo{height:320px}}
