/* =====================================================================
   LikedWin — ÖZEL BÖLÜM: "3 adımda kolay sipariş" (eos-*)
   Markup: extras/kolay-siparis/extra.php · kaydırma: extra.js
   Animasyon YOK (bilerek). Gradyan yok; tüm renkler site.css token'larından,
   koyu tema kendiliğinden. Rozet anasayfanın .neden__eyebrow kalıbıyla gelir.
   ===================================================================== */

/* Hizmet sayfası: sipariş formunun altında tam genişlik zemin */
.eos-host { padding: 8px 0 72px; background: var(--bg-soft); }
/* Boşluk padding'de: margin olursa sarmalayıcının dışına taşar (margin collapse)
   ve üstteki bölümle arasında sayfanın beyaz zemini şerit gibi görünür. */
.eos-host .eos { margin-top: 0; }

/* "Hemen Sipariş Ver" / "Hizmetini Seç" hedefleri sabit header'ın altına insin */
.order-grid,
.cat-panel { scroll-margin-top: calc(var(--header-h) + 20px); }

.eos { margin-top: 80px; }

/* ---------------------------------------------------------------------
   BAŞLIK — sola hizalı (üstteki sahne başlığıyla aynı düzen)
   --------------------------------------------------------------------- */
.eos__head { max-width: 680px; margin: 0 0 34px; }
/* Masaüstünde başlık bloğu (rozet + başlık + açıklama) ortalı; tablet/mobil sola yaslı kalır */
@media (min-width: 961px) {
    .eos__head { margin: 0 auto 34px; text-align: center; }
}
.eos__title {
    margin: 14px 0 10px;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.15;
    color: var(--ink);
}
.eos__title em {
    font-style: normal;
    white-space: nowrap;
    color: var(--brand);
    padding: 0 .24em .04em;
    border-radius: .24em;
    background: var(--brand-soft-2);
}
/* Başlık vurgusu kategori renginde (--cat-accent, hero gradyanının koyu ucu;
   yoksa marka mavisi). Koyu temada koyu renk okunmaz → beyaza doğru açılır. */
.eos__title em {
    color: var(--cat-accent, var(--brand));
    background: color-mix(in srgb, var(--cat-accent, var(--brand)) 13%, transparent);
}
:root[data-theme="dark"] .eos__title em {
    color: color-mix(in srgb, var(--cat-accent, var(--brand)) 55%, #fff);
    background: color-mix(in srgb, var(--cat-accent, var(--brand)) 26%, transparent);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .eos__title em {
        color: color-mix(in srgb, var(--cat-accent, var(--brand)) 55%, #fff);
        background: color-mix(in srgb, var(--cat-accent, var(--brand)) 26%, transparent);
    }
}
.eos__lead { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--muted); }

/* ---------------------------------------------------------------------
   ADIM KARTLARI
   --------------------------------------------------------------------- */
.eos__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.eos-step {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 18px 20px 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -18px rgba(16, 24, 40, .18);
}

/* Kartlar arası kesikli bağlantı + ortasında ok pulu (masaüstü: yatay) */
.eos-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -25px;
    width: 26px;
    border-top: 2px dashed var(--line-strong);
}
.eos-step:not(:last-child)::before {
    content: '\f054';                      /* fa-chevron-right */
    position: absolute;
    z-index: 1;
    top: 50%;
    right: -24px;
    display: grid;
    place-items: center;
    width: 24px; height: 24px;
    margin-top: -12px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--surface);
    color: var(--brand);
    font: 900 9px/1 'Font Awesome 6 Free';
}

.eos-step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.eos-step__tag {
    padding: 5px 11px;
    border-radius: var(--radius-pill);
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
/* Büyük, soluk numara — tipografik vurgu */
.eos-step__no {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
    color: color-mix(in srgb, var(--brand) 18%, transparent);
    font-variant-numeric: tabular-nums;
}

.eos-step__title {
    margin: 18px 0 6px;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.015em;
    color: var(--ink);
}
.eos-step__text { margin: 0; font-size: 14px; line-height: 1.62; color: var(--muted); }

/* ---------- Mini arayüz görseli (statik) ---------- */
.eos-step__art {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-height: 172px;                     /* üç kartın başlıkları aynı hizada kalsın */
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-2);
}
.eos-mini__label { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.eos-mini__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.eos-mini__row--end { justify-content: flex-end; }
.eos-mini__muted { font-size: 12px; color: var(--muted); }
.eos-mini__ok,
.eos-mini__pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: var(--radius-pill);
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}
.eos-mini__ok { background: var(--ok-bg); color: var(--ok-fg); border: 1px solid var(--ok-line); }
.eos-mini__pill { background: var(--brand-soft); color: var(--brand); border: 1px solid var(--brand-line); }
.eos-mini__ok i, .eos-mini__pill i { font-size: 10px; }

