/* ============================================================
   OurShopsZim — Main CSS
   Brand: Navy #0A2472 | Coral #E63946 | Gold #f5c842
   Font: Inter
   ============================================================ */

:root {
  /* Fignoc / OurShopsZim brand (global) */
  --navy:         #0A2472;
  --navy-dark:    #061840;
  --navy-mid:     #12358a;
  --navy-light:   #f3f4f6;
  --red:          #E63946;
  --red-dark:     #c72535;
  --red-light:    #fff0f1;
  --gold:         #f5c842;
  --gold-dark:    #e0b430;
  --gold-light:   #fefce8;
  /* Semantic aliases — prefer these in new components */
  --brand-primary:   var(--navy);
  --brand-accent:    var(--red);
  --brand-highlight: var(--red);
  --page-bg:      #f7f7f8;
  --card-bg:      #ffffff;
  --text-primary: #0A2472;
  --text-secondary:#475569;
  --text-muted:   #64748b;
  --border:       #e5e7eb;
  --border-dark:  #cbd5e1;
  --success:      #16a34a;
  --warning:      #d97706;
  --info:         #2563eb;
  --radius-sm:    6px;
  --radius:       10px;
  --radius-lg:    16px;
  --shadow-sm:    0 1px 3px rgba(6, 24, 64, 0.06);
  --shadow:       0 4px 20px rgba(6, 24, 64, 0.08);
  --shadow-lg:    0 12px 40px rgba(6, 24, 64, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }

html { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }

body {
  background: var(--page-bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* guard public pages against sideways scroll on mobile; clip (not hidden) keeps position:sticky working */
}

.font-inter { font-family: 'Inter', sans-serif; }

/* ---- Typography ---- */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }

/* ---- Layout utilities ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(0.75rem, 3vw, 1rem); }
.container-sm { max-width: 960px; margin: 0 auto; padding: 0 1rem; }
.bg-page { background: var(--page-bg); }
.bg-navy { background: var(--navy); }
.bg-navy-dark { background: var(--navy-dark); }
.text-navy { color: var(--navy); }
.text-navy-dark { color: var(--navy-dark); }
.text-navy-light { color: var(--navy-light); }
.text-red { color: var(--red); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

/* ---- Cards ---- */
.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}
.card-body { padding: 1.5rem; }
.card-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-primary   { background: var(--navy);  color: #fff; }
.btn-primary:hover { background: var(--navy-dark); color: #fff; }
.btn-red       { background: var(--red);   color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
/* Legacy alias — maps to primary navy (gold retired on public site) */
.btn-gold      { background: var(--navy); color: #fff; }
.btn-gold:hover{ background: var(--navy-dark); color: #fff; }
.btn-outline   { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-red { background: transparent; color: var(--red); border: 1.5px solid var(--red); }
.btn-outline-red:hover { background: var(--red); color: #fff; }
.btn-ghost     { background: transparent; color: var(--navy); }
.btn-ghost:hover{ background: var(--navy-light); }
.btn-sm        { padding: 0.35rem 0.85rem; font-size: 0.8rem; }
.btn-lg        { padding: 0.75rem 2rem; font-size: 1rem; }
.btn-xl        { padding: 1rem 2.5rem; font-size: 1.1rem; border-radius: var(--radius-lg); }

/* ---- Forms ---- */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  font-family: inherit;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10, 36, 114, 0.12);
}
.form-input.error, .form-select.error, .form-textarea.error {
  border-color: var(--red);
}
.form-error {
  font-size: 0.8rem;
  color: var(--red);
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }
.form-textarea { resize: vertical; min-height: 100px; }

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}
.badge-navy    { background: var(--navy-light); color: var(--navy); }
.badge-red     { background: var(--red-light);  color: var(--red); }
.badge-gold    { background: var(--gold-light); color: #854d0e; }
.badge-green   { background: #dcfce7;           color: #15803d; }
.badge-gray    { background: #f1f5f9;           color: #475569; }
.badge-purple  { background: #f3e8ff;           color: #7e22ce; }
.badge-verify  { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy); }

/* ---- Flash Messages ---- */
.messages-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 380px;
  width: 90vw;
}
.flash-message {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  border: 1px solid transparent;
  animation: slideIn 0.3s ease;
}
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.flash-success { background: #f0fdf4; color: #15803d; border-color: #86efac; }
.flash-error   { background: var(--red-light); color: var(--red); border-color: #fca5a5; }
.flash-warning { background: var(--gold-light); color: #92400e; border-color: #fcd34d; }
.flash-info    { background: #f3f4f6; color: #374151; border-color: #d1d5db; }

/* ---- Navigation ---- */
.public-nav {
  background: #fff;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}
.public-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 2px 10px rgba(10, 36, 114, 0.2);
}
.public-nav .nav-logo-text { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.public-nav .nav-logo-text span { color: var(--red); }
.nav-logo-text { font-size: 1.15rem; font-weight: 800; color: #fff; }
.nav-logo-text span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.public-nav .nav-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: all 0.15s;
  text-decoration: none;
}
.public-nav .nav-links a:hover,
.public-nav .nav-links a.active {
  color: var(--navy);
  background: var(--navy-light);
}
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--page-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--navy);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}
.mobile-menu-btn:hover { background: var(--navy-light); border-color: var(--border-dark); }

/* ---- Hero Section ---- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #2d3e80 100%);
  color: #fff;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E");
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245,200,66,0.15);
  color: var(--gold);
  border: 1px solid rgba(245,200,66,0.3);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; }
.hero h1 span { color: var(--gold); }
.hero-sub { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 560px; margin: 1rem 0 2rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---- KPI Cards ---- */
.kpi-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.kpi-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.kpi-icon-navy  { background: var(--navy-light); color: var(--navy); }
.kpi-icon-red   { background: var(--red-light);  color: var(--red); }
.kpi-icon-gold  { background: var(--gold-light); color: #92400e; }
.kpi-icon-green { background: #dcfce7;           color: #15803d; }
.kpi-label  { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; margin-bottom: 0.2rem; }
.kpi-value  { font-size: 1.6rem; font-weight: 700; color: var(--navy); line-height: 1; }
.kpi-meta   { font-size: 0.78rem; color: var(--text-secondary); margin-top: 0.2rem; }

/* ---- Product Cards ---- */
.product-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #f1f5f9;
  display: block;
}
.product-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #eef2ff 0%, #dde4ff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--navy);
}
.product-img-placeholder i { font-size: 2.1rem; opacity: 0.55; }
.product-img-placeholder__brand {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.5;
}
.product-body { padding: 1rem; }
.product-shop {
  font-size: 0.75rem; color: var(--text-muted); font-weight: 500; margin-bottom: 0.25rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.product-name {
  font-weight: 600; font-size: 0.9rem; line-height: 1.3; color: var(--navy); margin-bottom: 0.5rem;
  /* Clamp to 2 lines so cards keep an even height in the grid */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.34em;
}
.product-price { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.product-price-sale { color: var(--red); }
.product-price-original { color: var(--text-muted); text-decoration: line-through; font-size: 0.8rem; font-weight: 400; }
.product-badges { display: flex; gap: 0.3rem; flex-wrap: wrap; margin-top: 0.5rem; }
.promo-label {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 1;
}
.promo-featured { background: var(--gold); color: var(--navy); }
.promo-promoted { background: var(--red); color: #fff; }
.promo-sale     { background: var(--red); color: #fff; }
/* Tighten product cards on small screens (2-up grids) */
@media (max-width: 520px) {
  .product-body { padding: 0.65rem 0.7rem; }
  .product-name { font-size: 0.82rem; margin-bottom: 0.35rem; min-height: 2.13em; }
  .product-price { font-size: 0.95rem; }
  .promo-label { font-size: 0.62rem; padding: 0.15rem 0.45rem; top: 0.45rem; left: 0.45rem; }
}

/* ---- Tables ---- */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  background: #f8fafc;
  padding: 0.7rem 1rem;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1.5px solid var(--border);
  white-space: nowrap;
}
.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-secondary);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #f8fafc; }
.table-responsive { overflow-x: auto; }

/* ---- Status Pills ---- */
.status { padding: 0.2rem 0.65rem; border-radius: 100px; font-size: 0.72rem; font-weight: 600; white-space: nowrap; }
.status-new        { background:#e0f2fe; color:#0369a1; }
.status-accepted   { background:#dcfce7; color:#15803d; }
.status-processing { background:#fef3c7; color:#92400e; }
.status-packed     { background:#dbeafe; color:#1e40af; }
.status-delivered  { background:#dcfce7; color:#15803d; }
.status-completed  { background:#dcfce7; color:#065f46; }
.status-cancelled  { background:#fee2e2; color:#b91c1c; }
.status-rejected   { background:#fee2e2; color:#b91c1c; }
.status-pending    { background:#fef3c7; color:#92400e; }
.status-approved   { background:#dcfce7; color:#15803d; }
.status-suspended  { background:#fee2e2; color:#b91c1c; }
.status-paid       { background:#dcfce7; color:#15803d; }
.status-failed     { background:#fee2e2; color:#b91c1c; }

/* ---- Empty State ---- */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}
.empty-state-icon {
  font-size: 3rem;
  color: var(--border-dark);
  margin-bottom: 1rem;
}
.empty-state h3 { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 0.5rem; }
.empty-state p  { font-size: 0.875rem; margin-bottom: 1.5rem; }

/* ---- Grid Utilities ---- */
.grid-products  { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; }
.grid-shops     { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.grid-categories{ display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; }
.grid-kpi       { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }

/* ---- Pagination ---- */
.pagination { display: flex; align-items: center; gap: 0.3rem; flex-wrap: wrap; }
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  background: var(--card-bg);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.15s;
}
.page-btn:hover { border-color: var(--navy); color: var(--navy); }
.page-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.page-btn.disabled { opacity: 0.4; pointer-events: none; }

/* ---- Footer ---- */
.site-footer {
  background: linear-gradient(180deg, var(--navy-dark) 0%, #04102a 100%);
  color: rgba(255,255,255,0.78);
  padding: 0;
  position: relative;
  margin-top: auto;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-mid) 0%, var(--red) 40%, var(--gold) 80%, var(--navy-mid) 100%);
  pointer-events: none;
}

/* ---- Footer CTA strip ---- */
.footer-cta-strip {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  position: relative;
  overflow: hidden;
}

.footer-cta-strip::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.footer-cta-copy { display: flex; flex-direction: column; gap: 0.28rem; min-width: 0; }
.footer-cta-headline { font-size: clamp(1rem, 2.5vw, 1.15rem); font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.footer-cta-sub { font-size: clamp(0.8rem, 1.8vw, 0.86rem); color: rgba(255,255,255,0.72); max-width: 36rem; line-height: 1.55; }

/* ---- Footer main body ---- */
.footer-body { padding: 3rem 0 2.25rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem 2rem;
}

/* ---- Brand column ---- */
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.62);
  max-width: 300px;
  margin: 0.85rem 0 0;
  line-height: 1.65;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}
.footer-logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--navy-mid), var(--red));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.site-footer .footer-logo .nav-logo-text { color: #fff; }
.site-footer .footer-logo .nav-logo-text span { color: var(--red); }
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 1.15rem;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  transition: color 0.15s;
  min-height: 32px;
}
.footer-contact-item:hover { color: rgba(255,255,255,0.95); }
.footer-contact-item i { width: 16px; text-align: center; flex-shrink: 0; }
.footer-social {
  display: flex;
  gap: 0.45rem;
  margin-top: 1.15rem;
  flex-wrap: wrap;
}
.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.15s;
}
.footer-social-link:hover {
  background: rgba(230, 57, 70, 0.15);
  border-color: rgba(230, 57, 70, 0.35);
  color: #fff;
  transform: translateY(-1px);
}
.footer-social-wa:hover {
  background: rgba(37,211,102,0.12);
  border-color: rgba(37,211,102,0.3);
  color: #25d366;
}

/* ---- Link columns ---- */
.footer-col { min-width: 0; }
.footer-heading {
  position: relative;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.9rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
/* Brand accent under each footer heading */
.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.48rem; }
.footer-links a {
  color: rgba(255,255,255,0.68);
  font-size: 0.87rem;
  text-decoration: none;
  transition: color 0.15s, padding-left 0.15s;
  display: inline-block;
  padding: 0.12rem 0;
  min-height: 28px;
  line-height: 1.4;
}
.footer-links a:hover { color: var(--red); padding-left: 0.2rem; }

/* ---- Footer bottom bar ---- */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 0 calc(1.25rem + env(safe-area-inset-bottom, 0px));
  background: rgba(0, 0, 0, 0.12);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.footer-copyright { margin: 0; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 0.65rem 1.1rem; }
.footer-legal-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.15s;
  padding: 0.2rem 0;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.footer-legal-links a:hover { color: rgba(255,255,255,0.85); }
.footer-made-in { margin: 0; font-weight: 600; color: rgba(255,255,255,0.58); white-space: nowrap; }

/* ---- Footer responsive ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 2rem 1.5rem; }
  .footer-grid > .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: none; }
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.25rem; }
  .footer-cta-inner { flex-direction: column; align-items: stretch; gap: 0.9rem; }
  .footer-cta-btn { width: 100%; justify-content: center; }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.55rem;
  }
  .footer-legal-links { justify-content: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-body { padding: 2.25rem 0 1.75rem; }
  .footer-cta-strip { padding: 1.25rem 0; }
  .footer-heading { margin-bottom: 0.65rem; }
  .footer-social-link { width: 40px; height: 40px; }
}

/* ---- Sidebar ---- */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 256px;
  background: var(--navy-dark);
  z-index: 40;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: transform 0.3s ease;
}
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.25rem 1.25rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
}
.sidebar-logo-mark {
  width: 34px;
  height: 34px;
  background: var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--navy);
  flex-shrink: 0;
}
.sidebar-logo-text { font-size: 0.95rem; font-weight: 800; color: #fff; }
.sidebar-logo-sub  { font-size: 0.7rem; color: rgba(255,255,255,0.4); font-weight: 400; }
.sidebar-section { padding: 1rem 1rem 0.25rem; }
.sidebar-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.4rem;
  padding: 0 0.25rem;
}
.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.15s;
  margin-bottom: 0.1rem;
  position: relative;
}
.sidebar-nav-item i { width: 18px; text-align: center; font-size: 0.9rem; opacity: 0.8; flex-shrink: 0; }
.sidebar-nav-item:hover { background: rgba(255,255,255,0.08); color: #fff; }
.sidebar-nav-item.active {
  background: rgba(245,200,66,0.15);
  color: var(--gold);
  font-weight: 600;
}
.sidebar-nav-item.active i { opacity: 1; }
.sidebar-badge {
  margin-left: auto;
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 100px;
  min-width: 18px;
  text-align: center;
}
.sidebar-user {
  padding: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}
.sidebar-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.sidebar-user-name { font-size: 0.8rem; font-weight: 600; color: #fff; }
.sidebar-user-role { font-size: 0.7rem; color: rgba(255,255,255,0.4); }

/* ---- Modals ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-body { padding: 1.5rem; }
.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* ---- Shop card ---- */
.shop-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.shop-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.shop-banner {
  height: 80px;
  background: linear-gradient(135deg, var(--navy) 0%, #2d3e80 100%);
  position: relative;
}
.shop-logo-wrap {
  position: absolute;
  bottom: -20px;
  left: 1rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 2.5px solid #fff;
  overflow: hidden;
  background: var(--navy-light);
}
.shop-logo { width: 100%; height: 100%; object-fit: cover; }
.shop-info { padding: 1.5rem 1rem 1rem; }
.shop-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.25rem; }
.shop-location { font-size: 0.78rem; color: var(--text-muted); }
.shop-badges { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-top: 0.5rem; }
.verify-badge { font-size: 0.7rem; font-weight: 600; padding: 0.15rem 0.5rem; border-radius: 100px; background: var(--gold-light); color: #854d0e; }
.verify-badge.blue { background: var(--navy-light); color: var(--navy); }

/* ---- POS Specific ---- */
.pos-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1rem;
  height: calc(100vh - 64px);
}
.pos-products { overflow-y: auto; padding: 1rem; }
.pos-basket {
  background: var(--card-bg);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.pos-basket-items { flex: 1; overflow-y: auto; padding: 1rem; }
.pos-basket-footer { padding: 1rem; border-top: 1px solid var(--border); }
.pos-product-btn {
  padding: 0.85rem;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
  width: 100%;
}
.pos-product-btn:hover { border-color: var(--navy); background: var(--navy-light); }
.pos-product-name { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.pos-product-price { font-size: 1rem; font-weight: 700; color: var(--navy); margin-top: 0.2rem; }
.pos-product-stock { font-size: 0.75rem; color: var(--text-muted); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
    width: min(var(--dash-sidebar-width), 88vw);
  }
  .sidebar.open { transform: translateX(0); }
  .mobile-menu-btn { display: flex; }
  .nav-links { display: none; }
  .pos-layout { grid-template-columns: 1fr; }
  .pos-basket { display: none; }
}
@media (max-width: 640px) {
  .grid-products  { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .grid-kpi       { grid-template-columns: repeat(2, 1fr); }
  .kpi-value      { font-size: 1.3rem; }
  .btn-xl         { padding: 0.85rem 1.5rem; font-size: 1rem; }
  .hero           { padding: 3rem 0 2.5rem; }
}
/* Phones: one product per row for a clean, tappable layout */
@media (max-width: 520px) {
  .grid-products  { grid-template-columns: 1fr; gap: 0.85rem; }
}

/* ============================================================
   MARKETING PAGES — modern public-site components
   ============================================================ */

/* ---- Section scaffolding ---- */
.mkt-section { padding: 5.5rem 0; }
.mkt-section-tight { padding: 3.5rem 0; }
.mkt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.85rem;
}
.mkt-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.mkt-eyebrow.centered { justify-content: center; }
.mkt-eyebrow.centered::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.mkt-h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
}
.mkt-lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
}
.mkt-center { text-align: center; }
.mkt-center .mkt-lead { margin-left: auto; margin-right: auto; }

/* ============================================================
   LANDING PAGE v3 — light "clinic-style" layout
   ============================================================ */

/* ---- Top info bar ---- */
.topbar {
  background: #fff;
  color: var(--text-secondary);
  font-size: 0.78rem;
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  gap: 0.75rem;
}
.topbar-left { display: flex; align-items: center; gap: 1.25rem; min-width: 0; }
.topbar-left span { display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar-left i { color: var(--navy); font-size: 0.8rem; }
.topbar-left a { color: var(--text-secondary); }
.topbar-left a:hover { color: var(--navy); }
.topbar-social { display: flex; align-items: center; gap: 0.9rem; }
.topbar-social a { color: var(--text-muted); font-size: 0.85rem; transition: color 0.15s; }
.topbar-social a:hover { color: var(--navy); }

/* ---- Light hero ---- */
.lp-hero {
  position: relative;
  background:
    radial-gradient(ellipse 50% 65% at 88% 8%, rgba(245,200,66,0.18), transparent 60%),
    radial-gradient(ellipse 40% 50% at 4% 95%, rgba(212,43,43,0.07), transparent 60%),
    linear-gradient(180deg, #f4f7ff 0%, #fdfdfd 100%);
  overflow: hidden;
}
.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26,43,94,0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 90% at 80% 30%, #000 20%, transparent 70%);
}
.lp-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 3rem;
  align-items: center;
  padding: 4.25rem 0 5rem;
}
.lp-hero-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; }
.lp-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 100px;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
}
.lp-pill i { color: var(--gold-dark); }
.lp-pill.green i { color: #16a34a; }
.lp-pill.red i { color: var(--red); }
.lp-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.028em;
  margin: 0 0 1.25rem;
}
.lp-hero h1 .accent {
  background: linear-gradient(110deg, var(--red), #e0633a 60%, var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lp-hero-sub {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.75;
  max-width: 540px;
  margin: 0 0 1.9rem;
}
.lp-hero-counters {
  display: flex;
  gap: 2.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.1rem;
}
.lp-counter .num {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
}
.lp-counter .num .plus { color: var(--red); }
.lp-counter .cap { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; margin-top: 0.35rem; }
.lp-hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; align-items: center; }
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}
.btn-play .ring {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  font-size: 0.95rem;
  transition: transform 0.2s;
}
.btn-play:hover .ring { transform: scale(1.08); }
.lp-hero-hotline {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.lp-hero-hotline .ic {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #dcfce7; color: #15803d;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.lp-hero-hotline strong { display: block; color: var(--navy); font-size: 1rem; }

/* ---- Hero visual: browser storefront mockup ---- */
.lp-visual { position: relative; display: none; }
.lp-browser {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px rgba(26,43,94,0.18);
  overflow: hidden;
  max-width: 460px;
  margin-left: auto;
}
.lp-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  background: #f4f6fb;
  border-bottom: 1px solid var(--border);
}
.lp-browser-dots { display: flex; gap: 5px; }
.lp-browser-dots span { width: 9px; height: 9px; border-radius: 50%; }
.lp-browser-dots span:nth-child(1) { background: #fc5f57; }
.lp-browser-dots span:nth-child(2) { background: #febc2e; }
.lp-browser-dots span:nth-child(3) { background: #28c840; }
.lp-browser-url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 0.28rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  overflow: hidden;
}
.lp-browser-url i { color: #16a34a; font-size: 0.65rem; }
.lp-shopfront { padding: 1.1rem 1.2rem 1.3rem; }
.lp-shopfront-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.lp-shopfront-logo {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), #31448f);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}
.lp-shopfront-name { font-weight: 800; font-size: 0.95rem; color: var(--navy); line-height: 1.2; }
.lp-shopfront-meta { font-size: 0.72rem; color: var(--text-muted); }
.lp-shopfront-meta .stars { color: var(--gold-dark); letter-spacing: 1px; }
.lp-products { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.lp-product {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.lp-product .ph {
  height: 64px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
}
.lp-product .pb { padding: 0.55rem 0.65rem 0.65rem; }
.lp-product .pn { font-size: 0.72rem; font-weight: 700; color: var(--navy); }
.lp-product .pp { font-size: 0.8rem; font-weight: 800; color: var(--red); margin-top: 0.1rem; }
.lp-product .pc {
  margin-top: 0.45rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-align: center;
  background: var(--gold);
  color: var(--navy);
  border-radius: 7px;
  padding: 0.3rem 0;
}

/* floating cards around the browser */
.lp-float {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(26,43,94,0.22);
  border: 1px solid var(--border);
  z-index: 2;
}
.lp-float-order {
  left: -28px;
  bottom: 84px;
  width: 232px;
  padding: 0.85rem 1rem;
  display: flex;
  gap: 0.7rem;
  align-items: center;
  animation: lpFloat 6.5s ease-in-out infinite;
}
.lp-float-order .ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: #dcfce7; color: #15803d;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lp-float-order .t1 { font-size: 0.78rem; font-weight: 800; color: var(--navy); }
.lp-float-order .t2 { font-size: 0.7rem; color: var(--text-muted); }
.lp-float-rating {
  right: -16px;
  top: -22px;
  padding: 0.7rem 1rem;
  text-align: center;
  animation: lpFloat 7s ease-in-out 1s infinite;
}
.lp-float-rating .score { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.lp-float-rating .stars { color: var(--gold-dark); font-size: 0.7rem; letter-spacing: 1.5px; }
.lp-float-rating .cap { font-size: 0.64rem; color: var(--text-muted); margin-top: 0.1rem; }
.lp-float-pos {
  left: 6px;
  top: 38px;
  padding: 0.6rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--navy);
  animation: lpFloat 5.5s ease-in-out 0.5s infinite;
}
.lp-float-pos i { color: var(--red); }
@keyframes lpFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

/* ---- Payment marquee ---- */
.lp-marquee {
  background: var(--navy);
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
}
.lp-marquee-track {
  display: flex;
  gap: 2.75rem;
  width: max-content;
  animation: lpMarquee 30s linear infinite;
}
.lp-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}
.lp-marquee-item i { color: var(--gold); }
@keyframes lpMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- About-style split with visual panel ---- */
.lp-panel {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 380px;
  background:
    radial-gradient(ellipse 80% 70% at 20% 15%, rgba(245,200,66,0.25), transparent 55%),
    linear-gradient(150deg, var(--navy-dark), var(--navy) 60%, #2c3d7d);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-panel .big-icon {
  font-size: 5.5rem;
  color: rgba(255,255,255,0.16);
}
.lp-panel-chip {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 14px 38px rgba(10,18,48,0.35);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
}
.lp-panel-chip i { font-size: 1rem; }
.lp-panel-badge {
  position: absolute;
  bottom: 1.4rem;
  left: 1.4rem;
  right: 1.4rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.lp-panel-badge .ic {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.lp-panel-badge .t1 { font-weight: 800; font-size: 0.92rem; }
.lp-panel-badge .t2 { font-size: 0.78rem; color: rgba(255,255,255,0.75); }

/* ---- Alternating feature rows ---- */
.lp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.lp-row + .lp-row { margin-top: 4.5rem; }
.lp-row .lp-panel { min-height: 320px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.4rem 0 1.6rem; }
.lp-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--navy-light);
  color: var(--navy);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.42rem 0.95rem;
}
.lp-chip i { font-size: 0.7rem; color: var(--red); }
.lp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--red);
}
.lp-link i { transition: transform 0.2s; }
.lp-link:hover i { transform: translateX(4px); }

/* ---- In-section CTA strip ---- */
.lp-strip {
  margin-top: 4.5rem;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 60% 100% at 90% 0%, rgba(245,200,66,0.25), transparent 55%),
    linear-gradient(120deg, var(--red-dark), var(--red));
  color: #fff;
  padding: 2.5rem 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.lp-strip h3 { color: #fff; font-size: 1.35rem; margin: 0 0 0.4rem; }
.lp-strip p { color: rgba(255,255,255,0.85); font-size: 0.92rem; margin: 0; max-width: 520px; }
.lp-strip .btn { flex-shrink: 0; }

/* ---- Search / explore section ---- */
.lp-search-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 2rem;
  max-width: 860px;
  margin: 0 auto 3rem;
}
.lp-search-form { display: flex; gap: 0.75rem; }
.lp-search-form .form-input { font-size: 1rem; padding: 0.85rem 1.1rem; border-radius: 12px; }
.lp-cat-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1.25rem; }
.lp-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.15s;
}
.lp-cat-pill:hover { border-color: var(--navy); color: var(--navy); background: var(--navy-light); }

/* ---- Profile-style cards (shops/categories) ---- */
.lp-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.lp-profile-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.lp-profile-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.lp-profile-cover {
  height: 92px;
  position: relative;
  background: linear-gradient(135deg, var(--navy), #31448f);
}
.lp-profile-avatar {
  position: absolute;
  bottom: -26px;
  left: 1.25rem;
  width: 56px; height: 56px;
  border-radius: 16px;
  border: 3px solid #fff;
  background: var(--gold);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  overflow: hidden;
}
.lp-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lp-profile-body { padding: 2.2rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.lp-profile-name { font-weight: 800; font-size: 1rem; color: var(--navy); margin: 0 0 0.2rem; }
.lp-profile-sub { font-size: 0.8rem; color: var(--text-muted); margin: 0 0 0.75rem; }
.lp-profile-stars { color: var(--gold-dark); font-size: 0.78rem; letter-spacing: 1.5px; margin-bottom: 1rem; }
.lp-profile-stars .count { color: var(--text-muted); letter-spacing: 0; font-weight: 600; margin-left: 0.3rem; }
.lp-profile-actions { display: flex; gap: 0.6rem; margin-top: auto; }
.lp-profile-actions .btn { flex: 1; justify-content: center; }

/* ---- Big CTA section ---- */
.lp-cta-hero {
  position: relative;
  background:
    radial-gradient(ellipse 55% 80% at 85% 15%, rgba(245,200,66,0.2), transparent 55%),
    linear-gradient(155deg, var(--navy-dark), var(--navy) 70%);
  color: #fff;
  text-align: center;
  padding: 5.5rem 0;
  overflow: hidden;
}
.lp-cta-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 20%, transparent 75%);
}
.lp-cta-hero .container { position: relative; z-index: 1; }
.lp-cta-hero h2 {
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.lp-cta-hero .lead { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 2.25rem; font-size: 1.05rem; line-height: 1.7; }
.lp-cta-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  text-align: center;
}
.lp-cta-trio .ic {
  width: 56px; height: 56px;
  border-radius: 16px;
  margin: 0 auto 1rem;
  background: rgba(245,200,66,0.15);
  border: 1px solid rgba(245,200,66,0.35);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.lp-cta-trio h3 { color: #fff; font-size: 1.02rem; margin: 0 0 0.45rem; }
.lp-cta-trio p { color: rgba(255,255,255,0.65); font-size: 0.88rem; line-height: 1.65; margin: 0; }

/* ---- WhatsApp action strip ---- */
.lp-wa-strip {
  background: linear-gradient(120deg, #128c4b, #25d366);
  color: #fff;
  padding: 2.75rem 0;
}
.lp-wa-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.lp-wa-strip h3 { color: #fff; font-size: 1.4rem; margin: 0 0 0.35rem; }
.lp-wa-strip p { color: rgba(255,255,255,0.88); margin: 0; font-size: 0.95rem; }

/* ---- Landing responsive ---- */
@media (min-width: 1024px) {
  .lp-visual { display: block; }
}
@media (max-width: 1023px) {
  .lp-hero-inner { grid-template-columns: 1fr; padding: 3.25rem 0 4rem; }
  .lp-row { grid-template-columns: 1fr; gap: 2.25rem; }
  .lp-row.flip .lp-panel { order: 2; }
  .lp-card-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-cta-trio { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 640px) {
  .lp-hero-counters { gap: 1.5rem; }
  .lp-card-grid { grid-template-columns: 1fr; }
  .lp-search-form { flex-direction: column; }
  .lp-strip { padding: 2rem 1.5rem; }
  .lp-panel { min-height: 280px; }
}

/* ---- Stats band ---- */
.stats-band {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.stats-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 2.25rem 0;
}
.stat-cell { text-align: center; padding: 0.5rem 1rem; }
.stat-cell + .stat-cell { border-left: 1px solid var(--border); }
.stat-value {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat-value .unit { color: var(--gold-dark); }
.stat-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; margin-top: 0.3rem; }

/* ---- Feature cards ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245,200,66,0.7);
}
.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.15rem;
  background: var(--navy-light);
  color: var(--navy);
}
.feature-card:nth-child(3n+2) .feature-icon { background: var(--gold-light); color: var(--gold-dark); }
.feature-card:nth-child(3n) .feature-icon { background: var(--red-light); color: var(--red); }
.feature-card h3 { font-size: 1.05rem; margin: 0 0 0.5rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; margin: 0; }

/* ---- Steps ---- */
@media (min-width: 1024px) {
  .steps-grid.steps-grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}
.step-card { position: relative; text-align: left; }
.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  box-shadow: 0 0 0 6px rgba(245,200,66,0.18);
}
.step-card h3 { font-size: 1.05rem; margin: 0 0 0.45rem; }
.step-card p { font-size: 0.9rem; line-height: 1.65; margin: 0; }
.steps-dark .step-card h3 { color: #fff; }
.steps-dark .step-card p { color: rgba(255,255,255,0.68); }

/* ---- Checklist split ---- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.9rem; }
.checklist li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.95rem; color: var(--text-secondary); line-height: 1.55; }
.checklist li i {
  color: #16a34a;
  background: #dcfce7;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.checklist li strong { color: var(--navy); }

/* ---- Payment methods strip ---- */
.pay-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.pay-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.pay-pill i { color: var(--gold-dark); }

/* ---- Testimonials ---- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.quote-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.quote-stars { color: var(--gold); font-size: 0.8rem; letter-spacing: 2px; }
.quote-text { font-size: 0.93rem; color: var(--text-secondary); line-height: 1.7; margin: 0; flex: 1; }
.quote-person { display: flex; align-items: center; gap: 0.8rem; }
.quote-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #2d3e80);
  color: var(--gold);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.quote-name { font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.quote-role { font-size: 0.75rem; color: var(--text-muted); }

/* ---- CTA banner ---- */
.cta-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 90% at 85% 10%, rgba(245,200,66,0.22), transparent 55%),
    linear-gradient(140deg, var(--navy-dark), var(--navy) 70%);
  color: #fff;
  padding: 4rem 2.5rem;
  text-align: center;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.5rem, 3.2vw, 2.3rem); letter-spacing: -0.02em; margin: 0 0 0.9rem; }
.cta-banner p { color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto 2rem; font-size: 1rem; line-height: 1.65; }

/* ---- Page hero (inner pages) ---- */
.page-hero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 80% at 80% -20%, rgba(245,200,66,0.15), transparent 60%),
    linear-gradient(155deg, var(--navy-dark), var(--navy) 75%);
  color: #fff;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 0%, #000 30%, transparent 80%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.page-hero h1 .accent { color: var(--gold); }
.page-hero .lead {
  color: rgba(255,255,255,0.8);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.7;
  max-width: 620px;
  margin: 0;
}

/* ---- Value cards (about) ---- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card .icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--gold-light);
  color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.value-card h3 { font-size: 0.98rem; margin: 0 0 0.4rem; }
.value-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.contact-channel {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-channel:hover { border-color: rgba(245,200,66,0.8); box-shadow: var(--shadow-sm); }
.contact-channel .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  background: var(--navy-light); color: var(--navy);
}
.contact-channel .t1 { font-weight: 700; font-size: 0.92rem; color: var(--navy); margin: 0 0 0.15rem; }
.contact-channel .t2 { font-size: 0.83rem; color: var(--text-muted); margin: 0 0 0.3rem; }
.contact-channel a { font-size: 0.88rem; font-weight: 600; color: var(--red); }
.contact-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 2.25rem;
}

/* ---- Sponsorship tiers ---- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.tier-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.7rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tier-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tier-card.highlight {
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(245,200,66,0.22);
}
.tier-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
}
.tier-name { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); margin: 0 0 0.35rem; }
.tier-price { display: flex; align-items: baseline; gap: 0.3rem; margin: 0 0 0.9rem; }
.tier-price .amount { font-size: 2.1rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1; }
.tier-price .period { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.pricing-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}
.tier-desc { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.6; margin: 0 0 1.4rem; }
.tier-list { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: 0.65rem; flex: 1; }
.tier-list li { display: flex; gap: 0.6rem; font-size: 0.86rem; color: var(--text-secondary); align-items: flex-start; }
.tier-list li i { color: var(--gold-dark); margin-top: 0.2rem; font-size: 0.75rem; flex-shrink: 0; }

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-mock-main, .hero-mock-sale, .hero-mock-chip { animation: none; }
}

/* ---- Marketing responsive ---- */
@media (min-width: 1024px) {
  .hero-mock { display: block; }
}
@media (max-width: 1023px) {
  .hero-v2-inner { grid-template-columns: 1fr; padding: 4rem 0; }
  .split-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .mkt-section { padding: 3.5rem 0; }
  .stats-band-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.25rem; }
  .stat-cell:nth-child(3) { border-left: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .value-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 3rem 1.5rem; }
  .contact-form-card { padding: 1.5rem; }
}

/* ---- Utility ---- */
.text-right { text-align: right; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }
.hidden { display: none !important; }
.block { display: block; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.ml-auto { margin-left: auto; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.w-full { width: 100%; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: 9999px; }
.overflow-hidden { overflow: hidden; }
.border { border: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.shadow { box-shadow: var(--shadow); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.bg-white { background: #fff; }
.opacity-60 { opacity: 0.6; }
.opacity-0 { opacity: 0; }
.transition { transition: all 0.15s ease; }
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.min-h-screen { min-height: 100vh; }

/* ============================================================
   AUTH SPLIT LAYOUT  (register / login pages)
   ============================================================ */

.auth-page {
  /* Sits below the sticky site nav (~68px) with header/footer visible */
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Left brand panel — register: clean light column (Fignoc tokens) */
.auth-brand {
  position: sticky;
  top: 58px;
  height: calc(100vh - 58px);
  background: var(--page-bg);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2.5rem;
  overflow: hidden;
}
.auth-brand::before,
.auth-brand::after {
  display: none;
}
.auth-brand-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

/* Logo inside brand panel */
.auth-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-bottom: 2rem;
  flex-shrink: 0;
}
.auth-brand-logo-mark {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #ffd95e 0%, var(--gold) 55%, var(--gold-dark) 100%);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--navy);
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(245, 200, 66, 0.35);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.auth-brand-logo:hover .auth-brand-logo-mark {
  transform: rotate(-8deg) scale(1.06);
  box-shadow: 0 4px 14px rgba(245, 200, 66, 0.45);
}
.auth-brand-logo-text { font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.auth-brand-logo-text span { color: var(--red); }

.auth-brand-headline {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
.auth-brand-headline span { color: var(--red); }
.auth-brand-sub {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0 0 1.75rem;
  max-width: 360px;
}

/* Benefits list in brand panel */
.auth-benefit-list {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  display: grid;
  gap: 0.75rem;
}
.auth-benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.5;
}
.auth-benefit-list li strong {
  color: var(--navy);
  font-weight: 700;
}
.auth-benefit-list li em {
  color: var(--text-muted);
  font-style: normal;
}
.auth-benefit-list li .ic {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--gold-light);
  border: 1px solid rgba(245, 200, 66, 0.45);
  color: #92400e;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.auth-benefit-list li .ic.red {
  background: var(--red-light);
  border-color: rgba(230, 57, 70, 0.25);
  color: var(--red);
}
.auth-benefit-list li .ic.blue {
  background: #eef2ff;
  border-color: rgba(10, 36, 114, 0.15);
  color: var(--navy);
}
.auth-benefit-list li .ic.green {
  background: #ecfdf5;
  border-color: rgba(22, 163, 74, 0.25);
  color: #059669;
}

/* Payment-method chips row in brand panel */
.auth-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}
.auth-pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.25rem 0.65rem;
  white-space: nowrap;
}
.auth-pay-chip i { font-size: 0.68rem; color: var(--navy); }

/* Testimonial quote in brand panel */
.auth-quote {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-top: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.auth-quote p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 0.55rem;
  font-style: italic;
}
.auth-quote .who {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.74rem;
  color: var(--text-muted);
  font-style: normal;
}
.auth-quote .who .av {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  font-size: 0.6rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.auth-quote .who strong { color: var(--navy); }
/* Shorter viewports: progressively drop decorative content so the
   100vh brand panel never clips its core feature list */
@media (max-height: 900px) {
  .auth-quote { display: none; }
}
@media (max-height: 800px) {
  .auth-pay-row { display: none; }
  .auth-brand-logo { margin-bottom: 2rem; }
  .auth-brand-sub { margin-bottom: 1.5rem; }
}
@media (max-height: 700px) {
  .auth-brand { overflow-y: auto; }
}

/* Stats row at bottom of brand panel */
.auth-stat-row {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 1.75rem;
}
.auth-stat .num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.auth-stat .num .plus { color: var(--red); }
.auth-stat .cap {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  font-weight: 600;
}

/* Right form panel */
.auth-form {
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem 2rem;
  background: var(--page-bg);
}
.auth-form-inner {
  width: 100%;
  max-width: 580px;
  padding: 2.5rem 2.5rem 2.25rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
/* Tri-colour brand bar: navy → red → gold */
.auth-form-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 38%, var(--red) 38%, var(--red) 62%, var(--gold) 62%, var(--gold) 100%);
}

/* Form heading area */
.auth-form-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}
.auth-form-sub {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0 0 0.25rem;
}

/* Registration flow step indicator (1 → 2 → 3) */
.auth-flow-steps {
  display: flex;
  align-items: center;
  margin: 1.25rem 0 2rem;
}
.auth-flow-step {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.auth-flow-step .num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  flex-shrink: 0;
}
.auth-flow-step.active { color: var(--navy); }
.auth-flow-step.active .num {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(245,200,66,0.4);
}
.auth-flow-step.done .num { background: var(--success); color: #fff; }
.auth-flow-connector {
  flex: 1;
  height: 1.5px;
  background: var(--border);
  margin: 0 0.45rem;
  max-width: 36px;
}

/* ---- Input with validation icon ---- */
.input-wrap { position: relative; }
/* Push text so it doesn't sit behind icon */
.input-wrap .form-input,
.input-wrap .pw-input { padding-right: 2.25rem; }

.input-status-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  pointer-events: none;
  line-height: 1;
}
.input-status-icon.ok  { color: var(--success); }
.input-status-icon.err { color: var(--red); }
/* Spinner variant for "checking" state */
.input-status-icon.spin {
  width: 14px; height: 14px;
  border: 2px solid var(--border-dark);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: authSpin 0.6s linear infinite;
  display: inline-block;
}

.input-status-msg {
  font-size: 0.78rem;
  margin-top: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 1.1em;
}
.input-status-msg.ok  { color: var(--success); }
.input-status-msg.err { color: var(--red); }

/* ---- Password field wrapper (icon + toggle) ---- */
.pw-wrap { position: relative; }
.pw-wrap .form-input { padding-right: 2.5rem; }
.pw-toggle {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0.2rem;
  font-size: 0.85rem;
  line-height: 1;
  transition: color 0.15s;
}
.pw-toggle:hover { color: var(--navy); }

/* ---- Password strength bar ---- */
.pw-strength-track {
  height: 4px;
  background: var(--border);
  border-radius: 9999px;
  margin-top: 0.5rem;
  overflow: hidden;
}
.pw-strength-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.35s ease, background-color 0.35s ease;
}
.pw-strength-label {
  font-size: 0.75rem;
  margin-top: 0.3rem;
  font-weight: 600;
  transition: color 0.35s;
}

/* ---- Submit button spinner ---- */
.btn-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: authSpin 0.65s linear infinite;
  flex-shrink: 0;
}
.btn-spinner-navy {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(26,43,94,0.2);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: authSpin 0.65s linear infinite;
  flex-shrink: 0;
}

@keyframes authSpin { to { transform: rotate(360deg); } }

/* Divider line with text */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ============================================================
   OTP / EMAIL VERIFICATION PAGE
   ============================================================ */

.otp-page {
  /* Sits between the site header and footer */
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem 3.5rem;
  background:
    radial-gradient(560px circle at 100% 0%, rgba(245,200,66,0.07), transparent 60%),
    var(--page-bg);
}

.otp-card {
  width: 100%;
  max-width: 500px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Top hero area of the OTP card */
.otp-card-top {
  background: linear-gradient(135deg, #0e1a3d, var(--navy));
  padding: 2.75rem 2rem 2.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.otp-card-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
/* Tri-colour brand bar between the navy hero and the white body */
.otp-card-top::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 38%, var(--red) 38%, var(--red) 62%, var(--gold) 62%, var(--gold) 100%);
}
/* Animated envelope icon */
.otp-icon-wrap {
  position: relative;
  width: 76px; height: 76px;
  margin: 0 auto 1.25rem;
}
.otp-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(245,200,66,0.15);
  border: 1.5px solid rgba(245,200,66,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: var(--gold);
  position: relative;
  z-index: 1;
}
/* Pulse ring animation */
.otp-icon-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid rgba(245,200,66,0.2);
  animation: otpPulse 2.5s ease-out infinite;
}
.otp-icon-ring-2 {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid rgba(255,122,122,0.22);
  animation: otpPulse 2.5s ease-out 0.8s infinite;
}
@keyframes otpPulse {
  0%   { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.2); opacity: 0; }
}
.otp-card-top h1 {
  color: #fff;
  font-size: 1.35rem;
  margin: 0 0 0.45rem;
  position: relative;
  z-index: 1;
}
.otp-card-top p {
  color: rgba(255,255,255,0.68);
  font-size: 0.88rem;
  margin: 0;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}
.otp-email-hl { color: var(--gold); font-weight: 600; }

/* OTP card body */
.otp-card-body { padding: 2rem 2rem 1.75rem; }

/* Row of 6 individual digit inputs */
.otp-group {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin: 1.25rem 0 1.75rem;
}
.otp-box {
  width: 54px;
  height: 64px;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  border: 2px solid var(--border-dark);
  border-radius: 12px;
  color: var(--navy);
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s, transform 0.1s;
  -moz-appearance: textfield;
  caret-color: transparent; /* hide caret — selection highlight is enough */
}
.otp-box::-webkit-outer-spin-button,
.otp-box::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.otp-box:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,43,94,0.12);
  background: var(--navy-light);
  transform: scale(1.05);
}
/* Filled-in digit style */
.otp-box.otp-filled {
  border-color: var(--navy);
  background: var(--navy-light);
}
/* Error shake when wrong code is entered */
.otp-group.otp-shake {
  animation: otpShake 0.4s ease;
}
@keyframes otpShake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}

/* Verify button */
.otp-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 0.85rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}
.otp-submit-btn:disabled { opacity: 0.7; cursor: wait; }

/* Resend section */
.otp-resend { text-align: center; margin-top: 1.5rem; }
.otp-resend-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 0.4rem;
}
.otp-resend-countdown {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.otp-resend-countdown .sec {
  font-weight: 700;
  color: var(--navy);
  display: inline-block;
  min-width: 24px;
}
.otp-resend-btn {
  background: none;
  border: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: color 0.15s;
}
.otp-resend-btn:hover { color: var(--red); }
.otp-resend-btn:disabled { color: var(--text-muted); text-decoration: none; cursor: not-allowed; }

/* Security note at bottom — red accent (security / warning territory) */
.otp-security {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  background: var(--red-light);
  border-radius: var(--radius);
  border: 1px solid rgba(212,43,43,0.16);
  border-left: 3px solid var(--red);
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.otp-security i { color: var(--red); margin-top: 0.1rem; flex-shrink: 0; }

/* ============================================================
   CREATE SHOP STEP 1 — enhanced URL preview + AJAX checks
   ============================================================ */

.shop-url-preview {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.shop-url-preview:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,43,94,0.1);
}
.shop-url-prefix {
  padding: 0.6rem 0.85rem;
  background: #f1f5f9;
  border-right: 1.5px solid var(--border-dark);
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  user-select: none;
  flex-shrink: 0;
}
.shop-url-input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 1;
  min-width: 0;
  background: transparent;
}
.shop-url-suffix {
  padding: 0.6rem 0.85rem;
  background: #f1f5f9;
  border-left: 1.5px solid var(--border-dark);
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  user-select: none;
  flex-shrink: 0;
}
.shop-url-preview.url-ok  { border-color: var(--success); }
.shop-url-preview.url-err { border-color: var(--red); }

/* Onboarding step progress bar */
.ob-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
}
.ob-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex: 1;
  position: relative;
}
.ob-step-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  border: 2px solid var(--border);
  z-index: 1;
  transition: all 0.2s;
}
.ob-step.active .ob-step-dot { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 0 0 4px rgba(26,43,94,0.15); }
.ob-step.done   .ob-step-dot { background: var(--success); border-color: var(--success); color: #fff; }
.ob-step-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
}
.ob-step.active .ob-step-label { color: var(--navy); }
.ob-step.done   .ob-step-label { color: var(--success); }
.ob-connector {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin-bottom: 1.2rem; /* aligns with dot centers */
  max-width: 60px;
}
.ob-connector.done { background: var(--success); }

/* ============================================================
   ONBOARDING WIZARD v2 — single-page, six steps, no reloads
   ============================================================ */

.ob-wizard {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}
.ob-card {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
/* Tri-colour brand bar (navy → red → gold) */
.ob-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  z-index: 1;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 38%, var(--red) 38%, var(--red) 62%, var(--gold) 62%, var(--gold) 100%);
}
.ob-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.4rem 1.75rem 1.25rem;
  background: linear-gradient(135deg, #f8fafc, #fff);
  border-bottom: 1px solid var(--border);
}
.ob-card-head-ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--navy-light);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.ob-card-head h2 { font-size: 1.05rem; margin: 0; color: var(--navy); }
.ob-card-head p  { font-size: 0.78rem; color: var(--text-muted); margin: 0; }

/* Step indicator becomes clickable for visited steps */
.ob-step.clickable { cursor: pointer; }
.ob-step.clickable:hover .ob-step-dot { box-shadow: 0 0 0 4px rgba(26,43,94,0.12); }
.ob-step-dot { transition: all 0.2s ease; }

/* Panel slide-in transition */
.ob-enter       { transition: opacity 0.3s ease, transform 0.3s ease; }
.ob-enter-start { opacity: 0; transform: translateX(14px); }
.ob-enter-end   { opacity: 1; transform: translateX(0); }

/* Two-column field grid */
.ob-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

/* Labelled separator */
.ob-sep {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0 1.1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.ob-sep::before, .ob-sep::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* Colour swatches */
.ob-swatches { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.ob-swatch {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.75rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.ob-swatch:hover { transform: scale(1.1); }
.ob-swatch.selected { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--navy); }
.ob-swatch-custom {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  color: var(--text-secondary);
  border: 1.5px dashed var(--border-dark);
}
.ob-colour-preview {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 0.65rem;
  font-size: 0.8rem; font-weight: 600; color: var(--text-secondary);
  font-family: monospace;
}
.ob-colour-preview .dot {
  width: 16px; height: 16px; border-radius: 5px;
  border: 1px solid var(--border); display: inline-block;
}

/* Tip / info box */
.ob-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  background: var(--gold-light);
  border: 1px solid rgba(245,200,66,0.45);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.ob-tip i { color: var(--gold-dark); margin-top: 0.1rem; flex-shrink: 0; }

/* Toggle cards (pickup / delivery / payment methods) */
.ob-toggle-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.18s ease;
  background: #fff;
  margin-bottom: 0;
}
.ob-toggle-card:hover { border-color: var(--border-dark); }
.ob-toggle-card.on {
  border-color: var(--navy);
  background: var(--navy-light);
  box-shadow: 0 2px 12px rgba(26,43,94,0.08);
}
.ob-toggle-ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--navy-light);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.ob-toggle-card.on .ob-toggle-ico { background: #fff; }
.ob-toggle-card strong { display: block; font-size: 0.88rem; color: var(--navy); }
.ob-toggle-card span:not(.ob-switch span) { font-size: 0.75rem; color: var(--text-muted); }

/* iOS-style switch */
.ob-switch {
  width: 38px; height: 22px;
  border-radius: 22px;
  background: var(--border-dark);
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.ob-switch span {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}
.ob-switch.on { background: var(--success); }
.ob-switch.on span { transform: translateX(16px); }

/* Social input with icon prefix */
.ob-social-wrap { position: relative; }
.ob-social-wrap .form-input { padding-left: 2.5rem; }
.ob-social-ico {
  position: absolute;
  left: 0.85rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  pointer-events: none;
  line-height: 1;
}

/* Review step */
.ob-review-block {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.9rem;
  background: #fbfcfe;
}
.ob-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
.ob-review-head h3 {
  font-size: 0.88rem;
  margin: 0;
  color: var(--navy);
  display: flex; align-items: center; gap: 0.45rem;
}
.ob-review-head h3 i { color: var(--gold-dark); font-size: 0.8rem; }
.ob-review-head button {
  background: none;
  border: none;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  transition: all 0.15s;
}
.ob-review-head button:hover { background: var(--navy-light); color: var(--red); }
.ob-review-list { margin: 0; display: grid; gap: 0.35rem; }
.ob-review-list > div { display: flex; gap: 0.75rem; font-size: 0.82rem; }
.ob-review-list dt {
  width: 110px;
  flex-shrink: 0;
  color: var(--text-muted);
  font-weight: 600;
}
.ob-review-list dd { margin: 0; color: var(--text-primary); min-width: 0; overflow-wrap: anywhere; }

/* Wizard nav buttons */
.ob-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.ob-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}
.ob-back-btn:hover { border-color: var(--navy); color: var(--navy); background: var(--navy-light); }

/* Responsive */
@media (max-width: 640px) {
  .ob-grid-2 { grid-template-columns: 1fr; gap: 0; }
  .ob-step-label { display: none; }
  .ob-card-head { padding: 1.1rem 1.25rem 1rem; }
  .ob-wizard .card-body { padding: 1.25rem !important; }
  .ob-nav { flex-wrap: wrap; }
  .ob-nav .btn { flex: 1; }
}

/* ============================================================
   SELLER APPLICANT — limited nav until shop is approved
   ============================================================ */

.seller-applicant-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.85rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s;
}
.seller-applicant-chip.chip-verify {
  background: rgba(245,200,66,0.15);
  color: var(--gold);
  border: 1px solid rgba(245,200,66,0.4);
}
.seller-applicant-chip.chip-onboarding {
  background: var(--navy-light);
  color: var(--navy);
  border: 1px solid var(--border);
}
.seller-applicant-chip.chip-pending {
  background: var(--gold-light);
  color: #92400e;
  border: 1px solid rgba(245,200,66,0.45);
}
.seller-applicant-chip.chip-blocked {
  background: var(--red-light);
  color: var(--red-dark);
  border: 1px solid rgba(230,57,70,0.3);
}
.seller-applicant-chip:hover { filter: brightness(1.08); }

/* Mobile applicant banner */
.mm-applicant-banner {
  padding: 0.9rem 0.75rem;
  border-radius: var(--radius);
  margin: 0.35rem 0.5rem 0.5rem;
}
.mm-applicant-banner.chip-verify  { background: var(--gold-light); border: 1px solid rgba(245,200,66,0.35); }
.mm-applicant-banner.chip-onboarding { background: var(--navy-light); border: 1px solid var(--border); }
.mm-applicant-banner.chip-pending { background: var(--gold-light); border: 1px solid rgba(245,200,66,0.3); }
.mm-applicant-banner.chip-blocked { background: var(--red-light); border: 1px solid rgba(230,57,70,0.25); }
.mm-applicant-title { font-size: 0.88rem; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 0.45rem; }
.mm-applicant-sub { font-size: 0.75rem; color: var(--text-muted); margin: 0.25rem 0 0; }

/* ============================================================
   PENDING APPROVAL PAGE
   ============================================================ */

.pending-page {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem 4rem;
  background:
    radial-gradient(480px circle at 50% 0%, rgba(245,200,66,0.08), transparent 65%),
    var(--page-bg);
}
.pending-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.pending-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 38%, var(--red) 38%, var(--red) 62%, var(--gold) 62%, var(--gold) 100%);
}
.pending-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
}
.pending-icon-pending  { background: var(--gold-light); color: var(--gold-dark); }
.pending-icon-blocked  { background: var(--red-light); color: var(--red); }
.pending-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.pending-badge-pending { background: var(--gold-light); color: var(--gold-dark); border: 1px solid rgba(245,200,66,0.4); }
.pending-badge-blocked { background: var(--red-light); color: var(--red); border: 1px solid rgba(212,43,43,0.25); }
.pending-card h1 { font-size: 1.5rem; margin: 0 0 0.5rem; color: var(--navy); }
.pending-shop-name { margin: 0 0 0.75rem; color: var(--text-secondary); font-size: 0.95rem; }
.pending-url { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; }
.pending-message { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; margin: 0 0 1.5rem; }
.pending-steps {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-align: left;
  margin: 0 0 1.75rem;
  padding: 1rem 1.1rem;
  background: var(--navy-light);
  border-radius: 14px;
  border: 1px solid rgba(26,43,94,0.08);
}
.pending-step {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.pending-step i { width: 16px; text-align: center; font-size: 0.75rem; }
.pending-step.done { color: var(--success); font-weight: 600; }
.pending-step.active { color: var(--navy); font-weight: 700; }
.pending-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.pending-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  text-align: left;
  padding: 0.9rem 1rem;
  background: var(--red-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--red);
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.pending-note i { color: var(--red); margin-top: 0.1rem; flex-shrink: 0; }
.pending-note a { color: var(--navy); font-weight: 600; }

/* ============================================================
   RESPONSIVE — auth pages collapse to single column on mobile
   ============================================================ */

@media (max-width: 768px) {
  .auth-page    { grid-template-columns: 1fr; }
  .auth-brand   { display: none; }
  .auth-form    { padding: 1.5rem 1rem 2.5rem; }
  .auth-form-inner { max-width: 100%; padding: 1.75rem 1.25rem 1.5rem; }
}
@media (max-width: 420px) {
  .otp-box    { width: 44px; height: 54px; font-size: 1.5rem; border-radius: 10px; }
  .otp-group  { gap: 0.4rem; }
  .otp-card-body { padding: 1.5rem 1.25rem; }
}

/* ============================================================
   HEADER v2 — enhanced topbar, nav dropdown, search, mobile menu
   ============================================================ */

/* Alpine x-cloak: hide elements before Alpine initialises */
[x-cloak] { display: none !important; }

/* ---- Topbar v4 — clean white utility bar ---- */
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.topbar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--navy) 20%, var(--red) 50%, var(--navy) 80%, transparent);
  opacity: 0.7;
  pointer-events: none;
}
.topbar-inner {
  height: 34px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.topbar-left { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; min-width: 0; }
.topbar-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--navy);
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.76rem;
}
.topbar-flag-label { color: var(--text-secondary); font-weight: 500; }
.topbar-divider {
  display: inline-block;
  width: 1px;
  height: 13px;
  background: var(--border);
  margin: 0 0.75rem;
  flex-shrink: 0;
}
.topbar-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.76rem;
  transition: color 0.15s;
  white-space: nowrap;
  min-width: 0;
}
.topbar-contact span { overflow: hidden; text-overflow: ellipsis; }
.topbar-contact:hover { color: var(--navy); }
.topbar-contact:hover i { transform: scale(1.1); }
.topbar-contact i { color: var(--navy); font-size: 0.78rem; transition: transform 0.2s; flex-shrink: 0; }
.topbar-right { display: flex; align-items: center; gap: 0.35rem; flex-shrink: 0; }
.topbar-social { gap: 0.2rem; display: flex; align-items: center; }
.topbar-social a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  color: var(--text-muted);
  background: var(--page-bg);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}
