.pp { display: grid; gap: 30px; min-width: 0; container: pp / inline-size; }
.pp [hidden] { display: none !important; }
.pp-sayfa .sayfa-basi { margin-bottom: 14px; }

.pp-ayar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; gap: 16px 20px; }
.pp-ayar .alan { min-width: 0; }
.pp-tur { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.pp-tur > button { padding: 0 8px; }
.pp-tur > [aria-pressed="true"] { background: var(--ucuz-yukselti); color: var(--ucuz-metin); font-weight: 500; }
.pp-giris { display: flex; align-items: center; gap: 10px; padding: 0 15px; cursor: text; }
.pp-giris:focus-within { border-color: var(--ucuz-gold-cizgi); box-shadow: 0 0 0 3px var(--ucuz-gold-zayif); }
.pp-giris input {
  flex: 1; min-width: 0; height: 100%; padding: 1px 2px; border: 0; outline: 0; background: transparent;
  color: var(--ucuz-metin); font: 400 calc(var(--px) * 16)/calc(var(--px) * 24) var(--yt-metin); font-variant-numeric: tabular-nums;
}
.pp-giris input::placeholder { color: var(--ucuz-sonuk); }
.pp-birim, .pp-on { flex: none; color: var(--ucuz-sonuk); font: 500 calc(var(--px) * 15)/calc(var(--px) * 24) var(--yt-metin); }
.pp-ipucu {
  min-height: 16px; margin: 0; padding: 0 2px; overflow-wrap: anywhere;
  color: var(--ucuz-sonuk); font-size: calc(var(--px) * 12); line-height: calc(var(--px) * 16); font-variant-numeric: tabular-nums;
}
.pp-ipucu.is-uyari { color: var(--ucuz-red-yazi); }
.pp-kur { grid-column: 1 / -1; margin: 0; color: var(--ucuz-sonuk); font-size: calc(var(--px) * 13); line-height: 1.5; font-variant-numeric: tabular-nums; }
.pp-kur:empty { display: none; }
.pp-kur.is-uyari { color: var(--ucuz-red-yazi); }
.pp-giris:has(input:disabled) { cursor: default; opacity: .55; }

.pp-ust { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 30px; }
.pp-slotlar { display: grid; gap: 16px; min-width: 0; }
.pp-bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.pp-h { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ucuz-metin); font: 600 calc(var(--px) * 20)/calc(var(--px) * 24) var(--yt-baslik); letter-spacing: normal; }
.pp-say {
  padding: 2px 8px; border-radius: var(--r-tam); background: var(--ucuz-yukselti); color: var(--ucuz-sonuk);
  font: 600 calc(var(--px) * 13)/calc(var(--px) * 18) var(--yt-metin); font-variant-numeric: tabular-nums;
}
.pp-hafif { height: 40px; padding: 0 16px; background: transparent; border-color: transparent; color: var(--ucuz-metin); }
.pp-hafif:hover { background: var(--ucuz-yukselti); color: var(--ucuz-metin); }

.pp-sutunlar, .pp-satir {
  display: grid; gap: 8px;
  grid-template-columns: 22px minmax(0, 1.5fr) 132px 76px minmax(0, 1.5fr) minmax(0, 1fr) 108px 104px;
}
.pp[data-pazar="satis"] :is(.pp-sutunlar, .pp-satir) {
  grid-template-columns: 22px minmax(0, 1.3fr) 132px 68px minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) 100px 104px;
}
.pp-sutunlar { padding: 0 2px; color: var(--ucuz-sonuk); font: 500 calc(var(--px) * 13)/calc(var(--px) * 16) var(--yt-metin); }
.pp-sutunlar .pp-s-kar { text-align: right; }
.pp:not(.has-rows) .pp-sutunlar, .pp[data-pazar="alis"] :is(.pp-s-maliyet, .pp-maliyet) { display: none; }

