/* ═══════════════════════════════════════════════════════════════
   YEDEK PARÇA VİTRİNİ — mobil öncelikli, premium
   Liste: /yedek-parca[/kategori]   Detay: /yedek-parca/{kategori}/{urun}
   Tokenlar frontend.css'ten gelir (--red, --ink, --muted, --surface-*).
   Not: frontend.css'teki global "*:not(i)… { font-family: Inter !important }" kuralı (0,2,1)
   başlık fontunu ezer; Barlow gereken yerlerde "body .yp …" ile daha yüksek özgüllük kullanılır.
═══════════════════════════════════════════════════════════════ */

.yp {
    --yp-ust: 0px;                       /* yapışkan menünün alt kenarı (JS ölçer) */
    --yp-kenar: #e4e8ef;
    --yp-kenar-koyu: #d5dbe5;
    --yp-zemin: #f3f5f9;
    --yp-koyu: #0a0f1a;
    --yp-yesil: #059669;
    --yp-yesil-acik: #ecfdf5;
    --yp-amber: #b45309;
    --yp-amber-acik: #fffbeb;
    --yp-wa: #16a34a;
    --yp-wa-koyu: #15803d;
    --yp-golge: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 20px rgba(15, 23, 42, .06);
    --yp-golge-orta: 0 2px 6px rgba(15, 23, 42, .05), 0 14px 34px rgba(15, 23, 42, .10);
    --yp-golge-buyuk: 0 24px 60px rgba(15, 23, 42, .18);
    --yp-ease: cubic-bezier(.16, 1, .3, 1);
    background: var(--yp-zemin);
    color: var(--ink, #0f172a);
    padding-bottom: 40px;
}
.yp *, .yp *::before, .yp *::after { box-sizing: border-box; }
.yp a { text-decoration: none; }
.yp [hidden] { display: none !important; }
.yp button { font: inherit; cursor: pointer; }

/* ─── GENİŞ EKRAN KATALOG DÜZENİ (Full-width / Modern Fluid) ─── */
.yp .container {
    max-width: 1680px;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
}
@media (min-width: 768px) {
    .yp .container { padding-left: 24px; padding-right: 24px; }
}
@media (min-width: 1200px) {
    .yp .container { padding-left: 36px; padding-right: 36px; }
}
@media (min-width: 1600px) {
    .yp .container { max-width: 1780px; padding-left: 48px; padding-right: 48px; }
}

/* Başlık fontu (Barlow Condensed) */
body .yp .yp-hero .yp-hero__baslik,
body .yp .yp-bilgi h1.yp-bilgi__ad,
body .yp .yp-cta h2,
body .yp .yp-kart-blok h2,
body .yp .yp-benzer h2,
body .yp .yp-bos h2.yp-bos__baslik,
body .yp .yp-kart b.yp-fiyat__tutar,
body .yp .yp-fiyat-kutu span.yp-fiyat-kutu__tutar,
body .yp .yp-altbar__fiyat strong {
    font-family: 'Barlow Condensed', 'Inter', sans-serif !important;
}
body .yp .yp-kart h3.yp-kart__ad,
body .yp .yp-blok h2.yp-blok__baslik {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}
body .yp .yp-kart__kod, body .yp .yp-kod, body .yp .yp-uyum__nesil b {
    font-family: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', Consolas, monospace !important;
}

/* ─── BAŞLIK ŞERİDİ (ince, sabit yükseklik: kategori değişince sayfa zıplamasın) ── */
.yp-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    padding: 12px 0 14px;
    background:
        radial-gradient(460px 170px at 96% -40%, rgba(220, 38, 38, .4), transparent 70%),
        linear-gradient(160deg, #0a0f1a 0%, #0f172a 60%, #172033 100%);
}
.yp-hero__desen {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 36px 36px;
    -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
    mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.yp-hero__ic { position: relative; }
.yp-hero--ince { padding: 10px 0; }

.yp-kirinti ol {
    display: flex; flex-wrap: nowrap; gap: 6px;
    margin: 0 0 6px; padding: 0; list-style: none;
    overflow-x: auto; scrollbar-width: none;
    font-size: .78rem; white-space: nowrap;
}
.yp-kirinti ol::-webkit-scrollbar { display: none; }
.yp-hero--ince .yp-kirinti ol { margin: 0; }
.yp-kirinti li { color: rgba(255, 255, 255, .5); display: flex; align-items: center; gap: 6px; }
.yp-kirinti li + li::before { content: "›"; color: rgba(255, 255, 255, .3); }
.yp-kirinti a { color: rgba(255, 255, 255, .75); transition: color .15s; }
.yp-kirinti a:hover { color: #fff; }
.yp-kirinti li[aria-current] { color: #fff; max-width: 60vw; overflow: hidden; text-overflow: ellipsis; }

.yp-hero__satir { display: flex; align-items: center; gap: 12px; min-width: 0; }
.yp-hero__baslik {
    min-width: 0; margin: 0; font-size: 1.6rem; line-height: 1.1; font-weight: 800;
    letter-spacing: .005em; text-transform: uppercase; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yp-hero__sayi {
    flex: none; display: inline-flex; align-items: center; gap: 5px;
    height: 26px; padding: 0 10px; border-radius: 999px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
    font-size: .74rem; color: rgba(226, 232, 240, .8); white-space: nowrap;
}
.yp-hero__sayi strong { color: #fff; font-size: .86rem; }
a.yp-hero__baslik { display: block; transition: color .15s; }
a.yp-hero__baslik:hover { color: #fecaca; }
.yp-hero__metin { display: none; }

/* ─── KOMUT ÇUBUĞU ─────────────────────────────────────── */
.yp-arabar {
    position: sticky; top: var(--yp-ust); z-index: 30;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid var(--yp-kenar);
    padding: 10px 0;
    transition: box-shadow .2s;
}
.yp-arabar.is-yapisik { box-shadow: 0 8px 24px rgba(15, 23, 42, .08); }
.yp-form { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.yp-ara {
    position: relative; display: flex; align-items: center; flex: 1; min-width: 0;
    margin: 0; height: 48px;
    background: var(--surface-3, #f1f5f9);
    border: 1.5px solid transparent; border-radius: 14px;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.yp-ara:focus-within { background: #fff; border-color: var(--red, #dc2626); box-shadow: 0 0 0 4px rgba(220, 38, 38, .1); }
.yp-ara > i { position: absolute; left: 16px; color: var(--muted, #64748b); font-size: 1rem; pointer-events: none; }
.yp-ara input {
    flex: 1; min-width: 0; height: 100%;
    border: 0; outline: 0; background: transparent;
    padding: 0 44px;
    font-size: 16px; /* iOS yakınlaştırmasın */
    font-weight: 500; color: var(--ink, #0f172a);
}
.yp-ara input::placeholder { color: #8a97ab; font-weight: 400; }
.yp-ara input::-webkit-search-cancel-button { -webkit-appearance: none; }
.yp-ara__temizle {
    position: absolute; right: 7px;
    width: 34px; height: 34px; border: 0; border-radius: 10px;
    background: transparent; color: var(--muted, #64748b);
}
.yp-ara__temizle:hover { background: rgba(15, 23, 42, .06); }
.yp-form__dugmeler { display: flex; gap: 8px; }

/* "Aracım" düğmesi */
.yp-aracbtn {
    flex: 1; min-width: 0;
    display: flex; align-items: center; gap: 10px;
    height: 48px; padding: 0 12px 0 6px;
    border: 1.5px solid var(--yp-kenar); border-radius: 14px;
    background: #fff; color: var(--ink, #0f172a); text-align: left;
    transition: border-color .15s, box-shadow .15s, transform .1s;
    -webkit-tap-highlight-color: transparent;
}
.yp-aracbtn:hover { border-color: var(--yp-kenar-koyu); box-shadow: var(--yp-golge); }
.yp-aracbtn:active { transform: scale(.985); }
.yp-aracbtn__ikon {
    flex: none; width: 36px; height: 36px; border-radius: 10px;
    display: grid; place-items: center;
    background: linear-gradient(145deg, #ef4444, #b91c1c); color: #fff; font-size: .9rem;
    box-shadow: 0 4px 12px rgba(220, 38, 38, .3);
}
.yp-aracbtn__metin { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.yp-aracbtn__metin small { font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #64748b); }
.yp-aracbtn__metin strong { font-size: .88rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yp-aracbtn__ok { flex: none; font-size: .72rem; color: var(--muted, #64748b); }
.yp-aracbtn.is-secili { border-color: var(--red, #dc2626); background: #fff5f5; }
.yp-aracbtn.is-secili .yp-aracbtn__metin small { color: var(--red, #dc2626); }
.yp-aracbtn.is-kayitli #ypAracEtiket::after {
    content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 6px;
    border-radius: 50%; background: var(--yp-yesil); vertical-align: middle;
}

/* Filtre düğmesi (yalnız mobil/tablet) */
.yp-filtrebtn {
    flex: none; position: relative;
    display: inline-flex; align-items: center; gap: 8px;
    height: 48px; padding: 0 16px;
    border: 1.5px solid var(--ink, #0f172a); border-radius: 14px;
    background: var(--ink, #0f172a); color: #fff;
    font-size: .88rem; font-weight: 700;
    -webkit-tap-highlight-color: transparent;
}
.yp-filtrebtn:active { transform: scale(.97); }
.yp-filtrebtn__sayi {
    position: absolute; top: -7px; right: -7px;
    min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
    background: var(--red, #dc2626); color: #fff; border: 2px solid #fff;
    font-size: .7rem; line-height: 18px; text-align: center;
}
.yp-form__ara { display: none; }


/* ─── GÖVDE ────────────────────────────────────────────── */
.yp-govde { padding-top: 16px; }
.yp-duzen { display: block; }
.yp-ana { min-width: 0; }

/* ─── SONUÇ ÜSTÜ ───────────────────────────────────────── */
.yp-ust { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.yp-sayac { margin: 0; font-size: .86rem; color: var(--muted, #64748b); }
.yp-sayac strong { color: var(--ink, #0f172a); font-size: 1.05rem; font-weight: 800; }
.yp-sirala { position: relative; display: inline-flex; align-items: center; margin: 0; }
.yp-sirala i { position: absolute; left: 12px; font-size: .8rem; color: var(--muted, #64748b); pointer-events: none; }
.yp-sirala select {
    -webkit-appearance: none; appearance: none;
    height: 40px; padding: 0 32px 0 34px;
    border: 1.5px solid var(--yp-kenar); border-radius: 12px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748b' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
    font-size: .85rem; font-weight: 600; color: var(--ink, #0f172a); cursor: pointer;
}
.yp-sirala select:focus { outline: 0; border-color: var(--red, #dc2626); }

.yp-kayitli {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
    margin-bottom: 14px; padding: 12px 14px;
    background: linear-gradient(135deg, #fff, #fff5f5);
    border: 1px solid rgba(220, 38, 38, .22); border-radius: 16px;
    font-size: .86rem;
}
.yp-kayitli__ikon {
    flex: none; width: 36px; height: 36px; border-radius: 10px;
    display: grid; place-items: center; background: rgba(220, 38, 38, .1); color: var(--red, #dc2626);
}
.yp-kayitli__metin { flex: 1; min-width: 160px; color: var(--muted, #64748b); }
.yp-kayitli__metin strong { display: block; color: var(--ink, #0f172a); }

/* ─── ÇİPLER ───────────────────────────────────────────── */
.yp-cipler { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.yp-cip {
    display: inline-flex; align-items: center; gap: 7px;
    height: 32px; padding: 0 6px 0 12px; border-radius: 999px;
    background: #fff; border: 1px solid var(--yp-kenar);
    color: var(--slate, #1e293b); font-size: .8rem; font-weight: 600;
    transition: border-color .15s;
}
.yp-cip:hover { border-color: var(--red, #dc2626); color: var(--slate, #1e293b); }
.yp-cip i { color: var(--red, #dc2626); font-size: .75rem; }
.yp-cip--arac { border-color: rgba(220, 38, 38, .35); background: #fff5f5; }
.yp-cip__x {
    display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
    background: var(--surface-3, #f1f5f9); color: var(--muted, #64748b); font-size: .9rem; line-height: 1;
}
.yp-cip--temizle { padding: 0 12px; background: transparent; border-style: dashed; color: var(--red, #dc2626); }

/* ─── IZGARA & KART ────────────────────────────────────── */
.yp-sonuc { transition: opacity .2s; }
.yp-sonuc.is-yukleniyor { opacity: .45; pointer-events: none; }
.yp-izgara {
    display: grid; gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.yp-kart {
    position: relative;
    background: #fff; border-radius: 18px; overflow: hidden;
    border: 1px solid var(--yp-kenar);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: transform .3s var(--yp-ease), box-shadow .3s var(--yp-ease), border-color .2s;
    content-visibility: auto; contain-intrinsic-size: 300px 380px;
    animation: ypBelir .4s var(--yp-ease) both;
}
@keyframes ypBelir { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.yp-kart__link { display: flex; flex-direction: column; height: 100%; color: inherit; -webkit-tap-highlight-color: transparent; }
.yp-kart__medya {
    position: relative; aspect-ratio: 1 / 1;
    background: #ffffff;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    padding: 16px;
    border-bottom: 1px solid #eef1f5;
}
.yp-kart__medya:has(.yp-kart__yer)::before {
    content: ""; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(15, 23, 42, .025) 0 2px, transparent 2px 14px);
}
.yp-kart__medya img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform .4s var(--yp-ease);
}
/* Ürün fotoğrafları çoğunlukla beyaz zeminli: degrade üstünde beyaz dikdörtgen "kesik" görünmesin */
.yp-kart__medya:has(img) { background: #fff; }
.yp-kart__yer {
    position: relative;
    display: grid; place-items: center; width: 42%; aspect-ratio: 1; border-radius: 28%;
    background: linear-gradient(145deg, #fff, #f3f5f8);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08), inset 0 0 0 1px #e8ecf2;
    color: var(--red, #dc2626); font-size: 1.9rem;
    transition: transform .4s var(--yp-ease);
}
.yp-kart__yer i { opacity: .85; }
.yp-kart--yok .yp-kart__medya img, .yp-kart--yok .yp-kart__yer { opacity: .55; filter: grayscale(.6); }

.yp-kart__medya .yp-rozet { position: absolute; top: 10px; left: 10px; }
.yp-kart__stok {
    position: absolute; top: 10px; right: 10px;
    display: inline-flex; align-items: center; gap: 5px;
    height: 22px; padding: 0 8px; border-radius: 999px;
    background: rgba(255, 255, 255, .92); box-shadow: 0 1px 4px rgba(15, 23, 42, .1);
    font-size: .64rem; font-weight: 800; letter-spacing: .02em;
}
.yp-kart__stok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.yp-kart__stok--var { color: var(--yp-yesil); }
.yp-kart__stok--var::before { box-shadow: 0 0 0 3px rgba(5, 150, 105, .18); }
.yp-kart__stok--yok { color: var(--yp-amber); }
.yp-kart__uygun {
    position: absolute; left: 10px; bottom: 10px;
    display: inline-flex; align-items: center; gap: 5px;
    height: 24px; padding: 0 9px; border-radius: 999px;
    background: var(--yp-yesil); color: #fff; font-size: .66rem; font-weight: 700;
    box-shadow: 0 4px 12px rgba(5, 150, 105, .35);
}

.yp-kart__govde { display: flex; flex-direction: column; gap: 5px; flex: 1; padding: 11px 12px 12px; }
.yp-kart__kat {
    font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
    color: var(--red, #dc2626); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yp-kart__ad {
    margin: 0; font-size: .88rem; line-height: 1.32; font-weight: 700; color: var(--ink, #0f172a);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 2.64em; letter-spacing: -.005em;
}
.yp-kart__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.yp-kart__kod {
    max-width: 100%; padding: 2px 7px; border-radius: 6px;
    background: var(--surface-3, #f1f5f9);
    font-size: .7rem; font-weight: 600; color: #475569;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yp-kart__uyum {
    display: inline-flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%;
    font-size: .72rem; color: var(--slate, #1e293b);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.yp-kart__uyum i { color: var(--red, #dc2626); font-size: .68rem; }
.yp-kart__alt {
    margin-top: auto; padding-top: 10px;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
    border-top: 1px dashed var(--yp-kenar);
}
.yp-fiyat { display: flex; flex-direction: column; min-width: 0; line-height: 1; }
.yp-fiyat__tutar { font-size: 1.35rem; font-weight: 700; color: var(--ink, #0f172a); letter-spacing: .005em; white-space: nowrap; }
.yp-fiyat small { margin-top: 3px; font-size: .64rem; font-weight: 500; color: var(--muted, #64748b); }
.yp-fiyat--sor .yp-fiyat__tutar { font-size: 1.1rem; color: var(--red, #dc2626); white-space: normal; }
.yp-kart__ok {
    flex: none; width: 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--surface-3, #f1f5f9); color: var(--ink, #0f172a); font-size: .8rem;
    transition: background .2s, color .2s, transform .3s var(--yp-ease);
}

/* Durum rozetleri */
.yp-rozet {
    display: inline-flex; align-items: center;
    height: 22px; padding: 0 8px; border-radius: 7px;
    font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
    background: #fff; border: 1px solid;
}
.yp-rozet--sifir    { color: #1d4ed8; border-color: #bfdbfe; background: #eff6ff; }
.yp-rozet--cikma    { color: #b45309; border-color: #fde68a; background: #fffbeb; }
.yp-nokta { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; }
.yp-nokta--sifir { background: #2563eb; }
.yp-nokta--cikma { background: #d97706; }

/* Detayda kullanılan stok etiketi */
.yp-stok { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; }
.yp-stok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.yp-stok--var { color: var(--yp-yesil); }
.yp-stok--yok { color: var(--yp-amber); }

/* ─── DAHA FAZLA & SAYFALAMA ───────────────────────────── */
.yp-devam { display: flex; justify-content: center; margin: 22px 0 6px; }
.yp-devam__btn {
    display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
    width: 100%; max-width: 380px; padding: 13px 20px;
    background: var(--ink, #0f172a); border-radius: 16px;
    color: #fff; font-weight: 700; font-size: .94rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .18);
    transition: background .15s, transform .15s;
}
.yp-devam__btn:hover { background: #1e293b; color: #fff; transform: translateY(-1px); }
.yp-devam__kalan { font-size: .74rem; font-weight: 500; color: rgba(255, 255, 255, .65); }
.yp-devam__btn.is-yukleniyor { pointer-events: none; opacity: .75; }
.yp-devam__btn.is-yukleniyor .yp-devam__metin::after {
    content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 8px; vertical-align: -2px;
    border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
    animation: ypDon .7s linear infinite;
}
@keyframes ypDon { to { transform: rotate(360deg); } }

.yp-sayfalama { display: none; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.yp-sayfa {
    min-width: 42px; height: 42px; padding: 0 10px;
    display: inline-grid; place-items: center;
    border-radius: 12px; background: #fff; border: 1px solid var(--yp-kenar);
    color: var(--slate, #1e293b); font-weight: 700; font-size: .88rem;
}
a.yp-sayfa:hover { border-color: var(--red, #dc2626); color: var(--red, #dc2626); }
.yp-sayfa.is-aktif { background: var(--red, #dc2626); border-color: var(--red, #dc2626); color: #fff; box-shadow: 0 6px 16px rgba(220, 38, 38, .28); }
.yp-sayfa--bosluk { background: transparent; border: 0; min-width: 20px; }

/* ─── BOŞ SONUÇ ────────────────────────────────────────── */
.yp-bos {
    position: relative; overflow: hidden;
    text-align: center; padding: 44px 20px 40px;
    background: #fff; border: 1px solid var(--yp-kenar); border-radius: 22px;
    box-shadow: var(--yp-golge);
}
.yp-bos::before {
    content: ""; position: absolute; left: 50%; top: -120px; width: 360px; height: 240px; transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(220, 38, 38, .08), transparent);
    pointer-events: none;
}
.yp-bos__ikon {
    position: relative;
    width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 24px;
    display: grid; place-items: center;
    background: linear-gradient(145deg, #ef4444, #b91c1c); color: #fff; font-size: 1.7rem;
    box-shadow: 0 14px 30px rgba(220, 38, 38, .3);
}
.yp-bos__baslik { position: relative; margin: 0 0 8px; font-size: 1.6rem; font-weight: 700; text-transform: uppercase; color: var(--ink, #0f172a); }
.yp-bos__metin { position: relative; margin: 0 auto 20px; max-width: 480px; font-size: .92rem; line-height: 1.6; color: var(--muted, #64748b); }
.yp-bos__eylem { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ─── DÜĞMELER ─────────────────────────────────────────── */
.yp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 48px; padding: 0 22px; border-radius: 14px;
    border: 1.5px solid transparent;
    font-size: .93rem; font-weight: 700; white-space: nowrap; cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, transform .1s, box-shadow .15s;
    -webkit-tap-highlight-color: transparent;
}
.yp-btn:active { transform: scale(.98); }
.yp-btn:disabled { opacity: .5; cursor: not-allowed; }
.yp-btn--ana { background: var(--red, #dc2626); color: #fff; box-shadow: 0 8px 20px rgba(220, 38, 38, .25); }
.yp-btn--ana:hover { background: var(--red-dark, #b91c1c); color: #fff; }
.yp-btn--wa { background: var(--yp-wa); color: #fff; box-shadow: 0 8px 20px rgba(22, 163, 74, .28); }
.yp-btn--wa:hover { background: var(--yp-wa-koyu); color: #fff; }
.yp-btn--wa i { font-size: 1.2rem; }
.yp-btn--hafif { background: #fff; border-color: var(--yp-kenar); color: var(--ink, #0f172a); }
.yp-btn--hafif:hover { border-color: var(--ink, #0f172a); color: var(--ink, #0f172a); }
.yp-btn--cam { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }
.yp-btn--cam:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.yp-btn--koyu { background: var(--ink, #0f172a); color: #fff; }
.yp-btn--koyu:hover { background: #1e293b; color: #fff; }
.yp-btn--kucuk { height: 36px; padding: 0 14px; font-size: .8rem; border-radius: 10px; box-shadow: none; }
.yp-btn--buyuk { height: 54px; font-size: 1rem; border-radius: 16px; }
.yp-btn--blok { width: 100%; }
.yp-ikon-btn {
    width: 38px; height: 38px; border: 0; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--surface-3, #f1f5f9); color: var(--ink, #0f172a);
}

/* ─── FİLTRE PANELİ (mobil: alt sayfa) ─────────────────── */
.yp-panel {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1085;
    max-height: 88vh; max-height: 88dvh;
    display: flex; flex-direction: column;
    background: #fff; border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 40px rgba(15, 23, 42, .2);
    transform: translateY(105%); visibility: hidden;
    transition: transform .35s var(--yp-ease), visibility 0s linear .35s;
}
.yp-panel.is-acik { transform: none; visibility: visible; transition: transform .35s var(--yp-ease), visibility 0s; }
.yp-panel__bas {
    position: relative; display: flex; align-items: center; justify-content: space-between;
    padding: 20px 16px 12px; border-bottom: 1px solid var(--yp-kenar);
}
.yp-panel__bas strong { font-size: 1.1rem; }
.yp-panel__tutamak {
    position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
    width: 40px; height: 4px; border-radius: 4px; background: #cbd5e1;
}
.yp-panel__icerik { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px 16px; -webkit-overflow-scrolling: touch; }
.yp-panel__alt {
    display: grid; grid-template-columns: auto 1fr; gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--yp-kenar); background: #fff;
}
.yp-perde {
    position: fixed; inset: 0; z-index: 1080;
    background: rgba(15, 23, 42, .5);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    animation: ypSoluk .25s ease both;
}
@keyframes ypSoluk { from { opacity: 0; } to { opacity: 1; } }
body.yp-kilit { overflow: hidden; }

.yp-blok { padding: 16px 0; border-bottom: 1px solid var(--yp-kenar); }
.yp-blok:last-child { border-bottom: 0; }
.yp-blok__baslik {
    margin: 0 0 10px; font-size: .72rem; font-weight: 800; letter-spacing: .1em;
    text-transform: uppercase; color: var(--muted, #64748b);
}

/* Kategori ağacı */
.yp-agac, .yp-agac__alt { list-style: none; margin: 0; padding: 0; }
.yp-agac__satir { display: flex; align-items: center; gap: 2px; }
.yp-agac__link {
    flex: 1; min-width: 0;
    display: flex; align-items: center; gap: 10px;
    min-height: 42px; padding: 6px 10px; border-radius: 11px;
    color: var(--slate, #1e293b); font-size: .9rem; font-weight: 600;
    transition: background .15s, color .15s;
}
.yp-agac__link:hover { background: var(--surface-2, #f8fafc); color: var(--ink, #0f172a); }
.yp-agac__link i { width: 18px; text-align: center; color: var(--red, #dc2626); font-size: .88rem; opacity: .85; }
.yp-agac__link span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yp-agac__link em {
    font-style: normal; font-size: .72rem; font-weight: 700;
    min-width: 26px; padding: 2px 7px; border-radius: 8px; text-align: center;
    background: var(--surface-3, #f1f5f9); color: var(--slate, #1e293b);
}
.yp-agac__link.is-bos { color: #7b889c; font-weight: 500; }
.yp-agac__link.is-bos i { color: #b6c0ce; opacity: 1; }
.yp-agac__link.is-bos em { background: transparent; color: #b6c0ce; }
.yp-agac__link.is-aktif { background: rgba(220, 38, 38, .08); color: var(--red-dark, #b91c1c); font-weight: 700; }
.yp-agac__link.is-aktif i { color: var(--red, #dc2626); }
.yp-agac__link.is-aktif em { background: var(--red, #dc2626); color: #fff; }
.yp-agac__ac {
    flex: none; width: 36px; height: 36px; border: 0; border-radius: 10px;
    background: transparent; color: var(--muted, #64748b);
}
.yp-agac__ac:hover { background: var(--surface-3, #f1f5f9); }
.yp-agac__ac i { transition: transform .25s var(--yp-ease); font-size: .74rem; }
.yp-agac__grup.is-acik > .yp-agac__satir .yp-agac__ac i { transform: rotate(180deg); }
.yp-agac__alt {
    margin-left: 19px; border-left: 2px solid var(--yp-kenar);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .3s var(--yp-ease), visibility 0s linear .3s;
}
.yp-agac__grup.is-acik > .yp-agac__alt { max-height: 1200px; visibility: visible; transition: max-height .3s var(--yp-ease), visibility 0s; }
.yp-agac__link--alt { min-height: 38px; margin-left: 6px; font-size: .86rem; font-weight: 500; }

/* Seçim kutuları */
.yp-secim-grup { display: flex; flex-wrap: wrap; gap: 8px; }
.yp-secim { margin: 0; cursor: pointer; }
.yp-secim input { position: absolute; opacity: 0; pointer-events: none; }
.yp-secim span {
    display: inline-flex; align-items: center;
    height: 38px; padding: 0 14px; border-radius: 11px;
    border: 1.5px solid var(--yp-kenar); background: #fff;
    font-size: .84rem; font-weight: 600; color: var(--slate, #1e293b);
    transition: border-color .15s, background .15s;
}
.yp-secim:hover span { border-color: var(--yp-kenar-koyu); }
.yp-secim input:checked + span { border-color: var(--ink, #0f172a); background: var(--ink, #0f172a); color: #fff; }
.yp-secim input:focus-visible + span { outline: 2px solid var(--red, #dc2626); outline-offset: 2px; }
/* Marka seçenekleri: adet rozeti; marka çoğalınca blok kendi içinde kayar */
.yp-secim-grup--marka { max-height: 220px; overflow-y: auto; padding: 2px; }
.yp-secim__sayi {
    margin-left: 7px; font-style: normal; font-size: .72rem; font-weight: 700;
    color: var(--yp-soluk, #64748b); opacity: .9;
}
.yp-secim input:checked + span .yp-secim__sayi { color: rgba(255, 255, 255, .75); }

/* ─── DİKEY LİSTE FİLTRELERİ (Autodoc / Trendyol Standardı) ─── */
.yp-blok__ust { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.yp-filtre-ara-kutu { position: relative; display: flex; align-items: center; }
.yp-filtre-ara-kutu i { position: absolute; left: 10px; font-size: .75rem; color: var(--muted, #94a3b8); pointer-events: none; }
.yp-filtre-ara {
    width: 100%; height: 34px; padding: 0 10px 0 28px; font-size: .8rem;
    border-radius: 9px; border: 1px solid var(--yp-kenar); background: #f8fafc;
    color: var(--ink, #0f172a); transition: border-color .15s, background .15s, box-shadow .15s;
}
.yp-filtre-ara:focus { outline: none; border-color: var(--red, #dc2626); background: #fff; box-shadow: 0 0 0 3px rgba(220, 38, 38, .1); }

.yp-liste-grup { display: flex; flex-direction: column; gap: 2px; }
.yp-liste-grup--marka {
    max-height: 250px; overflow-y: auto; padding-right: 4px;
    scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent;
}
.yp-liste-grup--marka::-webkit-scrollbar { width: 4px; }
.yp-liste-grup--marka::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

.yp-liste-oge {
    position: relative; display: flex; align-items: center; gap: 10px;
    padding: 7px 10px; border-radius: 8px; cursor: pointer;
    font-size: .84rem; color: var(--ink, #1e293b);
    transition: background .15s, color .15s; user-select: none; margin: 0;
}
.yp-liste-oge:hover { background: #f1f5f9; }
.yp-liste-oge input { position: absolute; opacity: 0; pointer-events: none; }
.yp-liste-oge__isaret {
    width: 18px; height: 18px; border-radius: 5px;
    border: 1.5px solid #cbd5e1; display: grid; place-items: center; flex: none;
    background: #fff;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.yp-liste-oge__isaret::after {
    content: ""; width: 5px; height: 9px;
    border: solid #fff; border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px) scale(0);
    opacity: 0; transition: transform .15s cubic-bezier(.16, 1, .3, 1), opacity .15s;
}
.yp-liste-oge input:checked ~ .yp-liste-oge__isaret {
    border-color: var(--red, #dc2626); background: var(--red, #dc2626);
    box-shadow: 0 2px 6px rgba(220, 38, 38, .25);
}
.yp-liste-oge input:checked ~ .yp-liste-oge__isaret::after {
    opacity: 1; transform: rotate(45deg) translate(-1px, -1px) scale(1);
}
.yp-liste-oge input:checked ~ .yp-liste-oge__ad {
    color: var(--red, #dc2626); font-weight: 700;
}
.yp-liste-oge__ad {
    flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    display: flex; align-items: center; gap: 6px; font-weight: 500;
}
.yp-liste-oge__sayi {
    font-size: .72rem; font-weight: 600; color: #94a3b8;
    background: #f8fafc; padding: 1px 7px; border-radius: 999px;
    border: 1px solid #e2e8f0;
}
.yp-liste-oge input:checked ~ .yp-liste-oge__sayi {
    color: var(--red, #dc2626); border-color: rgba(220, 38, 38, .2); background: #fef2f2;
}

.yp-anahtar { display: flex; align-items: flex-start; gap: 12px; margin: 0; cursor: pointer; }
.yp-anahtar input { position: absolute; opacity: 0; pointer-events: none; }
.yp-anahtar__ray {
    flex: none; position: relative; width: 44px; height: 26px; border-radius: 13px;
    background: #cbd5e1; transition: background .2s;
}
.yp-anahtar__ray::after {
    content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
    background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s var(--yp-ease);
}
.yp-anahtar input:checked + .yp-anahtar__ray { background: var(--red, #dc2626); }
.yp-anahtar input:checked + .yp-anahtar__ray::after { transform: translateX(18px); }
.yp-anahtar input:focus-visible + .yp-anahtar__ray { outline: 2px solid var(--red, #dc2626); outline-offset: 2px; }
.yp-anahtar__metin { display: flex; flex-direction: column; font-size: .88rem; font-weight: 600; }
.yp-anahtar__metin small { font-size: .76rem; font-weight: 400; color: var(--muted, #64748b); margin-top: 2px; }

/* ─── ARAÇ SEÇİCİ (dialog) ─────────────────────────────── */
.yp-dialog {
    width: 100%; max-width: 100%; max-height: 92dvh;
    margin: auto 0 0; padding: 0; border: 0;
    border-radius: 24px 24px 0 0;
    background: #fff; color: var(--ink, #0f172a);
    box-shadow: var(--yp-golge-buyuk);
}
.yp-dialog[open] { animation: ypYuksel .35s var(--yp-ease) both; }
@keyframes ypYuksel { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.yp-dialog::backdrop { background: rgba(15, 23, 42, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.yp-dialog__kutu { display: flex; flex-direction: column; max-height: 92dvh; }
.yp-dialog__bas {
    position: relative; display: flex; align-items: center; justify-content: space-between;
    padding: 20px 18px 12px; border-bottom: 1px solid var(--yp-kenar);
}
.yp-dialog__bas strong { font-size: 1.1rem; }
.yp-dialog__icerik { overflow-y: auto; padding: 16px 18px; display: grid; gap: 12px; }
.yp-dialog__alt {
    display: grid; grid-template-columns: auto 1fr; gap: 10px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--yp-kenar);
}
.yp-alan { display: grid; gap: 6px; margin: 0; }
.yp-alan > span { font-size: .8rem; font-weight: 700; color: var(--slate, #1e293b); }
.yp-alan small { font-weight: 400; color: var(--muted, #64748b); }
.yp-alan select {
    -webkit-appearance: none; appearance: none;
    height: 50px; padding: 0 40px 0 14px; border-radius: 13px;
    border: 1.5px solid var(--yp-kenar);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230f172a' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
    font-size: 16px; color: var(--ink, #0f172a);
}
.yp-alan select:focus { outline: 0; border-color: var(--red, #dc2626); box-shadow: 0 0 0 4px rgba(220, 38, 38, .1); }
.yp-alan select:disabled { background-color: var(--surface-2, #f8fafc); color: #94a3b8; }
.yp-not { margin: 2px 0 0; padding: 11px 13px; border-radius: 12px; background: var(--surface-2, #f8fafc); font-size: .78rem; line-height: 1.5; color: var(--muted, #64748b); }
.yp-not i { color: var(--red, #dc2626); }

/* ─── TEDARİK ÇAĞRISI ──────────────────────────────────── */
.yp-cta {
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; gap: 20px;
    margin-top: 32px; padding: 26px 20px;
    border-radius: 24px; color: #fff;
    background:
        radial-gradient(420px 220px at 100% 0%, rgba(220, 38, 38, .45), transparent 70%),
        radial-gradient(300px 200px at 0% 100%, rgba(22, 163, 74, .18), transparent 70%),
        linear-gradient(150deg, #0a0f1a, #172033);
    box-shadow: var(--yp-golge-orta);
}
.yp-cta::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 36px 36px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
    mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.yp-cta__ust { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fca5a5; }
.yp-cta h2 { margin: 6px 0 8px; font-size: 1.8rem; line-height: 1; font-weight: 700; text-transform: uppercase; color: #fff; }
.yp-cta p { margin: 0; max-width: 560px; font-size: .9rem; line-height: 1.6; color: rgba(226, 232, 240, .75); }
.yp-cta__eylem { display: grid; gap: 10px; }

/* ─── GÜVEN ŞERİDİ ─────────────────────────────────────── */
.yp-guven { display: grid; gap: 10px; margin-top: 14px; }
.yp-guven__oge {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--yp-kenar);
}
.yp-guven__ikon {
    flex: none; width: 44px; height: 44px; border-radius: 13px;
    display: grid; place-items: center;
    background: linear-gradient(145deg, rgba(220, 38, 38, .12), rgba(220, 38, 38, .04)); color: var(--red, #dc2626);
}
.yp-guven__oge strong { display: block; font-size: .94rem; margin-bottom: 3px; color: var(--ink, #0f172a); }
.yp-guven__oge span { font-size: .82rem; color: var(--muted, #64748b); line-height: 1.5; }

/* ═══ DETAY ════════════════════════════════════════════ */
.yp--detay { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
.yp-detay { padding-top: 0; }
.yp-detay__ust { display: grid; gap: 0; }

/* Galeri: mobilde kenardan kenara kaydırmalı */
.yp-galeri { position: relative; margin: 0 calc(var(--bs-gutter-x, 1.5rem) * -.5); background: #fff; }
.yp-galeri__ray {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; outline: 0;
}
.yp-galeri__ray::-webkit-scrollbar { display: none; }
.yp-galeri__kare {
    flex: 0 0 100%; scroll-snap-align: center;
    aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
    background: #ffffff; overflow: hidden; padding: 20px;
}
.yp-galeri__kare img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}
.yp-galeri__kare:has(img) { background: #fff; }
.yp-galeri__noktalar {
    position: absolute; left: 0; right: 0; bottom: 12px;
    display: flex; justify-content: center; gap: 6px; pointer-events: none;
}
.yp-galeri__noktalar span { width: 7px; height: 7px; border-radius: 4px; background: rgba(15, 23, 42, .2); transition: width .25s var(--yp-ease), background .2s; }
.yp-galeri__noktalar span.is-aktif { width: 20px; background: var(--red, #dc2626); }
.yp-galeri__kucukler { display: none; }
.yp-galeri__bos {
    aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    background: radial-gradient(circle at 50% 40%, #fff, #eef1f6 80%);
    color: var(--muted, #64748b); font-size: .86rem; text-align: center; padding: 20px;
}
.yp-galeri__bos i { font-size: 4rem; color: var(--red, #dc2626); opacity: .35; }

.yp-bilgi { padding: 18px 0 4px; }
.yp-bilgi__rozetler { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 12px; }
.yp-etiket { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 700; color: var(--slate, #1e293b); }
.yp-etiket i { color: var(--yp-yesil); }
.yp-bilgi__ad { margin: 0; font-size: 1.9rem; line-height: 1.02; font-weight: 700; color: var(--ink, #0f172a); text-transform: uppercase; }
.yp-bilgi__kat { display: inline-block; margin-top: 8px; font-size: .82rem; font-weight: 700; color: var(--red, #dc2626); }

.yp-kodlar { margin: 16px 0 0; display: grid; gap: 8px; }
.yp-kodlar__satir { display: grid; grid-template-columns: 100px 1fr; gap: 10px; align-items: start; }
.yp-kodlar dt { font-size: .76rem; font-weight: 600; color: var(--muted, #64748b); padding-top: 7px; }
.yp-kodlar dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; font-weight: 600; padding-top: 5px; }
.yp-kod {
    display: inline-flex; align-items: center; gap: 8px;
    height: 32px; padding: 0 11px; border-radius: 9px;
    border: 1px dashed #cbd5e1; background: var(--surface-2, #f8fafc);
    font-size: .82rem; font-weight: 600; color: var(--ink, #0f172a);
    transition: border-color .15s, background .15s;
}
.yp-kod i { font-size: .74rem; color: var(--muted, #64748b); }
.yp-kod:hover { border-color: var(--ink, #0f172a); }
.yp-kod.is-kopyalandi { border-style: solid; border-color: var(--yp-yesil); background: var(--yp-yesil-acik); }
.yp-kod.is-kopyalandi i::before { content: "\f00c"; font-weight: 900; color: var(--yp-yesil); }

.yp-fiyat-kutu {
    margin-top: 18px; padding: 18px; border-radius: 20px;
    background: #fff; border: 1px solid var(--yp-kenar); box-shadow: var(--yp-golge);
}
.yp-fiyat-kutu__ana { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.yp-fiyat-kutu__tutar { font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--ink, #0f172a); letter-spacing: .01em; }
.yp-fiyat-kutu__tutar--sor { font-size: 1.7rem; color: var(--red, #dc2626); }
.yp-fiyat-kutu__not { font-size: .8rem; color: var(--muted, #64748b); }
.yp-paketler { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.yp-paketler li {
    display: flex; justify-content: space-between; align-items: center;
    padding: 9px 12px; border-radius: 11px; background: var(--surface-2, #f8fafc); font-size: .86rem;
}
.yp-paketler small { color: var(--muted, #64748b); }
.yp-fiyat-kutu__stok { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: .86rem; font-weight: 600; }
.yp-fiyat-kutu__stok--var { color: var(--yp-yesil); }
.yp-fiyat-kutu__stok--yok { color: var(--yp-amber); }

.yp-arac-kontrol {
    display: flex; gap: 10px; align-items: flex-start;
    margin-top: 12px; padding: 12px 14px; border-radius: 14px;
    font-size: .85rem; line-height: 1.45;
}
.yp-arac-kontrol i { margin-top: 2px; }
.yp-arac-kontrol--uygun { background: var(--yp-yesil-acik); color: #065f46; border: 1px solid #a7f3d0; }
.yp-arac-kontrol--belirsiz { background: var(--yp-amber-acik); color: #92400e; border: 1px solid #fde68a; }

.yp-eylemler { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.yp-eylemler > .yp-btn--wa { grid-column: 1 / -1; }
.yp-eylemler > .yp-btn--paylas:last-child:nth-child(2) { grid-column: 1 / -1; }
.yp-btn--paylas { padding: 0 20px; }
.yp-btn--paylas.is-kopyalandi,
.yp-altbar__ara.is-kopyalandi {
    border-color: var(--yp-yesil);
    background: var(--yp-yesil-acik);
    color: #065f46;
}
.yp-bilgi__not { margin: 12px 0 0; font-size: .78rem; line-height: 1.5; color: var(--muted, #64748b); }
.yp-bilgi__not i { color: var(--muted, #64748b); margin-right: 4px; }

/* Servisimizde taktırın */
.yp-montaj {
    display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center;
    margin-top: 16px; padding: 14px 16px; border-radius: 18px;
    background: linear-gradient(135deg, #f8fafc, #fff);
    border: 1px dashed #cbd5e1;
}
.yp-montaj__ikon {
    width: 44px; height: 44px; border-radius: 13px;
    display: grid; place-items: center;
    background: var(--ink, #0f172a); color: #fff; font-size: 1rem;
}
.yp-montaj__metin { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.yp-montaj__metin strong { font-size: .95rem; color: var(--ink, #0f172a); }
.yp-montaj__metin span { font-size: .8rem; line-height: 1.45; color: var(--muted, #64748b); }
.yp-montaj__eylem { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.yp-montaj__link { font-size: .82rem; font-weight: 700; color: var(--red, #dc2626); }
.yp-montaj__link i { font-size: .72rem; margin-left: 3px; transition: transform .2s; }
.yp-montaj__link:hover i { transform: translateX(3px); }

.yp-benzer__not { margin: 4px 0 0; font-size: .8rem; color: var(--muted, #64748b); }
.yp-benzer__not i { color: var(--red, #dc2626); margin-right: 4px; }

.yp-detay__alt { display: grid; gap: 14px; margin-top: 20px; }
.yp-kart-blok { padding: 20px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--yp-kenar); }
.yp-kart-blok h2 { margin: 0 0 12px; font-size: 1.4rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--ink, #0f172a); }
.yp-metin { font-size: .92rem; line-height: 1.7; color: var(--slate, #1e293b); white-space: pre-line; margin: 0; }
.yp-metin--soluk { color: var(--muted, #64748b); }

.yp-uyum { display: grid; gap: 8px; }
.yp-uyum__grup { border: 1px solid var(--yp-kenar); border-radius: 13px; overflow: hidden; }
.yp-uyum__grup summary {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; cursor: pointer; list-style: none;
    font-weight: 700; font-size: .9rem; background: var(--surface-2, #f8fafc);
}
.yp-uyum__grup summary::-webkit-details-marker { display: none; }
.yp-uyum__grup summary::after { content: "\f078"; font-family: 'Font Awesome 6 Free' !important; font-weight: 900; font-size: .7rem; color: var(--muted, #64748b); transition: transform .2s; }
.yp-uyum__grup[open] summary::after { transform: rotate(180deg); }
.yp-uyum__grup summary i { color: var(--red, #dc2626); }
.yp-uyum__grup summary span { flex: 1; }
.yp-uyum__grup summary em { font-style: normal; font-size: .72rem; padding: 2px 8px; border-radius: 8px; background: #fff; color: var(--muted, #64748b); }
.yp-uyum__grup ul { list-style: none; margin: 0; padding: 0; }
.yp-uyum__grup li {
    display: grid; grid-template-columns: 1fr auto; gap: 2px 10px;
    padding: 10px 14px; border-top: 1px solid var(--yp-kenar); font-size: .85rem;
}
.yp-uyum__nesil { font-weight: 600; }
.yp-uyum__nesil b {
    margin-left: 6px; padding: 1px 6px; border-radius: 5px; background: var(--ink, #0f172a); color: #fff;
    font-size: .7rem; font-weight: 700;
}
.yp-uyum__yil { color: var(--muted, #64748b); font-size: .8rem; text-align: right; }
.yp-uyum__motor { grid-column: 1 / -1; color: var(--muted, #64748b); font-size: .8rem; }
.yp-uyari {
    display: flex; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px;
    background: var(--yp-amber-acik); color: #92400e; font-size: .78rem; line-height: 1.5;
}

.yp-benzer { margin-top: 28px; }
.yp-benzer__bas { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.yp-benzer__bas h2 { margin: 0; font-size: 1.45rem; font-weight: 700; text-transform: uppercase; color: var(--ink, #0f172a); }
.yp-benzer__bas a { font-size: .84rem; font-weight: 700; color: var(--red, #dc2626); }
.yp-izgara--serit {
    display: grid; grid-auto-flow: column; grid-auto-columns: 62%; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--bs-gutter-x, 1.5rem) * -.5); padding: 2px calc(var(--bs-gutter-x, 1.5rem) * .5) 8px;
}
.yp-izgara--serit::-webkit-scrollbar { display: none; }
.yp-izgara--serit .yp-kart { scroll-snap-align: start; }

/* Mobil alt çubuk */
.yp-altbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--yp-kenar);
    box-shadow: 0 -6px 24px rgba(15, 23, 42, .08);
}
.yp-altbar__fiyat { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.1; }
.yp-altbar__fiyat strong { font-size: 1.5rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink, #0f172a); }
.yp-altbar__fiyat small { font-size: .68rem; color: var(--muted, #64748b); }
.yp-altbar__sor { color: var(--red, #dc2626) !important; font-size: 1.15rem !important; }
.yp-altbar__ara {
    flex: none; width: 48px; height: 48px; border-radius: 14px;
    display: grid; place-items: center;
    border: 1.5px solid var(--yp-kenar); background: #fff; color: var(--ink, #0f172a);
}
.yp-altbar .yp-btn { flex: none; padding: 0 22px; }

/* Detay sayfasında genel yüzen düğmeler alt çubukla çakışmasın */
@media (max-width: 991.98px) {
    body:has(.yp-altbar) .whatsapp-float,
    body:has(.yp-altbar) .back-to-top { display: none !important; }

    /* Mobil filtre çekmecesi: iç kaydırma çakışmasını engelle, dokunma alanını genişlet */
    .yp-panel__icerik .yp-liste-grup--marka {
        max-height: none;
        overflow-y: visible;
    }
    .yp-panel__icerik .yp-liste-oge {
        min-height: 44px;
        padding: 9px 12px;
    }
    .yp-panel__icerik .yp-agac__link {
        min-height: 44px;
        padding: 8px 12px;
    }
    .yp-panel__icerik .yp-agac__ac {
        width: 42px;
        height: 42px;
    }
}

/* ═══ KÜÇÜK TABLET ═════════════════════════════════════ */
@media (min-width: 576px) {
    .yp-izgara { gap: 14px; }
    .yp-kart__govde { padding: 13px 14px 14px; }
    .yp-kart__ad { font-size: .94rem; }
    .yp-fiyat__tutar { font-size: 1.5rem; }
    .yp-kart__ok { width: 38px; height: 38px; }
    .yp-izgara--serit { grid-auto-columns: 40%; }
    .yp-guven { grid-template-columns: repeat(3, 1fr); }
    .yp-guven__oge { flex-direction: column; gap: 12px; }
    .yp-cta__eylem { grid-template-columns: repeat(2, max-content); }
    .yp-eylemler { grid-template-columns: 1fr 1fr auto; }
    .yp-eylemler > .yp-btn--wa,
    .yp-eylemler > .yp-btn--paylas:last-child:nth-child(2) { grid-column: auto; }
    .yp-dialog { max-width: 520px; margin: auto; border-radius: 24px; }
    .yp-dialog .yp-panel__tutamak { display: none; }
    .yp-hero__metin {
        display: block; margin: 5px 0 0; max-width: 820px;
        font-size: .84rem; line-height: 1.4; color: rgba(226, 232, 240, .7);
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
}

/* ═══ TABLET ═══════════════════════════════════════════ */
@media (min-width: 768px) {
    .yp-hero__baslik { font-size: 1.9rem; }
    .yp-form { flex-direction: row; align-items: center; }
    .yp-form__dugmeler { flex: none; }
    .yp-aracbtn { flex: none; width: 250px; }
    .yp-izgara { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .yp-cta { padding: 32px; }
    .yp-cta h2 { font-size: 2.1rem; }
}

/* ═══ MASAÜSTÜ ═════════════════════════════════════════ */
@media (min-width: 992px) {
    .yp { padding-bottom: 56px; }
    .yp-hero { padding: 16px 0 18px; }
    .yp-hero--ince { padding: 14px 0; }
    .yp-kirinti ol { margin-bottom: 8px; }
    .yp-hero__baslik { font-size: 2.2rem; }

    /* Komut çubuğu: masaüstünde düz beyaz şerit (yapışkan değil) */
    .yp-arabar {
        position: relative; top: auto; z-index: 5;
        padding: 14px 0;
        background: #fff;
        -webkit-backdrop-filter: none; backdrop-filter: none;
        box-shadow: 0 1px 0 var(--yp-kenar), 0 6px 18px rgba(15, 23, 42, .04) !important;
    }
    .yp-form { gap: 10px; }
    .yp-ara { height: 52px; }
    .yp-ara > i { left: 18px; }
    .yp-ara input { padding: 0 48px 0 48px; }
    .yp-aracbtn { width: 280px; height: 52px; padding: 0 14px 0 7px; }
    .yp-aracbtn__ikon { width: 38px; height: 38px; }
    .yp-filtrebtn { display: none; }
    .yp-form__ara {
        display: inline-flex; align-items: center; gap: 10px;
        height: 52px; padding: 0 28px; border: 0; border-radius: 14px;
        background: var(--red, #dc2626); color: #fff;
        font-size: .95rem; font-weight: 800;
        box-shadow: 0 8px 20px rgba(220, 38, 38, .25);
        transition: background .15s;
    }
    .yp-form__ara:hover { background: var(--red-dark, #b91c1c); }

    .yp-govde { padding-top: 24px; }

    .yp-duzen { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 28px; align-items: start; }

    /* Yan panel: düz akış, iç kaydırma yok */
    .yp-panel {
        position: static; z-index: auto; max-height: none; display: block;
        transform: none; visibility: visible; transition: none;
        border-radius: 20px; border: 1px solid var(--yp-kenar); box-shadow: var(--yp-golge);
    }
    .yp-panel__bas, .yp-panel__alt { display: none; }
    .yp-panel__icerik { overflow: visible; padding: 6px 16px 8px; }
    .yp-perde { display: none !important; }

    .yp-ust { margin-bottom: 16px; min-height: 40px; }
    .yp-izgara { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .yp-kart:hover { transform: translateY(-5px); box-shadow: var(--yp-golge-orta); border-color: transparent; }
    .yp-kart:hover .yp-kart__medya img { transform: scale(1.06); }
    .yp-kart:hover .yp-kart__yer { transform: scale(1.06) rotate(-4deg); }
    .yp-kart:hover .yp-kart__ok { background: var(--red, #dc2626); color: #fff; transform: translateX(2px); }
    .yp-kart__govde { padding: 13px 14px 14px; gap: 5px; }
    .yp-kart__ad { font-size: .92rem; }
    .yp-kart__kat { font-size: .64rem; }
    .yp-fiyat__tutar { font-size: 1.45rem; }
    .yp-kart__ok { width: 34px; height: 34px; font-size: .8rem; }
    .yp-sayfalama { display: flex; }

    .yp-cta { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; margin-top: 48px; padding: 40px 44px; }
    .yp-cta h2 { font-size: 2.5rem; }
    .yp-cta p { font-size: .95rem; }
    .yp-guven { margin-top: 16px; gap: 16px; }
    .yp-guven__oge { flex-direction: row; padding: 20px; }

    /* Detay */
    .yp--detay { padding-bottom: 48px; }
    .yp-detay { padding-top: 28px; }
    .yp-detay__ust { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start; }
    .yp-galeri {
        position: sticky; top: calc(var(--yp-ust) + 16px);
        margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--yp-kenar);
        box-shadow: var(--yp-golge);
    }
    .yp-galeri__noktalar { display: none; }
    .yp-galeri__kucukler { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--yp-kenar); overflow-x: auto; }
    .yp-galeri__kucuk {
        flex: none; width: 68px; height: 68px; padding: 6px; border-radius: 12px;
        border: 2px solid transparent; background: #fff; box-shadow: inset 0 0 0 1px var(--yp-kenar);
        display: flex; align-items: center; justify-content: center; cursor: pointer;
    }
    .yp-galeri__kucuk img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
    .yp-galeri__kucuk.is-aktif { border-color: var(--red, #dc2626); }
    .yp-bilgi { padding: 0; }
    .yp-bilgi__ad { font-size: 2.7rem; }
    .yp-detay__alt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; margin-top: 32px; gap: 20px; }
    .yp-detay__alt > :only-child { grid-column: 1 / -1; }
    .yp-kart-blok { padding: 24px; }
    .yp-izgara--serit { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 18px; }
    .yp-altbar { display: none; }
}

/* ═══ GENİŞ MASAÜSTÜ (4 SÜTUNLU PREMIUM KATALOG) ══════ */
@media (min-width: 1200px) {
    .yp-duzen { grid-template-columns: 268px minmax(0, 1fr); gap: 24px; }
    .yp-izgara { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
    .yp-kart__medya { padding: 14px; }
    .yp-kart__govde { padding: 12px 13px 13px; gap: 4px; }
    .yp-kart__ad { font-size: .88rem; min-height: 2.65em; }
    .yp-kart__kat { font-size: .62rem; }
    .yp-fiyat__tutar { font-size: 1.32rem; }
    .yp-kart__ok { width: 32px; height: 32px; font-size: .78rem; }
}

@media (min-width: 1400px) {
    .yp-duzen { grid-template-columns: 280px minmax(0, 1fr); gap: 28px; }
    .yp-izgara { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
    .yp-kart__medya { padding: 16px; }
    .yp-kart__govde { padding: 13px 15px 15px; gap: 5px; }
    .yp-kart__ad { font-size: .92rem; }
    .yp-kart__kat { font-size: .64rem; }
    .yp-fiyat__tutar { font-size: 1.42rem; }
    .yp-kart__ok { width: 36px; height: 36px; }
}

/* Başka sayfaya gömülü parça ızgarası (site araması): vitrin zemini / alt boşluğu yok, tam genişlikte 4 sütun */
.yp.yp--gomulu { background: transparent; padding-bottom: 0; }
@media (min-width: 992px) {
    .yp--gomulu .yp-izgara { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
    .yp *, .yp *::before, .yp *::after { animation: none !important; transition: none !important; }
}
