/* A small photo action beside, not instead of, the existing + control. */
#mmSh[data-cx-menu-modern] :is(.cx-row,.mm-row)[data-cx-has-photo="true"]{grid-template-columns:minmax(0,1fr) 36px auto;column-gap:6px}
#mmSh .cx-dish-photo-trigger{grid-column:2;grid-row:1;position:relative;display:grid;place-items:center;width:36px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#a74323;cursor:pointer;touch-action:manipulation}
#mmSh .cx-dish-photo-trigger::before{content:"";position:absolute;width:28px;height:28px;inset:0;margin:auto;border:1px solid #cbbda6;border-radius:50%;background:#f9f6ef;transition:background .16s,border-color .16s}
#mmSh .cx-dish-photo-trigger svg{position:relative;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
#mmSh .cx-dish-photo-trigger:hover::before{background:#e9dfce;border-color:#a74323}
#mmSh[data-cx-menu-modern] :is(.cx-dish-photo-trigger,.cx-dish-photo-close,.cx-dish-photo-prev,.cx-dish-photo-next){-webkit-tap-highlight-color:transparent}
#mmSh[data-cx-menu-modern] :is(.cx-dish-photo-trigger,.cx-dish-photo-close,.cx-dish-photo-prev,.cx-dish-photo-next):focus{outline:none;box-shadow:none}
#mmSh[data-cx-menu-modern][data-cx-photo-keyboard="true"] .cx-dish-photo-trigger:focus-visible{outline:2px solid #766448;outline-offset:2px}
#mmSh :is(.cx-row,.mm-row)[data-cx-has-photo="true"]>.cx-select-control{grid-column:3;grid-row:1}
#mmSh[data-cx-menu-modern] .cx-variant-choice[data-cx-has-photo="true"]{flex-basis:180px}
#mmSh .cx-variant-choice[data-cx-has-photo="true"] .cx-variant-label{flex:1;min-width:0}
#mmSh .cx-variant-choice>.cx-dish-photo-trigger{flex:0 0 36px}
#cx-dish-photo{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(720px,calc(100vw - 32px));max-width:none;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:0;overflow:auto;border:1px solid #cbbda6;border-radius:14px;background:#f5f0e5;color:#282922;box-shadow:0 24px 85px #0006;overscroll-behavior:contain}
#cx-dish-photo[open]{animation:cx-dish-photo-enter .18s ease-out}
#cx-dish-photo::backdrop{background:rgba(24,20,15,.66);backdrop-filter:blur(3px)}
#cx-dish-photo .cx-dish-photo-media{position:relative;aspect-ratio:3/2;background:#201d19;display:grid;place-items:center;overflow:hidden}
#cx-dish-photo img{display:block;width:100%;height:100%;max-height:70vh;object-fit:contain}
#cx-dish-photo [hidden]{display:none!important}
#cx-dish-photo .cx-dish-photo-close{position:absolute;z-index:1;top:12px;right:12px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff70;border-radius:50%;background:#211b16d9;color:#fff;cursor:pointer;touch-action:manipulation}
#cx-dish-photo .cx-dish-photo-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
#mmSh[data-cx-menu-modern][data-cx-photo-keyboard="true"] :is(.cx-dish-photo-close,.cx-dish-photo-prev,.cx-dish-photo-next):focus-visible{outline:2px solid #fff;outline-offset:3px}
#cx-dish-photo .cx-dish-photo-status{padding:30px;margin:0;color:#f5f0e5;font:400 14px/1.5 'DM Sans',sans-serif;text-align:center}
#cx-dish-photo[data-gallery="true"] .cx-dish-photo-media{touch-action:pan-y pinch-zoom}
#cx-dish-photo[data-portrait="true"]{width:min(430px,calc(100vw - 32px),calc(70vh * .5625));width:min(430px,calc(100vw - 32px),calc(70dvh * .5625))}
#cx-dish-photo[data-portrait="true"] .cx-dish-photo-media{aspect-ratio:9/16}
#cx-dish-photo[data-photo-format="portrait-3-4"]{width:min(480px,calc(100vw - 32px),calc(70vh * .753425));width:min(480px,calc(100vw - 32px),calc(70dvh * .753425))}
#cx-dish-photo[data-photo-format="portrait-3-4"] .cx-dish-photo-media{aspect-ratio:55/73}
#cx-dish-photo[data-photo-format="landscape-left"] .cx-dish-photo-media{aspect-ratio:1672/941}
#cx-dish-photo[data-photo-format="landscape-left"] img{position:absolute;left:50%;top:50%;width:calc(100% * 941 / 1672);height:calc(100% * 1672 / 941);max-height:none;transform:translate(-50%,-50%) rotate(-90deg)}
#cx-dish-photo .cx-dish-photo-nav{display:flex;align-items:center;justify-content:center;gap:20px;padding:6px 16px;background:#211d18;border-top:1px solid #ffffff1c;color:#f9f6ef}
#cx-dish-photo .cx-dish-photo-nav button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff4d;border-radius:50%;background:#ffffff08;color:inherit;cursor:pointer;touch-action:manipulation}
#cx-dish-photo .cx-dish-photo-nav button:hover{background:#ffffff1c;border-color:#ffffff9c}
#cx-dish-photo .cx-dish-photo-nav svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#cx-dish-photo .cx-dish-photo-count{min-width:42px;text-align:center;font:400 13px/1 'DM Sans',sans-serif;font-variant-numeric:tabular-nums;letter-spacing:.08em}
@keyframes cx-dish-photo-enter{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:600px){#mmSh[data-cx-menu-modern] :is(.cx-row,.mm-row)[data-cx-has-photo="true"]{grid-template-columns:minmax(0,1fr) 44px auto;column-gap:4px}#mmSh .cx-dish-photo-trigger{width:44px}}
@media(prefers-reduced-motion:reduce){#cx-dish-photo[open]{animation:none}#mmSh .cx-dish-photo-trigger::before{transition:none}}
