.pic{aspect-ratio:3/4;height:auto!important;min-width:0}
.photo[data-photo-fit]{position:relative;display:block;width:100%;height:100%;padding:0!important;background:#f7f7f8;overflow:hidden}
.photo[data-photo-fit] img{max-width:none!important;max-height:none!important;transform-origin:center;object-fit:contain!important;display:block}
.photo-document[data-photo-fit]{height:auto!important;aspect-ratio:3/4;max-width:600px;margin:0 auto}
.detailgallery{aspect-ratio:3/4;max-height:calc(100dvh - 190px);height:auto!important}
.detailgallery .photo{padding:0!important}.zoom{height:70dvh}.zoom .photo{height:100%}
.card .name{font-size:14px;line-height:1.5;max-height:none;white-space:normal}.card .stock{font-size:12px;line-height:1.5}
.pic .label{font-size:11px;max-width:85%;line-height:1.4}.variantlist .photo{height:90px}.thumbs button{min-width:54px}
@media(max-width:700px){.pic{aspect-ratio:3/4}.detailgallery{max-height:58dvh}.grid{gap:22px 14px}.wrap{padding-left:16px;padding-right:16px}.photo-document[data-photo-fit]{max-height:70dvh}.card .name{font-size:14px}.card .stock{font-size:12px}}
body .layout{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.layout>section{min-width:0}.gallery figure{margin:0}.variants{max-width:100%;min-width:0}
@media(max-width:700px){body .layout{grid-template-columns:minmax(0,1fr)}}
