/* odak — adım adım tanıtım (assets/js/odak-tour.js). Aydınlık/karanlık tema, telefon (alt sayfa), tablet ve bilgisayar. */
.otr-root {
  --otr-card: #ffffff; --otr-card-2: #f4f4f5; --otr-fg: #111113; --otr-soft: #3f3f46; --otr-muted: #6e6e73;
  --otr-line: rgba(0,0,0,.09); --otr-line-2: rgba(0,0,0,.16); --otr-acc: #111113; --otr-acc-fg: #ffffff;
  --otr-ok: #059669; --otr-why: #fff8e6; --otr-why-fg: #7a5100; --otr-tip: #f4f4f5; --otr-tip-fg: #3f3f46;
  --otr-shade: rgba(10,10,12,.58); --otr-shadow: 0 30px 80px -24px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.04);
  position: fixed; inset: 0; z-index: 2147483000; display: none; font-family: inherit; color: var(--otr-fg);
  -webkit-font-smoothing: antialiased;
}
.otr-root.is-dark {
  --otr-card: #121212; --otr-card-2: #1c1c1c; --otr-fg: #f5f5f6; --otr-soft: #d4d4d4; --otr-muted: #a3a3a3;
  --otr-line: rgba(255,255,255,.1); --otr-line-2: rgba(255,255,255,.2); --otr-acc: #ffffff; --otr-acc-fg: #0a0a0a;
  --otr-ok: #34d399; --otr-why: rgba(251,191,36,.1); --otr-why-fg: #fcd34d; --otr-tip: rgba(255,255,255,.06); --otr-tip-fg: #d4d4d4;
  --otr-shade: rgba(0,0,0,.72); --otr-shadow: 0 30px 80px -20px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.06);
}
.otr-root.is-open { display: block; }
.otr-root *, .otr-root *::before, .otr-root *::after { box-sizing: border-box; }
html.otr-lock { overscroll-behavior: none; }

.otr-shade { position: absolute; inset: 0; background: var(--otr-shade); transition: opacity .25s; }
.otr-root.has-hole .otr-shade { background: transparent; }
.otr-hole { position: fixed; display: none; border-radius: 16px; pointer-events: none; box-shadow: 0 0 0 9999px var(--otr-shade), 0 0 0 2px rgba(255,255,255,.9), 0 0 0 6px rgba(255,255,255,.18); transition: top .3s cubic-bezier(.2,.8,.2,1), left .3s cubic-bezier(.2,.8,.2,1), width .3s cubic-bezier(.2,.8,.2,1), height .3s cubic-bezier(.2,.8,.2,1); }
.otr-root.has-hole .otr-hole { display: block; }

