/* ---------- Sección "Trabajá como mayorista" en la tienda ---------- */
.wholesale { padding: 46px 0 52px; background: var(--surface); border-top: 1px solid var(--line); }
.ws-card { display: grid; gap: 18px; align-items: center; background: var(--p-soft); border: 1px solid var(--p-pale); border-radius: 22px; padding: 26px 22px; }
.ws-card .sec-title { margin: 0 0 8px; }
.ws-card p { margin: 0; color: #5a4553; max-width: 54ch; }
.ws-card p b { color: var(--p-dark); }
@media (min-width: 760px) { .ws-card { grid-template-columns: 1fr auto; padding: 34px 36px; gap: 30px; } }

/* ---------- Página /mayoristas ---------- */
.wsp { padding-bottom: 70px; }
.wsp-head { padding: 26px 0 6px; }
.wsp-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 6vw, 3rem); margin: 0 0 8px; line-height: 1.1; }
.wsp-head p { margin: 0; color: #5a4553; max-width: 60ch; }
.wsp-info { display: grid; gap: 10px; margin: 18px 0 22px; }
.wsp-info > div { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: .95rem; }
.wsp-info i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--p); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: .85rem; }
.wsp-info b { color: var(--p-dark); }
.wf { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px 16px; }
.wf h2 { font-family: var(--display); font-weight: 600; font-size: 1.25rem; margin: 26px 0 12px; }
.wf h2:first-child { margin-top: 0; }
.tgl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tgl button { border: 2px solid var(--line); background: var(--surface); border-radius: 16px; padding: 16px 10px; text-align: center; font-weight: 700; line-height: 1.3; }
.tgl button small { display: block; font-weight: 500; color: var(--muted); margin-top: 4px; }
.tgl button[aria-pressed="true"] { border-color: var(--p); background: var(--p-soft); color: var(--p-dark); }
.wf .field { margin-bottom: 14px; }
.wf .field > label.l { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 5px; }
.wf input[type=text], .wf input[type=tel], .wf input[type=email], .wf input[type=number], .wf select, .wf textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; background: var(--surface); font-size: 16px; color: var(--ink);
}
.wf textarea { min-height: 80px; resize: vertical; }
.wf .hint { font-size: .82rem; color: var(--muted); margin: 5px 0 0; line-height: 1.4; }
.wf .hint b { color: var(--p-dark); }
.wf .opt-tag { font-weight: 400; color: var(--muted); }
.wf .field.err input, .wf .field.err select, .wf .field.err textarea { border-color: var(--bad); }
.ferr { color: var(--bad); font-size: .86rem; margin-top: 5px; }
.radios { display: flex; gap: 10px; }
.radios label { flex: 1; display: flex; gap: 8px; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; cursor: pointer; }
.radios input { accent-color: var(--p); width: 18px; height: 18px; }
.chk3 { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; line-height: 1.4; }
.chk3 input { margin-top: 3px; width: 20px; height: 20px; accent-color: var(--p); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wf .btn { width: 100%; margin-top: 8px; }
.wf-err { color: var(--bad); font-weight: 600; margin: 12px 0 0; text-align: center; }
.wsp-done { text-align: center; padding: 34px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.wsp-done .ok { width: 64px; height: 64px; border-radius: 50%; background: #E3F3EA; color: var(--ok); display: grid; place-items: center; margin: 0 auto 14px; font-size: 2rem; }
.wsp-done h1 { font-family: var(--display); font-weight: 600; font-size: 1.8rem; margin: 0 0 10px; }
.wsp-done p { margin: 0 auto 10px; max-width: 46ch; color: #5a4553; }
.wsp-done p b { color: var(--ink); }
.wsp-done .btn { margin-top: 12px; }

/* ---------- Caja de confirmación en el medio de la pantalla ---------- */
.cbx { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.cbx-ov { position: absolute; inset: 0; background: rgba(35, 15, 30, .62); }
.cbx-box { position: relative; background: var(--surface); border-radius: 22px; padding: 26px 22px 20px; width: min(380px, 100%); text-align: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); animation: cbxpop .22s ease-out; }
.cbx-ic { width: 62px; height: 62px; border-radius: 50%; background: #FDE8E6; color: var(--bad); display: grid; place-items: center; margin: 0 auto 12px; }
.cbx-ic svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cbx-box h3 { font-family: var(--display); font-size: 1.6rem; margin: 0 0 6px; line-height: 1.15; }
.cbx-box p { color: var(--muted); margin: 0 0 18px; }
.cbx-act { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cbx-act .btn { padding: 14px 10px; font-size: 1.02rem; }
.btn.danger { background: var(--bad); }
.btn.danger:hover { background: #8f1d17; }
@keyframes cbxpop { from { transform: scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cbx-box { animation: none; } }