.eos-qty { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.eos-qty span {
    display: grid;
    place-items: center;
    height: 34px;
    border: 1px solid var(--line-strong);
    border-radius: 9px;
    background: var(--surface);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text);
}
.eos-qty span.is-sel {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft-2);
}

.eos-field {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--surface);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.eos-field i { flex: 0 0 auto; font-size: 11.5px; color: var(--muted-2); }

.eos-pay { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.eos-pay span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 38px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--surface);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}
.eos-pay span i { font-size: 12px; color: var(--muted-2); }
.eos-pay span.is-sel { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.eos-pay span.is-sel i { color: var(--brand); }

.eos-track {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
}
/* İki satır: üye değil (e-posta takip kodu) · üye (görev detayları) */
.eos-track__row { display: flex; align-items: center; gap: 10px; padding: 7px 10px; }
.eos-track__row + .eos-track__row { border-top: 1px solid var(--line); }
.eos-track__ico {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 26px; height: 26px;
    border-radius: 7px;
    background: var(--ok-bg);
    color: var(--ok-fg);
    font-size: 11.5px;
}
.eos-track__ico--member { background: var(--brand-soft); color: var(--brand); }
.eos-track__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.eos-track__txt b { font-size: 12.5px; color: var(--ink); }
.eos-track__txt small { font-size: 11.5px; color: var(--muted); }

/* ---------------------------------------------------------------------
   GÜVENCE + ÇAĞRI ŞERİDİ
   --------------------------------------------------------------------- */
.eos-cta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 26px;
    padding: 22px 24px 22px 28px;
    border: 1px solid var(--brand-line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 12px 32px -18px rgba(37, 68, 216, .35);
}
.eos-cta__ico {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 52px; height: 52px;
    border-radius: 15px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 20px;
}
.eos-cta__text { display: flex; flex-direction: column; gap: 10px; min-width: 0; margin-right: auto; }
.eos-cta__text > b {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.015em;
    color: var(--ink);
}
.eos-cta__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.eos-cta__trust li { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.eos-cta__trust i { font-size: 12px; color: var(--success); }
.eos-cta__svg { flex: 0 0 auto; width: 14px; height: 14px; color: var(--success); }

.eos-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    padding: 15px 26px;
    border-radius: 13px;
    background: var(--brand);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 10px 24px -10px rgba(37, 68, 216, .6);
    transition: background var(--ease);
}
.eos-cta__btn:hover { background: var(--brand-dark); }
.eos-cta__btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.eos-cta__btn i { font-size: 13px; }
/* Koyu temada marka mavisi açılıyor → beyaz yazı yerine koyu yazı */
:root[data-theme="dark"] .eos-cta__btn { color: #0f1320; box-shadow: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .eos-cta__btn { color: #0f1320; box-shadow: none; } }

/* ---------------------------------------------------------------------
   DUYARLI
   --------------------------------------------------------------------- */
@media (max-width: 960px) {
    .eos__steps { grid-template-columns: minmax(0, 1fr); gap: 30px; }   /* başlıkla aynı sol hiza */
    .eos-step__art { min-height: 0; }      /* alt alta: eşit yüksekliğe gerek yok */
    /* Bağlantı dikeye döner */
    .eos-step:not(:last-child)::after {
        top: auto; bottom: -31px; right: auto; left: 50%;
        width: 0; height: 30px;
        border-top: 0; border-left: 2px dashed var(--line-strong);
    }
    .eos-step:not(:last-child)::before {
        content: '\f078';                  /* fa-chevron-down */
        top: auto; bottom: -28px; right: auto; left: 50%;
        margin: 0 0 0 -12px;
    }
    .eos-cta__ico { display: none; }
    .eos-cta { flex-direction: column; align-items: stretch; }
    .eos-cta__btn { justify-content: center; }
}

@media (max-width: 620px) {
    .eos { margin-top: 56px; }
    .eos-host { padding-bottom: 52px; }
    .eos__head { margin-bottom: 24px; }
    .eos__lead { font-size: 14.5px; }
    .eos-step { padding: 16px 16px 20px; border-radius: 18px; }
    .eos-step__no { font-size: 34px; }
    .eos-step__title { font-size: 17px; margin-top: 16px; }
    .eos-cta { padding: 20px 18px; border-radius: 18px; }
    .eos-cta__text > b { font-size: 17px; }
    .eos-cta__trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
    .eos-cta__trust li { font-size: 13px; }
}
