/* ==========================================================================
   DFADeals OS — Wholesale Club storefront stylesheet
   Deploy to: catalog/view/theme/default/stylesheet/wholesale-portal.css
   Covers: wholesale/home, wholesale/login, wholesale/apply, wholesale/portal
   ========================================================================== */

/* Official Wholesale design tokens — see docs/features/wholesale-design-system.md
   Master reference: Wholesale Club Login mockup. Do not invent new colors. */
:root {
  --ws-red: #E60012;
  --ws-red-dark: #C40010;
  --ws-black: #111111;
  --ws-gray-text: #333333;
  --ws-gray-muted: #666666;
  --ws-gray-bg: #F6F7F9;
  --ws-gray-border: #E5E7EB;
  --ws-white: #FFFFFF;
  --ws-radius: 10px;
  --ws-radius-sm: 8px;
  --ws-radius-lg: 12px;
  --ws-shadow: 0 4px 24px rgba(17, 17, 17, 0.06);
  --ws-space: 8px;
}

.dfa-home-wholesale-page,
.ws-portal-page {
  background: var(--ws-gray-bg);
  padding: 24px 0 48px;
  max-width: 100%;
  overflow-x: hidden;
}

.dfa-home-wholesale-page *,
.ws-portal-page * {
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Shared card / button / alert / form primitives
   -------------------------------------------------------------------------- */

.ws-card {
  background: var(--ws-white);
  border-radius: var(--ws-radius);
  border: 1px solid var(--ws-gray-border);
  box-shadow: var(--ws-shadow);
  padding: 24px;
  margin-bottom: 20px;
  max-width: 100%;
}

.ws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--ws-radius-sm);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ws-btn-block {
  display: flex;
  width: 100%;
}

.ws-btn-primary {
  background: var(--ws-red);
  color: var(--ws-white);
}

.ws-btn-primary:hover {
  background: var(--ws-red-dark);
  color: var(--ws-white);
}

.ws-btn-secondary {
  background: var(--ws-white);
  color: var(--ws-black);
  border-color: var(--ws-gray-border);
}

.ws-btn-secondary:hover {
  border-color: var(--ws-red);
  color: var(--ws-red);
}

.ws-btn-ghost {
  background: transparent;
  color: var(--ws-gray-muted);
  border-color: var(--ws-gray-border);
}

.ws-btn-ghost:hover {
  color: var(--ws-black);
  border-color: var(--ws-black);
}

.ws-btn-outline-red {
  background: var(--ws-white);
  color: var(--ws-red);
  border-color: var(--ws-red);
}

.ws-btn-outline-red:hover,
.ws-btn-outline-red:focus-visible {
  background: var(--ws-red);
  color: var(--ws-white);
  border-color: var(--ws-red);
}

.ws-btn:focus-visible {
  outline: 2px solid var(--ws-red);
  outline-offset: 2px;
}

.ws-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ws-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: var(--ws-radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 16px;
}

/* Override theme/link styles that would keep empty alerts visible */
.ws-alert[hidden] {
  display: none !important;
}

.ws-alert i {
  margin-top: 2px;
  flex-shrink: 0;
}

.ws-alert-error {
  background: #FDECEC;
  color: var(--ws-red-dark);
  border: 1px solid #F5C2C2;
}

.ws-alert-success {
  background: #E9F7EE;
  color: #1E7A3E;
  border: 1px solid #BFE6CC;
}

.ws-alert-warning {
  background: #FFF6E5;
  color: #8A5A00;
  border: 1px solid #F5DDA3;
}

.ws-alert-info {
  background: #EAF3FC;
  color: #1D5A96;
  border: 1px solid #C3DDF3;
}

.ws-alert-list {
  margin: 8px 0 0;
  padding-left: 20px;
  font-size: 13px;
}

.ws-alert-list li {
  margin-bottom: 4px;
}

.ws-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.ws-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ws-black);
}

.ws-input,
.ws-textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--ws-gray-border);
  font-size: 14px;
  color: var(--ws-black);
  background: var(--ws-white);
  max-width: 100%;
}

.ws-input:focus,
.ws-textarea:focus {
  outline: none;
  border-color: var(--ws-red);
  box-shadow: 0 0 0 3px rgba(227, 28, 36, 0.12);
}

.ws-input-invalid {
  border-color: var(--ws-red);
  background: #FFF7F7;
}

.ws-field-hint {
  margin: 0;
  font-size: 12px;
  color: var(--ws-gray-muted);
}

.ws-textarea {
  resize: vertical;
}

.ws-checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ws-gray-muted);
}

.ws-link-muted {
  font-size: 13px;
  color: var(--ws-gray-muted);
  text-decoration: none;
}

.ws-link-muted:hover {
  color: var(--ws-red);
}

/* --------------------------------------------------------------------------
   Home page — Wholesale Club landing (approved mockup)
   Scoped under .ws-home-page so login / apply / portal stay untouched.
   -------------------------------------------------------------------------- */

.ws-home-page {
  --ws-home-bg: #FAFAFA;
  --ws-home-text: #202124;
  --ws-home-muted: #5F6368;
  --ws-home-border: #E8E8E8;
  --ws-home-soft-red: #FFF1F2;
  background: var(--ws-home-bg);
  color: var(--ws-home-text);
  padding: 16px 0 56px;
}

.ws-home-page .container {
  max-width: 1140px;
}

.ws-home-page a {
  color: var(--ws-red);
}

.ws-home-page a:hover,
.ws-home-page a:focus {
  color: var(--ws-red-dark);
}

.ws-home-page .ws-breadcrumb a,
.ws-home-page .breadcrumb a {
  color: var(--ws-black) !important;
}

.ws-home-page .ws-breadcrumb a:hover,
.ws-home-page .breadcrumb a:hover {
  color: var(--ws-red) !important;
}

.ws-home-page .ws-breadcrumb > li:last-child > a,
.ws-home-page .breadcrumb > li:last-child > a {
  color: var(--ws-black) !important;
  font-weight: 700;
}

.ws-section-heading {
  margin: 0 0 28px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ws-black);
  line-height: 1.3;
}

.ws-section-heading--ruled {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.ws-section-heading--ruled::before,
.ws-section-heading--ruled::after {
  content: "";
  flex: 1 1 40px;
  max-width: 120px;
  height: 2px;
  background: var(--ws-red);
}

.ws-section-heading--underline {
  position: relative;
  padding-bottom: 12px;
}

.ws-section-heading--underline::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 10px auto 0;
  background: var(--ws-red);
  border-radius: 2px;
}

/* --- Hero --- */

.ws-hero {
  margin-bottom: 40px;
}

.ws-hero-card {
  background: var(--ws-white);
  border: 1px solid var(--ws-home-border);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(17, 17, 17, 0.06);
  padding: 36px 40px;
}

.ws-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px 40px;
  align-items: center;
}

.ws-hero-content {
  min-width: 0;
}

.ws-hero-top {
  display: block;
}

.ws-hero-copy {
  min-width: 0;
}

.ws-hero-crown {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ws-home-soft-red);
  color: var(--ws-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.ws-hero-kicker {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ws-black);
}

.ws-hero-title {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ws-black);
}

.ws-hero-title-accent {
  color: var(--ws-red);
  margin-right: 0.28em;
}

.ws-hero-title-rest {
  color: var(--ws-black);
}

.ws-hero-sub {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ws-home-muted);
  max-width: 420px;
}

.ws-hero-price {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 12px 18px;
  background: #F3F4F6;
  border: 1px solid var(--ws-home-border);
  border-radius: 10px;
}

.ws-hero-price-amt {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  color: var(--ws-red);
}

.ws-hero-price-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.25;
  color: var(--ws-black);
  text-transform: uppercase;
  max-width: 4.5em;
}

.ws-hero-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  background: var(--ws-red);
  color: var(--ws-white) !important;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background-color 0.15s ease;
}

