/* Showroom scenes are never cropped. Hotspot x/y are in percentage of intrinsic displayed media. */
.mg57-tour-wrap,.mg57-tour{min-inline-size:0}
.mg57-tour-nav,.mg57-tour-actions,.mg57-tour-products{display:flex;gap:.55rem;flex-wrap:wrap;align-items:center}
.mg57-tour-nav{position:relative;gap:.55rem;padding:.1rem 0 .6rem}
.mg57-tour-count{font-size:.88rem;margin:.2rem 0 .6rem;opacity:.82}
.mg57-tour-btn,.mg57-tour-select{min-height:44px;padding:.45rem .75rem;border:1px solid #b79366;background:#fffdf8;color:#332511;border-radius:9px;font:inherit}
.mg57-tour-btn{cursor:pointer}
.mg57-tour-select{min-width:0;max-width:100%}
.mg57-tour-btn:hover{background:#f2e4d0}
.mg57-tour-btn:disabled{opacity:.45;cursor:not-allowed}
.mg57-tour-figure{margin:0;padding:0}
.mg57-tour-frame{position:relative;width:min(100%,62rem);margin-inline:auto;border-radius:14px;background:#261e15}
.mg57-tour-frame[hidden],.mg57-tour-error[hidden],.mg57-tour-pins[hidden]{display:none!important}
.mg57-tour-media{display:block;width:100%;height:auto;border-radius:inherit;background:#261e15}
.mg57-tour-caption{padding:.8rem 0 .3rem;overflow-wrap:anywhere}
.mg57-tour-caption p,.mg57-tour-help{margin:.3rem 0 .5rem;font-size:.9rem}
.mg57-tour-pins{position:absolute;inset:0;pointer-events:none}
.mg57-tour-pin{position:absolute;transform:translate(-50%,-50%);border-radius:50%;padding:0;display:grid;place-items:center;width:44px;height:44px;border:2px solid #fff3d5;color:#fff;background:#5a351b;box-shadow:0 0 0 2px #302519a0;cursor:pointer;font:bold 1rem system-ui,sans-serif;pointer-events:auto}
.mg57-tour-pin:hover,.mg57-tour-pin[aria-pressed=true]{background:#2f664d}
.mg57-tour-pin:focus-visible,.mg57-tour-btn:focus-visible,.mg57-tour-select:focus-visible{outline:3px solid #168bff;outline-offset:3px}
.mg57-tour-products{padding-inline-start:1.6rem;margin:.45rem 0;column-gap:2.4rem}
.mg57-tour-product-title{margin:.65rem 0 .2rem}
.mg57-tour-product{overflow-wrap:anywhere;text-align:start}
.mg57-tour-error,.mg57-tour-empty{padding:.65rem .8rem;border-radius:9px;background:#fff3d7;color:#593509}
.mg57-tour-admin-grid{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));margin-block:.65rem}
.mg57-tour-admin-grid label{display:grid;gap:.3rem;min-width:0}
.mg57-tour-admin-grid input,.mg57-tour-admin-grid select,.mg57-tour-admin-grid textarea{width:100%;min-width:0;box-sizing:border-box}
.mg57-tour-admin-scene,.mg57-tour-admin-point{min-inline-size:0;margin:.8rem 0;padding:clamp(.4rem,2vw,1.05rem);border:1px solid #bb93636e;border-radius:14px}
.mg57-tour-admin-scene>legend,.mg57-tour-admin-point>legend{font-weight:bold;max-width:100%;overflow-wrap:anywhere}
.mg57-tour-admin-preview{margin-block:.75rem;min-width:0}
.mg57-tour-admin-preview .mg57-tour-frame:not([hidden]){cursor:crosshair}
@media(max-width:540px){.mg57-tour{padding-inline:.35rem}.mg57-tour-frame{width:calc(100% - 1.3rem)}.mg57-tour-nav .mg57-tour-select{flex:1;min-width:6rem}.mg57-tour-products{gap:.45rem 2rem}}

.mg57-tour-video-placement{position:absolute;z-index:2;inset:0;cursor:crosshair;outline:2px solid #3b996e;outline-offset:-2px;border-radius:inherit}
.mg57-tour-video-placement[hidden]{display:none!important}
.mg57-tour-admin-preview>.mg57-tour-btn{margin-block:.65rem}

/* V5.8: uncropped responsive scene, magnified viewer, and individually labeled products. */
.mg57-tour{--tour-ivory:#fff9ee;--tour-forest:#153b33;--tour-brass:#ae8852;--tour-border:#cbb28b}
.mg57-tour-viewer{min-inline-size:0}
.mg57-tour-nav{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:stretch;gap:.5rem}
.mg57-tour-nav:has(>.mg57-tour-btn:only-child){grid-template-columns:1fr;justify-items:start}
.mg57-tour-nav .mg57-tour-select{width:100%;min-width:0}
.mg57-tour-btn,.mg57-tour-select{min-height:46px}
.mg57-tour-zoom{background:var(--tour-forest);border-color:var(--tour-forest);color:#fff}
.mg57-tour-zoom:hover{background:#215448}
.mg57-tour-count{margin:.25rem 0 .7rem;font-weight:650}
.mg57-tour-figure{border:1px solid var(--tour-border);background:#e9ded1;border-radius:1rem;padding:clamp(.55rem,2vw,1.2rem)}
.mg57-tour-frame{width:min(calc(100% - 1.05rem),72rem);border-radius:.78rem}
.mg57-tour-caption{padding:.85rem .2rem .15rem;display:grid;gap:.28rem}
.mg57-tour-caption strong{font-size:clamp(1.13rem,3vw,1.55rem);font-weight:800}
.mg57-tour-caption p{margin:0;color:#4d4336}
.mg57-tour-media-kind{font-size:.78rem;font-weight:800;color:#51482c}
.mg57-tour-pin{width:48px;height:48px;border:3px solid #fff7dc;background:#153b33;box-shadow:0 0 0 3px #1e26177a,0 5px 12px #15190da0}
.mg57-tour-pin-guide{margin:.25rem 0 .65rem;font-size:.88rem}
.mg57-tour-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));padding:0;list-style:none;gap:.55rem}
.mg57-tour-products li{min-width:0}
.mg57-tour-product{display:flex;align-items:center;gap:.65rem;width:100%;min-height:70px;background:#fffdf9}
.mg57-tour-product-thumb{width:53px;height:53px;object-fit:contain;border-radius:.45rem;background:#f0ebe2;flex:none}
.mg57-tour-product-meta{display:grid;gap:.18rem;min-width:0}
.mg57-tour-product-meta small{font-size:.74rem;color:#6e604b}
.mg57-tour-product-arrow{margin-inline-start:auto;color:#366951}
.mg57-tour-filmstrip{display:flex;gap:.5rem;overflow:auto;padding:.5rem 0 .4rem;scroll-snap-type:inline proximity}
.mg57-tour-scene-card{display:flex;align-items:center;gap:.45rem;flex:0 0 auto;max-width:min(17rem,78%);min-height:48px;padding:.4rem .7rem;border:1px solid #bca075;border-radius:9px;background:#fffbf4;color:#342a1a;font:inherit;text-align:start;cursor:pointer;scroll-snap-align:start;overflow-wrap:anywhere}
.mg57-tour-scene-icon{display:grid;place-items:center;border-radius:50%;background:#e4d7bc;width:24px;height:24px;flex:none}
.mg57-tour-scene-card[aria-current=true]{border:2px solid #25624f;background:#e3efe7;color:#14392f;font-weight:750}
.mg57-tour-scene-card:focus-visible{outline:3px solid #168bff;outline-offset:1px}
.mg57-tour-dialog{color:#25291f;background:#fffcf5;width:min(calc(100% - .8rem),86rem);max-width:none;max-height:calc(100dvh - .9rem);box-sizing:border-box;border:1px solid #8b784f;border-radius:1rem;padding:clamp(.55rem,2vw,1.35rem);overflow:auto;overscroll-behavior:contain}
.mg57-tour-dialog[open]{display:block}
.mg57-tour-dialog::backdrop{background:#0b1613c9}
.mg57-tour-dialog-bar{display:flex;justify-content:space-between;align-items:center;gap:.6rem;margin-block-end:.6rem}
.mg57-tour-dialog-bar strong{font-size:1.15rem}
.mg57-tour-dialog .mg57-tour-frame{width:max-content;max-width:calc(100% - .9rem)}
.mg57-tour-dialog .mg57-tour-media{width:auto;max-width:100%;max-height:min(72dvh,60rem)}
@media(max-width:520px){
 .mg57-tour-nav{grid-template-columns:auto minmax(0,1fr) auto}
 .mg57-tour-nav .mg57-tour-zoom{grid-column:1/-1;width:100%}
 .mg57-tour-pin{width:44px;height:44px}
 .mg57-tour-product{min-height:60px}
}
