/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  color: #1a1a1a;
  background: #f5f5f5;
  line-height: 1.4;
}
a { color: #0064a4; text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* TOPBAR */
.topbar {
  background: #1a1a1a;
  color: #ccc;
  font-size: 11px;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
}
.topbar a { color: #ccc; }
.topbar a:hover { color: #fff; }
.topbar-right button { color: #ccc; }

/* HEADER */
.header {
  background: #fff;
  border-bottom: 2px solid #0064a4;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.logo { font-size: 22px; font-weight: 800; color: #0064a4; }
.logo span { color: #1a1a1a; }
.tagline { font-size: 11px; color: #666; margin-top: 2px; }
.search-main {
  flex: 1;
  display: flex;
  max-width: 700px;
}
.search-main input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-right: none;
  font-size: 14px;
  outline: none;
}
.search-main button {
  padding: 10px 24px;
  background: #0064a4;
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* TABBAR */
.tabbar {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 0 20px;
  display: flex;
}
.tab {
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  border-bottom: 3px solid transparent;
  cursor: pointer;
}
.tab.active { color: #0064a4; border-bottom-color: #0064a4; }
.tab:hover { color: #0064a4; }

/* LAYOUT */
.container {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  gap: 20px;
  padding: 20px;
}
.filters {
  width: 240px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #ddd;
  padding: 12px 14px;
  position: sticky;
  top: 16px;
  align-self: flex-start;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  font-size: 13px;
}
.filter-group { margin-bottom: 12px; }
.filter-group h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #eee;
}
.filter-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
  cursor: pointer;
}
.price-inputs { display: flex; gap: 4px; align-items: center; }
.price-inputs input {
  width: 90px;
  padding: 4px 6px;
  border: 1px solid #ccc;
  font-size: 11px;
}
.btn-primary {
  width: 100%;
  padding: 10px;
  background: #0064a4;
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
}
.btn-primary:hover { background: #004d7f; }
.btn-secondary {
  padding: 8px 14px;
  background: #fff;
  color: #0064a4;
  border: 1px solid #0064a4;
  font-size: 12px;
  cursor: pointer;
}
.btn-secondary:hover { background: #f0f8ff; }
.btn-danger {
  padding: 8px 14px;
  background: #fff;
  color: #c00;
  border: 1px solid #c00;
  font-size: 12px;
  cursor: pointer;
}
.btn-danger:hover { background: #fee; }

/* MAIN */
.main { flex: 1; min-width: 0; }
.results-header {
  background: #fff;
  border: 1px solid #ddd;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  position: sticky;
  top: 16px;
  z-index: 10;
}
.results-count strong { color: #0064a4; font-size: 16px; }
.sort-select {
  padding: 4px 8px;
  border: 1px solid #ccc;
  font-size: 11px;
  background: #fff;
}

/* LISTINGS */
.featured {
  background: #fff;
  border: 1px solid #ddd;
  padding: 12px 16px;
  margin-bottom: 12px;
}
.featured-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 10px;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.featured-card {
  border: 1px solid #e0e0e0;
  cursor: pointer;
  background: #fff;
}
.featured-card:hover { border-color: #0064a4; }
.featured-img {
  background: linear-gradient(135deg, #2c5f7f 0%, #4a8db3 100%);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}
.featured-info { padding: 8px 10px; }
.featured-info .price { color: #0064a4; font-weight: 700; font-size: 14px; }
.featured-info .title {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}
.featured-info .meta { font-size: 10px; color: #666; }

.listings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.listing-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 0;
  display: block;
  cursor: pointer;
  overflow: hidden;
}
.listing-card .listing-img-wrap { width: 100%; height: 160px; }
.listing-card .listing-body { padding: 12px; }
.listing-card .listing-actions { padding: 0 12px 12px; }
.listing-card:hover { border-color: #0064a4; }
.listing-img {
  width: 110px;
  height: 90px;
  background: linear-gradient(135deg, #2c5f7f 0%, #4a8db3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  flex-shrink: 0;
}
.listing-body { flex: 1; min-width: 0; }
.listing-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
  word-break: break-word;
}
.listing-title .cert-badge { vertical-align: middle; margin-left: 4px; }
.listing-price {
  color: #0064a4;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}
.listing-meta { font-size: 11px; color: #666; margin-bottom: 4px; }
.listing-desc {
  font-size: 11px;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-certs {
  margin-top: 6px;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.cert-badge {
  background: #e8f4fc;
  color: #0064a4;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 2px;
  font-weight: 600;
}

.empty {
  padding: 40px;
  text-align: center;
  color: #999;
  background: #fff;
  border: 1px solid #ddd;
}

/* AUTH */
.auth-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 40px 20px;
}
.auth-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 30px;
  width: 100%;
  max-width: 400px;
}
.auth-card h2 { font-size: 22px; margin-bottom: 6px; }
.auth-subtitle { color: #666; font-size: 13px; margin-bottom: 20px; }
.auth-home-link { display: inline-flex; align-items: center; min-height: 40px; margin: 0 0 12px; color: #0b6b36; font-size: 14px; font-weight: 700; text-decoration: none; }
.auth-home-link:hover { text-decoration: underline; }
.auth-home-link:hover { text-decoration: underline; }
.auth-tabs {
  display: flex;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}
.auth-tab {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}
.auth-tab.active { color: #0064a4; border-bottom-color: #0064a4; }

#login-form input, #register-form input, #register-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  font-size: 13px;
  margin-bottom: 10px;
}
.err-banner {
  background: #fee;
  color: #c00;
  padding: 10px;
  margin: 10px 0;
  font-size: 13px;
  border: 1px solid #fcc;
}

.role-picker {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.role-option { cursor: pointer; }
.role-option input { display: none; }
.role-card {
  border: 2px solid #ddd;
  padding: 10px 6px;
  text-align: center;
  font-size: 11px;
}
.role-option input:checked + .role-card {
  border-color: #0064a4;
  background: #f0f8ff;
}
.role-card strong { font-size: 12px; display: block; }

/* PRICING */
.pricing-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}
.pricing-header { margin-bottom: 24px; }
.pricing-header h2 { font-size: 24px; margin-bottom: 6px; }
.pricing-header p { color: #666; font-size: 13px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tier-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
}
.tier-popular {
  border-color: #0064a4;
  border-width: 2px;
  position: relative;
}
.tier-popular::before {
  content: 'POPULAR';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #0064a4;
  color: #fff;
  font-size: 10px;
  padding: 2px 10px;
  font-weight: 700;
}
.tier-card h3 { font-size: 16px; margin-bottom: 8px; }
.tier-card .tier-role {
  font-size: 10px;
  color: #666;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.tier-card .tier-price {
  font-size: 22px;
  font-weight: 700;
  color: #0064a4;
  margin-bottom: 16px;
}
.tier-features { list-style: none; margin-bottom: 16px; }
.tier-features li {
  padding: 4px 0;
  font-size: 12px;
  color: #555;
}
.tier-features li.no { color: #999; text-decoration: line-through; }

/* SELLER DASHBOARD */
.dashboard-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px;
}
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 12px;
}
.dashboard-header h2 { font-size: 22px; margin-bottom: 4px; }
.dashboard-header p { font-size: 12px; }
.dashboard-header button {
  width: auto !important;
  padding: 10px 20px !important;
}
.email-activity{margin:0 0 24px;padding:18px 20px;border:1px solid #dce5df;border-radius:8px;background:#f8faf8}
.email-activity h3{margin:0 0 5px;color:#173b2b;font-size:17px}
.email-activity>p{margin:0 0 12px;color:#526158;font-size:13px;line-height:1.5}
.email-activity-list{display:grid;gap:8px}
.email-activity-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,220px) auto;align-items:center;gap:12px;padding:11px 12px;border:1px solid #e1e8e2;border-radius:6px;background:#fff}
.email-activity-item>div{min-width:0}
.email-activity-item strong,.email-activity-item span{display:block;overflow-wrap:anywhere}
.email-activity-recipient{color:#183a2b;font-size:14px}
.email-activity-subject,.email-activity-listings,.email-activity-date,.email-activity-empty{color:#59665f;font-size:12px;line-height:1.45}
.email-activity-open{color:#08795d;font-size:13px}
.email-activity-unopened{color:#59665f;font-size:13px}
@media(max-width:640px){.email-activity{padding:15px}.email-activity-item{grid-template-columns:1fr;gap:6px}}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.modal-card {
  background: #fff;
  padding: 24px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 4px;
}
.modal-card h3 { margin-bottom: 16px; font-size: 18px; }
.modal-card form input,
.modal-card form select,
.modal-card form textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  font-size: 13px;
  margin-bottom: 8px;
}
.modal-actions { display: flex; gap: 8px; margin-top: 12px; }

/* ADMIN */
.admin-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px;
}
.admin-header {
  border-bottom: 2px solid #c00;
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.admin-header h1 { font-size: 24px; }
.admin-header p { color: #666; font-size: 13px; }
.admin-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.admin-stat {
  background: #fff;
  border: 1px solid #ddd;
  border-left: 4px solid #c00;
  padding: 12px;
}
.admin-stat-label {
  font-size: 10px;
  color: #666;
  text-transform: uppercase;
}
.admin-stat-value {
  font-size: 22px;
  font-weight: 700;
  margin-top: 4px;
}
.admin-section {
  background: #fff;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}
.admin-section h3 {
  padding: 12px 16px;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
}
.admin-table-wrap { overflow-x: auto; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.admin-table th {
  background: #fafafa;
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid #ddd;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10px;
  color: #666;
}
.admin-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
}
.admin-table tr:hover { background: #f9f9f9; }

/* NAV LINKS */
.nav-link {
  cursor: pointer;
  color: #0064a4;
  margin-left: 12px;
  font-size: 12px;
}
.nav-link:hover { text-decoration: underline; }
.nav-admin { color: #c00 !important; font-weight: 700; }

/* HIDDEN BY DEFAULT */
.view { display: none; }
.view.active { display: block; }
/* HOME VIEW */
.home-wrap { max-width: 1100px; margin: 0 auto; padding: 60px 24px; }
.home-hero { text-align: center; margin-bottom: 60px; }
.home-hero h1 { font-size: 42px; font-weight: 700; color: #1a1a1a; margin: 0 0 16px; line-height: 1.15; }
.home-sub { font-size: 18px; color: #666; margin: 0 0 32px; }
.home-cta { display: flex; gap: 12px; justify-content: center; }
.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-card { padding: 28px 24px; background: #f7f8fa; border-radius: 8px; border: 1px solid #e5e7eb; }
.home-card h3 { margin: 0 0 12px; font-size: 18px; color: #0064a4; }
.home-card p { margin: 0; color: #555; line-height: 1.5; }
@media (max-width: 768px) {
  .home-hero h1 { font-size: 28px; }
  .home-grid { grid-template-columns: 1fr; }
}


  * { box-sizing: border-box; margin: 0; padding: 0; }
  #home-view body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    color: #1a1a1a;
    background: #f5f5f5;
    line-height: 1.4;
  }
  #home-view a { color: #0064a4; text-decoration: none; }
  #home-view a:hover { text-decoration: underline; }

  /* ===== TOP BAR ===== */
  #home-view .topbar {
    background: #1a1a1a;
    color: #ccc;
    font-size: 11px;
    padding: 6px 20px;
    display: flex;
    justify-content: space-between;
  }
  #home-view .topbar a { color: #ccc; }
  #home-view .topbar a:hover { color: #fff; }

  /* ===== HEADER ===== */
  #home-view .header {
    background: #fff;
    border-bottom: 2px solid #0064a4;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 30px;
  }
  #home-view .logo {
    font-size: 22px;
    font-weight: 800;
    color: #0064a4;
    letter-spacing: -0.5px;
  }
  #home-view .logo span { color: #1a1a1a; }
  #home-view .tagline { font-size: 11px; color: #666; margin-top: 2px; }

  #home-view .search-main {
    flex: 1;
    display: flex;
    max-width: 700px;
  }
  #home-view .search-main input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-right: none;
    font-size: 14px;
    outline: none;
  }
  #home-view .search-main button {
    padding: 10px 24px;
    background: #0064a4;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
  }
  #home-view .search-main button:hover { background: #004d7f; }

  #home-view .header-right {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 12px;
  }
  #home-view .header-right a { color: #333; font-weight: 500; }

  /* ===== TAB BAR ===== */
  #home-view .tabbar {
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 0 20px;
    display: flex;
    gap: 0;
  }
  #home-view .tab {
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    border-bottom: 3px solid transparent;
    cursor: pointer;
  }
  #home-view .tab.active {
    color: #0064a4;
    border-bottom-color: #0064a4;
  }
  #home-view .tab:hover { color: #0064a4; }

  /* ===== LAYOUT ===== */
  #home-view .container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
    padding: 20px;
  }

  /* ===== LEFT FILTERS ===== */
  #home-view .filters {
    width: 240px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #ddd;
    padding: 16px;
    font-size: 12px;
  }
  #home-view .filter-group { margin-bottom: 18px; }
  #home-view .filter-group h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #eee;
  }
  #home-view .filter-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 0;
    color: #333;
    cursor: pointer;
  }
  #home-view .filter-item:hover { color: #0064a4; }
  #home-view .filter-item input { cursor: pointer; }
  #home-view .filter-item .count {
    margin-left: auto;
    color: #999;
    font-size: 11px;
  }
  #home-view .price-inputs {
    display: flex;
    gap: 4px;
    align-items: center;
  }
  #home-view .price-inputs input {
    width: 90px;
    padding: 4px 6px;
    border: 1px solid #ccc;
    font-size: 11px;
  }
  #home-view .filter-actions {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #eee;
  }
  #home-view .filter-actions button {
    width: 100%;
    padding: 8px;
    background: #0064a4;
    color: #fff;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 4px;
  }

  /* ===== MAIN CONTENT ===== */
  #home-view .main {
    flex: 1;
    min-width: 0;
  }

  #home-view .results-header {
    background: #fff;
    border: 1px solid #ddd;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    position: sticky;
    top: 16px;
    z-index: 10;
  }
  #home-view .results-count { font-size: 13px; color: #333; }
  #home-view .results-count strong { color: #0064a4; }
  #home-view .view-toggle { display: flex; gap: 8px; align-items: center; }
  #home-view .view-toggle span { font-size: 11px; color: #666; }
  #home-view .view-btn {
    padding: 4px 10px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    font-size: 11px;
  }
  #home-view .view-btn.active { background: #0064a4; color: #fff; border-color: #0064a4; }
  #home-view .sort-select {
    padding: 4px 8px;
    border: 1px solid #ccc;
    font-size: 11px;
    background: #fff;
  }

  /* ===== FEATURED CAROUSEL ===== */
  #home-view .featured {
    background: #fff;
    border: 1px solid #ddd;
    padding: 12px 16px;
    margin-bottom: 12px;
  }
  #home-view .featured-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 10px;
  }
  #home-view .featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  #home-view .featured-card {
    border: 1px solid #e0e0e0;
    cursor: pointer;
  }
  #home-view .featured-card:hover { border-color: #0064a4; }
  #home-view .featured-img {
    background: linear-gradient(135deg, #2c5f7f 0%, #4a8db3 100%);
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
  }
  #home-view .featured-info {
    padding: 8px 10px;
  }
  #home-view .featured-info .price {
    color: #0064a4;
    font-weight: 700;
    font-size: 14px;
  }
  #home-view .featured-info .title {
    font-size: 12px;
    font-weight: 600;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #home-view .featured-info .meta {
    font-size: 10px;
    color: #666;
    margin-top: 2px;
  }

  /* ===== LISTING CARDS ===== */
  #home-view .listings {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  #home-view .listing {
    background: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    display: flex;
    flex-direction: column;
  }
  #home-view .listing:hover { border-color: #0064a4; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
  #home-view .listing-img {
    height: 160px;
    background: linear-gradient(135deg, #2c5f7f 0%, #4a8db3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 44px;
    font-weight: 700;
    position: relative;
  }
  #home-view .listing-img.seafood { background: linear-gradient(135deg, #1e3a5f 0%, #2c5f7f 100%); }
  #home-view .listing-img.beef    { background: linear-gradient(135deg, #5a1a1a 0%, #8b3a3a 100%); }
  #home-view .listing-img.produce { background: linear-gradient(135deg, #2d5a2d 0%, #4a8b4a 100%); }
  #home-view .listing-img.dairy   { background: linear-gradient(135deg, #b8932e 0%, #d4af37 100%); }
  #home-view .listing-img.grain   { background: linear-gradient(135deg, #6b4423 0%, #8b5a2b 100%); }
  #home-view .listing-img.poultry { background: linear-gradient(135deg, #8b6b3a 0%, #b8935a 100%); }
  #home-view .badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #d4af37;
    color: #1a1a1a;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
  }
  #home-view .badge.new { background: #4caf50; color: #fff; }
  #home-view .badge.hot { background: #d9534f; color: #fff; }

  #home-view .listing-body { padding: 10px 12px; flex: 1; display: flex; flex-direction: column; }
  #home-view .listing-price {
    color: #0064a4;
    font-weight: 700;
    font-size: 16px;
  }
  #home-view .listing-price .unit {
    font-size: 11px;
    font-weight: 400;
    color: #666;
  }
  #home-view .listing-title {
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
    color: #1a1a1a;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
    min-height: 34px;
  }
  #home-view .listing-meta {
    margin-top: 6px;
    font-size: 11px;
    color: #666;
    line-height: 1.5;
  }
  #home-view .listing-meta div { display: flex; justify-content: space-between; }
  #home-view .listing-meta .label { color: #999; }
  #home-view .listing-footer {
    border-top: 1px solid #eee;
    padding: 8px 12px;
    font-size: 10px;
    color: #999;
    display: flex;
    justify-content: space-between;
  }
  #home-view .listing-id { font-weight: 600; color: #0064a4; }

  /* ===== PAGINATION ===== */
  #home-view .pagination {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 4px;
  }
  #home-view .pagination button {
    padding: 6px 12px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    font-size: 12px;
  }
  #home-view .pagination button.active { background: #0064a4; color: #fff; border-color: #0064a4; }
  #home-view .pagination button:hover:not(.active) { border-color: #0064a4; color: #0064a4; }

  /* ===== FOOTER ===== */
  #home-view .footer {
    background: #1a1a1a;
    color: #999;
    font-size: 11px;
    padding: 30px 20px 20px;
    margin-top: 30px;
  }
  #home-view .footer-cols {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 20px;
  }
  #home-view .footer h5 {
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  #home-view .footer ul { list-style: none; }
  #home-view .footer li { padding: 3px 0; }
  #home-view .footer a { color: #ccc; }
  #home-view .footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 16px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
  }

