/* Karar 620: satış yüzeyleri; 30.10 Cevat onayıyla maketin yerleşimi. */
@media screen {
  .tezgah-pos > header {
    background:var(--yuzey-1);
    border-bottom:var(--kenar-ince);
  }
  .tezgah-pos .head-right button {
    border:var(--kenar-ince);
    border-radius:var(--kose-k);
    background:var(--yuzey-1);
    box-shadow:var(--golge-kart);
  }
  .tezgah-pos #durum-kume .cash-chip {
    border-radius:var(--kose-k);
  }
  .tezgah-pos .catalog {
    background:var(--yuzey-1);
  }
  .tezgah-pos .searchline {
    /* 1 px kenar akışta kalır; arama ve ürün tuşları yukarı kaymaz. */
    border-bottom-color:transparent;
  }
  .tezgah-pos #search {
    border:var(--kenar-ince);
    border-radius:var(--kose-k);
    background-color:var(--yuzey-1);
    background-image:url(/static/icons/ui-arama.svg?v=e9ceb134827d787e);
    box-shadow:var(--golge-kart);
  }
  .tezgah-pos #barcode-button {
    border:var(--kenar-ince);
    border-radius:var(--kose-k);
    background:var(--yuzey-1);
    box-shadow:var(--golge-kart);
  }
  .tezgah-pos .tabs {
    background:var(--krem);
  }
  .tezgah-pos .tabs button {
    border-radius:var(--kose-k);
    color:var(--segment-metin);
  }
  .tezgah-pos .tabs button[aria-pressed='true'] {
    border:var(--kenar-ince);
    background:var(--segment-secili-zemin);
    color:var(--segment-secili-metin);
    box-shadow:var(--golge-kart);
  }
  .tezgah-pos #catalog-product-count {
    border-radius:var(--kose-rozet);
    background:var(--yuzey-2);
    box-shadow:0 0 0 var(--b-1) var(--yuzey-2);
  }
  .tezgah-pos .product,
  .tezgah-pos .product.has-photo {
    border-radius:var(--kose-o);
  }
  /* Öneri, sepetteki ürün ve fare vurgusu kendi durum rengini korur. */
  .tezgah-pos .product:not(:where(.chosen,.sip-oneri)),
  .tezgah-pos .product.has-photo:not(:where(.chosen,.sip-oneri)) {
    border:var(--kenar-ince);
    background:var(--yuzey-1);
    box-shadow:var(--golge-kart);
  }
  .tezgah-pos .favorite-toggle {
    border:var(--kenar-ince);
    border-radius:var(--kose-k);
    background:var(--yuzey-1);
    box-shadow:var(--golge-kart);
  }
  .tezgah-pos .favorite-toggle[aria-pressed='true'] {
    border-color:var(--koyu-kirmizi);
    color:var(--koyu-kirmizi);
  }
  .tezgah-pos .product.chosen .product-quantity { position:absolute; bottom:6px; left:6px; max-width:76px; display:flex; flex-wrap:wrap; gap:2px 4px; padding:2px 4px; border-radius:var(--kose-ince); background:var(--koyu-kirmizi); color:var(--kagit); font-size:var(--y-12); line-height:14px; font-weight:700; pointer-events:none; }
  .tezgah-pos .product-quantity > span { white-space:nowrap; }
  .tezgah-pos .basket {
    background:var(--yuzey-1);
    border-left:var(--kenar-ince);
  }
  .tezgah-pos #customer {
    border:var(--kenar-ince);
    border-radius:var(--kose-k);
    background:var(--yuzey-2);
  }
  .tezgah-pos #customer.secili {
    border-color:var(--altin-koyu);
  }
  .tezgah-pos #cart .cart-product-media {
    border-radius:var(--kose-k);
    background:var(--yuzey-2);
  }
  .tezgah-pos #cart .row {
    border-bottom:var(--kenar-ince);
  }
  .tezgah-pos #cart .row-changed {
    border-radius:var(--kose-k);
  }
  .tezgah-pos .checkout {
    background:var(--yuzey-2);
    border-top:var(--kenar-ince);
    border-radius:var(--kose-o) var(--kose-o) 0 0;
    box-shadow:var(--golge-kart);
  }
  .tezgah-pos .checkout .secondary-actions button {
    border-radius:var(--kose-k);
  }
  .tezgah-pos .checkout .secondary-actions #clear {
    background:var(--yuzey-1);
  }
  .tezgah-pos .quick-payments button {
    border-radius:var(--kose-k);
    box-shadow:var(--golge-kart);
  }
  .tezgah-pos .quick-payments button:disabled {
    box-shadow:none;
  }
  .tezgah-pos > header button:focus-visible,
  .tezgah-pos #sale-screen :is(button,input):focus-visible {
    outline:3px solid var(--odak-halka);
    outline-offset:2px;
  }
}
@media screen and (hover:hover) {
  /* Dokunmatik ekrandaki yapışkan :hover nötr kartı eski tona döndürmez. */
  .tezgah-pos .product:hover:not(:where(.chosen,.sip-oneri)) {
    border-color:var(--altin-koyu);
    background:var(--kagit);
    box-shadow:none;
  }
}
@media screen and (min-width:901px) {
  .tezgah-pos > header, .tezgah-pos #sale-screen { --satis-yan:184px; }
  .tezgah-pos .deneme-serit:not(.deneme-eksik) {
    position:static;
    order:-1;
    flex:none;
    width:100%;
    min-height:22px;
    padding:2px 8px;
    border-radius:0;
    text-align:center;
    font-size:var(--y-11);
  }
  .tezgah-pos > header {
    position:relative;
    min-height:64px;
    margin:0 8px 0 var(--satis-yan);
    padding:8px 16px;
    border:var(--kenar-ince);
    border-radius:var(--kose-b) var(--kose-b) 0 0;
  }
  .tezgah-pos > header .brand {
    position:absolute;
    left:calc(-1 * var(--satis-yan) - 1px);
    top:0;
    width:var(--satis-yan);
    height:64px;
    justify-content:center;
  }
  .tezgah-pos > header .brand img { width:156px; max-height:52px; }
  .tezgah-pos > header .brand small { display:none; }
  .tezgah-pos > header .head-right { flex:1; min-width:0; gap:8px; }
  .tezgah-pos #session-label { margin-right:auto; min-width:0; max-width:none; }
  .tezgah-pos .head-right button { min-height:48px; padding:8px 12px; }
  .tezgah-pos #durum-kume { gap:6px; }
  .tezgah-pos #durum-kume .cash-chip { font-size:var(--y-13); padding:6px 8px; }
  .tezgah-pos #durum-kume #cash-label { min-height:48px; }
  .tezgah-pos #sale-screen { grid-template-columns:minmax(0,1fr) 404px; }
  .tezgah-pos .catalog {
    grid-template-columns:var(--satis-yan) minmax(0,1fr);
    grid-template-rows:72px auto minmax(0,1fr) auto;
    background:transparent;
  }
  .tezgah-pos .searchline { grid-column:2; padding:10px 16px; gap:12px; background:var(--yuzey-1); }
  .tezgah-pos .catalog-heading { display:grid; grid-template-columns:auto auto; flex:none; min-width:0; gap:0 12px; }
  .tezgah-pos .catalog-heading h1 { grid-column:1; grid-row:1; }
  .tezgah-pos .catalog-heading .kur-bandi { grid-column:2; grid-row:1; }
  .tezgah-pos .catalog-heading .catalog-section { grid-column:1 / -1; grid-row:2; gap:6px; padding:0; }
  .tezgah-pos .catalog-heading .catalog-section h2 { font-size:var(--y-13); }
  .tezgah-pos .kur-bandi { gap:6px; }
  .tezgah-pos .kur-bandi .kur {
    display:inline-flex;
    gap:4px;
    align-items:center;
    padding:4px 8px;
    font-size:var(--y-14);
    border:var(--kenar-ince);
    border-radius:var(--kose-rozet);
    background:var(--yuzey-1);
  }
  .tezgah-pos .kur-ayrac { display:none; }
  .tezgah-pos #search { max-width:none; height:52px; }
  .tezgah-pos #barcode-button { width:52px; min-height:52px; }
  .tezgah-pos .tabs { grid-row:1 / -1; gap:4px; padding:24px 8px 8px; background:var(--krem); }
  .tezgah-pos .tabs button { min-height:48px; font-size:var(--y-13); }
  .tezgah-pos .catalog-section { padding:0 16px; background:var(--yuzey-1); }
  .tezgah-pos .products { padding:8px 16px; background:var(--yuzey-1); }
  .tezgah-pos .product strong, .tezgah-pos .product.has-photo strong { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; min-height:0; max-height:calc(2.3em + 2px); overflow:hidden; }
  /* Yer tutucu, 48 px favori düğmesinin solunda kendi alanında kalır. */
  .tezgah-pos .product-media .product-initials { width:calc(100% - 60px); margin-right:auto; }
  .tezgah-pos .favorite-toggle { width:48px; height:48px; min-height:48px; padding:9px; border:0; background:transparent; box-shadow:none; border-radius:0; }
  .tezgah-pos .favorite-toggle:hover:not(:disabled) { background:transparent; }
  .tezgah-pos .favorite-toggle::before { content:''; position:absolute; inset:9px; border:1px solid var(--cizgi); border-radius:50%; background:var(--kagit); }
  .tezgah-pos .favorite-toggle[aria-pressed='true']::before { border-color:var(--koyu-kirmizi); }
  .tezgah-pos .favorite-toggle > span { position:relative; width:18px; height:18px; mask-image:url('/static/icons/ui-yildiz.svg?v=47eed835f7fb60f3'); -webkit-mask-image:url('/static/icons/ui-yildiz.svg?v=47eed835f7fb60f3'); }
  .tezgah-pos .favorite-toggle > span:not(:empty) { background:transparent; mask:none; -webkit-mask:none; }
  .tezgah-pos .favorite-toggle svg { width:18px; height:18px; }
  .tezgah-pos .favorite-toggle[aria-pressed='true'] { background:transparent; }
  .tezgah-pos .favorite-toggle[aria-pressed='true'] svg { fill:currentColor; }
  .tezgah-pos .product.chosen .product-quantity { top:6px; bottom:auto; max-width:calc(100% - 60px); }
  .tezgah-pos .liste-fotografsiz .product.chosen .product-quantity { top:6px; max-width:calc(100% - 60px); padding:0 4px; }
  .tezgah-pos .liste-fotografsiz .product.chosen strong { display:block; margin-top:18px; margin-right:var(--b-2); padding-top:0; max-height:42px; }
  .tezgah-pos .liste-fotografsiz .product.chosen strong::before { content:''; float:right; width:46px; height:21px; }
  .tezgah-pos .liste-fotografsiz .favorite-toggle { top:0; }
  .tezgah-pos .liste-fotografsiz .product.chosen .stock:not(.untracked) { top:68px; }
  .tezgah-pos .basket {
    padding:8px 16px 8px 0;
    gap:12px;
    border:0;
    background:var(--yuzey-1);
  }
  .tezgah-pos .satis-sepet-karti {
    display:flex;
    flex-direction:column;
    flex:1;
    min-height:0;
    border:var(--kenar-ince);
    border-radius:var(--kose-o);
    background:var(--yuzey-1);
    box-shadow:var(--golge-kart);
    overflow:hidden;
  }
  .tezgah-pos .basket-head { grid-template-columns:minmax(0,1fr); padding:6px 16px 4px; gap:4px; }
  .tezgah-pos .basket-title { grid-template-columns:auto 1fr; gap:8px; }
  .tezgah-pos .basket-head h2 { font-size:var(--y-20); }
  .tezgah-pos #sale-basket .basket-head .sale-context { grid-column:1 / -1; grid-row:auto; grid-template-columns:minmax(0,1fr) auto 48px; }
  .tezgah-pos #customer { position:relative; min-height:48px; padding:6px 28px 6px 12px; }
  .tezgah-pos #customer::after {
    content:'';
    position:absolute;
    right:8px;
    width:16px;
    height:24px;
    background:var(--soluk);
    -webkit-mask:url('/static/icons/ui-yukari.svg?v=44f506a55bba297b') center top / 16px 12px no-repeat, url('/static/icons/ui-asagi.svg?v=aadd418bfa077c80') center bottom / 16px 12px no-repeat;
    mask:url('/static/icons/ui-yukari.svg?v=44f506a55bba297b') center top / 16px 12px no-repeat, url('/static/icons/ui-asagi.svg?v=aadd418bfa077c80') center bottom / 16px 12px no-repeat;
  }
  .tezgah-pos #customer-clear { grid-column:3; width:48px; height:48px; min-height:48px; }
  .tezgah-pos #customer-account { min-height:48px; }
  .tezgah-pos .satis-sepet-karti :is(.payment-cash-state,.sepet-geri-serit) button { min-height:48px; }
  .tezgah-pos .satis-sepet-karti .sepet-etiket button { width:48px; min-height:48px; }
  .tezgah-pos .cart { min-height:156px; padding:0 16px; scroll-snap-type:y mandatory; }
  .tezgah-pos .cart .empty { min-height:0; }
  .tezgah-pos #cart .row { grid-template-columns:minmax(0,1fr) 48px; scroll-snap-align:start; }
  .tezgah-pos #cart .row > .cart-edit { grid-template-columns:32px minmax(0,1fr) auto; grid-template-rows:20px 20px; column-gap:8px; min-height:48px; }
  .tezgah-pos #cart .cart-product-media { grid-column:1; grid-row:1 / 3; }
  .tezgah-pos #cart .row-name { grid-column:2 / -1; grid-row:1; display:block; white-space:nowrap; text-overflow:ellipsis; overflow-wrap:normal; }
  .tezgah-pos #cart .row .row-quantity { grid-column:2; grid-row:2; display:flex; align-items:baseline; gap:3px; min-width:0; max-width:none; text-align:left; white-space:nowrap; }
  .tezgah-pos #cart .row-unit-price { display:inline; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:var(--y-12); font-weight:400; }
  .tezgah-pos #cart .row-price { grid-column:3; grid-row:2; }
  .tezgah-pos #cart .row-sale-discount .row-name { grid-column:2; }
  .tezgah-pos #cart .row-sale-discount .row-old-price { display:block; grid-column:3; grid-row:1; text-align:right; white-space:nowrap; font-size:var(--y-13); line-height:20px; color:var(--soluk); }
  .tezgah-pos #cart .row-sale-discount > .row-sale-discount-note { display:none; }
  .tezgah-pos #cart .row > .remove { width:48px; height:48px; min-height:48px; }
  .tezgah-pos .satis-sepet-karti > .paper-strip { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:2px 10px; margin:0 16px 6px; padding:6px 10px; }
  .tezgah-pos .satis-sepet-karti > .paper-strip > div { display:contents; }
  .tezgah-pos .satis-sepet-karti > .paper-strip :is(span,strong) { grid-column:1; font-size:var(--y-14); line-height:1.25; }
  .tezgah-pos .satis-sepet-karti > .paper-strip small { grid-column:1 / -1; font-size:var(--y-12); line-height:1.3; }
  .tezgah-pos .satis-sepet-karti > .paper-strip button { grid-column:2; grid-row:1 / 3; min-height:48px; width:auto; padding:0 12px; font-size:var(--y-14); }
  .tezgah-pos .checkout { padding:8px 16px; border:var(--kenar-ince); border-radius:var(--kose-o); }
  .tezgah-pos .checkout .secondary-actions { gap:4px; padding-bottom:4px; }
  .tezgah-pos .checkout .secondary-actions :is(button,#discount,#hold,#clear) { flex-direction:row; min-height:48px; gap:4px; font-size:var(--y-12); }
  .tezgah-pos .checkout .secondary-actions #clear { margin-left:6px; }
  .tezgah-pos .checkout .subtotal { margin:0; }
  .tezgah-pos .checkout .subtotal b { font-size:var(--y-30); }
  .tezgah-pos .quick-payments button { min-height:54px; }
  /* UI-03 / karar 620: sepetteki ürün ince kırmızı kenarla ayrılır. */
  .tezgah-pos .product.chosen:not(:where(.sip-oneri)) {
    border-color:var(--koyu-kirmizi);
    background:var(--yuzey-1);
    box-shadow:var(--golge-kart);
  }
}
/* Dar sepette taşıyıcı ekranın mevcut aç/kapat davranışını izler. */
@media screen and (max-width:900px) {
  .tezgah-pos .satis-sepet-karti { display:flex; flex-direction:column; flex:1; min-height:0; overflow:auto; }
  .tezgah-pos .satis-sepet-karti > .paper-strip { margin-top:8px; }
}
@media screen and (min-width:901px) and (max-width:1350px) {
  .tezgah-pos > header, .tezgah-pos #sale-screen { --satis-yan:156px; }
  .tezgah-pos #sale-screen { grid-template-columns:minmax(0,1fr) 384px; }
  .tezgah-pos > header .brand img { width:140px; }
  .tezgah-pos .catalog-heading h1 { font-size:var(--y-28); }
  .tezgah-pos .catalog-heading { column-gap:8px; }
  .tezgah-pos .head-right button { padding:8px; }
  .tezgah-pos #durum-kume .cash-chip { padding:4px; font-size:var(--y-12); }
}
/* Normal 49 px satırlar tam başlar; uyarı şeritleri açılırsa liste daralabilir. */
@media screen and (min-width:901px) and (max-height:900px) {
  .tezgah-pos .cart { max-height:392px; }
}
@media screen and (min-width:901px) and (max-height:760px) {
  .tezgah-pos .tabs { gap:0; padding:0 8px; }
  .tezgah-pos .searchline { padding-top:6px; padding-bottom:6px; }
  .tezgah-pos .catalog { grid-template-rows:64px auto minmax(0,1fr) auto; }
  .tezgah-pos .basket-head { grid-template-columns:auto minmax(0,1fr); align-items:center; min-height:48px; padding:0 12px; }
  .tezgah-pos .basket-title { grid-template-columns:auto; gap:0; }
  .tezgah-pos #sale-basket .basket-head .sale-context { grid-column:2; grid-row:1; }
  /* Borç bilgisi sonradan gelir; başlık ve bilgi satırı beş ürünün yerini daraltmaz. */
  .tezgah-pos #customer { row-gap:2px; }
  .tezgah-pos #customer .customer-name { display:block; white-space:nowrap; }
  .tezgah-pos .cart { min-height:142px; max-height:245px; }
  .tezgah-pos .basket { padding-top:4px; padding-bottom:4px; }
  .tezgah-pos .checkout { padding:4px 12px; }
  .tezgah-pos .checkout .secondary-actions { padding-bottom:0; }
  .tezgah-pos .quick-payments { gap:4px; }
  .tezgah-pos .quick-payments button { min-height:48px; }
  .tezgah-pos .satis-sepet-karti > .paper-strip { gap:0 10px; margin:0 18px 4px; padding:4px 10px; }
  .tezgah-pos .satis-sepet-karti > .paper-strip small { line-height:1.2; }
}

