/* MMD Food Discount Pizza — QR Menu (HTML edition)
   Palet: Logo yeşili #2d5a3d, koyu yeşil #1f4128, altın #e8b83c, krem #f9f4e8 */
:root {
  --brand: #2d5a3d;
  --brand-dark: #1f4128;
  --brand-darker: #153020;
  --brand-tint-50: #f0f7f2;
  --brand-tint-100: #dbeae0;
  --brand-tint-200: #b6d5c1;
  --gold: #e8b83c;
  --gold-soft: #f5d879;
  --cream: #f9f4e8;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif; background: #fafafa; color: #18181b; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; }

/* Erişilebilirlik — sadece ekran okuyucular için */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
/* Klavye erişimi — focus outline */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
/* Motion-reduce — hareket duyarlı kullanıcı için animasyonu kes */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero-video { display: none; }
}

/* ------- Public Menu ------- */
.page { max-width: 448px; margin: 0 auto; min-height: 100vh; background: #fafafa; }

.hero {
  position: relative; /* sticky kaldırıldı — scroll'da yukarı kayıp gitsin */
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 55%, var(--brand-darker) 100%);
  color: #fff; padding: 28px 20px 24px; box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  overflow: hidden;
}
/* Nokta deseni kaldırıldı — video zaten arka planda */
/* Arka plan video */
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; pointer-events: none;
}
/* Siyah %50 gradient overlay — video üzerinde okunabilirlik için */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.50) 50%,
    rgba(0,0,0,0.65) 100%
  );
}
/* İçerik video ve overlay üstünde olmalı */
.hero > .hero-row,
.hero > .hero-tagline { position: relative; z-index: 3; }
.hero-row {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; text-align: center;
}
.hero-logo {
  width: 110px; height: 110px; flex-shrink: 0;
  background: transparent; padding: 0; box-shadow: none; border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.45));
}
.hero-logo img { max-height: 110px; width: auto; object-fit: contain; }
.hero-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-soft); margin: 0; }
.hero-title { font-size: 20px; font-weight: 700; margin: 2px 0 0; line-height: 1.15; }
.hero-tagline { position: relative; font-size: 14px; color: #d4e4d8; margin: 12px 0 0; text-align: center; }

.nav-bar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250,250,250,0.98); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #e4e4e7; padding: 12px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
/* Sağ tarafta "kaydırılabilir" ipucu için gradient */
.nav-bar::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 1px;
  width: 28px; pointer-events: none;
  background: linear-gradient(to left, rgba(250,250,250,0.95), rgba(250,250,250,0));
}
.chip-row {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-padding-left: 8px; scroll-padding-right: 28px;
  padding-right: 20px; /* son chip'in tam görünmesi için sağda ekstra boşluk */
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; border-radius: 999px; padding: 6px 16px;
  font-size: 14px; font-weight: 600;
  background: #fff; color: #52525b; box-shadow: inset 0 0 0 1px #e4e4e7;
  transition: all 0.15s;
}
.chip:hover { box-shadow: inset 0 0 0 1px #d4d4d8; }
.chip.active { background: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(45,90,61,0.28); }

.content { padding: 20px 16px; }
.section { margin-bottom: 28px; }

/* Category banner (yeni) */
.category-banner {
  position: relative;
  border-radius: 18px; overflow: hidden;
  margin-bottom: 14px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-darker));
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}
.category-banner img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.category-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.35) 65%, rgba(21,48,32,0.85) 100%);
}
.category-banner .overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 18px; color: #fff; z-index: 1;
}
.category-banner h2 {
  font-size: 26px; line-height: 1.1; margin: 0;
  font-weight: 800; letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.category-banner .count {
  display: inline-block; margin-top: 4px;
  font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.85);
}

/* Eski küçük başlık (banner yoksa fallback) */
.section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 700; color: #18181b; margin: 0 0 12px;
}
.section-title::before { content: ""; width: 6px; height: 16px; border-radius: 3px; background: var(--brand); }

