/* Campfire set planner (camp-furniture category) */
.camp-set{margin-top:28px;margin-bottom:8px}
.cs-head{max-width:680px;margin-bottom:18px}
.cs-head h2{margin:.2em 0 .25em;font-size:clamp(22px,2.6vw,32px);line-height:1.35}
.cs-head p{margin:0;color:var(--muted);font-size:14px}

.cs-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,470px);gap:22px;align-items:start}
.cs-side{display:flex;flex-direction:column;gap:14px;min-width:0}

/* controls */
.cs-control{background:#fbfaf6;border:1px solid var(--line);border-radius:22px;padding:4px 18px}
.cs-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:12px 0;border-bottom:1px dashed var(--line)}
.cs-row:last-child{border-bottom:0}
.cs-row-label{font-size:13px;font-weight:700;min-width:84px}
.cs-row--styles .cs-row-label{min-width:100%}
.cs-stepper{display:inline-flex;align-items:center;gap:4px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:3px}
.cs-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)}
.cs-step:hover:not([disabled]){background:#e2e6d5}
.cs-step[disabled]{opacity:.35;cursor:not-allowed}
.cs-people-n{min-width:2ch;text-align:center;font-size:20px;font-weight:800;color:var(--forest)}
.cs-seg{display:inline-flex;background:#efede4;border-radius:999px;padding:3px}
.cs-opt{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}
.cs-opt.is-on{background:var(--forest);color:#fff}
.cs-styles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}
.cs-style{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;padding:10px 6px;border:1px solid var(--line);border-radius:16px;background:#fff;font:inherit;color:var(--ink);cursor:pointer;transition:border-color .2s,background .2s,opacity .2s}
.cs-style:hover:not([disabled]){border-color:var(--olive)}
.cs-style-icon{width:38px;height:38px;color:var(--forest)}
.cs-style strong{font-size:13px}
.cs-style small{font-size:11px;color:var(--muted);line-height:1.5}
.cs-style em{font-style:normal;font-size:11px;color:#a2482a;min-height:0}
.cs-style.is-on{border-color:var(--forest);background:#eef1e6;box-shadow:inset 0 0 0 1px var(--forest)}
.cs-style.is-off{opacity:.5;cursor:not-allowed}
.cs-toggle{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}
.cs-dot{width:14px;height:14px;border-radius:4px;border:1.5px solid #b9b5a6;transition:all .2s}
.cs-toggle.is-on{border-color:var(--olive);background:rgba(104,115,75,.1)}
.cs-toggle.is-on .cs-dot{background:var(--forest);border-color:var(--forest);box-shadow:inset 0 0 0 2px #fff}

/* result */
.cs-result{background:#fbfaf6;border:1px solid var(--line);border-radius:22px;padding:6px 18px 16px}
.cs-list{list-style:none;margin:0;padding:0}
.cs-item{display:grid;grid-template-columns:24px 56px 1fr auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px dashed var(--line);animation:cs-in .35s ease}
@keyframes cs-in{from{opacity:.3}}
.cs-item img{width:56px;height:56px;object-fit:cover;border-radius:12px;background:#efede4}
.cs-item-body{display:flex;flex-direction:column;min-width:0}
.cs-item-body a{font-weight:700;color:var(--ink);text-decoration:none;line-height:1.5}
.cs-item-body a:hover{text-decoration:underline}
.cs-item-meta{font-size:12px;color:var(--muted)}
.cs-item-price{font-size:13px;white-space:nowrap}
.cs-totals{display:flex;justify-content:space-between;gap:12px;margin:12px 0 4px}
.cs-totals div{display:flex;flex-direction:column;font-size:12px;color:var(--muted)}
.cs-totals strong{font-size:17px;color:var(--ink)}
.cs-note{margin:6px 0 12px;font-size:12.5px;color:var(--muted);line-height:1.8}
.cs-add{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%}
.cs-add .icon{width:17px;height:17px}
.cs-add[disabled]{opacity:.5;cursor:wait}
.cs-msg{margin:10px 0 0;font-size:13px;color:var(--forest)}
.cs-msg a{color:inherit;font-weight:700}

/* stage (left in RTL) */
.cs-stage{position:sticky;top:110px;border-radius:22px;overflow:hidden;aspect-ratio:400/300;background:#1c2340;box-shadow:0 18px 40px rgba(20,41,46,.18)}
.cs-scene{display:block;width:100%;height:100%}
.cs-star{animation:cs-twinkle 3.5s ease-in-out infinite}
@keyframes cs-twinkle{50%{opacity:.3}}
.cs-bulbs circle{fill:#ffd98a;animation:cs-bulb 2.6s ease-in-out infinite alternate}
@keyframes cs-bulb{to{fill:#ffb347;opacity:.65}}
.cs-glow{animation:cs-glow 2.4s ease-in-out infinite alternate}
@keyframes cs-glow{to{opacity:.75}}
.cs-flame{transform-box:fill-box;transform-origin:50% 100%;animation:cs-flicker .35s ease-in-out infinite alternate}
@keyframes cs-flicker{to{transform:scale(1.06,.9)}}
.cs-lantern{filter:drop-shadow(0 0 4px #ffcf6b)}
.cs-qty{font-size:11px;font-weight:700;fill:#ffd98a;font-family:inherit}
.cs-pop{animation:cs-pop .5s cubic-bezier(.3,1.5,.5,1) both}
@keyframes cs-pop{from{opacity:0;transform:translateY(-18px)}}
.cs-badge{position:absolute;top:12px;inset-inline-start:12px;display:flex;flex-direction:column;align-items:flex-start;padding:7px 12px;border-radius:14px;background:rgba(10,18,30,.45);color:#fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);max-width:75%}
.cs-badge-n{font-size:20px;line-height:1.2}
.cs-badge-text{font-size:12px;opacity:.9;line-height:1.6}

@media (max-width:900px){
 .cs-grid{grid-template-columns:1fr}
 .cs-stage{order:-1;position:sticky;top:84px;z-index:3;aspect-ratio:auto;height:min(220px,30vh)}
 .cs-badge{top:8px;inset-inline-start:8px;padding:5px 10px}
 .cs-badge-n{font-size:16px}
 .cs-control{padding:4px 14px}
 .cs-result{padding:4px 14px 14px}
 .cs-style small{display:none}
}
@media (prefers-reduced-motion:reduce){.cs-star,.cs-bulbs circle,.cs-glow,.cs-flame,.cs-pop,.cs-item{animation:none}}

/* add-to-cart: compact, left-aligned like the other planners */
.cs-result .cs-add{display:flex!important;width:fit-content;margin-inline-start:auto!important}
@media (max-width:900px){.cs-add{width:100%}}

/* 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 and a
   top-down night camp with a real fire pit, chairs and table
   ===================================================================== */
.cs-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)}
.cs-eyebrow{display:inline-block;font-size:13px;font-weight:700;color:var(--ember-deep,#a8501a)}
.cs-head{margin-bottom:22px}
.cs-head h2{margin:.45em 0 .3em;font-size:clamp(24px,3vw,36px);line-height:1.3;color:var(--ink)}
.cs-head p{font-size:14.5px;line-height:1.9}
@media (min-width:901px){.cs-grid{gap:24px}}
.cs-side{gap:18px}
.cs-control,.cs-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)}
.cs-style{border-radius:18px;box-shadow:0 6px 14px -12px rgba(31,45,36,.5)}
.cs-item img{border-radius:14px}
.cs-add{min-height:46px;padding-inline:20px;border-radius:14px;box-shadow:0 12px 24px -12px rgba(227,119,43,.65)}

.cs-stage{border-radius:26px;background:#1f271a;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06),0 26px 50px -30px rgba(15,20,10,.7)}
.cs-flame{transform-box:fill-box;transform-origin:50% 50%;animation:cs-fire 1.6s ease-in-out infinite}
@keyframes cs-fire{0%,100%{transform:scale(1);opacity:.95}25%{transform:scale(1.08,.96);opacity:1}50%{transform:scale(.94,1.05);opacity:.88}75%{transform:scale(1.04);opacity:1}}
.cs-glow{animation:cs-glow 2.2s ease-in-out infinite alternate}
@keyframes cs-glow{to{opacity:.78}}
.cs-embers circle{animation:cs-ember 1.3s ease-in-out infinite alternate}
.cs-embers circle:nth-child(2){animation-delay:-.4s}.cs-embers circle:nth-child(3){animation-delay:-.8s}
@keyframes cs-ember{to{fill:#ffcf6b;opacity:.6}}
.cs-sparks circle{animation:cs-spark 2.4s linear infinite;opacity:0}
.cs-sparks circle:nth-child(2){animation-delay:-.8s;animation-name:cs-spark2}.cs-sparks circle:nth-child(3){animation-delay:-1.6s;animation-name:cs-spark3}
@keyframes cs-spark{0%{transform:translate(0,0);opacity:1}100%{transform:translate(26px,-30px);opacity:0}}
@keyframes cs-spark2{0%{transform:translate(0,0);opacity:1}100%{transform:translate(-30px,-18px);opacity:0}}
@keyframes cs-spark3{0%{transform:translate(0,0);opacity:1}100%{transform:translate(8px,34px);opacity:0}}
.cs-lantern{filter:drop-shadow(0 0 3px #ffcf6b)}
.cs-qty{font-size:11px;font-weight:700;fill:#fff;font-family:inherit;paint-order:stroke;stroke:rgba(0,0,0,.6);stroke-width:2.4px}
.cs-pop{animation:cs-pop .5s cubic-bezier(.3,1.5,.5,1) both}
@keyframes cs-pop{from{opacity:0;transform:scale(.6)}}
.cs-badge{top:14px;inset-inline-start:14px;padding:8px 13px;border-radius:16px;background:rgba(255,253,248,.78);color:var(--ink);border:1px solid rgba(255,255,255,.8);box-shadow:0 8px 18px -10px rgba(0,0,0,.6)}
.cs-badge-n{font-weight:800;color:var(--forest)}
.cs-badge-text{opacity:1;color:var(--muted)}
@media (max-width:600px){
 .cs-shell{padding:16px 12px;border-radius:24px;margin-inline:-4px}
}
@media (prefers-reduced-motion:reduce){.cs-flame,.cs-embers circle,.cs-sparks circle{animation:none}}

.cs-badge{top:auto;bottom:14px}
@media (max-width:900px){.cs-badge{top:auto;bottom:8px}}
@media (max-width:900px){
 .cs-stage{aspect-ratio:400/300;height:auto;max-height:44vh}
 .cs-badge{padding:4px 9px;border-radius:12px}
 .cs-badge-n{font-size:14px}
 .cs-badge-text{font-size:10.5px}
}
@media (max-width:900px){.cs-badge{top:8px;bottom:auto}}

/* ---------- result card: title and an empty state like the fitting room ---------- */
.cs-result{padding-top:16px}
.cs-result-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.cs-result-head strong{font-size:16px;color:var(--ink)}
.cs-empty{display:none;margin:4px 0 2px}
.camp-set.is-empty .cs-empty{display:block}
.camp-set.is-empty .cs-list,.camp-set.is-empty .cs-note{display:none}
.cs-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)}
.cs-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}
.cs-empty-box b{font-size:13.5px;color:var(--forest)}
.cs-empty-box small{font-size:12px;color:var(--muted);line-height:1.8;max-width:330px}
.camp-set.is-empty .cs-totals{padding-top:14px;border-top:1px solid rgba(37,60,49,.12)}
.cs-add[disabled]{opacity:.45;cursor:not-allowed;box-shadow:none;filter:grayscale(.4)}