.ws-hero-cta:hover,
.ws-hero-cta:focus {
  background: var(--ws-red-dark);
  color: var(--ws-white) !important;
}

.ws-hero-cta span {
  flex: 1;
  text-align: center;
}

.ws-hero-cta-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ws-home-muted);
  text-align: center;
}

.ws-hero-signin {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--ws-home-muted);
  text-align: center;
}

.ws-hero-signin a {
  color: var(--ws-red) !important;
  font-weight: 700;
  text-decoration: none;
}

.ws-hero-signin a:hover {
  text-decoration: underline;
}

.ws-hero-illustration--mobile {
  display: none;
}

.ws-hero-illustration--desktop {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ws-hero-art {
  width: 100%;
  max-width: 320px;
  height: auto;
  color: var(--ws-red);
}

.ws-hero-art--mobile {
  display: none;
}

.ws-hero-art--desktop {
  display: block;
}

.ws-hero-art-tag {
  color: var(--ws-red);
}

.ws-hero-art-badge {
  fill: var(--ws-home-soft-red);
  stroke: none;
}

.ws-hero-art-plus,
.ws-hero-art-lines {
  color: var(--ws-red);
}

.ws-hero-art-rings {
  color: var(--ws-black);
  opacity: 0.45;
}

.ws-hero-art-dots {
  color: #9AA0A6;
}

/* --- Benefits --- */

.ws-benefits {
  margin-bottom: 40px;
}

.ws-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.ws-benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  background: var(--ws-white);
  border: 1px solid var(--ws-home-border);
  border-radius: 12px;
  padding: 22px 16px 20px;
}

.ws-benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ws-home-soft-red);
  color: var(--ws-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.ws-benefit-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ws-black);
  line-height: 1.35;
}

.ws-benefit-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ws-home-muted);
}

/* --- Results card (full-width banner on desktop; grid tile on mobile) --- */

.ws-results-card {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 16px 20px;
  background: #F0F1F3;
  border-radius: 10px;
  border: 0;
  box-shadow: none;
  text-align: left;
}

.ws-results-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ws-red);
  color: var(--ws-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.ws-results-text {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

.ws-results-lead {
  color: var(--ws-black);
  margin-right: 0.35em;
}

.ws-results-accent {
  color: var(--ws-red);
}

.ws-results-stars {
  display: none;
}

/* --- Brands carousel --- */

.ws-brands {
  margin-bottom: 44px;
}

.ws-brands-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ws-brands-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding: 4px 2px 10px;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ws-brands-track::-webkit-scrollbar {
  display: none;
}

.ws-brands-slide {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: calc((100% - 56px) / 5);
  min-width: 140px;
  max-width: 180px;
}

.ws-brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  padding: 14px 16px;
  background: var(--ws-white);
  border: 1px solid var(--ws-home-border);
  border-radius: 12px;
  text-decoration: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ws-brand-card:hover,
.ws-brand-card:focus {
  border-color: #d0d0d0;
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.06);
}

.ws-brand-logo {
  display: block;
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.ws-brands-nav {
  display: none;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ws-home-border);
  background: var(--ws-white);
  color: var(--ws-black);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.ws-brands-nav:hover:not(:disabled),
.ws-brands-nav:focus:not(:disabled) {
  color: var(--ws-red);
  border-color: var(--ws-red);
}

.ws-brands-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.ws-brands-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.ws-brands-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #D1D5DB;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
}

.ws-brands-dot::before {
  content: "";
  position: absolute;
  inset: -10px;
}

.ws-brands-dot.is-active {
  background: var(--ws-red);
}

.ws-brands .ws-section-heading--underline::after {
  display: none;
}

/* --- How it works --- */

.ws-process {
  margin-bottom: 36px;
}

.ws-process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ws-process-step {
  text-align: center;
  min-width: 0;
}

.ws-process-top {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.ws-process-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ws-red);
  color: var(--ws-white);
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.ws-process-connector {
  position: absolute;
  top: 50%;
  left: calc(50% + 16px);
  right: calc(-50% - 10px);
  border-top: 2px dotted #C9CDD1;
  transform: translateY(-50%);
  pointer-events: none;
}

.ws-process-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--ws-home-soft-red);
  color: var(--ws-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.ws-process-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ws-black);
}

.ws-process-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ws-home-muted);
}

/* --- Support card --- */

.ws-support-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 22px;
  background: var(--ws-white);
  border: 1px solid var(--ws-home-border);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(17, 17, 17, 0.04);
}

.ws-support-icon {
  color: var(--ws-red);
  font-size: 20px;
  flex-shrink: 0;
}

.ws-support-text {
  margin: 0;
  font-size: 14px;
  color: var(--ws-home-text);
  line-height: 1.4;
}

.ws-support-text a {
  color: var(--ws-red) !important;
  font-weight: 700;
  text-decoration: none;
}

.ws-support-text a:hover {
  text-decoration: underline;
}

.ws-support-chevron {
  display: none;
  color: var(--ws-black) !important;
  text-decoration: none !important;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Login / apply gateway — wholesale-auth (mockup-matched)
   Scoped to .wholesale-auth-page so other storefront pages are untouched.
   -------------------------------------------------------------------------- */

.wholesale-auth-page {
  background: var(--ws-gray-bg);
  padding: 16px 0 40px;
  max-width: 100%;
  overflow-x: hidden;
}

.wholesale-auth-page .wholesale-auth-breadcrumb,
.ws-breadcrumb,
.ws-portal-breadcrumb {
  margin: 0 0 16px;
  padding: 8px 0;
  background: transparent;
  font-size: 13px;
  line-height: 1.4;
}

.wholesale-auth-page .wholesale-auth-breadcrumb > li + li:before,
.ws-breadcrumb > li + li:before,
.ws-portal-breadcrumb > li + li:before {
  color: var(--ws-gray-muted);
  padding: 0 6px;
}

.wholesale-auth-page .wholesale-auth-breadcrumb a,
.ws-breadcrumb a,
.ws-portal-breadcrumb a,
.ws-portal-page .breadcrumb a,
.ws-home-page .breadcrumb a {
  color: var(--ws-black) !important;
  text-decoration: none;
}

.wholesale-auth-page .wholesale-auth-breadcrumb a:hover,
.ws-breadcrumb a:hover,
.ws-portal-breadcrumb a:hover,
.ws-portal-page .breadcrumb a:hover,
.ws-home-page .breadcrumb a:hover {
  color: var(--ws-red) !important;
  text-decoration: underline;
}

.wholesale-auth-page .wholesale-auth-breadcrumb > li:last-child > a,
.ws-breadcrumb > li:last-child > a,
.ws-portal-breadcrumb > li:last-child > a {
  color: var(--ws-black) !important;
  font-weight: 600;
}

/* Shared tabs (alias of auth tabs for reuse across pages) */
.ws-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--ws-gray-border);
  margin-bottom: 22px;
}

.ws-tab {
  position: relative;
  padding: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ws-gray-text);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  white-space: nowrap;
}

.ws-tab:hover {
  color: var(--ws-black);
  text-decoration: none;
}

.ws-tab.is-active {
  color: var(--ws-red);
  border-bottom-color: var(--ws-red);
}

.ws-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.ws-table th,
.ws-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--ws-gray-border);
  color: var(--ws-gray-text);
}

.ws-table th {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ws-gray-muted);
  background: var(--ws-gray-bg);
}

.ws-skeleton {
  display: block;
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, #eceef2 25%, #f6f7f9 50%, #eceef2 75%);
  background-size: 200% 100%;
  animation: ws-skeleton-shimmer 1.2s ease-in-out infinite;
}

@keyframes ws-skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.wholesale-auth-card {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
  gap: 0;
  max-width: 920px;
  margin: 0 auto;
  background: var(--ws-white);
  border: 1px solid var(--ws-gray-border);
  border-radius: var(--ws-radius-lg);
  box-shadow: var(--ws-shadow);
  overflow: hidden;
}

.wholesale-auth-benefits {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--ws-gray-border);
  background: var(--ws-white);
}

