/* Car loader (outdoor-accessories category) */
.box-lab{margin-top:28px;margin-bottom:8px}
.bx-head{max-width:680px;margin-bottom:18px}
.bx-head h2{margin:.2em 0 .25em;font-size:clamp(22px,2.6vw,32px);line-height:1.35}
.bx-head p{margin:0;color:var(--muted);font-size:14px}
.bx-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,480px);gap:22px;align-items:start}
.bx-side{display:flex;flex-direction:column;gap:14px;min-width:0}

.bx-control{background:#fbfaf6;border:1px solid var(--line);border-radius:22px;padding:4px 18px}
.bx-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:12px 0;border-bottom:1px dashed var(--line)}
.bx-row:last-child{border-bottom:0}
.bx-row-label{font-size:13px;font-weight:700;min-width:74px}
.bx-seg{display:inline-flex;background:#efede4;border-radius:999px;padding:3px}
.bx-car{border:0;background:none;border-radius:999px;padding:7px 16px;font:inherit;font-size:13px;color:var(--ink);cursor:pointer;transition:background .2s,color .2s}
.bx-car small{opacity:.7;font-size:11px}
.bx-car.is-on{background:var(--forest);color:#fff}
.bx-stepper{display:inline-flex;align-items:center;gap:4px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:3px}
.bx-step{width:32px;height:32px;border-radius:50%;border:0;background:#efede4;font:inherit;font-size:18px;line-height:1;cursor:pointer;color:var(--ink)}
.bx-step:hover:not([disabled]){background:#e2e6d5}
.bx-step[disabled]{opacity:.35;cursor:not-allowed}
.bx-val{min-width:2ch;text-align:center;font-size:20px;font-weight:800;color:var(--forest)}
.bx-opts{display:flex;flex-wrap:wrap;gap:8px}
.bx-opt{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 14px;font:inherit;font-size:13px;color:var(--ink);cursor:pointer}
.bx-dot{width:14px;height:14px;border-radius:4px;border:1.5px solid #b9b5a6;transition:all .2s}
.bx-opt.is-on{border-color:var(--olive);background:rgba(104,115,75,.1)}
.bx-opt.is-on .bx-dot{background:var(--forest);border-color:var(--forest);box-shadow:inset 0 0 0 2px #fff}

.bx-result{background:#fbfaf6;border:1px solid var(--line);border-radius:22px;padding:14px 18px 16px;display:flex;flex-direction:column;gap:10px}
.bx-verdict{margin:0;padding:10px 14px;border-radius:14px;font-size:13.5px;font-weight:700;line-height:1.7}
.bx-verdict.is-good{background:#eef1e6;color:var(--forest)}
.bx-verdict.is-bad{background:#fbe9e2;color:#9a3a1c}
.bx-meter{display:grid;grid-template-columns:76px 1fr auto;gap:10px;align-items:center;font-size:12px;color:var(--muted)}
.bx-bar{display:block;height:10px;border-radius:5px;background:#e8e4d8;overflow:hidden}
.bx-bar b{display:block;height:100%;width:0;background:var(--forest);border-radius:5px;transition:width .5s}
.bx-bar .bx-bar-box{background:#c8693c}
.bx-pick{display:grid;grid-template-columns:24px 64px 1fr;gap:12px;align-items:center;padding-top:10px;border-top:1px dashed var(--line)}
.bx-pick[hidden]{display:none}
.bx-pick-img{width:64px;height:64px;object-fit:cover;border-radius:12px;background:#efede4}
.bx-pick-body{display:flex;flex-direction:column;min-width:0}
.bx-pick-badge{font-size:11px;color:var(--olive);font-weight:700}
.bx-pick-name{font-weight:700;color:var(--ink);text-decoration:none;line-height:1.5}
.bx-pick-name:hover{text-decoration:underline}
.bx-pick-price{font-size:13px;color:var(--muted)}
.bx-crate{position:relative;display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--ink);cursor:pointer;line-height:1.7}
.bx-crate input{position:absolute;opacity:0;width:0;height:0}
.bx-crate span{flex:0 0 18px;width:18px;height:18px;border-radius:5px;border:1.5px solid #b9b5a6;background:#fff;transition:all .2s}
.bx-crate input:checked+span{background:var(--forest);border-color:var(--forest);box-shadow:inset 0 0 0 3px #fff}
.bx-crate input:focus-visible+span{outline:2px solid var(--olive);outline-offset:2px}
.bx-add{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.bx-add .icon{width:17px;height:17px}
.bx-add[disabled]{opacity:.5;cursor:not-allowed}
.bx-msg{margin:0;font-size:13px;color:var(--forest)}
.bx-msg a{color:inherit;font-weight:700}

.bx-stage{position:sticky;top:110px;border-radius:26px;overflow:hidden;background:linear-gradient(180deg,#fffdf9,#fbf9f3);border:1px solid rgba(37,60,49,.1);box-shadow:0 26px 50px -30px rgba(31,45,36,.55)}
.bx-scene{display:block;width:100%;height:auto;aspect-ratio:300/440;max-height:72vh}
.bx-cell{fill:rgba(255,255,255,.03);stroke:rgba(255,255,255,.07);stroke-width:.8}
.bx-box-g .bx-cell{fill:rgba(255,255,255,.04)}
.bx-cell.is-blocked{fill:none;stroke:none}
.bx-box-shell{stroke:#000;stroke-width:1}
.bx-box-g.is-empty{display:none}
.bx-item{filter:drop-shadow(0 1.4px 1.2px rgba(0,0,0,.55))}
.bx-pop{animation:bx-pop .4s cubic-bezier(.3,1.5,.5,1) both}
@keyframes bx-pop{from{transform:translateY(-10px)}}
.bx-legend{list-style:none;margin:0;padding:12px 16px 8px;display:flex;flex-wrap:wrap;gap:4px 12px;font-size:11.5px;color:#4a4f45}
.bx-legend li{display:inline-flex;align-items:center;gap:5px}
.bx-legend i{width:10px;height:10px;border-radius:3px}
.bx-overflow{margin:0;padding:4px 16px 14px;font-size:12px;color:#9a3a1c;font-weight:700}

@media (max-width:900px){
 .bx-grid{grid-template-columns:1fr}
 .bx-stage{order:-1;position:sticky;top:84px;z-index:3;display:grid;grid-template-columns:auto 1fr;align-items:center}
 .bx-scene{height:min(250px,32vh);width:auto;max-height:none}
 .bx-legend{padding:8px;align-self:start;font-size:11px}
 .bx-overflow{grid-column:1 / -1}
 .bx-control{padding:4px 14px}
 .bx-result{padding:14px}
}
@media (prefers-reduced-motion:reduce){.bx-pop{animation:none}}

/* add-to-cart: compact, left-aligned like the other planners */
.bx-buy{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.bx-sum{display:flex;flex-direction:column;font-size:12px;color:var(--muted)}
.bx-sum strong{font-size:17px;color:var(--ink)}
@media (max-width:900px){.bx-add{flex:1}}

/* per-item checkbox (same look as the tools planner) */
.pl-check{position:relative;display:inline-flex;cursor:pointer;align-self:center}
.pl-check input{position:absolute;opacity:0;width:0;height:0}
.pl-check span{width:20px;height:20px;border-radius:6px;border:1.5px solid #b9b5a6;background:#fff;transition:all .2s}
.pl-check input:checked+span{background:var(--forest);border-color:var(--forest);box-shadow:inset 0 0 0 3px #fff}
.pl-check input:focus-visible+span{outline:2px solid var(--olive);outline-offset:2px}
.is-unchecked img,.is-unchecked [class$="-body"],.is-unchecked [class$="-price"]{opacity:.45;transition:opacity .2s}

/* =====================================================================
   Realistic look (matches the fitting room): framed module, card styling,
   result card with an empty state
   ===================================================================== */
.bx-shell{position:relative;padding:clamp(18px,2.6vw,32px);border-radius:32px;border:1px solid rgba(37,60,49,.09);
 background:radial-gradient(70% 60% at 100% 0,rgba(240,160,58,.07),rgba(240,160,58,0) 70%),radial-gradient(60% 60% at 0 100%,rgba(104,115,75,.1),rgba(104,115,75,0) 70%),linear-gradient(180deg,#f4f1e8,#f8f6f0);
 box-shadow:0 30px 60px -40px rgba(31,45,36,.35)}
.bx-eyebrow{display:inline-block;font-size:13px;font-weight:700;color:var(--ember-deep,#a8501a)}
.bx-head{margin-bottom:22px}
.bx-head h2{margin:.45em 0 .3em;font-size:clamp(24px,3vw,36px);line-height:1.3;color:var(--ink)}
.bx-head p{font-size:14.5px;line-height:1.9}
@media (min-width:901px){.bx-grid{gap:24px}}
.bx-side{gap:18px}
.bx-control,.bx-result{border-radius:26px;border:1px solid rgba(37,60,49,.1);background:linear-gradient(180deg,#fffdf9,#fbf9f3);box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 22px 40px -30px rgba(31,45,36,.45)}
.bx-pick-img{border-radius:16px}
.bx-add{min-height:46px;padding-inline:20px;border-radius:14px;box-shadow:0 12px 24px -12px rgba(227,119,43,.65)}
.bx-result-head{display:flex;align-items:center;justify-content:space-between}
.bx-result-head strong{font-size:16px;color:var(--ink)}
.bx-empty{display:none}
.box-lab.is-empty .bx-empty{display:block}
.box-lab.is-empty .bx-verdict,.box-lab.is-empty .bx-meter,.box-lab.is-empty .bx-pick,.box-lab.is-empty .bx-crate,.box-lab.is-empty .bx-buy,.box-lab.is-empty .bx-msg,.box-lab.is-empty .bx-legend{display:none}
.bx-empty-box{display:flex;flex-direction:column;align-items:center;gap:4px;padding:18px 12px;border:1.5px dashed rgba(37,60,49,.18);border-radius:18px;text-align:center;background:rgba(255,255,255,.55)}
.bx-empty-box svg{width:40px;height:36px;fill:none;stroke:var(--olive,#68734b);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin-bottom:4px;opacity:.85}
.bx-empty-box b{font-size:13.5px;color:var(--forest)}
.bx-empty-box small{font-size:12px;color:var(--muted);line-height:1.8;max-width:330px}
.bx-empty-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px;padding-top:14px;border-top:1px solid rgba(37,60,49,.12)}
.bx-empty-sum{display:flex;flex-direction:column;font-size:12px;color:var(--muted)}
.bx-empty-sum strong{font-size:20px;font-weight:800;color:var(--ink)}
.bx-add-ghost[disabled]{opacity:.45;cursor:not-allowed;box-shadow:none;filter:grayscale(.4)}
@media (max-width:900px){
 .bx-stage{border-radius:20px;box-shadow:0 10px 24px rgba(20,41,46,.16)}
 .bx-empty-foot .bx-add{flex:0 0 auto}
}
@media (max-width:600px){
 .bx-shell{padding:16px 12px;border-radius:24px;margin-inline:-4px}
 .bx-add{min-height:40px;padding-inline:14px}
}
@media (max-width:900px){.box-lab.is-empty .bx-stage{grid-template-columns:1fr;justify-items:center;background:#6c6b66}}
/* the whole car fits in one view: shorter scene, car scaled to fit, asphalt fills the sides */
@media (min-width:901px){
 .bx-scene{width:100%;height:min(400px,50vh);aspect-ratio:auto;max-height:none;background:#6c6b66}
}
