/* PIEX CAFE POS - Özel Dokunmatik & Amber-Orange Tema Stilleri */

:root {
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --primary-light: #fffbeb;
  --accent: #ea580c;
  --bg-main: #f8fafc;
  --card-bg: #ffffff;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #f1f5f9;
  color: #1e293b;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

/* Tablet & Dokunmatik İyileştirmeleri */
.touch-target {
  min-height: 48px;
  min-width: 48px;
}

/* Özel Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.5);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.8);
}

/* Kart ve Buton Tıklama Animasyonları */
.tap-scale {
  transition: transform 0.12s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.12s ease;
}
.tap-scale:active {
  transform: scale(0.96);
}

/* Ürün Kartı Görseli */
.product-card-img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-card:hover .product-card-img {
  transform: scale(1.04);
}

/* Sepet ve Kategori Yatay Kaydırma */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Modal ve Dialog Geçiş Efektleri */
.modal-overlay {
  animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-content {
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Toast Bildirim Animasyonu */
.toast-notification {
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1), toastOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) 2.7s forwards;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
}

/* Fiş / Adisyon Yazdırma Stilleri */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-receipt, #printable-receipt * {
    visibility: visible;
  }
  #printable-receipt {
    position: absolute;
    left: 0;
    top: 0;
    width: 80mm;
    margin: 0;
    padding: 10px;
    font-size: 12px;
    color: #000;
    background: #fff;
  }
  .no-print {
    display: none !important;
  }
}
