/* magaza.css — yer.al/magaza/{slug} işletme profil sayfası (referans tasarım) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.sp {
    --sp-accent: #5B4BE8;
    --sp-ink: #16172E;
    --sp-ink-2: #3C3E52;
    --sp-muted: #6B6E82;
    --sp-muted-2: #9A9CB0;
    --sp-line: #EAEAF2;
    --sp-line-2: #F1F1F7;
    --sp-gold: #FFC24B;
    /* Yüzeyler — dark tema bunları ezer (dosya sonu) */
    --sp-bg: #F4F4FA;
    --sp-card: #fff;
    --sp-soft: #F7F7FB;
    --sp-track: #F0F0F6;
    --sp-placeholder: #E7E7F0;
    --sp-faint: #B4B6C6;
    --sp-tint: #F5F3FE;
    --sp-tint-hover: #ECE8FD;
    --sp-tint-line: #E1DEFA;
    --sp-tint-line-hover: #C9C1F7;
    --sp-ghost-line: #E4E4EE;
    --sp-ghost-line-hover: #D4D4E2;
    --sp-open-bg: #E7F6EE;
    --sp-open-fg: #12A150;
    --sp-closed-bg: #F0F0F4;
    --sp-closed-fg: #8E8E9E;
    --sp-glass: rgba(255,255,255,0.94);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--sp-ink);
    -webkit-font-smoothing: antialiased;
    display: block;
    background: var(--sp-bg);
}

/* ===== HERO ===== */
/* Fixed site nav overlays the page top; start the hero below it so the cover image is fully visible. */
.sp { padding-top: var(--nav-h); }
/* Hero geometry — single source for the stylesheet. The sharp cover box is
   --sp-hero-w x --sp-hero-h = 1180x440 on desktop (ratio 59/22) and viewport-width x 340 on
   phones (~20/17). KEEP IN SYNC with the "Görünümü ayarla" editor in
   Areas/Panel/Views/OnlineBookingPage/Index.cshtml (FOCUS_VIEWS + .obp-focus__result--desktop)
   and with WEB_BANNER_ASPECT in the mobile app (Layout.ts). */
