/* Wholesale B2B theme – distinct from retail */
:root {
  --ws-bg: #0c1222;
  --ws-surface: #141b2d;
  --ws-card: #1a2338;
  --ws-border: #2a3548;
  --ws-text: #e8eef7;
  --ws-muted: #8b9bb4;
  --ws-accent: #22d3ee;
  --ws-accent-2: #F97316;
  --ws-gold: #D4A017;
}
body.wholesale-body {
  background: var(--ws-bg);
  color: var(--ws-text);
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
}
.ws-topbar {
  background: #080c16;
  font-size: .8rem;
  color: var(--ws-muted);
  padding: .4rem 0;
  border-bottom: 1px solid var(--ws-border);
}
.ws-topbar a { color: var(--ws-accent); text-decoration: none; }
.ws-header {
  background: var(--ws-surface);
  border-bottom: 1px solid var(--ws-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.ws-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}
.ws-logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -.02em;
}
.ws-logo span { color: var(--ws-accent); font-weight: 600; font-size: .75rem; margin-left: .4rem; letter-spacing: .08em; }
.ws-nav { display: flex; gap: 1.25rem; align-items: center; }
.ws-nav a {
  color: var(--ws-muted);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ws-nav a:hover, .ws-nav a.active { color: var(--ws-accent); }
.ws-btn {
  display: inline-block;
  background: var(--ws-accent);
  color: #0c1222 !important;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .65rem 1.25rem;
  border: none;
  text-decoration: none;
  border-radius: 0;
}
.ws-btn:hover { background: #67e8f9; color: #0c1222 !important; }
.ws-btn-outline {
  background: transparent;
  border: 1px solid var(--ws-border);
  color: var(--ws-text) !important;
}
.ws-btn-outline:hover { border-color: var(--ws-accent); color: var(--ws-accent) !important; background: transparent; }
.ws-btn-orange { background: var(--ws-accent-2); color: #fff !important; }
.ws-btn-orange:hover { background: #ea580c; color: #fff !important; }

.ws-hero {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(135deg, #0c1222 0%, #1a2338 50%, #0f2744 100%);
  border-bottom: 1px solid var(--ws-border);
  position: relative;
  overflow: hidden;
}
.ws-hero::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -20%;
  width: 50%;
  height: 140%;
  background: radial-gradient(circle, rgba(34,211,238,.12), transparent 70%);
  pointer-events: none;
}
.ws-hero h1 {
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.ws-hero p { color: var(--ws-muted); font-size: 1.1rem; max-width: 540px; }
.ws-badge {
  display: inline-block;
  background: rgba(34,211,238,.12);
  color: var(--ws-accent);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .75rem;
  margin-bottom: 1rem;
}

.ws-section { padding: 3.5rem 0; }
.ws-section-title {
  font-weight: 800;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .35rem;
}
.ws-section-sub { color: var(--ws-muted); margin-bottom: 2rem; }

.ws-card {
  background: var(--ws-card);
  border: 1px solid var(--ws-border);
  height: 100%;
  transition: border-color .2s, transform .2s;
}
.ws-card:hover { border-color: var(--ws-accent); transform: translateY(-3px); }
.ws-card-img {
  aspect-ratio: 4/3;
  background: #0c1222;
  overflow: hidden;
}
.ws-card-img img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.ws-card-body { padding: 1.15rem; }
.ws-card-title { font-weight: 600; font-size: .95rem; margin-bottom: .35rem; color: #fff; }
.ws-price { color: var(--ws-accent); font-weight: 700; font-size: 1.05rem; }
.ws-price-retail { color: var(--ws-muted); font-size: .8rem; text-decoration: line-through; margin-left: .4rem; }
.ws-moq { font-size: .75rem; color: var(--ws-gold); margin-top: .35rem; }

.ws-feature {
  background: var(--ws-card);
  border: 1px solid var(--ws-border);
  padding: 1.5rem;
  height: 100%;
}
.ws-feature i { font-size: 1.75rem; color: var(--ws-accent); margin-bottom: .75rem; }
.ws-feature h6 { font-weight: 700; color: #fff; }
.ws-feature p { color: var(--ws-muted); font-size: .9rem; margin: 0; }

.ws-form .form-control, .ws-form .form-select {
  background: var(--ws-surface);
  border: 1px solid var(--ws-border);
  color: var(--ws-text);
  border-radius: 0;
}
.ws-form .form-control:focus, .ws-form .form-select:focus {
  background: var(--ws-surface);
  border-color: var(--ws-accent);
  color: var(--ws-text);
  box-shadow: 0 0 0 .2rem rgba(34,211,238,.15);
}
.ws-form .form-label { color: var(--ws-muted); font-size: .85rem; }

.ws-footer {
  background: #080c16;
  border-top: 1px solid var(--ws-border);
  padding: 2.5rem 0 1.5rem;
  color: var(--ws-muted);
  font-size: .875rem;
}
.ws-footer a { color: var(--ws-accent); text-decoration: none; }
.ws-footer h6 { color: #fff; font-weight: 700; }

@media (max-width: 991px) {
  .ws-nav { display: none; }
}

.ws-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    cursor: pointer;
}
.ws-card-link:hover .ws-card-title {
    color: var(--ws-accent);
}
.ws-card-link:hover .ws-card-img img {
    transform: scale(1.05);
}
.ws-card-img img {
    transition: transform .35s ease;
}

.ws-card-link .ws-card {
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.ws-card-link:hover .ws-card {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,.35);
    border-color: var(--ws-accent);
}


/* Product detail helpers */
@media (max-width: 768px) {
  .ws-nav { display: none; }
  .ws-header-inner { flex-wrap: wrap; }
}
.ws-card-img img { transition: opacity .2s; }


/* Site logo in wholesale header */
.ws-logo {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  max-height: 48px;
}
.ws-logo-img {
  display: block;
  max-height: 36px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
}
.ws-logo-badge {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--ws-accent, #22d3ee);
  border: 1px solid currentColor;
  padding: .15rem .4rem;
}