.otr-card { position: fixed; width: 392px; max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--otr-card); color: var(--otr-fg); border-radius: 24px; box-shadow: var(--otr-shadow); outline: none; overflow: hidden; animation: otrIn .28s cubic-bezier(.2,.8,.2,1); transition: left .3s cubic-bezier(.2,.8,.2,1), top .3s cubic-bezier(.2,.8,.2,1); }
.otr-card.otr-nudge { animation: otrNudge .35s; }
.otr-root.is-center .otr-card, .otr-card.is-intro { left: 50% !important; top: 50% !important; transform: translate(-50%, -50%); width: 460px; animation: otrPop .3s cubic-bezier(.2,.8,.2,1); }
@keyframes otrIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes otrPop { from { opacity: 0; transform: translate(-50%, -46%) scale(.98); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes otrNudge { 0%, 100% { translate: 0; } 30% { translate: -5px 0; } 60% { translate: 5px 0; } }

/* Kart iç düzeni */
.otr-head { display: flex; align-items: center; gap: 8px; padding: 16px 16px 0 20px; }
.otr-count { flex: 1; min-width: 0; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--otr-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.otr-list-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--otr-line); background: transparent; color: var(--otr-soft); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.otr-list-btn:hover, .otr-list-btn[aria-expanded="true"] { border-color: var(--otr-line-2); color: var(--otr-fg); background: var(--otr-card-2); }
.otr-x { width: 32px; height: 32px; min-width: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 0; background: transparent; color: var(--otr-muted); cursor: pointer; font-size: 14px; }
.otr-x:hover { background: var(--otr-card-2); color: var(--otr-fg); }
.otr-progress { height: 3px; margin: 12px 20px 0; border-radius: 3px; background: var(--otr-card-2); overflow: hidden; }
.otr-progress span { display: block; height: 100%; border-radius: inherit; background: var(--otr-acc); transition: width .35s cubic-bezier(.2,.8,.2,1); }
.otr-scroll { padding: 16px 20px 4px; overflow-y: auto; min-height: 0; flex: 1 1 auto; }
.otr-titlebar { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.otr-icon { width: 40px; height: 40px; min-width: 40px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--otr-card-2); border: 1px solid var(--otr-line); font-size: 18px; color: var(--otr-fg); }
.otr-title { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; align-self: center; }
.otr-body { font-size: 14px; line-height: 1.62; color: var(--otr-soft); }
.otr-body p { margin: 0 0 10px; }
.otr-body p:last-child { margin-bottom: 0; }
.otr-body ul, .otr-body ol { margin: 8px 0 10px; padding-left: 20px; }
.otr-body li { margin: 4px 0; }
.otr-body b, .otr-body strong { color: var(--otr-fg); }
.otr-body kbd { display: inline-block; padding: 1px 6px; border-radius: 6px; border: 1px solid var(--otr-line-2); font: 600 12px/1.5 ui-monospace, Menlo, Consolas, monospace; background: var(--otr-card-2); }
.otr-why, .otr-tip { margin-top: 12px; padding: 12px 14px; border-radius: 16px; font-size: 13px; line-height: 1.55; }
.otr-why { background: var(--otr-why); color: var(--otr-why-fg); }
.otr-tip { background: var(--otr-tip); color: var(--otr-tip-fg); }
.otr-why b, .otr-tip b { display: flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.otr-why p, .otr-tip p { margin: 0; }
.otr-muted { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--otr-muted); }

.otr-jump { padding: 10px 12px 4px; overflow-y: auto; min-height: 0; flex: 1 1 auto; max-height: 52vh; }
.otr-jump ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.otr-jump button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 14px; border: 0; background: transparent; color: var(--otr-soft); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; }
.otr-jump button:hover { background: var(--otr-card-2); color: var(--otr-fg); }
.otr-jump button.is-current { background: var(--otr-card-2); color: var(--otr-fg); font-weight: 700; }
.otr-jump em { width: 26px; height: 26px; min-width: 26px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; font-weight: 700; border: 1px solid var(--otr-line-2); }
.otr-jump button.is-current em { background: var(--otr-acc); color: var(--otr-acc-fg); border-color: transparent; }

.otr-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px 16px 20px; border-top: 1px solid var(--otr-line); margin-top: 12px; }
.otr-foot.is-intro { flex-direction: column; align-items: stretch; border-top: 0; padding: 18px 24px 22px; margin-top: 0; gap: 14px; }
.otr-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.otr-foot.is-intro .otr-row { margin-left: 0; }
.otr-foot.is-intro .otr-row .otr-btn { flex: 1 1 0; }
.otr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--otr-line-2); background: transparent; color: var(--otr-fg); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .2s, opacity .2s, transform .12s; }
.otr-btn:hover { background: var(--otr-card-2); }
.otr-btn:active { transform: scale(.97); }
.otr-btn.is-primary { background: var(--otr-acc); color: var(--otr-acc-fg); border-color: transparent; }
.otr-btn.is-primary:hover { opacity: .88; background: var(--otr-acc); }
.otr-btn:focus-visible, .otr-link:focus-visible, .otr-x:focus-visible, .otr-list-btn:focus-visible, .otr-jump button:focus-visible { outline: 2px solid var(--otr-acc); outline-offset: 2px; }
.otr-link { border: 0; background: transparent; padding: 6px 2px; color: var(--otr-muted); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--otr-line-2); }
.otr-link:hover { color: var(--otr-fg); }
.otr-foot.is-intro .otr-link { align-self: center; }

