/* ═══════════════════════════════════════════════════════════════════
   PAKETYOLDA UI KİTİ — ui.css   (tokens.css'ten SONRA yüklenir)

   YERLEŞİM İLKELERİ
   • Kırılım yalnız 3: telefon ≤480, tablet 481-1023, masaüstü ≥1024.
     Telefon aralığında (280-480) hiçbir kırılım yok; ızgaralar
     auto-fill/minmax ile AKAR — Samsung 360 ile iPhone 430 aynı kural.
   • Ölçü rem/clamp, boşluk token; px yalnız 1px çizgi ve ikon.
   • 100vh yok → 100dvh; alt bar/üst çubuk safe-area ile.
   • Bileşen adları "py-" öneki: web ve MAUI'de aynı sınıf adı.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Temel ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.py {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--fs-md); line-height: var(--lh);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  min-height: 100dvh;
}
body.py.app { overscroll-behavior-y: none; }
/* SIFIRLAMA YALNIZ py-* BİLEŞENLERİNDE — global button/a sıfırlaması
   mevcut sayfaların düğmelerini (Siparişleri Oluştur, Uygula, Sepete Ekle)
   düz metne çeviriyordu. */
[class^="py-"] a, [class*=" py-"] a { color: inherit; text-decoration: none; }
[class^="py-"] button, [class*=" py-"] button, .py-btn, .py-kalp, .py-yuvarlak, .py-filtre
  { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
[class^="py-"] img, [class*=" py-"] img { max-width: 100%; display: block; }
.py-btn { background: var(--brand); color: var(--brand-ink); }
.ikon { width: 1.25em; height: 1.25em; flex: 0 0 auto; vertical-align: -0.28em; }
.ikon.sm { width: 1em; height: 1em; }  .ikon.lg { width: 1.6em; height: 1.6em; }
.gizli { display: none !important; }
.gorsel-gizli { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Kabuk ── */
.py-kabuk { display: flex; flex-direction: column; min-height: 100dvh; }
.py-ust {
  position: sticky; top: 0; z-index: 40; background: var(--brand); color: var(--brand-ink);
  padding-top: var(--safe-top);
}
.py-ust-ic { height: var(--topbar-h); display: flex; align-items: center; gap: var(--sp-3); padding: 0 var(--gutter); max-width: var(--content-max); margin: 0 auto; }
.py-ust .py-marka { font-weight: var(--fw-black); font-size: var(--fs-lg); letter-spacing: -.01em; display: flex; align-items: center; gap: var(--sp-2); }
.py-ust .py-marka img { height: 28px; }
.py-ust-eylem { margin-left: auto; display: flex; gap: var(--sp-2); }
.py-yuvarlak { width: 40px; height: 40px; border-radius: var(--r-pill); display: grid; place-items: center; background: rgba(255,255,255,.14); color: inherit; position: relative; }
.py-yuvarlak .py-sayac { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: var(--fw-bold); display: grid; place-items: center; }

/* Adres çubuğu — Getir düzeni: "Ev, Batıkent 2632. Sokak…  ⌄" */
.py-adres { background: var(--surface); border-bottom: 1px solid var(--line); }
.py-adres-ic { max-width: var(--content-max); margin: 0 auto; padding: var(--sp-3) var(--gutter); display: flex; align-items: center; gap: var(--sp-2); min-height: 48px; }
.py-adres b { color: var(--brand); font-weight: var(--fw-bold); white-space: nowrap; }
.py-adres span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: var(--fw-medium); }
.py-adres .ikon { color: var(--brand); }

/* Arama + filtre çubuğu */
.py-ara { display: flex; align-items: center; gap: var(--sp-2); background: var(--surface); border-radius: var(--r-md); box-shadow: var(--sh-2); padding: 0 var(--sp-3); height: 52px; margin: var(--sp-3) var(--gutter); }
.py-ara .ikon { color: var(--brand); }
.py-ara input { flex: 1; min-width: 0; border: 0; background: none; height: 100%; outline: none; font-size: var(--fs-md); }
.py-ara input::placeholder { color: var(--ink-3); }
.py-ara .py-filtre { display: flex; align-items: center; gap: var(--sp-1); padding-left: var(--sp-3); border-left: 1px solid var(--line); color: var(--brand); font-weight: var(--fw-semibold); white-space: nowrap; }
.py-ara.sabit { position: sticky; top: calc(var(--safe-top) + var(--topbar-h)); z-index: 30; }

/* İçerik ve bölümler */
.py-icerik { flex: 1; max-width: var(--content-max); margin: 0 auto; width: 100%; padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom) + var(--sp-6)); }
.py-bolum { padding: var(--sp-4) 0 var(--sp-2); }
.py-bolum-bas { display: flex; align-items: baseline; gap: var(--sp-2); padding: 0 var(--gutter) var(--sp-3); }
.py-bolum-bas h2 { margin: 0; font-size: var(--fs-xl); font-weight: var(--fw-bold); letter-spacing: -.01em; }
.py-bolum-bas small { color: var(--ink-3); font-size: var(--fs-sm); }
.py-bolum-bas a { margin-left: auto; color: var(--brand); font-weight: var(--fw-semibold); font-size: var(--fs-sm); white-space: nowrap; }