.pp-satirlar { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pp-satirlar:empty { display: none; }
.pp-satir { grid-template-areas: "no it lvl qty ref price res acts"; align-items: start; min-width: 0; }
.pp[data-pazar="satis"] .pp-satir { grid-template-areas: "no it lvl qty ref cost price res acts"; }
.pp-no { grid-area: no; text-align: right; color: var(--ucuz-sonuk3); font: 600 calc(var(--px) * 13)/44px var(--yt-sayi); font-variant-numeric: tabular-nums; }
.pp-item { grid-area: it; display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 45px; color: var(--ucuz-metin); text-decoration: none; }
.pp-item img, .pp-ikon-yok { flex: none; width: 45px; height: 45px; border-radius: var(--r-sm); }
.pp-ikon-yok { border: 1px solid var(--ucuz-border-guc); background: var(--ucuz-yukselti); }
.pp-item .t { display: grid; gap: 1px; min-width: 0; }
.pp-item .t b {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: break-word;
  font: 500 calc(var(--px) * 15)/calc(var(--px) * 20) var(--yt-metin);
}
.pp-item .t b.is-rev { color: var(--ucuz-red-yazi); }
.pp-item .t small { color: var(--ucuz-sonuk); font-size: calc(var(--px) * 12); line-height: calc(var(--px) * 16); }
.pp-item .t small:empty { display: none; }
a.pp-item:hover .t b { text-decoration: underline; text-underline-offset: 3px; }
.pp-arti { grid-area: lvl; min-width: 0; }
.pp-adet { grid-area: qty; }
.pp-ref { grid-area: ref; }
.pp-maliyet { grid-area: cost; }
.pp-fiyat { grid-area: price; }
.pp-kar { grid-area: res; }
.pp-is { grid-area: acts; }
.pp-satir .giris { height: 44px; }
.pp-satir select.pp-sec { padding: 0 28px 0 10px; background-position: right 7px center; background-size: 18px 18px; font-size: calc(var(--px) * 15); font-weight: 400; }
.pp-sec:disabled { color: var(--ucuz-sonuk); cursor: default; }
.pp-adet { display: flex; align-items: center; gap: 4px; padding: 0 12px; }
.pp-adet:focus-within { border-color: var(--ucuz-gold-cizgi); box-shadow: 0 0 0 3px var(--ucuz-gold-zayif); }
.pp-adet input {
  flex: 1; min-width: 0; padding: 1px 2px; border: 0; outline: 0; background: transparent;
  color: var(--ucuz-metin); font: 400 calc(var(--px) * 15)/calc(var(--px) * 24) var(--yt-metin); font-variant-numeric: tabular-nums;
}
.pp-maliyet, .pp-fiyat { display: grid; gap: 4px; min-width: 0; }
.pp-satir .pp-giris { gap: 4px; padding: 0 12px; }
.pp-satir .pp-giris input { font-size: calc(var(--px) * 15); }
.pp-ref, .pp-kar { display: grid; align-content: center; gap: 1px; min-width: 0; min-height: 44px; font-variant-numeric: tabular-nums; }
.pp-ref b, .pp-kar b { font: 600 calc(var(--px) * 15)/calc(var(--px) * 20) var(--yt-metin); color: var(--ucuz-metin); }
.pp-ref small, .pp-kar small { overflow-wrap: anywhere; color: var(--ucuz-sonuk); font-size: calc(var(--px) * 12); line-height: calc(var(--px) * 16); }
.pp-ref .pp-oyun { color: var(--ucuz-info-yazi); }
.pp-ref .pp-oyun.is-yok { color: var(--ucuz-sonuk); }
.pp-kar { justify-items: end; text-align: right; }
.pp .is-up { color: var(--ucuz-green-yazi); }
.pp .is-down { color: var(--ucuz-red-yazi); }
.pp-yok { color: var(--ucuz-sonuk); font-size: calc(var(--px) * 13); line-height: calc(var(--px) * 18); }
.pp-satir[data-durum="asim"] :is(.pp-item, .pp-ref) { opacity: .55; }
.pp-is { display: flex; align-items: center; justify-content: flex-end; gap: 2px; height: 44px; }
.pp-is-b {
  display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ucuz-sonuk); cursor: pointer;
  transition: background-color .15s ease-out, color .15s ease-out;
}
.pp-is-b:hover { background: var(--ucuz-yukselti); color: var(--ucuz-metin); }
.pp-sil:hover { color: var(--ucuz-red-yazi); }
.pp-is-b[aria-disabled="true"] { opacity: .35; cursor: default; }
.pp-is-b[aria-disabled="true"]:hover { background: transparent; color: var(--ucuz-sonuk); }
.pp-is-b:focus-visible { outline: 2px solid var(--ucuz-gold-cizgi); outline-offset: 0; }

