/* guided tour — shared by storefront and back office. Calm by design: one accent, few borders. */
.tour-card{--bg:#1a1814;--bg2:#24221d;--line:#2f2c26;--ink:#f4f0e8;--ink2:#cfc8ba;--ink3:#8d8677;--acc:#ff6a3d;--gold:#f2c46d;
  position:fixed;left:18px;bottom:18px;z-index:2000;width:344px;max-width:calc(100vw - 16px);max-height:calc(100vh - 24px);display:flex;flex-direction:column;
  background:var(--bg);color:var(--ink);border-radius:16px;box-shadow:0 18px 50px rgba(0,0,0,.32);font:14px/1.5 "Inter",system-ui,sans-serif;
  transition:left .3s cubic-bezier(.2,.8,.2,1),top .3s cubic-bezier(.2,.8,.2,1);animation:tourIn .25s ease}
@keyframes tourIn{from{opacity:0;transform:translateY(8px)}}
.tour-card *{box-sizing:border-box}
.tc-top{display:flex;align-items:center;gap:8px;padding:12px 10px 0 18px;font-size:12px;color:var(--ink3)}
.tc-top span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tc-top em{font-style:normal;font-variant-numeric:tabular-nums}
.tc-top button{width:28px;height:28px;border:0;border-radius:8px;background:none;color:var(--ink3);font-size:18px;cursor:pointer}.tc-top button:hover{color:#fff;background:var(--bg2)}
.tc-bar{height:2px;margin:10px 18px 0;background:var(--line);border-radius:2px;overflow:hidden}.tc-bar i{display:block;height:100%;background:var(--acc);transition:width .35s}
.tour-b{padding:14px 18px 4px;overflow-y:auto;flex:1;min-height:0}
.tour-b h3{font-family:"Instrument Serif",Georgia,serif;font-weight:400;font-size:26px;line-height:1.1;margin:0 0 6px;color:#fff}
.tc-short{margin:0 0 14px;color:var(--ink2);font-size:14px}
.tc-short b{color:#fff;font-weight:600}
.tc-rep{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line);font-size:12.5px;color:var(--ink3)}
.tc-rep span{min-width:0}.tc-rep a{color:var(--ink2);text-decoration:none;border-bottom:1px dotted var(--ink3)}.tc-rep a:hover{color:#fff}
.tc-rep b{color:var(--gold);font-weight:600;white-space:nowrap}
.tc-try{margin:0 0 4px;padding-top:10px;border-top:1px solid var(--line);font-size:12.5px;color:var(--ink3)}
.tc-try::before{content:"Try  ";color:var(--acc);font-weight:700;letter-spacing:.02em}
.tour-f{display:flex;gap:4px;padding:10px 12px 12px 12px;align-items:center}
.tour-btn{height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--bg2);color:var(--ink);font:600 13px "Inter",system-ui;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s}
.tour-btn:hover{border-color:var(--ink3)}
.tour-btn.ghost{background:none;border-color:transparent;color:var(--ink3);padding:0 10px;font-size:15px}.tour-btn.ghost:hover{color:#fff;background:var(--bg2)}
.tour-btn.pri{background:var(--acc);border-color:var(--acc);color:#fff;margin-left:auto;padding:0 18px}.tour-btn.pri:hover{filter:brightness(1.07)}
.tour-btn.lg{height:50px;padding:0 24px;font-size:15px}
.tour-card.loading .tour-btn.pri{pointer-events:none;opacity:.75}
.tour-card.loading .tour-btn.pri::after{content:"";width:11px;height:11px;border-radius:50%;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;animation:tourSpin .7s linear infinite}
@keyframes tourSpin{to{transform:rotate(360deg)}}
.tour-note{font-size:12.5px;color:var(--gold);margin:6px 0}
.tour-timer{height:2px;margin:0 18px 10px;background:transparent;border-radius:2px;overflow:hidden;display:none}
.tour-card.auto .tour-timer{display:block;background:var(--line)}.tour-timer i{display:block;height:100%;width:0;background:var(--gold);transition:width .2s linear}
/* ⋯ menu */
.tour-menu{display:flex;flex-direction:column;margin:0 12px;padding:6px;border-radius:12px;background:var(--bg2)}
.tour-menu[hidden]{display:none}
.tour-menu button{display:flex;justify-content:space-between;align-items:center;text-align:left;background:none;border:0;color:var(--ink2);font:inherit;font-size:13px;padding:8px 10px;border-radius:8px;cursor:pointer}
.tour-menu button:hover{background:var(--line);color:#fff}
.tour-card kbd{padding:0 5px;border-radius:5px;border:1px solid var(--line);font:600 10.5px "Inter";color:var(--ink3)}
/* intro */
.tour-choose{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:2px 0 12px}
.tour-choose button{text-align:left;background:var(--bg2);border:1px solid var(--line);border-radius:12px;padding:10px 12px;color:var(--ink);cursor:pointer;display:flex;flex-direction:column;font:inherit}
.tour-choose button b{font-size:14.5px}.tour-choose button span{font-size:12px;color:var(--ink3)}
.tour-choose button.on,.tour-choose button:hover{border-color:var(--acc)}
.tour-auto-opt{display:flex;gap:8px;align-items:center;font-size:12.5px;color:var(--ink3);margin:0 0 6px;cursor:pointer}.tour-auto-opt input{accent-color:var(--acc)}
/* summary */
.tour-chs{display:flex;flex-direction:column;margin:0 0 12px;font-size:13px}
.tour-chs div{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid var(--line);color:var(--ink2)}
.tour-chs b{color:var(--gold);font-weight:600}
.tour-cta{display:flex;gap:8px;margin:0 0 10px}.tour-cta .tour-btn.pri{margin:0}
.tour-fine{font-size:11px;color:var(--ink3);line-height:1.45;margin:0 0 6px}
/* jump list */
.tour-list{display:flex;flex-direction:column;margin:-6px 0 4px}
.tl-ch{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--ink3);margin:12px 0 2px}
.tour-list button{display:flex;align-items:center;gap:8px;background:none;border:0;color:var(--ink2);text-align:left;padding:6px 8px;border-radius:8px;cursor:pointer;font:inherit;font-size:13px}
.tour-list button span{width:12px;color:#6fd08b;font-size:12px}
.tour-list button:hover{background:var(--bg2);color:#fff}.tour-list button.cur{color:#fff;background:var(--bg2);box-shadow:inset 2px 0 0 var(--acc)}
.tour-list .tl-more{justify-content:center;color:var(--acc);font-weight:600;margin-top:8px}
/* arrow toward the highlight */
.tour-card::before{content:"";position:absolute;width:12px;height:12px;background:var(--bg);transform:rotate(45deg);display:none}
.tour-card.ar-l::before{display:block;left:-5px;top:calc(var(--ay) - 6px)}
.tour-card.ar-r::before{display:block;right:-5px;top:calc(var(--ay) - 6px)}
.tour-card.ar-t::before{display:block;top:-5px;left:calc(var(--ax) - 6px)}
.tour-card.ar-b::before{display:block;bottom:-5px;left:calc(var(--ax) - 6px)}
/* tucked away */
.tour-pill{display:none;align-items:center;gap:6px;padding:6px 6px 6px 16px}
.tour-pill span{font-size:12.5px;color:var(--ink2);flex:1;white-space:nowrap}
.tour-pill button{height:32px;padding:0 12px;border-radius:999px;border:0;background:var(--bg2);color:var(--ink);font:600 12.5px "Inter";cursor:pointer}
.tour-pill button.pri{background:var(--acc);color:#fff}
.tour-card.min{width:auto;border-radius:999px}
.tour-card.min>*:not(.tour-pill){display:none}.tour-card.min .tour-pill{display:flex}.tour-card.min::before{display:none!important}
/* spotlight: a soft dim and a thin ring, no motion */
.tour-ring{position:fixed;z-index:1999;border-radius:14px;box-shadow:0 0 0 2px var(--accent,#ff6a3d),0 0 0 9999px rgba(18,16,12,.28);pointer-events:none;transition:all .3s ease}
.tour-ring.soft{box-shadow:none;background:none}
@media (max-width:759px){
  .tour-card{width:auto;max-height:52vh;border-radius:16px}
  .tour-b h3{font-size:22px}
  .tour-card.min{left:auto!important;right:8px!important}
}
body.adm .tour-card{z-index:3000}
/* while touring, the store's own floating widgets step aside */
body.touring .gchat-btn,body.touring .gcmp,body.touring .vfab,body.touring #gann [data-tour]{display:none!important}
body.touring .gproof:not(.tour-keep){display:none!important}
@media (min-width:900px){body.touring .gconsent{left:auto;right:16px;max-width:460px;flex-direction:column;align-items:stretch}}

/* storefront overview (#/tour) */
.tour-page{max-width:1080px;margin:0 auto;padding:22px 20px 80px}
.tour-hero{padding:40px 0 30px;border-bottom:1px solid var(--line);margin-bottom:8px}
.tp-k{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin:0 0 10px}
.tour-hero h1{font-family:var(--serif);font-weight:400;font-size:clamp(38px,5vw,64px);line-height:1.02;margin:0 0 14px}
.tour-hero h1 em{color:var(--accent)}
.tour-hero>p{max-width:600px;color:var(--ink-2);font-size:16.5px;margin:0 0 24px}
.tp-stats{display:flex;gap:40px;flex-wrap:wrap;margin:0 0 26px}
.tp-stats div{display:flex;flex-direction:column}.tp-stats b{font-family:var(--serif);font-weight:400;font-size:36px;line-height:1.05}.tp-stats span{font-size:13px;color:var(--ink-3)}
.tour-start{display:flex;gap:10px;flex-wrap:wrap}
.tour-page .tour-btn{border-color:var(--line-2);background:var(--surface);color:var(--ink)}
.tour-page .tour-btn.pri{background:var(--accent);border-color:var(--accent);color:#fff;margin:0}
.tour-page .tour-btn.ghost{background:none;color:var(--ink-2);font-size:15px}
.tp-ch{margin-top:34px}
.tp-ch-h{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding-bottom:8px;border-bottom:1px solid var(--line-2)}
.tp-ch-h h2{font-family:var(--serif);font-weight:400;font-size:28px;margin:0}.tp-ch-h span{font-size:13px;color:var(--ink-3)}
.tp-row{display:grid;grid-template-columns:1fr minmax(180px,300px) 20px;gap:24px;align-items:center;width:100%;text-align:left;padding:14px 4px;border-bottom:1px solid var(--line);transition:background .15s}
.tp-row:hover{background:var(--surface)}.tp-row:hover i{color:var(--accent);transform:translateX(3px)}
.tp-t{display:flex;flex-direction:column;gap:2px;min-width:0}.tp-t b{font-weight:600;font-size:15px}.tp-t span{font-size:13.5px;color:var(--ink-3)}
.tp-a{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:var(--ink-2)}.tp-a b{font-weight:600;white-space:nowrap}
.tp-row i{font-style:normal;color:var(--ink-3);transition:.15s}
.tour-page .tour-fine{color:var(--ink-3);font-size:12px;margin-top:30px;max-width:780px}
@media (max-width:760px){.tp-row{grid-template-columns:1fr 16px;gap:8px}.tp-a{grid-column:1;justify-content:flex-start;gap:8px}.tp-row i{grid-row:1/3;grid-column:2}.tp-stats{gap:22px}}

/* ── phones: a slim bar that shows what it's talking about instead of covering it ── */
.tc-more{display:none}
@media (max-width:759px){
  .tour-card{left:8px!important;right:8px!important;width:auto;max-height:60vh;border-radius:14px;margin-bottom:env(safe-area-inset-bottom)}
  .tour-card::before{display:none!important}
  .tc-more{display:inline-flex;font-size:13px!important;padding:0 8px!important}
  .tour-card.peek .tc-top{padding-top:9px}
  .tour-card.peek .tc-top span{visibility:hidden}
  .tour-card.peek .tc-bar{position:absolute;left:0;right:0;top:0;margin:0;height:3px;border-radius:14px 14px 0 0}
  .tour-card.peek .tour-b{padding:0 14px;margin-top:-26px;overflow:hidden}
  .tour-card.peek .tour-b h3{font-size:19px;margin:0 70px 2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .tour-card.peek .tc-short,.tour-card.peek .tc-try,.tour-card.peek .tour-note{display:none}
  .tour-card.peek .tc-rep{border:0;padding:0;font-size:12px}
  .tour-card.peek .tour-f{padding:6px 8px 8px}
  .tour-card.peek .tour-menu{margin-bottom:4px}
  .tour-ring{box-shadow:0 0 0 2px var(--accent,#ff6a3d);border-radius:10px}     /* outline only — keep the page readable */
  body.touring .bnav{display:none}
  body.touring .gchat{bottom:8px;max-height:calc(100vh - 170px)}
  body.touring .gconsent{top:8px;bottom:auto}
  body.touring .toasts{bottom:150px}
}
