/* Maket 02, 03, 08: mevcut kasa sütununun içinde, sepet listesi kayar. */
.sepet-etiket {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 4px 0; border-bottom: 1px solid var(--cizgi); color: var(--siyah); font-size: var(--y-14);
}
.sepet-etiket strong { min-width: 0; overflow-wrap: anywhere; }
.sepet-etiket button { flex: none; width: 44px; min-height: 44px; padding: 0; color: var(--soluk); }
.tezgah-pos #cart .row-quantity:has(.row-unit-price) { min-width: 0; max-width: 9rem; white-space: normal; }
.tezgah-pos #cart .row-unit-price {
  display: block; font-size: var(--y-13); font-weight: 400; line-height: 16px;
  color: var(--soluk); white-space: normal; overflow-wrap: anywhere;
}
.checkout .secondary-actions #clear,
.tezgah-pos .checkout .secondary-actions #clear {
  margin-left: 10px; border: 1px solid var(--hata-metin); color: var(--hata-metin);
  font-size: var(--y-14); min-height: 44px; position: relative;
}
.checkout .secondary-actions #clear::after {
  content: ''; position: absolute; left: -7px; top: 6px; bottom: 6px; border-left: 1px solid var(--cizgi);
}
.sepet-geri-serit {
  flex: none; position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 8px; min-height: 56px; padding: 6px 8px 6px 14px; margin: 4px 22px;
  border-radius: var(--kose); overflow: hidden; font-size: var(--y-14);
}
.sepet-geri-serit[hidden], #amire-birak[hidden], #amire-birak-not[hidden] { display: none; }
.sepet-geri-serit small { display: block; font-size: var(--y-13); }
.sepet-geri-serit button { min-height: 44px; flex: none; padding: 8px 12px; }
.sepet-geri-serit.temizlendi { background: var(--siyah); color: var(--beyaz); }
.sepet-geri-serit.etiket { background: var(--uyari-zemin); color: var(--siyah); }
.sepet-geri-serit.okundu { background: var(--olumlu-zemin); color: var(--olumlu); }
.sepet-geri-sure { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--altin); width: 100%; transform-origin: left; animation: sepet-sure var(--sepet-kalan) linear forwards; }
@keyframes sepet-sure { to { transform: scaleX(0); } }
@keyframes sepet-vurgu { from { background: var(--uyari-zemin); box-shadow: inset 4px 0 var(--altin); } to { background: transparent; box-shadow: inset 0 0 transparent; } }
.sepet-etiket-vurgu { animation: sepet-vurgu 2s forwards; }
.sepet-tartimlar { flex: 1; min-width: 0; color: var(--altin-koyu); font-size: 12px; line-height: 1.25; }
.sepet-tartimlar b { display: block; }
@media (min-width: 901px) {
  .tezgah-pos .cart .row:has(.sepet-tartimlar) > .row-discount { grid-column: 1 / -1; grid-row: 3; }
}
#amire-birak { width: 100%; min-height: 76px; background: var(--siyah); color: var(--beyaz); font-size: var(--y-21); font-weight: 600; }
#amire-birak .ikon { margin-right: 10px; width: 26px; height: 26px; vertical-align: middle; }
#amire-birak-not { text-align: center; font-size: var(--y-14); margin: 4px 0 12px; color: var(--soluk); }
.tezgah-pos .checkout-note[data-amirde='1'] { display: none; }
.sepet-bekleyen-baslik { display: flex; justify-content: space-between; gap: 12px; }
.sepet-bekleyen-baslik b { white-space: nowrap; font-size: var(--y-21); }
.sepet-bekleyen p { margin: 4px 0 10px; color: var(--soluk); }
.sepet-bekleyen-isler { display: flex; gap: 10px; align-items: center; }
.sepet-bekleyen-isler [data-resume] { flex: 0 1 50%; min-height: 60px; font-size: var(--y-20); }
/* İptal et satırın öbür ucunda; soru açılınca Vazgeç onun yerinde, Sil ondan uzakta. */
.sepet-iptal-islem { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.sepet-iptal-islem button { min-height: 60px; min-width: 96px; }
.sepet-iptal-soru > * { display: block; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .sepet-etiket-vurgu { animation: none; } }
.tezgah-pos .checkout .secondary-actions #cart-note-button.has-note { background: var(--beyaz); color: var(--siyah); }
.tezgah-pos #cart-note-button.has-note svg { color: var(--olumlu); }
.tezgah-pos #cart.sepet-tam-liste { min-height: 0; scroll-snap-type: none; }
.tezgah-pos #sepet-devam {
  display: flex; justify-content: space-between; gap: var(--b-2);
  flex: none; min-height: 24px; margin-top: auto; padding: var(--b-1) var(--b-4);
  color: var(--soluk); font-size: var(--y-12); overflow-wrap: anywhere;
}
.tezgah-pos .basket.sepet-liste-sikisti { overflow-y: auto; }
.tezgah-pos .basket.sepet-liste-sikisti .satis-sepet-karti { flex: none; }
.tezgah-pos .basket.sepet-liste-sikisti .checkout { flex: none; position: static; }
