/* ═══════════════════════════════════════════════
   FALCON DELIVERY SERVICE — Design Tokens
   Palette: charcoal / forest-black / falcon-green / electric-lime
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  --black:      #0A0A0A;
  --deep:       #111A13;
  --card:       #161F18;
  --card-light: #1E2B21;
  --border:     #2A3D2C;
  --green:      #2E8B57;
  --lime:       #8BFF4A;
  --white:      #FFFFFF;
  --off-white:  #E8EDE8;
  --grey:       #8A9A8B;
  --dark-grey:  #4A5A4B;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'Space Mono', monospace;

  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.light-mode {
  --black:      #FFFFFF;
  --deep:       #F4F6F4;
  --card:       #FFFFFF;
  --card-light: #F0F2F0;
  --border:     #D4DCD5;
  --green:      #228B22;
  --lime:       #2E8B57;
  --off-white:  #1A1E1A;
  --white:      #0A0A0A;
  --grey:       #5A6A5B;
  --dark-grey:  #8A9A8B;
}


/* ═══════════════════════════════════════════════
   BASE / RESET
   ═══════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--off-white);
  overflow-x: clip;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

::selection {
  background: rgba(46,139,87,0.4);
  color: var(--white);
}
body.light-mode ::selection {
  background: rgba(34,139,34,0.3);
}
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.streak {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0.08;
  border-radius: 100px;
  pointer-events: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.section-pad { padding: 96px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  border-radius: 2px;
}

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--white);
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--white);
}
.green-word { color: var(--lime); }

@keyframes fadeUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
@keyframes blip { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(1.5)} }

html { scrollbar-color: var(--green) var(--black); }


/* ═══════════════════════════════════════════════
   COMPONENTS
   ═══════════════════════════════════════════════ */

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity 0.25s;
}
.btn:hover::after { opacity: 1; }

.btn-green {
  background: var(--green);
  color: var(--black);
  box-shadow: 0 0 36px rgba(46,139,87,0.45), 0 4px 14px rgba(0,0,0,0.25);
}
.btn-green:hover {
  background: var(--lime);
  box-shadow: 0 0 50px rgba(139,255,74,0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--off-white);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(46,139,87,0.25);
}

.btn-ghost {
  background: rgba(46,139,87,0.08);
  color: var(--green);
  border: 1.5px solid rgba(46,139,87,0.25);
}
.btn-ghost:hover {
  background: rgba(46,139,87,0.15);
  border-color: var(--green);
  transform: translateY(-1px);
}

.btn-sm { padding: 6px 12px; font-size: 0.78rem; }
.btn-xs { padding: 4px 9px; font-size: 0.72rem; border-radius: 4px; }
.btn-lg { padding: 12px 24px; font-size: 0.92rem; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled, .btn.disabled { opacity: 0.4; pointer-events: none; }

/* ── CARDS ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: visible;
}
.card:hover {
  border-color: rgba(46,139,87,0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3), 0 0 24px rgba(46,139,87,0.06);
}

/* ── FORMS ── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,139,87,0.22);
}
.form-input::placeholder { color: var(--dark-grey); }
textarea.form-input { resize: vertical; min-height: 100px; }
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238A9A8B' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-help { font-size: 0.85rem; color: var(--grey); margin-top: 6px; }
.form-error { font-size: 0.85rem; color: #e74c3c; margin-top: 6px; }
.form-input.error { border-color: #e74c3c; }
.form-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--green); cursor: pointer; }

/* ── TABLES ── */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 2px solid var(--border);
  background: rgba(46,139,87,0.06);
}
.data-table td {
  padding: 12px 14px;
  font-size: 0.88rem;
  color: var(--off-white);
  border-bottom: 1px solid var(--border);
}
.data-table tr:hover td { background: rgba(46,139,87,0.03); }
.data-table .table-actions { display: flex; gap: 8px; }

/* ── BADGES / STATUS ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}
.badge-green {
  background: rgba(46,139,87,0.12);
  color: var(--green);
  border: 1px solid rgba(46,139,87,0.25);
  font-weight: 600;
}
.badge-lime {
  background: rgba(139,255,74,0.08);
  color: var(--lime);
  border: 1px solid rgba(139,255,74,0.2);
}
.badge-grey {
  background: rgba(138,154,139,0.1);
  color: var(--grey);
  border: 1px solid var(--border);
}
.badge-red {
  background: rgba(231,76,60,0.12);
  color: #e74c3c;
  border: 1px solid rgba(231,76,60,0.25);
}

.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.status-dot-green { background: var(--green); box-shadow: 0 0 6px var(--green); }
.status-dot-lime { background: var(--lime); box-shadow: 0 0 6px var(--lime); }
.status-dot-grey { background: var(--grey); }

/* ── TOAST / MESSAGES ── */
.messages-toast {
  position: fixed;
  top: 88px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}
.toast {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.4s ease both;
  backdrop-filter: blur(12px);
}
.toast-success {
  background: rgba(46,139,87,0.15);
  border: 1px solid rgba(46,139,87,0.3);
  color: var(--green);
}
.toast-error {
  background: rgba(231,76,60,0.15);
  border: 1px solid rgba(231,76,60,0.3);
  color: #e74c3c;
}
.toast-info {
  background: rgba(138,154,139,0.15);
  border: 1px solid var(--border);
  color: var(--off-white);
}
.toast-warning {
  background: rgba(255,193,7,0.15);
  border: 1px solid rgba(255,193,7,0.3);
  color: #ffc107;
}
@keyframes toastIn { from{opacity:0;transform:translateX(40px)} to{opacity:1;transform:translateX(0)} }

/* ── PAGINATION ── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
}
.page-link {
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  transition: var(--transition);
}
.page-link:hover { border-color: var(--green); color: var(--green); }
.page-link.active {
  background: var(--green);
  color: var(--black);
  border-color: var(--green);
}

/* ── TABS ── */
.tabs {
  display: flex;
  gap: 2px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3px;
  margin-bottom: 20px;
  overflow-x: auto;
}
.tab-btn {
  flex: 1;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--grey);
  text-align: center;
  transition: var(--transition);
  white-space: nowrap;
}
.tab-btn:hover { color: var(--white); background: rgba(46,139,87,0.06); }
.tab-btn.active { background: var(--green); color: var(--black); }

/* ── STATS CARDS ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.stat-card:hover {
  border-color: rgba(46,139,87,0.3);
  border-left-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.stat-card .stat-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(46,139,87,0.1);
  border: 1px solid rgba(46,139,87,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--green);
  margin-bottom: 14px;
}
.stat-card .stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-card .stat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--grey);
}
.stat-card .stat-change {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--green);
  margin-top: 6px;
}

/* ── EMPTY STATE ── */
.empty-state { text-align: center; padding: 40px 16px; }
.empty-state i { font-size: 2.2rem; color: rgba(46,139,87,0.85); margin-bottom: 12px; }
.empty-state p { color: var(--grey); font-size: 0.92rem; margin-bottom: 16px; }

/* ── SEARCH ── */
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 4px;
  transition: var(--transition);
}
.search-bar:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,139,87,0.1);
}
.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 10px 12px;
  outline: none;
}
.search-bar input::placeholder { color: var(--dark-grey); }
.search-bar .search-icon { padding: 0 14px; color: var(--grey); font-size: 1.1rem; }

/* ── BILLING DISPLAY ── */
.billing-display {
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.billing-info { display: flex; flex-direction: column; gap: 8px; }
.billing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.billing-label {
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.billing-value { color: var(--white); font-weight: 500; }
.billing-total { padding-top: 8px; border-top: 1px solid var(--border); margin-top: 4px; }
.billing-total .billing-label { color: var(--white); font-weight: 600; font-size: 0.85rem; }
.billing-total .billing-value { color: var(--green); font-family: var(--font-display); font-size: 1.1rem; }


/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */

#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  transition: background 0.4s, box-shadow 0.4s;
}
#nav.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 0 28px rgba(46,139,87,0.12);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 16px;
}

/* ── LOGO ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo-text .brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.08em;
  position: relative;
}
.nav-logo-text .brand::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}
.nav-logo-text .sub {
  font-family: var(--font-mono);
  font-size: 0.45rem;
  color: var(--grey);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ── NAV LINKS ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--grey);
  transition: color 0.3s;
  position: relative;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--green);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active-link { color: var(--green); }
.nav-links a.active-link::after { width: 100%; }

/* ── ACTIONS ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-icon-link {
  position: relative;
  color: var(--grey);
  font-size: 1rem;
  text-decoration: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-icon-link:hover {
  color: var(--white);
  background: rgba(46,139,87,0.08);
  box-shadow: 0 0 16px rgba(46,139,87,0.25);
}
.nav-badge {
  position: absolute;
  top: 0; right: 0;
  min-width: 14px; height: 14px;
  background: var(--green);
  color: var(--black);
  font-size: 0.48rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.nav-badge-red { background: #e74c3c; color: #fff; }

/* ── VIEW TOGGLE ── */
.products-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}
.view-toggle {
  display: flex;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.view-btn {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--grey);
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.view-btn:hover { color: var(--white); background: rgba(46,139,87,0.06); }
.view-btn.active { background: var(--green); color: var(--black); }

/* ── MOBILE ACTIONS ── */
.nav-mobile-actions {
  display: none;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.theme-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--green);
  background: rgba(46,139,87,0.1);
  transform: rotate(30deg);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── MOBILE NAV OVERLAY ── */
.mobile-nav {
  position: fixed;
  inset: 0; top: 60px;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(24px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  pointer-events: none;
}
.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--grey);
  letter-spacing: 0.06em;
  transition: color 0.3s;
  text-decoration: none;
}
.mobile-nav a:hover { color: var(--green); }
.mobile-cta-link {
  font-size: 0.9rem !important;
  color: var(--green) !important;
  border: 1.5px solid var(--green);
  padding: 10px 28px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.mobile-cta-link:hover {
  background: var(--green);
  color: var(--black) !important;
}


/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */

footer {
  background: #070A08;
  border-top: 1px solid rgba(46,139,87,0.3);
  padding: 80px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: var(--grey);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-brand-desc { font-size: 0.85rem; color: var(--grey); line-height: 1.7; max-width: 260px; margin-bottom: 24px; }

.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  color: var(--grey);
  transition: var(--transition);
}
.social-btn:hover {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 18px rgba(46,139,87,0.3);
  transform: translateY(-2px);
}
.social-btn i { font-size: 0.9rem; }

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col-title::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  margin-top: 6px;
  border-radius: 2px;
  background: var(--green);
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 0.85rem;
  color: var(--grey);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--green); }