/* STATIC PAGES */
.static-wrap { max-width: 720px; margin: 0 auto; padding: 60px 24px; }
.static-wrap h1 { font-size: 32px; color: #0064a4; margin: 0 0 20px; }
.static-wrap p { font-size: 15px; color: #333; margin: 0 0 14px; line-height: 1.6; }
.static-wrap .btn-secondary { margin-top: 24px; }

/* Company and policy pages */
.policy-page { max-width: 900px; margin: 36px auto 64px; padding: 0 24px; color: #263343; }
.policy-hero { padding: 42px 44px; margin-bottom: 18px; border-radius: 12px; color: #fff; background: linear-gradient(125deg, #073b60, #0875a8); box-shadow: 0 10px 28px rgba(9,51,78,.14); }
.policy-kicker,.policy-label { display: block; margin-bottom: 12px; color: #9de1c3; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.policy-hero h1 { max-width: 720px; margin: 0 0 12px; color: #fff; font-size: clamp(30px,5vw,44px); line-height: 1.08; letter-spacing: -.025em; }
.policy-hero p { max-width: 680px; margin: 0; color: rgba(255,255,255,.88); font-size: 16px; line-height: 1.65; }
.policy-hero .policy-updated { margin-top: 18px; color: rgba(255,255,255,.72); font-size: 12px; }
.policy-section,.policy-card,.policy-note { margin: 14px 0; padding: 25px 28px; border: 1px solid #e3e9ed; border-radius: 9px; background: #fff; box-shadow: 0 2px 8px rgba(20,45,60,.035); }
.policy-section h2,.policy-card h2 { margin: 0 0 11px; color: #123850; font-size: 18px; line-height: 1.3; }
.policy-section p,.policy-card p,.policy-note p { margin: 0 0 10px; color: #52616c; font-size: 14px; line-height: 1.75; }
.policy-section p:last-child,.policy-card p:last-child,.policy-note p:last-child { margin-bottom: 0; }
.policy-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.policy-card { margin: 0; }
.policy-card .policy-label { color: #16825d; }
.policy-note { border-color: #cfe9dc; background: #f4fbf7; }
.policy-note strong { display: block; margin-bottom: 8px; color: #14573f; font-size: 15px; }
.policy-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding: 10px 2px; }
.policy-footer .btn-secondary { width: auto; padding: 9px 16px; }
.about-page .policy-hero { background: linear-gradient(125deg,#073b60,#0d7f73); }
@media (max-width: 640px) { .policy-page { margin: 18px auto 42px; padding: 0 14px; } .policy-hero { padding: 30px 24px; } .policy-section,.policy-card,.policy-note { padding: 21px 20px; } .policy-columns { grid-template-columns: 1fr; } .policy-footer { align-items: flex-start; flex-direction: column; } }

/* ===== MODAL ===== */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 20px; }
.modal-card { background: #fff; border-radius: 6px; max-width: 720px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 24px; box-shadow: 0 8px 32px rgba(0,0,0,0.2); position: relative; }

/* ===== LISTING CARDS (new) ===== */
.listing-img-wrap { width: 100%; height: 160px; background: #f0f0f0; overflow: hidden; position: relative; }
.listing-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; background: linear-gradient(135deg,#f0f0f0,#e0e0e0); color: #888; font-weight: 600; }
.listing-actions { padding: 8px 12px; border-top: 1px solid #f0f0f0; display: flex; justify-content: flex-end; background: #fafafa; }
.btn-save { background: #fff; border: 1px solid #ddd; padding: 4px 10px; font-size: 11px; border-radius: 3px; cursor: pointer; color: #555; }
.btn-save:hover { border-color: #cc8800; color: #cc8800; }

/* ===== LISTING DETAIL MODAL ===== */
.listing-detail h1 { font-size: 24px; color: #0064a4; margin: 0 0 12px; padding-right: 30px; }
.listing-detail-price { font-size: 22px; font-weight: 700; color: #1a1a1a; margin-bottom: 8px; }
.listing-detail-meta { font-size: 13px; color: #666; margin-bottom: 12px; }
.listing-detail-certs { margin: 12px 0; display: flex; flex-wrap: wrap; gap: 4px; }
.listing-detail-desc { font-size: 14px; line-height: 1.6; color: #333; margin: 16px 0; }
.listing-detail hr { border: none; border-top: 1px solid #eee; margin: 16px 0; }
.listing-detail-seller { font-size: 13px; color: #555; margin-bottom: 16px; }
.listing-detail-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.listing-detail-actions .btn-primary { width: auto; padding: 10px 20px; }
.listing-detail-actions .btn-secondary { width: auto; padding: 10px 20px; }
.listing-detail-close { position: absolute; top: 12px; right: 12px; padding: 4px 10px; font-size: 16px; width: auto; }
.listing-detail-page { max-width: 800px; margin: 28px auto; padding: 24px; background: #fff; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.listing-detail-back { margin-bottom: 18px; width: auto; }
@media (max-width: 600px) { .listing-detail-page { margin: 12px; padding: 16px; } }

/* ===== CONCIERGE / VERIFY FORM LABELS ===== */
.auth-card label { display: block; font-size: 12px; font-weight: 600; color: #333; margin: 12px 0 4px; text-align: left; }
.auth-card input, .auth-card textarea, .auth-card select { width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 3px; font-size: 13px; margin-bottom: 4px; }
.auth-card textarea { font-family: inherit; resize: vertical; }
.auth-card small { display: block; font-size: 11px; margin: 4px 0 8px; }
.auth-card code { background: #f0f0f0; padding: 1px 4px; border-radius: 2px; font-size: 11px; }

/* ===== ADMIN STATS — refine colors ===== */
.admin-stat-value { color: #1a1a1a; }

/* ===== STATUS BADGES ===== */
.status-new, .status-pending { background: #fff3cd; color: #856404; padding: 2px 6px; border-radius: 3px; font-size: 11px; }
.status-listed, .status-active, .status-approved { background: #d4edda; color: #155724; padding: 2px 6px; border-radius: 3px; font-size: 11px; }
.status-in_progress, .status-listed { background: #cce5ff; color: #004085; padding: 2px 6px; border-radius: 3px; font-size: 11px; }
.status-archived, .status-rejected, .status-inactive { background: #f8d7da; color: #721c24; padding: 2px 6px; border-radius: 3px; font-size: 11px; }
.verify-status-pending { background: #fff3cd; color: #856404; padding: 2px 6px; border-radius: 3px; font-size: 11px; }
.verify-status-approved { background: #d4edda; color: #155724; padding: 2px 6px; border-radius: 3px; font-size: 11px; }
.verify-status-rejected { background: #f8d7da; color: #721c24; padding: 2px 6px; border-radius: 3px; font-size: 11px; }
.verify-request-item { padding: 10px; background: #f9f9f9; border: 1px solid #eee; border-radius: 4px; margin: 8px 0; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .topbar { flex-direction: column; gap: 4px; }
  .header { flex-direction: column; gap: 12px; padding: 12px; }
  .header .search-main { width: 100%; max-width: none; }
  .container { flex-direction: column; padding: 12px; }
  .filters { width: 100%; }
  .main { width: 100%; }
  .listings { grid-template-columns: 1fr; }
  .listings-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .tier-card { margin-bottom: 16px; }
  .admin-table-wrap { overflow-x: auto; }
  .admin-table { min-width: 600px; }
  .modal-card { padding: 16px; max-height: 95vh; }
  .auth-wrap { padding: 12px; }
  .auth-card { padding: 20px; }
  .role-picker { flex-direction: column; }
  .listing-img-wrap { height: 140px; }
  .listing-detail-actions { flex-direction: column; }
  .listing-detail-actions .btn-primary, .listing-detail-actions .btn-secondary { width: 100%; }
}

@media (max-width: 480px) {
  .featured-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .listings, .listings-grid { grid-template-columns: 1fr; }
  .dashboard-header { flex-direction: column; gap: 12px; align-items: stretch; }
  .dashboard-header button { width: 100%; }
}

/* ===== ANIMATION ===== */
@keyframes slideIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ===== ADMIN TABLE WRAP (already styled) ===== */
.admin-table-wrap { overflow-x: auto; }
/* Airyzo private homepage and marketplace */
.landing {background:#fff;color:#08152c;font-size:15px}
.brand-header{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:24px 4%;background:white}
.brand{position:relative;font-size:34px;font-weight:800;color:#08152c;letter-spacing:-1.4px;white-space:nowrap;line-height:1.1}
.brand i,.landing-footer i{color:inherit;font-style:italic}.brand small{display:block;font-size:8px;letter-spacing:2px;padding:7px 0 0 35px;font-weight:500}.brand-leaf{color:#248c49;font-size:38px;display:inline-block;transform:rotate(-35deg)}
.brand-header nav{display:flex;gap:27px;align-items:center}.landing button{cursor:pointer}.brand-header nav button,.brand-header nav a,.section-heading button,.landing-footer button{border:0;background:none;color:#08152c;font-size:13px;font-weight:600}.green-button{background:#0b7c3c;color:white;border:1px solid #339764;border-radius:5px;padding:12px 23px;font-weight:700;font-size:14px;cursor:pointer}.green-button:hover{background:#065c2c}
.hero{background:linear-gradient(90deg,rgba(8,24,24,.4),rgba(5,23,26,.56)),url('/assets/farm-hero.png') center/cover;color:white;padding:46px 5% 27px;text-align:center}.hero-copy{max-width:950px;margin:auto}.eyebrow{font-size:10px;letter-spacing:5px;font-weight:700;margin-bottom:13px}.hero h1{font-size:clamp(32px,3.8vw,54px);line-height:1.12;letter-spacing:-1.1px;margin-bottom:17px}.hero-copy>p:not(.eyebrow){font-size:18px;line-height:1.55}.hero-search{margin:23px auto 37px;display:flex;background:white;border-radius:7px;padding:5px;max-width:780px;gap:5px}.hero-search input{flex:1;min-width:0;border:0;padding:10px;font-size:13px}.hero-search select{border:0;border-right:1px solid #ddd;background:#f6f7f9;padding:12px;color:#08152c;max-width:165px}.hero-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;text-align:left;max-width:1230px;margin:auto}.hero-benefits>div{display:flex;gap:16px;align-items:center}.hero-benefits b{font-size:38px}.hero-benefits span{font-size:12px;line-height:1.5}.hero-benefits strong{display:block;font-size:13px}
.landing-section{padding:30px 3.5%}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.landing h2{font-size:27px;letter-spacing:-.6px}.category-tiles{display:grid;grid-template-columns:repeat(8,1fr);gap:13px}.category-tile{background:none;border:0;color:#08152c;text-align:center;min-width:0}.category-photo{display:block;width:100%;aspect-ratio:1.22;background-image:url('/assets/categories.png');background-size:400% 200%;border-radius:5px;margin-bottom:9px}.category-tile strong{font-size:11px}.category-tile:hover .category-photo{outline:3px solid #168647;outline-offset:2px}
.how-section{background:#f1f4f5;border-radius:10px;margin:8px 2.5% 28px;padding:26px 3.5% 32px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:24px}.steps article{display:flex;gap:25px;align-items:flex-start}.steps article>span{background:#087835;border-radius:50%;padding:6px 12px;color:white;font-size:18px}.steps h3{font-size:16px;margin-bottom:9px}.steps p{font-size:14px;line-height:1.6}.broker-section{background:linear-gradient(90deg,rgba(3,28,18,.94),rgba(5,20,22,.4)),url('/assets/farm-hero.png') right center/cover;color:white;padding:40px 5%}.broker-section h2{font-size:38px;margin-bottom:9px}.broker-section p:not(.eyebrow){font-size:17px;margin-bottom:18px}.closing-section{text-align:center;padding:40px 20px;background:linear-gradient(white,rgba(244,248,242,.84)),url('/assets/farm-hero.png') left center/cover}.closing-section p{margin:10px 0 20px}.landing-footer{display:flex;justify-content:space-between;align-items:center;padding:28px 5%;border-top:1px solid #e9edef}.landing-footer div{display:flex;gap:22px}.landing-footer strong{font-size:27px}
#site-topbar{padding:8px 4%;background:#102b23;color:#f2f4f2}#site-topbar a{color:white;margin-right:15px}#site-topbar button{color:white!important}
#home-view .container{max-width:1480px;margin:24px auto;gap:22px;padding:0 20px;align-items:flex-start}#home-view .filters{flex:0 0 240px;width:240px;position:static;max-height:none;overflow:visible;background:white;border:1px solid #ddd;padding:20px}#home-view .filter-choice{display:flex;align-items:center;gap:7px;margin:9px 0;font-size:13px}#home-view .filter-group{margin-bottom:22px}#home-view .filter-group h4{padding-bottom:7px;border-bottom:1px solid #eee;margin-bottom:8px}#home-state-filter{width:100%;padding:8px;border:1px solid #ccc}#home-view .main{min-width:0;flex:1}#home-view .listings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}#home-view .listing-card{border:1px solid #ddd;border-radius:0;overflow:hidden;background:white}#home-view .listing-img-wrap{height:190px}#home-view .listing-img-placeholder{height:100%;display:flex;align-items:center;justify-content:center;font-size:48px;background:linear-gradient(125deg,#21456a,#37728c);color:white}#home-view .featured{padding:16px;background:white;border:1px solid #ddd;margin-bottom:16px}#home-view .featured-grid{grid-template-columns:repeat(4,minmax(0,1fr))}#home-view .featured-img{height:105px;display:flex;align-items:center;justify-content:center;background:#2d6480;color:white;font-size:30px}#home-view .results-header{position:static;background:white;border:1px solid #ddd;padding:14px;margin-bottom:14px}.auth-card{border-top:4px solid #0b7c3c}.auth-card .btn-primary{background:#0b7c3c}
@media(min-width:1600px){.landing{max-width:1600px;margin:auto}.hero{padding-top:65px;padding-bottom:35px}.hero-search{margin-bottom:55px}}
@media(max-width:1050px){.brand-header{flex-wrap:wrap;padding:20px}.brand-header nav{order:3;width:100%;justify-content:center}.hero-benefits{gap:12px}.category-tiles{grid-template-columns:repeat(4,1fr)}#home-view .filters{flex-basis:200px;width:200px}#home-view .listings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#home-view .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.brand{font-size:26px}.brand-header>.green-button{padding:10px}.brand-header nav{gap:14px;flex-wrap:wrap}.hero{padding:34px 20px 24px}.hero h1{font-size:34px}.hero-copy>p:not(.eyebrow){font-size:15px}.hero-search{flex-wrap:wrap}.hero-search select{max-width:none;width:100%;border:0}.hero-search input{width:60%}.hero-benefits{grid-template-columns:repeat(2,1fr);gap:18px}.hero-benefits b{font-size:25px}.category-tiles{grid-template-columns:repeat(2,1fr)}.steps{grid-template-columns:1fr;gap:22px}.landing h2{font-size:24px}.broker-section h2{font-size:30px}.landing-footer{gap:20px;flex-wrap:wrap}.landing-footer div{gap:15px}#home-view .container{display:flex;flex-direction:column;padding:0 12px}#home-view .filters{width:100%;flex-basis:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}#home-view .filter-group{margin:0}#home-view .main{width:100%}#home-view .listings-grid{grid-template-columns:1fr}#home-view .header{flex-wrap:wrap;gap:15px}#home-view .search-main{width:100%;flex:auto}#home-view .results-header{flex-wrap:wrap;gap:12px}#home-view .tabbar{flex-wrap:wrap}#site-topbar{gap:10px;flex-wrap:wrap}}
.brand-leaf{transform:none;width:30px;vertical-align:middle}.brand-leaf svg{display:block;width:100%}.hero-benefits b svg{width:34px;height:34px;color:white}.broker-section{background-image:linear-gradient(90deg,rgba(3,28,18,.4),transparent),url('/assets/broker-banner.png')}.nav-link{color:#fff!important}

/* Core wholesale categories */
.category-tiles{grid-template-columns:repeat(5,minmax(0,1fr))}
.category-photo{background-image:url('/assets/trade-categories.png');background-size:500% auto;aspect-ratio:8 / 5}
#home-tabbar button.tab{font:inherit;background:white;border:0;border-bottom:3px solid transparent;cursor:pointer}
#home-tabbar button.tab.active{border-bottom-color:#0064a4;color:#0064a4}
@media(max-width:650px){.category-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Shared application navigation and account settings */
#site-topbar.site-header{display:flex;align-items:center;gap:28px;padding:20px 4%;background:#fff;color:#102038;border-bottom:1px solid #e3e8e5;position:relative;z-index:20;flex-wrap:wrap}
#site-topbar .brand{font-size:30px;color:#102038;margin:0;text-decoration:none;white-space:nowrap;flex-shrink:0}
#site-topbar .primary-nav{display:flex;align-items:center;gap:24px;margin-left:auto}
#site-topbar .primary-nav a{color:#33443c;margin:0;font-size:14px;text-decoration:none;padding:12px 0;border-bottom:2px solid transparent}
#site-topbar .primary-nav a[aria-current=page]{color:#08763d;border-bottom-color:#08763d;font-weight:700}
#site-topbar .header-actions{display:flex;align-items:center;gap:20px}
#site-topbar .header-text-link{color:#33443c;text-decoration:none;font-size:14px;font-weight:600;padding:10px 0}
#site-topbar .header-text-link:hover,#site-topbar .primary-nav a:hover{color:#08763d}
#site-topbar .green-button{color:white!important;width:auto;font-size:14px}
#site-topbar .account-menu{position:relative;font-size:14px}
.account-menu summary{cursor:pointer;list-style:none;padding:12px 0;max-width:220px;overflow-wrap:anywhere;font-weight:600}
.account-menu summary::-webkit-details-marker{display:none}
.account-dropdown{position:absolute;right:0;top:100%;width:220px;background:white;border:1px solid #dde5df;box-shadow:0 10px 30px #1020381a;border-radius:8px;padding:8px;z-index:50}
#site-topbar .account-dropdown button{display:block!important;background:none;border:0;text-align:left;padding:12px;width:100%;color:#102038!important;cursor:pointer;font:inherit}
#site-topbar .account-dropdown button[style*="display: none"]{display:none!important}
#site-topbar .account-dropdown button:hover{background:#eef6f0;border-radius:4px}
.account-wrap{max-width:1100px;margin:40px auto;padding:0 24px}.account-heading{margin-bottom:28px}.account-heading h1{font-size:30px;color:#102038}.account-heading p,.form-note{color:#66766d;line-height:1.5}
.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.account-card{background:#fff;border:1px solid #e0e7e2;border-radius:10px;padding:28px}.account-card h2{font-size:20px;margin:0 0 22px;color:#102038}.account-card label{display:block;font-size:14px;font-weight:600;margin:0 0 18px}.account-card input{display:block;width:100%;box-sizing:border-box;margin-top:8px;padding:12px;border:1px solid #cbd5ce;border-radius:5px;font:inherit}.account-card input[readonly]{background:#f4f6f4;color:#66766d}.account-card .form-note{font-size:13px;margin:0 0 20px}.form-status{font-size:14px;color:#08763d;min-height:20px;margin:14px 0 0}.form-status.error{color:#b42318}.account-card button:disabled{opacity:.65;cursor:wait}.market-title{font-size:24px;margin:0;color:#102038}#site-topbar :focus-visible,.account-wrap :focus-visible{outline:3px solid #55a77b;outline-offset:3px}
@media(max-width:900px){#site-topbar.site-header{gap:10px 20px;padding:16px 20px}#site-topbar .header-actions{margin-left:auto}#site-topbar .primary-nav{order:3;width:100%;margin:0;gap:24px;overflow-x:auto}#site-topbar .brand{font-size:25px}.account-grid{grid-template-columns:1fr}}
@media(max-width:480px){#site-topbar .header-actions{gap:12px;flex-wrap:wrap}#site-topbar .green-button{padding:10px}#site-topbar .account-menu summary{max-width:140px}.account-wrap{padding:0 16px;margin:24px auto}.account-card{padding:20px}}

.my-listing-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.my-listing-card{display:grid;grid-template-columns:minmax(190px,240px) minmax(0,1fr);align-items:start}
.my-listing-card .listing-img-wrap{height:auto;aspect-ratio:1/1;background:#f4f6f4}
.my-listing-card .listing-body{padding:16px}
.listing-email-bulk-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;padding:14px 16px;border:1px solid #d7e4da;border-radius:8px;background:#f5f9f5;color:#173d2c}
.listing-email-bulk-toolbar[hidden]{display:none}
.listing-email-bulk-toolbar p{margin:4px 0 0;color:#526158;font-size:13px}
.listing-email-bulk-actions{display:flex;flex-wrap:wrap;gap:8px}
.listing-email-bulk-actions button{width:auto;min-height:40px;padding:9px 14px}
.listing-email-bulk-actions button:disabled{opacity:.55;cursor:not-allowed}
.listing-email-select{display:inline-flex;align-items:center;gap:8px;margin:0 0 10px;color:#315548;font-size:13px;font-weight:600;cursor:pointer}
.listing-email-select input{width:18px;height:18px;margin:0;accent-color:#08795d}
.listing-email-select:focus-within{outline:3px solid #55a77b;outline-offset:3px;border-radius:3px}
.my-listing-photo{cursor:zoom-in}
.my-listing-photo:focus-visible{outline:3px solid #55a77b;outline-offset:-3px}
.my-listing-details{margin:8px 0;display:grid;gap:4px;font-size:13px}
.my-listing-details>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:8px}
.my-listing-details dt{color:#66766d}.my-listing-details dd{margin:0;overflow-wrap:anywhere}
.my-listing-actions button{min-height:40px}
.my-listing-actions button:disabled{opacity:.55;cursor:not-allowed}
.listing-email-modal{color:#102038}
.listing-email-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.listing-email-heading h3{font-size:22px;margin:0 0 5px}
.listing-email-heading p,.listing-email-note{font-size:13px;color:#66766d;line-height:1.5}
.listing-email-heading p{overflow-wrap:anywhere}
.listing-email-modal .modal-close{border:0;background:transparent;color:#526158;font-size:28px;line-height:1;cursor:pointer;padding:0 4px}
.listing-email-preview{display:flex;flex-direction:column;gap:4px;background:#f2f7f3;border:1px solid #dce9df;border-radius:8px;padding:12px 14px;margin-bottom:18px}
.listing-email-preview span{font-size:13px;color:#526158}
.listing-email-preview-photo{display:block;max-width:100%;max-height:180px;object-fit:contain;align-self:flex-start;background:#fff;border-radius:4px;margin-bottom:8px}
.listing-email-preview dl{display:grid;gap:4px;margin:4px 0}
.listing-email-preview dl>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:8px;font-size:13px}
.listing-email-preview dt{color:#66766d}.listing-email-preview dd{margin:0;overflow-wrap:anywhere}
.listing-email-contact{border:1px solid #dce9df;border-radius:8px;padding:12px 14px;margin:0 0 18px;font-size:13px}
.listing-email-contact dl{display:grid;gap:4px;margin:6px 0 0}
.listing-email-contact dl>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:8px}
.listing-email-contact dt{color:#66766d}.listing-email-contact dd{margin:0;overflow-wrap:anywhere}
.photo-viewer-card{width:auto;max-width:min(94vw,1100px);padding:16px;background:#fff}
.photo-viewer{position:relative;text-align:center}
.photo-viewer img{display:block;max-width:calc(94vw - 32px);max-height:80vh;width:auto;height:auto;object-fit:contain;margin:auto;background:#f4f6f4}
.photo-viewer p{margin:10px 0 0;font-size:14px;color:#33443c}
.photo-viewer-close{position:absolute;top:8px;right:8px;width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:#102038;font-size:28px;line-height:1;box-shadow:0 1px 5px #0003;cursor:pointer;z-index:1}

/* Seller QA refinements */
.coming-soon-label{display:inline-block;margin-left:5px;padding:2px 6px;border-radius:999px;background:#edf4ef;color:#315548;font-size:10px;font-weight:700;vertical-align:middle;white-space:nowrap}
#home-view .tagline{font-size:14px;color:#43534b;line-height:1.5;margin-top:5px}
.terms-consent{display:flex;align-items:flex-start;gap:9px;margin:12px 0;font-size:13px;line-height:1.5;color:#33443c}
.terms-consent input{flex:0 0 16px;width:16px;height:16px;margin:2px 0 0}
.listing-review-note{grid-column:1/-1;margin:0 0 2px;padding:10px 12px;border-left:3px solid #5a9a72;background:#f1f7f2;color:#43534b;line-height:1.5}
.admin-section{min-width:0;overflow:hidden}
.admin-section h3{overflow-wrap:anywhere;line-height:1.35}
.admin-table th,.admin-table td{overflow-wrap:normal;vertical-align:top}
.admin-listing-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:190px}
.admin-listing-actions button,.admin-detail-actions button{width:auto;min-height:34px;padding:7px 11px;font-size:12px;white-space:normal}
.admin-approve-button{width:auto!important;min-width:0!important}
.admin-detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.admin-edit-listing-form,.admin-reject-form{position:relative;max-height:min(84vh,850px);overflow:auto;padding:8px;color:#102038}
.admin-edit-listing-form h2,.admin-reject-form h2{margin:0 48px 8px 0}
.admin-edit-listing-form>label,.admin-edit-grid>label,.admin-reject-form>label{display:block;margin:10px 0 4px;font-size:13px;font-weight:600}
.admin-edit-listing-form input,.admin-edit-listing-form select,.admin-edit-listing-form textarea,.admin-reject-form textarea{display:block;width:100%;margin-top:5px;padding:10px;border:1px solid #cbd5ce;border-radius:6px;background:#fff;color:#17251d;font:inherit}
.admin-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.admin-reject-form p{color:#526158;line-height:1.5}
.listing-email-sender{display:grid;grid-template-columns:76px minmax(0,1fr);gap:5px 10px;margin-bottom:12px;padding:10px 12px;border:1px solid #dce9df;border-radius:8px;background:#fff;font-size:13px;overflow-wrap:anywhere}
.listing-email-sender strong{color:#526158}
.listing-email-preview{display:block;padding:0;overflow:hidden;background:#fff;border-color:#dce2df}
.listing-email-preview-header{display:grid;gap:5px;padding:10px 14px;background:#f4f6f5;border-bottom:1px solid #dce2df;font-size:12px;overflow-wrap:anywhere}
.listing-email-preview-header>span{font-size:10px;font-weight:800;letter-spacing:.08em;color:#53675b}
.listing-email-preview-header b{font-weight:500;color:#526158}
.listing-email-preview-body{padding:16px;overflow-wrap:anywhere}
.listing-email-preview-body>p:first-child{white-space:pre-line}
.listing-email-preview-body h4{font-size:19px;margin:12px 0 8px}
.listing-email-preview-item{padding:14px 0;border-bottom:1px solid #e2e9e4}
.listing-email-preview-item:first-child{padding-top:0}
.listing-email-preview-item:last-of-type{margin-bottom:14px}
.listing-email-preview-item h4{margin:0 0 8px!important}
.listing-email-preview-item p{margin:10px 0 0;white-space:pre-line}
.listing-email-preview-body>strong{display:block;margin-top:14px}
.listing-email-preview-body small{display:block;margin-top:15px;color:#66766d}
.listing-email-preview-body .listing-email-preview-photo{max-height:220px}
.admin-section .admin-table .admin-listing-actions{white-space:normal}
@media(max-width:600px){.admin-edit-grid{grid-template-columns:minmax(0,1fr)}.listing-email-modal{max-height:80vh;overflow:auto}.listing-email-preview dl>div{grid-template-columns:minmax(90px,36%) minmax(0,1fr)}.listing-email-sender{grid-template-columns:65px minmax(0,1fr)}}
.listing-email-modal label{display:block;font-size:14px;font-weight:600;margin:14px 0 6px}
.listing-email-modal input,.listing-email-modal textarea{width:100%;padding:11px 12px;border:1px solid #cbd5ce;border-radius:6px;font:inherit;color:#1a1a1a}
.listing-email-modal .listing-email-consent{display:flex;align-items:flex-start;gap:9px;font-size:12px;font-weight:500;line-height:1.5;color:#526158}
.listing-email-modal .listing-email-consent input{width:auto;margin:2px 0 0;flex:0 0 auto}
.listing-email-modal textarea{resize:vertical;min-height:74px}
.listing-email-modal input:focus,.listing-email-modal textarea:focus{outline:3px solid #cce5d4;border-color:#08763d}
.listing-email-note{margin:10px 0 16px}
.listing-email-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.listing-email-actions button{min-height:42px}
@media(max-width:700px){.my-listing-card{grid-template-columns:1fr}.my-listing-card .listing-img-wrap{height:230px;aspect-ratio:auto}}
@media(max-width:600px){.listing-email-actions button{flex:1}.my-listing-actions button{flex:1 1 42%}}
.listing-photo{display:block;width:100%;height:100%;object-fit:contain;background:#f3f7f4}
.image-placeholder,.listing-photo-placeholder,.my-listing-photo-placeholder,.listing-detail-placeholder{display:flex;position:relative;width:100%;height:100%;min-height:140px;box-sizing:border-box;align-items:center;justify-content:center;flex-direction:column;gap:8px;overflow:hidden;background:radial-gradient(ellipse at 80% 5%,#dcebe0 0,transparent 42%),linear-gradient(145deg,#f5f7f2,#e4eee7);color:#315548}
.image-placeholder:before,.listing-photo-placeholder:before,.my-listing-photo-placeholder:before,.listing-detail-placeholder:before{content:"";position:absolute;width:190px;height:190px;border:1px solid #cfdfd3;border-radius:50%;opacity:.7}
.image-placeholder-art{position:relative;font-size:48px;line-height:1}
.image-placeholder-label{position:relative;text-align:center;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:capitalize}
.image-placeholder-label small{display:block;margin-top:4px;font-size:11px;font-weight:500;color:#63776b;letter-spacing:0;text-transform:none}
.listing-detail-placeholder{height:260px;border-radius:8px;margin:0 0 8px}
.admin-create-listing{margin:14px 0 18px;border:1px solid #dce5df;border-radius:8px;background:#f8faf8;padding:14px}
.admin-create-listing summary{cursor:pointer;font-weight:700;color:#123b2b}
.admin-create-listing>p{color:#526158;font-size:13px}
.admin-listing-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.admin-listing-form label{display:block;min-width:0;font-size:13px;font-weight:600;color:#33443c}
.admin-listing-form input,.admin-listing-form select,.admin-listing-form textarea{display:block;box-sizing:border-box;width:100%;margin-top:6px;padding:10px;border:1px solid #cbd5ce;border-radius:5px;background:#fff;font:inherit;color:#17251d}
.admin-listing-form .listing-description-label{grid-column:1/-1}
.admin-listing-form .modal-actions{grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
@media(max-width:700px){.admin-listing-form{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.admin-listing-form{grid-template-columns:1fr}.listing-detail-placeholder{height:190px}}
@media(max-width:640px){.listing-email-bulk-toolbar{align-items:stretch;flex-direction:column}.listing-email-bulk-actions{display:grid;grid-template-columns:1fr 1fr}.listing-email-bulk-actions button{width:100%}.my-listing-card{grid-template-columns:1fr}.my-listing-card .listing-img-wrap{max-height:260px;aspect-ratio:16/10}.my-listing-details>div{grid-template-columns:minmax(105px,38%) minmax(0,1fr)}}
@media(max-width:650px){
  #site-topbar.site-header{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:12px 16px}
  #site-topbar .brand{align-self:flex-start}
  #site-topbar .primary-nav{order:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;margin:0;gap:4px;overflow:visible}
  #site-topbar .primary-nav a{display:flex;align-items:center;justify-content:center;min-width:0;margin:0;padding:8px 3px;border:1px solid #e3e8e5;border-radius:4px;text-align:center;white-space:normal;overflow-wrap:anywhere;line-height:1.25}
  #site-topbar .header-actions{order:1;width:100%;margin:0;gap:8px;flex-wrap:wrap;justify-content:flex-start}
  #site-topbar .header-actions .green-button{flex:1 1 110px;max-width:180px;white-space:normal;line-height:1.2}
}

.listing-report{flex-basis:100%;margin-top:14px;padding:12px 14px;border:1px solid #d9e3dd;border-radius:8px;background:#fbfdfb}.listing-report summary{font-weight:700;color:#185b39;cursor:pointer}.listing-report form{display:grid;gap:12px;margin-top:14px}.listing-report label{display:grid;gap:6px;font-size:14px;font-weight:600}.listing-report select,.listing-report textarea{width:100%;box-sizing:border-box;padding:10px;border:1px solid #cbd5ce;border-radius:5px;font:inherit}.listing-report textarea{resize:vertical}.listing-report :focus-visible{outline:3px solid #55a77b;outline-offset:2px}
@media(max-width:768px){.admin-wrap{padding:18px 12px;min-width:0}.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.admin-stat{min-width:0;padding:10px}.admin-stat-label{overflow-wrap:anywhere}.admin-section{min-width:0}.admin-table-wrap{max-width:100%;overflow-x:auto}}

/* Accessible listing editor labels and preview spacing */
#listing-form>label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:13px;font-weight:650;color:#263b31}#listing-form>label input,#listing-form>label select,#listing-form>label textarea{box-sizing:border-box;width:100%;min-width:0;padding:10px 11px;border:1px solid #bdcbc2;border-radius:5px;background:#fff;color:#1d2a23;font:inherit;font-weight:400}#listing-form>label:focus-within input,#listing-form>label:focus-within select,#listing-form>label:focus-within textarea{outline:3px solid #55a77b;outline-offset:2px}.listing-description-label{grid-column:1/-1}.marketplace-preview{max-width:720px}.marketplace-preview .tier-features{line-height:1.8}

.listing-detail-image{display:block;width:100%;max-height:360px;object-fit:contain;background:#f4f6f4;border-radius:8px;margin:0 0 8px;cursor:zoom-in}.listing-detail-image:focus-visible{outline:3px solid #55a77b;outline-offset:3px}.image-viewer{position:fixed;inset:0;z-index:11000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(7,17,13,.92)}.image-viewer[hidden]{display:none}.image-viewer img{max-width:min(96vw,1400px);max-height:88vh;object-fit:contain}.image-viewer-close{position:absolute;top:16px;right:16px;padding:10px 16px;border:0;border-radius:6px;background:#fff;color:#123;font:inherit;font-weight:700;cursor:pointer}.image-viewer-close:focus-visible{outline:3px solid #8ee2b4;outline-offset:3px}

.listing-specs{grid-column:1/-1;min-width:0;margin:0;padding:14px;border:1px solid #d8e2dc;border-radius:6px;background:#f7faf8}.listing-specs legend{padding:0 6px;font-size:13px;font-weight:700;color:#263b31}.listing-specs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.listing-specs-grid label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:13px;font-weight:650;color:#263b31}.listing-specs-grid input,.listing-specs-grid select{box-sizing:border-box;width:100%;min-width:0;padding:10px 11px;border:1px solid #bdcbc2;border-radius:5px;background:#fff;color:#1d2a23;font:inherit;font-weight:400}.listing-specs-grid :focus-visible{outline:3px solid #55a77b;outline-offset:2px}
@media(max-width:650px){.listing-specs-grid{grid-template-columns:1fr}}

.seller-dashboard-tabs{display:flex;gap:8px;margin:0 0 18px;border-bottom:1px solid #dce5df}.seller-dashboard-tabs button{padding:10px 14px;border:0;border-bottom:3px solid transparent;background:transparent;color:#46534c;font:inherit;font-weight:650;cursor:pointer}.seller-dashboard-tabs button[aria-selected="true"]{border-bottom-color:#0b7c3c;color:#0b6433}.confirmations-panel[hidden]{display:none}.confirmations-list{display:grid;gap:12px}.confirmation-card{padding:16px;border:1px solid #dce5df;border-radius:8px;background:#fff}.confirmation-card-header{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.confirmation-card-header h3{margin:0;color:#173d2c}.confirmation-card-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0;color:#46534c;font-size:13px}.confirmation-card-meta span{overflow-wrap:anywhere}.confirmation-card-actions{display:flex;gap:8px;flex-wrap:wrap}.confirmation-status{display:inline-block;padding:3px 8px;border-radius:999px;background:#eef5ef;color:#205d38;font-size:12px;font-weight:700}
.dashboard-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.po-view-tabs{display:flex;gap:8px;margin:0 0 14px}.po-view-tabs button{padding:8px 14px;border:1px solid #c9d7ce;border-radius:5px;background:#fff;color:#34473b;font:inherit;font-weight:650;cursor:pointer}.po-view-tabs button[aria-selected="true"]{border-color:#0b7c3c;background:#eef7f0;color:#0b6433}.confirmation-version-history{flex-basis:100%;font-size:12px;color:#56655c;overflow-wrap:anywhere}.transaction-disclaimer{margin:14px 0 0;padding-top:9px;border-top:1px solid #e3ebe5;color:#526158;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.listing-email-preview-paper .transaction-disclaimer{padding:8px 0 0;border-top:1px solid #e3ebe5}.sales-confirmation-preview .version-history{font-size:12px;color:#526158}.sales-confirmation-preview .transaction-disclaimer{font-size:10px}
.seller-dashboard-tabs{flex-wrap:wrap}
.sales-confirmation-form{display:grid;gap:12px}.sales-confirmation-form h2{margin:0 0 4px}.sales-confirmation-form h3{grid-column:1/-1;margin:8px 0 0;padding-bottom:6px;border-bottom:1px solid #e0e7e2;color:#1e5635;font-size:15px}.sales-confirmation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sales-confirmation-grid label,.sales-confirmation-form>label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:13px;font-weight:650}.sales-confirmation-grid input,.sales-confirmation-grid select,.sales-confirmation-form input,.sales-confirmation-form select,.sales-confirmation-form textarea{box-sizing:border-box;width:100%;min-width:0;padding:10px;border:1px solid #bdcbc2;border-radius:5px;background:#fff;color:#1d2a23;font:inherit;font-weight:400}.sales-confirmation-form textarea{min-height:70px}.sales-confirmation-grid .span-full{grid-column:1/-1}.sales-confirmation-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.sales-confirmation-preview{max-height:min(78vh,900px);overflow:auto}.sales-confirmation-preview h2{margin:0}.sales-confirmation-preview-table{width:100%;border-collapse:collapse;margin:14px 0}.sales-confirmation-preview-table th,.sales-confirmation-preview-table td{padding:7px 8px;border-bottom:1px solid #e1e8e3;text-align:left;vertical-align:top;overflow-wrap:anywhere}.sales-confirmation-preview-table th{width:32%;color:#526158;font-size:13px}.sales-confirmation-preview-notice{padding:10px 12px;background:#f4f8f5;border-left:3px solid #0b7c3c;font-size:13px}
@media(max-width:650px){.confirmation-card-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-confirmation-grid{grid-template-columns:1fr}.sales-confirmation-grid .span-full{grid-column:auto}.confirmation-card-actions button{flex:1 1 42%}}


.hero-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:20px}.hero-actions button{width:auto}.hero-cta-stack{display:flex;flex-direction:column;align-items:center}.hero-note{display:inline-block;margin-top:10px;padding:4px 8px;border-radius:4px;background:rgba(10,28,18,.48);font-size:13px;font-weight:600;color:#fff;text-shadow:0 1px 2px #000}.hero-actions .btn-secondary{padding:12px 18px;border:1px solid #d1ddd4;background:#fff;color:#19412d;border-radius:5px;font-weight:700;cursor:pointer}@media(max-width:650px){.hero-actions{display:grid;grid-template-columns:1fr}.hero-actions button{width:100%}.hero-cta-stack{width:100%}}
@media(max-width:480px){
  #home-view .filters{grid-template-columns:minmax(0,1fr)}
  #home-view .filter-group,#home-view .price-inputs{min-width:0}
  #home-view .price-inputs{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}
  #home-view .price-inputs input{width:100%;min-width:0}
  #home-view .header>div:first-child{min-width:0}
}

.sales-confirmation-form h4{grid-column:1/-1;margin:8px 0 0;padding-bottom:6px;border-bottom:1px solid #e0e7e2;color:#1e5635;font-size:15px}
.confirmation-send-log{margin:4px 0 12px;color:#526158;font-size:13px}
.sales-confirmation-grid .sales-confirmation-wide{grid-column:1/-1}
.sales-confirmation-preview-wrap{display:grid;gap:12px;max-height:82vh;overflow:auto}.sales-confirmation-preview{padding:18px;background:#fff;border:1px solid #dce5df;border-radius:7px}.sales-confirmation-preview h1{font-size:23px;margin:0 0 5px;color:#173d2c}.sales-confirmation-preview>header p{margin:0 0 14px;color:#526158}.sales-confirmation-preview .print-table{width:100%;border-collapse:collapse}.sales-confirmation-preview .print-table th,.sales-confirmation-preview .print-table td{padding:7px 8px;border-bottom:1px solid #e1e8e3;text-align:left;vertical-align:top;overflow-wrap:anywhere}.sales-confirmation-preview .print-table th{width:34%;color:#526158;font-size:13px}.sales-confirmation-preview-wrap .listing-email-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.listing-email-bulk-toolbar[hidden],.email-activity[hidden],#my-listings-grid[hidden],#my-listings-empty[hidden]{display:none!important}
#register-form .terms-consent{display:flex;align-items:flex-start;gap:9px;text-align:left}
#register-form .terms-consent input[type=checkbox]{display:block;flex:0 0 16px;width:16px;height:16px;padding:0;margin:2px 0 0;border:0}
#register-form label{display:block;margin:12px 0 5px;text-align:left;font-size:13px;font-weight:650;color:#263b31}
#register-form>input,#register-form>select{box-sizing:border-box;width:100%;padding:11px 12px;border:1px solid #bdcbc2;border-radius:5px;background:#fff;color:#1d2a23;font:inherit}
#register-form>input:focus-visible,#register-form>select:focus-visible,#register-form input[type=checkbox]:focus-visible{outline:3px solid #55a77b;outline-offset:2px}
.seller-protein-fieldset{margin:14px 0 10px;padding:12px;border:1px solid #cbd8ce;border-radius:6px;text-align:left}
.seller-protein-fieldset legend{padding:0 5px;font-size:13px;font-weight:700;color:#263b31}
.seller-protein-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
#register-form .seller-protein-options label{display:flex;align-items:center;gap:7px;margin:0;font-weight:500}
#register-form .seller-protein-options input[type=checkbox]{width:16px;height:16px;margin:0;flex:0 0 16px}
#register-form .terms-consent{margin:14px 0;font-weight:500;line-height:1.45}
#register-form .btn-primary{width:100%;margin-top:8px}
.seller-review-notice{margin:0 0 20px;padding:14px 16px;border:1px solid #e4c466;border-radius:7px;background:#fff8df;color:#60470b;font-weight:650;line-height:1.5}
.seller-review-notice[hidden]{display:none}
.seller-review-queue{padding:14px 16px}
.seller-review-card{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:16px;margin:0 0 12px;border:1px solid #dce6df;border-radius:8px;background:#fff}
.seller-review-main{min-width:0;overflow-wrap:anywhere}.seller-review-main h4{margin:0 0 8px;color:#173c2b;font-size:16px}.seller-review-main p{margin:5px 0;line-height:1.45;color:#39483f}.seller-review-main small{display:block;margin-top:8px;color:#64736a}.seller-review-reason{padding:8px 10px;border-radius:5px;background:#fff5df;color:#60470b!important}
.seller-review-actions{display:flex;flex-direction:column;gap:8px;flex:0 0 auto}.seller-review-actions button{width:auto;min-width:100px;padding:9px 14px}.seller-review-empty{margin:0;padding:14px 0;color:#66766d}
.seller-suspension-card{position:relative;max-width:440px}.seller-suspension-card>label{display:block;margin:14px 0 6px;font-weight:650}.seller-suspension-card>select{box-sizing:border-box;width:100%;padding:11px;border:1px solid #bdcbc2;border-radius:5px;font:inherit}.seller-suspension-card .image-viewer-close{position:absolute}.seller-suspension-card #seller-suspension-status{min-height:20px;color:#b42318}
.seller-verified-badge{display:inline-block;padding:6px 10px;border-radius:16px;background:#e3f4e8;color:#176039;font-weight:700}
@media(max-width:560px){.seller-review-card{display:block}.seller-review-actions{flex-direction:row;margin-top:12px}.seller-review-actions button{flex:1}.seller-protein-options{grid-template-columns:1fr 1fr}.seller-suspension-card{margin:12px}}
#site-topbar .brand small{font-size:11px;font-weight:700;letter-spacing:1.1px;color:#263c34;padding-top:6px}
.admin-section>p{margin:0;padding:10px 16px 12px;color:#526158;line-height:1.5}
.account-card select{display:block;width:100%;box-sizing:border-box;margin-top:8px;padding:12px;border:1px solid #cbd5ce;border-radius:5px;background:#fff;font:inherit}
.landing-footer a{border:0;background:none;color:#08152c;font-size:13px;font-weight:600;text-decoration:none}
@media(max-width:480px){.landing-footer{flex-wrap:wrap;gap:14px}.landing-footer>div{width:100%;min-width:0;flex-wrap:wrap;gap:8px 14px}.landing-footer>strong{margin-left:auto}}

/* Shared public-page chrome and common action colors */
.shared-page-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:42px;padding:24px max(5%,calc((100% - 1240px)/2));border-top:1px solid #e3e8e5;background:#f8faf8;color:#24352b}
.shared-page-footer nav{display:flex;align-items:center;justify-content:flex-end;gap:20px;flex-wrap:wrap}
.shared-page-footer a{color:#263b31;text-decoration:none;font-size:14px;font-weight:600}
.shared-page-footer a:hover{color:#0b7c3c;text-decoration:underline}
.shared-page-footer .shared-footer-brand{font-size:22px;font-weight:800;color:#173d2c}
.public-page-header .primary-nav{margin-left:auto}
.public-page-header .header-actions{display:flex;align-items:center;gap:16px}
.public-page-header .header-text-link{color:#33443c;text-decoration:none;font-size:14px;font-weight:600}
.shared-page-footer a:focus-visible,.public-page-header a:focus-visible{outline:3px solid #55a77b;outline-offset:3px}
.static-wrap{box-sizing:border-box;max-width:760px;min-width:0;padding:48px 24px;margin:0 auto}
.static-wrap h1{color:#173d2c}
.static-wrap p{font-size:16px}
.browse-coming-page .policy-kicker{color:#0b7c3c}
.browse-coming-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:22px}
.browse-coming-actions button{width:auto}

.btn-primary,button.btn-primary,a.btn-primary{background-color:#0b7c3c;border-color:#0b7c3c;color:#fff}
.btn-primary:hover,button.btn-primary:hover,a.btn-primary:hover{background-color:#065c2c;border-color:#065c2c;color:#fff}
#home-view .search-main button,#home-view .filter-actions button{background:#0b7c3c;color:#fff}
#home-view .search-main button:hover,#home-view .filter-actions button:hover{background:#065c2c}
#home-view .view-btn.active,#home-view .pagination button.active{background:#0b7c3c;color:#fff;border-color:#0b7c3c}
.green-button{background:#0b7c3c;border-color:#0b7c3c;color:#fff}
.green-button:hover{background:#065c2c;border-color:#065c2c}

/* Uploaded product photos are normalized to a 16:10 crop on the server. */
.listing-card .listing-img-wrap,.my-listing-card .listing-img-wrap{height:auto;aspect-ratio:16/10;overflow:hidden;background:#f4f6f4}
.listing-photo{object-fit:cover}
.my-listing-card .listing-img-wrap{aspect-ratio:16/10}
.listing-email-preview-photo{width:100%;height:auto;max-height:none;aspect-ratio:16/10;object-fit:cover;border-radius:0;background:#f4f6f4}
.listing-email-preview-item{padding:18px 0;border-bottom:1px solid #dfe7e1}
.listing-email-preview-item h4{margin:0 0 10px;font-size:18px;color:#17251d}
.listing-email-preview-highlights{display:grid;grid-template-columns:minmax(0,1fr);margin:12px 0;background:#f3f8f4}
.listing-email-preview-highlights>div{min-width:0;padding:8px 10px;border-bottom:1px solid #dce9df;overflow-wrap:anywhere}
.listing-email-preview-highlights span,.listing-email-preview-highlights strong{display:block}
.listing-email-preview-highlights span{font-size:12px;color:#526158}
.listing-email-preview-highlights strong{font-size:14px;color:#173d2c}
.listing-email-preview-paper{max-width:640px;margin:auto;background:#fff;border:1px solid #dfe8e1;color:#243229}
.listing-email-preview-paper>header{padding:16px 20px;background:#f8faf8;border-bottom:1px solid #e3ebe5}
.listing-email-preview-paper>header strong,.listing-email-preview-paper>header span{display:block}
.listing-email-preview-paper>header strong{font-size:20px;color:#173d2c}
.listing-email-preview-paper>header span{font-size:14px;color:#526158}
.listing-email-preview-body{padding:18px 20px}
.listing-email-preview-body>h4{margin:0 0 8px}
.listing-email-preview-paper footer{display:grid;gap:5px;padding:14px 20px;background:#f8faf8;border-top:1px solid #e3ebe5;color:#526158;font-size:12px;overflow-wrap:anywhere}
.listing-email-preview-paper footer strong{color:#243229}
.listing-email-reply-preview{display:inline-block;margin:18px 0;padding:10px 14px;background:#0b7c3c;color:#fff!important;font-weight:700;text-decoration:none}
.my-listing-delete{margin-top:16px;padding-top:12px;border-top:1px solid #e6ebe7}
.my-listing-delete button{width:auto;min-height:38px}
.listing-status-badge{display:inline-block;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:700;line-height:1.35}
.listing-status-approved{background:#e5f4ea;color:#145b34}
.listing-status-in-review{background:#fff4d6;color:#704c00}
.listing-status-hidden{background:#edf0ee;color:#4e5c53}
.seller-address-reminder{margin:0 0 18px;padding:13px 15px;border:1px solid #cfe1d4;background:#f4fbf6;color:#294737;line-height:1.5}
.seller-address-reminder[hidden]{display:none}
.seller-address-reminder a{color:#0b7c3c;font-weight:700}
.admin-upload-preview{display:block;width:100%;max-width:320px;aspect-ratio:16/10;object-fit:cover;margin-top:8px}
.admin-upload-preview[hidden]{display:none}
.terms-page-header,.privacy-page-header,.faq-page-header{margin-bottom:18px}
.policy-page{max-width:900px}
body:has(.shared-page-footer){min-width:320px;overflow-x:hidden}

@media(max-width:650px){
  .shared-page-footer{align-items:flex-start;flex-direction:column;padding:22px 18px}
  .shared-page-footer nav{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .public-page-header .primary-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:5px;overflow:visible}
  .public-page-header .primary-nav a{justify-content:center;min-width:0;text-align:center;overflow-wrap:anywhere}
  #site-topbar.public-page-header .primary-nav a:first-child{display:block;overflow-wrap:normal;word-break:normal;white-space:normal}
  .public-page-header .header-actions{width:100%;justify-content:flex-start}
  .browse-coming-actions{display:grid;grid-template-columns:1fr}
  .browse-coming-actions button{width:100%}
  .listing-email-preview-highlights{grid-template-columns:minmax(0,1fr)}
  .listing-email-preview-highlights>div{border-right:0;border-bottom:1px solid #dce9df}
}