.wholesale-auth-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ws-black);
  margin: 0 0 8px;
  line-height: 1.15;
}

.wholesale-auth-title-accent {
  color: var(--ws-red);
  margin-right: 0.35em;
}

.wholesale-auth-subtitle {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ws-gray-muted);
  margin: 0 0 22px;
  max-width: 260px;
}

.wholesale-benefit-list,
.wholesale-requirements {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wholesale-benefit-list li,
.wholesale-requirements li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ws-black);
  line-height: 1.35;
}

.wholesale-benefit-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: #FDECEC;
  color: var(--ws-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}

.wholesale-price-card {
  margin-top: auto;
  padding: 16px 18px;
  background: var(--ws-white);
  border: 1px solid var(--ws-gray-border);
  border-radius: 12px;
}

.wholesale-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.wholesale-price-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--ws-red);
  line-height: 1;
}

.wholesale-price-period {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ws-black);
  text-transform: uppercase;
}

.wholesale-price-recurring {
  margin: 6px 0 12px;
  font-size: 12px;
  color: var(--ws-gray-muted);
}

.wholesale-price-verify {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ws-gray-muted);
}

.wholesale-price-verify i {
  color: var(--ws-red);
  font-size: 13px;
}

.wholesale-auth-content {
  padding: 28px 36px 32px;
  min-width: 0;
}

.wholesale-auth-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--ws-gray-border);
  margin-bottom: 22px;
}

.wholesale-auth-tab {
  position: relative;
  padding: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  white-space: nowrap;
}

.wholesale-auth-tab:hover {
  color: var(--ws-black);
  text-decoration: none;
}

.wholesale-auth-tab.is-active {
  color: var(--ws-red);
  border-bottom-color: var(--ws-red);
}

.wholesale-auth-panel {
  display: none;
}

.wholesale-auth-panel.is-active {
  display: block;
}

.wholesale-auth-panel-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ws-black);
  margin: 0 0 4px;
  line-height: 1.25;
}

.wholesale-auth-panel-intro {
  font-size: 14px;
  color: var(--ws-gray-muted);
  margin: 0 0 20px;
}

.wholesale-auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 16px;
}

.wholesale-auth-alert i {
  margin-top: 2px;
  flex-shrink: 0;
}

.wholesale-auth-alert-error {
  background: #FDECEC;
  color: #7A1218;
  border: 1px solid #F5C2C2;
}

.wholesale-auth-alert-error i {
  color: var(--ws-red);
}

.wholesale-auth-alert-success {
  background: #E9F7EE;
  color: #1E7A3E;
  border: 1px solid #BFE6CC;
}

.wholesale-auth-form {
  margin: 0;
}

.wholesale-auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.wholesale-auth-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ws-black);
}

.wholesale-auth-page .wholesale-auth-input,
.wholesale-auth-page input.wholesale-auth-input,
.wholesale-auth-page input[type="email"].wholesale-auth-input,
.wholesale-auth-page input[type="password"].wholesale-auth-input,
.wholesale-auth-page input[type="text"].wholesale-auth-input {
  width: 100%;
  max-width: 100%;
  height: 44px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--ws-gray-border);
  font-size: 14px;
  line-height: 1.4;
  color: var(--ws-black);
  background: var(--ws-white);
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  margin: 0;
}

.wholesale-auth-page .wholesale-auth-input:focus,
.wholesale-auth-page input.wholesale-auth-input:focus {
  outline: none;
  border-color: var(--ws-red);
  box-shadow: 0 0 0 3px rgba(227, 28, 36, 0.12);
}

.wholesale-auth-password-wrap {
  position: relative;
}

.wholesale-auth-password-wrap .wholesale-auth-input {
  padding-right: 44px;
}

.wholesale-auth-password-toggle {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--ws-gray-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0;
}

.wholesale-auth-password-toggle:hover,
.wholesale-auth-password-toggle:focus {
  color: var(--ws-black);
  outline: none;
}

.wholesale-auth-form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.wholesale-auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ws-black);
  cursor: pointer;
  margin: 0;
}

.wholesale-auth-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--ws-red);
  cursor: pointer;
}

.wholesale-auth-forgot {
  font-size: 13px;
  font-weight: 600;
  color: var(--ws-red);
  text-decoration: none;
}

.wholesale-auth-forgot:hover {
  color: var(--ws-red-dark);
  text-decoration: underline;
}

.wholesale-auth-page .wholesale-primary-button,
.wholesale-auth-page a.wholesale-primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--ws-red);
  color: var(--ws-white) !important;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  transition: background-color 0.15s ease;
}

.wholesale-auth-page .wholesale-primary-button:hover,
.wholesale-auth-page .wholesale-primary-button:focus {
  background: var(--ws-red-dark);
  color: var(--ws-white) !important;
  outline: none;
  text-decoration: none !important;
}

.wholesale-auth-switch {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--ws-gray-muted);
  text-align: center;
}

.wholesale-auth-switch a {
  color: var(--ws-red);
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}

.wholesale-auth-switch a:hover {
  text-decoration: underline;
}

.wholesale-apply-highlights {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wholesale-apply-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ws-gray-muted);
}

.wholesale-apply-highlights i {
  color: var(--ws-red);
  width: 16px;
  text-align: center;
}

.wholesale-requirements-heading {
  font-size: 15px;
  font-weight: 800;
  color: var(--ws-black);
  margin: 0 0 12px;
}

.wholesale-requirements {
  margin-bottom: 22px;
}

/* --------------------------------------------------------------------------
   Application wizard (5-step — Business Info master design)
   -------------------------------------------------------------------------- */

.ws-apply-page {
  padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
}

.ws-apply-page .breadcrumb a,
.ws-apply-page .ws-breadcrumb a {
  color: var(--ws-black);
}

.ws-apply-page .breadcrumb a:hover,
.ws-apply-page .ws-breadcrumb a:hover {
  color: var(--ws-red);
}

.ws-apply-page .ws-alert-error {
  background: #FDECEC;
  border: 1px solid #F5C2C2;
  color: var(--ws-black);
}

.ws-apply-page .ws-alert-error i {
  color: var(--ws-red);
}

.ws-apply-page .ws-terms-link,
.ws-apply-page .ws-review-edit {
  color: var(--ws-red);
}

.ws-apply-app {
  max-width: 880px;
  margin: 0 auto;
}

.ws-apply-header {
  margin: 0 0 20px;
}

.ws-apply-heading {
  font-size: 28px;
  font-weight: 800;
  color: var(--ws-black);
  margin: 0 0 8px;
  line-height: 1.2;
}

.ws-apply-intro {
  font-size: 15px;
  color: var(--ws-gray-text);
  margin: 0 0 4px;
  line-height: 1.45;
}

.ws-progress {
  display: flex;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  gap: 0;
  width: 100%;
  overflow: visible;
}

.ws-progress-step {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  position: relative;
  text-align: center;
}

.ws-progress-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15px;
  left: calc(50% + 18px);
  right: calc(-50% + 18px);
  height: 2px;
  background: var(--ws-gray-border);
  z-index: 0;
}

.ws-progress-step.completed:not(:last-child)::after,
.ws-progress-step.current:not(:last-child)::after {
  background: var(--ws-red);
}

.ws-progress-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ws-white);
  border: 2px solid var(--ws-gray-border);
  color: var(--ws-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  z-index: 1;
  flex-shrink: 0;
}

.ws-progress-step.current .ws-progress-dot {
  background: var(--ws-red);
  border-color: var(--ws-red);
  color: var(--ws-white);
}

.ws-progress-step.completed .ws-progress-dot {
  background: var(--ws-red);
  border-color: var(--ws-red);
  color: var(--ws-white);
}

.ws-progress-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ws-black);
  line-height: 1.25;
  max-width: 100%;
  padding: 0 2px;
  word-break: break-word;
  hyphens: auto;
}

.ws-progress-step.current .ws-progress-label {
  color: var(--ws-red);
  font-weight: 700;
}

