/* Brand New + Pre-Owned wholesale shared layout (TechBros-style structure, Rehman copy) */

.sf-mega-link-used {
  font-weight: 800;
}

/* —— Brand New wholesale page layout (TechBros-style structure, Rehman copy) —— */
body.page-wholesale:not(.page-used) ,
.page-used-bulk  {
  background: #ffffff !important;
}

body.page-wholesale:not(.page-used) .ws-bn-hero,
.page-used-bulk .ws-bn-hero {
  background: #0b1220 !important;
  color: #ffffff !important;
  padding: 56px 0 52px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.page-wholesale:not(.page-used) .ws-bn-hero-inner,
.page-used-bulk .ws-bn-hero-inner {
  max-width: 720px !important;
  margin: 0 auto !important;
  text-align: center !important;
  padding: 0 16px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.page-wholesale:not(.page-used) .ws-bn-kicker,
.page-used-bulk .ws-bn-kicker {
  margin: 0 0 12px !important;
  font-size: 0.72rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.62) !important;
}

body.page-wholesale:not(.page-used) .ws-bn-hero h1,
.page-used-bulk .ws-bn-hero h1,
body.page-wholesale:not(.page-used) .ws-bn-hero h2,
.page-used-bulk .ws-bn-hero h2 {
  margin: 0 0 14px !important;
  font-size: clamp(1.65rem, 3.6vw, 2.35rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
  text-align: center !important;
}

body.page-wholesale:not(.page-used) .ws-bn-hero-inner > p:not(.ws-bn-kicker),
.page-used-bulk .ws-bn-hero-inner > p:not(.ws-bn-kicker) {
  margin: 0 auto 22px !important;
  max-width: 34rem !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  text-align: center !important;
}

body.page-wholesale:not(.page-used) .ws-bn-actions,
.page-used-bulk .ws-bn-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 12px !important;
}

body.page-wholesale:not(.page-used) .ws-bn-actions .btn-outline,
.page-used-bulk .ws-bn-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  background: transparent !important;
}

body.page-wholesale:not(.page-used) .ws-bn-actions .btn-primary,
.page-used-bulk .ws-bn-actions .btn-primary {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #0b1220 !important;
}

body.page-wholesale:not(.page-used) .ws-bn-actions .btn-outline:hover,
.page-used-bulk .ws-bn-actions .btn-outline:hover {
  border-color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

body.page-wholesale:not(.page-used) .ws-bn-block,
.page-used-bulk .ws-bn-block {
  padding: 48px 0 28px !important;
  background: #ffffff !important;
}

body.page-wholesale:not(.page-used) .ws-bn-block h2,
.page-used-bulk .ws-bn-block h2 {
  margin: 0 0 10px !important;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  text-align: center !important;
  color: #0b1220 !important;
}

body.page-wholesale:not(.page-used) .ws-bn-lead,
.page-used-bulk .ws-bn-lead {
  margin: 0 auto 28px !important;
  max-width: 36rem !important;
  text-align: center !important;
  font-size: 0.95rem !important;
  font-weight: 550 !important;
  line-height: 1.5 !important;
  color: #64748b !important;
}

body.page-wholesale:not(.page-used) .ws-bn-grid,
.page-used-bulk .ws-bn-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body.page-wholesale:not(.page-used) .ws-bn-card,
.page-used-bulk .ws-bn-card {
  margin: 0 !important;
  padding: 18px 16px !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
}

body.page-wholesale:not(.page-used) .ws-bn-card span,
.page-used-bulk .ws-bn-card span {
  display: block !important;
  margin: 0 0 8px !important;
  font-size: 0.68rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
}

body.page-wholesale:not(.page-used) .ws-bn-card h3,
.page-used-bulk .ws-bn-card h3 {
  margin: 0 0 8px !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #0b1220 !important;
  line-height: 1.25 !important;
}

body.page-wholesale:not(.page-used) .ws-bn-card p,
.page-used-bulk .ws-bn-card p {
  margin: 0 !important;
  font-size: 0.84rem !important;
  font-weight: 550 !important;
  line-height: 1.45 !important;
  color: #64748b !important;
}

body.page-wholesale:not(.page-used) .ws-bn-request,
.page-used-bulk .ws-bn-request {
  padding: 8px 0 56px !important;
  background: #ffffff !important;
}

body.page-wholesale:not(.page-used) .ws-bn-request-inner,
.page-used-bulk .ws-bn-request-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px 28px !important;
  flex-wrap: wrap !important;
  padding: 24px 22px !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  border-radius: 14px !important;
  background: #0b1220 !important;
  color: #ffffff !important;
}

body.page-wholesale:not(.page-used) .ws-bn-request-copy h2,
.page-used-bulk .ws-bn-request-copy h2 {
  margin: 0 0 8px !important;
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #ffffff !important;
}