.footer-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 28px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-family: var(--font-mono); font-size: 0.65rem; color: var(--dark-grey); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-family: var(--font-mono); font-size: 0.65rem; color: var(--dark-grey); transition: color 0.3s; }
.footer-legal a:hover { color: var(--green); }


/* ═══════════════════════════════════════════════
   HOMEPAGE SECTIONS
   ═══════════════════════════════════════════════ */

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 65%; height: 140%;
  background: var(--deep);
  clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 50%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--green));
}
.hero-streaks { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-streaks .s { position: absolute; height: 2px; border-radius: 2px; opacity: 0; animation: streakIn 0.6s ease forwards; }
.s1 { width: 200px; top: 35%; left: -20px; background: linear-gradient(90deg, transparent, var(--green)); animation-delay: 0.8s; }
.s2 { width: 140px; top: 45%; left: -20px; background: linear-gradient(90deg, transparent, rgba(46,139,87,0.4)); animation-delay: 1s; }
.s3 { width: 100px; top: 55%; left: -20px; background: linear-gradient(90deg, transparent, rgba(46,139,87,0.2)); animation-delay: 1.2s; }
.s4 { width: 300px; bottom: 30%; right: -20px; background: linear-gradient(270deg, transparent, rgba(139,255,74,0.15)); animation-delay: 1.4s; }
@keyframes streakIn { from{opacity:0;transform:scaleX(0);transform-origin:left} to{opacity:1;transform:scaleX(1);transform-origin:left} }

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-left { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  border: 1px solid rgba(46,139,87,0.3); border-radius: 100px;
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em;
  color: var(--green); background: rgba(46,139,87,0.06); margin-bottom: 28px;
  animation: fadeUp 0.7s ease both;
}
.hero-badge .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: blip 2s infinite; }
.hero-title { margin-bottom: 20px; animation: fadeUp 0.7s ease 0.15s both; }
.hero-body { font-size: 1.05rem; color: var(--grey); max-width: 480px; line-height: 1.7; margin-bottom: 36px; animation: fadeUp 0.7s ease 0.3s both; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp 0.7s ease 0.45s both; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; animation: fadeUp 0.7s ease 0.6s both; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
  line-height: 1;
  display: inline-block;
  border-bottom: 2px solid var(--green);
  padding-bottom: 6px;
  box-shadow: 0 6px 18px -10px rgba(46,139,87,0.6);
}
.hero-stat-label { font-size: 0.75rem; color: var(--grey); margin-top: 2px; font-family: var(--font-mono); letter-spacing: 0.08em; }

.hero-right { position: relative; z-index: 2; display: flex; justify-content: center; animation: fadeUp 0.8s ease 0.5s both; }
.delivery-ui {
  width: 340px;
  background: var(--card);
  border: 1px solid rgba(46,139,87,0.4);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  transform: translateY(-125px);
  box-shadow: 0 0 90px rgba(46,139,87,0.22), 0 40px 80px rgba(0,0,0,0.6);
}
.delivery-ui::before { content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 2px; background: linear-gradient(90deg, transparent, var(--green), transparent); }
.dui-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.dui-title { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.1em; color: var(--white); }
.dui-live { display: flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 0.55rem; color: var(--green); letter-spacing: 0.1em; }
.dui-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: blip 2s infinite; }

.dui-map { height: 110px; background: linear-gradient(135deg, #0c1a0d, #142018); border-radius: var(--radius); position: relative; overflow: hidden; margin-bottom: 16px; border: 1px solid var(--border); }
.dui-map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(46,139,87,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(46,139,87,0.07) 1px, transparent 1px); background-size: 24px 24px; }
.dui-route { position: absolute; top: 30px; left: 30px; right: 30px; bottom: 30px; border: 2px dashed rgba(46,139,87,0.3); border-radius: 50%; }
.dui-pin { position: absolute; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--black); }
.dui-pin.origin { background: var(--green); box-shadow: 0 0 12px var(--green); top: 25%; left: 20%; }
.dui-pin.dest { background: var(--lime); box-shadow: 0 0 12px var(--lime); bottom: 25%; right: 20%; animation: blip 2s 1s infinite; }
.dui-bike { position: absolute; top: 45%; left: 50%; transform: translate(-50%,-50%); font-size: 1.3rem; color: var(--lime); animation: rideAcross 4s linear infinite; }
@keyframes rideAcross { 0%{left:25%;top:30%} 50%{left:60%;top:55%} 100%{left:75%;top:70%} }

.dui-order { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--card-light); border-radius: var(--radius); margin-bottom: 10px; border: 1px solid var(--border); }
.dui-order:last-child { margin-bottom: 0; }
.dui-order-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.icon-green { background: rgba(46,139,87,0.12); }
.icon-lime  { background: rgba(139,255,74,0.1); }
.icon-grey  { background: rgba(138,154,139,0.1); }
.dui-order-icon i { font-size: 1rem; }
.dui-order-info { flex: 1; min-width: 0; }
.dui-order-name { font-size: 0.75rem; font-weight: 600; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dui-order-loc  { font-size: 0.65rem; color: var(--grey); font-family: var(--font-mono); margin-top: 2px; }
.dui-status { font-family: var(--font-mono); font-size: 0.55rem; padding: 3px 8px; border-radius: 20px; white-space: nowrap; }
.status-in-transit { background: rgba(46,139,87,0.12); color: var(--green); border: 1px solid rgba(46,139,87,0.25); }
.status-picked-up  { background: rgba(139,255,74,0.08); color: var(--lime); border: 1px solid rgba(139,255,74,0.2); }
.status-pending    { background: rgba(138,154,139,0.1); color: var(--grey); border: 1px solid var(--border); }

.dui-float { position: absolute; right: -20px; bottom: 60px; background: var(--green); color: var(--black); font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700; padding: 8px 14px; border-radius: 20px; box-shadow: 0 8px 24px rgba(46,139,87,0.4); animation: floatBob 3s ease-in-out infinite; white-space: nowrap; }
@keyframes floatBob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ── HOW IT WORKS ── */
#how-it-works { background: var(--deep); position: relative; overflow: hidden; }
#how-it-works .streak { width: 600px; height: 3px; top: 50%; left: -100px; transform: rotate(-3deg); }
.steps-intro { margin-bottom: 72px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--border); border-radius: var(--radius-xl); overflow: hidden; }
.step-block { background: var(--card); padding: 40px 28px; position: relative; transition: var(--transition); cursor: default; }
.step-block:hover { background: var(--card-light); }
.step-block:hover .step-icon { transform: scale(1.1); box-shadow: 0 0 30px rgba(46,139,87,0.3); }
.step-block:hover .step-title { color: var(--green); }
.step-num { font-family: var(--font-display); font-size: 4rem; color: var(--border); line-height: 1; margin-bottom: 20px; transition: color 0.3s; }
.step-block:hover .step-num { color: rgba(46,139,87,0.2); }
.step-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(46,139,87,0.1); border: 1px solid rgba(46,139,87,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 20px; transition: var(--transition); }
.step-icon i { font-size: 1.4rem; }
.step-title { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.05em; color: var(--white); margin-bottom: 10px; }
.step-desc { font-size: 0.85rem; color: var(--grey); line-height: 1.65; }
.step-arrow { position: absolute; top: 40px; right: -12px; width: 24px; height: 24px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: var(--black); z-index: 2; box-shadow: 0 0 16px rgba(46,139,87,0.4); }
.step-block:last-child .step-arrow { display: none; }