.ws-progress-step.completed .ws-progress-label {
  color: var(--ws-black);
}

.ws-apply-card {
  padding: 28px 24px 24px;
}

.ws-apply-card-complete {
  padding: 40px 24px;
}

.ws-step-panel {
  display: none;
}

.ws-step-panel.active {
  display: block;
}

.ws-section {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ws-gray-border);
}

.ws-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.ws-section-agreements {
  margin-top: 8px;
}

.ws-section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.ws-section-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FDECEC;
  color: var(--ws-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.ws-section-head-text {
  min-width: 0;
  flex: 1;
}

.ws-section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ws-black);
  margin: 0 0 4px;
  line-height: 1.3;
}

.ws-section-desc {
  font-size: 14px;
  color: var(--ws-gray-muted);
  margin: 0;
  line-height: 1.45;
}

.ws-required {
  color: var(--ws-red);
  font-weight: 700;
}

.ws-optional {
  color: var(--ws-gray-muted);
  font-weight: 500;
}

.ws-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.ws-form-group-full {
  grid-column: 1 / -1;
}

.ws-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ws-black);
}

.ws-input,
.ws-textarea,
.ws-select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--ws-radius-sm);
  border: 1px solid #D1D5DB;
  font-size: 14px;
  color: var(--ws-black);
  background: var(--ws-white);
  max-width: 100%;
}

.ws-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23111111' d='M1.4 0L6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.ws-input::placeholder,
.ws-textarea::placeholder {
  color: #9CA3AF;
}

.ws-input:focus,
.ws-textarea:focus,
.ws-select:focus {
  outline: none;
  border-color: var(--ws-red);
  box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.12);
}

.ws-input-invalid {
  border-color: var(--ws-red);
  background: #FFF7F7;
}

.ws-upload-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
}

.ws-upload-grid-single {
  grid-template-columns: 1fr;
  margin-top: 8px;
}

.ws-upload-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #D1D5DB;
  border-radius: var(--ws-radius-sm);
  padding: 14px 16px;
  background: var(--ws-white);
  flex-wrap: wrap;
}

.ws-upload-card[data-uploaded="1"] {
  border-color: #BFE6CC;
  background: #F5FBF7;
}

.ws-upload-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FDECEC;
  color: var(--ws-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ws-upload-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.ws-upload-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ws-black);
}

.ws-upload-hint {
  font-size: 12px;
  color: var(--ws-gray-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ws-upload-error {
  font-size: 12px;
  color: var(--ws-red-dark);
  font-weight: 600;
}

.ws-upload-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ws-upload-btn {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.ws-upload-remove {
  background: none;
  border: none;
  color: var(--ws-gray-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px;
  min-height: 44px;
}

.ws-upload-remove:hover {
  color: var(--ws-red);
}

.ws-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 0;
}

.ws-checkbox-tile {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #D1D5DB;
  border-radius: var(--ws-radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--ws-black);
  cursor: pointer;
  min-height: 48px;
}

.ws-checkbox-tile:has(input:checked) {
  border-color: var(--ws-red);
  background: #FDECEC;
}

.ws-terms-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.ws-terms-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--ws-gray-border);
  border-radius: var(--ws-radius-sm);
  padding: 12px 16px;
}

.ws-terms-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ws-black);
}

.ws-terms-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--ws-red);
  text-decoration: none;
  white-space: nowrap;
}

.ws-terms-link:hover {
  text-decoration: underline;
  color: var(--ws-red-dark);
}

.ws-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ws-black);
  padding: 12px 0;
  border-bottom: 1px solid var(--ws-gray-border);
  min-height: 44px;
}

.ws-checkbox-row:last-child {
  border-bottom: none;
}

.ws-checkbox-row input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--ws-red);
}

.ws-review-section {
  border: 1px solid var(--ws-gray-border);
  border-radius: var(--ws-radius);
  padding: 18px 20px;
  margin-bottom: 16px;
  background: var(--ws-white);
}

.ws-review-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ws-review-section-head h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ws-black);
  margin: 0;
}

.ws-review-edit {
  font-size: 12px;
  font-weight: 700;
  color: var(--ws-red);
  text-decoration: none;
  background: none;
  border: 1px solid var(--ws-gray-border);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  min-height: 36px;
}

.ws-review-edit:hover {
  border-color: var(--ws-red);
  background: #FDECEC;
}

.ws-review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  margin: 0;
}

.ws-review-grid dt {
  font-size: 12px;
  color: var(--ws-gray-muted);
  margin: 0;
  grid-column: auto;
}

.ws-review-grid dd {
  font-size: 13px;
  color: var(--ws-black);
  margin: 2px 0 0;
  font-weight: 600;
  word-break: break-word;
}

.ws-review-missing {
  color: var(--ws-red-dark) !important;
  font-weight: 700 !important;
}

.ws-apply-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--ws-gray-border);
}

.ws-apply-actions-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.ws-apply-actions-row .ws-btn {
  flex: 1;
}

.ws-btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--ws-black);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 12px;
  min-height: 44px;
  align-self: center;
}

.ws-btn-back:hover {
  color: var(--ws-red);
}

.ws-complete {
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
  padding: 12px 0 8px;
}

