.bymjm-product-photos[hidden]{display:none!important}
.bymjm-product-photos{padding-top:18px;margin-top:18px;border-top:1px solid #e6ded4}
.bymjm-product-photos h2{font-size:23px;line-height:1.25;margin:0 0 6px}
.bymjm-product-photos__count{font-size:13px;color:#62564b;margin:0 0 12px}
.bymjm-product-photos__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.bymjm-product-photos figure{margin:0;min-width:0}
.bymjm-product-photos__image{display:block;width:100%;border:0;border-radius:5px;overflow:hidden;padding:0;background:transparent;cursor:zoom-in}
.bymjm-product-photos__image img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.bymjm-product-photos figcaption{font-size:13px;line-height:1.4;padding:7px 0 0;overflow-wrap:anywhere}
.bymjm-product-photos__more{display:block;min-height:44px;margin:22px auto 0;padding:12px 20px;border:1px solid #cbbba8;border-radius:5px;background:#fff;color:#171717;font-family:var(--font-body-family,Arial,sans-serif);font-size:14px;font-weight:600;line-height:1.4;cursor:pointer}
.bymjm-product-photos__more[hidden]{display:none!important}
.bymjm-product-photos__dialog{box-sizing:border-box;width:min(900px,94vw);max-height:94vh;padding:52px 20px 20px;border:0;border-radius:8px;background:#fff;color:#171717}
.bymjm-product-photos__dialog::backdrop{background:rgba(0,0,0,.8)}
.bymjm-product-photos__dialog img{display:block;max-width:100%;width:auto;height:auto;max-height:70vh;object-fit:contain;margin:auto}
.bymjm-product-photos__dialog p{margin:16px 0 0;white-space:pre-line;line-height:1.6;text-align:center}
.bymjm-product-photos__close{position:absolute;right:14px;top:10px;min-height:34px;padding:5px 12px;background:#fff;border:1px solid #cbbba8;border-radius:4px;color:#171717;cursor:pointer}
.bymjm-product-photos :focus-visible{outline:2px solid #a57943;outline-offset:4px}
@media(max-width:749px){.bymjm-product-photos__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.bymjm-product-photos h2{font-size:24px}}


.bymjm-product-photos,.bymjm-product-photos button,.bymjm-product-photos figcaption,.bymjm-product-photos__dialog p{font-family:var(--font-body-family,Arial,sans-serif)!important}


@media(max-width:749px){.bymjm-product-photos:not(.is-expanded) figure:nth-child(n+7){display:none}.bymjm-product-photos h2{font-size:22px}}
