/* ==========================================================================
   5 Boro Laundry — Wash & Fold Pricing Calculator
   Brand tokens live at the top. Everything is namespaced under .fbpc so it
   cannot collide with the theme.
   ========================================================================== */

.fbpc{
  --fbpc-blue:#1414A0;
  --fbpc-blue-dark:#0C0C72;
  --fbpc-blue-text:#1E1E9B;
  --fbpc-blue-tint:#EDEDFA;
  --fbpc-yellow:#FFD429;
  --fbpc-yellow-dark:#F0BE0E;
  --fbpc-ink:#1B2A44;
  --fbpc-slate:#55657A;
  --fbpc-slate-soft:#8794A6;
  --fbpc-surface:#FFFFFF;
  --fbpc-row-alt:#F7F7FA;
  --fbpc-line:#E4E6F0;
  --fbpc-line-soft:#F0F1F7;
  --fbpc-font-head:'Quicksand','Poppins',sans-serif;
  --fbpc-font-body:'Poppins',sans-serif;
  --fbpc-r-sm:8px; --fbpc-r-md:12px; --fbpc-r-lg:18px;
  --fbpc-shadow:0 2px 4px rgba(20,20,160,.04), 0 14px 34px rgba(20,20,160,.08);
  --fbpc-shadow-lift:0 6px 12px rgba(20,20,160,.07), 0 24px 56px rgba(20,20,160,.14);

  font-family:var(--fbpc-font-body);
  color:var(--fbpc-slate);
  line-height:1.55;
  max-width:1120px;
  margin:0 auto;
}
.fbpc *{box-sizing:border-box}
.fbpc h2,.fbpc h3,.fbpc h4{font-family:var(--fbpc-font-head);color:var(--fbpc-ink);margin:0}
.fbpc button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
.fbpc :focus-visible{outline:3px solid var(--fbpc-yellow);outline-offset:2px;border-radius:4px}