.sp-hero {
    --sp-hero-w: 1180px;
    --sp-hero-h: 440px;
    /* Side fade of the sharp photo: grows with the free margin, 0 when the photo is full width. */
    --sp-hero-fade: clamp(0px, calc((100vw - var(--sp-hero-w)) / 2), 72px);
    position: relative;
    width: 100%;
    min-height: var(--sp-hero-h);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: #14142A; /* behind the photo while it loads */
}
.sp-hero--gradient { background: linear-gradient(135deg, #5B4BE8, #7B5CE8 55%, #3B2FB0); }
/* Backdrop: the same photo, blurred and dimmed, covering the full-width hero. Oversized by 60px
   on every side so the soft blur edge falls outside the (overflow: hidden) hero. */
.sp-hero-bg {
    position: absolute; top: -60px; left: -60px;
    width: calc(100% + 120px); height: calc(100% + 120px);
    max-width: none;
    object-fit: cover; object-position: center 35%;
    filter: blur(36px) brightness(0.62) saturate(1.15);
    z-index: 0;
    pointer-events: none;
}
/* Sharp photo: aligned with the content column, never wider than --sp-hero-w, so a small upload
   is not stretched across a wide monitor. Left/right edges dissolve into the backdrop. */
.sp-hero-img {
    position: absolute; top: 0; left: 50%;
    width: min(100%, var(--sp-hero-w)); height: 100%;
    transform: translateX(-50%);
    object-fit: cover; object-position: center 35%;
    z-index: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--sp-hero-fade), #000 calc(100% - var(--sp-hero-fade)), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--sp-hero-fade), #000 calc(100% - var(--sp-hero-fade)), transparent 100%);
}
.sp-hero-shade {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(10,10,30,0.05) 0%, rgba(10,10,30,0.15) 45%, rgba(8,8,24,0.82) 100%);
}
.sp-hero-inner {
    position: relative; z-index: 2;
    max-width: var(--sp-hero-w); /* same box as the sharp photo → text sits on its bottom-left */
    width: 100%;
    margin: 0 auto;
    padding: 0 28px 30px;
}
.sp-chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.16); backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.25); color: #fff;
    font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em;
    padding: 6px 12px; border-radius: 999px;
}
.sp-hero-name {
    margin: 14px 0 0; color: #fff; font-size: 44px; font-weight: 800;
    letter-spacing: -0.02em; text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.sp-hero-meta { display: flex; align-items: center; gap: 18px; margin-top: 12px; flex-wrap: wrap; }
.sp-hero-rating { display: flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; font-size: 15px; }
.sp-hero-rating-count { color: rgba(255,255,255,0.75); font-weight: 500; }
.sp-hero-loc { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.9); font-weight: 500; font-size: 14.5px; }
.sp-hero-open {
    display: inline-flex; align-items: center; gap: 7px;
    color: #fff; font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px;
}
.sp-hero-open.is-open { background: rgba(18,161,80,0.9); }
.sp-hero-open.is-closed { background: rgba(120,120,140,0.85); }
.sp-hero-open .sp-dot { width: 7px; height: 7px; border-radius: 50%; background: #b6f5cf; }
.sp-hero-open.is-closed .sp-dot { background: #e0e0e8; }
.sp-stars-gold { color: var(--sp-gold); letter-spacing: 1px; }

/* ===== BODY GRID ===== */
.sp-grid {
    max-width: 1180px; margin: 0 auto;
    padding: 40px 28px 60px;
    display: grid; grid-template-columns: 1fr 372px; gap: 40px; align-items: start;
}
.sp-main { min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.sp-h2 { margin: 0 0 16px; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; color: var(--sp-ink); }
.sp-h2-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.sp-h2-row .sp-h2 { margin: 0; }
.sp-h2-sub { font-size: 13.5px; font-weight: 600; color: var(--sp-muted-2); }
.sp-card { background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 18px; }

.sp-about { padding: 24px 26px; font-size: 15.5px; line-height: 1.7; color: var(--sp-ink-2); white-space: pre-line; }

/* Fotoğraflar */
.sp-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.sp-photo { position: relative; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; background: var(--sp-placeholder); }
.sp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Hizmetler */
.sp-services { overflow: hidden; }
.sp-service { display: flex; align-items: center; gap: 16px; padding: 16px 24px; border-top: 1px solid var(--sp-line-2); }
.sp-service:first-child { border-top: 0; }
.sp-service-info { min-width: 0; flex: 1; }
.sp-service-name { font-size: 15.5px; font-weight: 700; }
.sp-service-dur { margin-top: 3px; font-size: 13px; color: var(--sp-muted-2); font-weight: 500; display: flex; align-items: center; gap: 5px; }
.sp-service-price { font-size: 16px; font-weight: 800; color: var(--sp-accent); white-space: nowrap; }
.sp-service-btn {
    border: 1px solid var(--sp-tint-line); background: var(--sp-tint); color: var(--sp-accent);
    font-weight: 700; font-size: 13.5px; padding: 8px 16px; border-radius: 9px;
    white-space: nowrap; transition: background .15s, border-color .15s;
}
.sp-service-btn:hover { background: var(--sp-tint-hover); border-color: var(--sp-tint-line-hover); color: var(--sp-accent); }

/* Ekip */
.sp-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.sp-team-card { background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 16px; padding: 18px; display: flex; align-items: center; gap: 14px; }
.sp-team-avatar {
    flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, #6C5CE7, #9B7BF0); color: #fff;
    font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center;
}
.sp-team-info { min-width: 0; }
.sp-team-name { font-size: 15px; font-weight: 700; }
.sp-team-role { margin-top: 2px; font-size: 13px; color: var(--sp-muted-2); font-weight: 500; }

/* Yorumlar */
.sp-rev-summary { padding: 26px; display: grid; grid-template-columns: 190px 1fr; gap: 32px; align-items: center; margin-bottom: 18px; }
.sp-rev-score { text-align: center; border-right: 1px solid var(--sp-line-2); padding-right: 20px; }
.sp-rev-avg { font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.sp-rev-avg-stars { font-size: 18px; letter-spacing: 2px; display: block; margin-top: 8px; }
.sp-rev-count { margin-top: 8px; font-size: 13.5px; color: var(--sp-muted-2); font-weight: 600; }
.sp-rev-bars { display: flex; flex-direction: column; gap: 9px; }
.sp-rev-bar { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: var(--sp-muted); }
.sp-rev-bar-star { width: 12px; text-align: right; }
.sp-rev-bar-track { flex: 1; height: 8px; border-radius: 999px; background: var(--sp-track); overflow: hidden; }
.sp-rev-bar-fill { display: block; height: 100%; border-radius: 999px; background: var(--sp-gold); }
.sp-rev-bar-pct { width: 38px; text-align: right; color: var(--sp-muted-2); }

.sp-rev-list { display: flex; flex-direction: column; gap: 14px; }
.sp-rev-item { background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 16px; padding: 20px 22px; }
.sp-rev-item--hidden { display: none; }
.sp-rev-head { display: flex; align-items: center; gap: 12px; }
.sp-rev-ava { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--sp-track); color: var(--sp-muted); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.sp-rev-head-info { flex: 1; min-width: 0; }
.sp-rev-name { font-size: 14.5px; font-weight: 700; }
.sp-rev-item-stars { margin-top: 2px; font-size: 13px; display: block; }
.sp-rev-date { font-size: 12.5px; color: var(--sp-muted-2); font-weight: 500; white-space: nowrap; }
.sp-rev-text { margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: var(--sp-ink-2); }
.sp-rev-reply { margin-top: 12px; background: var(--sp-soft); border-radius: 12px; padding: 12px 15px; font-size: 13.5px; line-height: 1.55; color: var(--sp-muted); }
.sp-rev-reply-label { font-weight: 700; color: var(--sp-ink); }
.sp-more-btn { margin-top: 18px; width: 100%; border: 1px solid var(--sp-tint-line); background: var(--sp-card); color: var(--sp-accent); font-family: inherit; font-weight: 700; font-size: 14.5px; padding: 13px; border-radius: 12px; cursor: pointer; }
.sp-more-btn:hover { background: var(--sp-soft); }

/* ===== SIDEBAR ===== */
/* Yan sütun TEK sticky blok (QR kartı + randevu kutusu + konum birlikte hareket eder → birbirinin üstüne binmez).
   Sütun ekrandan uzunsa Profile.cshtml'deki küçük script --sp-aside-top'u negatife çeker: sütun önce normal
   kayar, alt kenarı görününce sabitlenir (alt kısmı ekran dışında kırpılı kalmaz). */
.sp-aside { position: sticky; top: var(--sp-aside-top, 90px); display: flex; flex-direction: column; gap: 20px; }
.sp-book { padding: 22px; box-shadow: 0 14px 40px -24px rgba(30,25,90,0.35); }
.sp-book-cta {
    width: 100%; border: 0; background: var(--sp-accent); color: #fff;
    font-family: inherit; font-weight: 800; font-size: 16px; padding: 15px; border-radius: 13px;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 10px 24px -10px rgba(91,75,232,0.7); transition: filter .15s;
}
.sp-book-cta:hover { filter: brightness(1.07); color: #fff; }
.sp-book-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.sp-book-row:empty { display: none; }
.sp-book-ghost {
    border: 1px solid var(--sp-ghost-line); background: var(--sp-card); color: var(--sp-ink);
    font-family: inherit; font-weight: 700; font-size: 14px; padding: 12px; border-radius: 11px;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px;
    transition: background .15s, border-color .15s;
}
.sp-book-ghost:hover { background: var(--sp-soft); border-color: var(--sp-ghost-line-hover); color: var(--sp-ink); }
.sp-book-hours { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--sp-line-2); }
.sp-book-hours-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sp-book-hours-title { font-size: 15px; font-weight: 800; }
.sp-book-hours-badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.sp-book-hours-badge.is-open { color: var(--sp-open-fg); background: var(--sp-open-bg); }
.sp-book-hours-badge.is-closed { color: var(--sp-closed-fg); background: var(--sp-closed-bg); }
.sp-hrow { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13.5px; color: var(--sp-ink); }
.sp-hrow span:first-child { color: var(--sp-muted); font-weight: 500; }
.sp-hrow.is-closed span { color: var(--sp-faint); }
.sp-hrow.is-today span { color: var(--sp-accent); font-weight: 700; }

/* Konum kartı */
.sp-loc { padding: 0; overflow: hidden; }
.sp-loc-head { padding: 18px 20px 14px; }
.sp-loc-title { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.sp-loc-addr { font-size: 13.5px; color: var(--sp-muted); line-height: 1.5; }
.sp-map { width: 100%; height: 200px; border-top: 1px solid var(--sp-line-2); background: var(--sp-placeholder); }
.sp-loc-foot { padding: 14px 20px; }
.sp-loc-foot .sp-book-ghost { width: 100%; }

/* QR kartı (TASK-272) — yalnız masaüstü; dar ekranda (tek sütun) gizli */
.sp-qr { display: none; }
@media (min-width: 981px) {
    .sp-qr { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
    .sp-qr[hidden] { display: none; }
}
.sp-qr-img { flex-shrink: 0; width: 112px; height: 112px; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid var(--sp-line); box-sizing: border-box; }
.sp-qr-img img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.sp-qr-title { font-size: 15px; font-weight: 800; color: var(--sp-ink); line-height: 1.3; }
.sp-qr-sub { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--sp-muted); }

/* ===== APP BANNER ===== */
.sp-appband-wrap { max-width: 1180px; margin: 0 auto 60px; padding: 0 28px; }
.sp-appband { background: linear-gradient(120deg, #5B4BE8 0%, #7B5CE8 45%, #3B2FB0 100%); border-radius: 24px; padding: 44px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.sp-appband-c1 { position: absolute; top: -60px; right: -30px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.sp-appband-c2 { position: absolute; bottom: -80px; left: 40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,0.06); }
.sp-appband-inner { position: relative; }
.sp-appband-title { margin: 0; font-size: 25px; font-weight: 800; letter-spacing: -0.01em; color: #fff; }
.sp-accent { color: #9B8BFF; }
.sp-appband-sub { margin: 10px auto 0; font-size: 15px; color: rgba(255,255,255,0.85); max-width: 520px; }
.sp-appband-btns { display: flex; gap: 14px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.sp-store-btn { display: flex; align-items: center; gap: 11px; background: #0E0E1E; padding: 11px 20px; border-radius: 13px; }
.sp-store-btn:hover { background: #1a1a30; }
.sp-store-lbl { text-align: left; line-height: 1.15; display: flex; flex-direction: column; color: #fff; }
.sp-store-lbl small { font-size: 10px; color: rgba(255,255,255,0.7); }
.sp-store-lbl strong { font-size: 15px; font-weight: 700; }

/* ===== "Uygulamayı indir" sayfası (TASK-263) — mobilde alttan açılan sheet, masaüstünde ortada kart ===== */
.sp-dl { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.sp-dl[hidden], .sp-dl [hidden] { display: none !important; }
.sp-dl-backdrop { position: absolute; inset: 0; background: rgba(10, 10, 30, 0.55); backdrop-filter: blur(3px); animation: spDlFade .18s ease-out; }
.sp-dl-sheet {
    position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 40px); overflow-y: auto;
    background: var(--sp-card); color: var(--sp-ink); border-radius: 22px; padding: 28px 24px 22px;
    box-shadow: 0 30px 80px -30px rgba(20, 16, 70, 0.55); animation: spDlPop .2s ease-out; outline: none;
}
.sp-dl-grip { display: none; }
.sp-dl-x {
    position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
    border: 0; background: var(--sp-soft); color: var(--sp-muted); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.sp-dl-x:hover { color: var(--sp-ink); background: var(--sp-track); }
.sp-dl-icon {
    width: 48px; height: 48px; border-radius: 14px; background: var(--sp-tint); color: var(--sp-accent);
    display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.sp-dl-icon--ok { background: var(--sp-open-bg); color: var(--sp-open-fg); }
.sp-dl-title { margin: 0 44px 8px 0; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; color: var(--sp-ink); }
.sp-dl-title span { color: var(--sp-accent); }
.sp-dl-sub { margin: 0 0 18px; font-size: 14.5px; line-height: 1.55; color: var(--sp-muted); }
.sp-dl-label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; color: var(--sp-ink); }
.sp-dl-opt { font-weight: 500; color: var(--sp-muted-2); }
.sp-dl-input {
    width: 100%; box-sizing: border-box; font-family: inherit; font-size: 17px; font-weight: 600; letter-spacing: 0.02em;
    padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--sp-ghost-line);
    background: var(--sp-soft); color: var(--sp-ink); outline: none; transition: border-color .15s, background .15s;
}
.sp-dl-input::placeholder { color: var(--sp-faint); font-weight: 500; }
.sp-dl-input:focus { border-color: var(--sp-accent); background: var(--sp-card); }
.sp-dl-input.is-invalid { border-color: #E5484D; }
.sp-dl-consent {
    display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 13px;
    border-radius: 12px; background: var(--sp-soft); font-size: 13px; line-height: 1.5; color: var(--sp-ink-2); cursor: pointer;
    transition: opacity .15s;
}
.sp-dl-consent input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--sp-accent); cursor: pointer; }
.sp-dl-consent a { color: var(--sp-accent); font-weight: 700; }
.sp-dl-consent.is-idle { opacity: 0.6; }
.sp-dl-consent.is-invalid { box-shadow: inset 0 0 0 1.5px #E5484D; }
.sp-dl-note { margin: 8px 2px 0; font-size: 12px; line-height: 1.5; color: var(--sp-muted-2); }
.sp-dl-error { margin: 12px 0 0; font-size: 13px; font-weight: 600; color: #E5484D; }
.sp-dl-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.sp-dl-actions .sp-book-cta[disabled], .sp-dl-actions .sp-book-ghost[disabled] { opacity: .65; cursor: progress; }
.sp-dl-skip { width: 100%; }
.sp-dl-stores { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 4px 0 16px; }
.sp-dl-stores .sp-store-btn { flex: 1 1 170px; justify-content: center; }
html.sp-dl-lock, html.sp-dl-lock body { overflow: hidden; }
@keyframes spDlFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes spDlPop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes spDlUp { from { transform: translateY(100%); } to { transform: none; } }
@media (max-width: 640px) {
    .sp-dl { align-items: flex-end; padding: 0; }
    .sp-dl-sheet {
        max-width: none; max-height: 92vh; border-radius: 22px 22px 0 0;
        padding: 12px 20px calc(20px + env(safe-area-inset-bottom)); animation: spDlUp .24s cubic-bezier(.2,.8,.2,1);
    }
    .sp-dl-grip { display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--sp-line); margin: 0 auto 16px; }
    .sp-dl-x { top: 18px; }
    .sp-dl-title { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
    .sp-dl-backdrop, .sp-dl-sheet { animation: none; }
}
:root[data-yr-theme="dark"] .sp-dl-sheet { box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9); border: 1px solid var(--sp-line); }

/* ===== Mobil sticky CTA ===== */
.sp-sticky-cta { display: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
    .sp-grid { grid-template-columns: 1fr; gap: 28px; padding: 28px 18px 40px; }
    .sp-aside { position: static; }
    .sp-hero { --sp-hero-h: 340px; }
    .sp-hero-name { font-size: 32px; }
    .sp-hero-inner { padding: 0 18px 24px; }
    .sp-appband-wrap { padding: 0 18px; }
    .sp-appband { padding: 32px 22px; }
    .sp-sticky-cta {
        display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
        background: var(--sp-glass); backdrop-filter: blur(10px);
        border-top: 1px solid var(--sp-line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    }
    .sp-sticky-cta .sp-book-cta { box-shadow: none; }
}
@media (max-width: 520px) {
    .sp-rev-summary { grid-template-columns: 1fr; gap: 20px; }
    .sp-rev-score { border-right: 0; border-bottom: 1px solid var(--sp-line-2); padding-right: 0; padding-bottom: 18px; }
}

/* ===== 404 — işletme bulunamadı (Views/Store/NotFound.cshtml; .sp kabuğu dışında, brand.css token'ları) ===== */
.store-notfound {
    max-width: 560px;
    margin: 76px auto 0;
    padding: 96px 24px 120px;
    text-align: center;
    background: var(--bg);
    color: var(--t1);
    border-radius: 32px 32px 0 0;
    /* Inside main.main-fill (site.css) the sheet stretches to the footer; content stays centred. */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.store-notfound-icon { font-size: 44px; margin-bottom: 16px; }
.store-notfound h1 { font-size: 26px; font-weight: 600; letter-spacing: -0.5px; color: var(--t1); margin: 0 0 12px; }
.store-notfound p { font-size: 15.5px; line-height: 1.6; color: var(--t2); margin: 0 0 28px; }

/* ===== Uygulama indir — üst band + randevu kartındaki ikincil alan (yalnız telefonda, magaza-indir.js) =====
   Renkler --sp-* değişkenlerinden gelir; dark tema değişkenleri ezdiği için ayrıca kural gerekmez. */
.sp-getapp[hidden], .sp-book-app[hidden] { display: none; }
.sp-getapp {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px 10px 6px;
    background: var(--sp-card); border-bottom: 1px solid var(--sp-line);
}
.sp-getapp-x {
    flex: 0 0 auto; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 50%; background: transparent; color: var(--sp-muted); cursor: pointer; padding: 0;
}
.sp-getapp-x:hover, .sp-getapp-x:focus-visible { background: var(--sp-soft); color: var(--sp-ink); }
.sp-getapp-icon, .sp-book-app-icon { flex: 0 0 auto; border-radius: 10px; }
.sp-getapp-text, .sp-book-app-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.sp-getapp-text strong, .sp-book-app-text strong { font-size: 14px; font-weight: 800; color: var(--sp-ink); }
.sp-getapp-text > span, .sp-book-app-text span { font-size: 12.5px; color: var(--sp-muted); }
.sp-getapp-text > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-getapp-btn, .sp-book-app-btn {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    min-height: 36px; padding: 0 18px; border-radius: 999px;
    background: var(--sp-accent); color: #fff; font-weight: 800; font-size: 14px; white-space: nowrap;
}
.sp-getapp-btn:hover, .sp-book-app-btn:hover { filter: brightness(1.07); color: #fff; }
.sp-book-app {
    display: flex; align-items: center; gap: 12px;
    margin-top: 12px; padding: 12px; border-radius: 14px;
    background: var(--sp-tint); border: 1px solid var(--sp-tint-line);
}
.sp-book-app-btn { background: var(--sp-card); color: var(--sp-accent); border: 1px solid var(--sp-tint-line); }
.sp-book-app-btn:hover { color: var(--sp-accent); background: var(--sp-tint-hover); filter: none; }
.sp-getapp-btn, .sp-getapp-btn:hover, .sp-getapp-btn:focus, .sp-getapp-btn:visited,
.sp-book-app-btn, .sp-book-app-btn:hover, .sp-book-app-btn:focus, .sp-book-app-btn:visited { text-decoration: none; }

/* ===== DARK TEMA (<html data-yr-theme="dark">, wwwroot/js/theme.js) =====
   Yalnızca değişkenler ezilir; hero / uygulama bandı zaten koyu zeminli, dokunulmaz. */
:root[data-yr-theme="dark"] .sp {
    --sp-accent: #7C6CF0;
    --sp-ink: #F4F4F8;
    --sp-ink-2: #D2D3DE;
    --sp-muted: #A3A5B8;
    --sp-muted-2: #8A8CA0;
    --sp-line: #2A2A36;
    --sp-line-2: #23232D;
    --sp-bg: #0B0B12;
    --sp-card: #16161F;
    --sp-soft: #1E1E29;
    --sp-track: #262632;
    --sp-placeholder: #20202B;
    --sp-faint: #5E6072;
    --sp-tint: rgba(139, 123, 240, 0.14);
    --sp-tint-hover: rgba(139, 123, 240, 0.22);
    --sp-tint-line: rgba(139, 123, 240, 0.32);
    --sp-tint-line-hover: rgba(139, 123, 240, 0.5);
    --sp-ghost-line: #2E2E3B;
    --sp-ghost-line-hover: #45465A;
    --sp-open-bg: rgba(18, 161, 80, 0.18);
    --sp-open-fg: #4ADE80;
    --sp-closed-bg: #262632;
    --sp-closed-fg: #A3A5B8;
    --sp-glass: rgba(11, 11, 18, 0.92);
}
:root[data-yr-theme="dark"] .sp-book { box-shadow: 0 14px 40px -24px rgba(0, 0, 0, 0.8); }
:root[data-yr-theme="dark"] .sp-book-cta { box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.8); }

/* Button/card-like links: never underlined (default, hover, focus, visited) */
.sp-service-btn, .sp-service-btn:hover, .sp-service-btn:focus, .sp-service-btn:focus-visible, .sp-service-btn:visited,
.sp-book-cta, .sp-book-cta:hover, .sp-book-cta:focus, .sp-book-cta:focus-visible, .sp-book-cta:visited,
.sp-book-ghost, .sp-book-ghost:hover, .sp-book-ghost:focus, .sp-book-ghost:focus-visible, .sp-book-ghost:visited,
.sp-store-btn, .sp-store-btn:hover, .sp-store-btn:focus, .sp-store-btn:focus-visible, .sp-store-btn:visited {
    text-decoration: none;
}