.ws-complete-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ws-red);
  color: var(--ws-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.ws-complete-heading {
  font-size: 24px;
  font-weight: 800;
  color: var(--ws-black);
  margin: 0 0 10px;
}

.ws-complete-message,
.ws-complete-next {
  font-size: 15px;
  color: var(--ws-gray-text);
  margin: 0 0 12px;
  line-height: 1.5;
}

.ws-complete-ref {
  font-size: 14px;
  font-weight: 700;
  color: var(--ws-black);
  margin: 0 0 16px;
  padding: 10px 14px;
  background: var(--ws-gray-bg);
  border-radius: var(--ws-radius-sm);
  display: inline-block;
}

.ws-complete-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.ws-complete-actions .ws-btn {
  width: 100%;
}

/* Extra bottom space so storefront mobile nav never covers actions */
.ws-apply-page {
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  .ws-apply-page {
    padding-bottom: 48px;
  }

  .ws-apply-heading {
    font-size: 32px;
  }

  .ws-apply-card {
    padding: 36px 40px 32px;
  }

  .ws-progress-label {
    font-size: 12px;
  }

  .ws-checkbox-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ws-upload-grid {
    grid-template-columns: 1fr;
  }

  .ws-complete-actions {
    flex-direction: row;
  }

  .ws-complete-actions .ws-btn {
    width: auto;
    flex: 1;
  }
}

@media (max-width: 575px) {
  .ws-apply-heading {
    font-size: 24px;
  }

  .ws-apply-card {
    padding: 20px 16px 18px;
    border-radius: 12px;
  }

  .ws-form-grid {
    grid-template-columns: 1fr;
  }

  .ws-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .ws-review-grid {
    grid-template-columns: 1fr;
  }

  .ws-apply-actions-row {
    flex-direction: column;
  }

  .ws-progress-label {
    font-size: 10px;
  }

  .ws-progress-dot {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .ws-progress-step:not(:last-child)::after {
    top: 13px;
    left: calc(50% + 16px);
    right: calc(-50% + 16px);
  }

  .ws-section-title {
    font-size: 16px;
  }
}


/* --------------------------------------------------------------------------
   Customer portal — Application Status (mockup-aligned)
   -------------------------------------------------------------------------- */

.ws-status-page {
  padding: 20px 0 56px;
}

.ws-status-page .ws-status-container {
  max-width: 1200px;
  padding-left: 32px;
  padding-right: 32px;
}

.ws-status-page .ws-breadcrumb a,
.ws-status-page .breadcrumb a {
  color: #555555 !important;
}

.ws-status-page .ws-breadcrumb a:hover,
.ws-status-page .breadcrumb a:hover {
  color: var(--ws-red) !important;
}

.ws-status-page .ws-breadcrumb > li:last-child > a,
.ws-status-page .breadcrumb > li:last-child > a {
  color: var(--ws-red) !important;
  font-weight: 700;
}

.ws-status-header {
  margin: 8px 0 20px;
}

.ws-status-heading {
  margin: 0;
  color: var(--ws-black);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ws-status-intro {
  margin: 10px 0 0;
  max-width: 640px;
  color: var(--ws-gray-muted);
  font-size: 16px;
  line-height: 1.5;
}

.ws-empty-card {
  text-align: center;
  padding: 48px 24px;
}

.ws-empty-card p {
  color: var(--ws-gray-muted);
  margin: 0 0 16px;
}

/* Review notice */
.ws-review-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 14px 18px;
  background: #FFF8F8;
  border: 1px solid #F5C2C2;
  border-radius: 12px;
}

.ws-review-notice__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FDECEC;
  color: var(--ws-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.ws-review-notice__title {
  display: block;
  color: var(--ws-black);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 2px;
}

.ws-review-notice__text {
  margin: 0;
  color: var(--ws-gray-text);
  font-size: 14px;
  line-height: 1.45;
}

.ws-review-notice__accent {
  color: var(--ws-red);
  font-weight: 800;
}

/* Main status card */
.ws-status-main-card {
  padding: 28px 32px;
  border-radius: 16px;
  margin-bottom: 20px;
}

.ws-app-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.ws-app-summary__icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #FDECEC;
  color: var(--ws-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.ws-app-summary__content {
  min-width: 0;
}

.ws-status-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--ws-red);
  color: var(--ws-white);
}

.ws-status-approved,
.ws-status-active {
  background: #1E7A3E;
  color: var(--ws-white);
}

.ws-status-rejected,
.ws-status-archived,
.ws-status-suspended,
.ws-status-cancelled {
  background: var(--ws-red-dark);
  color: var(--ws-white);
}

.ws-status-needs_information,
.ws-status-pending,
.ws-status-submitted,
.ws-status-under_review,
.ws-status-verification_pending,
.ws-status-manual_review,
.ws-status-payment_pending,
.ws-status-draft {
  background: var(--ws-red);
  color: var(--ws-white);
}

.ws-app-summary__number {
  margin: 10px 0 0;
  color: var(--ws-black);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  word-break: break-word;
}

.ws-app-summary__date {
  margin: 4px 0 0;
  color: var(--ws-gray-muted);
  font-size: 13px;
  line-height: 1.4;
}

.ws-status-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #FFF5F5;
  border: 1px solid #F5C2C2;
  color: #8A1A22;
  font-size: 14px;
  line-height: 1.45;
}

.ws-status-alert i {
  margin-top: 2px;
  color: var(--ws-red);
  flex-shrink: 0;
}

.ws-status-alert--success {
  background: #E9F7EE;
  border-color: #BFE6CC;
  color: #1E7A3E;
}

.ws-status-alert--success i {
  color: #1E7A3E;
}

.ws-status-alert--error {
  background: #FDECEC;
  border-color: #F5C2C2;
  color: var(--ws-red-dark);
}

.ws-status-alert--warning {
  background: #FFF6E5;
  border-color: #F5DDA3;
  color: #8A5A00;
}

.ws-status-alert--warning i {
  color: #C47A00;
}

.ws-status-alert--info {
  background: #FFF5F5;
  border-color: #F5C2C2;
  color: #8A1A22;
}

.ws-decision-note {
  background: var(--ws-gray-bg);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.ws-decision-note-heading {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ws-black);
  margin-bottom: 4px;
}

.ws-decision-note p {
  margin: 0;
  font-size: 13px;
  color: var(--ws-gray-muted);
}

.ws-status-divider {
  border: 0;
  border-top: 1px solid var(--ws-gray-border);
  margin: 8px 0 22px;
}

/* Application timeline */
.ws-app-timeline {
  margin-bottom: 8px;
}

.ws-app-timeline__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  color: var(--ws-black);
  font-size: 16px;
  font-weight: 800;
}

.ws-app-timeline__heading i {
  color: var(--ws-red);
}

.ws-app-timeline__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.ws-app-timeline__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.ws-app-timeline__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(50% + 26px);
  right: calc(-50% + 26px);
  height: 2px;
  background: var(--ws-gray-border);
  background-image: linear-gradient(90deg, var(--ws-gray-border) 50%, transparent 50%);
  background-size: 8px 2px;
}

.ws-app-timeline__step--done:not(:last-child)::after,
.ws-app-timeline__step--current:not(:last-child)::after {
  background: var(--ws-red);
  background-image: none;
}

.ws-app-timeline__marker {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--ws-gray-border);
  background: var(--ws-white);
  color: #A0A4AB;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 1;
  margin-bottom: 10px;
}

.ws-app-timeline__step--done .ws-app-timeline__marker {
  background: var(--ws-red);
  border-color: var(--ws-red);
  color: var(--ws-white);
}

.ws-app-timeline__step--current .ws-app-timeline__marker {
  border-color: var(--ws-red);
  color: var(--ws-red);
  background: #FFF5F5;
}

.ws-app-timeline__step--declined .ws-app-timeline__marker {
  background: var(--ws-red-dark);
  border-color: var(--ws-red-dark);
  color: var(--ws-white);
}

.ws-app-timeline__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ws-app-timeline__label {
  color: var(--ws-black);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.ws-app-timeline__step--current .ws-app-timeline__label {
  color: var(--ws-red);
}

.ws-app-timeline__step--done .ws-app-timeline__label,
.ws-app-timeline__step--future .ws-app-timeline__label {
  color: var(--ws-black);
  font-weight: 700;
}

.ws-app-timeline__step--declined .ws-app-timeline__label {
  color: var(--ws-red-dark);
}

.ws-app-timeline__desc {
  color: var(--ws-gray-muted);
  font-size: 12px;
  line-height: 1.4;
}

.ws-approval-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #FFF5F5;
  color: #8A1A22;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.ws-approval-benefit i {
  color: var(--ws-red);
  flex-shrink: 0;
}

/* Documents card */
.ws-documents-card {
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}

.ws-documents-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.ws-documents-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FDECEC;
  color: var(--ws-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.ws-documents-card__intro {
  flex: 1;
  min-width: 0;
}

.ws-documents-card__title {
  margin: 0;
  color: var(--ws-black);
  font-size: 18px;
  font-weight: 800;
}

.ws-documents-card__help {
  margin: 4px 0 0;
  color: var(--ws-gray-muted);
  font-size: 13px;
  line-height: 1.45;
}

.ws-documents-card__upload {
  flex-shrink: 0;
  cursor: pointer;
  white-space: nowrap;
}

.ws-documents-card__feedback {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  background: #E9F7EE;
  color: #1E7A3E;
}

.ws-documents-card__feedback.is-error {
  background: #FDECEC;
  color: var(--ws-red-dark);
}

.ws-documents-card__info {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #F7F8FA;
  color: var(--ws-gray-muted);
  font-size: 12px;
  line-height: 1.5;
}

.ws-documents-card__info p {
  margin: 0;
}

.ws-documents-card__info p + p {
  margin-top: 2px;
}

.ws-doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ws-doc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--ws-gray-border);
  border-radius: 10px;
  padding: 12px 14px;
}

.ws-doc-icon {
  color: var(--ws-red);
  flex-shrink: 0;
}

.ws-doc-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ws-doc-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ws-black);
  word-break: break-word;
}

.ws-doc-sub {
  font-size: 12px;
  color: var(--ws-gray-muted);
}

.ws-doc-status {
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ws-gray-bg);
  color: var(--ws-gray-muted);
  flex-shrink: 0;
}

.ws-doc-status-approved {
  background: #E9F7EE;
  color: #1E7A3E;
}

.ws-doc-status-rejected {
  background: #FDECEC;
  color: var(--ws-red-dark);
}

.ws-doc-status-pending_review {
  background: #FFF5F5;
  color: var(--ws-red-dark);
}

