﻿/* ==== GENEL AYARLAR ==== */
body {
  margin: 0;
  font-family: system-ui, -webkit-pictograph;
  font-size: 16px;
  line-height: 1.6;
}

/* ==== BAŞLIK BOYUTLARI ==== */
h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* === NAVBAR === */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navbar-color, #020617);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
}

.navbar-right a {
  margin-left: 16px;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
  /* Kayıt Ol gibi linkler tek satır kalsın */
}

.navbar-right a:hover {
  background: rgba(15,23,42,0.7);
  border-color: rgba(148,163,184,0.4);
  text-decoration: none;
}



/* NAVBAR ALT ŞERİT */

.subbar {
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  background: var(--subbar-bg, rgba(0,0,0,0.4));
  color: var(--subbar-fg, #ffffff);
}

.subbar a {
  color: inherit;
}

/* === ANA İÇERİK / HERO === */

.main {
  padding-bottom: 40px;
}

.hero {
  padding: 24px 0 32px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0,2fr) minmax(0,1.5fr);
  gap: 24px;
  align-items: center;
}

.hero-left h1 {
  font-size: 40px;
  margin: 0 0 12px;
}

.hero-sub {
  font-size: 15px;
  max-width: 520px;
}

.hero-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}

.hero-meta {
  margin-top: 10px;
  font-size: 13px;
}

/* Hero içindeki 3 kare görsel */
.hero-img-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
}

.hero-img {
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  height: 120px;
  width: 100%;
}

/* GÜVEN BANDI */

.trust {
  background: rgba(0,0,0,.15);
  padding: 10px 0;
  font-size: 14px;
}

/* BLOK BAŞLIKLAR */

.block {
  padding: 24px 0;
}

.block h2 {
  margin: 0 0 16px;
}

/* KAMPANYA / KART GENEL */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  background: #0f172a;
  border-radius: 18px;
  padding: 16px;
  color: #e5e7eb;
  overflow: hidden;
  z-index: 0;
  line-height: 1.7;         /* EKLEDİK – yazı daha ferah */
}

.card h3 {
  margin-top: 0;
  font-size: 22px;          /* 18 → 22 */
}

.card-desc {
  font-size: 16px;          /* 14 → 16 */
}

.card-price {
  margin-top: 8px;
  font-weight: 700;
  font-size: 20px;          /* fiyatı büyüttük */
}


/* ESKİ MENÜ LİSTELEME (yedeğe bırakıyoruz) */

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 16px;
}

.menu-cat h3 {
  margin-bottom: 8px;
}

.menu-cat ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-cat li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
}

/* FLASH MESAJLAR */

.flash-container {
  max-width: 800px;
  margin: 10px auto;
  padding: 0 16px;
}

.flash {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 6px;
}

.flash-success {
  background: rgba(22,163,74,0.15);
  border: 1px solid #16a34a;
  color: #16a34a;
}

.flash-error {
  background: rgba(248,113,113,0.15);
  border: 1px solid #ef4444;
  color: #b91c1c;
}

.flash-info {
  background: rgba(59,130,246,0.12);
  border: 1px solid #3b82f6;
  color: #1d4ed8;
}


/* FOOTER */

.footer {
  padding: 16px 0 24px;
  font-size: 13px;
  background: rgba(0,0,0,.25);
}

.text-center {
  text-align: center;
}

/* BUTONLAR */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.btn-light {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 2px 6px rgba(15,23,42,0.25);
}

.btn-dark {
  background: var(--primary-color, #16a34a);
  color: #f9fafb;
  box-shadow: 0 2px 6px rgba(15,23,42,0.25);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15,23,42,0.30);
}

/* FORM / AYARLAR */

.settings-form {
  max-width: 800px;
}

.settings-form label {
  display: block;
  font-size: 13px;
  margin-top: 8px;
}

.settings-form input,
.settings-form textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #4b5563;
  margin-top: 2px;
  box-sizing: border-box;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
  gap: 12px;
  margin-top: 8px;
}

.admin-links {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Basit satır stil (kullanabiliriz) */

.menu-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.menu-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.menu-item-price {
  font-weight: 500;
}

/* Kart dışında kullanılan sarı butonlar */

.btn-cart {
  padding: 2px 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 12px;
  background: #fbbf24;
  color: #111827;
}

/* Menü başlıkları için eski stiller (opsiyonel) */

.menu-cat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.menu-cat-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  background: #111827;
}

