/*
 * GlobalWholesale Hub — Elite Marketplace Theme v16
 * Presentation-only layer. Loaded after all historical theme files.
 * It intentionally preserves routes, markup semantics, form field names, IDs,
 * handlers, PHP variables, role checks and client-side behaviour.
 */

:root {
  --elite-navy-975: #061426;
  --elite-navy-950: #081b33;
  --elite-navy-900: #0d2b4d;
  --elite-navy-800: #12416c;
  --elite-ink: #13263f;
  --elite-copy: #52647a;
  --elite-muted: #77879a;
  --elite-paper: #ffffff;
  --elite-canvas: #f5f8fc;
  --elite-canvas-deep: #edf3f9;
  --elite-line: #dbe5ef;
  --elite-line-dark: #cbd9e7;
  --elite-accent: var(--brand, #f67c00);
  --elite-accent-bright: #ffad46;
  --elite-accent-deep: #d96100;
  --elite-accent-wash: #fff5e9;
  --elite-green: #157b55;
  --elite-green-wash: #eaf8f1;
  --elite-amber: #a86411;
  --elite-amber-wash: #fff6e6;
  --elite-red: #bd3654;
  --elite-red-wash: #fff1f4;
  --elite-blue: #2566ae;
  --elite-blue-wash: #eef6ff;
  --elite-shadow-1: 0 4px 12px rgba(9, 29, 54, .05);
  --elite-shadow-2: 0 14px 34px rgba(9, 29, 54, .08);
  --elite-shadow-3: 0 25px 64px rgba(6, 20, 38, .13);
  --elite-shadow-4: 0 36px 86px rgba(6, 20, 38, .18);
  --elite-radius-xs: 10px;
  --elite-radius-sm: 14px;
  --elite-radius: 19px;
  --elite-radius-lg: 28px;
  --elite-radius-xl: 38px;
  --elite-max: 1460px;
}

/* ---- shared foundation -------------------------------------------------- */
body.gwh-theme.marketplace-theme.theme-v16 {
  color: var(--elite-ink);
  background:
    radial-gradient(circle at 100% -10%, rgba(255, 171, 70, .10), transparent 26rem),
    radial-gradient(circle at -8% 35%, rgba(54, 130, 202, .08), transparent 26rem),
    linear-gradient(180deg, #fbfdff 0, var(--elite-canvas) 47rem, #f8fbfe 100%);
  font-size: 15px;
}
body.gwh-theme.marketplace-theme.theme-v16::selection { color: #fff; background: var(--elite-accent); }
body.gwh-theme.marketplace-theme.theme-v16 main { position: relative; min-height: 52vh; }
body.gwh-theme.marketplace-theme.theme-v16 .container-xxl { max-width: var(--elite-max); }
body.gwh-theme.marketplace-theme.theme-v16 h1,
body.gwh-theme.marketplace-theme.theme-v16 h2,
body.gwh-theme.marketplace-theme.theme-v16 h3,
body.gwh-theme.marketplace-theme.theme-v16 h4,
body.gwh-theme.marketplace-theme.theme-v16 h5,
body.gwh-theme.marketplace-theme.theme-v16 h6 { color: var(--elite-ink); }
body.gwh-theme.marketplace-theme.theme-v16 p { color: var(--elite-copy); }
body.gwh-theme.marketplace-theme.theme-v16 :focus-visible {
  outline: 3px solid rgba(246, 124, 0, .34);
  outline-offset: 3px;
}
body.gwh-theme.marketplace-theme.theme-v16 .eyebrow {
  gap: .52rem;
  color: var(--elite-accent-deep);
  font-size: .69rem;
  letter-spacing: .15em;
}
body.gwh-theme.marketplace-theme.theme-v16 .eyebrow::before {
  width: 25px;
  height: 3px;
  background: linear-gradient(90deg, var(--elite-accent), var(--elite-accent-bright));
}
body.gwh-theme.marketplace-theme.theme-v16 .muted,
body.gwh-theme.marketplace-theme.theme-v16 .text-muted { color: var(--elite-muted) !important; }
body.gwh-theme.marketplace-theme.theme-v16 .text-success { color: var(--elite-green) !important; }
body.gwh-theme.marketplace-theme.theme-v16 .text-danger { color: var(--elite-red) !important; }
body.gwh-theme.marketplace-theme.theme-v16 .text-warning { color: var(--elite-amber) !important; }

/* ---- reliable buttons / links ------------------------------------------ */
body.gwh-theme.marketplace-theme.theme-v16 .btn,
body.gwh-theme.marketplace-theme.theme-v16 button.btn {
  min-height: 45px;
  padding: .68rem 1.05rem;
  border-radius: 12px;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: -.01em;
  box-shadow: none;
}
body.gwh-theme.marketplace-theme.theme-v16 .btn.btn-sm { min-height: 35px; padding: .44rem .74rem; font-size: .76rem; }
body.gwh-theme.marketplace-theme.theme-v16 .btn-brand {
  border-color: var(--elite-accent) !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--elite-accent-deep), var(--elite-accent) 54%, var(--elite-accent-bright)) !important;
  box-shadow: 0 12px 24px rgba(246, 124, 0, .25) !important;
}
body.gwh-theme.marketplace-theme.theme-v16 .btn-brand:hover,
body.gwh-theme.marketplace-theme.theme-v16 .btn-brand:focus-visible {
  border-color: var(--elite-accent-deep) !important;
  color: #fff !important;
  box-shadow: 0 17px 31px rgba(246, 124, 0, .32) !important;
  filter: saturate(1.08);
}
body.gwh-theme.marketplace-theme.theme-v16 .btn-dark {
  border-color: var(--elite-navy-950) !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--elite-navy-975), var(--elite-navy-800)) !important;
  box-shadow: 0 11px 24px rgba(6, 20, 38, .18) !important;
}
body.gwh-theme.marketplace-theme.theme-v16 .btn-light,
body.gwh-theme.marketplace-theme.theme-v16 .btn-outline-brand {
  border-color: var(--elite-line-dark) !important;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: var(--elite-shadow-1);
}
body.gwh-theme.marketplace-theme.theme-v16 .btn-light { color: var(--elite-ink) !important; }
body.gwh-theme.marketplace-theme.theme-v16 .btn-outline-brand { color: var(--elite-accent-deep) !important; }
body.gwh-theme.marketplace-theme.theme-v16 .btn-light:hover,
body.gwh-theme.marketplace-theme.theme-v16 .btn-outline-brand:hover {
  border-color: rgba(246, 124, 0, .58) !important;
  color: var(--elite-accent-deep) !important;
  background: var(--elite-accent-wash) !important;
}
body.gwh-theme.marketplace-theme.theme-v16 .btn-danger { box-shadow: 0 10px 21px rgba(189, 54, 84, .18) !important; }
body.gwh-theme.marketplace-theme.theme-v16 .table-link,
body.gwh-theme.marketplace-theme.theme-v16 .text-link { color: var(--elite-accent-deep); }
body.gwh-theme.marketplace-theme.theme-v16 .table-link:hover,
body.gwh-theme.marketplace-theme.theme-v16 .text-link:hover { color: var(--elite-navy-800); }
body.gwh-theme.marketplace-theme.theme-v16 .back-link { color: var(--elite-muted); }
body.gwh-theme.marketplace-theme.theme-v16 .back-link:hover { color: var(--elite-accent-deep); }