.ws-empty-note {
  font-size: 13px;
  color: var(--ws-gray-muted);
  margin: 0;
}

.ws-message-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 260px;
  overflow-y: auto;
}

.ws-message-item {
  background: var(--ws-gray-bg);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ws-message-body {
  font-size: 13px;
  color: var(--ws-black);
  word-break: break-word;
}

.ws-message-meta {
  font-size: 11px;
  color: var(--ws-gray-muted);
}

.ws-message-form {
  display: flex;
  gap: 10px;
}

.ws-message-form .ws-input {
  flex: 1;
}

/* Actions card */
.ws-actions-card {
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}

.ws-actions-card__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--ws-black);
  font-size: 18px;
  font-weight: 800;
}

.ws-actions-card__heading i {
  color: var(--ws-red);
}

.ws-actions-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Benefits strip */
.ws-benefits-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 8px;
  margin-bottom: 8px;
  border: 1px solid var(--ws-gray-border);
  border-radius: 14px;
  background: #FFF8F8;
  overflow: hidden;
}

.ws-benefits-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 18px;
  min-width: 0;
}

.ws-benefits-strip__item:not(:last-child) {
  border-right: 1px solid var(--ws-gray-border);
}

.ws-benefits-strip__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--ws-red);
  color: var(--ws-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: var(--ws-white);
}