.topbar-social a:hover {
  color: var(--navy);
  background: var(--navy-light);
  border-color: var(--border-dark);
  transform: translateY(-1px);
}
.topbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.7rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--red-light);
  border: 1px solid rgba(230, 57, 70, 0.25);
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.topbar-cta:hover {
  background: #fff;
  border-color: var(--red);
  color: var(--red-dark);
  box-shadow: 0 2px 10px rgba(230, 57, 70, 0.15);
}
.topbar-cta .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.55); }
  50%      { box-shadow: 0 0 0 4px rgba(34,197,94,0); }
}

.topbar-divider-xl   { display: inline-block; }
.topbar-contact-xl   { display: inline-flex; }

/* ---- Nav v4 — white sticky commercial bar ---- */
.public-header-shell {
  position: sticky;
  top: 0;
  z-index: 1050;
}
.public-nav {
  background: #fff;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
  position: relative;
}
.public-nav .public-nav-inner { height: 64px; transition: height 0.3s ease; }
.public-nav.nav-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(6, 24, 64, 0.08);
  border-bottom-color: rgba(229, 231, 235, 0.95);
}
.public-nav.nav-scrolled .public-nav-inner { height: 58px; }

/* ---- Logo ring + tagline ---- */
.public-nav .nav-logo-mark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(10, 36, 114, 0.12), 0 4px 12px rgba(6, 24, 64, 0.1);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.public-nav .nav-logo:hover .nav-logo-mark {
  transform: rotate(-8deg) scale(1.06);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.15), 0 6px 16px rgba(6, 24, 64, 0.12);
}
.nav-logo-sub {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1;
  margin-top: 2px;
  white-space: nowrap;
}
.public-nav .nav-logo:hover .nav-logo-sub { color: var(--navy); transition: color 0.2s; }

