/* QR Menü — Tam Responsive, Akıcı ve Lüks Tasarım Sistemi */
@import url('/shared/styles/tokens.css');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Renk Paleti - Aydınlık Mod */
  --bg-primary: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F1F5F9;
  --bg-card: rgba(255, 255, 255, 0.95);
  --border-color: #E2E8F0;
  --border-hover: #CBD5E1;
  --border-active: #F59E0B;
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  
  --primary: #F59E0B;
  --primary-hover: #D97706;
  --primary-light: #FEF3C7;
  --primary-glow: rgba(245, 158, 11, 0.25);
  
  --success: #10B981;
  --success-bg: #ECFDF5;
  --success-text: #065F46;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 6px 20px -2px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px -4px rgba(0,0,0,0.08);
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

[data-theme="dark"] {
  --bg-primary: #0B0F19;
  --bg-surface: #111827;
  --bg-surface-elevated: #1F2937;
  --bg-card: rgba(17, 24, 39, 0.95);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --border-active: #FBBF24;
  
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --primary: #FBBF24;
  --primary-hover: #F59E0B;
  --primary-light: rgba(251, 191, 36, 0.15);
  --primary-glow: rgba(251, 191, 36, 0.2);
  
  --success: #34D399;
  --success-bg: rgba(16, 185, 129, 0.15);
  --success-text: #6EE7B7;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 6px 24px -2px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 36px -4px rgba(0,0,0,0.6);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  min-height: 100vh;
}

[hidden] {
  display: none !important;
}

body.modal-open {
  overflow: hidden;
}

/* GENİŞ & RESPONSİVE CONTAINER (Asla 500px sabit kalmaz!) */
.app-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 60px 20px;
}

@media (min-width: 1024px) {
  .app-container {
    padding: 0 40px 80px 40px;
  }
}

/* Üst Bar (Navbar) - Tam Genişlik */
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 20px;
  margin: 0 -20px 24px -20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .app-header {
    margin: 0 -40px 32px -40px;
    padding: 18px 40px;
  }
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 22px;
  box-shadow: 0 4px 14px var(--primary-glow);
  flex-shrink: 0;
}

.brand-title {
  font-family: var(--font-main);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

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

.icon-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-main);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.icon-btn:hover {
  transform: translateY(-2px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-md);
}

/* HERO SECTION (Lüks ve Genişleyen Responsive Banner) */
.hero-section {
  margin-bottom: 32px;
}

.hero-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

@media (min-width: 900px) {
  .hero-card {
    flex-direction: row;
    align-items: stretch;
    min-height: 220px;
  }
}

.hero-cover-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero-cover-wrapper {
    width: 45%;
    max-width: 500px;
  }
}

.hero-cover {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

@media (min-width: 900px) {
  .hero-cover {
    height: 100%;
    min-height: 220px;
  }
}

.hero-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

@media (min-width: 900px) {
  .hero-info {
    padding: 32px 40px;
  }
}

.restaurant-name {
  font-family: var(--font-main);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.2;
}

.restaurant-desc {
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 700px;
}

/* Masa Numarası Rozeti */
.table-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--success-bg);
  color: var(--success-text);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  width: fit-content;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.15);
}

/* ARAMA VE KATEGORİ ÇUBUĞU (Responsive Bar) */
.controls-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

@media (min-width: 900px) {
  .controls-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.categories-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  flex: 1;
}

.categories-nav::-webkit-scrollbar {
  display: none;
}

.category-chip {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-main);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.category-chip:hover {
  transform: translateY(-2px);
  border-color: var(--border-active);
}

.category-chip.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--primary-glow);
  transform: translateY(-2px);
}

.controls-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

