/* NOBON website — additions on top of the theme style.css
   (business-login nav, pricing, download page, retailer dashboard). */

/* ── Business login in nav ── */
.nav-business {
  font-size: 13px; font-weight: 600; color: var(--navy) !important;
  border: 1px solid var(--blue-soft); padding: 8px 16px; border-radius: 8px;
  transition: background .2s, border-color .2s;
}
.nav-business:hover { background: var(--blue-bg); border-color: var(--blue-accent); }

/* ── Generic page intro (reuses .page-header from theme) ── */
.lead { font-size: 17px; color: var(--text-mid); line-height: 1.7; }

/* ── Voor winkels — value grid + pricing ── */
.retail-value { padding: 72px 0; }
.retail-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 1000px; margin: 0 auto; padding: 0 48px;
}
.retail-card {
  padding: 28px; background: var(--off-white);
  border-radius: var(--radius-lg); border: 1px solid var(--border);
}
.retail-card .feature-icon { margin-bottom: 14px; }
.retail-card h3 { font-family: 'DM Sans', sans-serif; font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.retail-card p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

.pricing { padding: 72px 0; background: var(--off-white); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 1000px; margin: 0 auto; padding: 0 48px;
}
.price-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--navy); box-shadow: 0 12px 40px rgba(13,27,62,.12); }
.price-name { font-family: 'DM Sans', sans-serif; font-weight: 600; color: var(--navy); font-size: 16px; }
.price-amount { font-family: 'Playfair Display', serif; font-size: 38px; color: var(--navy); margin: 10px 0 2px; }
.price-amount small { font-size: 14px; color: var(--text-light); font-family: 'DM Sans', sans-serif; }
.price-card ul { list-style: none; margin: 18px 0 24px; }
.price-card li { font-size: 14px; color: var(--text-mid); padding: 7px 0 7px 24px; position: relative; }
.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--blue-accent); font-weight: 700; }
.price-card .btn-primary, .price-card .btn-secondary { width: 100%; justify-content: center; margin-top: auto; }

/* ── CTA band ── */
.cta-band { background: var(--navy); padding: 64px 48px; text-align: center; }
.cta-band h2 { color: var(--white); font-size: 30px; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.6); margin-bottom: 28px; }

/* ── Download page ── */
.download-hero { padding: 80px 48px; text-align: center; max-width: 720px; margin: 0 auto; }
.download-hero h1 { font-size: 40px; color: var(--navy); margin-bottom: 16px; }
.download-hero p { font-size: 17px; color: var(--text-mid); margin-bottom: 32px; }
.store-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: var(--white);
  padding: 14px 24px; border-radius: 12px; font-weight: 600; font-size: 15px;
  transition: background .2s;
}
.store-badge:hover { background: var(--navy-light); }
.store-badge small { display: block; font-size: 10px; font-weight: 400; opacity: .7; }
.store-badge .badge-icon { font-size: 24px; }

/* ── Retailer dashboard ── */
.dash-wrap { min-height: 100vh; background: var(--blue-bg); }

.dash-login {
  max-width: 380px; margin: 0 auto; padding: 64px 24px;
}
.dash-login .login-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 32px; box-shadow: 0 12px 40px rgba(13,27,62,.10);
}
.dash-login .brand {
  display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 8px;
}
.dash-login .brand img { width: 36px; height: 36px; border-radius: 8px; }
.dash-login .brand span { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; letter-spacing: 2px; color: var(--navy); }
.dash-login h1 { font-family: 'DM Sans', sans-serif; font-size: 18px; text-align: center; color: var(--navy); margin: 14px 0 4px; }
.dash-login p.sub { text-align: center; font-size: 13px; color: var(--text-light); margin-bottom: 22px; }
.dash-login label { font-size: 12px; font-weight: 600; color: var(--text-mid); display: block; margin-bottom: 6px; }
.dash-login input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 8px; font-family: inherit; font-size: 14px; margin-bottom: 16px;
}
.dash-login input:focus { border-color: var(--navy); outline: none; }
.dash-login button { width: 100%; justify-content: center; }
.dash-error { color: #c0392b; font-size: 13px; margin: 4px 0 14px; min-height: 18px; }
.dash-hint { text-align: center; font-size: 12px; color: var(--text-light); margin-top: 16px; }
.dash-hint a { color: var(--blue-accent); }

.dash-topbar {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white); padding: 16px 32px; border-bottom: 1px solid var(--border);
}
.dash-topbar .brand { display: flex; align-items: center; gap: 10px; }
.dash-topbar .brand img { width: 30px; height: 30px; border-radius: 7px; }
.dash-topbar .brand span { font-family: 'Playfair Display', serif; font-weight: 700; letter-spacing: 2px; color: var(--navy); }
.dash-topbar .store-name { font-size: 14px; color: var(--text-mid); }
.dash-logout { font-size: 13px; font-weight: 600; color: var(--text-mid); background: none; border: 1px solid var(--border); padding: 8px 16px; border-radius: 8px; cursor: pointer; }
.dash-logout:hover { border-color: var(--navy); color: var(--navy); }

.dash-body { max-width: 1000px; margin: 0 auto; padding: 32px 24px 64px; }
.dash-body h2 { font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--text-mid); font-weight: 600; margin: 28px 0 14px; }

.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dash-stat { background: var(--white); border-radius: var(--radius-lg); padding: 22px; border: 1px solid var(--border); }
.dash-stat .val { font-family: 'Playfair Display', serif; font-size: 32px; color: var(--navy); }
.dash-stat .lbl { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.dash-stat .sub { font-size: 11px; color: var(--blue-accent); margin-top: 6px; }

.dash-panel { background: var(--white); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--border); }

/* Simple bar chart for monthly stats */
.chart { display: flex; align-items: flex-end; gap: 12px; height: 180px; padding-top: 10px; }
.chart .bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.chart .bar { width: 100%; max-width: 48px; background: var(--blue-accent); border-radius: 6px 6px 0 0; transition: height .4s; min-height: 2px; }
.chart .bar-lbl { font-size: 11px; color: var(--text-light); }
.chart .bar-val { font-size: 11px; color: var(--navy); font-weight: 600; }

/* Product list */
.product-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }
.product-row:last-child { border-bottom: none; }
.product-row .name { font-size: 14px; color: var(--text-dark); }
.product-row .count { font-size: 13px; color: var(--text-light); font-weight: 600; }
.dash-empty { text-align: center; color: var(--text-light); font-size: 14px; padding: 40px 0; }

.dash-loading { text-align: center; padding: 80px 0; color: var(--text-light); }

@media (max-width: 900px) {
  .retail-grid, .pricing-grid { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .dash-stats { grid-template-columns: 1fr; }
}
