/* ==========================================================================
   EF YAPI DEKORASYON - Mobil Öncelikli (Mobile-First) & Büyük/Okunaklı Tasarım Sistemi
   Telefonlarda Parmakla Kolay Kullanım & Net Tipografi İçin Özel Orantılandı
   ========================================================================== */

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

html {
  font-size: 16px; /* Mobilde rahat okuma ve iOS input zoom engelleme */
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Ana Konteyner & Safe Area */
.app-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-bottom: max(95px, calc(75px + env(safe-area-inset-bottom)));
}

/* ==========================================================================
   Header (Üst Bar) - Geniş, Net ve Dokunmatik Uyumlu
   ========================================================================== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-header);
  border-bottom: 1px solid var(--border-main);
  padding: calc(10px + env(safe-area-inset-top)) 14px 12px 14px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  min-width: 0;
  flex: 1;
}

.brand-logo {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--border-light);
  background-color: #ffffff;
}

.brand-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-size: clamp(1.05rem, 4.4vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text-title);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-subtitle {
  font-size: clamp(0.74rem, 2.8vw, 0.82rem);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  flex-shrink: 0;
}

.icon-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  color: var(--text-body);
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

.icon-btn:active {
  background-color: var(--bg-muted);
  transform: scale(0.94);
}

.icon-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Sepet Rozeti */
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--accent-gold);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

/* Üç Nokta Açılır Menüsü */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(280px, 88vw);
  background-color: var(--bg-dropdown);
  border: 1px solid var(--border-main);
  border-radius: 14px;
  box-shadow: var(--shadow-dropdown);
  z-index: 210;
  padding: 8px;
  animation: dropdownFadeIn 0.15s ease;
}

.dropdown-menu.active {
  display: block;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  background: transparent;
  color: var(--text-body);
  font-size: 0.94rem;
  font-weight: 600;
  text-align: left;
  border-radius: 9px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.menu-item:active {
  background-color: var(--bg-muted);
}

.menu-item svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.menu-divider {
  height: 1px;
  background-color: var(--border-light);
  margin: 6px 0;
}

.menu-item-discreet {
  font-size: 0.84rem;
  color: var(--text-muted);
  opacity: 0.85;
}

/* Arama Alanı */
.header-search {
  margin-top: 10px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  background-color: var(--bg-input);
  border: 1px solid var(--border-main);
  border-radius: 10px;
  padding: 11px 40px 11px 42px;
  font-size: 0.95rem;
  color: var(--text-title);
  outline: none;
  transition: border-color 0.2s ease;
}

.search-input:focus {
  border-color: var(--border-focus);
}

.search-icon-box {
  position: absolute;
  left: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.search-icon-box svg {
  width: 18px;
  height: 18px;
}

.search-clear {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: none;
  padding: 6px;
}

.search-clear svg {
  width: 18px;
  height: 18px;
}

.search-input:not(:placeholder-shown) + .search-clear,
.search-clear.visible {
  display: flex;
}

/* Çevrimdışı Bildirimi */
.offline-banner {
  display: none;
  background-color: #d9480f;
  color: #ffffff;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

.offline-banner.active {
  display: block;
}

/* ==========================================================================
   Gezinim (Breadcrumbs)
   ========================================================================== */
.navigation-bar {
  padding: 12px 14px 6px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.breadcrumbs::-webkit-scrollbar { display: none; }

.breadcrumb-item {
  cursor: pointer;
  transition: color 0.15s ease;
}

.breadcrumb-item:hover { color: var(--primary); }

.breadcrumb-item.active {
  color: var(--text-title);
  font-weight: 700;
  cursor: default;
}

.breadcrumb-sep {
  color: var(--text-subtle);
  font-size: 0.8rem;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  color: var(--text-body);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.back-btn svg {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   Ana İçerik & Kategori Izgarası (Grid)
   ========================================================================== */
.main-content {
  flex: 1;
  padding: 10px 14px 28px 14px;
}

.section-header {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.section-title {
  font-size: clamp(1.05rem, 4vw, 1.25rem);
  font-weight: 800;
  color: var(--text-title);
  display: flex;
  align-items: center;
  gap: 8px;
}

.item-count-badge {
  font-size: 0.78rem;
  font-weight: 700;
  background-color: var(--bg-muted);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

/* Kategori Izgarası */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 580px) {
  .categories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 860px) {
  .categories-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

.category-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: 14px;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  min-width: 0;
}

.category-card:active {
  transform: scale(0.97);
}

.category-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background-color: var(--bg-muted);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  overflow: hidden;
  color: var(--primary);
  flex-shrink: 0;
}

.category-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-icon-box svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.category-name {
  font-size: clamp(0.92rem, 3.4vw, 1.05rem);
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 3px;
  line-height: 1.25;
  word-break: break-word;
}

.category-sub-count {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Alt Kategori Filtre Çubuğu */
.subcategories-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 14px;
  scrollbar-width: none;
}
.subcategories-bar::-webkit-scrollbar { display: none; }

.subcategory-chip {
  background-color: var(--bg-card);
  border: 1px solid var(--border-main);
  color: var(--text-body);
  padding: 7px 15px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.subcategory-chip.active {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

/* ==========================================================================
   Ürün Kartları & Izgarası
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 580px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 860px) {
  .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  min-width: 0;
}

.product-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.25s ease;
}

.product-stock-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 5px;
  background-color: var(--stock-green-bg);
  color: var(--stock-green);
  border: 1px solid rgba(43, 138, 62, 0.2);
}

.product-stock-badge.out-of-stock {
  background-color: var(--stock-red-bg);
  color: var(--stock-red);
  border-color: rgba(201, 42, 42, 0.2);
}

.product-info {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.product-title {
  font-size: clamp(0.88rem, 3.2vw, 0.98rem);
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.product-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  flex-wrap: wrap;
}

.product-price {
  font-size: clamp(1.05rem, 3.8vw, 1.22rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.product-unit {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-muted);
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.btn-add-cart-sm {
  background-color: var(--primary-subtle);
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 7px;
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.btn-add-cart-sm:active {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-whatsapp-sm {
  background-color: var(--whatsapp-color);
  color: #ffffff;
  border: none;
  border-radius: 7px;
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-whatsapp-sm:active {
  transform: scale(0.94);
}

.btn-whatsapp-sm svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

/* ==========================================================================
   Sepet Satırları (Cart Items)
   ========================================================================== */
.cart-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: 10px;
}

.cart-item-img {
  width: 52px;
  height: 52px;
  min-width: 52px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  padding: 4px;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-title);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 2px;
}

.cart-qty-controls {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-main);
  border-radius: 7px;
  overflow: hidden;
  background-color: var(--bg-muted);
  flex-shrink: 0;
}

.cart-qty-btn {
  background: transparent;
  border: none;
  width: 30px;
  height: 30px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-val {
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0 6px;
  min-width: 22px;
  text-align: center;
}

.cart-item-del {
  background: transparent;
  border: none;
  color: var(--stock-red);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-del svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Boş Durum (Empty State)
   ========================================================================== */
.empty-state {
  text-align: center;
  padding: 44px 20px;
  background-color: var(--bg-card);
  border: 1px dashed var(--border-main);
  border-radius: 14px;
  margin: 16px 0;
}

.empty-icon-svg {
  width: 52px;
  height: 52px;
  color: var(--text-subtle);
  margin-bottom: 12px;
}

.empty-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 6px;
}

.empty-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto 16px auto;
  line-height: 1.5;
}

/* ==========================================================================
   Yönetici Çubuğu (Admin Toolbar)
   ========================================================================== */
.admin-toolbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-main);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom)) 14px;
  z-index: 150;
  box-shadow: var(--shadow-lg);
}

.admin-toolbar.active {
  display: block;
}

.admin-toolbar-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.admin-toolbar-inner::-webkit-scrollbar { display: none; }

.admin-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  background-color: #1e293b;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.btn-admin-action {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  color: var(--text-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-admin-publish {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  font-weight: 700;
}