.ws-benefits-strip__title {
  margin: 0 0 4px;
  color: var(--ws-black);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.ws-benefits-strip__text {
  margin: 0;
  color: var(--ws-gray-muted);
  font-size: 12px;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 991px) {
  .ws-home-page {
    padding: 12px 0 48px;
  }

  .ws-hero-card {
    padding: 28px 24px;
  }

  .ws-hero-layout {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ws-hero-illustration--desktop {
    display: none;
  }

  .ws-hero-illustration--mobile {
    display: flex;
    justify-content: center;
    margin: 4px 0 16px;
  }

  .ws-hero-art {
    max-width: 200px;
  }

  .ws-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ws-brands-slide {
    width: calc((100% - 14px) / 2);
    min-width: 150px;
    max-width: none;
  }

  .ws-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .ws-process-connector {
    display: none;
  }

  .ws-section-heading--ruled::before,
  .ws-section-heading--ruled::after {
    max-width: 56px;
  }

  .wholesale-auth-card {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .wholesale-auth-benefits {
    border-right: 0;
    border-bottom: 1px solid var(--ws-gray-border);
    padding: 24px 22px 20px;
  }

  .wholesale-auth-subtitle {
    max-width: none;
    margin-bottom: 16px;
  }

  .wholesale-benefit-list {
    margin-bottom: 18px;
    gap: 10px;
  }

  .wholesale-price-card {
    margin-top: 0;
  }

  .wholesale-auth-content {
    padding: 22px;
  }

  .wholesale-auth-tabs {
    gap: 18px;
  }

  .wholesale-auth-tab {
    font-size: 13px;
  }

  .ws-status-page .ws-status-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .ws-status-heading {
    font-size: 34px;
  }

  .ws-status-main-card {
    padding: 24px;
  }

  .ws-app-timeline__list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ws-app-timeline__step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 14px;
    padding: 0 0 22px;
  }

  .ws-app-timeline__step:last-child {
    padding-bottom: 0;
  }

  .ws-app-timeline__step:not(:last-child)::after {
    top: 44px;
    left: 21px;
    right: auto;
    width: 2px;
    height: calc(100% - 44px);
    background: var(--ws-gray-border);
    background-image: none;
  }

  .ws-app-timeline__step--done:not(:last-child)::after,
  .ws-app-timeline__step--current:not(:last-child)::after {
    background: var(--ws-red);
  }

  .ws-app-timeline__marker {
    margin-bottom: 0;
  }

  .ws-app-timeline__copy {
    padding-top: 4px;
  }

  .ws-documents-card__header {
    flex-wrap: wrap;
  }

  .ws-documents-card__upload {
    width: 100%;
  }

  .ws-benefits-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ws-benefits-strip__item:not(:last-child) {
    border-right: 0;
  }

  .ws-benefits-strip__item:nth-child(odd) {
    border-right: 1px solid var(--ws-gray-border);
  }

  .ws-benefits-strip__item:nth-child(-n+2) {
    border-bottom: 1px solid var(--ws-gray-border);
  }

  .ws-upload-grid {
    grid-template-columns: 1fr;
  }

  .ws-checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .ws-brands-nav {
    display: inline-flex;
  }
}

@media (max-width: 575px) {
  .ws-home-page {
    padding: 8px 0 40px;
  }

  .ws-home-page .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ws-status-page {
    padding: 12px 0 40px;
  }

  .ws-status-page .ws-status-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ws-status-heading {
    font-size: 28px;
  }

  .ws-status-intro {
    font-size: 14px;
  }

  .ws-review-notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .ws-status-main-card {
    padding: 20px;
    border-radius: 14px;
  }

  .ws-app-summary {
    align-items: flex-start;
    gap: 14px;
  }

  .ws-app-summary__icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  .ws-app-summary__number {
    font-size: 17px;
  }

  .ws-documents-card,
  .ws-actions-card {
    padding: 18px;
  }

  .ws-benefits-strip {
    grid-template-columns: 1fr;
  }

  .ws-benefits-strip__item {
    border-right: 0 !important;
    border-bottom: 1px solid var(--ws-gray-border);
  }

  .ws-benefits-strip__item:last-child {
    border-bottom: 0;
  }

  .ws-message-form {
    flex-direction: column;
  }

  .ws-message-form .ws-btn {
    width: 100%;
  }

  .ws-hero-card {
    padding: 22px 16px;
    border-radius: 12px;
  }

  .ws-hero-title {
    font-size: 28px;
  }

  .ws-hero-price {
    width: 100%;
    justify-content: flex-start;
  }

  .ws-hero-cta {
    min-height: 48px;
    font-size: 13px;
    padding: 12px 14px;
  }

  .ws-hero-art {
    max-width: 160px;
  }

  .ws-section-heading {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .ws-section-heading--ruled::before,
  .ws-section-heading--ruled::after {
    display: none;
  }

  .ws-benefits-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ws-benefit-card {
    padding: 18px 14px;
  }

  .ws-results-card {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 14px 16px;
  }

  .ws-results-text {
    font-size: 13px;
  }

  .ws-brands-nav {
    display: none;
  }

  .ws-brands-slide {
    width: 70%;
    min-width: 150px;
  }

  .ws-process-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ws-support-card {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }

  .ws-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .ws-message-form {
    flex-direction: column;
  }

  .wholesale-auth-page {
    padding: 8px 0 28px;
  }

  .wholesale-auth-page .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .wholesale-auth-card {
    border-radius: 14px;
    margin: 0;
  }

  .wholesale-auth-benefits {
    padding: 20px 18px 16px;
  }

  .wholesale-auth-title {
    font-size: 18px;
  }

  .wholesale-auth-subtitle {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .wholesale-benefit-list {
    gap: 8px;
    margin-bottom: 14px;
  }

  .wholesale-benefit-list li {
    font-size: 13px;
  }

  .wholesale-price-card {
    padding: 14px;
  }

  .wholesale-price-amount {
    font-size: 28px;
  }

  .wholesale-auth-content {
    padding: 18px;
  }

  .wholesale-auth-tabs {
    gap: 14px;
    margin-bottom: 16px;
  }

  .wholesale-auth-tab {
    font-size: 12px;
    padding-bottom: 10px;
  }

  .wholesale-auth-panel-title {
    font-size: 20px;
  }

  .wholesale-auth-panel-intro {
    margin-bottom: 14px;
  }

  .wholesale-auth-field {
    margin-bottom: 12px;
  }

  .wholesale-auth-form-meta {
    margin-bottom: 16px;
  }

  .wholesale-auth-page .wholesale-primary-button,
  .wholesale-auth-page a.wholesale-primary-button {
    min-height: 46px;
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   Wholesale Club HOME — mobile mockup redesign ONLY (< 768px)
   Desktop / tablet at 768px+ keeps the styles above unchanged.
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  .ws-home-page {
    padding: 0 0 24px;
    overflow-x: hidden;
  }

  .ws-home-page .container,
  .ws-home-page .ws-home-stack {
    padding-left: 16px;
    padding-right: 16px;
    max-width: 100%;
  }

  .ws-home-stack {
    display: flex;
    flex-direction: column;
  }

  /* Page order: Hero → Brands → Benefits → How It Works → Contact */
  .ws-home-page .ws-breadcrumb,
  .ws-home-page .breadcrumb {
    order: 0;
  }

  .ws-home-block--hero {
    order: 1;
  }

  .ws-home-block--brands {
    order: 2;
  }

  .ws-home-block--benefits {
    order: 3;
  }

  .ws-home-block--process {
    order: 4;
  }

  .ws-home-block--contact {
    order: 5;
  }

  /* Breadcrumb: Home > Wholesale Club */
  .ws-home-page .ws-breadcrumb,
  .ws-home-page .breadcrumb {
    margin: 10px 0 14px;
    padding: 0;
    font-size: 13px;
    line-height: 1.3;
    color: var(--ws-black);
  }

  .ws-home-page .ws-breadcrumb > li + li:before,
  .ws-home-page .breadcrumb > li + li:before {
    content: ">";
    padding: 0 6px;
    color: var(--ws-black);
    font-weight: 500;
  }

  .ws-home-page .ws-breadcrumb > li:last-child > a,
  .ws-home-page .breadcrumb > li:last-child > a {
    font-weight: 700;
  }

  /* --- Hero card --- */
  .ws-home-page .ws-hero {
    margin-bottom: 24px;
  }

  .ws-home-page .ws-hero-card {
    position: relative;
    overflow: hidden;
    padding: 18px 16px 16px;
    border-radius: 14px;
    border: 1px solid var(--ws-home-border);
    box-shadow: 0 6px 20px rgba(17, 17, 17, 0.06);
    background:
      radial-gradient(120% 90% at 100% 0%, rgba(232, 48, 64, 0.12) 0%, rgba(232, 48, 64, 0.04) 38%, transparent 62%),
      var(--ws-white);
  }

  .ws-home-page .ws-hero-layout {
    display: block;
  }

  .ws-home-page .ws-hero-crown {
    display: none;
  }

  .ws-home-page .ws-hero-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    align-items: start;
    margin-bottom: 10px;
  }

  .ws-home-page .ws-hero-illustration--desktop {
    display: none;
  }

  .ws-home-page .ws-hero-illustration--mobile {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 0;
    width: 88px;
  }

  .ws-home-page .ws-hero-art--desktop {
    display: none;
  }

  .ws-home-page .ws-hero-art--mobile {
    display: block;
    max-width: 88px;
    width: 88px;
  }

  .ws-home-page .ws-hero-kicker {
    margin: 0 0 2px;
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .ws-home-page .ws-hero-title {
    margin: 0;
    font-size: 30px;
    line-height: 0.98;
    letter-spacing: -0.01em;
  }

  .ws-home-page .ws-hero-title-accent,
  .ws-home-page .ws-hero-title-rest {
    display: block;
    margin-right: 0;
  }

  .ws-home-page .ws-hero-sub {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--ws-black);
    max-width: none;
  }

  .ws-home-page .ws-hero-price {
    display: inline-flex;
    width: auto;
    margin: 0 0 14px;
    padding: 10px 14px;
    gap: 10px;
    background: #F3F4F6;
    border: 0;
    border-radius: 10px;
  }

  .ws-home-page .ws-hero-price-amt {
    font-size: 28px;
  }

  .ws-home-page .ws-hero-price-label {
    font-size: 11px;
    max-width: none;
  }

  .ws-home-page .ws-hero-cta {
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    letter-spacing: 0.04em;
  }

  .ws-home-page .ws-hero-cta-note {
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--ws-home-muted);
  }

  .ws-home-page .ws-hero-signin {
    margin: 8px 0 0;
    font-size: 13px;
    color: var(--ws-black);
  }

  /* --- Shared section headings: centered + short red underline --- */
  .ws-home-page .ws-section-heading {
    margin: 0 0 14px;
    font-size: 16px;
    letter-spacing: 0.08em;
  }

  .ws-home-page .ws-section-heading--ruled {
    display: block;
    position: relative;
    padding-bottom: 10px;
  }

  .ws-home-page .ws-section-heading--ruled::before,
  .ws-home-page .ws-section-heading--ruled::after {
    display: none;
  }

  .ws-home-page .ws-section-heading--ruled::after,
  .ws-home-page .ws-section-heading--underline::after,
  .ws-home-page .ws-brands .ws-section-heading--underline::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    margin: 8px auto 0;
    background: var(--ws-red);
    border-radius: 2px;
  }

  .ws-home-page .ws-section-heading--underline {
    padding-bottom: 0;
  }

  /* --- Brands carousel --- */
  .ws-home-page .ws-brands {
    margin-bottom: 24px;
    max-width: 100%;
  }

  .ws-home-page .ws-brands-shell {
    gap: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .ws-home-page .ws-brands-nav {
    display: none;
  }

  .ws-home-page .ws-brands-track {
    gap: 10px;
    padding: 2px 1px 6px;
    max-width: 100%;
  }

  .ws-home-page .ws-brands-slide {
    width: calc((100% - 20px) / 3);
    min-width: 96px;
    max-width: 120px;
  }

  .ws-home-page .ws-brand-card {
    height: 72px;
    padding: 10px 12px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(17, 17, 17, 0.04);
  }

  .ws-home-page .ws-brand-logo {
    max-height: 44px;
  }

  .ws-home-page .ws-brands-dots {
    display: flex;
  }

  /* --- Benefits: 3-col when space allows, else 2-col --- */
  .ws-home-page .ws-benefits {
    margin-bottom: 24px;
  }

  .ws-home-page .ws-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
  }

  .ws-home-page .ws-benefit-card {
    padding: 14px 10px 12px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(17, 17, 17, 0.03);
    min-height: 0;
  }

  .ws-home-page .ws-benefit-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
    margin-bottom: 10px;
  }

  .ws-home-page .ws-benefit-title {
    margin: 0 0 6px;
    font-size: 12px;
    letter-spacing: 0.01em;
    text-transform: none;
    font-weight: 800;
    line-height: 1.25;
  }

  .ws-home-page .ws-benefit-text {
    font-size: 12px;
    line-height: 1.35;
  }

  .ws-home-page .ws-results-card {
    grid-column: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 14px 10px 12px;
    border-radius: 10px;
    border: 1px solid #F3C6CC;
    background: linear-gradient(165deg, #FFF1F3 0%, #FFE4E8 55%, #FFD9DF 100%);
    box-shadow: 0 2px 8px rgba(17, 17, 17, 0.03);
    min-height: 100%;
  }

  .ws-home-page .ws-results-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    color: var(--ws-red);
    font-size: 22px;
  }

  .ws-home-page .ws-results-text {
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: none;
    font-weight: 800;
    line-height: 1.3;
  }

  .ws-home-page .ws-results-lead {
    display: block;
    margin-right: 0;
    color: var(--ws-black);
    font-weight: 700;
  }

  .ws-home-page .ws-results-accent {
    display: block;
    color: var(--ws-red);
    font-weight: 800;
  }

  .ws-home-page .ws-results-stars {
    display: flex;
    gap: 3px;
    color: var(--ws-red);
    font-size: 11px;
    margin-top: 2px;
  }

  /* --- How it works: 2-col compact (4-col when wider mobile) --- */
  .ws-home-page .ws-process {
    margin-bottom: 20px;
  }

  .ws-home-page .ws-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .ws-home-page .ws-process-connector {
    display: none;
  }

  .ws-home-page .ws-process-num {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .ws-home-page .ws-process-icon {
    width: 48px;
    height: 48px;
    font-size: 18px;
    margin-bottom: 8px;
  }

  .ws-home-page .ws-process-title {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .ws-home-page .ws-process-text {
    font-size: 12px;
    line-height: 1.4;
  }

  /* --- Contact card --- */
  .ws-home-page .ws-support-card {
    max-width: none;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 14px 14px 16px;
    border-radius: 12px;
    min-height: 52px;
    margin: 0;
    text-align: left;
  }

  .ws-home-page .ws-support-text {
    flex: 1;
    font-size: 13px;
    line-height: 1.35;
  }

  .ws-home-page .ws-support-chevron {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
  }

  /* Footer polish when on Wholesale home (storefront footer) */
  body.ws-home-body footer,
  body.ws-home-body .footer,
  body.ws-home-body #footer {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    overflow: hidden;
    max-width: 100%;
  }

  body.ws-home-body footer .row,
  body.ws-home-body .footer .row,
  body.ws-home-body #footer .row {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Narrow phones: 2-col benefits to avoid cramped 3-col */
@media (max-width: 389px) {
  .ws-home-page .ws-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ws-home-page .ws-brands-slide {
    width: calc((100% - 10px) / 2);
    min-width: 110px;
    max-width: none;
  }

  .ws-home-page .ws-hero-title {
    font-size: 26px;
  }

  .ws-home-page .ws-hero-illustration--mobile,
  .ws-home-page .ws-hero-art--mobile {
    width: 72px;
    max-width: 72px;
  }

  .ws-home-page .ws-benefit-title {
    font-size: 12px;
  }

  .ws-home-page .ws-benefit-text {
    font-size: 12px;
  }

  .ws-home-page .ws-hero-cta {
    font-size: 12px;
  }
}

/* Wider mobile (390–767): keep 3-col benefits; 4-step row when space allows */
@media (min-width: 430px) and (max-width: 767px) {
  .ws-home-page .ws-process-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .ws-home-page .ws-process-connector {
    display: block;
  }

  .ws-home-page .ws-process-text {
    font-size: 11px;
  }

  .ws-home-page .ws-brands-slide {
    width: calc((100% - 30px) / 4);
    min-width: 100px;
    max-width: 130px;
  }
}

/* ==========================================================================
   Wholesale member account area (dashboard, offers, quick order, etc.)
   Brand red: #D81324 — matches DFADeals admin shell
   ========================================================================== */

.ws-member-page {
  --ws-member-red: #D81324;
  --ws-member-black: #0A0A0A;
}

.ws-member-container {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.ws-member-nav {
  margin-bottom: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ws-member-nav__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: min-content;
}

.ws-member-nav__item {
  flex: 0 0 auto;
}

.ws-member-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--ws-gray-border);
  background: var(--ws-white);
  color: var(--ws-member-black);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.ws-member-nav__link:hover,
.ws-member-nav__link:focus-visible {
  border-color: var(--ws-member-red);
  color: var(--ws-member-red);
}

.ws-member-nav__link.is-active {
  background: var(--ws-member-red);
  border-color: var(--ws-member-red);
  color: var(--ws-white);
}

.ws-member-nav__link--logout {
  color: var(--ws-gray-muted);
}

.ws-member-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 24px;
  border-radius: var(--ws-radius-lg);
  background: linear-gradient(135deg, #ffffff 0%, #fceef0 100%);
  border: 1px solid var(--ws-gray-border);
}

.ws-member-hero--compact {
  padding: 20px 24px;
}

.ws-member-hero__title {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--ws-member-black);
  line-height: 1.15;
}

.ws-member-hero__intro {
  margin: 0;
  color: var(--ws-gray-muted);
  font-size: 15px;
  line-height: 1.5;
  max-width: 42rem;
}

.ws-member-hero__welcome {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ws-member-black);
}

.ws-member-hero__tier,
.ws-member-hero__sub {
  margin: 0;
  font-size: 13px;
  color: var(--ws-gray-muted);
}

.ws-member-hero__tier-label {
  font-weight: 700;
  color: var(--ws-member-black);
}

.ws-member-back {
  margin: 0 0 8px;
}

.ws-member-back a {
  color: var(--ws-gray-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.ws-member-back a:hover {
  color: var(--ws-member-red);
}

.ws-member-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.ws-member-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.ws-member-stat:hover {
  border-color: var(--ws-member-red);
  transform: translateY(-1px);
}

.ws-member-stat__value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ws-member-red);
  line-height: 1;
}

.ws-member-stat__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ws-gray-muted);
}