/* === YENİ MENÜ KART TASARIMI === */

.menu-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.menu-category-card {
  background: #020617;
  border-radius: 18px;
  padding: 18px 16px 12px;
  color: #e5e7eb;
}

.menu-category-header h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}

/* Tek tek ürün kartları */

.menu-item-card {
  position: relative;
  background: #020617;
  border-radius: 16px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 10px;
  margin-bottom: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  overflow: hidden;
  z-index: 0;
}

/* RGB ışıklı çerçeve */
.menu-item-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    120deg,
    #ff0000,
    #ff00ff,
    #5500ff,
    #00ccff,
    #00ff66,
    #ffcc00,
    #ff0000
  );
  z-index: -2;
  border-radius: 20px;
  animation: borderGlow 6s linear infinite;
}

.menu-item-card::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: #020617;
  border-radius: 14px;
  z-index: -1;
}

@keyframes borderGlow {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

.menu-item-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-item-name {
  font-weight: 600;
  font-size: 15px;
}

.menu-item-desc {
  font-size: 13px;
  color: #9ca3af;
}

.menu-item-side {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.menu-item-side .menu-item-price {
  font-weight: 700;
  font-size: 16px;
}

/* + / - butonları ve adet */

.menu-item-qty {
  font-size: 13px;
  color: #e5e7eb;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #1e293b;
  border: none;
  color: white;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.qty-btn:hover {
  background: #334155;
}

/* Ürün görsel kutusu */

.menu-item-thumb {
  border-radius: 12px;
  background: #111827;
  background-size: cover;
  background-position: center;
  aspect-ratio: 1.1;
}

/* Kategoriye göre otomatik görsel (görselleri static/img içine koyarsan çalışır) */

.menu-item-card.thumb-corba  .menu-item-thumb { background-image: url("/static/img/menu-corba.jpg"); }
.menu-item-card.thumb-kofte  .menu-item-thumb { background-image: url("/static/img/menu-kofte.jpg"); }
.menu-item-card.thumb-tavuk  .menu-item-thumb { background-image: url("/static/img/menu-tavuk.jpg"); }
.menu-item-card.thumb-icecek .menu-item-thumb { background-image: url("/static/img/menu-icecek.jpg"); }
.menu-item-card.thumb-default .menu-item-thumb { background-image: url("/static/img/menu-default.jpg"); }

.item-edit-card {
  max-width: 700px;
  margin: 0 auto;
  background: #020617;
  padding: 24px 20px 20px;
  border-radius: 20px;
}
.item-edit-card {
  max-width: 700px;
  margin: 0 auto;
  background: #020617;
  padding: 24px 20px 20px;
  border-radius: 20px;
}
/* ==== KAMPANYA KARTLARINA RGB ÇERÇEVE ==== */
.card {
  position: relative;
  background: #0f172a;
  border-radius: 18px;
  padding: 16px;
  color: #e5e7eb;
  overflow: hidden;
  z-index: 0;
}

/* Dıştaki RGB çerçeve */
.card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    120deg,
    #ff0000,
    #ff00ff,
    #5500ff,
    #00ccff,
    #00ff66,
    #ffcc00,
    #ff0000
  );
  z-index: -2;
  border-radius: 20px;
  animation: borderGlow 6s linear infinite;
}

/* Kartın iç kısmı */
.card::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: #0f172a;
  border-radius: 16px;
  z-index: -1;
}
.item-edit-card {
  max-width: 700px;
  margin: 0 auto;
  background: #020617;
  padding: 24px 20px 20px;
  border-radius: 20px;
}
/* İstek & Öneri sayfası düzeni */
.feedback-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.6fr);
  gap: 24px;
  margin-top: 16px;
}

.feedback-card {
  background: rgba(0,0,0,0.18);
  padding: 16px 18px;
  border-radius: 18px;
}

.feedback-list {
  padding-left: 20px;
  margin: 4px 0 12px;
  font-size: 14px;
}

.feedback-list li {
  margin-bottom: 4px;
}

.feedback-contact-box {
  margin-top: 32px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(0,0,0,0.25);
  font-size: 13px;
}