/* Sepet üst yazısı HTML’de "Sepet"; büyük harf CSS’ten (metin taraması ham kod saymaz). */

@media screen {
  .tezgah-pos #customer:not(:has(.customer-hint,.customer-debt)) .customer-name { grid-row:1 / 3; align-self:center; }
  .tezgah-pos .checkout .secondary-actions #clear { margin-left:0; }
  .tezgah-pos #cashbox.sip-uyari { margin-top:0; }
}
@media screen and (min-width:901px) and (max-width:1300px) {
  .tezgah-pos .basket-head { grid-template-columns:minmax(0,1fr); gap:4px; padding:0 14px 8px; }
  .tezgah-pos .basket-title { grid-template-columns:auto 1fr; align-items:baseline; gap:8px; }
  .tezgah-pos .basket-head h2 { line-height:20px; }
  .tezgah-pos .basket { gap:8px; }
  .tezgah-pos .checkout { padding:3px 12px; }
  .tezgah-pos .checkout .subtotal b { line-height:1; }
  .tezgah-pos #customer { padding-block:2px; row-gap:0; }
  .tezgah-pos #sale-basket .basket-head .sale-context { grid-column:1 / -1; grid-row:auto; }
  .tezgah-pos .product strong, .tezgah-pos .product.has-photo strong { font-size:var(--y-16); letter-spacing:-.01em; }
}
/* Seçili müşterinin adı ve hesabı ayrı satırlarda; kaldırma sütunu sabit. */
@media screen and (min-width:901px) {
  .tezgah-pos #sale-basket .basket-head .sale-context { grid-template-columns:minmax(0,1fr) 48px; }
  .tezgah-pos .sale-context #customer.secili { grid-column:1; }
  .tezgah-pos .sale-context #customer-clear { grid-column:2; }
  .tezgah-pos #customer.secili .customer-name { display:block; white-space:normal; overflow:visible; text-overflow:clip; overflow-wrap:anywhere; }
  .tezgah-pos #sale-basket.customer-local #customer .customer-hint { display:none; }
  .tezgah-pos #customer-account { grid-column:1 / -1; grid-row:2; width:100%; height:48px; min-height:48px; padding:4px 8px; text-align:left; font-size:var(--y-15); line-height:20px; }
}
.tezgah-pos #customer-account.warning { background:var(--uyari-zemin); box-shadow:inset 3px 0 var(--altin); }
.tezgah-pos #customer-account > span { font-size:inherit; color:inherit; line-height:inherit; white-space:normal; }
.tezgah-pos #customer-account #son-odeme-strip { padding:0; margin:0; border:0; background:transparent; }
/* İki düğüm de uyarıyı taşır; görsel ikon hesap düğmesinde bir kez çizilir. */
.tezgah-pos #customer-account #son-odeme-strip::before { display:none; }
.tezgah-pos #customer-account .customer-balance[hidden], .tezgah-pos #customer-account .customer-last-payment[hidden] { display:none; }
@media screen and (max-width:900px) {
  .tezgah-pos #sale-basket.customer-local .basket-head .sale-context { grid-template-columns:minmax(0,1fr) 44px; }
  .tezgah-pos #customer-account { grid-column:1 / -1; grid-row:2; width:100%; min-width:0; min-height:48px; padding:4px 8px; white-space:normal; text-align:left; font-size:var(--y-13); line-height:20px; }
}
@media screen and (min-width:901px) and (min-height:761px) and (max-height:900px) {
  .tezgah-pos #sale-basket.customer-local .cart { max-height:343px; }
  .tezgah-pos #customer-account { width:100%; margin-inline:0; padding-inline:0; }
}
@media screen and (min-width:901px) and (max-height:760px) {
  .tezgah-pos #sale-basket.customer-selected { padding-block:0; gap:8px; }
  .tezgah-pos #sale-basket.customer-selected .basket-head { grid-template-columns:auto minmax(0,1fr) 48px; gap:0 4px; padding:0 14px; }
  .tezgah-pos #sale-basket.customer-selected .basket-title { grid-column:1; grid-row:1; display:flex; flex-direction:column; align-items:flex-start; gap:0; }
  .tezgah-pos #sale-basket.customer-selected .sale-context { display:contents; }
  .tezgah-pos #sale-basket.customer-selected #customer { grid-column:2; grid-row:1; grid-template-columns:minmax(0,1fr); padding:0 24px 0 6px; }
  .tezgah-pos #sale-basket.customer-selected #customer::before { display:none; }
  .tezgah-pos #sale-basket.customer-selected #customer .customer-name, .tezgah-pos #sale-basket.customer-selected #customer .customer-hint { grid-column:1; }
  .tezgah-pos #sale-basket.customer-selected #customer-clear { grid-column:3; grid-row:1; }
  .tezgah-pos #sale-basket.customer-selected #customer-account { grid-column:1 / -1; grid-row:2; font-size:var(--y-13); }
  .tezgah-pos #sale-basket.customer-selected .checkout { padding-block:0; }
  .tezgah-pos #sale-basket.customer-selected .quick-payments { row-gap:2px; }
  .tezgah-pos #sale-basket.customer-selected #sepet-devam { min-height:var(--y-16); padding-block:0; }
  .tezgah-pos #sale-basket.customer-selected .satis-sepet-karti > #closing-strip { padding-block:0; margin-bottom:calc(var(--b-1) / 2); }
  .tezgah-pos #sale-basket.customer-selected #sepet-uyarilar > .cart-note { padding-block:var(--b-1); }
}