.ws-member-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 16px;
}

.ws-member-grid--detail {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

.ws-member-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.ws-member-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ws-member-links li + li {
  margin-top: 10px;
}

.ws-member-links a {
  color: var(--ws-member-black);
  font-weight: 600;
  text-decoration: none;
}

.ws-member-links a:hover {
  color: var(--ws-member-red);
}

.ws-link {
  color: var(--ws-member-red);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.ws-link:hover {
  text-decoration: underline;
}

.ws-empty-inline {
  margin: 0;
  color: var(--ws-gray-muted);
}

.ws-offer-table-wrap,
.ws-qo-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ws-offer-table,
.ws-qo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.ws-offer-table th,
.ws-offer-table td,
.ws-qo-table th,
.ws-qo-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--ws-gray-border);
  text-align: left;
  vertical-align: middle;
}

.ws-offer-table th,
.ws-qo-table th {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ws-gray-muted);
}

.ws-offer-table__action,
.ws-qo-table__action {
  text-align: right;
  white-space: nowrap;
}

.ws-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--ws-member-black);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ws-status-pill--countered,
.ws-status-pill--accepted {
  background: #ecfdf5;
  color: #047857;
}

.ws-status-pill--rejected,
.ws-status-pill--cancelled,
.ws-status-pill--expired {
  background: #fef2f2;
  color: #b91c1c;
}

.ws-status-pill--new,
.ws-status-pill--under_review {
  background: #eff6ff;
  color: #1d4ed8;
}

.ws-btn-sm {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 12px;
}

.ws-detail-list {
  margin: 0;
}

.ws-detail-list__row {
  display: grid;
  grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
  gap: 8px 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ws-gray-border);
}

.ws-detail-list__row:last-child {
  border-bottom: 0;
}

.ws-detail-list dt {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--ws-gray-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ws-detail-list dd {
  margin: 0;
  color: var(--ws-member-black);
}

.ws-muted {
  color: var(--ws-gray-muted);
}

.ws-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--ws-gray-border);
}

.ws-offer-actions__form {
  flex: 1 1 220px;
}

.ws-offer-actions__form--decline textarea {
  width: 100%;
  margin: 8px 0 10px;
}

.ws-message-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--ws-gray-border);
}

.ws-message-item__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--ws-gray-muted);
}

.ws-qo-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ws-gray-border);
  border-radius: var(--ws-radius-sm);
  overflow: hidden;
  background: var(--ws-white);
}

.ws-qo-qty__btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: #f9fafb;
  color: var(--ws-member-black);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.ws-qo-qty__btn:hover {
  background: #fceef0;
  color: var(--ws-member-red);
}

.ws-qo-qty__input {
  width: 56px;
  height: 36px;
  border: 0;
  border-left: 1px solid var(--ws-gray-border);
  border-right: 1px solid var(--ws-gray-border);
  text-align: center;
  font-weight: 700;
}

.ws-qo-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--ws-gray-border);
}

[data-qo-row].is-busy {
  opacity: 0.55;
  pointer-events: none;
}

.ws-documents-empty .ws-section-heading {
  margin-top: 0;
}

.ws-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

@media (max-width: 767px) {
  .ws-member-stats {
    grid-template-columns: 1fr;
  }

  .ws-member-grid,
  .ws-member-grid--detail {
    grid-template-columns: 1fr;
  }

  .ws-detail-list__row {
    grid-template-columns: 1fr;
  }

  .ws-member-hero {
    padding: 20px 16px;
  }
}