/* Yatay şerit — kaydırma yapışması */
.py-serit { display: flex; gap: var(--sp-3); overflow-x: auto; padding: var(--sp-1) var(--gutter) var(--sp-3); scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.py-serit::-webkit-scrollbar { display: none; }
.py-serit > * { scroll-snap-align: start; flex: 0 0 auto; }
.py-serit .py-kart { width: clamp(240px, 72vw, 300px); }

/* Akışkan ızgara — kırılım YOK */
.py-izgara { display: grid; gap: var(--sp-3); padding: 0 var(--gutter); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.py-izgara.dar { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); }
.py-izgara.kucuk { grid-template-columns: repeat(auto-fill, minmax(min(100%, 92px), 1fr)); }

/* ── İşletme kartı ── */
.py-kart { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); display: flex; flex-direction: column; position: relative; transition: transform var(--t-fast), box-shadow var(--t-fast); }
.py-kart:active { transform: scale(.985); }
@media (hover:hover) { .py-kart:hover { box-shadow: var(--sh-2); } }
.py-kart.sponsorlu { outline: 2px solid var(--accent); outline-offset: -2px; }
.py-kapak { position: relative; aspect-ratio: var(--ratio-cover); background: var(--surface-3) center/cover no-repeat; }
.py-kapak img { width: 100%; height: 100%; object-fit: cover; }
.py-kapak.kapali::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.55); }
[data-theme="dark"] .py-kapak.kapali::after { background: rgba(0,0,0,.55); }
.py-rozetler { position: absolute; top: var(--sp-2); left: var(--sp-2); display: flex; flex-direction: column; gap: 6px; max-width: 78%; z-index: 2; }
/* Kampanya rozeti: renk admin'den (--rozet-bg/--rozet-ink), metin 2 satıra sarar — kesilmez. */
.py-rozet { display: inline-flex; align-items: center; gap: 6px; background: var(--rozet-bg, var(--accent)); color: var(--rozet-ink, var(--accent-ink)); font-size: var(--fs-xs); font-weight: var(--fw-bold); padding: 4px 9px; border-radius: var(--r-sm); line-height: 1.15; max-width: 100%; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.py-rozet .ikon { flex: 0 0 auto; vertical-align: -0.15em; }
.py-rozetler { max-width: 86%; }
.py-rozet .ikon { width: 1em; height: 1em; }
.py-rozet.yeni { background: var(--info); color: #fff; }
.py-rozet.sponsor { background: var(--surface); color: var(--ink-2); }
.py-puan { position: absolute; left: var(--sp-2); bottom: var(--sp-2); z-index: 2; display: inline-flex; align-items: center; gap: 4px; background: var(--brand); color: var(--brand-ink); font-weight: var(--fw-bold); font-size: var(--fs-sm); padding: 4px 9px; border-radius: var(--r-sm); }
.py-puan .ikon { color: var(--accent); width: 1em; height: 1em; }
.py-kalp { position: absolute; right: var(--sp-2); bottom: var(--sp-2); z-index: 2; width: 38px; height: 38px; border-radius: var(--r-pill); background: var(--surface); color: var(--ink); display: grid; place-items: center; box-shadow: var(--sh-1); }
.py-kalp.aktif { color: var(--brand); }
.py-kapali-etiket { position: absolute; inset: auto var(--sp-2) 52px auto; z-index: 2; background: var(--ink); color: #fff; font-size: var(--fs-xs); font-weight: var(--fw-semibold); padding: 4px 9px; border-radius: var(--r-sm); }
.py-govde { padding: var(--sp-3) var(--sp-4) var(--sp-4); display: flex; flex-direction: column; gap: 6px; }
.py-ad { display: flex; align-items: center; gap: 6px; font-weight: var(--fw-bold); font-size: var(--fs-lg); line-height: var(--lh-tight); }
.py-ad span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.py-ad .py-sponsor-etiket { flex: 0 0 auto; font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--ink-3); background: var(--surface-2); padding: 2px 8px; border-radius: var(--r-pill); }
.py-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--ink-2); font-size: var(--fs-sm); }
.py-meta .nokta::before { content: "•"; color: var(--ink-3); margin-right: 8px; }
.py-sure { display: inline-flex; align-items: center; gap: 5px; background: var(--ok-soft); color: var(--ok); font-weight: var(--fw-semibold); padding: 3px 8px; border-radius: var(--r-sm); font-size: var(--fs-sm); }
.py-sure .ikon { width: 1em; height: 1em; }
.py-kart.kapali .py-ad, .py-kart.kapali .py-meta { color: var(--ink-3); }

