/* Odaİzi E-Ticaret Özel Stil Dosyası */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --bg-sand: #FAF7F2;
  --bg-card: #FFFFFF;
  --primary: #C27803;
  --primary-dark: #9A5B00;
  --primary-light: #FEF3C7;
  --dark: #1C1917;
  --text-muted: #78716C;
  --border-color: #E7E5E4;
  --success: #15803D;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-sand);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.5;
  padding-bottom: 72px; /* Mobil alt bar için pay */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

.font-serif {
  font-family: var(--font-serif);
}

/* Scrollbar Gizleme */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Masaüstü Özel Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1ede6;
}
::-webkit-scrollbar-thumb {
  background: #d4ccbd;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b5a995;
}

/* Animasyonlar */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.25s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Kart & Arayüz Efektleri */
.product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (hover: hover) {
  .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -6px rgba(44, 39, 36, 0.12);
  }
  .product-card:hover .product-image-container img {
    transform: scale(1.04);
  }
}

.product-image-container img {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Boyut Seçim Butonları */
.size-chip {
  transition: all 0.15s ease;
  user-select: none;
}
.size-chip.active {
  background-color: var(--dark);
  color: #fff;
  border-color: var(--dark);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

/* Glassmorphism */
.glass-nav {
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Sepet Çekmecesi */
.cart-drawer-overlay {
  transition: opacity 0.28s ease;
}
.cart-drawer-content {
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mobil Alt Bar (Bottom Bar) */
.mobile-bottom-nav {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(231, 229, 228, 0.9);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Toast Bildirimi */
#toast-container {
  pointer-events: none;
  z-index: 9999;
}
.toast {
  pointer-events: auto;
  animation: toastIn 0.25s ease forwards;
}
@keyframes toastIn {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Bottom Sheet Modal Efekti (Mobil Detay & Sepet) */
@media (max-width: 640px) {
  .modal-bottom-sheet {
    align-items: flex-end !important;
    padding: 0 !important;
  }
  .modal-bottom-sheet > div {
    max-height: 92vh !important;
    width: 100% !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 1.5rem !important;
    border-top-right-radius: 1.5rem !important;
    margin: 0 !important;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
}