@media screen and (min-width:901px) {
  .tezgah-pos #baglanti-label { min-height:48px; display:inline-flex; align-items:center; }
}
@media screen and (min-width:901px) and (min-height:761px) {
  /* Genel müşteride başlık aynı sırada kalır; sekiz 49 px satır için boşluk kazanılır. */
  .tezgah-pos .basket .basket-head { --sepet-baslik-en:112px; grid-template-columns:var(--sepet-baslik-en) minmax(0,1fr); column-gap:8px; padding-block:4px; align-items:start; }
  .tezgah-pos .basket .basket-title { min-height:0; align-items:center; }
  .tezgah-pos #sale-basket .basket-head .sale-context { grid-column:2; grid-row:1; }
  .tezgah-pos .basket { padding-block:4px; gap:8px; }
  .tezgah-pos .basket .checkout { padding-block:4px; }
  .tezgah-pos .checkout .secondary-actions :is(button,#discount,#hold,#clear) { height:56px; min-height:56px; padding:6px 4px; border:1px solid var(--cizgi); font-size:var(--y-14); }
  .tezgah-pos .checkout .subtotal { height:calc(var(--y-40) * 1.1); }
  .tezgah-pos .checkout .subtotal b { font-size:var(--y-40); line-height:calc(var(--y-40) * 1.1); }
  .tezgah-pos .quick-payments button { height:56px; min-height:56px; font-size:var(--y-16); }
  .tezgah-pos .quick-payments #pay-cash, .tezgah-pos .quick-payments #pay-card { height:76px; min-height:76px; font-size:var(--y-20); }
}
@media screen and (min-width:901px) {
  /* Seçimi kaldırma, müşteri kutusunun içinde ayrılmış dokunma alanıdır. */
  .tezgah-pos .sale-context { position:relative; }
  .tezgah-pos .sale-context #customer.secili { grid-column:1 / -1; padding-right:76px; }
  .tezgah-pos .sale-context #customer.secili::after { right:56px; }
  .tezgah-pos .sale-context #customer-clear { position:absolute; top:0; right:0; }
  .tezgah-pos .checkout .secondary-actions #cart-note-button.has-note { display:flex; align-items:center; justify-content:center; flex-wrap:nowrap; white-space:nowrap; }
  .tezgah-pos #cart-note-button.has-note > span { display:inline-flex; align-items:center; gap:var(--b-1); }
}
@media screen and (min-width:901px) and (min-height:761px) {
  .tezgah-pos #customer-account { width:calc(100% + var(--sepet-baslik-en) + 8px); margin-left:calc(-1 * (var(--sepet-baslik-en) + 8px)); }
}
@media screen and (min-width:901px) and (max-height:760px) {
  .tezgah-pos .quick-payments button { height:56px; min-height:56px; align-self:end; }
  .tezgah-pos .quick-payments #pay-cash, .tezgah-pos .quick-payments #pay-card { height:76px; min-height:76px; }
}
@media screen and (min-width:901px) {
  .tezgah-pos .checkout .subtotal { height:calc(var(--y-40) * 1.1); align-items:center; }
  .tezgah-pos .checkout .subtotal :is(html.kasa-yazi-buyuk b) { font-size:var(--y-46); line-height:1.1; }
}

@media screen and (min-width:901px) {
  .tezgah-pos #sale-basket .basket-head, .tezgah-pos #sale-basket.customer-selected .basket-head { --sepet-baslik-en:112px; grid-template-columns:var(--sepet-baslik-en) minmax(0,1fr); padding:4px 16px; gap:4px 8px; align-items:start; }
  .tezgah-pos #sale-basket .basket-title, .tezgah-pos #sale-basket.customer-selected .basket-title { display:flex; flex-direction:row; align-items:center; min-height:0; gap:8px; }
  .tezgah-pos #sale-basket #count { white-space:nowrap; }
  .tezgah-pos #sale-basket .basket-head .sale-context { display:grid; position:relative; grid-template-columns:minmax(0,1fr); grid-column:2; grid-row:1; }
  .tezgah-pos #sale-basket .sale-context #customer { grid-column:1; grid-row:1; }
  .tezgah-pos #sale-basket .sale-context #customer.secili { padding-right:76px; }
  .tezgah-pos #sale-basket .sale-context #customer-clear { position:absolute; top:0; right:0; }
  .tezgah-pos #sale-basket .sale-context #customer-account { grid-column:1; grid-row:2; width:calc(100% + var(--sepet-baslik-en) + 8px); margin-left:calc(-1 * (var(--sepet-baslik-en) + 8px)); padding-inline:var(--b-3) 0; }
  .tezgah-pos #cart .row:where(html.kasa-yazi-buyuk *) > .cart-edit { grid-template-rows:20px auto; }
  .tezgah-pos #cart .row:where(html.kasa-yazi-buyuk *) .row-quantity { flex-wrap:wrap; }
  .tezgah-pos #cart .row:where(html.kasa-yazi-buyuk *) .row-unit-price { flex-shrink:0; }
}

@media screen and (min-width:901px) and (min-height:761px) {
  .tezgah-pos #sale-basket.customer-selected .basket-title { min-height:48px; align-items:baseline; }
  .tezgah-pos #sale-basket.customer-selected .basket-head .sale-context { grid-column:1 / -1; grid-row:2; }
  .tezgah-pos #sale-basket.customer-selected .sale-context #customer-account { width:100%; margin-left:0; }
  .tezgah-pos #customer-account > span { white-space:nowrap; }
  /* Tek satıra 4 px payla sığmayan hesap metni (pos-son-odeme-ui ölçer) bir kademe küçülür. */
  .tezgah-pos #customer-account.sikisik { font-size:var(--y-13); }
  .tezgah-pos #sale-basket.sepet-kapanis-uyarisi .basket-head { min-height:56px; }
  .tezgah-pos #sale-basket.sepet-kapanis-uyarisi .satis-sepet-karti > #closing-strip { padding-block:0; margin-bottom:0; }
}
@media screen and (min-width:901px) and (max-width:1300px) {
  .tezgah-pos #sale-basket .basket-head, .tezgah-pos #sale-basket.customer-selected .basket-head { padding-inline:4px; }
  .tezgah-pos #sale-basket.iki-indirim .basket-head { min-height:0; }
  .tezgah-pos #cart { padding-inline:4px; }
  .tezgah-pos #cart .row > .cart-edit { column-gap:4px; }
}
@media screen and (min-width:901px) and (max-height:760px) {
  .tezgah-pos #sale-basket .basket-head, .tezgah-pos #sale-basket.customer-selected .basket-head { --sepet-baslik-en:54px; padding-block:0; row-gap:0; }
  .tezgah-pos #sale-basket .basket-title, .tezgah-pos #sale-basket.customer-selected .basket-title { flex-direction:column; align-items:flex-start; justify-content:center; gap:0; }
  .tezgah-pos #sale-basket .basket-head .sale-context { row-gap:0; }
  .tezgah-pos #sale-basket .sale-context #customer { padding-block:0; }
  .tezgah-pos #sale-basket .sale-context #customer .customer-name { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; white-space:normal; }
}

@media screen and (min-width:901px) and (max-width:1749px) {
  .tezgah-pos .product.product-special { grid-template-rows:78px minmax(36px,1fr) 36px; gap:0; padding-bottom:0; }
  .tezgah-pos .liste-fotografsiz .product.product-special { grid-template-rows:minmax(42px,1fr) 36px; }
  .tezgah-pos .product .price.price-special { align-items:flex-end; gap:4px; }
  .tezgah-pos .product .price-special .price-now { display:flex; flex-direction:column-reverse; align-items:flex-start; }
  .tezgah-pos .product .price-special del { margin:0; line-height:12px; }
}

/* Müşteri seçimi sepetin tam eninde; tek sayaç listenin altındadır. */
@media screen and (min-width:901px) {
  .tezgah-pos #sale-basket .basket-title,
  .tezgah-pos #sale-basket.customer-selected .basket-title { display:none; }
  .tezgah-pos #sale-basket .basket-head,
  .tezgah-pos #sale-basket.customer-selected .basket-head { --sepet-baslik-en:0px; grid-template-columns:minmax(0,1fr); column-gap:0; }
  .tezgah-pos #sale-basket .basket-head .sale-context { grid-column:1 / -1; grid-row:auto; }
}
@media screen {
  .tezgah-pos #sale-basket .sale-context #customer-account { width:100%; margin-left:0; }
}
/* Mevcut dar terminal basamağı; miktar penceresinin eski fiyatı korunur. */
@media screen and (min-width:901px) and (max-width:1350px) {
  .tezgah-pos .product.product-special { grid-template-rows:78px minmax(36px,1fr) 24px; gap:3px; padding-bottom:6px; }
  .tezgah-pos .liste-fotografsiz .product.product-special { grid-template-rows:minmax(42px,1fr) 22px; padding-bottom:7px; }
  .tezgah-pos .product .price.price-special { align-items:center; }
  .tezgah-pos .product .price-special del { display:none; }
}

@media screen and (max-width:900px) {
  .tezgah-pos .basket-eyebrow { grid-column:1 / -1; font-size:var(--y-11); line-height:10px; letter-spacing:.17em; text-transform:uppercase; }
}
