/* ===== Zumma — QR Menü ===== */
:root {
  --bg:#050505;
  --card:#141414;
  --card2:#1d1d1d;
  --text:#ffffff;
  --muted:#b7b7b7;
  --red:#97001f;
  --red2:#bd002f;
  --border:rgba(255,255,255,.08);
  --shadow:0 16px 35px rgba(0,0,0,.35);
}

body.light,
html.pre-light body {
  --bg:#f4f4f6;
  --card:#ffffff;
  --card2:#f1f1f1;
  --text:#151515;
  --muted:#666;
  --border:rgba(0,0,0,.08);
  --shadow:0 12px 28px rgba(0,0,0,.10);
}

* { box-sizing:border-box; }

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  transition:.25s;
}

[hidden] { display:none !important; }

.app {
  max-width:520px;
  margin:0 auto;
  min-height:100vh;
  padding-bottom:92px;
  background:var(--bg);
}

/* ---- Üst bar ---- */
.topbar {
  position:sticky;
  top:0;
  z-index:60;
  background:linear-gradient(135deg,var(--red),var(--red2));
  padding:17px 15px 16px;
  border-bottom-left-radius:22px;
  border-bottom-right-radius:22px;
  box-shadow:var(--shadow);
}

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

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.logo {
  width:58px;
  height:58px;
  border-radius:16px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.2);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}

.logo img {
  width:100%;
  height:100%;
  object-fit:contain;
  padding:7px;
}