/* Giriş / bitiş kartı */
.otr-card.is-intro { padding-top: 28px; text-align: left; }
.otr-intro-badge { width: 56px; height: 56px; margin: 0 24px 16px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; background: var(--otr-acc); color: var(--otr-acc-fg); font-size: 24px; }
.otr-intro-badge.is-ok { background: color-mix(in srgb, var(--otr-ok) 14%, transparent); color: var(--otr-ok); }
.otr-card.is-intro .otr-kicker { margin: 0 24px 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--otr-muted); }
.otr-card.is-intro .otr-title { margin: 0 24px 10px; font-size: 22px; }
.otr-card.is-intro .otr-body { padding: 0 24px; overflow-y: auto; }
.otr-points { list-style: none; margin: 14px 24px 0; padding: 0; display: grid; gap: 8px; overflow-y: auto; }
.otr-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--otr-soft); }
.otr-points i { margin-top: 2px; color: var(--otr-ok); font-size: 15px; }

/* Telefon: alttan açılan sayfa */
.otr-root.is-sheet .otr-card.is-step { left: 10px !important; right: 10px; top: auto !important; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); width: auto; max-width: none; max-height: 48vh; border-radius: 22px; }
.otr-root.is-sheet .otr-card.is-step .otr-title { font-size: 16.5px; }
.otr-root.is-sheet .otr-card.is-step .otr-body { font-size: 13.5px; }
.otr-root.is-sheet .otr-icon { width: 34px; height: 34px; min-width: 34px; border-radius: 12px; font-size: 16px; }
.otr-root.is-sheet .otr-foot { padding: 12px 14px 14px 16px; gap: 10px; }
.otr-root.is-sheet .otr-foot .otr-row { flex: 1 1 auto; justify-content: flex-end; }
@media (max-width: 767px) {
  .otr-card.is-intro { width: calc(100vw - 20px) !important; max-height: calc(100vh - 40px); }
  .otr-card.is-intro .otr-title { font-size: 20px; }
  .otr-btn { min-height: 44px; padding: 0 16px; }
}
@media (max-width: 360px) {
  .otr-list-btn span { display: none; }
  .otr-root.is-sheet .otr-foot { flex-direction: column-reverse; align-items: stretch; }
  .otr-root.is-sheet .otr-foot .otr-row .otr-btn { flex: 1 1 0; }
  .otr-root.is-sheet .otr-foot .otr-link { align-self: center; }
}
@media (max-height: 560px) and (min-width: 768px) { .otr-card { max-height: calc(100vh - 20px); } }