/* ---- Nav links — animated accent underline ---- */
a.nav-link {
  position: relative;
  font-weight: 600;
  color: var(--text-secondary);
}
a.nav-link::after {
  content: '';
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--navy-mid));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
a.nav-link:hover {
  color: var(--navy);
  background: var(--navy-light);
  box-shadow: none;
}
a.nav-link:hover::after { transform: scaleX(1); }
a.nav-link.active {
  color: var(--navy);
  background: transparent;
  box-shadow: none;
}
a.nav-link.active::after { transform: scaleX(1); }

.nav-cta-active {
  box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.35);
}

/* ---- Shine sweep for primary nav CTA ---- */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-22deg);
  pointer-events: none;
}
.btn-shine:hover::before { animation: btnShine 0.7s ease forwards; }
@keyframes btnShine { to { left: 130%; } }

/* ---- Nav icon button (search toggle) ---- */
.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--page-bg);
  color: var(--navy);
  cursor: pointer;
  transition: all 0.15s;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.nav-icon-btn:hover,
.nav-icon-btn-active {
  background: var(--navy-light);
  border-color: var(--border-dark);
  color: var(--navy-dark);
}

/* ---- Ghost "Sign In" button ---- */
.nav-signin-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border);
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-signin-btn:hover {
  background: var(--navy-light);
  color: var(--navy-dark);
  border-color: var(--border-dark);
}