/* Kompakt liste kartı (arama sonucu) */
.py-satir { display: flex; gap: var(--sp-3); background: var(--surface); border-radius: var(--r-md); padding: var(--sp-3); box-shadow: var(--sh-1); }
.py-satir .py-logo { width: 64px; height: 64px; border-radius: var(--r-md); background: var(--surface-3) center/cover; flex: 0 0 auto; }
.py-satir .py-govde { padding: 0; flex: 1; min-width: 0; }

/* Mutfak karosu */
.py-karo { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); text-align: center; }
.py-karo .py-karo-gorsel { width: 100%; aspect-ratio: 1; border-radius: var(--r-md); background: var(--surface) center/cover; box-shadow: var(--sh-1); display: grid; place-items: center; font-size: 28px; }
.py-karo b { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--ink-2); line-height: 1.2; }
.py-serit .py-karo { width: 92px; }

/* Koleksiyon kartı (Keşfet: Yeni, Semtin yıldızları…) */
.py-koleksiyon { width: 150px; aspect-ratio: var(--ratio-tile); border-radius: var(--r-lg); background: var(--brand) center/cover; color: #fff; display: flex; align-items: flex-end; padding: var(--sp-3); font-weight: var(--fw-bold); text-shadow: 0 1px 2px rgba(0,0,0,.3); }

/* Pill / çip */
.py-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: var(--fw-medium); white-space: nowrap; }
.py-pill.aktif { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); font-weight: var(--fw-semibold); }

/* Düğmeler */
.py-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); height: 48px; padding: 0 var(--sp-5); border-radius: var(--r-md); font-weight: var(--fw-bold); font-size: var(--fs-md); background: var(--brand); color: var(--brand-ink); transition: background var(--t-fast), transform var(--t-fast); }
.py-btn:active { transform: scale(.98); background: var(--brand-dark); }
.py-btn.tam { width: 100%; }
.py-btn.ikincil { background: var(--surface-2); color: var(--ink); }
.py-btn.hayalet { background: transparent; color: var(--brand); }
.py-btn:disabled { background: var(--surface-3); color: var(--ink-disabled); }