.brand-title {
  margin:0;
  color:#fff;
  font-size:19px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.brand-sub {
  color:rgba(255,255,255,.75);
  font-size:11px;
  letter-spacing:1.8px;
  text-transform:uppercase;
  margin-top:5px;
}

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

.top-btn {
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.09);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:19px;
}
.top-btn:hover { color:#fff; }

.search-box {
  margin-top:16px;
  height:54px;
  background:#1b1b1b;
  border:1px solid rgba(255,255,255,.08);
  border-radius:15px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 15px;
}

.search-box i {
  color:#d8d8d8;
  font-size:18px;
}

.search-box input {
  width:100%;
  border:0;
  outline:0;
  background:transparent;
  color:#fff;
  font-size:14px;
  font-weight:600;
}

.search-box input::placeholder { color:#aaa; }

body.light .search-box { background:#fff; }
body.light .search-box i { color:#555; }
body.light .search-box input { color:#111; }

/* ---- Slider ---- */
.wen-slider {
  margin-top:14px;
  margin-bottom:14px;
  border-radius:18px;
  overflow:hidden;
}

.wen-slider .carousel-item { display:none; }
.wen-slider .carousel-item.active,
.wen-slider .carousel-item-next,
.wen-slider .carousel-item-prev { display:block; }

.wen-slider img {
  width:100%;
  aspect-ratio:13 / 7;
  object-fit:cover;
  display:block;
}

.wen-slider-caption {
  background:linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.05));
  left:0;
  right:0;
  bottom:0;
  padding-bottom:18px;
}

.wen-slider-caption h5 {
  font-size:16px;
  font-weight:700;
  margin-bottom:4px;
}

.wen-slider-caption p {
  font-size:12px;
  margin-bottom:0;
}

/* ---- Başlık satırı ---- */
.section-head {
  padding:18px 15px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.section-head h3 {
  margin:0;
  font-size:19px;
  font-weight:900;
}

.section-head a {
  color:var(--muted);
  text-decoration:none;
  font-size:13px;
  font-weight:800;
}

/* ---- Kategori kartları ---- */
.category-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  padding:0 14px 22px;
}

.category-card {
  min-height:138px;
  border-radius:17px;
  overflow:hidden;
  background:var(--card);
  border:1px solid var(--border);
  position:relative;
  color:#fff;
  text-decoration:none;
  display:block;
  box-shadow:var(--shadow);
}
.category-card:hover { color:#fff; }

.category-card img {
  width:100%;
  height:auto;
  aspect-ratio:3 / 2;
  min-height:138px;
  object-fit:cover;
  display:block;
  filter:brightness(.88) saturate(1.08);
}

.cat-name {
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:34px 10px 11px;
  background:linear-gradient(to top,rgba(0,0,0,.85),rgba(0,0,0,.35) 60%,transparent);
  font-size:17px;
  font-weight:800;
  text-align:center;
  text-shadow:0 2px 8px rgba(0,0,0,.7);
}

/* ---- Ürünler ---- */
.products-wrap {
  padding:0 14px 22px;
}

.back-card {
  margin:15px 14px 12px;
  display:flex;
  align-items:center;
  gap:10px;
}

.back-btn {
  width:42px;
  height:42px;
  border-radius:14px;
  border:0;
  background:var(--card);
  color:var(--text);
  box-shadow:var(--shadow);
}

.sub-head {
  font-size:15px;
  font-weight:900;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:1.2px;
  margin:18px 2px 10px;
}
.sub-head:first-child { margin-top:4px; }

.sub-note {
  font-size:13px;
  color:var(--muted);
  margin:-4px 2px 10px;
}

.product-card {
  display:flex;
  gap:12px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:10px;
  margin-bottom:12px;
  box-shadow:var(--shadow);
}

.product-card.no-img { padding:12px 14px; }

.product-img {
  width:106px;
  height:106px;
  border-radius:15px;
  overflow:hidden;
  background:var(--card2);
  flex:0 0 auto;
}

.product-img img {
  width:100%;
  height:100%;
  object-fit:cover;
  cursor:pointer;
}

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

.product-name {
  font-size:15px;
  font-weight:900;
  margin-bottom:6px;
}

.product-desc {
  font-size:13px;
  color:var(--muted);
  line-height:1.35;
  margin-bottom:8px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.badges {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:8px;
}

.badge-soft {
  background:var(--card2);
  border:1px solid var(--border);
  border-radius:999px;
  padding:4px 8px;
  color:var(--muted);
  font-size:11px;
  font-weight:800;
}

.price-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.price {
  font-size:15px;
  font-weight:900;
  color:var(--text);
}

.price small {
  font-size:12px;
  font-weight:700;
  color:var(--muted);
  margin-left:4px;
}

.detail-btn {
  border:0;
  background:linear-gradient(135deg,var(--red),var(--red2));
  color:#fff;
  border-radius:12px;
  padding:8px 11px;
  font-size:12px;
  font-weight:900;
}

/* ---- Sabit butonlar ---- */
.float-actions {
  position:fixed;
  right:calc(50% - 248px);
  bottom:112px;
  z-index:80;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.float-actions a {
  width:58px;
  height:58px;
  border-radius:17px;
  background:linear-gradient(135deg,var(--red),var(--red2));
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:27px;
  box-shadow:0 12px 26px rgba(0,0,0,.40);
}

.bottom-nav {
  position:fixed;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  width:100%;
  max-width:520px;
  height:78px;
  background:linear-gradient(135deg,var(--red),var(--red2));
  z-index:75;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top-left-radius:19px;
  border-top-right-radius:19px;
  overflow:hidden;
}

.bottom-nav a {
  color:#fff;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  font-size:12px;
  font-weight:700;
  border-right:1px solid rgba(255,255,255,.18);
}

.bottom-nav a:last-child { border-right:0; }

.bottom-nav i,
.bottom-nav .google-icon {
  font-size:24px;
  line-height:1;
  font-weight:900;
}

/* ---- Paneller ---- */
.offcanvas,
.modal-content {
  background:var(--card);
  color:var(--text);
  border:1px solid var(--border);
}

.btn-close { filter:invert(1); }
body.light .btn-close { filter:none; }

.menuItem {
  display:block;
  padding:14px;
  border-radius:15px;
  background:var(--card2);
  border:1px solid var(--border);
  color:var(--text);
  text-decoration:none;
  font-weight:800;
  margin-bottom:10px;
}
.menuItem:hover { color:var(--text); }

.calisma-saatleri ul { list-style:none; padding:0; margin:0; }
.calisma-saatleri li {
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid var(--border);
  font-weight:800;
}
.calisma-saatleri li span:last-child { color:var(--muted); }

.modal-img {
  width:100%;
  max-height:360px;
  object-fit:cover;
  background:#000;
}

.empty-box {
  margin:0 14px 20px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:22px;
  text-align:center;
  color:var(--muted);
  font-weight:800;
}

footer {
  color:var(--muted);
  font-size:13px;
  text-align:center;
  padding:24px 14px;
}

footer a {
  color:var(--text);
  font-weight:900;
}

/* ---- Google Çeviri ---- */
.goog-te-gadget {
  color:var(--text) !important;
  font-family:inherit !important;
}

.goog-te-combo {
  width:100%;
  height:48px;
  border-radius:14px;
  border:1px solid var(--border);
  padding:0 12px;
  background:var(--card2);
  color:var(--text);
  font-weight:800;
  outline:none;
}

.skiptranslate iframe { display:none !important; }
body { top:0 !important; }

@media(max-width:540px) {
  .float-actions { right:14px; }
}

@media(max-width:390px) {
  .category-card,
  .category-card img { min-height:124px; }
  .cat-name { font-size:15px; }
  .product-img { width:92px; height:92px; }
  .brand-title { font-size:17px; }
}