.pp-ekle { position: relative; padding-top: 4px; }
.pp-ara { display: flex; align-items: center; gap: 10px; max-width: 520px; padding: 0 15px; cursor: text; }
.pp-ara:focus-within { border-color: var(--ucuz-gold); }
.pp-ara .bi { flex: none; font-size: 18px; line-height: 1; color: var(--ucuz-sonuk); }
.pp-ara input {
  flex: 1; min-width: 0; height: 100%; padding: 1px 2px; border: 0; outline: 0; background: transparent;
  color: var(--ucuz-metin); font: 400 calc(var(--px) * 16)/calc(var(--px) * 24) var(--yt-metin);
}
.pp-ara input::placeholder { color: var(--ucuz-sonuk); }
.pp-ara input::-webkit-search-cancel-button { display: none; }
.pp-ara input:disabled { cursor: not-allowed; }
.pp-donen {
  flex: none; width: 16px; height: 16px; border: 2px solid var(--ucuz-border-guc); border-top-color: var(--ucuz-gold);
  border-radius: 50%; animation: pp-don .8s linear infinite;
}
@keyframes pp-don { to { transform: rotate(360deg); } }
.pp-menu {
  position: absolute; z-index: 30; left: 0; top: calc(100% + 6px); width: min(520px, 100%); max-height: 360px; overflow-y: auto;
  margin: 0; padding: 6px; list-style: none;
  border: 1px solid var(--ucuz-border-guc); border-radius: var(--r-lg); background: var(--ucuz-panel); box-shadow: var(--g-2);
}
.pp-menu li {
  display: flex; align-items: center; gap: 10px; min-width: 0; padding: 7px 10px; border-radius: var(--r-md);
  cursor: pointer; color: var(--ucuz-metin); font-size: calc(var(--px) * 15); line-height: calc(var(--px) * 20);
}
.pp-menu li.is-aktif, .pp-menu li:hover { background: var(--ucuz-yukselti); }
.pp-menu img, .pp-menu-yok { flex: none; width: 30px; height: 30px; border-radius: var(--r-sm); }
.pp-menu-yok { border: 1px solid var(--ucuz-border-guc); background: var(--ucuz-yukselti); }
.pp-menu b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.pp-menu small { flex: none; color: var(--ucuz-sonuk); font-size: calc(var(--px) * 12); }
.pp-yardim { max-width: 90ch; margin: 0; color: var(--ucuz-sonuk); font-size: calc(var(--px) * 13); line-height: 1.5; }