/* ── SERVICES ── */
#services { position: relative; overflow: hidden; }
#services::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,139,87,0.07), transparent 70%);
  pointer-events: none;
  top: -140px; left: -140px;
}
.services-header { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.services-lead p { font-size: 1rem; color: var(--grey); line-height: 1.7; max-width: 420px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  padding: 36px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--accent, var(--green)), transparent); opacity: 0; transition: opacity 0.4s; }
.service-card:hover::before { opacity: 1; }
.service-card:hover { border-color: rgba(46,139,87,0.3); transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.service-card:hover .service-title { color: var(--green); }
.service-card.accent-lime { --accent: var(--lime); }
.service-card.accent-grey { --accent: var(--grey); }
.service-icon { font-size: 2rem; margin-bottom: 20px; display: block; transition: transform 0.3s; }
.service-icon i { font-size: 2rem; }
.service-card:hover .service-icon { transform: scale(1.15); }
.service-title { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.05em; color: var(--white); margin-bottom: 10px; }
.service-desc { font-size: 0.85rem; color: var(--grey); line-height: 1.65; }
.service-tag { display: inline-block; margin-top: 16px; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; padding: 4px 10px; border-radius: 20px; background: rgba(46,139,87,0.08); color: var(--green); border: 1px solid rgba(46,139,87,0.2); }

/* ── WHY CHOOSE US ── */
#why-us { background: var(--deep); position: relative; overflow: hidden; }
#why-us::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(46,139,87,0.05), transparent 70%); pointer-events: none; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-left .display-lg { margin-bottom: 20px; }
.why-left p { font-size: 1rem; color: var(--grey); line-height: 1.7; margin-bottom: 36px; max-width: 440px; }
.why-perks { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.perk { display: flex; align-items: center; gap: 14px; font-size: 0.9rem; color: var(--off-white); }
.perk-check { width: 24px; height: 24px; border-radius: 50%; background: rgba(46,139,87,0.12); border: 1px solid rgba(46,139,87,0.3); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: var(--green); flex-shrink: 0; }
.why-right { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.metric-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; transition: var(--transition); }
.metric-card:hover { border-color: rgba(46,139,87,0.3); transform: translateY(-4px); }
.metric-card.featured { background: var(--green); border-color: var(--green); grid-column: span 2; }
.metric-num { font-family: var(--font-display); font-size: 2.5rem; color: var(--white); line-height: 1; margin-bottom: 6px; }
.metric-card.featured .metric-num { color: var(--black); }
.metric-card.featured .metric-label { color: rgba(0,0,0,0.6); }
.metric-label { font-size: 0.8rem; color: var(--grey); font-family: var(--font-mono); letter-spacing: 0.05em; }
.metric-icon { font-size: 1.5rem; margin-bottom: 14px; }
.metric-icon i { font-size: 1.5rem; }

/* ── PRODUCTS PREVIEW ── */
#products { position: relative; overflow: hidden; }
#products::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,139,87,0.07), transparent 70%);
  pointer-events: none;
  bottom: -140px; right: -140px;
}
.products-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 20px; }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.product-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); cursor: pointer; }
.product-card:hover { border-color: rgba(46,139,87,0.35); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.product-img { height: 180px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; color: var(--off-white); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img img { transform: scale(1.08); }
.product-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 60%, rgba(22,31,24,0.8)); }
.bg-electronics { background: linear-gradient(135deg, #0f1f2d, #1a3040); }
.bg-fashion     { background: linear-gradient(135deg, #1f0f2d, #301a40); }
.bg-food        { background: linear-gradient(135deg, #1f2d0f, #2d400f); }
.bg-beauty      { background: linear-gradient(135deg, #2d0f1a, #40152a); }
.product-body { padding: 16px; }
.product-cat { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.15em; color: var(--green); text-transform: uppercase; margin-bottom: 6px; }
.product-name { font-weight: 600; font-size: 0.9rem; color: var(--white); margin-bottom: 4px; }
.product-vendor { font-size: 0.75rem; color: var(--grey); margin-bottom: 12px; }
.product-footer { display: flex; justify-content: space-between; align-items: center; }
.product-price { font-family: var(--font-display); font-size: 1.1rem; color: var(--green); letter-spacing: 0.05em; font-weight: 700; }
.product-btn { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--black); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; transition: var(--transition); }
.product-btn i { font-size: 1rem; font-weight: 700; }
.product-card:hover .product-btn { background: var(--lime); box-shadow: 0 0 16px rgba(139,255,74,0.4); }
.product-card:hover .product-price { color: var(--green); }
.products-cta { text-align: center; }

/* ── VENDOR CTA ── */
#vendor-cta { background: var(--deep); position: relative; overflow: hidden; }
.vendor-cta-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(46,139,87,0.06), transparent), radial-gradient(ellipse 40% 60% at 20% 50%, rgba(139,255,74,0.03), transparent); }
.vendor-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.vendor-left .display-lg { margin-bottom: 20px; }
.vendor-left p { font-size: 1rem; color: var(--grey); line-height: 1.7; margin-bottom: 36px; }
.vendor-cards { display: flex; flex-direction: column; gap: 12px; }
.vendor-feat { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); transition: var(--transition); }
.vendor-feat:hover { border-color: rgba(46,139,87,0.3); transform: translateX(6px); }
.vendor-feat-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(46,139,87,0.1); border: 1px solid rgba(46,139,87,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.vendor-feat-icon i { font-size: 1.2rem; }
.vendor-feat-title { font-weight: 600; font-size: 0.9rem; color: var(--white); }
.vendor-feat-desc  { font-size: 0.78rem; color: var(--grey); margin-top: 2px; }
.vendor-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ── DASHBOARD PREVIEW (vendor CTA) ── */
.dash-preview {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.dash-preview::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.dash-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--white);
}
.dash-tag {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--green);
  background: rgba(46,139,87,0.1);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.kpi {
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  transition: border-color 0.3s;
}
.kpi:hover { border-color: rgba(46,139,87,0.3); }
.kpi-val { font-family: var(--font-display); font-size: 1.2rem; color: var(--white); line-height: 1; }
.kpi-key { font-size: 0.6rem; color: var(--grey); font-family: var(--font-mono); margin-top: 4px; letter-spacing: 0.08em; }
.kpi-up { color: var(--green); font-size: 0.6rem; font-family: var(--font-mono); margin-top: 4px; font-weight: 600; }
.dash-chart {
  height: 80px;
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}
.bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(46,139,87,0.25);
  transition: background 0.3s;
  animation: barGrow 0.8s ease both;
}
.bar.hi { background: rgba(46,139,87,0.7); }
.bar:hover { background: var(--green) !important; }
@keyframes barGrow { from { transform: scaleY(0); transform-origin: bottom; } to { transform: scaleY(1); } }
.dash-order-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--deep);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 8px;
  transition: var(--transition);
}
.dash-order-row:last-child { margin-bottom: 0; }
.dash-order-row:hover { border-color: rgba(46,139,87,0.3); background: rgba(46,139,87,0.04); }
.dash-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot-green { background: var(--green); box-shadow: 0 0 6px rgba(46,139,87,0.5); }
.dot-lime { background: var(--lime); box-shadow: 0 0 6px rgba(139,255,74,0.4); }
.dot-grey { background: var(--grey); box-shadow: 0 0 4px rgba(160,168,163,0.3); }
.dash-order-name { font-size: 0.82rem; color: var(--white); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-order-amt { font-family: var(--font-mono); font-size: 0.78rem; color: var(--green); font-weight: 700; }


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-mobile-actions { display: flex; }
  .hamburger { display: flex; }

  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-left { text-align: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-title { text-align: center; }
  .hero-body { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-right { margin-top: -20px; }
  .delivery-ui { width: 100%; max-width: 380px; margin: 0 auto; transform: translateY(0); }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-arrow { display: none; }
  .services-header { grid-template-columns: 1fr; gap: 20px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-right { grid-template-columns: repeat(3, 1fr); }
  .metric-card.featured { grid-column: span 3; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .products-header { flex-direction: column; align-items: flex-start; }
  .vendor-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  #nav { height: 56px; }
  .nav-inner { padding: 0 14px; gap: 10px; }
  .nav-logo-img { width: 30px; height: 30px; }
  .nav-logo-text .brand { font-size: 1.05rem; }
  .nav-logo-text .sub { display: none; }
  .theme-toggle { width: 30px; height: 30px; font-size: 0.85rem; }
  .mobile-nav { top: 56px; gap: 24px; }
  .mobile-nav a { font-size: 1.4rem; }

  .section-pad { padding: 56px 0; }
  .container { padding: 0 16px; }
  .display-xl { font-size: 3rem; }
  .display-lg { font-size: clamp(1.8rem, 8vw, 3rem); }
  .display-md { font-size: clamp(1.4rem, 6vw, 2rem); }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 20px; }
  .hero-stats > div { flex: 1; text-align: center; }
  .dui-float { display: none; }
  .delivery-ui { max-width: 100%; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-block { padding: 28px 20px; }
  .step-num { font-size: 3rem; margin-bottom: 14px; }
  .step-title { font-size: 1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 24px 20px; }
  .service-icon { font-size: 1.5rem; margin-bottom: 14px; }
  .service-icon i { font-size: 1.5rem; }
  .service-title { font-size: 1rem; margin-bottom: 8px; }
  .service-desc { font-size: 0.8rem; }
  .service-tag { font-size: 0.55rem; margin-top: 12px; }
  .metric-card { padding: 20px 18px; }
  .metric-num { font-size: 2rem; }
  .metric-label { font-size: 0.7rem; }
  .why-right { grid-template-columns: 1fr 1fr; }
  .metric-card.featured { grid-column: span 2; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .why-perks { gap: 12px; }
  .perk { font-size: 0.82rem; }
  .vendor-feat { padding: 12px 16px; gap: 12px; }
  .vendor-feat-icon { width: 36px; height: 36px; border-radius: 8px; }
  .vendor-actions { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand-desc { max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .products-grid { grid-template-columns: 1fr; }
  .why-right { grid-template-columns: 1fr; }
  .metric-card.featured { grid-column: span 1; }
  .display-xl { font-size: 3rem; }
  .display-lg { font-size: 2.2rem; }
  .hero-actions .btn { font-size: 0.85rem; padding: 10px 16px; }
}

/* ── LIGHT MODE ── */
body.light-mode #nav.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 1px 0 var(--border), 0 0 28px rgba(34,139,34,0.14);
}
body.light-mode .nav-links a { color: var(--grey); }
body.light-mode .nav-links a:hover { color: var(--white); }
body.light-mode .mobile-nav { background: rgba(255,255,255,0.97); }
body.light-mode .mobile-nav a { color: var(--grey); }
body.light-mode .hamburger span { background: var(--off-white); }
body.light-mode .hero-bg::before { background: var(--deep); }
body.light-mode .hero-badge { border-color: rgba(34,139,34,0.3); background: rgba(34,139,34,0.06); }
body.light-mode #how-it-works { background: var(--deep); }
body.light-mode #why-us { background: var(--deep); }
body.light-mode #why-us::before { background: radial-gradient(circle, rgba(34,139,34,0.05), transparent 70%); }
body.light-mode #vendor-cta { background: var(--deep); }
body.light-mode .step-num { color: var(--border); }
body.light-mode .step-block:hover .step-num { color: rgba(34,139,34,0.15); }
body.light-mode .step-block:hover { background: var(--card-light); }
body.light-mode .service-card::before { opacity: 0; }
body.light-mode .service-card:hover { border-color: rgba(34,139,34,0.3); }
body.light-mode .metric-card { background: var(--card); border-color: var(--border); }
body.light-mode .metric-card.featured { background: var(--green); }
body.light-mode .metric-card.featured .metric-num { color: var(--black); }
body.light-mode .metric-card.featured .metric-label { color: rgba(0,0,0,0.6); }
body.light-mode .product-img img { filter: brightness(1.05); }
body.light-mode .dui-map { background: linear-gradient(135deg, #e8ede8, #d4dcd5); }
body.light-mode .dui-map-grid { background-image: linear-gradient(rgba(34,139,34,0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(34,139,34,0.12) 1px, transparent 1px); }
body.light-mode #services::before,
body.light-mode #products::before {
  background: radial-gradient(circle, rgba(34,139,34,0.05), transparent 70%);
}
body.light-mode .btn-green { box-shadow: 0 0 30px rgba(34,139,34,0.2); }
body.light-mode .btn-green:hover { box-shadow: 0 0 50px rgba(34,139,34,0.3); }
body.light-mode .card:hover { box-shadow: 0 24px 64px rgba(0,0,0,0.08), 0 0 40px rgba(34,139,34,0.03); }
body.light-mode .billing-display { background: #F8FAF8; }
body.light-mode footer { background: #F0F2F0; }
body.light-mode .footer-copy { color: var(--grey); }
body.light-mode .footer-legal a { color: var(--grey); }
body.light-mode .dash-preview { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
body.light-mode .dash-kpis .kpi { background: #F8FAF8; }
body.light-mode .dash-order-row { background: #F8FAF8; }
body.light-mode .kpi-val { color: #111A13; }
body.light-mode .dash-title { color: #111A13; }
body.light-mode .dash-order-name { color: #111A13; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── LIST VIEW ── */
.products-grid.list-view { grid-template-columns: 1fr; }
.products-grid.list-view .product-card { grid-template-columns: 1fr; }
.products-grid.list-view .product-img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; min-height: 140px; }

/* ═══════════════════════════════════════════════
   DASHBOARD SHELL & APPLICATION UI
   ═══════════════════════════════════════════════ */

.dash-shell { display: flex; min-height: 100vh; background: var(--black); }

.sidebar {
  width: 250px;
  flex-shrink: 0;
  background: var(--deep);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; bottom: 0; left: 0;
  z-index: 90;
  transition: transform 0.3s ease;
}
.sidebar-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.sidebar-brand .brand { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.08em; color: var(--white); position: relative; }
.sidebar-brand .brand::after { content: ''; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.sidebar-brand .sub { font-family: var(--font-mono); font-size: 0.42rem; color: var(--grey); letter-spacing: 0.2em; text-transform: uppercase; display: block; margin-top: 2px; }
.sidebar-body { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 2px; }
.sidebar-section-title { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dark-grey); padding: 0 10px 6px; }
.side-link {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 12px; border-radius: 9px;
  font-size: 0.85rem; font-weight: 500; color: var(--grey);
  transition: var(--transition);
}
.side-link i { font-size: 1.05rem; width: 20px; text-align: center; }
.side-link:hover { color: var(--white); background: rgba(46,139,87,0.07); }
.side-link.active { background: rgba(46,139,87,0.14); color: var(--lime); border-left: 2px solid var(--green); box-shadow: inset 0 0 24px rgba(46,139,87,0.06); }
.side-link .count-pill { margin-left: auto; font-family: var(--font-mono); font-size: 0.6rem; background: var(--green); color: var(--black); border-radius: 20px; padding: 1px 7px; font-weight: 700; }
.side-link .count-pill.red { background: #e74c3c; color: #fff; }
.sidebar-footer {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(46,139,87,0.15); border: 1px solid rgba(46,139,87,0.35);
  color: var(--green); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1rem; flex-shrink: 0;
}
.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name { font-size: 0.8rem; font-weight: 600; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-role { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
.sidebar-logout { color: var(--grey); font-size: 1.05rem; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; transition: var(--transition); }
.sidebar-logout:hover { color: #e74c3c; background: rgba(231,76,60,0.08); }

.dash-main { flex: 1; margin-left: 250px; min-width: 0; display: flex; flex-direction: column; }

.topbar {
  height: 60px;
  display: flex; align-items: center; gap: 16px;
  padding: 0 28px;
  border-bottom: 1px solid var(--border);
  background: rgba(17,26,19,0.75);
  backdrop-filter: blur(16px);
  position: sticky; top: 0; z-index: 50;
}
.topbar-title { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.08em; color: var(--white); }
.topbar-spacer { flex: 1; }
.topbar-icon {
  position: relative;
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--grey); font-size: 1.05rem;
  transition: var(--transition);
}
.topbar-icon:hover { color: var(--white); background: rgba(46,139,87,0.09); }
.topbar-icon .nav-badge { top: -2px; right: -2px; }
.sidebar-open-btn { display: none; }

.dash-content { padding: 28px; flex: 1; }
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 24px; }
.page-header .eyebrow { margin-bottom: 8px; }
.page-title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1; color: var(--white); }
.page-sub { color: var(--grey); font-size: 0.88rem; margin-top: 6px; max-width: 560px; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.panel-title { font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.1em; color: var(--white); }
.panel-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.panel-body { padding: 20px; }
.panel-body.flush { padding: 0; }
.table-scroll { overflow-x: auto; }
.table-scroll .data-table { min-width: 720px; }

.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.kv-row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 0.88rem; }
.kv-row:last-child { border-bottom: none; }
.kv-key { color: var(--grey); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.kv-val { color: var(--white); font-weight: 500; text-align: right; word-break: break-word; }
.kv-val.green { color: var(--lime); }

.grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; }
.grid-2-even { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }

.timeline { list-style: none; position: relative; padding-left: 26px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.tl-step { position: relative; padding: 0 0 18px; }
.tl-dot {
  position: absolute; left: -26px; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--border);
}
.tl-step.done .tl-dot { background: var(--green); border-color: var(--green); box-shadow: 0 0 10px rgba(46,139,87,0.55); }
.tl-step.current .tl-dot { background: var(--black); border-color: var(--lime); box-shadow: 0 0 12px rgba(139,255,74,0.5); animation: blip 2s infinite; }
.tl-label { font-size: 0.86rem; font-weight: 600; color: var(--grey); }
.tl-step.done .tl-label, .tl-step.current .tl-label { color: var(--white); }
.tl-time { font-family: var(--font-mono); font-size: 0.62rem; color: var(--dark-grey); margin-top: 2px; }

.track-hero { max-width: 560px; margin: 48px auto; }
.track-result { max-width: 720px; margin: 32px auto; }

.otp-input {
  width: 100%; max-width: 260px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  letter-spacing: 0.6em;
  padding-left: 0.6em;
}

.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(7,10,8,0.78);
  backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-card {
  width: 100%; max-width: 420px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  animation: fadeUp 0.25s ease both;
}
.modal-card h3 { font-family: var(--font-display); letter-spacing: 0.06em; color: var(--white); font-size: 1.15rem; margin-bottom: 8px; }
.modal-card p { color: var(--grey); font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

.switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider-round { position: absolute; cursor: pointer; inset: 0; background: var(--border); border-radius: 24px; transition: 0.3s; }
.slider-round::before { content: ''; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px; background: var(--off-white); border-radius: 50%; transition: 0.3s; }
input:checked + .slider-round { background: var(--green); }
input:checked + .slider-round::before { transform: translateX(20px); background: var(--black); }

.dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  color: var(--grey);
  transition: var(--transition);
  cursor: pointer;
}
.dropzone:hover, .dropzone.dragover { border-color: var(--green); color: var(--green); background: rgba(46,139,87,0.04); }
.dropzone i { font-size: 1.6rem; display: block; margin-bottom: 8px; }

.progress { height: 8px; background: var(--deep); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--green), var(--lime)); border-radius: 8px; transition: width 0.5s ease; }

.quote-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(46,139,87,0.14), rgba(139,255,74,0.05));
  border: 1px solid rgba(46,139,87,0.4);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
}
.quote-amount { font-family: var(--font-display); font-size: 1.8rem; color: var(--lime); }

.field-hint { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.05em; margin-top: 5px; display: flex; align-items: center; gap: 5px; }
.field-hint.ok { color: var(--green); }
.field-hint.bad { color: #e74c3c; }

.auth-shell {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
}
.auth-side {
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(46,139,87,0.16), transparent),
    radial-gradient(ellipse 50% 40% at 20% 90%, rgba(139,255,74,0.07), transparent),
    var(--deep);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 44px;
}
.auth-form-col { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .display-md { margin-bottom: 8px; }
.auth-sub { color: var(--grey); font-size: 0.92rem; margin-bottom: 30px; }
.auth-footnote { color: var(--grey); font-size: 0.84rem; margin-top: 22px; text-align: center; }
.auth-footnote a { color: var(--green); font-weight: 600; }
.auth-quote { max-width: 400px; }
.auth-stat-row { display: flex; gap: 30px; }
@media (max-width: 900px) { .auth-shell { grid-template-columns: 1fr; } .auth-side { display: none; } }

.sidebar-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 89;
  background: rgba(7,10,8,0.6);
}
body.sidebar-open .sidebar-backdrop { display: block; }
body.sidebar-open .sidebar { transform: translateX(0); }

.filter-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.filter-bar select.form-input, .filter-bar input.form-input { width: auto; min-width: 150px; }

.notice-strip {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,193,7,0.08);
  border: 1px solid rgba(255,193,7,0.3);
  color: #ffc107;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.86rem;
  margin-bottom: 20px;
}


/* ── RESPONSIVE DASHBOARD ── */
@media (max-width: 1024px) {
  .grid-2, .grid-2-even { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  body.sidebar-open .sidebar { transform: translateX(0); }
  .dash-main { margin-left: 0; }
  .sidebar-open-btn { display: flex; }
  .dash-content { padding: 18px; }
  .topbar { padding: 0 16px; }
}

/* ── LIGHT MODE (dashboard) ── */
body.light-mode .sidebar { background: var(--deep); }
body.light-mode .side-link.active { background: rgba(34,139,34,0.12); color: #1c6b1c; border-left-color: var(--green); }
body.light-mode .topbar { background: rgba(255,255,255,0.8); }
body.light-mode .avatar { color: var(--green); }
body.light-mode .modal-card h3, body.light-mode .panel-title,
body.light-mode .page-title, body.light-mode .topbar-title { color: #111A13; }
body.light-mode .kv-val, body.light-mode .tl-step.done .tl-label,
body.light-mode .tl-step.current .tl-label { color: #111A13; }
body.light-mode .quote-amount { color: #1c6b1c; }
body.light-mode .sidebar-user-name { color: #111A13; }

/* ── MISC UTILITIES ── */
.text-green { color: var(--green) !important; }
.text-lime { color: var(--lime) !important; }
.text-red { color: #e74c3c !important; }
.text-grey { color: var(--grey) !important; }
.mono { font-family: var(--font-mono); }
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.w-100 { width: 100%; }
.flex { display: flex; align-items: center; gap: 10px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.hidden { display: none !important; }

/* ── TABLES, BADGES & FORM PARTIALS ── */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.data-table th {
  text-align: left;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.data-table td { padding: 13px 16px; border-bottom: 1px solid rgba(42,61,44,0.5); color: var(--off-white); vertical-align: middle; }
.data-table tbody tr { transition: background 0.2s ease; }
.data-table tbody tr:hover { background: rgba(46,139,87,0.05); }
.data-table tbody tr:last-child td { border-bottom: none; }
.table-empty { padding: 48px 20px; text-align: center; color: var(--dark-grey); }
.table-empty i { display: block; font-size: 2rem; margin-bottom: 8px; }

.status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 20px;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid transparent; white-space: nowrap;
}
.st-pending   { background: rgba(255,193,7,0.09);  color: #ffc107; border-color: rgba(255,193,7,0.3); }
.st-processing,.st-quoted { background: rgba(33,150,243,0.1); color: #64b5f6; border-color: rgba(33,150,243,0.3); }
.st-awaiting_assignment { background: rgba(156,39,176,0.1); color: #ce93d8; border-color: rgba(156,39,176,0.35); }
.st-assigned,.st-approved { background: rgba(46,139,87,0.12); color: var(--green); border-color: rgba(46,139,87,0.4); }
.st-out_for_delivery,.st-in_transit { background: rgba(0,188,212,0.1); color: #4dd0e1; border-color: rgba(0,188,212,0.35); }
.st-delivered { background: rgba(46,204,113,0.1); color: #2ecc71; border-color: rgba(46,204,113,0.4); }
.st-failed    { background: rgba(231,76,60,0.1);  color: #e74c3c; border-color: rgba(231,76,60,0.4); }
.st-cancelled,.st-rejected { background: rgba(120,120,120,0.12); color: var(--grey); border-color: var(--border); }
.st-paid,.st-approved_withdrawal,.st-success { background: rgba(46,204,113,0.1); color: #2ecc71; border-color: rgba(46,204,113,0.4); }
.st-received,.st-completed { background: rgba(46,139,87,0.14); color: var(--lime); border-color: rgba(46,139,87,0.45); }
.st-depleted,.st-used { background: rgba(120,120,120,0.12); color: var(--grey); border-color: var(--border); }
body.light-mode .status-badge { filter: saturate(1.4) brightness(0.82); }

.ref-code { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--green); }
body.light-mode .ref-code { color: #1c6b1c; }

.form-errors {
  background: rgba(231,76,60,0.08);
  border: 1px solid rgba(231,76,60,0.35);
  color: #e74c3c;
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 0.86rem;
}
.req { color: var(--green); }

.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 18px 0 4px; font-size: 0.68rem; letter-spacing: 0.1em; }
.pg-link { color: var(--green); transition: var(--transition); }
.pg-link:hover { color: var(--lime); }
.pg-info { color: var(--dark-grey); }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 20px; position: relative; overflow: hidden; }
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--lime)); opacity: 0.7; }
.stat-label { display: block; font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
.stat-value { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--white); }
.stat-value.green { color: var(--green); }
.stat-icon { position: absolute; right: 16px; bottom: 14px; font-size: 1.7rem; color: rgba(46,139,87,0.22); }
body.light-mode .stat-value { color: #111A13; }

.toast-stack { position: fixed; top: 18px; right: 18px; z-index: 400; display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.toast {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.84rem; color: var(--off-white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  animation: toastIn 0.3s ease both;
}
.toast i { color: var(--green); font-size: 1.05rem; }
.toast-error { border-left-color: #e74c3c; } .toast-error i { color: #e74c3c; }
.toast-warning { border-left-color: #ffc107; } .toast-warning i { color: #ffc107; }
.toast-info { border-left-color: #64b5f6; } .toast-info i { color: #64b5f6; }
.toast-close { margin-left: auto; background: none; border: none; color: var(--grey); font-size: 1rem; cursor: pointer; }
@keyframes toastIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }


/* ---------- MOBILE REFINEMENTS (dashboard + shared) ---------- */
@media (max-width: 700px) {
  .dash-kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .data-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  .data-table th, .data-table td { padding: 10px 12px; }
  .page-header { flex-direction: column; align-items: stretch; }
  .page-header > div:first-child { min-width: 0; }
  .page-header .btn, .page-header form .btn { width: 100%; justify-content: center; }
  .modal-card {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
  }
  .kv-row { font-size: 0.8rem; }
  .dash-content { padding: 14px 12px; }
  .topbar-title {
    max-width: 52vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .filter-bar select.form-input,
  .filter-bar input.form-input { min-width: 0; flex: 1 1 130px; }
  .quote-banner { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 420px) {
  .dash-kpis { grid-template-columns: 1fr; }
  .display-md { font-size: clamp(1.3rem, 6.5vw, 2rem); }
  .panel-body { padding: 14px 12px; }
}

/* ---------- SITE SHELL COMPATIBILITY LAYER ----------
   Styles for the shared <base.html> chrome (navbar, mobile menu,
   footer) plus button/form helpers referenced across templates. */

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 66px;
  padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
body.light-mode .navbar { background: rgba(255, 255, 255, 0.88); }
.logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.14em;
  color: var(--white);
  text-decoration: none;
  position: relative;
  line-height: 1;
}
.logo::after {
  content: '';
  position: absolute;
  right: -10px;
  bottom: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(46, 139, 87, 0.8);
}
.navbar .hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  color: var(--off-white);
  font-size: 1.45rem;
  cursor: pointer;
}
@media (min-width: 901px) {
  .navbar .hamburger { display: none !important; }
}

/* NAV BUTTONS */
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  color: var(--off-white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-btn:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-1px);
}
.nav-btn-primary {
  background: var(--green);
  border-color: var(--green);
  color: var(--black);
  box-shadow: 0 0 26px rgba(46, 139, 87, 0.35);
}
.nav-btn-primary:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--black);
}

/* MOBILE SLIDE-IN MENU */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 999;
  height: 100vh;
  width: min(330px, 88vw);
  display: flex;
  flex-direction: column;
  padding: 18px 22px 22px;
  background: var(--deep);
  border-left: 1px solid var(--border);
  transform: translateX(105%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-header .brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  color: var(--white);
}
.close-menu {
  background: none;
  border: 0;
  color: var(--grey);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.25s;
}
.close-menu:hover { color: var(--green); }
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 0;
  flex: 1;
  overflow-y: auto;
}
.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--grey);
  text-decoration: none;
  padding: 9px 10px;
  border-radius: var(--radius);
  transition: color 0.25s, background 0.25s, padding-left 0.25s;
}
.mobile-nav-links a:hover {
  color: var(--white);
  background: rgba(46, 139, 87, 0.09);
  padding-left: 16px;
}
.mobile-menu-footer {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--dark-grey);
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
}

/* FOOTER */
.footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 60px 24px 26px;
  margin-top: auto;
}
.footer-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 44px;
}
.footer-brand-col .brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.14em;
  color: var(--white);
}
.footer-brand-col p {
  color: var(--grey);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-top: 14px;
  max-width: 36ch;
}
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--grey);
  font-size: 1rem;
  transition: var(--transition);
}
.socials a:hover {
  color: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 18px rgba(46, 139, 87, 0.25);
  transform: translateY(-2px);
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--dark-grey);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a {
  color: var(--grey);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--green); }
main ~ .footer .footer-bottom,
.footer .footer-bottom {
  max-width: 1180px;
  margin: 44px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--dark-grey);
}

/* BUTTON VARIANTS USED ACROSS TEMPLATES */
.btn-solid {
  background: var(--green);
  color: var(--black);
  box-shadow: 0 0 30px rgba(46, 139, 87, 0.35), 0 4px 14px rgba(0, 0, 0, 0.25);
}
.btn-solid:hover {
  background: var(--lime);
  box-shadow: 0 0 46px rgba(139, 255, 74, 0.35);
  transform: translateY(-1px);
}
.btn-danger {
  background: #e74c3c;
  color: #fff;
  box-shadow: 0 4px 14px rgba(231, 76, 60, 0.25);
}
.btn-danger:hover {
  background: #c0392b;
  transform: translateY(-1px);
}
.btn-sm { padding: 7px 13px; font-size: 0.76rem; }

/* FORM / FIELD HELPERS */
.field-error {
  color: #e74c3c;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  margin-top: 5px;
}

/* AUTH SIDE STATS */
.stat-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--green);
}
.auth-stat-row > div .stat-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--dark-grey);
}
.auth-stat-row { display: flex; gap: 34px; }

/* PUBLIC PAGE HELPERS */
.section { padding: 72px 0; }
.track-form {
  display: flex;
  gap: 10px;
  max-width: 620px;
  margin: 0 auto;
}
.track-form .form-input { flex: 1; }
.img-placeholder {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--deep);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--dark-grey);
  font-size: 2.2rem;
}
.pm-cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 11px;
}

@media (max-width: 900px) {
  .footer-container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .track-form { flex-direction: column; }
  .footer-container { grid-template-columns: 1fr; gap: 30px; }
  .navbar { height: 58px; }
  .nav-btn { padding: 7px 13px; font-size: 0.72rem; }
}

/* =====================================================
   UI V2 â€” MODERN FORMS, BUTTONS & DASHBOARD POLISH
   ===================================================== */

/* ---- INPUTS ---- */
.form-group { position: relative; }
.form-group label,
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
  transition: color 0.25s;
}
.form-group:focus-within > label { color: var(--lime); }
.form-input {
  width: 100%;
  padding: 13px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.005)), var(--card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.94rem;
  caret-color: var(--lime);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  outline: none;
}
.form-input:hover { border-color: rgba(138,154,139,0.55); }
.form-input:focus {
  border-color: var(--green);
  background: linear-gradient(180deg, rgba(46,139,87,0.05), rgba(255,255,255,0.01)), var(--card);
  box-shadow: 0 0 0 4px rgba(46,139,87,0.15), 0 0 24px rgba(46,139,87,0.12);
}
.form-input::placeholder { color: var(--dark-grey); }
.form-input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 60px #16211a inset;
  -webkit-text-fill-color: var(--white);
  caret-color: var(--white);
}
textarea.form-input { min-height: 110px; line-height: 1.6; }
select.form-input { cursor: pointer; }
select.form-input option { background: var(--deep); color: var(--white); }
input[type="date"].form-input,
input[type="time"].form-input { color-scheme: dark; }

/* password visibility toggle (injected by site.js) */
.input-wrap { position: relative; display: block; }
.input-wrap .form-input { padding-right: 50px; }
.pw-toggle {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 9px;
  color: var(--grey);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}
.pw-toggle:hover {
  color: var(--lime);
  background: rgba(46,139,87,0.18);
  box-shadow: 0 0 14px rgba(46,139,87,0.25);
}

/* ---- BUTTONS ---- */
.btn {
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 0.88rem;
  will-change: transform;
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible,
.form-input:focus-visible,
.nav-btn:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}
.btn-solid,
.btn-green {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0) 52%);
  background-color: var(--green);
  border: 1px solid rgba(139,255,74,0.25);
  box-shadow: 0 0 32px rgba(46,139,87,0.35), inset 0 1px 0 rgba(255,255,255,0.18), 0 6px 16px rgba(0,0,0,0.3);
}
.btn-solid:hover,
.btn-green:hover {
  filter: brightness(1.09);
  box-shadow: 0 0 52px rgba(139,255,74,0.35), inset 0 1px 0 rgba(255,255,255,0.22), 0 8px 20px rgba(0,0,0,0.32);
}
.btn-solid:active,
.btn-green:active { filter: brightness(0.98); }
.btn-outline { border-width: 1.5px; border-radius: 12px; }
.btn-outline:hover { background: rgba(46,139,87,0.09); }
.btn-danger {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0) 52%);
  background-color: #e74c3c;
  border: 1px solid rgba(231,76,60,0.4);
  box-shadow: 0 0 26px rgba(231,76,60,0.3), 0 6px 14px rgba(0,0,0,0.28);
}
.btn-danger:hover { filter: brightness(1.08); }