.nav-signin-active {
  background: var(--red-light);
  border-color: rgba(230, 57, 70, 0.35);
  color: var(--navy-dark);
}

/* ---- Authenticated user dropdown ---- */
.nav-user-wrap { position: relative; }
.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  background: var(--page-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.28rem 0.65rem 0.28rem 0.32rem;
  color: var(--navy);
  transition: all 0.15s;
  font-size: 0;
}
.nav-user-btn:hover {
  background: var(--navy-light);
  border-color: var(--border-dark);
}
.nav-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--navy);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-user-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-chevron { font-size: 0.62rem; opacity: 0.55; color: var(--navy); transition: transform 0.2s ease; flex-shrink: 0; }

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 230px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(6, 24, 64, 0.12), 0 2px 8px rgba(6, 24, 64, 0.06);
  border: 1px solid var(--border);
  z-index: 200;
}
.nav-dropdown-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 0.9rem 0.75rem;
  background: linear-gradient(135deg, #fafafa, #f3f4f6);
}
.nav-dropdown-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-dropdown-info { min-width: 0; }
.nav-dropdown-name {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--navy);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-dropdown-email {
  font-size: 0.73rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-dropdown-sep { height: 1px; background: #f0f2f5; }
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.58rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.12s;
}
.nav-dropdown-item:hover { background: var(--navy-light); color: var(--navy); }
.nav-dropdown-item i { width: 15px; text-align: center; color: var(--text-muted); font-size: 0.82rem; }
.nav-dropdown-item:hover i { color: var(--navy); }
.nav-dropdown-item-danger { color: var(--red); }
.nav-dropdown-item-danger i { color: var(--red); }
.nav-dropdown-item-danger:hover { background: #fff5f5; color: #c0222e; }
.nav-dropdown-item-danger:hover i { color: #c0222e; }

/* ---- Collapsible search bar ---- */
.nav-search-bar {
  padding: 0.65rem 0 0.85rem;
  border-top: 1px solid var(--border);
}
.nav-search-form { display: flex; gap: 0.5rem; align-items: center; }
.nav-search-wrap { position: relative; flex: 1; }
.nav-search-ico {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.78rem;
  pointer-events: none;
}
.nav-search-input {
  width: 100%;
  padding: 0.52rem 0.8rem 0.52rem 2.1rem;
  background: var(--page-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--navy);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.nav-search-input::placeholder { color: var(--text-muted); }
.nav-search-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10, 36, 114, 0.08);
  background: #fff;
}

/* ---- Mobile menu ---- */
.mobile-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  background: rgba(6, 24, 64, 0.45);
  z-index: 1040;
  border: none;
  padding: 0;
  cursor: pointer;
}
.public-header-shell.header-mobile-open .mobile-menu-backdrop {
  display: block;
}
.mobile-menu {
  position: relative;
  z-index: 1045;
  border-top: 1px solid var(--border);
  padding: 0.65rem 0 1rem;
  background: #fff;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 12px 32px rgba(6, 24, 64, 0.1);
}
body.header-nav-open {
  overflow: hidden;
  touch-action: none;
}
.mm-links { display: flex; flex-direction: column; gap: 0.12rem; }
.mm-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.75rem;
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.12s;
  min-height: 44px;
}
.mm-link i { width: 16px; text-align: center; opacity: 0.7; font-size: 0.85rem; color: var(--navy); }
.mm-link:hover { color: var(--navy); background: var(--navy-light); }
.mm-link.active {
  color: var(--navy);
  background: var(--red-light);
  font-weight: 600;
}
.mm-link.active i { opacity: 1; color: var(--navy); }
.mm-link-sm { font-size: 0.85rem; padding: 0.52rem 0.75rem; min-height: 40px; }
.mm-link-danger { color: var(--red) !important; }
.mm-link-danger:hover { background: var(--red-light) !important; color: var(--red-dark) !important; }
.mm-sep { height: 1px; background: var(--border); margin: 0.5rem 0; }

