:root {
  --primary: #ffd400;
  --primary-dark: #111111;
  --surface: rgba(255,255,255,.88);
  --bg: #fff8df;
  --text: #111827;
  --muted: #6b7280;
  --line: rgba(17,17,17,.10);
}

html { font-size: 15px; }
body {
  min-height: 100vh;
  background: #ffffff;
  color: var(--text);
}

.topbar {
  backdrop-filter: blur(16px);
  background: rgba(5,5,5,.92);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.navbar-brand,
.nav-link,
.topbar .btn-outline-light {
  color: #fff !important;
}
.nav-link { opacity: .88; }
.nav-link:hover { opacity: 1; }

.app-navbar{
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand-wrap{
  gap: 12px;
}

.brand-text{
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  white-space: nowrap;
}

.brand-logo {
  width: 240px;
  height: 78px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  border: 0;
  background: transparent;
  display: block;
}

@media (max-width: 991.98px) {
  .brand-logo {
    width: 210px;
    height: 68px;
  }
  .brand-text{
    font-size: 1.35rem;
  }
  .app-navbar{
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

@media (max-width: 575.98px) {
  .brand-logo {
    width: 170px;
    height: 56px;
  }
  .brand-text{
    font-size: 1.12rem;
  }
}

.hero-surface,
.content-card,
.form-card,
.stat-card,
.qr-panel {
  background: var(--surface);
  border-radius: 28px;
  box-shadow: 0 24px 48px rgba(15,23,42,.08);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.hero-surface,
.content-card,
.form-card,
.stat-card,
.qr-panel { padding: 24px; }
.hero-surface { padding: 32px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(255,212,0,.16);
  font-size: .82rem;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  box-shadow: 0 18px 34px rgba(255,212,0,.26);
}
.btn-primary:hover { opacity: .96; }
.btn-soft {
  background: rgba(255,212,0,.16);
  color: var(--primary-dark);
  border: 1px solid rgba(255,212,0,.22);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}

.icon-badge {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,212,0,.18), rgba(0,0,0,.08));
  color: var(--primary-dark);
  font-size: 1.2rem;
}

.phone-stage {
  position: relative;
  max-width: 360px;
}
.phone-glow {
  position: absolute;
  inset: 20px -30px -30px 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,212,0,.26), transparent 62%);
  filter: blur(22px);
}
.phone-frame {
  position: relative;
  padding: 12px;
  background: linear-gradient(160deg, #111827, #1f2937);
  border-radius: 42px;
  box-shadow: 0 30px 60px rgba(15,23,42,.26);
}
.phone-notch {
  width: 120px;
  height: 24px;
  border-radius: 999px;
  background: #0b1120;
  margin: 0 auto 12px;
}
.phone-screen {
  border-radius: 30px;
  background: linear-gradient(180deg, #111827 0, #1e293b 18%, #f8fafc 18%, #f8fafc 100%);
  min-height: 560px;
  padding: 16px;
  overflow: hidden;
}
.demo-chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
}
.demo-category-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 10px;
}
.demo-category-card {
  min-height: 94px;
  border-radius: 18px;
  display: flex;
  align-items: end;
  padding: 12px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #facc15, #111111);
  box-shadow: 0 16px 24px rgba(124,58,237,.18);
}
.demo-category-card.active { background: linear-gradient(135deg, #ffd400, #111111); }
.demo-product-list { display: grid; gap: 10px; }
.demo-product-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
}

.category-stack { display: grid; gap: 12px; }
.category-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: rgba(248,250,252,.9);
}
.category-row-image,
.category-cover {
  background-size: cover;
  background-position: center;
}
.category-row-image {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  flex-shrink: 0;
}
.category-cover {
  height: 180px;
}
.product-mini-list { display: grid; gap: 12px; }
.product-mini-item,
.product-admin-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(248,250,252,.96);
  border: 1px solid rgba(226,232,240,.9);
}
.product-mini-item img,
.product-admin-card img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 18px;
  flex-shrink: 0;
}

.form-card .form-control,
.form-card .form-select,
.form-card .form-control-color,
.qr-panel .form-control,
.content-card .form-select {
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,.28);
}
textarea.form-control { min-height: auto !important; }

.table > :not(caption) > * > * { padding: 1rem .75rem; }

@media (max-width: 991px) {
  .navbar-collapse {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
}

@media (max-width: 767px) {
  .hero-surface,
  .content-card,
  .form-card,
  .stat-card,
  .qr-panel { border-radius: 22px; padding: 18px; }
  .hero-surface { padding: 22px; }
  .phone-frame { border-radius: 32px; }
  .phone-screen { min-height: 500px; }
  .product-admin-card { flex-direction: column; }
  .product-admin-card img { width: 100%; height: 220px; }
}

@media (max-width: 576px) {
  .brand-logo { width: 44px; height: 44px; }
}


.navbar-toggler {border:none;}
.navbar-toggler-icon {filter: invert(1);} 


.admin-no-image {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px dashed rgba(148,163,184,.65);
  color: #64748b;
  font-size: .78rem;
  font-weight: 700;
  text-align: center;
}
