/* SmallMan uygulama tanıtımı: üst şerit (telefon), köşe kartı (bilgisayar), mağaza düğmeleri, sipariş sonrası kutu, /uygulama sayfası. */
:root {
    --smap-navy: #1e3a8a;
    --smap-blue: #2563eb;
    --smap-sky: #0ea5e9;
    --smap-ink: #0f172a;
    --smap-muted: #64748b;
    --smap-line: #e2e8f0;
}

/* ---------- mağaza düğmeleri ---------- */
.smap-stores { display: flex; flex-wrap: wrap; gap: 8px; }
.smap-store { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 6px 14px 6px 11px; border-radius: 10px; background: #000; color: #fff !important; text-decoration: none !important; line-height: 1.1; transition: transform .15s ease, box-shadow .15s ease; }
.smap-store:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(15, 23, 42, .25); }
.smap-store:focus-visible { outline: 3px solid var(--smap-sky); outline-offset: 2px; }
.smap-store svg { flex: none; }
.smap-store span { display: flex; flex-direction: column; text-align: left; }
.smap-store small { font-size: 10.5px; opacity: .85; letter-spacing: .02em; }
.smap-store b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.smap-store.is-soon { background: #334155; cursor: default; }
.smap-store.is-soon:hover { transform: none; box-shadow: none; }
.smap-store.is-soon small { color: #fde68a; opacity: 1; font-weight: 600; }

.smap-x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--smap-muted); font-size: 22px; line-height: 1; cursor: pointer; }
.smap-x:hover { background: #f1f5f9; color: var(--smap-ink); }
.smap-x:focus-visible { outline: 2px solid var(--smap-blue); }
.smap-icon { flex: none; border-radius: 22%; box-shadow: 0 1px 3px rgba(15, 23, 42, .25); }

/* ---------- telefon: üst şerit ---------- */
.smap-bar { position: relative; z-index: 1001; display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 4px; background: #f8fafc; border-bottom: 1px solid var(--smap-line); font-family: inherit; }
.smap-bar[hidden] { display: none; }
.smap-bar .smap-x { position: static; flex: none; width: 32px; height: 32px; font-size: 22px; }
.smap-bar-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.smap-bar-text b { font-size: 14px; color: var(--smap-ink); }
.smap-bar-text span { font-size: 12px; color: var(--smap-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.smap-bar-btn { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 18px; border-radius: 999px; background: var(--smap-blue); color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none !important; }
.smap-bar-btn:hover { background: var(--smap-navy); }
.smap-bar-btn:focus-visible { outline: 3px solid var(--smap-sky); outline-offset: 2px; }
@media (min-width: 992px) { .smap-bar { display: none !important; } }

/* ---------- bilgisayar: sol alt kart ---------- */
.smap-card { position: fixed; right: 20px; bottom: 96px; z-index: 1040; width: 300px; padding: 16px 16px 14px; background: #fff; border: 1px solid var(--smap-line); border-radius: 16px; box-shadow: 0 18px 40px rgba(15, 23, 42, .18); opacity: 0; transform: translateY(16px); transition: opacity .3s ease, transform .3s cubic-bezier(.2, .8, .2, 1); font-family: inherit; }
.smap-card[hidden] { display: none; }
.smap-card.smap-in { opacity: 1; transform: none; }
.smap-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; border-radius: 16px 16px 0 0; background: linear-gradient(90deg, var(--smap-navy), var(--smap-blue) 55%, var(--smap-sky)); }
.smap-card-head { display: flex; align-items: center; gap: 10px; padding-right: 26px; margin: 2px 0 12px; }
.smap-card-head b { display: block; font-size: 15px; color: var(--smap-ink); line-height: 1.25; }
.smap-card-head span { display: block; font-size: 12px; color: var(--smap-muted); }
.smap-card-body { display: flex; gap: 12px; align-items: center; }
.smap-qr { flex: none; width: 104px; height: 104px; padding: 4px; border: 1px solid var(--smap-line); border-radius: 10px; background: #fff; }
.smap-card-body ul { margin: 0; padding: 0; list-style: none; font-size: 12.5px; line-height: 1.45; color: #334155; }
.smap-card-body li { position: relative; padding-left: 16px; margin-bottom: 5px; }
.smap-card-body li::before { content: ""; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--smap-blue), var(--smap-sky)); }
.smap-card-hint { margin: 6px 0 10px; font-size: 11.5px; color: var(--smap-muted); }
.smap-card .smap-store { padding: 5px 11px 5px 9px; }
.smap-card .smap-store b { font-size: 13.5px; }
@media (max-width: 991.98px) { .smap-card { display: none !important; } }
/* Canlı destek penceresi açıkken kart çekilir. */
body:has(.smc-open) .smap-card { display: none; }

/* ---------- sipariş sonrası / sayfa içi kutu ---------- */
.smap-inline { position: relative; display: flex; align-items: center; gap: 22px; max-width: 760px; margin: 28px auto; padding: 22px 24px; border-radius: 18px; color: #fff; text-align: left; background: var(--smap-navy); background-image: linear-gradient(135deg, var(--smap-navy) 0%, var(--smap-blue) 60%, var(--smap-sky) 100%); box-shadow: 0 16px 36px rgba(30, 58, 138, .28); }
.smap-inline-text { flex: 1; min-width: 0; }
.smap-inline-eyebrow { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
.smap-inline h3 { margin: 0 0 6px; color: #fff; font-size: 21px; line-height: 1.3; font-weight: 700; }
.smap-inline p { margin: 0 0 14px; color: #dbeafe; font-size: 14px; line-height: 1.55; }
.smap-inline .smap-qr { width: 128px; height: 128px; border: 0; }
.smap-inline-qr { flex: none; text-align: center; font-size: 11.5px; color: #dbeafe; }
.smap-inline-qr span { display: block; margin-top: 6px; }
@media (max-width: 767.98px) {
    .smap-inline { margin: 20px 12px; padding: 18px; }
    .smap-inline-qr { display: none; }
    .smap-inline h3 { font-size: 18px; }
}

/* ---------- /uygulama sayfası ---------- */
.smap-page { max-width: 1080px; margin: 0 auto; padding: 32px 16px 56px; }
.smap-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; padding: 44px 44px; border-radius: 24px; color: #fff; background: var(--smap-navy); background-image: radial-gradient(circle at 85% 15%, rgba(14, 165, 233, .55), transparent 45%), linear-gradient(135deg, var(--smap-navy) 0%, var(--smap-blue) 70%); }
.smap-hero h1 { margin: 12px 0 12px; color: #fff; font-size: 38px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.smap-hero p { margin: 0 0 22px; color: #dbeafe; font-size: 16.5px; line-height: 1.6; max-width: 34em; }
.smap-hero .smap-store { min-height: 52px; padding: 8px 18px 8px 14px; }
.smap-hero .smap-store b { font-size: 17px; }
.smap-hero-qr { justify-self: center; text-align: center; padding: 18px; border-radius: 20px; background: #fff; color: var(--smap-ink); box-shadow: 0 20px 44px rgba(15, 23, 42, .3); }
.smap-hero-qr .smap-qr { width: 200px; height: 200px; border: 0; padding: 0; }
.smap-hero-qr b { display: block; margin-top: 10px; font-size: 14px; }
.smap-hero-qr span { display: block; font-size: 12.5px; color: var(--smap-muted); }
.smap-note { margin-top: 14px; font-size: 13px; color: #fde68a; }
.smap-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.smap-feature { padding: 20px; border: 1px solid var(--smap-line); border-radius: 16px; background: #fff; }
.smap-feature i { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 12px; background: #eff6ff; color: var(--smap-blue); font-size: 19px; }
.smap-feature h2 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--smap-ink); }
.smap-feature p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--smap-muted); }
@media (max-width: 991.98px) {
    .smap-hero { grid-template-columns: 1fr; padding: 30px 22px; }
    .smap-hero h1 { font-size: 28px; }
    .smap-hero-qr { display: none; }
    .smap-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) { .smap-features { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
    .smap-card, .smap-store { transition: none; }
    .smap-card { transform: none; }
    .smap-store:hover { transform: none; }
}