/* Authenticated user section */
.mm-user {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.75rem 0.35rem;
}
.mm-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--navy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mm-user-name { font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.mm-user-email { font-size: 0.75rem; color: var(--text-muted); }
.mm-user-links { display: flex; flex-direction: column; gap: 0.08rem; }

/* Unauthenticated auth buttons */
.mm-auth {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
}
.mm-auth-row {
  display: flex;
  gap: 0.45rem;
}
.mm-auth-signin {
  flex: 1;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mm-auth-signin:hover {
  background: var(--navy-light);
  border-color: var(--border-dark);
  color: var(--navy-dark);
}
.mm-auth-cta {
  width: 100%;
  justify-content: center;
  min-height: 44px;
}

.nav-signin-btn--admin { margin-left: 0.35rem; }

/* Contact strip at bottom of mobile menu */
.mm-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--border);
  background: var(--page-bg);
  border-radius: var(--radius);
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.mm-contact a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
  min-height: 36px;
}
.mm-contact a:hover { color: var(--navy); }

/* ---- Topbar — progressive disclosure by breakpoint ---- */
@media (max-width: 1280px) {
  .topbar-divider-xl  { display: none; }
  .topbar-contact-xl  { display: none; }
  .topbar-flag-label  { display: none; }
}
@media (max-width: 900px) {
  .topbar-contact span { display: none; }
  .topbar-divider:not(.topbar-divider-xl) { margin: 0 0.5rem; }
}
@media (max-width: 640px) {
  .topbar-inner { height: 32px; }
  .topbar-left .topbar-divider { display: none; }
  .topbar-contact { display: none; }
  .topbar-social a:not([aria-label="WhatsApp"]) { display: none; }
  .topbar-cta { padding: 0.2rem 0.55rem; font-size: 0.66rem; }
}
@media (max-width: 380px) {
  .topbar-social { display: none; }
  .topbar-cta .pulse-dot { display: none; }
}