/* ---- AUTH PAGES ---- */
.auth-form-col { padding: 56px 24px; }
.auth-card {
  position: relative;
  max-width: 440px;
  padding: 40px 36px 34px;
  background: linear-gradient(175deg, rgba(31,39,33,0.92), rgba(14,18,15,0.96));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 34px 90px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green) 30%, var(--lime) 50%, var(--green) 70%, transparent);
  opacity: 0.85;
}
.auth-card::after {
  content: '';
  position: absolute;
  top: -70px;
  right: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,139,87,0.16), transparent 68%);
  pointer-events: none;
}
.auth-card .display-md { letter-spacing: 0.04em; }
.auth-sub { margin-bottom: 26px; }
.auth-footnote {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}
.track-hero .btn { min-width: 220px; justify-content: center; }

/* ---- DASHBOARD SHELL ---- */
.sidebar {
  background:
    radial-gradient(ellipse 90% 40% at 0% 0%, rgba(46,139,87,0.08), transparent),
    linear-gradient(180deg, var(--deep) 0%, #0a0f0b 100%);
}
.sidebar-brand {
  padding: 20px 18px;
  border-bottom: 1px solid var(--border);
  box-shadow: inset 0 -12px 24px -18px rgba(139,255,74,0.25);
}
.side-link {
  padding: 10px 13px;
  border-radius: 10px;
  gap: 12px;
  border-left: 3px solid transparent;
}
.side-link i { transition: transform 0.22s ease, color 0.22s ease; }
.side-link:hover { background: rgba(46,139,87,0.09); padding-left: 16px; }
.side-link:hover i { color: var(--lime); transform: scale(1.08); }
.side-link.active {
  background: linear-gradient(90deg, rgba(46,139,87,0.22), rgba(46,139,87,0.05));
  border-left-color: var(--lime);
  color: var(--white);
  box-shadow: inset 0 0 30px rgba(46,139,87,0.10);
}
.side-link.active i { color: var(--lime); }
.side-link.active::after {
  content: '';
  position: absolute;
  right: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}
.side-link { position: relative; }
.count-pill { box-shadow: 0 0 12px rgba(46,139,87,0.45); }
.avatar {
  background: linear-gradient(145deg, rgba(46,139,87,0.35), rgba(46,139,87,0.10));
  border: 1px solid rgba(139,255,74,0.4);
  box-shadow: 0 0 18px rgba(46,139,87,0.25);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}

/* panels & cards */
.panel {
  position: relative;
  box-shadow: 0 18px 44px rgba(0,0,0,0.35);
}
.panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,255,74,0.35), transparent);
  z-index: 1;
  pointer-events: none;
}
.panel-head { background: rgba(255,255,255,0.02); }
.panel-title i { color: var(--green); margin-right: 4px; }