.pp-toplam { position: sticky; top: calc(var(--ust-menu-h) + 20px); display: grid; gap: 16px; min-width: 0; }
.pp-buyuk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pp-k { display: grid; align-content: start; gap: 2px; min-width: 0; padding: 12px 14px; border-radius: var(--r-lg); background: var(--ucuz-yukselti); }
.pp-k:first-child { grid-column: 1 / -1; }
.pp-k-et { color: var(--ucuz-sonuk); font-size: calc(var(--px) * 13); line-height: calc(var(--px) * 24); }
.pp-k b {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ucuz-metin);
  font: 700 calc(var(--px) * 22)/calc(var(--px) * 28) var(--yt-sayi); font-variant-numeric: tabular-nums;
}
.pp-k-alt { overflow-wrap: anywhere; color: var(--ucuz-sonuk); font-size: calc(var(--px) * 12); line-height: calc(var(--px) * 16); font-variant-numeric: tabular-nums; }
.pp-bos { grid-column: 1 / -1; margin: 0; color: var(--ucuz-sonuk); font-size: calc(var(--px) * 14); line-height: 1.5; }
.pp-dl { display: grid; gap: 8px; margin: 0; }
.pp-dl:empty { display: none; }
.pp-dl div { display: flex; justify-content: space-between; gap: 12px; font-size: calc(var(--px) * 14); line-height: calc(var(--px) * 24); }
.pp-dl dt { color: var(--ucuz-sonuk); font-weight: 400; }
.pp-dl dd { margin: 0; text-align: right; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ucuz-metin); }
.pp-dl .is-key { padding-top: 8px; border-top: 1px solid var(--ucuz-border); }
.pp-dl .is-key dt { color: var(--ucuz-metin); font-weight: 600; }
.pp-notlar { display: grid; gap: 8px; }
.pp-notlar:empty { display: none; }
.pp-not { margin: 0; padding: 10px 12px; border-radius: var(--r-md); background: var(--ucuz-gold-zayif); color: var(--ucuz-metin); font-size: calc(var(--px) * 13); line-height: 1.5; }
.pp-eylem { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-eylem .dugme { flex: 1 1 auto; }
.pp-eylem .dugme .bi { font-size: 16px; }
.pp-eylem .dugme:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.pp-ozel { margin: 0; color: var(--ucuz-sonuk3); font-size: calc(var(--px) * 12); line-height: 1.5; }

.pp-sss { padding-top: 32px; padding-bottom: 48px; }
.pp-sss .bolum-baslik { margin-bottom: 16px; }
.pp-sss .accordion { display: grid; gap: 8px; }
.pp-sss .accordion-item { margin: 0; border: 1px solid var(--ucuz-border); }
.pp-sss .accordion-button { padding: 16px 48px 16px 18px; font: 600 calc(var(--px) * 16)/calc(var(--px) * 24) var(--yt-metin); }
.pp-sss .accordion-button::after { position: absolute; right: 18px; }
.pp-sss .accordion-body { max-width: calc(65ch + 36px); padding: 0 18px 16px; font-size: calc(var(--px) * 16); line-height: calc(var(--px) * 26); }

@container pp (max-width: 1099px) {
  .pp-ayar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pp-ust { grid-template-columns: minmax(0, 1fr); }
  .pp-toplam { position: static; }
  .pp-buyuk { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pp-k:first-child { grid-column: auto; }
  .pp-sutunlar { display: none !important; }
  .pp-satir, .pp[data-pazar="satis"] .pp-satir {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-areas: "it it it it acts acts" "lvl lvl qty qty price price" "ref ref ref ref res res";
    gap: 10px 8px; padding: 12px; border: 1px solid var(--ucuz-border); border-radius: var(--r-lg);
  }
  .pp[data-pazar="satis"] .pp-satir {
    grid-template-columns: 132px 76px repeat(4, minmax(0, 1fr));
    grid-template-areas: "it it it it acts acts" "lvl qty cost cost price price" "ref ref ref ref res res";
  }
  .pp-no { display: none; }
}
@container pp (max-width: 640px) {
  .pp-ayar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .pp-ayar > .alan:first-child, .pp-ayar > .alan:nth-child(2), .pp-ayar > .pp-f-taban { grid-column: 1 / -1; }
  .pp-buyuk { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-k:first-child { grid-column: 1 / -1; }
  .pp-ara { max-width: none; }
  .pp[data-pazar="alis"] .pp-satir {
    grid-template-areas: "it it it it acts acts" "lvl lvl lvl qty qty qty" "price price price res res res" "ref ref ref ref ref ref";
  }
  .pp[data-pazar="satis"] .pp-satir {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-areas: "it it it it acts acts" "lvl lvl lvl qty qty qty" "cost cost cost price price price" "ref ref ref ref res res";
  }
}
@media (max-width: 575.98px) {
  .pp-giris input, .pp-adet input, .pp-ara input { font-size: calc(var(--px) * 16); }
  .pp-is-b { width: 40px; height: 40px; }
}