/* ---- Nav — collapse secondary links + logo tagline on smaller laptops ---- */
@media (max-width: 1200px) {
  .nav-li-xl   { display: none; }
  .nav-logo-sub { display: none; }
}
@media (max-width: 1024px) {
  .public-nav { position: relative; z-index: 1051; }
  .public-nav .mobile-menu-btn { display: flex; }
  .public-nav .nav-links { display: none; }
  .nav-actions > .nav-signin-btn,
  .nav-actions > a.btn-primary.btn-shine,
  .nav-actions > a.btn-red.btn-shine,
  .nav-actions > a.btn-gold.btn-shine,
  .nav-actions > .seller-applicant-chip {
    display: none;
  }
  .public-nav .public-nav-inner { height: 58px; }
}
@media (max-width: 900px) {
  .nav-user-name { display: none; }
  .nav-actions { gap: 0.35rem; }
}
@media (max-width: 480px) {
  .public-nav .nav-logo-text { font-size: 1rem; }
  .public-nav .nav-logo-mark { width: 32px; height: 32px; font-size: 0.95rem; }
  .nav-icon-btn { width: 38px; height: 38px; }
}

/* ============================================================
   Platform footer + header polish (Fignoc)
   ============================================================ */

.footer-cta-btn {
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.35);
  min-height: 44px;
}

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

.footer-trust-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.18);
  padding: 0.9rem 0;
}

.footer-trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
}

.footer-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  padding: 0.35rem 0.7rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-trust-item i {
  color: var(--red);
  font-size: 0.68rem;
}
.footer-trust-item:nth-child(2) i { color: var(--gold); }
.footer-trust-item:nth-child(3) i { color: #25d366; }
.footer-trust-item:nth-child(4) i { color: var(--gold); }

.site-footer .footer-body {
  background-image: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(230, 57, 70, 0.06), transparent 70%);
}

.auth-layout--register .public-nav,
.auth-layout--login .public-nav {
  box-shadow: 0 2px 16px rgba(6, 24, 64, 0.06);
}

@media (max-width: 720px) {
  .footer-trust-inner {
    justify-content: flex-start;
    gap: 0.4rem;
  }

  .footer-trust-item {
    font-size: 0.68rem;
    padding: 0.32rem 0.6rem;
    white-space: normal;
    text-align: left;
    flex: 1 1 calc(50% - 0.4rem);
    min-width: 140px;
  }
}

@media (max-width: 400px) {
  .footer-trust-item {
    flex: 1 1 100%;
  }
}
