.home-page.shop-theme .material-detail{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-rows:min-content 1fr;gap:22px 34px;padding:28px;align-items:start}
.material-detail-photo{margin:0;grid-column:1;grid-row:1/3;min-width:0}
.material-photo-window{display:block;position:relative;overflow:hidden;aspect-ratio:4/3;width:100%;border:0;border-radius:8px;padding:0;background:#eeede7;cursor:zoom-in}
.material-detail-photo .material-photo-window>img{display:block;position:absolute;max-width:100%;width:100%;height:100%;left:0;top:0;object-fit:contain}
.material-photo-enlarge{display:flex;align-items:center;justify-content:center;position:absolute;right:12px;bottom:12px;width:40px;height:40px;border-radius:50%;background:#fffffff2;box-shadow:0 2px 12px #00000014;color:#28332b}
.material-photo-enlarge svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.material-photo-window:hover .material-photo-enlarge{background:#28332b;color:white}
.material-detail-photo figcaption{margin-top:12px;font-size:13px;line-height:1.55;color:#666d61;max-width:420px}
.home-page.shop-theme .material-detail-copy{grid-column:2;grid-row:1}
.home-page.shop-theme .material-detail .material-facts{grid-column:2;grid-row:2;display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:20px;margin:0}
.home-page.shop-theme .material-facts>div+div{border:0;margin:0;padding:0}
.home-page.shop-theme .material-facts dd{font-size:14px;line-height:1.55}
.home-page.shop-theme .material-detail .material-request{margin-top:20px}
.material-photo-dialog{width:min(960px,calc(100% - 24px));max-height:92dvh;padding:18px;border-radius:12px;background:#f9f7f2}
.material-photo-dialog figure{margin:0}
.material-photo-dialog img{display:block;max-height:76dvh;width:100%;height:auto;min-height:0;object-fit:contain}
.material-photo-dialog figcaption{padding:16px 48px 0 4px;font-size:14px;line-height:1.55;color:#4f574b}
.material-photo-dialog .material-photo-close{position:absolute;z-index:1;top:12px;right:12px;width:44px;height:44px;display:grid;place-items:center;background:#fff;border:1px solid #e0e0d6;border-radius:50%;font-size:29px;line-height:1;color:#28332b}
@media(max-width:900px){
 .home-page.shop-theme .material-detail{gap:24px;padding:24px}
 .home-page.shop-theme .material-detail .material-facts{grid-column:1/-1;grid-row:2}
 .material-detail-photo{grid-row:1}
}
@media(max-width:720px){
 .home-page.shop-theme .material-detail{grid-template-columns:1fr;grid-template-rows:auto;gap:20px;padding:18px}
 .material-detail-photo{grid-column:1;grid-row:1}
 .home-page.shop-theme .material-detail-copy{grid-column:1;grid-row:2}
 .home-page.shop-theme .material-detail .material-facts{grid-column:1;grid-row:3;gap:16px;padding:16px}
 .material-detail-photo figcaption{font-size:12px;margin-top:10px}
 .material-photo-dialog{padding:10px}
}
