/* Existing R3/shop components; only the new r04 media receive these constraints. */
body[data-omg-a1-r04] .omg-a1-figure{min-width:0;margin:0}
body[data-omg-a1-r04] .omg-a1-figure picture,body[data-omg-a1-r04] .omg-a1-open{display:block;width:100%;height:auto;background:#f2f3ef}
body[data-omg-a1-r04] .omg-a1-figure img.omg-a1-image{display:block;position:static;width:100%!important;height:auto!important;max-height:640px;aspect-ratio:auto!important;object-fit:contain!important;object-position:center;padding:0;transform:none;opacity:1}
body[data-omg-a1-r04] .omg-a1-main img.omg-a1-image{max-height:680px}
body[data-omg-a1-r04] .omg-a1-figure figcaption,body[data-omg-a1-r04] .omg-a1-note{font-size:14px;line-height:1.5;overflow-wrap:anywhere;margin:10px 0;color:inherit}
body[data-omg-a1-r04] .omg-a1-more,body[data-omg-a1-r04] .omg-a1-previous{margin-block:16px}
body[data-omg-a1-r04] .omg-a1-more>summary,body[data-omg-a1-r04] .omg-a1-previous>summary{cursor:pointer;padding:12px 0;font-weight:700}
body[data-omg-a1-r04] .omg-a1-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:14px}
body[data-omg-a1-r04] [data-omg-a1-card] picture{display:block;width:100%;height:100%}
body[data-omg-a1-r04] [data-omg-a1-card] img.omg-a1-image{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center;transform:none}
body[data-omg-a1-r04] .product-card-photo{display:block}
body[data-omg-a1-r04] :is(.omg-a1-open,.omg-a1-figure picture,[data-omg-a1-card] picture){background:#101d32}
body[data-omg-a1-r04] .omg-a1-image{padding:0!important;background:transparent!important}
body[data-omg-a1-r04] .omg-a1-thumbnails{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
body[data-omg-a1-r04] .omg-a1-thumbnails .omg-a1-figure img.omg-a1-image{height:170px!important;width:100%!important;object-fit:contain!important}
body[data-omg-a1-r04] .omg-a1-thumbnails figcaption{font-size:13px}
body[data-omg-a1-r04] .omg-a1-dialog-nav{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:12px}
body[data-omg-a1-r04] .omg-a1-dialog-nav button{min-height:44px;padding:10px 12px;background:#234be8;color:white;border:0;font:700 14px/1.4 Inter,Arial,sans-serif;cursor:pointer}
body[data-omg-a1-r04] .omg-a1-counter{white-space:nowrap;font:700 14px/1.4 Inter,Arial,sans-serif}
body[data-omg-a1-r04] .omg-a1-dialog-photo{touch-action:pan-y}
body[data-omg-a1-r04] .omg-shop-bundle{grid-column:auto!important}
@media(max-width:400px){body[data-omg-a1-r04] .omg-a1-dialog-nav button{font-size:12px;padding:10px 8px}body[data-omg-a1-r04] .omg-a1-thumbnails .omg-a1-figure img.omg-a1-image{height:130px!important}}
body[data-omg-a1-r04] .omg-a1-open:focus-visible,body[data-omg-a1-r04] summary:focus-visible,body[data-omg-a1-r04] .omg-a1-dialog :is(a,button):focus-visible{outline:3px solid #234be8;outline-offset:3px}
body[data-omg-a1-r04] dialog.omg-a1-dialog{width:min(1100px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:16px;border:1px solid #c9ced8;background:white;color:#101d32;overflow:auto}
body[data-omg-a1-r04] dialog.omg-a1-dialog::backdrop{background:rgb(16 29 50 / 85%)}
body[data-omg-a1-r04] .omg-a1-dialog-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:12px}
body[data-omg-a1-r04] .omg-a1-dialog-bar :is(a,button){min-height:44px;display:inline-flex;align-items:center;padding:10px 14px;font:700 15px/1.4 Inter,Arial,sans-serif}
body[data-omg-a1-r04] .omg-a1-dialog-bar button{background:#234be8;color:white;border:0;cursor:pointer}
body[data-omg-a1-r04] .omg-a1-dialog-photo{display:block;width:100%;height:auto;max-height:calc(100dvh - 200px);object-fit:contain}
body[data-omg-a1-r04] .omg-a1-dialog-caption{font:14px/1.5 Inter,Arial,sans-serif;margin:12px 0 0;overflow-wrap:anywhere}
@media(max-width:700px){body[data-omg-a1-r04] .omg-a1-grid{grid-template-columns:minmax(0,1fr)}body[data-omg-a1-r04] dialog.omg-a1-dialog{padding:12px}}