/* ---- premium global header --------------------------------------------- */
body.gwh-theme.marketplace-theme.theme-v16 .site-header.elite-header {
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: rgba(6, 20, 38, .96);
  box-shadow: 0 10px 32px rgba(6, 20, 38, .20);
  backdrop-filter: blur(16px);
}
body.gwh-theme.marketplace-theme.theme-v16 .site-topline {
  border-bottom-color: rgba(255,255,255,.10);
  background:
    linear-gradient(90deg, rgba(255,255,255,.035), rgba(255,255,255,0) 35%),
    #04111f;
}
body.gwh-theme.marketplace-theme.theme-v16 .site-topline .container-xxl {
  min-height: 32px;
  color: #c7d7e8;
  font-size: .69rem;
}
body.gwh-theme.marketplace-theme.theme-v16 .topline {
  position: relative;
  background:
    radial-gradient(circle at 62% 10%, rgba(255, 178, 80, .13), transparent 20rem),
    linear-gradient(105deg, #081d35, #0d3155 58%, #14476f);
}
body.gwh-theme.marketplace-theme.theme-v16 .header-main-row { min-height: 78px; }
body.gwh-theme.marketplace-theme.theme-v16 .brand { letter-spacing: -.06em; }
body.gwh-theme.marketplace-theme.theme-v16 .brand b { color: var(--elite-accent-bright); }
body.gwh-theme.marketplace-theme.theme-v16 .brand small { color: #b8cee0; }
body.gwh-theme.marketplace-theme.theme-v16 .header-search {
  height: 48px;
  border-color: rgba(255,255,255,.22);
  border-radius: 15px;
  box-shadow: 0 14px 31px rgba(0,0,0,.17);
}
body.gwh-theme.marketplace-theme.theme-v16 .header-search:focus-within {
  border-color: #ffd5a5;
  box-shadow: 0 0 0 4px rgba(246,124,0,.18), 0 15px 34px rgba(0,0,0,.18);
}
body.gwh-theme.marketplace-theme.theme-v16 .header-search select {
  border-radius: 14px 0 0 14px;
  color: var(--elite-copy);
  background: #f3f6fa;
}
body.gwh-theme.marketplace-theme.theme-v16 .header-search input { color: var(--elite-ink); }
body.gwh-theme.marketplace-theme.theme-v16 .header-search button {
  min-width: 110px;
  border-radius: 0 14px 14px 0;
  background: linear-gradient(135deg, var(--elite-accent-deep), var(--elite-accent), var(--elite-accent-bright));
}
body.gwh-theme.marketplace-theme.theme-v16 .catalog-search-suggestions {
  border-color: var(--elite-line);
  border-radius: 15px;
  box-shadow: var(--elite-shadow-4);
}
body.gwh-theme.marketplace-theme.theme-v16 .header-actions a {
  position: relative;
  min-height: 42px;
  padding: .42rem .53rem;
  border-radius: 10px;
  color: #f4f8fc;
}
body.gwh-theme.marketplace-theme.theme-v16 .header-actions a:hover { color: #fff; background: rgba(255,255,255,.10); }
body.gwh-theme.marketplace-theme.theme-v16 .header-counter {
  top: .14rem;
  right: .2rem;
  min-width: 17px;
  height: 17px;
  border: 2px solid #0c2a49;
  background: var(--elite-accent);
  box-shadow: 0 3px 8px rgba(0,0,0,.18);
}
body.gwh-theme.marketplace-theme.theme-v16 .mainnav {
  border-top-color: rgba(255,255,255,.08);
  background: linear-gradient(90deg, #0a243f, #0e3359);
}
body.gwh-theme.marketplace-theme.theme-v16 .nav-shell { min-height: 45px; }
body.gwh-theme.marketplace-theme.theme-v16 .nav-links a,
body.gwh-theme.marketplace-theme.theme-v16 .nav-categories {
  border-radius: 8px;
  color: #dbe8f4;
  font-size: .78rem;
  font-weight: 750;
}
body.gwh-theme.marketplace-theme.theme-v16 .nav-links a:hover,
body.gwh-theme.marketplace-theme.theme-v16 .nav-links a.active,
body.gwh-theme.marketplace-theme.theme-v16 .nav-categories:hover { color: #fff; background: rgba(255,255,255,.10); }
body.gwh-theme.marketplace-theme.theme-v16 .nav-categories { color: #fff; background: rgba(255,255,255,.07); }
body.gwh-theme.marketplace-theme.theme-v16 .mobile-nav-toggle {
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 9px;
  color: #fff;
  background: rgba(255,255,255,.05);
}

/* ---- layout primitives -------------------------------------------------- */
body.gwh-theme.marketplace-theme.theme-v16 .section { padding: clamp(3.3rem, 6vw, 5.7rem) 0; }
body.gwh-theme.marketplace-theme.theme-v16 .section-head { align-items: end; gap: 1rem; margin-bottom: clamp(1.25rem, 2vw, 1.8rem); }
body.gwh-theme.marketplace-theme.theme-v16 .section-head h2,
body.gwh-theme.marketplace-theme.theme-v16 .page-heading h1,
body.gwh-theme.marketplace-theme.theme-v16 .page-heading h2,
body.gwh-theme.marketplace-theme.theme-v16 .page-title h1 { margin-bottom: .18rem; font-size: clamp(1.45rem, 2.2vw, 2.08rem); }
body.gwh-theme.marketplace-theme.theme-v16 .page-heading { align-items: flex-end; gap: 1rem; margin-bottom: 1.45rem; }
body.gwh-theme.marketplace-theme.theme-v16 .page-heading > div > p,
body.gwh-theme.marketplace-theme.theme-v16 .page-title p { margin: .35rem 0 0; color: var(--elite-copy); }
body.gwh-theme.marketplace-theme.theme-v16 .panel,
body.gwh-theme.marketplace-theme.theme-v16 .form-card,
body.gwh-theme.marketplace-theme.theme-v16 .dashboard-form,
body.gwh-theme.marketplace-theme.theme-v16 .detail-panel,
body.gwh-theme.marketplace-theme.theme-v16 .order-summary,
body.gwh-theme.marketplace-theme.theme-v16 .process-card,
body.gwh-theme.marketplace-theme.theme-v16 .booking-card {
  border: 1px solid rgba(205, 219, 232, .92);
  border-radius: var(--elite-radius);
  background: rgba(255,255,255,.96);
  box-shadow: var(--elite-shadow-2);
}
body.gwh-theme.marketplace-theme.theme-v16 .panel,
body.gwh-theme.marketplace-theme.theme-v16 .form-card,
body.gwh-theme.marketplace-theme.theme-v16 .dashboard-form { overflow: hidden; }
body.gwh-theme.marketplace-theme.theme-v16 .panel-head {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--elite-line);
  background: linear-gradient(180deg, #fff, #f9fbfe);
}
body.gwh-theme.marketplace-theme.theme-v16 .panel-head h2,
body.gwh-theme.marketplace-theme.theme-v16 .panel-head h3 { margin: 0; font-size: 1rem; }
body.gwh-theme.marketplace-theme.theme-v16 .panel-empty,
body.gwh-theme.marketplace-theme.theme-v16 .empty-state {
  padding: clamp(1.6rem, 5vw, 3rem);
  border: 1px dashed var(--elite-line-dark);
  border-radius: var(--elite-radius);
  color: var(--elite-copy);
  background:
    radial-gradient(circle at 50% 0, rgba(255,176,80,.12), transparent 10rem),
    #fbfdff;
}
body.gwh-theme.marketplace-theme.theme-v16 .panel-empty h3,
body.gwh-theme.marketplace-theme.theme-v16 .empty-state h3 { margin-bottom: .4rem; }

/* ---- forms / input validation ------------------------------------------ */
body.gwh-theme.marketplace-theme.theme-v16 .form-card,
body.gwh-theme.marketplace-theme.theme-v16 .dashboard-form { padding: clamp(1.12rem, 3vw, 1.8rem); }
body.gwh-theme.marketplace-theme.theme-v16 .form-card-intro {
  margin: -1.8rem -1.8rem 1.5rem;
  padding: 1.25rem clamp(1.12rem, 3vw, 1.8rem);
  border-bottom: 1px solid var(--elite-line);
  background: linear-gradient(135deg, #fbfdff, var(--elite-accent-wash));
}
body.gwh-theme.marketplace-theme.theme-v16 .form-grid { gap: 1.1rem 1.2rem; }
body.gwh-theme.marketplace-theme.theme-v16 .form-grid > label,
body.gwh-theme.marketplace-theme.theme-v16 .dashboard-form > label,
body.gwh-theme.marketplace-theme.theme-v16 .form-card > label,
body.gwh-theme.marketplace-theme.theme-v16 .form-group-premium > label {
  color: var(--elite-ink);
  font-size: .79rem;
  font-weight: 800;
}
body.gwh-theme.marketplace-theme.theme-v16 input:not([type="checkbox"]):not([type="radio"]),
body.gwh-theme.marketplace-theme.theme-v16 select,
body.gwh-theme.marketplace-theme.theme-v16 textarea {
  min-height: 46px;
  border-color: var(--elite-line-dark) !important;
  border-radius: 11px !important;
  color: var(--elite-ink) !important;
  background: #fff !important;
  box-shadow: inset 0 1px 1px rgba(13,43,77,.015);
}
body.gwh-theme.marketplace-theme.theme-v16 input:not([type="checkbox"]):not([type="radio"]):focus,
body.gwh-theme.marketplace-theme.theme-v16 select:focus,
body.gwh-theme.marketplace-theme.theme-v16 textarea:focus {
  border-color: var(--elite-accent) !important;
  box-shadow: 0 0 0 4px rgba(246,124,0,.12) !important;
}
body.gwh-theme.marketplace-theme.theme-v16 input[aria-invalid="true"],
body.gwh-theme.marketplace-theme.theme-v16 select[aria-invalid="true"],
body.gwh-theme.marketplace-theme.theme-v16 textarea[aria-invalid="true"] {
  border-color: var(--elite-red) !important;
  background: #fff9fa !important;
  box-shadow: 0 0 0 4px rgba(189,54,84,.10) !important;
}
body.gwh-theme.marketplace-theme.theme-v16 input[type="file"] { border-style: dashed !important; background: #f8fbff !important; }
body.gwh-theme.marketplace-theme.theme-v16 input[type="checkbox"],
body.gwh-theme.marketplace-theme.theme-v16 input[type="radio"] { accent-color: var(--elite-accent); }
body.gwh-theme.marketplace-theme.theme-v16 .input-icon-wrapper svg.input-icon { color: #788b9e; }
body.gwh-theme.marketplace-theme.theme-v16 .input-icon-wrapper:focus-within svg.input-icon { color: var(--elite-accent-deep); }
body.gwh-theme.marketplace-theme.theme-v16 .form-hint { color: var(--elite-muted); }
body.gwh-theme.marketplace-theme.theme-v16 .form-section-divider {
  margin-top: .35rem;
  padding-top: 1.05rem;
  border-top-color: var(--elite-line);
  color: var(--elite-navy-800);
}
body.gwh-theme.marketplace-theme.theme-v16 .form-actions,
body.gwh-theme.marketplace-theme.theme-v16 .form-actions-sticky {
  border-top-color: var(--elite-line);
  background: linear-gradient(180deg, rgba(255,255,255,.74), rgba(248,251,255,.97));
}
body.gwh-theme.marketplace-theme.theme-v16 .form-actions-sticky { backdrop-filter: blur(13px); }

/* ---- data surfaces / tables / overlays --------------------------------- */
body.gwh-theme.marketplace-theme.theme-v16 .table-responsive { border-radius: 0 0 var(--elite-radius) var(--elite-radius); }
body.gwh-theme.marketplace-theme.theme-v16 .app-table thead th {
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--elite-line);
  color: #5d6f84;
  background: #f7faff;
  font-size: .71rem;
  letter-spacing: .08em;
}
body.gwh-theme.marketplace-theme.theme-v16 .app-table tbody td {
  padding: 1rem;
  border-color: #edf2f6;
  color: var(--elite-ink);
  font-size: .84rem;
}
body.gwh-theme.marketplace-theme.theme-v16 .app-table tbody tr:hover { background: #fffaf5; }
body.gwh-theme.marketplace-theme.theme-v16 .table-thumb { border-color: var(--elite-line); border-radius: 12px; box-shadow: var(--elite-shadow-1); }
body.gwh-theme.marketplace-theme.theme-v16 .status,
body.gwh-theme.marketplace-theme.theme-v16 .status-pill,
body.gwh-theme.marketplace-theme.theme-v16 .badge-brand,
body.gwh-theme.marketplace-theme.theme-v16 .badge-light,
body.gwh-theme.marketplace-theme.theme-v16 .badge {
  min-height: 25px;
  padding: .28rem .58rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .02em;
}
body.gwh-theme.marketplace-theme.theme-v16 .badge-brand { color: var(--elite-accent-deep); background: var(--elite-accent-wash); border-color: #ffd9ad; }
body.gwh-theme.marketplace-theme.theme-v16 .badge-light { color: var(--elite-copy); background: #f6f9fc; border-color: var(--elite-line); }
body.gwh-theme.marketplace-theme.theme-v16 .modal-content {
  overflow: hidden;
  border: 1px solid var(--elite-line);
  border-radius: var(--elite-radius);
  box-shadow: var(--elite-shadow-4);
}
body.gwh-theme.marketplace-theme.theme-v16 .modal-header,
body.gwh-theme.marketplace-theme.theme-v16 .modal-footer { border-color: var(--elite-line); }
body.gwh-theme.marketplace-theme.theme-v16 .modal-header { background: linear-gradient(135deg, #fff, #f7fbff); }
body.gwh-theme.marketplace-theme.theme-v16 .toast,
body.gwh-theme.marketplace-theme.theme-v16 .app-toast,
body.gwh-theme.marketplace-theme.theme-v16 .dash-alert {
  border-radius: 13px;
  box-shadow: var(--elite-shadow-3);
}
body.gwh-theme.marketplace-theme.theme-v16 .alert,
body.gwh-theme.marketplace-theme.theme-v16 .alert-success {
  border-radius: 13px;
  border-color: #cce6d8;
  background: #f0fcf5;
}
body.gwh-theme.marketplace-theme.theme-v16 .pagination .page-link {
  border-color: var(--elite-line);
  border-radius: 10px !important;
  color: var(--elite-ink);
  background: #fff;
  box-shadow: var(--elite-shadow-1);
}
body.gwh-theme.marketplace-theme.theme-v16 .pagination .page-item.active .page-link,
body.gwh-theme.marketplace-theme.theme-v16 .pagination .page-link:hover { border-color: var(--elite-accent) !important; background: var(--elite-accent) !important; }

/* ---- elite homepage: buyer confidence first --------------------------- */
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home { overflow: clip; }
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero {
  isolation: isolate;
  min-height: clamp(560px, 59vw, 700px);
  border-bottom: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 79% 35%, rgba(255, 180, 86, .19), transparent 18rem),
    radial-gradient(circle at 22% 95%, rgba(43, 127, 199, .22), transparent 29rem),
    linear-gradient(128deg, #061427 0%, #092644 49%, #114a73 100%);
}
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero::before {
  z-index: -1;
  top: -18rem;
  right: -12rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,174,71,.15), transparent 66%);
  box-shadow: 0 0 0 6rem rgba(255,255,255,.017), 0 0 0 12rem rgba(255,255,255,.012);
}
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero::after {
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 9rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .20));
}
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-grid { align-items: center; }
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-copy { padding: clamp(4rem, 7vw, 6.4rem) 0 clamp(3rem, 6vw, 5rem); }
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-kicker {
  border-color: rgba(255,193,123,.34);
  color: #ffca87;
  background: rgba(255,255,255,.07);
  box-shadow: 0 9px 18px rgba(0,0,0,.10);
  backdrop-filter: blur(12px);
}
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero h1 {
  max-width: 720px;
  color: #fff;
  font-size: clamp(2.45rem, 5vw, 4.75rem);
  line-height: 1.035;
  text-wrap: balance;
}
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero h1 strong,
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero h1 em { color: #ffc270; }
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-copy > p {
  max-width: 640px;
  color: #d5e4f1;
  font-size: clamp(.99rem, 1.55vw, 1.12rem);
}
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-trust {
  margin-top: 1.65rem;
  gap: .62rem;
}
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-trust > span {
  min-width: 145px;
  padding: .76rem .8rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 13px;
  color: #d7e8f5;
  background: rgba(3,15,29,.25);
  backdrop-filter: blur(10px);
}
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-trust b { color: #fff; }
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-actions { margin-top: 1.7rem; }
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-actions .btn { min-height: 48px; padding-inline: 1.2rem; }
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-actions .btn-outline-brand {
  border-color: rgba(255,255,255,.28) !important;
  color: #fff !important;
  background: rgba(255,255,255,.06) !important;
}
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-actions .btn-outline-brand:hover { background: rgba(255,255,255,.16) !important; }
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-art { filter: drop-shadow(0 30px 36px rgba(0,0,0,.22)); }
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .regions-card,
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-proof-card {
  border-color: rgba(255,255,255,.20);
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.055));
  box-shadow: 0 20px 48px rgba(0,0,0,.20);
  backdrop-filter: blur(16px);
}
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .marketplace-stat-ribbon {
  position: relative;
  z-index: 5;
  margin-top: -30px;
}
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .marketplace-stat-ribbon .container-xxl {
  overflow: hidden;
  border: 1px solid rgba(210,224,237,.96);
  border-radius: 17px;
  background: rgba(255,255,255,.95);
  box-shadow: var(--elite-shadow-3);
  backdrop-filter: blur(12px);
}
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .marketplace-stat-ribbon strong { color: var(--elite-navy-900); }
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .filter-strip {
  position: relative;
  z-index: 3;
  margin-top: 2rem;
}
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-filter {
  border: 1px solid rgba(206,220,233,.96);
  border-radius: var(--elite-radius);
  background: rgba(255,255,255,.97);
  box-shadow: var(--elite-shadow-3);
}
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-filter select,
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-filter input { min-height: 48px; }
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .category-grid { gap: 1rem; }
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .category-card {
  position: relative;
  overflow: hidden;
  min-height: 158px;
  padding: 1.15rem;
  border: 1px solid var(--elite-line);
  border-radius: 17px;
  background: linear-gradient(145deg, #fff, #f9fbfe);
  box-shadow: var(--elite-shadow-1);
}
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .category-card::after {
  position: absolute;
  top: -34px;
  right: -34px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(246,124,0,.07);
  content: "";
  transition: transform .22s ease, background .22s ease;
}
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .category-card:hover { border-color: #f2c289; box-shadow: var(--elite-shadow-2); }
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .category-card:hover::after { transform: scale(1.28); background: rgba(246,124,0,.12); }
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .category-icon {
  border-color: #ffe0bc;
  color: var(--elite-accent-deep);
  background: var(--elite-accent-wash);
}
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .lots-section { background: linear-gradient(180deg, transparent, #f8fbff); }
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .two-process { gap: clamp(1rem, 2vw, 1.55rem); }
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .process-card { background: linear-gradient(145deg, #fff, #f7fbff); }
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .booking-card {
  border-color: rgba(246,124,0,.28);
  background: linear-gradient(145deg, #fffaf4, #fff 62%);
}
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .process-steps span {
  border-color: var(--elite-line);
  background: #fff;
  box-shadow: var(--elite-shadow-1);
}
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .booking-slots span { border-color: var(--elite-line); }
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .booking-slots span.selected { border-color: var(--elite-accent); color: #fff; background: var(--elite-accent); box-shadow: 0 10px 20px rgba(246,124,0,.2); }
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .trust-section {
  border-block: 1px solid var(--elite-line);
  background: linear-gradient(135deg, #f4f8fc, #fff);
}
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .trust-grid > div { position: relative; }
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .trust-grid > div:hover { background: rgba(255,255,255,.50); }
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .supplier-card {
  border-color: var(--elite-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--elite-shadow-1);
}
body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .supplier-card:hover { border-color: #efd0a7; box-shadow: var(--elite-shadow-2); }

/* ---- cards & commerce on all public pages ----------------------------- */
body.gwh-theme.marketplace-theme.theme-v16 .product-card,
body.gwh-theme.marketplace-theme.theme-v16 .supplier-directory-card,
body.gwh-theme.marketplace-theme.theme-v16 .inquiry-card,
body.gwh-theme.marketplace-theme.theme-v16 .pricing-card,
body.gwh-theme.marketplace-theme.theme-v16 .value-card,
body.gwh-theme.marketplace-theme.theme-v16 .contact-card {
  overflow: hidden;
  border: 1px solid var(--elite-line);
  border-radius: 17px;
  background: #fff;
  box-shadow: var(--elite-shadow-1);
}
body.gwh-theme.marketplace-theme.theme-v16 .product-card:hover,
body.gwh-theme.marketplace-theme.theme-v16 .supplier-directory-card:hover,
body.gwh-theme.marketplace-theme.theme-v16 .pricing-card:hover { border-color: #efc68f; box-shadow: var(--elite-shadow-3); }
body.gwh-theme.marketplace-theme.theme-v16 .product-image { background: linear-gradient(145deg, #edf4fb, #f9fbfd); }
body.gwh-theme.marketplace-theme.theme-v16 .product-body { padding: 1rem; }
body.gwh-theme.marketplace-theme.theme-v16 .product-body h3 { color: var(--elite-ink); }
body.gwh-theme.marketplace-theme.theme-v16 .product-price strong,
body.gwh-theme.marketplace-theme.theme-v16 .detail-price strong { color: var(--elite-accent-deep); }
body.gwh-theme.marketplace-theme.theme-v16 .catalog-hero,
body.gwh-theme.marketplace-theme.theme-v16 .supplier-directory-hero,
body.gwh-theme.marketplace-theme.theme-v16 .services-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 82% 10%, rgba(255,174,71,.19), transparent 18rem),
    linear-gradient(130deg, var(--elite-navy-975), var(--elite-navy-800));
}
body.gwh-theme.marketplace-theme.theme-v16 .catalog-hero h1,
body.gwh-theme.marketplace-theme.theme-v16 .supplier-directory-hero h1,
body.gwh-theme.marketplace-theme.theme-v16 .services-hero h1 { color: #fff; }
body.gwh-theme.marketplace-theme.theme-v16 .catalog-hero p,
body.gwh-theme.marketplace-theme.theme-v16 .supplier-directory-hero p,
body.gwh-theme.marketplace-theme.theme-v16 .services-hero p { color: #d4e2f0; }
body.gwh-theme.marketplace-theme.theme-v16 .catalog-filter,
body.gwh-theme.marketplace-theme.theme-v16 .catalog-wrap > .catalog-filter {
  border-color: var(--elite-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--elite-shadow-2);
}
body.gwh-theme.marketplace-theme.theme-v16 .product-detail-page,
body.gwh-theme.marketplace-theme.theme-v16 .cart-layout,
body.gwh-theme.marketplace-theme.theme-v16 .checkout-grid { gap: clamp(1rem, 2.5vw, 2rem); }
body.gwh-theme.marketplace-theme.theme-v16 .detail-media,
body.gwh-theme.marketplace-theme.theme-v16 .cart-list,
body.gwh-theme.marketplace-theme.theme-v16 .checkout-fields {
  border: 1px solid var(--elite-line);
  border-radius: var(--elite-radius);
  background: #fff;
  box-shadow: var(--elite-shadow-2);
}
body.gwh-theme.marketplace-theme.theme-v16 .detail-media { overflow: hidden; }
body.gwh-theme.marketplace-theme.theme-v16 .detail-stats { border: 1px solid var(--elite-line); border-radius: 14px; background: #fbfdff; }
body.gwh-theme.marketplace-theme.theme-v16 .lot-information > div { border-color: var(--elite-line); background: #fff; }
body.gwh-theme.marketplace-theme.theme-v16 .cart-item { border-color: var(--elite-line); }
body.gwh-theme.marketplace-theme.theme-v16 .cart-item:hover { background: #fffaf5; }
body.gwh-theme.marketplace-theme.theme-v16 .checkout-line { border-color: var(--elite-line); }
body.gwh-theme.marketplace-theme.theme-v16 .payment-options > label { border-color: var(--elite-line-dark); border-radius: 13px; background: #fff; }
body.gwh-theme.marketplace-theme.theme-v16 .payment-options > label:has(input:checked) { border-color: var(--elite-accent); background: var(--elite-accent-wash); box-shadow: 0 0 0 3px rgba(246,124,0,.10); }
body.gwh-theme.marketplace-theme.theme-v16 .payment-screen .form-card { box-shadow: var(--elite-shadow-3); }
body.gwh-theme.marketplace-theme.theme-v16 .payment-icon { color: var(--elite-accent-deep); background: var(--elite-accent-wash); }
body.gwh-theme.marketplace-theme.theme-v16 .manual-instructions { border-color: #e9c995; border-radius: 14px; background: #fffaf3; }
body.gwh-theme.marketplace-theme.theme-v16 .cms-page,
body.gwh-theme.marketplace-theme.theme-v16 .about-grid,
body.gwh-theme.marketplace-theme.theme-v16 .contact-grid { gap: clamp(1rem, 2.5vw, 2rem); }
body.gwh-theme.marketplace-theme.theme-v16 .maintenance { border-radius: var(--elite-radius-lg); box-shadow: var(--elite-shadow-4); }

/* ---- auth: simple, high-trust, fully responsive ------------------------ */
body.gwh-theme.marketplace-theme.theme-v16 .auth-section {
  position: relative;
  min-height: calc(100vh - 130px);
  background:
    radial-gradient(circle at 8% 6%, rgba(43,129,203,.10), transparent 22rem),
    radial-gradient(circle at 90% 88%, rgba(246,124,0,.11), transparent 24rem);
}
body.gwh-theme.marketplace-theme.theme-v16 .auth-card {
  border: 1px solid var(--elite-line);
  border-radius: 22px;
  background: rgba(255,255,255,.97);
  box-shadow: var(--elite-shadow-4);
}
body.gwh-theme.marketplace-theme.theme-v16 .auth-brand { color: var(--elite-navy-900); }
body.gwh-theme.marketplace-theme.theme-v16 .auth-divider { color: var(--elite-muted); }
body.gwh-theme.marketplace-theme.theme-v16 .auth-divider::before,
body.gwh-theme.marketplace-theme.theme-v16 .auth-divider::after { background: var(--elite-line); }
body.gwh-theme.marketplace-theme.theme-v16 .auth-options { border-color: var(--elite-line); }

/* ---- portal / admin workspaces ----------------------------------------- */
body.gwh-theme.marketplace-theme.theme-v16 .elite-dashboard-shell { min-height: 100vh; background: var(--elite-canvas); }
body.gwh-theme.marketplace-theme.theme-v16 .dash-sidebar.elite-sidebar {
  width: 268px;
  border-right: 1px solid rgba(255,255,255,.07);
  background:
    radial-gradient(circle at 4% 0, rgba(255,178,80,.13), transparent 16rem),
    linear-gradient(180deg, #06172b 0%, #092640 48%, #081d34 100%);
  box-shadow: 12px 0 34px rgba(5,17,31,.14);
}
body.gwh-theme.marketplace-theme.theme-v16 .dash-brand {
  margin: 0 1rem 1rem;
  padding: 1rem .85rem;
  border-bottom: 1px solid rgba(255,255,255,.11);
}
body.gwh-theme.marketplace-theme.theme-v16 .dash-brand .brand { color: #fff; }
body.gwh-theme.marketplace-theme.theme-v16 .dash-role-chip {
  border-color: rgba(255,191,114,.28);
  color: #ffd098;
  background: rgba(255,255,255,.07);
}
body.gwh-theme.marketplace-theme.theme-v16 .dash-sidebar nav a,
body.gwh-theme.marketplace-theme.theme-v16 .dash-sidebar .nav-link {
  margin: .13rem .68rem;
  padding: .69rem .75rem;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #bfcfe0;
  font-size: .79rem;
  font-weight: 750;
}
body.gwh-theme.marketplace-theme.theme-v16 .dash-sidebar nav a:hover,
body.gwh-theme.marketplace-theme.theme-v16 .dash-sidebar nav a.active,
body.gwh-theme.marketplace-theme.theme-v16 .dash-sidebar .nav-link:hover,
body.gwh-theme.marketplace-theme.theme-v16 .dash-sidebar .nav-link.active {
  border-color: rgba(255,189,111,.20);
  color: #fff;
  background: linear-gradient(90deg, rgba(246,124,0,.22), rgba(255,255,255,.07));
  box-shadow: 0 7px 16px rgba(0,0,0,.10);
}
body.gwh-theme.marketplace-theme.theme-v16 .dash-sidebar nav a.active::before { background: var(--elite-accent); }
body.gwh-theme.marketplace-theme.theme-v16 .sidebar-help {
  margin: 1rem .75rem;
  border-color: rgba(255,255,255,.12);
  color: #d9e7f3;
  background: rgba(255,255,255,.06);
}
body.gwh-theme.marketplace-theme.theme-v16 .sidebar-logout { color: #ffbdc8 !important; }
body.gwh-theme.marketplace-theme.theme-v16 .dash-main { background: transparent; }
body.gwh-theme.marketplace-theme.theme-v16 .dash-topbar.elite-topbar {
  min-height: 78px;
  border-bottom: 1px solid var(--elite-line);
  background: rgba(255,255,255,.87);
  box-shadow: 0 4px 16px rgba(10,35,61,.035);
  backdrop-filter: blur(13px);
}
body.gwh-theme.marketplace-theme.theme-v16 .dash-topbar h1 { color: var(--elite-ink); }
body.gwh-theme.marketplace-theme.theme-v16 .dash-topbar .eyebrow { margin: 0 0 .18rem; }
body.gwh-theme.marketplace-theme.theme-v16 .topbar-icon {
  border: 1px solid var(--elite-line);
  border-radius: 11px;
  color: var(--elite-navy-800);
  background: #fff;
  box-shadow: var(--elite-shadow-1);
}
body.gwh-theme.marketplace-theme.theme-v16 .topbar-icon:hover { color: var(--elite-accent-deep); border-color: #efc990; background: var(--elite-accent-wash); }
body.gwh-theme.marketplace-theme.theme-v16 .dash-user { padding: .37rem .55rem .37rem .4rem; border: 1px solid var(--elite-line); border-radius: 999px; background: #fff; }
body.gwh-theme.marketplace-theme.theme-v16 .dash-user .avatar { background: linear-gradient(135deg, var(--elite-accent-deep), var(--elite-accent-bright)); }
body.gwh-theme.marketplace-theme.theme-v16 .dash-content { padding: clamp(1.15rem, 2.7vw, 2.25rem); }
body.gwh-theme.marketplace-theme.theme-v16 .dash-grid { gap: 1.1rem; }
body.gwh-theme.marketplace-theme.theme-v16 .metric-card {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  border: 1px solid var(--elite-line);
  border-radius: 17px;
  background: linear-gradient(145deg, #fff, #f8fbff);
  box-shadow: var(--elite-shadow-1);
}
body.gwh-theme.marketplace-theme.theme-v16 .metric-card::after {
  position: absolute;
  top: -46px;
  right: -42px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(246,124,0,.065);
  content: "";
}
body.gwh-theme.marketplace-theme.theme-v16 .metric-card strong { color: var(--elite-navy-900); }
body.gwh-theme.marketplace-theme.theme-v16 .metric-card small { color: var(--elite-muted); }
body.gwh-theme.marketplace-theme.theme-v16 .dash-alert { border-color: #d5e4f0; }

/* ---- invoice / ticket / content special states ------------------------- */
body.gwh-theme.marketplace-theme.theme-v16 .ticket-thread,
body.gwh-theme.marketplace-theme.theme-v16 .ticket-message,
body.gwh-theme.marketplace-theme.theme-v16 .qc-summary-card,
body.gwh-theme.marketplace-theme.theme-v16 .qc-evidence-section {
  border-color: var(--elite-line);
  border-radius: var(--elite-radius-sm);
}
body.gwh-theme.marketplace-theme.theme-v16 .ticket-message { box-shadow: var(--elite-shadow-1); }
body.gwh-theme.marketplace-theme.theme-v16 .ticket-message.mine { background: #fff5e9; }
body.gwh-theme.marketplace-theme.theme-v16 .invoice-print { border-color: var(--elite-line); box-shadow: var(--elite-shadow-3); }
body.gwh-theme.marketplace-theme.theme-v16 .invoice-header { border-bottom-color: var(--elite-line); }
body.gwh-theme.marketplace-theme.theme-v16 .invoice-total { border-top-color: var(--elite-line); }

/* ---- footer ------------------------------------------------------------- */
body.gwh-theme.marketplace-theme.theme-v16 .site-footer.elite-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 88% 18%, rgba(255,176,80,.12), transparent 19rem),
    linear-gradient(135deg, #061426, #0a2947 62%, #0c3558);
}
body.gwh-theme.marketplace-theme.theme-v16 .site-footer.elite-footer::before {
  position: absolute;
  top: -12rem;
  right: -13rem;
  width: 29rem;
  height: 29rem;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 50%;
  content: "";
}
body.gwh-theme.marketplace-theme.theme-v16 .footer-grid { position: relative; z-index: 1; }
body.gwh-theme.marketplace-theme.theme-v16 .footer-grid h6 { color: #fff; }
body.gwh-theme.marketplace-theme.theme-v16 .footer-grid p { color: #a9bfd3; }
body.gwh-theme.marketplace-theme.theme-v16 .footer-grid a:not(.brand) { color: #c5d5e4; }
body.gwh-theme.marketplace-theme.theme-v16 .footer-grid a:not(.brand):hover { color: #ffbd69; }
body.gwh-theme.marketplace-theme.theme-v16 .footer-proof span { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.06); }
body.gwh-theme.marketplace-theme.theme-v16 .footer-social a { border-color: rgba(255,255,255,.15); color: #fff; background: rgba(255,255,255,.06); }
body.gwh-theme.marketplace-theme.theme-v16 .footer-social a:hover { border-color: rgba(255,190,105,.55); color: #fff; background: var(--elite-accent); }
body.gwh-theme.marketplace-theme.theme-v16 .footer-news input { border-color: rgba(255,255,255,.15) !important; color: var(--elite-ink) !important; background: #fff !important; }
body.gwh-theme.marketplace-theme.theme-v16 .footer-news button { background: linear-gradient(135deg, var(--elite-accent-deep), var(--elite-accent)); }
body.gwh-theme.marketplace-theme.theme-v16 .footer-bottom { position: relative; z-index: 1; border-top-color: rgba(255,255,255,.12); color: #aebfd0; }

/* ---- dark mode preserves legibility ------------------------------------ */
body.gwh-theme.marketplace-theme.theme-v16.theme-dark {
  --elite-paper: #11253c;
  --elite-canvas: #0b1d31;
  --elite-canvas-deep: #0c243d;
  --elite-line: #29435d;
  --elite-line-dark: #35536f;
  --elite-ink: #e9f2fa;
  --elite-copy: #b3c3d2;
  --elite-muted: #91a7ba;
  background: linear-gradient(180deg, #09192b, #0b2138);
}
body.gwh-theme.marketplace-theme.theme-v16.theme-dark .panel,
body.gwh-theme.marketplace-theme.theme-v16.theme-dark .form-card,
body.gwh-theme.marketplace-theme.theme-v16.theme-dark .dashboard-form,
body.gwh-theme.marketplace-theme.theme-v16.theme-dark .detail-panel,
body.gwh-theme.marketplace-theme.theme-v16.theme-dark .order-summary,
body.gwh-theme.marketplace-theme.theme-v16.theme-dark .product-card,
body.gwh-theme.marketplace-theme.theme-v16.theme-dark .supplier-directory-card,
body.gwh-theme.marketplace-theme.theme-v16.theme-dark .metric-card,
body.gwh-theme.marketplace-theme.theme-v16.theme-dark .auth-card,
body.gwh-theme.marketplace-theme.theme-v16.theme-dark .cart-list,
body.gwh-theme.marketplace-theme.theme-v16.theme-dark .checkout-fields,
body.gwh-theme.marketplace-theme.theme-v16.theme-dark .detail-media { border-color: var(--elite-line); background: #10263e; }
body.gwh-theme.marketplace-theme.theme-v16.theme-dark input:not([type="checkbox"]):not([type="radio"]),
body.gwh-theme.marketplace-theme.theme-v16.theme-dark select,
body.gwh-theme.marketplace-theme.theme-v16.theme-dark textarea { border-color: var(--elite-line) !important; color: var(--elite-ink) !important; background: #0b2036 !important; }
body.gwh-theme.marketplace-theme.theme-v16.theme-dark .dash-topbar.elite-topbar,
body.gwh-theme.marketplace-theme.theme-v16.theme-dark .panel-head { border-color: var(--elite-line); background: rgba(15,37,61,.92); }
body.gwh-theme.marketplace-theme.theme-v16.theme-dark .app-table thead th { color: #b8c9d8; background: #10273e; }
body.gwh-theme.marketplace-theme.theme-v16.theme-dark .app-table tbody td { border-color: #203b56; color: var(--elite-ink); }
body.gwh-theme.marketplace-theme.theme-v16.theme-dark .topbar-icon,
body.gwh-theme.marketplace-theme.theme-v16.theme-dark .dash-user,
body.gwh-theme.marketplace-theme.theme-v16.theme-dark .btn-light,
body.gwh-theme.marketplace-theme.theme-v16.theme-dark .btn-outline-brand { border-color: var(--elite-line) !important; color: var(--elite-ink) !important; background: #112940 !important; }

/* ---- responsive safety: mobile first fallbacks ------------------------- */
@media (max-width: 1180px) {
  body.gwh-theme.marketplace-theme.theme-v16 .header-main-row { grid-template-columns: minmax(165px,.82fr) minmax(300px,1.45fr) auto; gap: 1rem; }
  body.gwh-theme.marketplace-theme.theme-v16 .dash-sidebar.elite-sidebar { width: 252px; }
  body.gwh-theme.marketplace-theme.theme-v16 .dash-main { margin-left: 252px; }
}
@media (max-width: 991.98px) {
  body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero { min-height: auto; }
  body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-copy { padding-bottom: 4rem; }
  body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero h1 { max-width: 780px; }
  body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-art { opacity: .78; }
  body.gwh-theme.marketplace-theme.theme-v16 .section { padding: 3.5rem 0; }
}
@media (max-width: 767.98px) {
  body.gwh-theme.marketplace-theme.theme-v16 { font-size: 14px; }
  body.gwh-theme.marketplace-theme.theme-v16 .site-topline { display: none; }
  body.gwh-theme.marketplace-theme.theme-v16 .header-main-row { min-height: 62px; }
  body.gwh-theme.marketplace-theme.theme-v16 .brand-logo { max-width: 165px; max-height: 37px; }
  body.gwh-theme.marketplace-theme.theme-v16 .mainnav { min-height: 43px; }
  body.gwh-theme.marketplace-theme.theme-v16 .nav-links {
    top: 105px;
    padding: .6rem .8rem .75rem;
    border-bottom: 1px solid rgba(255,255,255,.12);
    background: #08213c;
    box-shadow: 0 18px 35px rgba(0,0,0,.23);
  }
  body.gwh-theme.marketplace-theme.theme-v16 .nav-links a { width: 100%; padding: .7rem .75rem; }
  body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero { background: linear-gradient(150deg, #061426, #0b3156); }
  body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-copy { padding: 3rem 0 2.5rem; }
  body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero h1 { font-size: clamp(2.05rem, 10vw, 3rem); }
  body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-copy > p { font-size: .94rem; }
  body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-trust { grid-template-columns: 1fr 1fr; }
  body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-trust > span { min-width: 0; padding: .66rem; }
  body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-actions { flex-direction: column; align-items: stretch; }
  body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-actions .btn { width: 100%; }
  body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .marketplace-stat-ribbon { margin-top: -13px; }
  body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .marketplace-stat-ribbon .container-xxl { border-radius: 13px; }
  body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .filter-strip { margin-top: 1rem; }
  body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-filter { border-radius: 15px; }
  body.gwh-theme.marketplace-theme.theme-v16 .section { padding: 2.7rem 0; }
  body.gwh-theme.marketplace-theme.theme-v16 .section-head { align-items: flex-start; }
  body.gwh-theme.marketplace-theme.theme-v16 .section-head > a { font-size: .8rem; }
  body.gwh-theme.marketplace-theme.theme-v16 .panel,
  body.gwh-theme.marketplace-theme.theme-v16 .form-card,
  body.gwh-theme.marketplace-theme.theme-v16 .dashboard-form,
  body.gwh-theme.marketplace-theme.theme-v16 .detail-panel,
  body.gwh-theme.marketplace-theme.theme-v16 .order-summary { border-radius: 15px; }
  body.gwh-theme.marketplace-theme.theme-v16 .form-card-intro { margin: -1.12rem -1.12rem 1.2rem; }
  body.gwh-theme.marketplace-theme.theme-v16 .dash-sidebar.elite-sidebar { width: min(86vw, 290px); }
  body.gwh-theme.marketplace-theme.theme-v16 .dash-main { margin-left: 0; }
  body.gwh-theme.marketplace-theme.theme-v16 .dash-topbar.elite-topbar { min-height: 66px; }
  body.gwh-theme.marketplace-theme.theme-v16 .dash-content { padding: 1rem; }
  body.gwh-theme.marketplace-theme.theme-v16 .dash-user { padding: .28rem; }
  body.gwh-theme.marketplace-theme.theme-v16 .metric-card { min-height: 106px; }
  body.gwh-theme.marketplace-theme.theme-v16 .app-table { min-width: 640px; }
  body.gwh-theme.marketplace-theme.theme-v16 .auth-section { min-height: auto; }
  body.gwh-theme.marketplace-theme.theme-v16 .site-footer.elite-footer { border-radius: 0; }
}
@media (max-width: 399.98px) {
  body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .hero-trust { grid-template-columns: 1fr; }
  body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .category-grid,
  body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .product-grid,
  body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .supplier-grid { gap: .62rem; }
  body.gwh-theme.marketplace-theme.theme-v16 .theme-v16-home .category-card { min-height: 138px; padding: .8rem; }
  body.gwh-theme.marketplace-theme.theme-v16 .btn,
  body.gwh-theme.marketplace-theme.theme-v16 button.btn { width: 100%; }
  body.gwh-theme.marketplace-theme.theme-v16 .inline-actions .btn,
  body.gwh-theme.marketplace-theme.theme-v16 .form-actions .btn { width: auto; }
}

@media print {
  body.gwh-theme.marketplace-theme.theme-v16 .site-header,
  body.gwh-theme.marketplace-theme.theme-v16 .site-footer,
  body.gwh-theme.marketplace-theme.theme-v16 .dash-sidebar,
  body.gwh-theme.marketplace-theme.theme-v16 .dash-topbar,
  body.gwh-theme.marketplace-theme.theme-v16 .toast-container,
  body.gwh-theme.marketplace-theme.theme-v16 .toast-stack { display: none !important; }
  body.gwh-theme.marketplace-theme.theme-v16 .dash-main { margin-left: 0 !important; }
  body.gwh-theme.marketplace-theme.theme-v16 .dash-content { padding: 0 !important; }
}