body.page-wholesale:not(.page-used) .ws-bn-request-copy p,
.page-used-bulk .ws-bn-request-copy p {
  margin: 0 0 10px !important;
  max-width: 34rem !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

body.page-wholesale:not(.page-used) .ws-bn-phone,
.page-used-bulk .ws-bn-phone {
  display: inline-block !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #93c5fd !important;
  text-decoration: none !important;
}

body.page-wholesale:not(.page-used) .ws-bn-phone:hover,
.page-used-bulk .ws-bn-phone:hover {
  color: #bfdbfe !important;
}

body.page-wholesale:not(.page-used) .ws-bn-request-actions,
.page-used-bulk .ws-bn-request-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

body.page-wholesale:not(.page-used) .ws-bn-request-actions .btn-outline,
.page-used-bulk .ws-bn-request-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  background: transparent !important;
}

body.page-wholesale:not(.page-used) .ws-bn-request-actions .btn-primary,
.page-used-bulk .ws-bn-request-actions .btn-primary {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #0b1220 !important;
}

@media (max-width: 900px) {
  body.page-wholesale:not(.page-used) .ws-bn-grid,
  .page-used-bulk .ws-bn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  body.page-wholesale:not(.page-used) .ws-bn-hero,
  .page-used-bulk .ws-bn-hero {
    padding: 40px 0 36px !important;
  }
  body.page-wholesale:not(.page-used) .ws-bn-grid,
  .page-used-bulk .ws-bn-grid {
    grid-template-columns: 1fr !important;
  }
  body.page-wholesale:not(.page-used) .ws-bn-request-inner,
  .page-used-bulk .ws-bn-request-inner {
    padding: 20px 16px !important;
  }
  body.page-wholesale:not(.page-used) .ws-bn-request-actions,
  .page-used-bulk .ws-bn-request-actions {
    width: 100% !important;
  }
  body.page-wholesale:not(.page-used) .ws-bn-request-actions .btn,
  .page-used-bulk .ws-bn-request-actions .btn {
    flex: 1 1 auto !important;
    justify-content: center !important;
  }
}

/* Shared helpers still used by Pre-Owned bulk section on used.html */
.page-wholesale .wholesale-eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}
.page-wholesale .wholesale-facts {
  padding-top: 8px;
  padding-bottom: 8px;
  background: #ffffff;
}
.page-wholesale .wholesale-facts-title {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b1220;
  text-align: center;
}
.page-wholesale .wholesale-facts-lead {
  margin: 0 auto 18px;
  max-width: 36rem;
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 550;
  line-height: 1.45;
}
.page-wholesale .wholesale-gallery-head {
  margin: 36px 0 14px;
  text-align: center;
}
.page-wholesale .wholesale-gallery-head h2,
.page-wholesale .wholesale-gallery-head h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b1220;
}
.page-wholesale .wholesale-gallery-head p {
  margin: 0 auto;
  max-width: 34rem;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 550;
  line-height: 1.45;
}
.page-wholesale-used .filter-bar,
.page-used-bulk .filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 18px;
}

/* —— Wholesale enquiry card (Brand New + Pre-Owned) —— */
.ws-enquiry {
  padding: 48px 0 64px;
  background: #ffffff;
}

.page-used-bulk .ws-enquiry {
  margin-top: 0;
  padding: 40px 0 56px;
  background: #ffffff;
}

.ws-enquiry-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 24px 26px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: none;
}

.ws-enquiry-head {
  margin: 0 0 22px;
  text-align: center;
}

.ws-enquiry-head h2,
.ws-enquiry-head h3 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b1220;
}

.ws-enquiry-head p {
  margin: 0 auto;
  max-width: 34rem;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 550;
  line-height: 1.45;
}

.ws-enquiry-form {
  display: grid;
  gap: 14px;
}

.ws-enquiry-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ws-enquiry-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 650;
  color: #334155;
}

.ws-enquiry-field-full {
  grid-column: 1 / -1;
}

.ws-enquiry-field span {
  letter-spacing: 0.01em;
}

.ws-enquiry-field input,
.ws-enquiry-field textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #d0d7e2;
  border-radius: 10px;
  background: #ffffff;
  color: #0b1220;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ws-enquiry-field input::placeholder,
.ws-enquiry-field textarea::placeholder {
  color: #94a3b8;
}

.ws-enquiry-field input:focus,
.ws-enquiry-field textarea:focus {
  outline: none;
  border-color: #0b1220;
  box-shadow: 0 0 0 3px rgba(11, 18, 32, 0.12);
}

.ws-enquiry-field textarea {
  resize: vertical;
  min-height: 96px;
}

.ws-enquiry-submit {
  width: 100%;
  margin-top: 4px;
}

.ws-enquiry-note {
  margin: 2px 0 0;
  text-align: center;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 550;
  line-height: 1.4;
}

.ws-enquiry-status {
  display: none;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.ws-enquiry-status.is-visible {
  display: block;
}

.ws-enquiry-status.is-ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.ws-enquiry-status.is-warn {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
}

@media (max-width: 640px) {
  .ws-enquiry {
    padding: 36px 0 48px;
  }

  .ws-enquiry-card {
    padding: 22px 16px 20px;
    border-radius: 12px;
  }

  .ws-enquiry-row {
    grid-template-columns: 1fr;
  }
}