.item-card {
  display: flex; gap: 12px;
  background: #fff; padding: 12px; border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), inset 0 0 0 1px #f4f4f5;
  margin-bottom: 12px;
}
.item-thumb { width: 80px; height: 80px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #f4f4f5, #e4e4e7); }
.item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.item-thumb .placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #a1a1aa; font-size: 24px; }

.item-body { min-width: 0; flex: 1; }
.item-name { font-size: 14px; font-weight: 600; color: #18181b; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-desc { font-size: 12px; color: #71717a; margin: 2px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-allergen { display: inline-block; margin-top: 4px; padding: 2px 6px; background: #fffbeb; color: #b45309; border-radius: 6px; font-size: 10.5px; font-weight: 500; }

.variants { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.variant-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--brand-tint-50); color: var(--brand-dark);
  font-size: 11px; font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--brand-tint-100);
}
.variant-chip .v-label { color: #52525b; font-weight: 600; }
.variant-chip .v-price { color: var(--brand-dark); }
.variant-chip .v-price em { color: #b45309; font-style: normal; font-weight: 300; font-size: 0.78em; }

.price-legend {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 8px 12px; margin-bottom: 12px;
  background: #fef9c3; border: 1px solid #fde68a; border-radius: 10px;
  font-size: 12px; color: #713f12;
}
.price-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.dot.shop { background: var(--brand); }
.dot.phone { background: #b45309; }

.empty { text-align: center; color: #a1a1aa; font-size: 14px; padding: 40px 0; }
.footer { text-align: center; font-size: 12px; color: #a1a1aa; padding: 32px 20px 110px; }

/* ------- Bottom Navigation ------- */
.bottom-nav {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 12px; z-index: 30;
  width: calc(100% - 24px); max-width: 424px;
  background: var(--cream); box-shadow: 0 10px 30px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
  border-radius: 999px;
  display: grid; grid-template-columns: 1fr 1fr 96px 1fr 1fr;
  align-items: center; height: 62px;
  padding: 0 8px;
}
.bn-item {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  height: 44px; border-radius: 999px; color: #3f3f46;
}
.bn-item svg { width: 22px; height: 22px; stroke-linecap: round; stroke-linejoin: round; }
.bn-item:hover { background: rgba(0,0,0,0.04); }
.bn-item.active { color: var(--brand); box-shadow: inset 0 0 0 2px var(--gold-soft); }
.bn-lang { font-size: 13px; font-weight: 700; }

.bn-center {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 76px; height: 76px; margin-top: -30px;
  background: linear-gradient(135deg, var(--brand), var(--brand-darker));
  color: #fff; border-radius: 50%;
  box-shadow: 0 10px 24px rgba(45,90,61,0.45), 0 0 0 5px var(--cream);
  justify-self: center;
}
.bn-center svg { width: 22px; height: 22px; stroke-linecap: round; stroke-linejoin: round; }
.bn-center-label {
  position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em; color: #52525b;
}
.bn-center:hover { filter: brightness(1.1); }

/* ------- Modal (bottom sheet) ------- */
.modal {
  position: fixed; inset: 0; z-index: 50;
  display: none; align-items: flex-end; justify-content: center;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45); backdrop-filter: blur(2px);
  animation: fadeIn 0.2s ease-out;
}
/* ===== Glass Morphism — koyu yeşil %70 saydam ===== */
.modal-panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 448px;
  background: rgba(31, 65, 40, 0.70); /* var(--brand-dark) @ 70% */
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border-top: 1px solid rgba(255,255,255,0.15);
  border-radius: 24px 24px 0 0;
  padding: 12px 20px 96px;
  max-height: 90vh; overflow-y: auto;
  animation: slideUp 0.25s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 -12px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
  color: #f4f4f5;
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0.6 } to { transform: translateY(0); opacity: 1 } }
.modal-handle { width: 40px; height: 5px; margin: 4px auto 12px; border-radius: 999px; background: rgba(255,255,255,0.35); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.modal-header h2 { margin: 0; font-size: 22px; color: #fff; }
.modal-close {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: #fff; font-size: 20px; line-height: 1;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.modal-close:hover { background: rgba(255,255,255,0.25); }

.section-eyebrow {
  text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--gold-soft); margin: 20px 0 12px;
}

/* Glass kartları — açık cam efekti (koyu yeşil zemine karşı) */
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-card {
  display: flex; align-items: center; gap: 10px;
  padding: 12px; border-radius: 14px; text-decoration: none; color: #f4f4f5;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 0.15s, background 0.15s;
}
.social-card:hover { transform: translateY(-1px); background: rgba(255,255,255,0.16); }
.social-card .ico { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.social-card .ico.ig { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.social-card .ico.fb { background: #1877f2; }
.social-card .ico.gm { background: var(--brand); }
.social-card .ico svg { width: 20px; height: 20px; }
.social-card .txt { min-width: 0; }
.social-card .txt strong { display: block; font-size: 13px; color: #fff; }
.social-card .txt small { display: block; font-size: 11px; color: rgba(255,255,255,0.65); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-card.wide { grid-column: 1 / -1; }

.feedback-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; margin-top: 14px; border-radius: 14px;
  background: rgba(232, 184, 60, 0.18); /* altın vurgu */
  border: 1px solid rgba(232, 184, 60, 0.30);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  text-decoration: none; color: #f4f4f5;
}
.feedback-card .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--gold); color: var(--brand-darker); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feedback-card .ico svg { width: 20px; height: 20px; }
.feedback-card .txt { flex: 1; }
.feedback-card .txt strong { display: block; font-size: 14px; color: #fff; }
.feedback-card .txt small { display: block; font-size: 12px; color: rgba(255,255,255,0.75); }
.feedback-card .arrow { color: rgba(255,255,255,0.75); font-size: 18px; }

.hours-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 14px; padding: 4px 14px;
}
.hours-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.10); font-size: 14px; color: #f4f4f5; }
.hours-row:last-child { border-bottom: 0; }
.hours-row span:last-child { color: rgba(255,255,255,0.85); font-weight: 600; }

.address-card {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 20px; padding: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  color: #f4f4f5;
}
.address-card .ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(232,184,60,0.20); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.address-card .ico svg { width: 22px; height: 22px; }
.address-card .txt { flex: 1; min-width: 0; }
.address-card .row1 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.address-card .row1 strong { font-size: 14px; color: #fff; }
.address-card .row1 a { font-size: 12px; color: var(--gold-soft); text-decoration: none; }
.address-card .row1 a:hover { color: var(--gold); }
.address-card .addr { font-size: 12.5px; color: rgba(255,255,255,0.75); margin: 2px 0 6px; }
.address-card .phone { font-size: 17px; font-weight: 700; color: #fff; }
.address-card .phone a { color: inherit; text-decoration: none; }

/* ------- Search overlay ------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 60;
  display: none; flex-direction: column;
  background: #fafafa;
}
.search-overlay.open { display: flex; }
.search-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px; background: #fff;
  border-bottom: 1px solid #e4e4e7;
  position: sticky; top: 0; z-index: 1;
}
.search-icon { width: 20px; height: 20px; color: #71717a; flex-shrink: 0; stroke-linecap: round; stroke-linejoin: round; }
#searchInput {
  flex: 1; border: 0; outline: none;
  font-size: 16px; padding: 8px 4px; background: transparent;
}
.search-close {
  width: 32px; height: 32px; border-radius: 50%;
  color: #52525b; font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.search-close:hover { background: #f4f4f5; }

.search-results { flex: 1; overflow-y: auto; padding: 12px 16px 90px; }
.search-hint { color: #a1a1aa; font-size: 13px; text-align: center; padding: 40px 0; }
.search-empty { color: #a1a1aa; font-size: 13px; text-align: center; padding: 32px 0; }
.search-group-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  color: #71717a; text-transform: uppercase; margin: 12px 0 6px;
}
.search-result {
  display: flex; gap: 12px; padding: 10px; margin-bottom: 8px;
  background: #fff; border-radius: 12px;
  box-shadow: inset 0 0 0 1px #f4f4f5;
}
.search-result .th { width: 52px; height: 52px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: #f4f4f5; }
.search-result .th img { width: 100%; height: 100%; object-fit: cover; }
.search-result .th .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.search-result .info { flex: 1; min-width: 0; }
.search-result .info .name { font-size: 14px; font-weight: 600; margin: 0; }
.search-result .info .name mark { background: var(--gold-soft); color: inherit; padding: 0 2px; border-radius: 3px; }
.search-result .info .desc { font-size: 12px; color: #71717a; margin: 2px 0; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.search-result .info .prices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.search-result .info .prices span { font-size: 11px; padding: 2px 8px; background: var(--brand-tint-50); color: var(--brand-dark); border-radius: 999px; font-weight: 600; }

/* ------- Admin ------- */
.admin-page { max-width: 720px; margin: 0 auto; padding: 20px 16px; }
.admin-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: #fff; border-radius: 16px; margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.admin-header h1 { font-size: 18px; margin: 0; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; transition: opacity 0.15s; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { color: #52525b; }
.btn-ghost:hover { color: var(--brand); }
.btn-danger { color: #a1a1aa; }
.btn-danger:hover { color: #b91c1c; }

.card { background: #fff; border-radius: 16px; padding: 16px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.card h2 { font-size: 16px; margin: 0 0 12px; }
.field-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.field-row label { min-width: 190px; font-size: 13px; color: #52525b; font-weight: 500; }
.card h3 { font-size: 14px; margin: 0 0 8px; color: var(--brand-dark, #2d5a3d); border-bottom: 1px solid #e4e4e7; padding-bottom: 6px; }
.hint { font-size: 12px; color: #71717a; margin: 4px 0 12px; }
.input, .textarea {
  flex: 1; padding: 8px 12px; border: 1px solid #d4d4d8; border-radius: 8px; font-size: 14px;
  outline: none; transition: border-color 0.15s;
}
.input:focus, .textarea:focus { border-color: var(--brand); }
.textarea { resize: vertical; min-height: 60px; font-family: inherit; }

.category-actions { display: flex; align-items: center; gap: 12px; }
.category-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.link-btn { font-size: 14px; font-weight: 500; color: var(--brand); }
.link-btn:hover { text-decoration: underline; }
.link-muted { font-size: 14px; font-weight: 500; color: #a1a1aa; }
.link-muted:hover { color: #b91c1c; }

.item-row {
  display: flex; gap: 12px; padding: 12px; border: 1px solid #f4f4f5; border-radius: 10px; margin-bottom: 8px;
}
.item-row.inactive { opacity: 0.5; }
.item-row .thumb { width: 56px; height: 56px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: #f4f4f5; }
.item-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.item-row .thumb .no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #a1a1aa; font-size: 11px; text-align: center; }
.item-row .info { flex: 1; }
.item-row .info .name { font-size: 14px; font-weight: 600; margin: 0; }
.item-row .info .desc { font-size: 12px; color: #71717a; margin: 2px 0 0; }
.item-row .info .allergen { font-size: 12px; color: #d97706; margin: 2px 0 0; }
.item-row .info .price-line { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; font-size: 12px; color: #52525b; }
.item-row .info .price-line strong { color: #18181b; }
.item-row .actions { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 12px; }
.item-row .actions button { font-weight: 500; color: #52525b; }
.item-row .actions button:hover { color: var(--brand); }
.item-row .actions button.del { color: #a1a1aa; }

.form-block { border: 1px solid #f4f4f5; border-radius: 12px; padding: 16px; background: #fafafa; margin-bottom: 12px; }
.form-grid { display: grid; gap: 10px; }
.form-grid label { font-size: 12px; font-weight: 600; color: #52525b; }
.form-grid label small { display: block; color: #a1a1aa; font-weight: 400; margin-top: 2px; }
.variant-row { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.variant-row .input { flex: 2; }
.variant-row .input.price { flex: 1; }
.variant-row .remove { color: #a1a1aa; padding: 4px 8px; }
.variant-row .remove:hover { color: #b91c1c; }
.form-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }

.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #52525b; }

/* ------- Login ------- */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; background: linear-gradient(135deg, var(--brand-tint-50), #fafafa); }
.login-card { background: #fff; padding: 32px; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); width: 100%; max-width: 380px; }
.login-card h1 { margin: 0 0 6px; font-size: 22px; text-align: center; }
.login-card p { margin: 0 0 24px; text-align: center; color: #71717a; font-size: 14px; }
.login-card .field { margin-bottom: 12px; }
.login-card label { display: block; font-size: 12px; font-weight: 600; color: #52525b; margin-bottom: 4px; }
.login-card .input { width: 100%; }
.login-card .btn { width: 100%; justify-content: center; margin-top: 4px; }
.login-card .err { color: #b91c1c; font-size: 13px; text-align: center; margin: 8px 0 0; min-height: 18px; }
.login-hint { font-size: 12px; color: #a1a1aa; text-align: center; margin-top: 16px; }

/* ------- Admin: upload UI ------- */
.upload-field { display: block; }
.upload-row { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.upload-row .input { flex: 1; }
.upload-btn { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; }
.upload-preview { margin-top: 8px; }
.upload-preview img { max-width: 140px; max-height: 100px; border-radius: 8px; border: 1px solid #e4e4e7; object-fit: cover; display: block; }
.upload-preview .muted { color: #a1a1aa; font-size: 12px; }
.banner-preview { margin: 8px 0 16px; }
.banner-preview img { width: 100%; max-height: 140px; object-fit: cover; border-radius: 12px; border: 1px solid #e4e4e7; display: block; }
.save-status { position: fixed; bottom: 16px; right: 16px; padding: 8px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; box-shadow: 0 6px 20px rgba(0,0,0,0.15); background: #fff; color: #333; z-index: 100; transition: opacity .2s; opacity: 0; }
.save-status:empty { opacity: 0; }
.save-status:not(:empty) { opacity: 1; }
.save-status[data-kind="pending"] { background: #fef3c7; color: #92400e; }
.save-status[data-kind="ok"] { background: #d1fae5; color: #065f46; }
.save-status[data-kind="err"] { background: #fee2e2; color: #991b1b; }
