/* ===================================================================
   Ürün turu (ekran rehberi) — js/tour.js + js/tours.js
   Karartma + hedefin etrafında aydınlık "delik" (büyük gölge) + açıklama kartı + sağ alttaki (i) simgesi
   =================================================================== */
.tour-shade { position: fixed; inset: 0; z-index: 1200; background: transparent; }
.tour-shade.dark { background: rgba(8, 12, 24, .62); }
.tour-hole { position: fixed; z-index: 1201; border-radius: 12px; pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(8, 12, 24, .62), 0 0 0 2px var(--accent);
  transition: left .25s ease, top .25s ease, width .25s ease, height .25s ease; }
.tour-pop { position: fixed; z-index: 1202; width: min(360px, calc(100vw - 24px)); background: var(--bg-surface); color: var(--text-primary);
  border: 1px solid var(--border); border-radius: 16px; padding: 16px 16px 14px; box-shadow: 0 24px 60px rgba(0,0,0,.35);
  transition: left .25s ease, top .25s ease; }
.tour-pop.center { left: 50% !important; top: 50% !important; transform: translate(-50%, -50%); }
.tour-pop-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.tour-step { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent2); }
.tour-x { width: 28px; height: 28px; border-radius: 8px; font-size: 20px; line-height: 1; color: var(--text-muted); display: grid; place-items: center; }
.tour-x:hover { background: var(--bg-surface-2); color: var(--text-primary); }
.tour-title { font-family: var(--font-display); font-size: 17px; font-weight: 800; margin: 0 0 6px; }
.tour-text { font-size: 13.5px; line-height: 1.55; color: var(--text-secondary); margin: 0; }
.tour-dots { display: flex; gap: 5px; margin: 14px 0 12px; }
.tour-dots i { width: 6px; height: 6px; border-radius: 999px; background: var(--border-strong); transition: width .2s ease, background .2s ease; }
.tour-dots i.on { width: 18px; background: var(--accent); }
.tour-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tour-skip { font-size: 13px; font-weight: 600; color: var(--text-muted); padding: 6px 2px; }
.tour-skip:hover { color: var(--text-primary); }
.tour-nav { display: flex; gap: 8px; margin-left: auto; }
.tour-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 700; }
.tour-btn.primary { background: var(--accent); color: #06221b; }
.tour-btn.primary:hover { filter: brightness(1.06); }
.tour-btn.ghost { background: var(--bg-surface-2); color: var(--text-secondary); border: 1px solid var(--border); }
.tour-btn:focus-visible, .tour-skip:focus-visible, .tour-x:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }

/* (i) — turu yeniden başlatır */
.tour-help { position: fixed; right: 20px; bottom: 20px; z-index: 85; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg-surface); color: var(--accent2); border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: transform .15s ease; }
.tour-help:hover { transform: translateY(-2px); }
.tour-help[hidden] { display: none; }
.tour-help svg { width: 22px; height: 22px; }
.tour-on .tour-help { visibility: hidden; }
/* Sağ alt köşede başka bir buton olan ekranlar: (i) onun üstünde durur */
body:has(.ws-fab) .tour-help { bottom: 98px; right: 37px; }

@media (max-width: 860px) {
  .tour-help { right: 12px; bottom: calc(74px + env(safe-area-inset-bottom)); width: 36px; height: 36px; }
  .tour-help svg { width: 20px; height: 20px; }
  body:has(.ws-fab) .tour-help { right: 29px; bottom: calc(150px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
  .tour-pop { left: 12px; width: calc(100vw - 24px); }
}
@media (prefers-reduced-motion: reduce) {
  .tour-hole, .tour-pop { transition: none; }
}
