.wholesale-page {
  --ink:#17141a;
  --paper:#fffaf4;
  --soft:#f4eee7;
  --line:#d8cfc6;
  --coral:#ff6b5f;
  --aqua:#43c8c6;
  --yellow:#f4c94e;
  max-width:1560px;
  margin:0 auto;
  padding:42px clamp(20px,3.5vw,56px) 100px;
  color:var(--ink);
}

.wholesale-hero {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(290px,.55fr);
  gap:clamp(36px,7vw,110px);
  align-items:end;
  overflow:hidden;
  padding:clamp(46px,6vw,88px);
  border-radius:30px;
  background:var(--ink);
  color:#fff;
}
.wholesale-hero::after {
  content:"";
  position:absolute;
  width:240px;
  height:240px;
  right:-92px;
  top:-105px;
  border:46px solid var(--aqua);
  border-radius:50%;
  box-shadow:-115px 134px 0 -72px var(--yellow),-208px 55px 0 -78px var(--coral);
  opacity:.95;
  pointer-events:none;
}
.wholesale-kicker {
  margin:0 0 13px;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.wholesale-hero h1 {
  max-width:920px;
  margin:0;
  font-size:clamp(3.2rem,6.1vw,6.7rem);
  line-height:.88;
  letter-spacing:-.065em;
}
.wholesale-hero>p {
  position:relative;
  z-index:1;
  margin:0;
  padding-top:24px;
  border-top:1px solid #5b535e;
  color:#d9d1d9;
  font-size:1rem;
  line-height:1.65;
}

.wholesale-proof {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  padding:16px 0 34px;
}
.wholesale-proof span {
  min-height:70px;
  display:flex;
  align-items:center;
  padding:16px 20px;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
  font-size:.82rem;
  font-weight:800;
}
.wholesale-proof b {
  display:grid;
  flex:0 0 31px;
  height:31px;
  place-items:center;
  margin-right:13px;
  border-radius:50%;
  background:var(--soft);
  color:#736a65;
  font-size:.61rem;
}

.wholesale-workspace {
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);
  gap:24px;
  align-items:start;
}
.assistant-card,.brief-card {
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:25px;
  background:#fff;
  box-shadow:0 22px 70px rgba(32,24,20,.07);
}
.assistant-card>header,.brief-card>header {
  min-height:102px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:22px 26px;
  border-bottom:1px solid var(--line);
}
.assistant-card>header {
  background:var(--ink);
  color:#fff;
}
.assistant-title-group {
  display:flex;
  align-items:center;
  gap:16px;
}
.assistant-number {
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:var(--coral);
  color:#fff;
  font-size:.72rem;
  font-weight:900;
}
.assistant-card h2,.brief-card h2 {
  margin:0;
  font-size:clamp(1.35rem,2vw,1.8rem);
  letter-spacing:-.035em;
}
.assistant-card>header .wholesale-kicker { color:#bdb5bd; }
.assistant-status {
  display:inline-flex;
  gap:9px;
  align-items:center;
  padding:9px 12px;
  border:1px solid #4c454f;
  border-radius:999px;
  color:#e5dee5;
  font-size:.7rem;
  white-space:nowrap;
}
.assistant-status i {
  width:8px;
  height:8px;
  border-radius:50%;
  background:#45d1a2;
  box-shadow:0 0 0 5px rgba(69,209,162,.12);
}

.assistant-guide {
  display:grid;
  grid-template-columns:minmax(190px,.72fr) minmax(0,1.28fr);
  gap:22px;
  padding:24px 26px;
  border-bottom:1px solid var(--line);
  background:#fff;
}
.assistant-guide strong {
  display:block;
  margin-bottom:7px;
  font-size:.88rem;
}
.assistant-guide p {
  margin:0;
  color:#756c67;
  font-size:.72rem;
  line-height:1.5;
}
.assistant-prompts {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.assistant-prompts button {
  min-height:43px;
  padding:9px 12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--paper);
  color:var(--ink);
  text-align:left;
  font:800 .67rem/1.25 Arial,sans-serif;
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.assistant-prompts button:hover,.assistant-prompts button:focus-visible {
  transform:translateY(-2px);
  border-color:var(--ink);
  background:#fff;
}

.chat-flow-status {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:13px 22px;
  border-bottom:1px solid var(--line);
  background:#fff;
}
.chat-flow-status>div { display:grid;gap:3px; }
.chat-flow-status span { font-size:.73rem;font-weight:900; }
.chat-flow-status small { color:#827873;font-size:.65rem; }
.chat-flow-status strong {
  min-width:48px;
  padding:7px 10px;
  border-radius:999px;
  background:#eee7df;
  font-size:.67rem;
  text-align:center;
}
.wholesale-ready .chat-flow-status strong { background:#dff5ea;color:#11724d; }

.chat-transcript {
  min-height:165px;
  max-height:285px;
  padding:20px 22px;
  overflow:auto;
  background:linear-gradient(145deg,#f7f1ea,#fff 75%);
  scroll-behavior:smooth;
}
.chat-message {
  display:flex;
  gap:12px;
  max-width:84%;
  margin:0 0 14px;
}
.chat-message>span {
  display:grid;
  flex:0 0 32px;
  height:32px;
  place-items:center;
  border-radius:50%;
  background:var(--ink);
  color:#fff;
  font-size:.7rem;
  font-weight:900;
}
.chat-message>div { display:grid;gap:6px; }
.chat-message small {
  color:#8b817b;
  font-size:.56rem;
  font-weight:900;
  letter-spacing:.12em;
}
.chat-message p {
  margin:0;
  padding:12px 15px;
  border:1px solid #ded6cd;
  border-radius:4px 16px 16px 16px;
  background:#fff;
  font-size:.86rem;
  line-height:1.55;
  white-space:pre-line;
}
.chat-message.customer { margin-left:auto;flex-direction:row-reverse; }
.chat-message.customer>span { background:var(--coral); }
.chat-message.customer p {
  border-color:#28232c;
  border-radius:16px 4px 16px 16px;
  background:#28232c;
  color:#fff;
}
.chat-suggestions {
  display:flex;
  gap:7px;
  padding:11px 20px 12px 64px;
  overflow-x:auto;
  border-top:1px solid #eee6de;
  background:#fff;
}
.chat-suggestions[hidden] { display:none; }
.chat-suggestions button {
  flex:0 0 auto;
  min-height:35px;
  padding:8px 12px;
  border:1px solid #d9d0c8;
  border-radius:999px;
  background:#fff;
  color:var(--ink);
  font:800 .65rem/1 Arial,sans-serif;
  cursor:pointer;
}
.chat-suggestions button:hover,.chat-suggestions button:focus-visible { border-color:var(--ink);background:var(--paper); }
.assistant-consent {
  margin:0;
  padding:15px 26px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:#fff;
}
.chat-composer {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  padding:16px 20px 12px;
  background:#fff;
}
.chat-composer textarea {
  min-height:56px;
  resize:none;
  border:1px solid transparent;
  border-radius:15px;
  outline:0;
  background:var(--soft);
  padding:13px 15px;
  font:inherit;
}
.chat-composer textarea:focus { border-color:var(--ink);background:#fff; }
.chat-composer button,.submit-lead {
  border:0;
  border-radius:14px;
  background:var(--ink);
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
.chat-composer button {
  min-width:116px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:0 18px;
}
.chat-composer button b { font-size:1rem; }
.chat-composer button:disabled,.submit-lead:disabled { opacity:.45;cursor:wait; }
.chat-activity {
  margin:0;
  padding:0 22px 10px;
  background:#fff;
  color:#6f6560;
  font-size:.65rem;
}
.chat-activity[hidden] { display:none; }
.assistant-disclaimer {
  margin:0;
  padding:0 22px 18px;
  background:#fff;
  color:#746b66;
  font-size:.68rem;
  line-height:1.45;
}

.brief-card {
  position:sticky;
  top:calc(var(--header-height,82px) + 18px);
}
.brief-card>header { background:var(--paper); }
.brief-card>header strong {
  min-width:58px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:var(--ink);
  color:#fff;
  font-size:.72rem;
}
#wholesaleForm { padding:4px 26px 27px; }
.brief-section {
  margin:0;
  padding:22px 0;
  border:0;
  border-bottom:1px solid var(--line);
}
.brief-section legend {
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 0 17px;
  font-size:.67rem;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.brief-section legend span { color:#8a817b; }
.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:17px 14px;
}
.form-grid label {
  display:grid;
  gap:7px;
  font-size:.66rem;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.form-grid .wide { grid-column:1/-1; }
.form-grid input,.form-grid textarea,.form-grid select {
  width:100%;
  box-sizing:border-box;
  border:0;
  border-bottom:1px solid #aaa097;
  border-radius:0;
  outline:0;
  background:transparent;
  padding:9px 2px;
  font:500 .88rem/1.4 Arial,sans-serif;
}
.form-grid input:focus,.form-grid textarea:focus,.form-grid select:focus {
  border-color:var(--coral);
  box-shadow:0 2px 0 var(--coral);
}
.consent {
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:#5f5752;
  font-size:.71rem;
  line-height:1.45;
}
.consent input { flex:0 0 auto;margin-top:2px;accent-color:var(--ink); }
.submit-lead,.whatsapp-handoff {
  width:100%;
  min-height:54px;
  display:flex;
  box-sizing:border-box;
  align-items:center;
  justify-content:space-between;
  padding:0 20px;
  text-decoration:none;
}
.whatsapp-handoff {
  margin-top:10px;
  border-radius:14px;
  background:#1d8c63;
  color:#fff;
  font-weight:900;
}
.form-status {
  min-height:24px;
  padding-top:12px;
  color:#755b00;
  font-size:.75rem;
}
.form-status.error { color:#a12727; }
.honeypot { position:absolute!important;left:-10000px!important; }

.wholesale-footer-note {
  display:grid;
  grid-template-columns:.35fr 1fr;
  gap:30px;
  margin-top:42px;
  padding:30px;
  border-radius:20px;
  background:var(--soft);
}
.wholesale-footer-note p { max-width:780px;margin:0;line-height:1.6; }
.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;
}

@media(max-width:1120px) {
  .wholesale-workspace { grid-template-columns:minmax(0,1.1fr) minmax(390px,.9fr); }
  .assistant-guide { grid-template-columns:1fr; }
}
@media(max-width:980px) {
  .wholesale-page { padding-top:26px; }
  .wholesale-hero,.wholesale-workspace { grid-template-columns:1fr; }
  .wholesale-hero { gap:28px; }
  .wholesale-proof { grid-template-columns:repeat(3,1fr); }
  .brief-card { position:static; }
  .chat-transcript { min-height:165px;max-height:285px; }
}
@media(max-width:700px) {
  .wholesale-page { padding:14px 12px 72px; }
  .wholesale-hero { padding:40px 24px;border-radius:22px; }
  .wholesale-hero h1 { font-size:clamp(2.8rem,14vw,4.4rem); }
  .wholesale-hero::after { width:150px;height:150px;border-width:28px; }
  .wholesale-proof { grid-template-columns:1fr;padding-bottom:20px; }
  .wholesale-proof span { min-height:58px; }
  .assistant-card,.brief-card { border-radius:20px; }
  .assistant-card>header,.brief-card>header { min-height:88px;padding:18px; }
  .assistant-title-group { gap:11px; }
  .assistant-number { width:40px;height:40px;border-radius:12px; }
  .assistant-status { padding:8px;font-size:.62rem; }
  .assistant-guide { padding:19px 18px; }
  .assistant-prompts { grid-template-columns:1fr 1fr; }
  .chat-flow-status { padding:12px 16px; }
  .chat-transcript { min-height:155px;max-height:260px;padding:16px; }
  .chat-message { max-width:96%; }
  .chat-suggestions { padding:10px 16px; }
  .assistant-consent { padding:14px 18px; }
  .chat-composer { grid-template-columns:1fr;padding:14px 16px 10px; }
  .chat-composer button { min-height:50px; }
  .assistant-disclaimer { padding:0 18px 17px; }
  #wholesaleForm { padding:2px 18px 22px; }
  .form-grid { grid-template-columns:1fr; }
  .form-grid .wide { grid-column:auto; }
  .wholesale-footer-note { grid-template-columns:1fr;padding:22px; }
}
@media(max-width:420px) {
  .assistant-prompts { grid-template-columns:1fr; }
  .assistant-status { max-width:106px;white-space:normal; }
}