.otr-toast { position: fixed; left: 50%; bottom: 24px; z-index: 2147483001; transform: translate(-50%, 16px); max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 16px; background: #111113; color: #fff; font-size: 13px; line-height: 1.45; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); opacity: 0; transition: opacity .25s, transform .25s; }
.otr-toast.is-dark { background: #f5f5f5; color: #0a0a0a; }
.otr-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Sayfadaki "Tanıtım" düğmeleri için ortak küçük stil (sayfanın kendi buton sınıfı yoksa) */
.otr-launch { display: inline-flex; align-items: center; gap: 8px; }

@media (prefers-reduced-motion: reduce) {
  .otr-card, .otr-hole, .otr-progress span, .otr-toast { animation: none !important; transition: none !important; }
}
.otr-root.is-sheet.sheet-top .otr-card.is-step { top: calc(10px + env(safe-area-inset-top, 0px)) !important; bottom: auto; }

/* Çerez bandı açıkken: bant vurgulanır, üstüne "önce seçiminizi yapın" etiketi gelir. */
.otr-consent-attn { z-index: 2147482999 !important; box-shadow: 0 0 0 3px #fff, 0 0 0 9px rgba(255,255,255,.22), 0 24px 60px -16px rgba(0,0,0,.6) !important; animation: otrAttn 1.6s ease-in-out infinite; }
@keyframes otrAttn { 0%, 100% { box-shadow: 0 0 0 3px #fff, 0 0 0 9px rgba(255,255,255,.22), 0 24px 60px -16px rgba(0,0,0,.6); } 50% { box-shadow: 0 0 0 3px #fff, 0 0 0 16px rgba(255,255,255,.08), 0 24px 60px -16px rgba(0,0,0,.6); } }
.otr-consent-tag { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 9px 14px; border-radius: 12px; background: #fff; color: #111113; font-size: 13px; font-weight: 700; line-height: 1.4; }
.otr-consent-tag i { font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .otr-consent-attn { animation: none; } }
/* Adım geçişi: sayfa hedefe kayarken kart gizli ve sabit; kayma bitince yerinde belirir (zıplama yok) */
.otr-root.is-moving .otr-card { opacity: 0; transition: none !important; animation: none !important; pointer-events: none; }
.otr-root:not(.is-moving) .otr-card.is-step { transition: opacity .18s ease, left .3s cubic-bezier(.2,.8,.2,1), top .3s cubic-bezier(.2,.8,.2,1); }
/* Giriş/bitiş kartında başlık metinle aynı hizada (sola yaslı); "bir daha gösterme" bağlantısı ortada kalır */
.otr-card.is-intro .otr-title { align-self: stretch; text-align: left; }
/* Bazı sayfalar (işletme sitesi ve paneli) tüm öğelerde gölgeyi kaldırır: "*, ::before, ::after { box-shadow: none !important }".
   Tur karartması ve vurgu çerçevesi gölgeyle çizildiği için tur kendi gölgelerini daha güçlü seçiciyle korur. */
.otr-root .otr-hole { box-shadow: 0 0 0 9999px var(--otr-shade), 0 0 0 2px rgba(255,255,255,.9), 0 0 0 6px rgba(255,255,255,.18) !important; }
.otr-root .otr-card { box-shadow: var(--otr-shadow) !important; }
body .otr-toast { box-shadow: 0 20px 50px -20px rgba(0,0,0,.5) !important; }

/* Tanıtım modu: koşula bağlı pencereler turda gerçek hâliyle görünür (işlem engellenir, bkz. odak-tour.js) */
.otr-tour-only { display: none !important; }
html.otr-lock .otr-tour-only { display: block !important; }
html.otr-lock .otr-hide-in-tour { display: none !important; }

/* Koyu temada mavi YOK (kullanıcı kuralı 22.11.2026): tanıtım kartı bulunduğu sayfanın siyah tonlarını kullanır.
   Varsayılan: panelin nötr siyahları (#121212 / #1c1c1c). Influencer / firma sayfaları: ana sayfanın sıcak siyahları. */
body.ic-market-page .otr-root.is-dark, body.ic-catalog-page .otr-root.is-dark {
  --otr-card: #181817; --otr-card-2: #222220; --otr-fg: #ecece8; --otr-soft: #d6d6d1; --otr-muted: #aaa9a4;
  --otr-line: #363634; --otr-line-2: #4a4a46; --otr-acc: #ecece8; --otr-acc-fg: #121211;
  --otr-tip: #222220; --otr-tip-fg: #d6d6d1; --otr-ok: #7fc8a4;
}
body.ic-market-page .otr-root:not(.is-dark), body.ic-catalog-page .otr-root:not(.is-dark) {
  --otr-card: #f9f9f7; --otr-card-2: #f1f1ee; --otr-fg: #242422; --otr-soft: #45453f; --otr-muted: #73736f;
  --otr-line: #d3d3cf; --otr-line-2: #bdbdb7; --otr-acc: #242422; --otr-acc-fg: #f9f9f7; --otr-tip: #f1f1ee; --otr-tip-fg: #45453f;
}
body.ic-market-page .otr-toast.is-dark, body.ic-catalog-page .otr-toast.is-dark { background: #ecece8; color: #121211; }