@media (min-width: 900px) {
  .controls-actions {
    width: auto;
  }
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

@media (min-width: 900px) {
  .search-input-wrapper {
    width: 280px;
    flex-shrink: 0;
  }
}

.search-icon {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 46px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Düzen Değiştirici Buton Grubu (Glassmorphism & Micro-Interactions) */
.layout-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 3px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.layout-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.layout-btn:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .layout-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.layout-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #FFFFFF;
  box-shadow: 0 2px 10px var(--primary-glow);
}

/* YAPIŞKAN KATEGORİ BÖLÜMLERİ (Sticky Category Sections) */
.menu-section {
  margin-bottom: 44px;
  scroll-margin-top: 90px;
}

.menu-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 76px;
  z-index: 20;
  background: var(--bg-primary);
  padding: 12px 4px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.menu-section-title {
  font-family: var(--font-main);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-section-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
}

/* 3 FARKLI MODERN CSS DÜZENİ */

/* 1. DÜZEN: .layout-card (Modern Kart Görünümü) */
.layout-card .products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 540px) {
  .layout-card .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (min-width: 960px) {
  .layout-card .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1300px) {
  .layout-card .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* 2. DÜZEN: .layout-list (Kompakt Tek Sütun Liste Görünümü - Yemeksepeti / Getir tarzı) */
.layout-list .products-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 900px) {
  .layout-list .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.layout-list .product-card {
  flex-direction: row;
  align-items: center;
  height: auto;
  min-height: 96px;
  padding: 12px 16px;
  gap: 16px;
}

.layout-list .product-thumb-wrapper,
.layout-list .product-img-wrapper {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.layout-list .product-thumb,
.layout-list .product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.layout-list .product-info {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
  gap: 4px;
}

.layout-list .product-title {
  font-size: 16px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.layout-list .product-desc {
  font-size: 13px;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.layout-list .product-bottom {
  border-top: none;
  padding-top: 0;
  margin-top: 2px;
}

.layout-list .product-price {
  font-size: 17px;
}

/* 3. DÜZEN: .layout-showcase (Tam Genişlikli Görseller & Gradient Overlay - Vitrin Görünümü) */
.layout-showcase .products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .layout-showcase .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1200px) {
  .layout-showcase .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.layout-showcase .product-card {
  position: relative;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.layout-showcase .product-thumb-wrapper,
.layout-showcase .product-img-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000000;
}

.layout-showcase .product-thumb,
.layout-showcase .product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.layout-showcase .product-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  z-index: 2;
}

.layout-showcase .product-title {
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 800;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  margin-bottom: 4px;
}

.layout-showcase .product-desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.layout-showcase .product-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 8px;
}

.layout-showcase .product-price {
  color: #FBBF24;
  font-size: 22px;
  font-weight: 800;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.layout-showcase .view-btn {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  backdrop-filter: blur(6px);
}

.layout-showcase .product-card:hover .view-btn {
  background: var(--primary);
  color: #FFFFFF;
}

/* GENEL ÜRÜN GRID VE KART STANDARTLARI (Varsayılan & Geriye Dönük Uyumluluk) */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 960px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1300px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* Ürün Kartı (Modern Card Tasarımı) */
.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-lg);
}

.product-thumb-wrapper,
.product-img-wrapper {
  width: 100%;
  height: 195px;
  background: var(--bg-surface-elevated);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-thumb,
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-thumb,
.product-card:hover .product-img {
  transform: scale(1.06);
}

.product-info {
  padding: 16px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.product-title {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.product-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
  flex: 1;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  margin-top: auto;
}

.product-price {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.view-btn {
  background: var(--primary-light);
  color: var(--primary-hover);
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-card:hover .view-btn {
  background: var(--primary);
  color: #FFFFFF;
}

/* Boş Durum */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

/* Ürün Detay Modalı */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 0;
}

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

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-sheet {
  background: var(--bg-surface);
  width: 100%;
  max-width: 600px;
  border-radius: 28px 28px 0 0;
  padding: 24px 28px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 640px) {
  .modal-sheet {
    border-radius: var(--radius-lg);
    transform: scale(0.95);
  }
  .modal-overlay.active .modal-sheet {
    transform: scale(1);
  }
}

.modal-overlay.active .modal-sheet {
  transform: translateY(0);
}

.modal-drag-bar {
  width: 44px;
  height: 5px;
  background: var(--border-color);
  border-radius: var(--radius-pill);
  margin: 0 auto 16px auto;
}

@media (min-width: 640px) {
  .modal-drag-bar {
    display: none;
  }
}

.modal-img {
  width: 100%;
  height: 240px;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-bottom: 20px;
  background: var(--bg-surface-elevated);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.modal-title {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.modal-price {
  font-family: var(--font-main);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

.modal-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-section-title {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.modal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.pill-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.close-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 16px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--primary-glow);
  transition: all 0.2s ease;
}

.close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* Yasal Bilgilendirme Dipnotu (TGK 204259) */
.menu-footer {
  margin-top: 48px;
  padding: 24px 20px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.menu-disclaimer {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Modal Alerjen Uyarısı (TGK 204259) */
.modal-allergen-box {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
}

[data-theme="dark"] .modal-allergen-box {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
}

.allergen-box-title {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  color: #B45309;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

[data-theme="dark"] .allergen-box-title {
  color: #FBBF24;
}

.allergen-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.allergen-chip {
  background: var(--bg-surface);
  border: 1px solid #FCD34D;
  color: #92400E;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

[data-theme="dark"] .allergen-chip {
  background: var(--bg-surface-elevated);
  border-color: rgba(251, 191, 36, 0.3);
  color: #FDE68A;
}

/* Modal İçindekiler / Bileşenler */
.modal-ingredients-box {
  margin-bottom: 20px;
}

.modal-ingredients-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  background: var(--bg-surface-elevated);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

/* Modal Yasal Dipnot */
.modal-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  text-align: center;
  font-style: italic;
}

/* Kalori Hapı Vurgusu */
.pill-item.pill-calories {
  background: #FEF3C7;
  border-color: #FDE68A;
  color: #B45309;
  font-weight: 700;
}

[data-theme="dark"] .pill-item.pill-calories {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
  color: #FBBF24;
}

/* Skeleton Shimmer Loading */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-card {
  pointer-events: none;
  border-color: var(--border-color);
  opacity: 0.85;
}

.skeleton-img {
  width: 100%;
  height: 140px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--bg-surface-elevated) 25%, var(--border-color) 50%, var(--bg-surface-elevated) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-content {
  padding: 12px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton-line {
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--bg-surface-elevated) 25%, var(--border-color) 50%, var(--bg-surface-elevated) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-line.title {
  width: 65%;
  height: 18px;
}

.skeleton-line.desc {
  width: 90%;
  height: 12px;
}

.skeleton-line.price {
  width: 35%;
  height: 16px;
  margin-top: 4px;
}
