/* ============ Wholesale account: header button + /wholesale page ============ */

/* Header: Wholesale Account stands apart from the shop links as a small red button */
.nav { align-items: center; }
.nav a.nav__cta { --cut: 8px; display: inline-flex; align-items: center; height: 36px; padding: 0 16px; overflow: visible; background: var(--red); color: #fff; letter-spacing: .16em; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); transition: background .3s, box-shadow .3s; }
.nav a.nav__cta::after { display: none; }
.nav a.nav__cta:hover, .nav a.nav__cta.is-active { background: #ff3535; box-shadow: 0 8px 30px rgba(255, 31, 31, .45); color: #fff; }
.nav a.nav__cta, .nav a.nav__cta span { white-space: nowrap; }
.nav a.nav__cta span, .nav a.nav__cta:hover span { display: inline; transform: none; }
.nav a.nav__cta span::after { display: none; }
@media (max-width: 1240px) { .nav a.nav__cta { padding: 0 12px; letter-spacing: .12em; } .nav a.nav__cta .nav__cta-more { display: none; } }

/* Mobile menu: the wholesale link in the brand red */
.mobile-menu a.mobile-menu__cta { color: var(--red); }

/* Hero */
.ws__hero .phero__title { font-size: clamp(46px, 7.4vw, 120px); }
/* one word per line ("Stock" / "RedHawk."), so the heading stays clear of the device photo */
.ws__hero .phero__title .w { display: block; width: fit-content; }
.ws__hero .phero__sub { max-width: 560px; margin-bottom: 26px; }
/* Desktop: the device lines up with the right edge of the content (.wrap, 1360px), not the screen, so on
   wide or zoomed-out screens it stays beside the heading. The glow and background follow it. */
@media (min-width: 861px) {
  .ws__hero { --ws-edge: max(var(--gut), calc((100vw - 1360px) / 2 + var(--gut))); --ws-device: clamp(230px, 21vw, 360px); background: radial-gradient(ellipse 50% 70% at calc(100% - var(--ws-edge) - var(--ws-device) / 2) 60%, #3a0704, #0a0303 60%, #050505); }
  .ws__hero .phero__prod { right: var(--ws-edge); top: 56%; width: var(--ws-device); opacity: 1; }
  .ws__hero .phero__glow { right: calc(var(--ws-edge) + var(--ws-device) / 2 - 23vmax); top: 56%; }
}
/* Phones and tablets, like the homepage: the device large on top, the heading under it. */
@media (max-width: 860px) {
  .ws__hero { --ws-top: calc(var(--warn-h) + var(--head-h)); display: block; padding-top: calc(var(--ws-top) + 48px); padding-bottom: 44px; background: radial-gradient(ellipse 90% 45% at 50% 24%, #3a0704, #0a0303 70%, #050505); }
  body:has(.site-promo) .ws__hero { --ws-top: 0px; }
  .ws__hero .phero__copy { position: static; }
  .ws__hero .crumbs { position: absolute; top: calc(var(--ws-top) + 16px); left: var(--gut); margin: 0; }
  .ws__hero .phero__prod { position: relative; display: block; right: auto; top: auto; width: min(39vw, 197px); margin: 0 auto 28px; transform: rotate(-8deg); opacity: 1; }
  .ws__hero .phero__glow { right: 50%; top: calc(var(--ws-top) + 48px + min(30vw, 150px)); width: 120vw; height: 120vw; transform: translate(50%, -50%); animation: none; }
  .ws__hero .phero__title { max-width: none; font-size: min(12.5vw, 72px); }
}
.ws__hero .btn svg, .ws-form .btn svg, .ws-done .btn svg { width: 22px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* Perks */
.ws__perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-top: clamp(50px, 7vw, 90px); }
.ws__perk { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 24px 22px 22px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .02); }
.ws__perk b { grid-row: span 2; font: 900 26px/1 var(--display); color: var(--red); }
.ws__perk h3 { margin: 0 0 6px; font: 800 16px/1.2 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.ws__perk p { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(246, 242, 238, .72); }
.ws__perk a { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }

/* Application: aside + form */
.ws__main { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: start; padding-top: clamp(60px, 8vw, 110px); padding-bottom: clamp(60px, 8vw, 110px); scroll-margin-top: calc(var(--warn-h) + var(--head-h)); }
.ws__aside { position: sticky; top: calc(var(--warn-h) + var(--head-h) + 24px); }
.ws__aside .title { font-size: clamp(28px, 2.9vw, 42px); overflow-wrap: anywhere; }
.ws__intro { margin: 0 0 26px; color: rgba(246, 242, 238, .78); line-height: 1.6; }
.ws__steps { list-style: none; margin: 0 0 28px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.ws__steps li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: baseline; font-size: 15px; color: rgba(246, 242, 238, .86); }
.ws__steps b { font: 900 15px/1 var(--display); color: var(--red); }
.ws__contact { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line2); border-radius: 14px; font-weight: 600; transition: border-color .3s, background .3s; }
.ws__contact small { font: 600 11px/1 var(--ui); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.ws__contact:hover { border-color: var(--red); background: rgba(255, 31, 31, .06); }

.ws-form { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 18px; padding: clamp(24px, 3.4vw, 44px); }
.ws-form__h { grid-column: 1 / -1; margin: 18px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font: 800 15px/1.2 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.ws-form__h:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.ws-field { grid-column: span 3; display: grid; gap: 7px; align-content: start; }
.ws-field--full { grid-column: 1 / -1; }
.ws-field--third { grid-column: span 2; }
.ws-field label { font: 600 12px/1.3 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: rgba(246, 242, 238, .78); }
.ws-field label i, .ws-form__note i { font-style: normal; color: var(--red); }
.ws-field input, .ws-field select, .ws-field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line2); border-radius: 10px; background: #0f0c0c; color: var(--ink); font: 500 15px/1.3 var(--ui); transition: border-color .25s, box-shadow .25s; }
.ws-field textarea { min-height: 120px; resize: vertical; }
.ws-field select option { background: #111; color: var(--ink); }
.ws-field input[type="date"] { color-scheme: dark; }
.ws-field input::placeholder, .ws-field textarea::placeholder { color: var(--dim); }
.ws-field input:focus, .ws-field select:focus, .ws-field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 31, 31, .18); }
.ws-field.is-err input, .ws-field.is-err select, .ws-field.is-err textarea, .ws-field.is-err .ws-drop { border-color: var(--red); }
.ws-field__err { font-size: 13px; color: #ff6b6b; }
.ws-field__hint { font-size: 13px; color: var(--mute); }

.ws-drop { position: relative; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; min-height: 64px; padding: 12px 14px; border: 1px dashed var(--line2); border-radius: 12px; background: rgba(255, 255, 255, .02); transition: border-color .25s, background .25s; }
.ws-drop input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.ws-drop:hover, .ws-drop.is-over, .ws-drop:focus-within { border-color: var(--red); background: rgba(255, 31, 31, .06); }
.ws-drop.has-file { border-style: solid; }
.ws-drop__btn { padding: 8px 14px; border-radius: 8px; background: rgba(255, 255, 255, .08); font: 700 11.5px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; }
.ws-drop.has-file .ws-drop__btn { background: var(--red); color: #fff; }
.ws-drop__name { min-width: 0; overflow-wrap: anywhere; font-size: 14px; color: rgba(246, 242, 238, .72); }

.ws-check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: rgba(246, 242, 238, .86); cursor: pointer; }
.ws-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); }
.ws-check--agree { margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.ws-check.is-err { color: #ff6b6b; }
.ws-form__err { grid-column: 1 / -1; margin: 0; }
.ws-form__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap; margin-top: 6px; }
.ws-form__actions .btn[disabled] { opacity: .6; pointer-events: none; }
.ws-form__note { margin: 0; font-size: 13px; color: var(--mute); }
/* the honeypot field stays out of sight and out of the tab order */
.ws-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ws-done { display: grid; justify-items: center; gap: 6px; padding: clamp(40px, 6vw, 70px) 28px; text-align: center; outline: none; }
.ws-done__ring { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 10px; border-radius: 50%; background: var(--red); color: #fff; font-size: 28px; box-shadow: 0 0 40px rgba(255, 31, 31, .45); }
.ws-done h3 { margin: 0; font: 800 clamp(24px, 2.6vw, 34px)/1.1 var(--display); text-transform: uppercase; }
.ws-done p { max-width: 440px; margin: 6px 0 20px; color: rgba(246, 242, 238, .78); overflow-wrap: anywhere; }

/* RedHawk Flex specs */
.ws__specs { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: clamp(60px, 8vw, 110px); }
.ws__specs-img, .ws__sheet-img { margin: 0; border: 1px solid var(--line2); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.ws__specs-img img, .ws__sheet-img img { width: 100%; height: auto; }
.ws__specs-copy .title, .ws__sheet-copy .title { font-size: clamp(30px, 3.6vw, 52px); }
.ws__specs-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.ws__specs-list div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .02); }
.ws__specs-list div:last-child { grid-column: 1 / -1; }
.ws__specs-list dt { margin-bottom: 4px; font: 600 11px/1 var(--ui); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.ws__specs-list dd { margin: 0; font: 800 18px/1.2 var(--display); }

/* Distributor data sheet */
.ws__sheet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-bottom: clamp(70px, 9vw, 120px); }
.ws__sheet-copy .ws__intro { max-width: 520px; }
.ws__sheet-copy .ws__intro a { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.ws__sheet .btn svg { width: 22px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.ws__faq { padding-top: 0; }

@media (max-width: 1080px) {
  .ws__perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws__main { grid-template-columns: 1fr; }
  .ws__aside { position: static; }
  .ws__specs, .ws__sheet { grid-template-columns: 1fr; }
  .ws__specs-img { max-width: 620px; }
  .ws__sheet-img { max-width: 620px; order: -1; }
}
@media (max-width: 640px) {
  .ws__perks { grid-template-columns: 1fr; }
  .ws-form { grid-template-columns: 1fr; padding: 22px 18px; }
  .ws-field, .ws-field--third { grid-column: 1 / -1; }
}