/* Mobile uyum */
@media (max-width: 768px) {
  .feedback-layout {
    grid-template-columns: minmax(0,1fr);
  }
}
/* Sipariş / Sepet sayfası */

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 24px;
  margin-top: 16px;
}

.order-cart {
  background: #020617;
  padding: 16px 14px;
  border-radius: 18px;
}

.order-form-card {
  background: #020617;
  padding: 16px 14px;
  border-radius: 18px;
}

.order-cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(148,163,184,0.25);
  font-size: 14px;
}

.order-cart-item:last-child {
  border-bottom: none;
}

.order-cart-item-name {
  font-weight: 600;
}

.order-cart-item-meta {
  font-size: 12px;
  opacity: .85;
}

.order-cart-item-total {
  font-weight: 600;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .order-layout {
    grid-template-columns: minmax(0,1fr);
  }
}
/* Sipariş / Sepet sayfası iyileştirmeler */

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 32px;
  margin-top: 20px;
}

.order-cart {
  background: #020617;
  padding: 18px 18px 16px;
  border-radius: 20px;
}

.order-form-card {
  background: #020617;
  padding: 18px 18px 16px;
  border-radius: 20px;
}

.order-cart h2,
.order-form-card h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.order-cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(148,163,184,0.25);
  font-size: 14px;
}

.order-cart-item:last-child {
  border-bottom: none;
}

.order-cart-item-name {
  font-weight: 600;
}

.order-cart-item-meta {
  font-size: 12px;
  opacity: .85;
}

.order-cart-item-total {
  font-weight: 600;
}

.order-submit-btn {
  margin-top: 14px;
  width: 100%;
}

.order-info-note {
  font-size: 12px;
  opacity: .8;
  margin-top: 10px;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .order-layout {
    grid-template-columns: minmax(0,1fr);
  }

  .order-submit-btn {
    width: auto;
  }
}
/* Konum & Harita alanı */

.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
  gap: 20px;
  align-items: start;
}

.location-text ul {
  list-style: disc;
  padding-left: 20px;
  font-size: 14px;
}

.location-map iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: 16px;
}

/* Mobil */
@media (max-width: 768px) {
  .location-layout {
    grid-template-columns: minmax(0,1fr);
  }
}
/* Admin sipariş listesi */

.orders-table-wrapper {
  margin-top: 16px;
  overflow-x: auto;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.orders-table th,
.orders-table td {
  padding: 8px 6px;
  border-bottom: 1px solid rgba(148,163,184,0.3);
}

.orders-table th {}
  text-align: left;
  font-weight: 600;
}

