/* =====================================================================
   LikedWin — Hizmet sipariş paneli (hizmet.php)
   Gerektirir: site.css (değişkenler) + storefront.css (buton/rozet/not)
   ===================================================================== */

.order-form { display: block; }

/* =====================================================================
   BAŞLIK — kategori sayfasıyla (category.css .cat-hero) aynı tasarım dili:
   platform renginde tam genişlik hero, üstüne binen sipariş paneli.
   Platform gradyanı .order-page üzerindeki --grad ile gelir.
   ===================================================================== */
.order-page { --cat-ink: #fff; }
.order-page.is-light { --cat-ink: var(--ink); }   /* Snapchat/Kick gibi açık zeminler */

.order-hero {
    position: relative;
    isolation: isolate;
    padding: 22px 0 104px;
    background: var(--grad, var(--brand));
    color: var(--cat-ink);
    overflow: hidden;
}

/* Gradyanın üstüne yumuşak ışık + koyulaştırma: her platform renginde
   metin kontrastı korunsun diye alt tarafa hafif karartma bindiriyoruz. */
.order-hero__glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(760px 380px at 78% -12%, rgba(255, 255, 255, .34), transparent 62%),
        radial-gradient(560px 340px at 8% 108%, rgba(0, 0, 0, .26), transparent 60%);
}
.order-page.is-light .order-hero__glow {
    background: radial-gradient(760px 380px at 78% -12%, rgba(255, 255, 255, .45), transparent 62%);
}

.order-hero__inner { position: relative; }

/* Kırıntı navigasyonu — hero içinde, saydam (store-crumb yerine) */
.order-crumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: color-mix(in srgb, var(--cat-ink) 72%, transparent);
}
.order-crumb li { display: inline-flex; align-items: center; gap: 7px; }
.order-crumb a { color: inherit; transition: opacity var(--ease); }
.order-crumb a:hover { opacity: .7; text-decoration: underline; }
.order-crumb i { font-size: 9px; opacity: .55; }
.order-crumb span[aria-current] { font-weight: 700; color: var(--cat-ink); }