/* Alt bar — 5 sekme, ortada yükseltilmiş marka düğmesi */
.py-alt { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: var(--safe-bottom); }
.py-alt-ic { height: var(--tabbar-h); max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch; }
.py-alt a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--ink-3); font-size: 10.5px; font-weight: var(--fw-semibold); position: relative; }
.py-alt a .ikon { width: 24px; height: 24px; }
.py-alt a.aktif { color: var(--brand); }
.py-alt a.merkez .py-yukselt { width: 58px; height: 58px; border-radius: var(--r-pill); background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; margin-top: -26px; box-shadow: 0 6px 16px rgba(0,0,0,.18), 0 0 0 5px var(--surface); }
.py-alt a.merkez .py-yukselt .ikon { width: 26px; height: 26px; }
.py-alt .py-sayac { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: var(--r-pill); background: var(--danger); color: #fff; font-size: 10px; display: grid; place-items: center; }
@media (min-width: 1024px) { body.py:not(.app) .py-alt { display: none; } body.py:not(.app) .py-icerik { padding-bottom: var(--sp-8); } }

/* İskelet yükleyici */
.py-iskelet { background: linear-gradient(90deg, var(--surface-3) 25%, var(--surface-2) 50%, var(--surface-3) 75%); background-size: 200% 100%; animation: py-parla 1.2s infinite; border-radius: var(--r-sm); }
@keyframes py-parla { to { background-position: -200% 0; } }
.py-kart.iskelet .py-kapak { background: var(--surface-3); }

/* Toast */
.py-toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + var(--safe-bottom) + var(--sp-3)); transform: translateX(-50%); z-index: 60; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-md); font-size: var(--fs-sm); font-weight: var(--fw-medium); box-shadow: var(--sh-2); max-width: min(92vw, 420px); }
.py-toast.ok { background: var(--ok); }  .py-toast.hata { background: var(--danger); }

/* Alt sayfa (bottom sheet) */
.py-perde { position: fixed; inset: 0; background: var(--overlay); z-index: 70; }
.py-alt-sayfa { position: fixed; left: 0; right: 0; bottom: 0; z-index: 71; background: var(--surface); border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 88dvh; display: flex; flex-direction: column; padding-bottom: var(--safe-bottom); box-shadow: 0 -8px 30px rgba(0,0,0,.18); }
.py-alt-sayfa .tutamac { width: 40px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 10px auto 4px; }
.py-alt-sayfa header { display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-3) var(--gutter); border-bottom: 1px solid var(--line); font-weight: var(--fw-bold); font-size: var(--fs-lg); }
.py-alt-sayfa header a, .py-alt-sayfa header button { margin-left: auto; color: var(--brand); font-weight: var(--fw-semibold); font-size: var(--fs-sm); }
.py-alt-sayfa .govde { overflow-y: auto; padding: var(--sp-3) var(--gutter); }
.py-alt-sayfa footer { padding: var(--sp-3) var(--gutter); border-top: 1px solid var(--line); }

/* Boş durum */
.py-bos { text-align: center; padding: var(--sp-10) var(--gutter); color: var(--ink-3); }
.py-bos .ikon { width: 48px; height: 48px; color: var(--ink-disabled); }
.py-bos h3 { margin: var(--sp-3) 0 var(--sp-1); color: var(--ink); font-size: var(--fs-lg); }

/* Hesabım listesi */
.py-liste { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; margin: 0 var(--gutter); }
.py-liste a { display: flex; align-items: center; gap: var(--sp-3); padding: 16px var(--sp-4); border-bottom: 1px solid var(--line); font-weight: var(--fw-medium); }
.py-liste a:last-child { border-bottom: 0; }
.py-liste a .ikon { color: var(--brand); width: 22px; height: 22px; }
.py-liste a .ok { margin-left: auto; color: var(--ink-3); }
.py-liste a .etiket-yeni { margin-left: auto; background: var(--danger); color: #fff; font-size: 10px; font-weight: var(--fw-bold); padding: 2px 7px; border-radius: var(--r-pill); }
.py-ikili { display: grid; grid-template-columns: 1fr 1fr; margin: calc(-1 * var(--sp-6)) var(--gutter) var(--sp-4); background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-2); position: relative; z-index: 2; }
.py-ikili a { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); padding: var(--sp-5) var(--sp-3); font-weight: var(--fw-bold); }
.py-ikili a + a { border-left: 1px solid var(--line); }
.py-ikili .ikon { width: 28px; height: 28px; color: var(--brand); }

/* Tablet/masaüstü — yalnız genişlik kullanımını değiştirir, bileşeni değil */
@media (min-width: 481px) { .py-serit .py-kart { width: 300px; } }
@media (min-width: 1024px) {
  body.py:not(.app) .py-ust-ic { height: 64px; }
  body.py:not(.app) .py-ara { max-width: 640px; margin-left: auto; margin-right: auto; }
}

