/**
 * Baby Salar — Wholesale landing (page-wholesale.php) + header CTA.
 * Scoped to .bs-ws. The header CTA (.bs-ws-cta) lives in main.css.
 */

/* =====================================================================
   Landing page
   ===================================================================== */
.bs-ws{
  --ws-ink:#302936;
  --ws-text:#6f6672;
  --ws-muted:#9b919c;
  --ws-accent:#c45975;
  --ws-accent-dark:#a9465f;
  --ws-accent-soft:#fbecf0;
  --ws-line:#efe4ea;
  --ws-field:#fcfafb;
  --ws-gap:clamp(48px,6vw,80px);
  padding:0 0 64px;color:var(--ws-ink);
}
.bs-ws-kicker{display:inline-block;color:var(--ws-accent);font-size:12px;font-weight:600;margin-bottom:8px}
.bs-ws-head{max-width:560px;margin:0 auto 28px;text-align:center}
.bs-ws-head h2{margin:0;font-size:clamp(20px,2.2vw,26px);font-weight:600;line-height:1.5}
.bs-ws-head p{margin:6px 0 0;font-size:14px;color:var(--ws-text);line-height:1.9}
.bs-ws-section{margin-top:var(--ws-gap)}
.bs-ws-icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.bs-ws-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:48px;padding:0 26px;border:0;border-radius:12px;
  background:var(--ws-accent);color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer;
  box-shadow:0 8px 20px rgba(196,89,117,.18);
  transition:background .18s ease,transform .18s ease;
}
.bs-ws-btn:hover{background:var(--ws-accent-dark);color:#fff;transform:translateY(-1px)}
.bs-ws-btn--ghost{background:#fff;color:var(--ws-accent);border:1px solid #ecc3d0;box-shadow:none}
.bs-ws-btn--ghost:hover{background:#fff7f9;color:var(--ws-accent-dark)}

/* breadcrumb */
.bs-ws-breadcrumb{display:flex;gap:8px;align-items:center;color:#8d8490;font-size:12.5px;margin:14px 0 16px}
.bs-ws-breadcrumb a{color:inherit}
.bs-ws-breadcrumb a:hover{color:var(--ws-accent)}

/* 1) hero */
.bs-ws-hero{
  position:relative;overflow:hidden;
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:32px;
  padding:clamp(28px,4vw,52px);border-radius:28px;
  background:linear-gradient(135deg,#fff3f6 0%,#f8f0fb 100%);
}
.bs-ws-hero h1{margin:0 0 12px;font-size:clamp(26px,3.2vw,40px);font-weight:600;line-height:1.45}
.bs-ws-hero h1 span{color:var(--ws-accent)}
.bs-ws-hero p{margin:0 0 22px;font-size:15px;line-height:2;color:#6d6370;max-width:470px}
.bs-ws-hero__actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.bs-ws-chips{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 0;padding:0;list-style:none}
.bs-ws-chips li{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.8);font-size:12.5px;color:#5f5663}
.bs-ws-chips svg{width:15px;height:15px;color:var(--ws-accent)}
.bs-ws-hero__media{position:relative;margin:0}
.bs-ws-hero__frame{overflow:hidden;border-radius:22px;aspect-ratio:4/3.1;background:#efe4ea;box-shadow:0 16px 40px rgba(76,52,71,.1)}
.bs-ws-hero__frame img{width:100%;height:100%;object-fit:cover;object-position:left center}
.bs-ws-hero__badge{
  position:absolute;right:-12px;bottom:22px;
  display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:14px;
  background:#fff;box-shadow:0 10px 28px rgba(76,52,71,.12);
}
.bs-ws-hero__badge span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--ws-accent-soft);color:var(--ws-accent)}
.bs-ws-hero__badge b{display:block;font-size:13px;font-weight:600}
.bs-ws-hero__badge small{display:block;font-size:11px;color:var(--ws-muted)}

/* 2) benefits */
.bs-ws-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.bs-ws-benefit{padding:24px 20px;border-radius:20px;background:#fff;border:1px solid var(--ws-line);transition:transform .22s ease,box-shadow .22s ease}
.bs-ws-benefit:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(76,52,71,.08)}
.bs-ws-benefit__icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--ws-accent-soft);color:var(--ws-accent);margin-bottom:14px}
.bs-ws-benefit h3{margin:0 0 6px;font-size:15.5px;font-weight:600}
.bs-ws-benefit p{margin:0;font-size:13px;line-height:1.95;color:var(--ws-text)}

/* 3) steps */
.bs-ws-steps{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none;counter-reset:ws}
.bs-ws-steps::before{content:"";position:absolute;top:22px;right:16%;left:16%;height:2px;background:repeating-linear-gradient(to left,#ecc3d0 0 8px,transparent 8px 14px)}
.bs-ws-step{position:relative;text-align:center;padding:0 10px}
.bs-ws-step__num{position:relative;display:grid;place-items:center;width:46px;height:46px;margin:0 auto 14px;border-radius:50%;background:#fff;border:2px solid #ecc3d0;color:var(--ws-accent);font-size:16px;font-weight:600}
.bs-ws-step h3{margin:0 0 4px;font-size:15px;font-weight:600}
.bs-ws-step p{margin:0 auto;max-width:240px;font-size:13px;line-height:1.95;color:var(--ws-text)}

/* 4) form card */
.bs-ws-apply{scroll-margin-top:120px}
.bs-ws-card{
  display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:28px;
  max-width:1060px;margin:0 auto;padding:18px;
  background:#fff;border-radius:24px;box-shadow:0 10px 35px rgba(76,52,71,.08);
}
.bs-ws-aside{padding:26px 22px;border-radius:18px;background:linear-gradient(160deg,#fff6f8,#faf5fc)}
.bs-ws-aside h2{margin:0 0 6px;font-size:17px;font-weight:600;line-height:1.6}
.bs-ws-aside > p{margin:0 0 18px;font-size:13.5px;line-height:2;color:var(--ws-text)}
.bs-ws-checks{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}
.bs-ws-checks li{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.9;color:#4d4352}
.bs-ws-checks svg{flex:0 0 20px;width:20px;height:20px;padding:3px;border-radius:50%;background:#fff;color:var(--ws-accent);stroke-width:2.4}
.bs-ws-aside__help{margin-top:22px;padding-top:16px;border-top:1px dashed #ecd5de;font-size:12.5px;color:var(--ws-text)}
.bs-ws-aside__help a{color:var(--ws-accent);font-weight:600}

.bs-ws-main{position:relative;padding:20px 12px 12px 4px;min-width:0}
.bs-ws-main h3{margin:0 0 4px;font-size:16px;font-weight:600}
.bs-ws-main > p{margin:0 0 18px;font-size:13px;color:var(--ws-text)}
.bs-ws-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.bs-ws-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.bs-ws-field--full{grid-column:1/-1}
.bs-ws-field label,.bs-ws-legend{font-size:12.5px;font-weight:600;color:#4d4352;padding:0}
.bs-ws-field label em,.bs-ws-legend em{font-style:normal;color:var(--ws-accent);margin-inline-start:2px}
.bs-ws-field label span{font-weight:400;color:var(--ws-muted)}
.bs-ws-input{
  width:100%;height:46px;padding:0 14px;border:1px solid var(--ws-line);border-radius:12px;
  background:var(--ws-field);font:inherit;font-size:14px;color:var(--ws-ink);outline:0;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
select.bs-ws-input{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b919c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:left 12px center;background-size:16px;padding-left:36px}
textarea.bs-ws-input{height:auto;min-height:96px;padding:12px 14px;resize:vertical;line-height:1.9}
.bs-ws-input::placeholder{color:#b3a9b4}
.bs-ws-input:hover{border-color:#e4d3dc}
.bs-ws-input:focus{background:#fff;border-color:#dba2b3;box-shadow:0 0 0 4px rgba(196,89,117,.08)}
.bs-ws-input[dir="ltr"]{text-align:right}
.bs-ws-input[dir="ltr"]:placeholder-shown{direction:rtl}
.bs-ws-input[readonly]{background:#f6f3f5;color:#6f6672;cursor:not-allowed}
.bs-ws-field.is-invalid .bs-ws-input{border-color:#e39aab;background:#fff}
.bs-ws-error{display:none;font-size:11.5px;color:#c24b66}
.bs-ws-field.is-invalid .bs-ws-error{display:block}
.bs-ws-hint{font-size:11.5px;color:var(--ws-muted)}

.bs-ws-types{grid-column:1/-1;border:0;margin:0;padding:0;min-width:0}
.bs-ws-types .bs-ws-legend{display:block;margin-bottom:8px}
.bs-ws-chipset{display:flex;flex-wrap:wrap;gap:8px}
.bs-ws-chip{position:relative}
.bs-ws-chip input{position:absolute;opacity:0;pointer-events:none}
.bs-ws-chip span{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border:1px solid var(--ws-line);border-radius:999px;background:#fff;font-size:13px;color:#5f5663;cursor:pointer;transition:border-color .16s ease,background .16s ease,color .16s ease}
.bs-ws-chip span:hover{border-color:#e4c4cf}
.bs-ws-chip input:checked + span{background:var(--ws-accent-soft);border-color:#e7a9bb;color:var(--ws-accent-dark);font-weight:600}
.bs-ws-chip input:focus-visible + span{box-shadow:0 0 0 3px rgba(196,89,117,.18)}
.bs-ws-types.is-invalid .bs-ws-chip span{border-color:#e39aab}
.bs-ws-types .bs-ws-error{margin-top:6px}
.bs-ws-types.is-invalid .bs-ws-error{display:block}

.bs-ws-account{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px;border-radius:14px;background:#fbf8fa;border:1px dashed #ecd5de}
.bs-ws-account__head{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;font-size:12.5px;color:var(--ws-text)}
.bs-ws-account__head b{color:var(--ws-ink);font-weight:600}
.bs-ws-account__head a{color:var(--ws-accent);font-weight:600}
.bs-ws-account[hidden]{display:none}
.bs-ws-pass{position:relative}
.bs-ws-pass .bs-ws-input{padding-left:44px}
.bs-ws-pass button{position:absolute;left:6px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:8px;background:transparent;color:var(--ws-muted);cursor:pointer;display:grid;place-items:center}
.bs-ws-pass button:hover{color:var(--ws-accent)}
.bs-ws-pass svg{width:18px;height:18px}

.bs-ws-hp{position:absolute!important;top:0;inset-inline-start:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);opacity:0;pointer-events:none}
.bs-ws-consent{grid-column:1/-1;display:flex;align-items:flex-start;gap:8px;font-size:12.5px;color:var(--ws-text);line-height:1.9;cursor:pointer}
.bs-ws-consent input{margin-top:5px;accent-color:var(--ws-accent)}
.bs-ws-alert{grid-column:1/-1;display:none;padding:10px 14px;border-radius:10px;background:#fdf0f2;color:#b0405a;font-size:12.5px}
.bs-ws-alert.is-visible{display:block}
.bs-ws-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:14px}
.bs-ws-actions small{font-size:11.5px;color:var(--ws-muted)}
.bs-ws-submit{min-width:190px}
.bs-ws-submit .bs-ws-spinner{display:none;width:16px;height:16px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:bsWsSpin .7s linear infinite}
.bs-ws-submit.is-loading .bs-ws-spinner{display:block}
.bs-ws-submit:disabled{opacity:.75;cursor:progress;transform:none}
@keyframes bsWsSpin{to{transform:rotate(360deg)}}

/* status panels (pending / approved / rejected / sent) */
.bs-ws-status{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:100%;padding:36px 16px;animation:bsWsIn .3s ease}
.bs-ws-status[hidden]{display:none}
.bs-ws-status__icon{display:grid;place-items:center;width:66px;height:66px;border-radius:50%;margin-bottom:16px}
.bs-ws-status__icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bs-ws-status h3{margin:0 0 6px;font-size:18px;font-weight:600}
.bs-ws-status p{margin:0 0 18px;max-width:380px;font-size:13.5px;line-height:2;color:var(--ws-text)}
.bs-ws-status__meta{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:-6px 0 18px}
.bs-ws-status__meta span{padding:4px 12px;border-radius:999px;background:#f6f3f5;font-size:12px;color:#5f5663}
.bs-ws-status__reason{max-width:400px;margin:0 0 18px;padding:12px 14px;border-radius:12px;background:#fdf0f2;color:#8d3a4f;font-size:13px;line-height:1.9;text-align:right}
.bs-ws-status--pending .bs-ws-status__icon{background:#fff4e0;color:#b07a1a}
.bs-ws-status--approved .bs-ws-status__icon{background:#e7f5ec;color:#2f7d4c}
.bs-ws-status--rejected .bs-ws-status__icon{background:#fdf0f2;color:#c24b66}
.bs-ws-status--sent .bs-ws-status__icon{background:var(--ws-accent-soft);color:var(--ws-accent)}
@keyframes bsWsIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* 5) FAQ */
.bs-ws-faq{max-width:780px;margin:0 auto}
.bs-ws-faq details{border:1px solid var(--ws-line);border-radius:14px;background:#fff;margin-bottom:10px;transition:border-color .18s ease}
.bs-ws-faq details[open]{border-color:#ecc3d0}
.bs-ws-faq summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;font-size:14px;font-weight:600;cursor:pointer;list-style:none}
.bs-ws-faq summary::-webkit-details-marker{display:none}
.bs-ws-faq summary::after{content:"";flex:0 0 auto;width:8px;height:8px;border-inline-end:1.8px solid var(--ws-accent);border-bottom:1.8px solid var(--ws-accent);transform:rotate(45deg);transition:transform .2s ease;margin-top:-4px}
.bs-ws-faq details[open] summary::after{transform:rotate(225deg);margin-top:4px}
.bs-ws-faq details p{margin:0;padding:0 18px 16px;font-size:13.5px;line-height:2;color:var(--ws-text)}

/* 6) final CTA */
.bs-ws-final{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:28px clamp(22px,4vw,44px);border-radius:24px;background:linear-gradient(120deg,#c45975,#b0628f)}
.bs-ws-final h2{margin:0 0 4px;font-size:clamp(18px,2vw,23px);font-weight:600;color:#fff}
.bs-ws-final p{margin:0;font-size:13.5px;color:rgba(255,255,255,.85)}
.bs-ws-final .bs-ws-btn{background:#fff;color:var(--ws-accent);box-shadow:none}
.bs-ws-final .bs-ws-btn:hover{background:#fff4f7}

/* responsive */
@media (max-width:1023px){
  .bs-ws-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bs-ws-card{grid-template-columns:1fr;gap:10px}
  .bs-ws-main{order:-1;padding:14px 8px 6px}
}
@media (max-width:767px){
  .bs-ws{padding-bottom:40px}
  .bs-ws-hero{grid-template-columns:1fr;gap:22px;padding:24px 18px;border-radius:22px}
  .bs-ws-hero__media{order:-1}
  .bs-ws-hero__frame{aspect-ratio:16/10;border-radius:18px}
  .bs-ws-hero__badge{right:10px;bottom:-14px;padding:8px 12px}
  .bs-ws-hero p{font-size:14px}
  .bs-ws-hero__actions .bs-ws-btn{flex:1 1 auto}
  .bs-ws-benefits{gap:10px}
  .bs-ws-benefit{padding:18px 14px}
  .bs-ws-benefit h3{font-size:14.5px}
  .bs-ws-benefit p{font-size:12.5px}
  .bs-ws-steps{grid-template-columns:1fr;gap:18px}
  .bs-ws-steps::before{top:23px;bottom:23px;right:22px;left:auto;width:2px;height:auto;background:repeating-linear-gradient(to bottom,#ecc3d0 0 8px,transparent 8px 14px)}
  .bs-ws-step{display:grid;grid-template-columns:46px 1fr;gap:4px 14px;text-align:right;padding:0}
  .bs-ws-step__num{grid-row:span 2;margin:0}
  .bs-ws-step p{margin:0;max-width:none}
  .bs-ws-card{padding:12px;border-radius:20px}
  .bs-ws-form,.bs-ws-account{grid-template-columns:1fr;gap:12px}
  .bs-ws-input{font-size:16px}
  .bs-ws-actions{flex-direction:column-reverse;align-items:stretch}
  .bs-ws-submit{width:100%}
  .bs-ws-actions small{text-align:center}
  .bs-ws-final{flex-direction:column;align-items:stretch;text-align:center}
}
@media (max-width:380px){.bs-ws-benefits{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.bs-ws-benefit,.bs-ws-btn{transition:none}.bs-ws-status{animation:none}}