/* --- ZIP card ----------------------------------------------------------- */
.fbpc-zipcard{background:var(--fbpc-blue);border-radius:var(--fbpc-r-md);padding:34px 36px 36px;
  color:#fff;position:relative;overflow:hidden;margin-bottom:26px;box-shadow:var(--fbpc-shadow-lift)}
.fbpc-zipcard.is-hidden{display:none}
.fbpc-zipcard::before{content:"";position:absolute;left:36px;bottom:24px;width:74px;height:44px;
  background-image:radial-gradient(rgba(255,255,255,.22) 1.4px,transparent 1.4px);
  background-size:11px 11px;pointer-events:none}
.fbpc-rule{display:block;width:38px;height:3px;background:var(--fbpc-yellow);border-radius:2px;margin-bottom:14px}
.fbpc-eyebrow{color:var(--fbpc-yellow);font-weight:600;font-size:15px;margin:0 0 6px}
.fbpc-zipcard h2{color:#fff;font-size:clamp(26px,3.6vw,34px);font-weight:700;line-height:1.15}
.fbpc-sub{color:rgba(255,255,255,.88);font-size:15px;margin:8px 0 0;max-width:56ch}
.fbpc-zipform{display:flex;gap:12px;margin-top:20px;flex-wrap:wrap;max-width:620px;position:relative;z-index:2}
.fbpc-zip{flex:1 1 240px;min-width:0;padding:16px 18px;border:1.5px solid rgba(255,255,255,.45);
  border-radius:var(--fbpc-r-sm);background:transparent;color:#fff;font-size:16px;letter-spacing:.05em}
.fbpc-zip::placeholder{color:rgba(255,255,255,.65);letter-spacing:normal}
.fbpc-zip:focus{border-color:var(--fbpc-yellow);background:rgba(255,255,255,.07);outline:none}
.fbpc-zip.is-err{border-color:#FF8A8A}

.fbpc-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border-radius:var(--fbpc-r-sm);background:var(--fbpc-yellow);color:var(--fbpc-blue);
  padding:16px 30px;font-size:14.5px;letter-spacing:.09em;text-transform:uppercase;font-weight:700;
  text-decoration:none;transition:background .16s,transform .1s}
.fbpc-btn:hover,.fbpc-btn:focus{background:var(--fbpc-yellow-dark);color:var(--fbpc-blue);text-decoration:none}
.fbpc-btn:active{transform:translateY(1px)}
.fbpc-btn-block{width:100%;padding:17px 24px;margin-top:16px}

.fbpc-zipmsg{display:none;margin-top:16px;font-size:14.5px;padding:12px 15px;
  border-radius:var(--fbpc-r-sm);max-width:620px;position:relative;z-index:2;line-height:1.5}
.fbpc-zipmsg.is-on{display:block}
.fbpc-zipmsg.is-ok{background:rgba(255,212,41,.15);color:#FFE99A;border:1px solid rgba(255,212,41,.4)}
.fbpc-zipmsg.is-ok b{color:var(--fbpc-yellow)}
.fbpc-zipmsg.is-no{background:rgba(255,255,255,.1);color:#FFD9D9;border:1px solid rgba(255,150,150,.4)}
.fbpc-zipmsg.is-no b{color:#fff}

/* --- lock --------------------------------------------------------------- */
.fbpc-calc{position:relative}
/* Space left above the section when it is scrolled into view — set to your sticky header's height. */
.fbpc-calc,.fbpc-zipcard{scroll-margin-top:110px}
@media (max-width:680px){.fbpc-calc,.fbpc-zipcard{scroll-margin-top:80px}}
.fbpc-calc.is-locked .fbpc-grid{filter:blur(3px) saturate(.5);opacity:.45;pointer-events:none;user-select:none}
.fbpc-lock{position:absolute;inset:0;z-index:5;display:flex;justify-content:center;padding-top:90px}
.fbpc-lock span{background:var(--fbpc-surface);border:1px solid var(--fbpc-line);border-radius:100px;
  padding:13px 24px;font-size:15px;font-weight:500;color:var(--fbpc-blue);box-shadow:var(--fbpc-shadow)}
.fbpc-calc:not(.is-locked) .fbpc-lock{display:none}

.fbpc-grid{display:grid;grid-template-columns:minmax(0,1fr) 352px;gap:24px;align-items:start}

.fbpc-card{background:var(--fbpc-surface);border-radius:var(--fbpc-r-lg);box-shadow:var(--fbpc-shadow);
  border:1px solid var(--fbpc-line-soft);overflow:hidden;margin-bottom:20px}
.fbpc-card-head{display:flex;align-items:center;gap:12px;padding:20px 26px;background:var(--fbpc-blue);color:#fff}
.fbpc-card-head svg{width:26px;height:26px;flex:0 0 auto;color:var(--fbpc-yellow)}
.fbpc-card-head h3{color:#fff;font-size:19px;font-weight:700}
.fbpc-card-head p{font-size:13.5px;color:rgba(255,255,255,.82);margin:1px 0 0}

/* --- rate strip --------------------------------------------------------- */
.fbpc-strip{display:flex;flex-wrap:wrap;border-bottom:1px solid var(--fbpc-line);background:#FBFBFE}
.fbpc-strip>div{flex:1 1 150px;padding:15px 22px;border-right:1px solid var(--fbpc-line-soft)}
.fbpc-strip>div:last-child{border-right:0}
.fbpc-strip .k{display:block;font-size:12px;color:var(--fbpc-slate-soft)}
.fbpc-strip .v{display:block;font-family:var(--fbpc-font-head);font-weight:700;font-size:17px;
  color:var(--fbpc-blue);margin-top:1px}

/* --- slider ------------------------------------------------------------- */
.fbpc-slider{padding:28px 26px 26px}
.fbpc-readout{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;
  flex-wrap:wrap;margin-bottom:18px}
.fbpc-readout .lbl{display:block;font-size:13.5px;color:var(--fbpc-slate-soft);margin-bottom:6px}
.fbpc-readout .fbpc-right{text-align:right}
.fbpc-readout .lbs{display:block;font-family:var(--fbpc-font-head);font-size:38px;font-weight:700;
  color:var(--fbpc-ink);line-height:1;font-variant-numeric:tabular-nums}
.fbpc-readout .lbs small{font-size:18px;font-weight:600;color:var(--fbpc-slate-soft);margin-left:5px}
.fbpc-readout .price{display:block;font-family:var(--fbpc-font-head);font-size:38px;font-weight:700;
  color:var(--fbpc-blue);line-height:1;font-variant-numeric:tabular-nums;text-align:right}

.fbpc-slidewrap{display:flex;align-items:center;gap:12px}
.fbpc-step{width:38px;height:38px;flex:0 0 auto;border:1.5px solid var(--fbpc-line);border-radius:10px;
  background:#fff;font-size:20px;font-weight:600;color:var(--fbpc-blue);line-height:1;
  display:flex;align-items:center;justify-content:center;transition:.14s}
.fbpc-step:hover{border-color:var(--fbpc-blue);background:var(--fbpc-blue-tint)}
.fbpc-range{-webkit-appearance:none;appearance:none;flex:1 1 auto;min-width:0;height:10px;
  border-radius:6px;padding:0;margin:0;border:0;
  background:linear-gradient(90deg,var(--fbpc-blue) var(--fbpc-fill,0%),#DEE1EC var(--fbpc-fill,0%));cursor:pointer}
.fbpc-range::-webkit-slider-thumb{-webkit-appearance:none;width:28px;height:28px;border-radius:50%;
  background:var(--fbpc-yellow);border:4px solid var(--fbpc-blue);
  box-shadow:0 2px 6px rgba(20,20,160,.3);cursor:grab}
.fbpc-range::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:var(--fbpc-yellow);
  border:4px solid var(--fbpc-blue);box-shadow:0 2px 6px rgba(20,20,160,.3);cursor:grab}
.fbpc-scale{display:flex;justify-content:space-between;font-size:12px;color:var(--fbpc-slate-soft);
  margin:8px 50px 0;font-variant-numeric:tabular-nums}

.fbpc-minnote{margin-top:18px;padding:13px 16px;border-radius:var(--fbpc-r-sm);font-size:14px;
  line-height:1.5;background:var(--fbpc-blue-tint);color:var(--fbpc-blue-dark);
  border:1px solid rgba(20,20,160,.12)}
.fbpc-minnote.is-over{background:#FFF9E3;border-color:rgba(240,190,14,.4);color:#7A5B00}
.fbpc-minnote b{font-weight:700}

.fbpc-chips{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}
.fbpc-chip{border:1.5px solid var(--fbpc-line);background:#fff;border-radius:100px;padding:9px 16px;
  font-size:13.5px;font-weight:500;color:var(--fbpc-slate);transition:.14s}
.fbpc-chip:hover{border-color:var(--fbpc-blue);color:var(--fbpc-blue);background:var(--fbpc-blue-tint)}
.fbpc-chip[aria-pressed="true"]{background:var(--fbpc-blue);border-color:var(--fbpc-blue);color:#fff}
.fbpc-chip span{opacity:.7}

/* --- dry cleaning reference --------------------------------------------- */
.fbpc-dc-head{padding:20px 26px 6px}
.fbpc-dc-head h3{font-size:18px;font-weight:700}
.fbpc-dc-head p{font-size:14px;color:var(--fbpc-slate-soft);margin:4px 0 0;max-width:62ch}
.fbpc-dc-table{padding:10px 26px 8px}
.fbpc-dc-row{display:flex;justify-content:space-between;gap:16px;padding:11px 12px;margin:0 -12px;
  border-radius:var(--fbpc-r-sm);border-bottom:1px solid var(--fbpc-line-soft);font-size:14.5px}
.fbpc-dc-row:nth-child(even){background:var(--fbpc-row-alt)}
.fbpc-dc-row:last-child{border-bottom:0}
.fbpc-dc-row .n{color:var(--fbpc-blue-text);font-weight:600}
.fbpc-dc-row .p{font-family:var(--fbpc-font-head);font-weight:700;color:var(--fbpc-ink);
  font-variant-numeric:tabular-nums}
.fbpc-dc-foot{padding:16px 26px 22px;font-size:13.5px;color:var(--fbpc-slate-soft);
  border-top:1px solid var(--fbpc-line-soft);margin-top:6px}
.fbpc-dc-foot span{display:block}
.fbpc-dc-link{display:inline-block;margin-top:8px;color:var(--fbpc-blue-text);font-weight:600;
  font-size:14.5px;text-decoration:none;border-bottom:2px solid var(--fbpc-yellow);padding-bottom:2px}
.fbpc-dc-link:hover,.fbpc-dc-link:focus{color:var(--fbpc-blue);border-bottom-color:var(--fbpc-blue)}

/* --- summary ------------------------------------------------------------ */
.fbpc-summary{position:sticky;top:18px}
.fbpc-sum-card{background:var(--fbpc-surface);border-radius:var(--fbpc-r-lg);
  box-shadow:var(--fbpc-shadow-lift);border:1px solid var(--fbpc-line-soft);overflow:hidden}
.fbpc-sum-head{background:var(--fbpc-blue);color:#fff;padding:24px;position:relative;overflow:hidden}
.fbpc-sum-head::before{content:"";position:absolute;right:-20px;bottom:-30px;width:120px;height:120px;
  border-radius:50%;background:rgba(255,255,255,.05)}
.fbpc-sum-head .lbl{display:block;font-size:13.5px;color:rgba(255,255,255,.85)}
.fbpc-sum-head .big{display:block;font-family:var(--fbpc-font-head);font-size:46px;font-weight:700;
  line-height:1.05;letter-spacing:-.02em;color:var(--fbpc-yellow);font-variant-numeric:tabular-nums;
  margin-top:2px;transition:opacity .12s}
.fbpc-sum-head .big.is-flash{opacity:.5}
.fbpc-sum-head .zipline{display:block;font-size:13.5px;color:rgba(255,255,255,.9);margin-top:9px;
  position:relative;z-index:2}
.fbpc-sum-body{padding:18px 24px 4px}
.fbpc-srow{display:flex;justify-content:space-between;gap:12px;font-size:14px;padding:5px 0}
.fbpc-srow .l{color:var(--fbpc-slate)}
.fbpc-srow .v{font-weight:600;color:var(--fbpc-ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.fbpc-incl{border-top:1px solid var(--fbpc-line-soft);margin-top:12px;padding-top:14px}
.fbpc-incl h4{font-size:12.5px;color:var(--fbpc-slate-soft);font-weight:600;margin-bottom:8px}
.fbpc-incl ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}
.fbpc-incl li{position:relative;padding-left:22px;font-size:13.5px;color:var(--fbpc-slate);line-height:1.4}
.fbpc-incl li::before{content:"";position:absolute;left:0;top:5px;width:13px;height:7px;
  border-left:2.5px solid var(--fbpc-blue);border-bottom:2.5px solid var(--fbpc-blue);
  transform:rotate(-45deg)}
.fbpc-sum-foot{border-top:1px solid var(--fbpc-line);padding:16px 24px 22px;margin-top:8px}
.fbpc-frow{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.fbpc-frow .l{font-family:var(--fbpc-font-head);font-weight:600;font-size:17px;color:var(--fbpc-ink)}
.fbpc-frow .v{font-family:var(--fbpc-font-head);font-weight:700;font-size:23px;color:var(--fbpc-blue);
  font-variant-numeric:tabular-nums}
.fbpc-fine{font-size:11.5px;color:var(--fbpc-slate-soft);margin:14px 0 0;line-height:1.55}

/* --- mobile bar --------------------------------------------------------- */
.fbpc-mobar{position:fixed;left:0;right:0;bottom:0;z-index:9990;display:none;
  background:var(--fbpc-surface);border-top:1px solid var(--fbpc-line);
  box-shadow:0 -6px 24px rgba(20,20,160,.14);
  padding:11px 16px calc(11px + env(safe-area-inset-bottom));align-items:center;gap:12px}
.fbpc-mobar .m-l{flex:1 1 auto;min-width:0}
.fbpc-mobar .m-lbl{display:block;font-size:12px;color:var(--fbpc-slate-soft)}
.fbpc-mobar .m-val{display:block;font-family:var(--fbpc-font-head);font-weight:700;font-size:22px;
  color:var(--fbpc-blue);font-variant-numeric:tabular-nums;line-height:1.15}
.fbpc-mobar .fbpc-btn{flex:0 0 auto;padding:14px 20px}

@media (max-width:1000px){
  .fbpc-grid{grid-template-columns:1fr}
  .fbpc-summary{position:static}
}
@media (max-width:680px){
  .fbpc-zipcard{padding:26px 20px 28px}
  .fbpc-zipcard::before{display:none}
  .fbpc-card-head,.fbpc-slider,.fbpc-dc-head,.fbpc-dc-table,.fbpc-dc-foot{padding-left:18px;padding-right:18px}
  .fbpc-strip>div{flex:1 1 100%;border-right:0;border-bottom:1px solid var(--fbpc-line-soft);padding:12px 18px}
  .fbpc-readout .lbs,.fbpc-readout .price{font-size:32px}
  .fbpc-scale{margin-left:0;margin-right:0}
  .fbpc-sum-head,.fbpc-sum-body,.fbpc-sum-foot{padding-left:20px;padding-right:20px}
  .fbpc-sum-foot .fbpc-btn-block{display:none}
  .fbpc-mobar.is-on{display:flex}
  .fbpc{padding-bottom:86px}
}
@media (prefers-reduced-motion:reduce){.fbpc *{transition:none !important}}