.orders-note-cell {
  max-width: 260px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.status-new    { background: #fbbf24; color: #111827; }
.status-prep   { background: #38bdf8; color: #0f172a; }
.status-onway  { background: #22c55e; color: #022c22; }
.status-done   { background: #4ade80; color: #064e3b; }
.status-cancel { background: #fecaca; color: #7f1d1d; }

.btn-xs {
  padding: 2px 8px;
  font-size: 11px;
}

.orders-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
/* Sipariş takip sayfası layout düzeltme */

.track-layout {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1.8fr);
  gap: 24px;
  margin-top: 16px;
}


.track-steps {
  margin-top: 10px;
  font-size: 13px;
}

.track-step {
  padding: 4px 6px;
  border-radius: 8px;
  margin-bottom: 4px;
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(148,163,184,0.4);
}

.track-step.done {
  background: rgba(22,163,74,0.15);
  border-color: #22c55e;
}

.track-step.cancel {
  background: rgba(248,113,113,0.15);
  border-color: #f97373;
}

/* Mobil */
@media (max-width: 768px) {
  .track-layout {
    grid-template-columns: minmax(0,1fr);
  }


}
/* Admin rapor kartları */

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 16px;
  margin-top: 16px;
}

.dash-card {
  background: #020617;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.4);
}

.dash-card-title {
  font-size: 13px;
  opacity: .8;
  margin-bottom: 4px;
}

.dash-card-value {
  font-size: 20px;
  font-weight: 700;
}

.dash-card-sub {
  font-size: 12px;
  opacity: .8;
  margin-top: 4px;
}
/* Admin rapor kartları */

.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 16px;
  margin-top: 16px;
}

.dash-card {
  background: #020617;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.4);
}

.dash-card-title {
  font-size: 13px;
  opacity: .8;
  margin-bottom: 4px;
}

.dash-card-value {
  font-size: 20px;
  font-weight: 700;
}

.dash-card-sub {
  font-size: 12px;
  opacity: .8;
  margin-top: 4px;
}
.menu-item-icon {
  margin-left: 4px;
}

.menu-item-badge {
  margin-left: 6px;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(250,204,21,0.15);
  border: 1px solid #facc15;
}
.emoji-picker,
.badge-picker {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.emoji-picker .emoji-option,
.badge-picker .badge-option {
  border: none;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 13px;
  background: #111827;
  color: #f9fafb;
}

.emoji-picker .emoji-option {
  font-size: 18px;
  padding: 2px 6px;
}

.emoji-picker .emoji-option:hover,
.badge-picker .badge-option:hover {
  background: #1f2937;
}
.hero {
  position: relative;
  overflow: hidden;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}
/* Sipariş takip sayfası */

.track-layout {
  display: 1;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1.8fr);
  gap: 24px;
  margin-top: 16px;
}

.track-steps {
  margin-top: 10px;
  font-size: 13px;
}

.track-step {
  padding: 4px 6px;
  border-radius: 8px;
  margin-bottom: 4px;
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(148,163,184,0.4);
}

.track-step.done {
  background: rgba(22,163,74,0.15);
  border-color: #22c55e;
}

.track-step.cancel {
  background: rgba(248,113,113,0.15);
  border-color: #f97373;
}

/* Mobil */
@media (max-width: 768px) {
  .track-layout {
    grid-template-columns: minmax(0,1fr);
  }
}
/* Sipariş takip sayfası layout düzeltme */

.track-layout {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1.8fr);
  gap: 24px;
  margin-top: 16px;
}

/* ---- Müşteri giriş / kayıt sayfaları ---- */
.auth-page {
    max-width: 480px;
    margin: 40px auto;
    background-color: #0b1320;  /* sitendeki koyu kart rengine yakın */
    padding: 20px;
    border-radius: 12px;
    color: #fff;
}

.auth-page h1 {
    margin-bottom: 20px;
}

.auth-page label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
}

.auth-page input[type="text"],
.auth-page input[type="email"],
.auth-page input[type="password"] {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: none;
    margin-bottom: 5px;
}

.auth-page button[type="submit"] {
    margin-top: 15px;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    background-color: #00c853;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

.auth-page button[type="submit"]:hover {
    opacity: 0.9;
}

.auth-page p {
    margin-top: 10px;
}

/* === Müşteri Yorumları Slider === */

.review-slider-frame {
  position: relative;
  background: #020617;
  border-radius: 18px;
  padding: 14px 40px 16px 40px;
  color: #e5e7eb;
  overflow: hidden;
}

.review-slides {
  position: relative;
  height: 100%;
}

.review-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .35s ease;
  display: flex;
  justify-content: center;
  /* ortada dursun */
  align-items: flex-start;
}

.review-card {
  display: flex;
  gap: 10px;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  max-width: 520px;
  /* 700 → 520, daha küçük kart */
}

.review-avatar {
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-avatar span {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #22c55e;
  color: #022c22;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.review-message {
  font-size: 13px;
}

.review-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.review-name {
  font-weight: 600;
}

.review-date {
  opacity: .75;
}

.review-stars {
  font-size: 13px;
  color: #fbbf24;
}

.review-message {
  font-size: 14px;
  color: #e5e7eb;
}

.review-reply {
  margin-top: 6px;
  font-size: 13px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* Slider butonları ve noktalar */
.review-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #020617;
  color: #e5e7eb;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.review-nav-prev {
  left: 10px;
}

.review-nav-next {
  right: 10px;
}

.review-dots {
  text-align: center;
  margin-top: 10px;
}

.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  margin: 0 3px;
  background-color: #4b5563;
  cursor: pointer;
}

.review-dot.is-active {
  background-color: #22c55e;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .review-slider-frame {
    padding: 16px 16px 18px 16px;
  }

  .review-card {
    max-width: 100%;
  }
}

/* === Kurye Paneli için genel stiller === */

.courier-summary {
  font-size: 17px;
  padding: 10px 12px;
  border-radius: 12px;
}

