/* ZEBBO reference shell — visual only. Existing Seller Web behavior stays unchanged. */
:root {
  --zebbo-red: #e00020;
  --zebbo-red-dark: #c6001b;
  --zebbo-yellow: #ffd21c;
  --zebbo-ink: #231f20;
  --zebbo-soft: #f7f3f4;
}

body {
  background: linear-gradient(145deg, #c7001d 0%, #e00020 45%, #f0263f 100%) fixed;
  color: var(--zebbo-ink);
}

#app {
  min-height: 100vh;
  padding-bottom: 28px;
}

.topbar {
  position: sticky;
  top: 0;
  min-height: 132px;
  padding: 24px max(24px, calc((100vw - 1180px) / 2)) 46px;
  border: 0;
  background: linear-gradient(135deg, #c9001c 0%, #e00020 58%, #ef2940 100%);
  color: #fff;
  box-shadow: none;
}

.topbar h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.topbar .eyebrow,
.topbar p,
.topbar strong,
.topbar small {
  color: #fff;
}

.topbar .eyebrow {
  opacity: .8;
}

.topbar-actions {
  max-width: 420px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}

.auto-print-toggle {
  color: #fff;
}

.app-nav {
  position: sticky;
  top: 96px;
  z-index: 20;
  width: min(760px, calc(100% - 32px));
  margin: -28px auto 0;
  padding: 7px;
  gap: 4px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(63, 0, 9, .18);
  overflow-x: auto;
}

.app-nav button {
  min-height: 44px;
  border-radius: 999px;
  color: #746b6e;
  font-size: .86rem;
}

.app-nav button.active {
  color: var(--zebbo-red);
  background: #fff1f3;
  box-shadow: inset 0 0 0 1px #ffd3da;
}

.content,
.dashboard,
.store-settings,
.notice {
  width: min(1180px, calc(100% - 32px));
}

.content,
.dashboard {
  margin: 18px auto 80px;
  padding: 26px;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(73, 0, 11, .12);
}

.dashboard {
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
}

.dashboard > section > h2,
.content > h2,
.section-head h2 {
  color: var(--zebbo-ink);
  font-size: 1.45rem;
  letter-spacing: -.02em;
}

.panel,
.order-card,
.product-card,
.metrics article,
.empty,
.store-settings {
  border-color: #eee4e7;
  box-shadow: 0 7px 22px rgba(22, 10, 14, .045);
}

.order-card,
.panel,
.product-card,
.metrics article {
  border-radius: 22px;
}

.order-card.paid {
  border-color: #b9e4cb;
}

.order-card:first-of-type {
  border-color: #f1bd00;
}

.order-card:first-of-type .order-head {
  margin: -18px -18px 14px;
  padding: 18px;
  border-radius: 22px 22px 0 0;
  background: var(--zebbo-yellow);
}

.primary {
  background: var(--zebbo-red);
}

.secondary {
  border-color: #e4d9dc;
}

.chips span {
  background: #f7f1f3;
}

.metrics article:first-child {
  background: var(--zebbo-yellow);
  border-color: #f1bd00;
}

.notice {
  margin-top: 16px;
  border-radius: 18px;
}

.auth-card {
  margin-top: 7vh;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(65,0,10,.22);
}

@media (max-width: 850px) {
  .topbar {
    position: static;
    min-height: 148px;
    padding: 22px 18px 48px;
    align-items: flex-start;
  }

  .topbar-actions {
    width: 100%;
  }

  .app-nav {
    top: 8px;
    justify-content: flex-start;
    margin-top: -28px;
  }

  .content,
  .dashboard {
    width: calc(100% - 20px);
    padding: 18px;
    border-radius: 26px;
  }

  .dashboard {
    grid-template-columns: 1fr;
  }
}

@media print {
  body {
    background: #fff !important;
  }
}