.btn-admin-logout {
  background-color: var(--stock-red-bg);
  color: var(--stock-red);
  border-color: transparent;
}

/* ==========================================================================
   Modallar - Mobilde Konforlu Alt Çekmece (Bottom-Sheet)
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 300;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

@media (min-width: 600px) {
  .modal-overlay {
    align-items: center;
    padding: 20px;
  }
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-main);
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}

@media (min-width: 600px) {
  .modal-container {
    border-radius: 16px;
    padding-bottom: 0;
    max-height: 90vh;
  }
}

.modal-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.modal-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-title);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-body {
  padding: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  -webkit-overflow-scrolling: touch;
}

.modal-footer {
  padding: 14px 18px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  background-color: var(--bg-muted);
  flex-shrink: 0;
}

/* Form Elemanları */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-title);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background-color: var(--bg-input);
  border: 1.5px solid var(--border-main);
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 0.96rem;
  color: var(--text-title);
  outline: none;
  font-family: inherit;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--border-focus);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Butonlar */
.btn {
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  transition: all 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-body);
  border: 1.5px solid var(--border-main);
}

.btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: #ffffff;
  font-weight: 800;
}

.btn-whatsapp svg {
  width: 19px;
  height: 19px;
  fill: #ffffff;
}

/* ==========================================================================
   Ürün Detay Modalı
   ========================================================================== */
.detail-img-container {
  width: 100%;
  height: min(280px, 60vw);
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 10px;
}

.detail-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.thumb-item {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  border: 2px solid var(--border-main);
  object-fit: cover;
  cursor: pointer;
  opacity: 0.7;
}

.thumb-item.active {
  border-color: var(--primary);
  opacity: 1;
}

.detail-price-box {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  background-color: var(--bg-muted);
  padding: 12px 16px;
  border-radius: 10px;
}

.detail-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.detail-desc {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.6;
  white-space: pre-line;
}

/* ==========================================================================
   PWA Kurulum Bildirimi & Toast
   ========================================================================== */
.pwa-install-banner {
  display: none;
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: 14px;
  right: 14px;
  max-width: 440px;
  margin: 0 auto;
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-focus);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 250;
  animation: slideUp 0.3s ease;
}

.pwa-install-banner.active {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pwa-banner-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pwa-banner-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.pwa-banner-text h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-title);
}

.pwa-banner-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.pwa-banner-actions {
  display: flex;
  gap: 8px;
}

.pwa-banner-actions .btn {
  flex: 1;
  font-size: 0.88rem;
  padding: 8px 12px;
}

.toast-container {
  display: none !important;
  pointer-events: none !important;
}

.toast {
  display: none !important;
  pointer-events: none !important;
}

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