.courier-card {
  font-size: 17px;
  padding: 16px;
}

.courier-card strong {
  font-size: 19px;
}

.courier-order-meta {
  font-size: 15px;
}


.password-field {
  display: flex;
  align-items: center;
  gap: 6px;
}

.password-field input {
  flex: 1;
}

.btn-eye {
  border: none;
  background: #111827;
  color: #f9fafb;
  border-radius: 6px;
  padding: 0 10px;
  height: 32px;
  cursor: pointer;
  font-size: 14px;
}
/* Menü filtre ve arama toolbar'ı */
.menu-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.menu-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.menu-filter-btn {
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: #020617;
  color: #e5e7eb;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
}

.menu-filter-btn.active {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #020617;
}

.menu-search-input {
  min-width: 220px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #4b5563;
  background: #020617;
  color: #e5e7eb;
}

.menu-search-input::placeholder {
  color: #9ca3af;
}

/* Mobilde toolbar alt alta gelsin */
@media (max-width: 768px) {
  .menu-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .menu-search-input {
    width: 100%;
  }
}


/* === MOBİL DÜZEN (768px ve altı) === */
@media (max-width: 768px) {

  /* Genel yazılar */
  body {
    font-size: 17px;
    line-height: 1.7;
  }

  h1 {
    font-size: 26px;
    margin-bottom: 10px;
  }

  h2 {
    font-size: 20px;
  }

  p {
    font-size: 16px;
  }

/* === Kurye Paneli için genel stiller === */

.courier-summary {
  font-size: 17px;
  padding: 10px 12px;
  border-radius: 12px;
}

.courier-card {
  font-size: 17px;
  padding: 16px;
}

.courier-card strong {
  font-size: 19px;
}

.courier-order-meta {
  font-size: 15px;
}


  .courier-order-meta {
    font-size: 14px !important;
  }

  /* Küçük butonlar */
  .btn-xs {
    padding: 4px 10px;
    font-size: 13px;
  }

  /* Genel layout */
  .container {
    padding: 0 12px;
  }

  /* Admin tablolar daha dar görünmesin */
  .orders-table-wrapper table,
  .orders-table {
    font-size: 13px;
  }

  /* Hero mobil düzeltmeleri */
  .hero-inner {
    grid-template-columns: minmax(0,1fr);
  }
  .hero-right {
    margin-top: 16px;
  }

  /* Navbar mobil düzeni */
  .navbar-inner {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 8px 0 10px;
    gap: 6px;
  }
  .navbar-right {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  /* Footer yazıları büyüsün */
  .footer {
    font-size: 14px !important;
  }
}

/* === Müşteri Yorumları – küçük kartlar === */

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.review-card {
  display: flex;
  gap: 8px;
  background: #020617;
  border-radius: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
}

.review-avatar {
  flex: 0 0 32px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.review-avatar span {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #22c55e;
  color: #022c22;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.review-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.review-name {
  font-weight: 600;
}

.review-date {
  opacity: .75;
}

.review-stars {
  font-size: 12px;
  color: #fbbf24;
}

.review-message {
  font-size: 13px;
}

.review-reply {
  margin-top: 4px;
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* mobilde kartlar tam genişlik */
@media (max-width: 768px) {
  .review-card {
    padding: 10px;
  }
}

/* Güncel Kampanyalar kartı özel ayarları */
.promo-card {
  max-width: 100%;
  margin-top: 8px;
}

/* === Mini Sepet === */

.mini-cart-toggle {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  background: #020617;
  color: #f9fafb;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.mini-cart-panel {
  position: fixed;
  right: 16px;
  bottom: 64px;
  width: 280px;
  max-height: 320px;
  background: #020617;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  z-index: 60;
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform .2s ease, opacity .2s ease;
  display: flex;
  flex-direction: column;
}

.mini-cart-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mini-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 13px;
}

.mini-cart-close {
  border: none;
  background: transparent;
  color: #e5e7eb;
  font-size: 16px;
  cursor: pointer;
}

.mini-cart-items {
  padding: 8px 10px;
  overflow-y: auto;
  flex: 1;
}

.mini-cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(55, 65, 81, 0.6);
}

.mini-cart-item:last-child {
  border-bottom: none;
}

.mini-cart-item-name {
  font-weight: 600;
}

.mini-cart-item-meta {
  font-size: 11px;
  opacity: .8;
}

.mini-cart-item-total {
  font-weight: 600;
  text-align: right;
  font-size: 13px;
}

.mini-cart-footer {
  padding: 8px 10px 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 13px;
}

.mini-cart-total-row {
  margin-bottom: 6px;
}

.mini-cart-actions {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

/* Mobilde mini sepet biraz yukarıda dursun */
@media (max-width: 768px) {
  .mini-cart-toggle {
    right: 12px;
    bottom: 12px;
  }

  .mini-cart-panel {
    right: 12px;
    bottom: 60px;
    width: 260px;
  }
}

/* Favori (⭐) butonu */

.fav-btn {
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 16px;
  margin-left: 4px;
  cursor: pointer;
  padding: 0;
}

.fav-btn.is-fav {
  color: #fbbf24;
}

.fav-btn:hover {
  transform: translateY(-1px);
}

/* Günlük kampanya kartlarında küçük görsel alanı */
.special-img {
  margin-top: 8px;
  margin-bottom: 6px;
  height: 80px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Her kart için ayrı görsel (dosyaları sen koyacaksın) */
.special-img-1 {
  background-image: url("/static/img/special1.jpg");
}

.special-img-2 {
  background-image: url("/static/img/special2.jpg");
}

.special-img-3 {
  background-image: url("/static/img/special3.jpg");
}

/* Güncel kampanyalar slider içi görsel alanı */
.promo-img {
  margin-top: 8px;
  margin-bottom: 4px;
  height: 80px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Slot numarasına göre kampanya görseli (dosyaları sen koyacaksın) */
.promo-img-slot-1 {
  background-image: url("/static/img/promo1.jpg");
}

.promo-img-slot-2 {
  background-image: url("/static/img/promo2.jpg");
}

.promo-img-slot-3 {
  background-image: url("/static/img/promo3.jpg");
}

.promo-img-slot-4 {
  background-image: url("/static/img/promo4.jpg");
}

.promo-img-slot-5 {
  background-image: url("/static/img/promo5.jpg");
}

.promo-img-slot-6 {
  background-image: url("/static/img/promo6.jpg");
}

/* Günlük kampanya kartlarında küçük görsel alanı */
.special-img {
  margin-top: 8px;
  margin-bottom: 6px;
  height: 80px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Her kart için ayrı görsel (dosyaları sen koyacaksın) */
.special-img-1 {
  background-image: url("/static/img/special1.jpg");
}

.special-img-2 {
  background-image: url("/static/img/special2.jpg");
}

.special-img-3 {
  background-image: url("/static/img/special3.jpg");
}

/* Güncel kampanyalar kartı genel ayarı */
.promo-card {
  max-width: 100%;
  margin-top: 8px;
}

/* Slider içi görsel */
.promo-img {
  width: 100%;
  height: 90px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ... eklenecek css ... */
/* Admin üst menü */

.admin-nav {
  background: #020617;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.admin-nav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
}

.admin-nav-inner a {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.5);
  text-decoration: none;
}

.admin-nav-inner a:hover {
  background: rgba(59, 130, 246, 0.2);
}


/* ==== ADMIN ÜST MENÜ (PİLL BUTONLAR) ==== */

  .admin-topbar {
    background: #020617;
    border-bottom: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.5);
  }

  .admin-topbar-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0;
  }

  .btn-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    text-decoration: none;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: #e5e7eb;
    transition:
      background 0.15s ease,
      border-color 0.15s ease,
      transform 0.1s ease;
  }

  .btn-pill:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(59, 130, 246, 0.9);
    transform: translateY(-1px);
  }

  .btn-pill.is-active {
    background: rgba(59, 130, 246, 0.35);
    border-color: rgba(59, 130, 246, 0.95);
    color: #f9fafb;
  }

/* ========== KAR YAĞIŞI ========== */
.snowflake {
  position: fixed;
  top: -2rem;
  color: #fff;
  pointer-events: none;
  animation-name: fall;
  animation-timing-function: linear;
  font-family: Arial, sans-serif;
  z-index: 99999;
}

@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  100% {
    transform: translateY(100vh) rotate(360deg);
  }
}