.kpi {
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.kpi:hover {
  border-color: rgba(139,255,74,0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4), 0 0 22px rgba(46,139,87,0.15);
}
.dash-kpis .kpi:first-child .kpi-val {
  background: linear-gradient(120deg, var(--lime), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.data-table th {
  background: rgba(46,139,87,0.055);
}
.data-table tbody td { transition: background 0.2s ease; }

/* slim scrollbars inside dashboard */
.dash-shell *::-webkit-scrollbar,
.dash-content ::-webkit-scrollbar { width: 9px; height: 9px; }
.dash-shell *::-webkit-scrollbar-thumb,
.dash-content ::-webkit-scrollbar-thumb {
  background: rgba(46,139,87,0.35);
  border-radius: 8px;
}
.dash-shell *::-webkit-scrollbar-thumb:hover { background: rgba(139,255,74,0.5); }
.dash-shell *::-webkit-scrollbar-track { background: transparent; }

/* status badges pop */
.status-badge { border: 1px solid transparent; font-weight: 600; }

/* ---- LIGHT MODE COMPANIONS ---- */
body.light-mode .form-input {
  background: #f6f8f5;
  border-color: #d7ded6;
  color: #14201a;
}
body.light-mode .form-input:hover { border-color: #aebfae; }
body.light-mode .form-input:focus {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(46,139,87,0.12);
}
body.light-mode .form-input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 60px #eef3ee inset;
  -webkit-text-fill-color: #14201a;
}
body.light-mode select.form-input option { background: #fff; color: #14201a; }
body.light-mode .auth-card {
  background: linear-gradient(175deg, rgba(255,255,255,0.96), rgba(240,245,240,0.98));
  border-color: #dfe6de;
  box-shadow: 0 30px 70px rgba(20,40,25,0.14);
}
body.light-mode .auth-footnote { border-top-color: #dfe6de; }
body.light-mode .pw-toggle { background: transparent; border: none; color: #41564a; }
body.light-mode .panel { box-shadow: 0 14px 34px rgba(20,40,25,0.10); }
body.light-mode .panel-head { background: rgba(20,40,25,0.02); }
body.light-mode .data-table th { background: rgba(46,139,87,0.07); }
body.light-mode .topbar {
  background: rgba(255,255,255,0.85);
  box-shadow: 0 1px 0 #dfe6de;
}
body.light-mode .sidebar {
  background: linear-gradient(180deg, #f2f6f1, #e9efe7);
}


/* =====================================================
   UI V3 â€” FLOATING-LABEL INPUTS + REGISTRATION TOGGLE
   ===================================================== */

/* ---- SEGMENTED CUSTOMER/VENDOR SWITCH ---- */
.reg-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(360px, 100%);
  margin: 0 auto 26px;
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 5px;
}
.reg-switch button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 10px;
  background: none;
  border: 0;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--grey);
  cursor: pointer;
  transition: color 0.25s ease;
}
.reg-switch button i { font-size: 1.05rem; }
.reg-switch button.active { color: var(--black); }
.reg-slider {
  position: absolute;
  z-index: 1;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0) 55%), var(--green);
  box-shadow: 0 6px 18px rgba(46,139,87,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.reg-switch.vendor-active .reg-slider { transform: translateX(100%); }

/* ---- FLOATING-LABEL FIELDS ---- */
.float-field { position: relative; }
.float-field .form-input {
  padding: 22px 16px 9px;
}
textarea.float-field .form-input,
.float-field textarea.form-input {
  padding: 24px 16px 12px;
  line-height: 1.55;
}
.form-group > label.float-label {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  max-width: calc(100% - 60px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--dark-grey);
  pointer-events: none;
  transition: all 0.18s ease;
}
.float-field:focus-within .float-label,
.float-field.filled .float-label {
  top: -8px;
  left: 11px;
  transform: none;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  background: #10150f;
  border-radius: 4px;
  padding: 0 6px;
}
/* gradient border on focus */
.float-field:focus-within .form-input {
  border-color: transparent !important;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(135deg, rgba(139,255,74,0.95), rgba(46,139,87,0.9) 55%, rgba(46,139,87,0.35)) border-box;
  box-shadow: 0 10px 30px rgba(46,139,87,0.18), 0 0 0 3px rgba(46,139,87,0.10);
}
/* keep password eye aligned */
.float-field .input-wrap { display: block; }
.float-field .pw-toggle { top: 50%; }

/* non-floating selects keep micro-label look inside groups untouched */
.form-group > label:not(.float-label) {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---- LIGHT MODE ---- */
body.light-mode .reg-switch { background: #eef2ec; border-color: #dfe6de; }
body.light-mode .reg-switch button.active { color: #fff; }
body.light-mode .float-field.filled .float-label,
body.light-mode .float-field:focus-within .float-label {
  color: #1c6b1c;
  background: #ffffff;
}
body.light-mode .float-field:focus-within .form-input {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(46,139,87,0.85), rgba(139,255,74,0.7)) border-box;
  box-shadow: 0 10px 26px rgba(20,40,25,0.12);
}

/* ---- BARE AUTH PAGES (forms only) ---- */
body.auth-bare {
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 88% -12%, rgba(46,139,87,0.20), transparent 62%),
    radial-gradient(720px 440px at -8% 112%, rgba(139,255,74,0.09), transparent 56%),
    var(--black);
}
body.auth-bare main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
}
.bare-auth-wrap { width: min(430px, 100%); margin: 0 auto; }
.bare-auth-wide { width: min(460px, 100%); }
.bare-auth-wrap .auth-card {
  width: 100%;
  max-width: none;
  padding: 36px 32px;
  margin: 0;
  animation: cardIn 0.45s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.otp-group .form-input,
.float-field.otp-group .form-input {
  text-align: center;
  letter-spacing: 0.55em;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
}
.otp-title {
  margin: 0 0 8px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--white);
}
.otp-sent-to {
  margin: 0 0 22px;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--grey);
}
.otp-sent-to strong { color: var(--lime); font-weight: 600; }
body.light-mode .otp-title { color: #14231a; }
body.light-mode .otp-sent-to { color: #5a6b5d; }
.pw-hint {
  display: block;
  margin-top: 6px;
  color: var(--grey);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
}
.bare-link {
  display: block;
  margin-top: 18px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s ease;
}
.bare-link:hover { color: var(--lime); }
body.light-mode.auth-bare {
  background:
    radial-gradient(900px 520px at 88% -12%, rgba(46,139,87,0.14), transparent 62%),
    radial-gradient(720px 440px at -8% 112%, rgba(46,139,87,0.08), transparent 56%),
    #f3f5f2;
}
body.light-mode .pw-hint { color: #5a6b5d; }
/* =====================================================
   UI V4 — FOREST GREEN BUTTONS, AUTH LOGO, THEME TOGGLE
   ===================================================== */

/* ---- FOREST GREEN PRIMARY BUTTONS ---- */
.btn-solid,
.btn-green {
  background: #228B22;
  color: #ffffff;
  border-color: rgba(34,139,34,0.45);
  box-shadow: 0 0 30px rgba(34,139,34,0.35), inset 0 1px 0 rgba(255,255,255,0.18), 0 6px 16px rgba(0,0,0,0.3);
}
.btn-solid:hover,
.btn-green:hover {
  background: #1E7A1E;
  filter: brightness(1.08);
  box-shadow: 0 0 46px rgba(34,139,34,0.5), inset 0 1px 0 rgba(255,255,255,0.22), 0 8px 20px rgba(0,0,0,0.32);
}
body.light-mode .btn-solid,
body.light-mode .btn-green {
  border-color: rgba(20,90,20,0.35);
  box-shadow: 0 8px 18px rgba(30,110,30,0.28), inset 0 1px 0 rgba(255,255,255,0.25);
}

/* registration slider + active label follow forest green */
.reg-slider {
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0) 55%), #228B22;
  box-shadow: 0 6px 18px rgba(34,139,34,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
}

/* ---- AUTH LOGO ---- */
.auth-logo {
  display: block;
  width: 78px;
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.45));
}
.bare-auth-wide > .auth-logo { margin-bottom: 22px; }
body.light-mode .auth-logo { filter: drop-shadow(0 6px 14px rgba(20,40,25,0.18)); }

/* ---- BARE LINK ROW (login page) ---- */
.bare-links {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 18px;
}
.bare-links .bare-link { margin-top: 0; }

/* ---- FLOATING THEME TOGGLE ON BARE AUTH PAGES ---- */
.auth-theme-toggle {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 60;
}
/* =====================================================
   UI V5 — LABELS ABOVE INPUTS + LIGHT-MODE COMPLETENESS
   ===================================================== */

/* ---- STATIC LABELS ABOVE FIELDS ---- */
.form-group > label {
  display: block;
  margin-bottom: 8px;
}

/* ---- LIGHT MODE COMPLETENESS ---- */
body.light-mode { background: #f4f6f3; color: #1c2b20; }
body.light-mode h1, body.light-mode h2, body.light-mode h3,
body.light-mode h4, body.light-mode strong { color: #10190f; }
body.light-mode .logo { color: #10190f; }
body.light-mode .page-sub, body.light-mode .auth-sub,
body.light-mode .stat-label, body.light-mode .kpi-label { color: #5a6b5d; }
body.light-mode .eyebrow { color: #1c6b32; }
body.light-mode .mono { }
body.light-mode a { color: #1c6b32; }

/* dashboard chrome */
body.light-mode .side-link { color: #42544a; }
body.light-mode .side-link:hover { background: rgba(46,139,87,0.08); color: #14532d; }
body.light-mode .sidebar-user-email { color: #6b7a6e; }
body.light-mode .topbar-icon { color: #41544a; }
body.light-mode .topbar-icon:hover { background: rgba(46,139,87,0.10); color: #14532d; }
body.light-mode .close-menu { color: #111; }

/* tables & lists */
body.light-mode .data-table td { border-color: #e3e9e2; color: #24312a; }
body.light-mode .data-table tbody tr:hover td { background: rgba(46,139,87,0.05); }
body.light-mode .table-empty { color: #5a6b5d; }
body.light-mode .filter-bar { border-color: #e0e7de; background: rgba(255,255,255,0.7); }
body.light-mode .pagination a, body.light-mode .pagination span {
  color: #41544a; border-color: #dbe3da; background: #ffffff;
}
body.light-mode .pagination .current { background: #228B22; color: #fff; border-color: #228B22; }

/* controls */
body.light-mode .btn-outline { color: #17603a; border-color: rgba(23,96,58,0.4); }
body.light-mode .btn-outline:hover { background: rgba(34,139,34,0.08); }
body.light-mode .btn-ghost { color: #14532d; }
body.light-mode select.form-input option { background: #ffffff; color: #16211a; }
body.light-mode .form-errors {
  background: #fdecec; border-color: #f3c1c1; color: #8a1c1c;
}
body.light-mode .field-error { color: #b3261e; }

/* panels & modals */
body.light-mode .modal-card { background: #ffffff; color: #1c2b20; border-color: #e0e7de; }
body.light-mode .track-hero { background: #ffffff; border-color: #e0e7de; }
body.light-mode .kv-key, body.light-mode .tl-step .tl-label { color: #5a6b5d; }
body.light-mode .img-placeholder { background: #e8eee7; color: #6b7a6e; }

/* bare auth */
body.light-mode .bare-link { color: #51645a; }
body.light-mode .bare-link:hover { color: #1c6b32; }
body.light-mode .reg-switch button { color: #5a6b5d; }

/* scrollbars */
body.light-mode ::-webkit-scrollbar-track { background: #edf1ec; }
body.light-mode ::-webkit-scrollbar-thumb { background: #bcd3bf; }

/* ═══════════════════════════════════════════════
   UI V6 — POLISH: BUTTONS, INPUTS, TOASTS, LEGAL, BANK PICKER
   ═══════════════════════════════════════════════ */

/* ---- BUTTONS: centered labels, guaranteed readable text ---- */
.btn {
  justify-content: center;
  text-align: center;
}
.btn-solid,
.btn-green,
.btn-danger {
  color: #ffffff;
}
body.light-mode .btn-solid,
body.light-mode .btn-green {
  color: #ffffff;
  background-color: #228B22;
}
body.light-mode .btn-danger { color: #ffffff; }
.btn-outline,
.btn-ghost {
  color: var(--off-white);
}
body.light-mode .btn-outline { color: #17603a; }
body.light-mode .btn-ghost { color: #14532d; }
.btn[disabled],
.btn.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
}

/* ---- DASHBOARD INPUT SAFETY NET: style any bare fields ---- */
.dash-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
.dash-content textarea,
.dash-content select,
.panel-body input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
.panel-body textarea,
.panel-body select,
.modal-card input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
.modal-card select,
.modal-card textarea {
  width: 100%;
  padding: 12px 15px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.005)), var(--card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.94rem;
  caret-color: var(--lime);
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.dash-content input:focus,
.dash-content textarea:focus,
.dash-content select:focus,
.panel-body input:focus,
.panel-body textarea:focus,
.panel-body select:focus,
.modal-card input:focus,
.modal-card select:focus,
.modal-card textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(46,139,87,0.15);
}
.dash-content input::placeholder,
.dash-content textarea::placeholder,
.panel-body input::placeholder,
.panel-body textarea::placeholder,
.modal-card input::placeholder {
  color: var(--dark-grey);
}
.dash-content select option,
.panel-body select option,
.modal-card select option {
  background: var(--deep);
  color: var(--white);
}
body.light-mode .dash-content input,
body.light-mode .panel-body input,
body.light-mode .modal-card input {
  -webkit-text-fill-color: #0A0A0A;
}

/* ---- SIDEBAR: logout row (headings removed) ---- */
.sidebar-logout-row { display: block; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); }
.sidebar-logout-row .side-link {
  width: 100%;
  color: #d98b8b;
}
.sidebar-logout-row .side-link:hover {
  color: #ff9f9f;
  background: rgba(231,76,60,0.09);
}
body.light-mode .sidebar-logout-row .side-link { color: #a03030; }

/* ---- TOASTS: auto-dismiss exit animation ---- */
.toast-out {
  opacity: 0 !important;
  transform: translateX(40px) !important;
  transition: opacity 0.32s ease, transform 0.32s ease;
}

/* ---- LEGAL PAGES (terms / privacy) ---- */
.legal-page {
  max-width: 780px;
  margin: 48px auto 72px;
  padding: 0 20px;
}
.legal-updated {
  color: var(--grey);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  margin: 6px 0 34px;
}
.legal-page section {
  margin-bottom: 30px;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 10px;
}
.legal-page p {
  line-height: 1.75;
  color: var(--off-white);
  font-size: 0.92rem;
}
.legal-page a { color: var(--lime); }
.legal-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
body.light-mode .legal-page h2 { color: #14231a; }
body.light-mode .legal-page p { color: #2c3830; }

/* ---- BANK PICKER: live suggestions + account verification ---- */
.bank-field { position: relative; }
.bank-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  z-index: 60;
  background: var(--card-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 18px 46px rgba(0,0,0,0.45);
  max-height: 240px;
  overflow-y: auto;
  display: none;
}
.bank-suggest.open { display: block; }
.bank-option {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  font-size: 0.88rem;
  color: var(--off-white);
  background: transparent;
  border: none;
  cursor: pointer;
}
.bank-option i { color: var(--green); font-size: 0.95rem; }
.bank-option:hover, .bank-option.highlighted { background: rgba(46,139,87,0.13); color: var(--white); }
.bank-option.none { color: var(--grey); cursor: default; }
.verify-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  min-height: 20px;
  margin-top: -4px;
}
.verify-line.ok { color: var(--lime); }
.verify-line.bad { color: #e74c3c; }
.verify-line.wait { color: var(--grey); }
body.light-mode .verify-line.ok { color: #1c6b1c; }
body.light-mode .bank-suggest { box-shadow: 0 18px 40px rgba(20,40,25,0.18); }

@media (max-width: 640px) {
  .legal-page section { padding: 18px; }
  .legal-links .btn { width: 100%; }
  .bank-suggest { max-height: 200px; }
}

/* Bank suggest dropdown must escape the panel's overflow:hidden */
.panel:has(.bank-field),
.grid-2 > .panel:has(.bank-field) {
  overflow: visible;
}

/* Utility gaps */
.gap-4 { gap: 4px; }
.gap-6 { gap: 6px; }
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

/* Hideable form groups for pickup-type toggle */
.form-group[data-hide] { display: none; }

/* ── RESPONSIVE FIXES FOR MODIFIED PAGES ── */
@media (max-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr !important;
  }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .timeline li { padding-left: 36px !important; }
  .wallet-summary { grid-template-columns: 1fr !important; }
  .wallet-feed { max-height: 320px; }
  .agent-vendor-orders .data-table { font-size: 0.78rem; }
}
@media (max-width: 480px) {
  .stat-cards { grid-template-columns: 1fr; }
  .stat-card { padding: 14px 16px; }
  .stat-value { font-size: 1.5rem; }
  .page-title { font-size: 1.4rem; }
  .panel-body { padding: 16px 14px; }
  .data-table th, .data-table td { padding: 8px 10px; font-size: 0.78rem; }
  .page-header { flex-direction: column; gap: 12px; }
  .page-actions { flex-wrap: wrap; }
  .filter-bar { width: 100%; }
  .filter-bar .form-input { flex: 1; min-width: 0; }
  .kv-row { flex-direction: column; gap: 4px; }
  .kv-key { min-width: auto; }
  .btn { white-space: nowrap; }
  .ref-code { font-size: 0.62rem; }
  .verify-line { font-size: 0.7rem; }
  #bankField, .bank-field { min-width: 0; }
  .bank-suggest { max-height: 200px; }
  .wallet-summary > div { padding: 12px; }
  .timeline li { padding-left: 30px !important; }
  .timeline .tl-label { font-size: 0.72rem; }
}

/* ── MARKETPLACE PRODUCT GRID ── */
.product-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.product-mini {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.product-mini:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}
.pm-img-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.pm-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--card-light);
  overflow: hidden;
}
.pm-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-grey);
  font-size: 2rem;
}
.pm-oos {
  position: absolute;
  top: 10px;
  right: 10px;
}
.pm-info {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pm-cat {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}
.pm-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--off-white);
  line-height: 1.3;
}
.pm-price {
  font-size: 1.05rem;
  color: var(--lime);
  margin-top: 4px;
}
.pm-cart-form {
  padding: 0 16px 14px;
  display: flex;
}
.pm-cart-btn {
  width: 100%;
  justify-content: center;
  gap: 6px;
  font-size: 0.76rem;
  padding: 8px 14px;
}
body.light-mode .product-mini { background: var(--card); }
body.light-mode .pm-name { color: #111A13; }
body.light-mode .img-placeholder { color: var(--border); }

@media (max-width: 640px) {
  .product-preview-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pm-info { padding: 10px 12px; }
  .pm-name { font-size: 0.82rem; }
  .pm-price { font-size: 0.9rem; }
  .pm-cart-form { padding: 0 12px 10px; }
  .pm-cart-btn { font-size: 0.7rem; padding: 7px 10px; }
}
@media (max-width: 420px) {
  .product-preview-grid { grid-template-columns: 1fr; }
}

/* Quantity pricing rules */
.qty-pricing {
  border: 1px dashed var(--border, #2a2f35);
  border-radius: 12px;
  padding: 14px;
  background: var(--bg, #12151a);
}
.qty-title {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}
.qty-hint {
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--muted, #8b93a1);
}
.qty-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.qp-row,
.qp-base {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.qp-base {
  opacity: 0.9;
}
.qp-qty,
.qp-price {
  flex: 1;
  min-width: 0;
}
.qp-qty {
  max-width: 74px;
  text-align: center;
  font-family: var(--font-mono, monospace);
  background: transparent;
  color: var(--muted, #8b93a1);
  border: 1px dashed var(--border, #2a2f35);
}
.qp-price {
  max-width: 160px;
}
.qp-x {
  color: var(--muted, #8b93a1);
}
.qp-del {
  flex-shrink: 0;
}
@media (max-width: 520px) {
  .qp-qty { max-width: 58px; }
  .qp-price { max-width: none; flex: 1.6; }
  .qty-hint { display: block; width: 100%; }
}

/* Bulk pricing display */
.bulk-box {
  margin-top: 12px;
  border: 1px solid var(--border, #2a2f35);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--bg, #12151a);
}
.bulk-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--accent, #c8f56c);
  margin-bottom: 8px;
}
.bulk-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  padding: 4px 0;
}
.bulk-qty {
  font-weight: 600;
}
.bulk-price {
  color: var(--accent, #c8f56c);
}
.bulk-note {
  color: var(--muted, #8b93a1);
  font-size: 0.72rem;
  margin-left: auto;
}

/* ── RESPONSIVE POLISH FOR MODIFIED PAGES ── */
@media (max-width: 640px) {
  .bulk-box { padding: 10px 12px; }
  .bulk-row { font-size: 0.78rem; gap: 8px; }
  .bulk-note { font-size: 0.66rem; }
  .product-detail-qty {
    width: 100%;
    margin-bottom: 10px;
  }
  .pdp-add-form { flex-wrap: wrap; }
  .pdp-add-form .form-input { flex: 1 1 90px; }
}
@media (max-width: 480px) {
  .panel-head { flex-direction: column; align-items: stretch; gap: 10px; }
  .panel-head .flex,
  .page-header .flex,
  .flex-between { flex-wrap: wrap; }
  .cart-footer { flex-direction: column; align-items: stretch; }
  .cart-footer .btn,
  .cart-footer a.btn { width: 100%; }
  .cart-footer .flex { justify-content: space-between; }
}
