/* === QR MENÜ — STYLE === */
html, body {
  margin: 0;
  background: #0b1220;
  color: #e5e7eb;
  font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
}

/* Sticky header */
header {
  position: sticky; top: 0; z-index: 30;
  background: linear-gradient(180deg, rgba(11,18,32,.95), rgba(11,18,32,.85));
  border-bottom: 1px solid #1f2937;
}
header .inner {
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  padding: 12px 16px;
}
.container { max-width: 1000px; margin: 0 auto; padding: 16px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { display:block; }
.brand .logo img { display:block; height: 64px; width:auto; object-fit:contain; }
@media (max-width: 480px){ .brand .logo img{ height:48px; } }
.brand .title { font-weight: 700; letter-spacing: .2px; }

.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn {
  border: 1px solid #1f2937;
  background: #0f172a;
  color: #e5e7eb;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
}
.btn.primary { background: #22c55e; color: #06210f; border-color: transparent; }

/* Arama & Kategoriler */
.hero { padding: 18px 16px 8px; }
.hero .row { display: grid; grid-template-columns: 1fr; gap: 12px; }

.search {
  display: flex; align-items: center; gap: 8px;
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 14px;
  padding: 10px 12px;
}
.search input {
  flex: 1; border: none; outline: none;
  background: transparent; color: #e5e7eb;
  font-size: 15px;
}

.pills { display: flex; gap: 8px; overflow: auto; padding-bottom: 8px; }
.pill {
  white-space: nowrap;
  background: #1f2937;
  border: 1px solid #1f2937;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600; cursor: pointer;
  color: #ffffff;              /* ← seçili değilken beyaz */
}
.pill.active { background: #22c55e; color: #05250f; border-color: transparent; }

/* Grid & Kartlar */
.section { margin: 18px 0; }
.section h2 { margin: 8px 0 12px; font-size: 20px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}

/* 16:10 oran */
.thumb { position: relative; background:#0d1324; height:0; padding-top:62.5%; }
.thumb img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }

.badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(11,18,32,.8);
  border: 1px solid #1f2937;
  padding: 4px 8px; border-radius: 999px; font-size: 12px;
}

.content { padding: 12px; display:flex; gap:8px; justify-content:space-between; align-items:flex-start; }
.info { min-width: 0; }
.name { font-weight:700; margin:0 0 6px; font-size:16px; }
.desc { color:#6b7280; font-size:13px; line-height:1.35; }

.tags { display:flex; gap:6px; flex-wrap:wrap; margin-top:8px; }
.tag { border:1px dashed #334155; padding:2px 8px; border-radius:999px; font-size:12px; color:#cbd5e1; }

.side { display:flex; flex-direction:column; align-items:flex-end; gap:8px; }
.fav { background:transparent; border:1px solid #1f2937; width:40px; height:40px; border-radius:12px; display:flex; align-items:center; justify-content:center; cursor:pointer; }
.fav.active { border-color:#22c55e; outline:2px solid #14532d; }
.price { font-weight:800; }

/* Footer & Toast */
footer { padding: 24px 16px; color: #9ca3af; text-align: center; }
.small { font-size: 12px; }

.toast {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: #111827; border:1px solid #1f2937;
  padding: 10px 14px; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  opacity: 0; pointer-events: none; transition: .25s;
}
.toast.show { opacity: 1; pointer-events: auto; }