.order-hero__main {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* Hizmet ikonu — camsı beyaz kutu, ikon platform gradyanıyla boyanır */
.order-hero__logo {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 74px; height: 74px;
    border-radius: 22px;
    background: var(--surface);
    color: var(--ink);
    font-size: 32px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}
.order-hero__logo i {
    background: var(--grad, var(--brand));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
/* Açık gradyanlar beyaz kutuda okunmaz — düz mürekkebe düşülür */
.order-page.is-light .order-hero__logo i { background: none; color: var(--ink); }

.order-hero__text { min-width: 0; }
.order-hero__title {
    margin: 4px 0 8px;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.12;
}
.order-hero__sub {
    margin: 0;
    max-width: 62ch;
    font-size: 15px;
    line-height: 1.62;
    color: color-mix(in srgb, var(--cat-ink) 82%, transparent);
}

/* Rozetler — platform zemini üzerinde beyaz hap, rozetin KENDİ rengi metinde.
   Saydam/camsı zemin her platform renginde rozet rengini bozuyordu; opak beyaz
   hem rengi olduğu gibi taşıyor hem de gradyandan net ayrılıyor.
   Renk beyaz üstünde okunsun diye biraz koyulaştırılıyor (sarı/açık yeşil). */
.order-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.order-hero__tags .svc-tag {
    gap: 7px;
    padding: 6px 13px;
    border-radius: 8px;
    background: #fff;
    color: color-mix(in srgb, var(--tag, #667eea) 84%, #101828);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .015em;
}
.order-hero__tags .svc-tag i { font-size: 11px; color: var(--tag, #667eea); }
/* İkonsuz rozetlerde (admin rozetleri) rengi taşıyan pul */
.svc-tag__dot {
    flex: none;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--tag, #667eea);
}

/* ---------- Yerleşim ---------- */
/* Panel hero'nun üstüne biner (kategori sayfasındaki .cat-panel gibi) */
.order-wrap { padding: 0 0 64px; background: var(--bg-soft); }
.order-grid {
    position: relative;
    margin-top: -76px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 24px;
}
/* Hero'ya binen kartlar zeminden ayrılsın */
.order-grid > * > .order-card:first-child,
.order-grid > .order-side > .order-summary {
    box-shadow: 0 22px 60px rgba(16, 24, 40, .13);
}
.order-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* ---------- Kaynak sekmeleri ---------- */
.src-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}
.src-tab {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    text-align: left;
    font: inherit;
    color: inherit;
    transition: border-color var(--ease), background var(--ease), box-shadow var(--ease);
}
.src-tab:hover:not(.is-disabled) { border-color: var(--brand-line-2); }
.src-tab.is-active {
    border-color: var(--brand);
    background: var(--brand-soft);
    box-shadow: 0 0 0 3px rgba(37, 68, 216, .08);
}
.src-tab.is-disabled { opacity: .5; cursor: not-allowed; }
.src-tab__icon {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    flex: 0 0 auto;
    border-radius: 12px;
    background: linear-gradient(135deg, #34d399 0%, #2fbd8e 100%);
    color: #fff;
    font-size: 17px;
}
.src-tab__icon--smm { background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%); }
.src-tab__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.src-tab__name { font-size: 15px; font-weight: 800; color: var(--ink); }
.src-tab__desc { font-size: 12px; color: var(--muted); line-height: 1.4; }
.src-tab__price {
    margin-top: 4px;
    font-size: 15px;
    font-weight: 800;
    color: var(--brand);
}
.src-tab__price small { font-size: 11px; font-weight: 600; color: var(--muted-2); }
.src-tab__check {
    position: absolute;
    top: 12px; right: 12px;
    display: grid;
    place-items: center;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 10px;
    opacity: 0;
    transform: scale(.7);
    transition: opacity var(--ease), transform var(--ease);
}
.src-tab.is-active .src-tab__check { opacity: 1; transform: scale(1); }

/* ---------- Adet kartları ---------- */
/* 12 kart × 4 sütun = her zaman 3 satır (Gerçek Kişiler ve Hızlı Servis aynı) */
.qty-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}
.qty-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    padding: 13px 13px 12px;
    border: 2px solid var(--line);
    border-radius: 14px;
    background: var(--surface-2);
    font: inherit;
    text-align: left;
    overflow: hidden;
    transition: border-color var(--ease), background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.qty-card:hover {
    border-color: transparent;   /* yerini animasyonlu kesik çerçeve alır */
    background: var(--brand-soft);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -14px rgba(37, 68, 216, .55);
}
/* Seçili kart: zemin de çerçeve rengine döner, yazılar beyaza çevrilir */
.qty-card.is-active {
    border-color: var(--brand);
    background: var(--brand);
    box-shadow: 0 10px 22px -12px rgba(37, 68, 216, .7);
}
.qty-card.is-active .qty-card__n { color: #fff; }
.qty-card.is-active .qty-card__label { color: rgba(255, 255, 255, .78); }
/* Seçili kartta hover efekti yok — zaten seçilmiş durumda */
.qty-card.is-active:hover {
    border-color: var(--brand);
    background: var(--brand);
    transform: none;
}
.qty-card.is-active .qty-card__ants { display: none; }
.qty-card__n {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
    line-height: 1.1;
}
.qty-card__label { font-size: 10.5px; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; }
.qty-card__price {
    margin-top: 12px;          /* boşluk hizmet adı ile fiyat arasında (her kartta eşit) */
    align-self: flex-start;
    white-space: nowrap;       /* uzun tutar sarınca rozet iki satıra çıkıyordu */
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--brand) 12%, transparent);
    font-size: 12.5px;
    font-weight: 800;
    color: var(--brand);
}
.qty-card.is-active .qty-card__price { background: rgba(255, 255, 255, .22); color: #fff; }

/* "ÇOK SATAN" bandı — kartın üst şeridini kaplar. Bant yer kapladığı için o
   kartın içeriği bir tık aşağıda başlar; ad↔fiyat aralığı sabit olduğundan
   kartların kendi iç ritmi bozulmaz. */
.qty-card.is-best { padding-top: 30px; }
.qty-card__flag {
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: 4px 8px;
    background: linear-gradient(90deg, #f97316, #fb923c);
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-align: center;
}
.qty-card.is-best { border-color: #fdba74; }
.qty-card.is-best.is-active,
.qty-card.is-best.is-active:hover { border-color: #f97316; background: #f97316; }
.qty-card.is-best.is-active .qty-card__flag { background: rgba(255, 255, 255, .18); }
.qty-card.is-best.is-active .qty-card__price { background: rgba(255, 255, 255, .24); color: #fff; }
.qty-card.is-best .qty-card__price { background: rgba(249, 115, 22, .14); color: #c2410c; }
/* Koyuda seçili olmayan çok satan kartın fiyat rozeti okunur kalsın */
:root[data-theme="dark"] .qty-card.is-best:not(.is-active) .qty-card__price { background: rgba(249, 115, 22, .22); color: #fdba74; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .qty-card.is-best:not(.is-active) .qty-card__price { background: rgba(249, 115, 22, .22); color: #fdba74; }
}

/* Hover: yürüyen kesik çerçeve (marching ants).
   Gradyanla çizilen kenarlar köşelerde kırılıyordu; SVG <rect> yuvarlak köşeyi
   olduğu gibi takip eder, kesikler stroke-dashoffset ile akar. */
.qty-card__ants {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity .18s ease;
    --ant: var(--brand);
}
.qty-card__ants svg { display: block; width: 100%; height: 100%; overflow: visible; }
.qty-card__ants rect {
    x: 1px;
    y: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    rx: 13px;
    ry: 13px;
    fill: none;
    stroke: var(--ant);
    stroke-width: 2;
    /* pathLength=100 → desen çevre uzunluğuna bölünüyor; 5+5=10, 100/10=10 tam
       tur olduğu için başlangıç noktasında kesikler üst üste binmiyor. */
    stroke-dasharray: 5 5;
    animation: qtyAnts 1.4s linear infinite;
}
.qty-card:hover .qty-card__ants { opacity: 1; }
.qty-card.is-best .qty-card__ants { --ant: #f97316; }
@keyframes qtyAnts {
    from { stroke-dashoffset: 0; }
    to   { stroke-dashoffset: -10; }   /* tam bir desen adımı = kesintisiz akış */
}
@media (prefers-reduced-motion: reduce) {
    .qty-card__ants rect { animation: none; }
    .qty-card:hover { transform: none; }
}

/* ---------- Özel adet ---------- */
.qty-custom {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-soft);
}
.qty-custom__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.qty-custom__label { font-size: 14px; font-weight: 700; color: var(--ink); }
.qty-custom__value {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--brand);
}

.qty-stepper {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 260px;
    margin-bottom: 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--bg);
    overflow: hidden;
}
.qty-stepper__btn {
    width: 46px;
    flex: 0 0 auto;
    border: 0;
    background: var(--bg);
    color: var(--muted);
    font-size: 13px;
    transition: background var(--ease), color var(--ease);
}
.qty-stepper__btn:hover { background: var(--brand-soft); color: var(--brand); }
.qty-stepper__input {
    flex: 1;
    min-width: 0;
    max-width: none;
    border: 0;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    padding: 12px 8px;
    font: 700 16px 'Inter', sans-serif;
    color: var(--ink);
    text-align: center;
    background: var(--bg);
    -moz-appearance: textfield;
}
.qty-stepper__input::-webkit-outer-spin-button,
.qty-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper__input:focus { outline: 2px solid var(--brand-line-2); outline-offset: -2px; }

.qty-range {
    display: block;
    width: 100%;
    max-width: none;
    height: 6px;
    margin: 0 0 8px;
    padding: 0;
    border-radius: var(--radius-pill);
    background: linear-gradient(to right, var(--brand) 0%, var(--brand) var(--fill, 30%), var(--brand-line) var(--fill, 30%), var(--brand-line) 100%);
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}
.qty-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px; height: 20px;
    border: 3px solid var(--surface);
    border-radius: 50%;
    background: var(--brand);
    box-shadow: var(--shadow-md);
    cursor: grab;
}
.qty-range::-moz-range-thumb {
    width: 14px; height: 14px;
    border: 3px solid var(--surface);
    border-radius: 50%;
    background: var(--brand);
    box-shadow: var(--shadow-md);
    cursor: grab;
}
.qty-range__ends {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--muted-2);
}

/* ---------- Özellik kartları ---------- */
.feat-grid {
    display: grid;
    /* 230px'te kartlar 3 sütuna düşüp metin sıkışıyordu (başlık 2, açıklama
       5 satıra bölünüyordu). 290px ile tipik panel genişliğinde 2 sütun
       kalıyor, başlık tek satıra sığıyor. */
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 10px;
}
.feat { display: block; cursor: pointer; }
.feat input { position: absolute; opacity: 0; pointer-events: none; }
.feat__box {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    height: 100%;
    padding: 14px;
    border: 2px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    transition: border-color var(--ease), background var(--ease);
}
.feat:hover .feat__box { border-color: var(--brand-line-2); }
.feat input:checked + .feat__box { border-color: var(--brand); background: var(--brand-soft); }
.feat input:focus-visible + .feat__box { outline: 2px solid var(--brand); outline-offset: 2px; }
.feat__icon {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 14px;
}
.feat input:checked + .feat__box .feat__icon { background: var(--brand); color: #fff; }
.feat__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
.feat__title { font-size: 14px; font-weight: 700; color: var(--ink); }
.feat__desc { font-size: 12px; color: var(--muted); line-height: 1.45; }

/* Fiyat rozeti kutunun sağ üst köşesinde. Akışta olmadığı için metin
   sütununu daraltmıyor; çakışmasın diye yeri BAŞLIĞA padding ile ayrılıyor
   (açıklama rozetin altından rahatça geçer). */
.feat__price {
    position: absolute;
    top: 11px; right: 11px;
    padding: 3px 8px;
    border: 1px solid color-mix(in srgb, var(--amber) 32%, transparent);
    border-radius: 6px;
    background: color-mix(in srgb, var(--amber) 15%, transparent);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.5;
    color: #8a6206;
    white-space: nowrap;
}
.feat__box:has(.feat__price) .feat__title { padding-right: 92px; }

/* ---------- Özellik alt panelleri ---------- */
.feat-panel {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid var(--brand-line);
    border-radius: var(--radius);
    background: var(--brand-soft);
}
.feat-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.feat-panel__title { font-size: 14px; font-weight: 700; color: var(--ink); }
.feat-panel__title i { color: var(--brand); margin-right: 6px; }
.feat-panel__meta { font-size: 12px; font-weight: 700; color: var(--brand); }

/* Izgaranin icine tasinan panel her kosulda tam genislik kaplar; JS masaustune
   donerken sinifi kaldirir, kaldiramazsa bile kart genisliginde sikismaz. */
.feat-panel--inline { grid-column: 1 / -1; }

/* ---------- Doğal Akış aralığı ---------- */
.flow-row {
    display: flex;
    gap: 10px;
    align-items: center;
}
.flow-row__value { flex: 1; min-width: 0; }
.flow-row__unit { width: 140px; flex-shrink: 0; }
.flow-estimate {
    margin: 10px 0 0;
    padding: 10px 12px;
    border: 1px solid var(--brand-line-2);
    border-radius: var(--radius);
    background: var(--bg);
    font: 600 13px 'Inter', sans-serif;
    color: var(--ink);
    line-height: 1.45;
}
.flow-estimate:empty { display: none; }
.flow-estimate.is-warning {
    border-color: rgba(220, 38, 38, 0.35);
    background: rgba(220, 38, 38, 0.08);
}
@media (max-width: 480px) {
    .flow-row { flex-wrap: wrap; }
    .flow-row__unit { width: 100%; }
}

.city-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 210px;
    margin-top: 12px;
    padding: 4px;
    overflow-y: auto;
}
.city-chip {
    padding: 6px 12px;
    border: 1px solid var(--brand-line-2);
    border-radius: var(--radius-pill);
    background: var(--bg);
    font: 600 12px 'Inter', sans-serif;
    color: var(--text);
    transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.city-chip:hover { border-color: var(--brand); color: var(--brand); }
.city-chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.city-chip[hidden] { display: none; }

/* ---------- Özel yorumlar (toplu / tek tek giriş) ---------- */
.cmt-modes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}
.cmt-mode {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 12px;
    border: 1px solid var(--brand-line-2);
    border-radius: var(--radius);
    background: var(--bg);
    font: 700 13px 'Inter', sans-serif;
    color: var(--muted);
    cursor: pointer;
    transition: border-color var(--ease), background var(--ease), color var(--ease);
}
.cmt-mode:hover { border-color: var(--brand); color: var(--brand); }
.cmt-mode.is-active {
    border-color: var(--brand);
    color: var(--brand);
    box-shadow: 0 0 0 3px rgba(37, 68, 216, .08);
}
.cmt-mode i { font-size: 12px; }

[data-comment-pane][hidden] { display: none; }

.cmt-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    padding: 2px;
    overflow-y: auto;
}
.cmt-row { display: grid; grid-template-columns: 1fr 44px; gap: 8px; align-items: center; }
.cmt-row__no {
    position: absolute;
    left: 12px;
    font: 700 12px 'Inter', sans-serif;
    color: var(--muted-2);
    pointer-events: none;
}
.cmt-row__field { position: relative; display: flex; align-items: center; min-width: 0; }
.cmt-row__input { padding-left: 38px; }
.cmt-row__del {
    display: grid;
    place-items: center;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--muted);
    font-size: 13px;
    cursor: pointer;
    transition: border-color var(--ease), background var(--ease), color var(--ease);
}
.cmt-row__del:hover {
    border-color: var(--danger);
    background: color-mix(in srgb, var(--danger) 10%, transparent);
    color: var(--danger);
}
.cmt-add {
    width: 100%;
    margin-top: 10px;
    padding: 11px;
    border: 1px dashed var(--brand-line-2);
    border-radius: var(--radius);
    background: var(--bg);
    font: 700 13px 'Inter', sans-serif;
    color: var(--brand);
    cursor: pointer;
    transition: border-color var(--ease), background var(--ease);
}
.cmt-add:hover { border-color: var(--brand); background: var(--brand-soft); }
.cmt-add i { margin-right: 6px; }

/* ---------- Görev seçici (Bağlı Görev / Hariç Bırak) ---------- */
.feat__badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: var(--radius-pill);
    background: var(--brand-soft);
    border: 1px solid var(--brand-line-2);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--brand);
    vertical-align: middle;
}
.feat input:checked + .feat__box .feat__badge { background: var(--bg); }
.feat-login { margin-top: 14px; }

/* Otomatik Hariç Bırak bilgisi: hizmet ayarından gelir, müşteri kapatamaz.
   Hariç bırakılan görevler listelenmez — küme sunucuda hesaplanır. */
.auto-exclude-note { margin-bottom: 16px; }
.auto-exclude-note b { display: block; margin-bottom: 2px; }

.task-picks {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 260px;
    margin-top: 12px;
    padding: 4px;
    overflow-y: auto;
}
.task-pick {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--brand-line-2);
    border-radius: var(--radius);
    background: var(--bg);
    text-align: left;
    transition: border-color var(--ease), background var(--ease);
}
.task-pick:hover { border-color: var(--brand); }
.task-pick[hidden] { display: none; }
.task-pick__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.task-pick__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.task-pick__meta { font-size: 11px; color: var(--muted); line-height: 1.4; }
.task-pick__check {
    display: grid;
    place-items: center;
    width: 22px; height: 22px;
    flex: 0 0 auto;
    border-radius: 50%;
    border: 1px solid var(--brand-line-2);
    background: var(--bg);
    color: transparent;
    font-size: 10px;
    transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.task-pick.is-active { border-color: var(--brand); background: var(--brand-soft); }
.task-pick.is-active .task-pick__check { background: var(--brand); border-color: var(--brand); color: #fff; }
.task-picks__empty { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.task-picks__empty[hidden] { display: none; }

/* ---------- Mobil ---------- */
@media (max-width: 980px) {
    .order-grid { grid-template-columns: 1fr; }
    .order-side { position: static; }
}
/* Hero mobil kırılımı kategori sayfasıyla aynı eşikte (720px) */
@media (max-width: 720px) {
    .order-hero { padding: 18px 0 92px; }
    .order-crumb ol { margin-bottom: 16px; font-size: 12px; }
    .order-hero__main { gap: 15px; }
    .order-hero__logo { width: 58px; height: 58px; border-radius: 18px; font-size: 25px; }
    .order-hero__title { margin: 0 0 6px; }
    .order-hero__sub { font-size: 14px; }
    .order-hero__tags { gap: 6px; margin-top: 13px; }
    .order-hero__tags .svc-tag { padding: 5px 11px; font-size: 11.5px; }
    .order-grid { margin-top: -70px; }
}
@media (max-width: 640px) {
    .order-wrap { padding: 0 0 48px; }
    .order-card { padding: 17px; }
    /* Mobilde 3 sütun = 4 satır; 4 sütunda fiyat metni kartlara sığmıyor */
    .qty-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
    .qty-card { padding: 9px 9px; }
    .qty-card.is-best { padding-top: 25px; }
    .qty-card__flag { padding: 3px 5px; font-size: 8px; letter-spacing: .05em; }
    .qty-card__n { font-size: 15px; }
    .qty-card__label { font-size: 10px; }
    .qty-card__price { font-size: 11px; padding: 3px 7px; margin-top: 9px; }
    .feat-grid { grid-template-columns: 1fr; }
    /* Mobilde ayar paneli tıklanan kartın hemen altında açılır (JS taşır) */
    .feat-panel--inline {
        grid-column: 1 / -1;
        margin-top: 4px;
        border-color: var(--brand);
    }
    .qty-stepper { max-width: none; }
    .order-summary { padding: 17px; }
}

/* ---------- Görev adımları (şerit + modal) ---------- */
.steps-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid var(--brand-line);
    border-radius: 14px;
    background: var(--brand-soft);
    color: var(--text);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.steps-trigger:hover {
    border-color: var(--brand-line-2);
    background: var(--brand-soft-2);
    transform: translateY(-1px);
}
.steps-trigger[hidden] { display: none; }
.steps-trigger__icon {
    display: grid;
    place-items: center;
    width: 30px; height: 30px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 13px;
}
.steps-trigger__text { flex: 1; min-width: 0; }
.steps-trigger__arrow { flex: 0 0 auto; color: var(--brand); font-size: 13px; }

.steps-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(17, 24, 39, .55);
    opacity: 0;
    transition: opacity .2s ease;
}
.steps-modal.is-open { opacity: 1; }
.steps-modal[hidden] { display: none; }
.steps-modal__box {
    width: min(560px, 100%);
    max-height: 84vh;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: var(--bg);
    box-shadow: 0 28px 70px rgba(15, 23, 42, .28);
    transform: translateY(14px) scale(.98);
    transition: transform .22s ease;
}
.steps-modal.is-open .steps-modal__box { transform: none; }
.steps-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 18px;
    background: var(--brand);
    color: #fff;
}
.steps-modal__title { margin: 0; font-size: 17px; font-weight: 800; color: #fff; }
.steps-modal__close {
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}
.steps-modal__close:hover { background: var(--surface); color: var(--brand); }
.steps-modal__body { padding: 18px; overflow-y: auto; }
.steps-modal__service {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted-2);
}
.steps-list {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.steps-list::before {
    content: '';
    position: absolute;
    left: 9px; top: 18px; bottom: 18px;
    width: 2px;
    background: linear-gradient(180deg, var(--brand), var(--brand-line));
}
.steps-list__item { position: relative; }
.steps-list__item::before {
    content: '';
    position: absolute;
    left: -24px; top: 17px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-soft);
}
.steps-list__card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--bg-soft);
}
.steps-list__no {
    display: grid;
    place-items: center;
    width: 22px; height: 22px;
    flex: 0 0 auto;
    margin-top: 1px;
    border: 1px solid var(--brand-line-2);
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 11.5px;
    font-weight: 800;
}
.steps-list__text {
    flex: 1;
    min-width: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
}
/* Kelimeler ortadan bölünmesin (yalnızca uzun linkler kırılır) */
.steps-list__text,
.steps-list__text * {
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
}
.steps-list__text p { margin: 0 0 6px; }
.steps-list__text p:last-child { margin-bottom: 0; }
.steps-list__text a { color: var(--brand); text-decoration: underline; overflow-wrap: anywhere !important; }
.steps-list__text ul,
.steps-list__text ol { margin: 6px 0; padding-left: 18px; }
.steps-modal__note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 14px 0 0;
    font-size: 12.5px;
    color: var(--muted);
}
.steps-modal__note i { margin-top: 2px; color: var(--brand); }
.steps-modal__foot { padding: 0 18px 18px; }

body.steps-modal-open { overflow: hidden; }

@media (max-width: 640px) {
    .steps-modal { padding: 12px; }
    .steps-modal__box { max-height: 90vh; }
    .steps-modal__body { padding: 15px; }
    .steps-list { padding-left: 24px; }
    .steps-list__item::before { left: -21px; }
    .steps-trigger { font-size: 13px; }
}

/* ---------- Hizmete özel bilgi alanları ---------- */
.field--custom textarea.field__input {
    min-height: 92px;
    resize: vertical;
    line-height: 1.6;
    font-family: inherit;
}
.field--custom[hidden] { display: none; }

/* Adımlar popup'ında doldurulan değerler */
.steps-list__text .cf-filled {
    padding: 1px 6px;
    border-radius: 6px;
    background: var(--brand-soft);
    border: 1px solid var(--brand-line-2);
    color: var(--brand);
    font-weight: 800;
}
.steps-list__text .cf-empty {
    padding: 1px 8px;
    border-radius: 6px;
    background: var(--bg-soft);
    border: 1px dashed var(--line-strong);
    color: var(--muted-2);
    font-weight: 700;
}