/* Filtre alt sayfası (:target ile, JS'siz) ve seçim çipleri */
.py-filtre-hedef { display: none; }
.py-filtre-hedef:target { display: block; }
.py-secim { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--sp-4); }
.py-secim .py-pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.py-secim .py-pill { position: relative; cursor: pointer; }
.py-secim .py-pill:has(input:checked) { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); font-weight: var(--fw-semibold); }
.py-anahtar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface-2); border-radius: var(--r-md); margin-bottom: 8px; font-weight: var(--fw-semibold); }
.py-anahtar span { flex: 1; }
.py-anahtar input { width: 22px; height: 22px; accent-color: var(--brand); }


/* Fırsat ürünü karosu */
.py-urun { width: 150px; display: flex; flex-direction: column; gap: 4px; background: var(--surface); border-radius: var(--r-md); padding: 8px; box-shadow: var(--sh-1); }
.py-urun-gorsel { position: relative; aspect-ratio: 1; border-radius: var(--r-sm); background: var(--surface-3) center/cover; }
.py-urun-gorsel .py-rozet { position: absolute; top: 6px; left: 6px; }
.py-urun b { font-size: var(--fs-sm); line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.py-urun small { color: var(--ink-3); font-size: var(--fs-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.py-urun-fiyat span { color: var(--brand); font-weight: var(--fw-bold); }
.py-urun-fiyat s { color: var(--ink-3); font-size: var(--fs-xs); margin-left: 4px; }


/* Koleksiyon rozeti ve Plus işareti */
.py-rozet.koleksiyon { font-weight: var(--fw-black); }
.py-plus { position: absolute; left: var(--sp-2); bottom: 44px; z-index: 2; background: #EDE9FE; color: #5B21B6; font-size: 10px; line-height: 1.1; font-weight: var(--fw-bold); padding: 4px 8px; border-radius: var(--r-sm); text-align: center; }

/* Vitrin nokta göstergesi */
.py-noktalar { display: flex; justify-content: center; gap: 6px; margin: -4px 0 4px; }
.py-noktalar span { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); transition: width var(--t-base), background var(--t-base); }
.py-noktalar span.aktif { width: 18px; border-radius: 3px; background: var(--brand); }

/* Ürün ızgarası (Yakınındaki lezzetler → tümü) */
.py-izgara.urun { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.py-izgara.urun .py-urun { width: auto; }

/* ── Market girişi (Keşfet) ve kategori karoları ─────────────────────
   Web (Kesfet.cshtml, Market.cshtml) ve uygulama (Discover, MarketMenu)
   AYNI sınıfları kullanır; iki dosyada da bu blok birebir aynıdır. */
.py-market { margin: 0 var(--gutter, 16px) var(--sp-5, 20px); padding: 16px 14px 14px; border-radius: 22px; background: linear-gradient(150deg, var(--brand-soft, #FFEDE6) 0%, var(--surface, #fff) 62%); border: 1px solid var(--line, #EFE7E0); }
.py-market-bas { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: inherit; text-decoration: none; }
.py-market-simge { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: var(--brand, #FF5A2C); color: #fff; display: grid; place-items: center; font-size: 22px; }
.py-market-simge svg { width: 24px; height: 24px; }
.py-market-bas b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.py-market-bas small { display: block; margin-top: 2px; color: var(--ink-2, #837E92); font-size: 12.5px; }
.py-market-bas .git { margin-left: auto; flex-shrink: 0; color: var(--brand, #FF5A2C); font-weight: 700; font-size: 13px; white-space: nowrap; }
.py-market-kapali { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #fee2e2; color: #b91c1c; font-size: 11px; font-weight: 700; vertical-align: middle; }
.py-kat-izgara { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
@media (min-width: 600px) { .py-kat-izgara { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 900px) { .py-kat-izgara { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.py-kat { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; padding: 0; border: 0; background: none; color: inherit; text-decoration: none; text-align: center; cursor: pointer; font: inherit; }
.py-kat-gorsel { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 18px; background: var(--surface, #fff); border: 1px solid var(--line, #EFE7E0); overflow: hidden; display: grid; place-items: center; font-size: 24px; font-weight: 800; color: var(--brand, #FF5A2C); transition: transform .12s ease; }
.py-kat:active .py-kat-gorsel { transform: scale(.95); }
.py-kat-gorsel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 9px; background: var(--surface, #fff); }
.py-kat-ad { width: 100%; font-size: 12px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.py-kat.tumu .py-kat-gorsel { background: var(--brand-soft, #FFEDE6); border-color: transparent; font-size: 13px; }
