/* Shared by index.html (dev viewer) and product.html (WooCommerce product page).
   Call-outs: GJ-Website Figma — dot default 472:15082, dot selected 472:15087, card 472:15103. */
.callout{ position:absolute; left:0; top:0; transition:opacity .15s ease; }
.callout.hidden{ opacity:0; }                              /* behind the device */
.callout.hidden .dot, .callout.hidden .card{ pointer-events:none; }
.callout .dot{ position:absolute; left:0; top:0; transform:translate(-50%,-50%); box-sizing:content-box; width:18px; height:18px;
               padding:0; border:4px solid #fff; border-radius:50%; background:#6ddfbc; cursor:pointer; pointer-events:auto;
               box-shadow:0 10px 17.87px rgba(0,0,0,.042), 0 20px 33.42px rgba(0,0,0,.05), 0 60px 80px rgba(0,0,0,.07);
               transition:width .12s ease, height .12s ease, border-width .12s ease; }
.callout.selected .dot{ width:20px; height:20px; border-width:6px; }
.callout .dot:focus-visible{ outline:2px solid #000; outline-offset:2px; }
/* "floating 2" shadow from the Figma styles */
/* placed by viewer.js (placeCard): beside the dot if it fits, else the other side, else above/below; 12 px inside the stage */
.callout .card{ position:absolute; top:0; left:28px; transform:translateY(-50%); display:none; flex-direction:column; gap:4px;
                width:max-content; max-width:min(320px, calc(100vw - 24px)); padding:12px 16px 16px; border-radius:8px; background:#fff; color:#000;
                pointer-events:auto;
                box-shadow:0 2.77px 2.21px rgba(0,0,0,.02), 0 6.65px 5.32px rgba(0,0,0,.028), 0 12.52px 10.02px rgba(0,0,0,.035),
                           0 10px 17.87px rgba(0,0,0,.043), 0 20px 33.42px rgba(0,0,0,.05), 0 60px 80px rgba(0,0,0,.07); }
.callout.selected .card{ display:flex; }
.callout.selected{ z-index:1; }   /* the open card above the other dots */
.callout .card p{ margin:0; }
.callout .card .t{ font:700 16px/28px "Noto Sans",sans-serif; }
.callout .card .d{ font:400 12px/20px "Noto Sans",sans-serif; letter-spacing:.48px; white-space:pre-line; }   /* line breaks typed in the editor show */

/* call-out editor (?edit=1): an internal tool for placing call-outs; not shown to shoppers */
.jv-editor{ position:absolute; top:16px; left:16px; z-index:2; width:300px; max-height:calc(100% - 32px); overflow:auto; padding:16px;
            border-radius:8px; background:#fff; color:#000; font:400 12px/20px "Noto Sans",sans-serif;
            box-shadow:0 10px 17.87px rgba(0,0,0,.043), 0 20px 33.42px rgba(0,0,0,.05); }
.jv-editor p{ margin:0; }
.jv-editor .jv-h{ font:700 16px/28px "Noto Sans",sans-serif; }
.jv-editor .jv-help{ color:#555; margin-bottom:8px; }
.jv-editor .jv-list{ margin:0 0 12px; padding-left:20px; }
.jv-editor .jv-item{ padding:8px 0; border-bottom:1px solid #eee; }
.jv-editor .jv-item.active::marker{ color:#1fae86; font-weight:700; }
.jv-editor .jv-item.active input, .jv-editor .jv-item.active textarea{ border-color:#6ddfbc; }
.jv-editor .jv-empty{ list-style:none; margin-left:-20px; color:#888; }
.jv-editor input, .jv-editor textarea{ display:block; width:100%; box-sizing:border-box; margin:0 0 4px; padding:4px 6px; border:1px solid #ccc;
            border-radius:4px; font:inherit; resize:vertical; }
.jv-editor .jv-title{ font-weight:700; }
.jv-editor .jv-row, .jv-editor .jv-actions{ display:flex; gap:8px; flex-wrap:wrap; }
.jv-editor button{ padding:2px 10px; border:1px solid #ccc; border-radius:12px; background:#fff; font:inherit; cursor:pointer; }
.jv-editor button:hover{ border-color:#000; }
.jv-editor .jv-json{ margin-top:8px; font:11px/16px ui-monospace,Menlo,monospace; }
.jv-editor .jv-status{ margin-top:6px; color:#1a7f5e; min-height:20px; }
