/* ═══════════════════════════════════════════════════════════════════════════
   BAECO 2026 — FLUXUL FINAL: ACCORDION 01→04 + CONFIGURAȚIA TA
   (ordin owner 29.09.2026 — „acceași identitate vizuală ca restul BAECO")
   ═══════════════════════════════════════════════════════════════════════════
   Limba vizuală: EXCLUSIV token-ele site-ului (--fr --ch --cr --wh --oak
   --oakl --serif --body --italic din premium2026.css). Configuratorul nu mai
   este o insulă ivory «lipită» peste site — secțiunea revine pe verdele
   forestier nativ (.cfg-sec din configurator.css), cardurile pe suprafețe
   translucide calde cu hairline-uri rgba(245,240,232,·), accentul pe oak,
   titlurile Playfair, butoanele limba .btn-p (2px, uppercase, sweep oakl).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. ZONA CONFIGURATORULUI: panourile native ASCUNSE, fundalul NATIV forest ──
   (.cfg-sec rămâne pe var(--fr) din configurator.css — aceeași bandă forestieră
   continuă cfg-hero → configurator → cfg-help; fără insule «lipite» peste site) */
#configurator.cfg-sec .cfg-in { background: transparent; }
#configurator-root .cfg-head,
#configurator-root .cfgui-models-label,
#configurator-root .cfg-models,
#configurator-root .cfg-panel,
#configurator-root .cfg-price,
.bsb { display: none !important; }
#configurator-root .cfg-in { padding-top: 46px !important; }

/* ── 2. GRILA: 3D mare la stânga (sticky, permanent) · fluxul 01→04 la dreapta ── */
@media (min-width: 1024px) {
  #configurator-root .cfg-in {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 34px;
    align-items: start;
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 28px;
    padding-right: 28px;
  }
  #configurator-root .cfg-grid { display: contents; }
  #configurator-root .cfg-grid > div:first-child { display: contents; }
  #configurator-root .cfg-3d {
    grid-column: 1; grid-row: 1;
    position: sticky; top: 86px;
  }
  #baeco2026 { grid-column: 2; grid-row: 1; min-width: 0; }
  #configurator-root .cfg-3dcanvas { height: 600px; }
}
@media (max-width: 1023px) {
  #configurator-root .cfg-3d { margin: 0 18px; }
  #configurator-root .cfg-3dcanvas { height: 58vw; min-height: 320px; max-height: 460px; }
  #baeco2026 { padding: 0 18px 8px; }
}

/* hint-ul discret de sub 3D — bara nativă întunecată a site-ului (ne mai forțăm ivory) */
#configurator-root .cfg-3dfoot {
  color: rgba(245, 240, 232, .55) !important;
  font-size: .74rem !important;
  justify-content: center !important; padding: 10px 2px 0 !important;
}

/* ═══════════════ FLUXUL: PAȘII-ACCORDION ═══════════════ */
#baeco2026 { font-family: var(--body); color: var(--cr); }
#baeco2026 * { box-sizing: border-box; }

.b26-step {
  border: 1px solid rgba(245, 240, 232, .12);
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(245, 240, 232, .05), rgba(245, 240, 232, .015));
  margin: 0 0 14px;
  transition: border-color .25s ease, background .25s ease;
}
.b26-step.open {
  border-color: rgba(245, 240, 232, .22);
  background: linear-gradient(160deg, rgba(245, 240, 232, .07), rgba(245, 240, 232, .02));
}

/* antetul pasului: 01 · Titlu · alegerea curentă ✓ · ▾ */
.b26-sh { margin: 0; }
.b26-acc-btn {
  display: flex; align-items: center; gap: 13px;
  width: 100%; padding: 16px 18px;
  background: none; border: none; cursor: pointer;
  text-align: left; font-family: var(--body); color: var(--cr);
}
.b26-sn {
  font-size: .7rem; font-weight: 700; letter-spacing: .18em;
  color: var(--oak); flex: 0 0 auto;
}
.b26-st {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 600;
  color: var(--wh); letter-spacing: .01em; flex: 0 0 auto;
}
.b26-cur {
  margin-left: auto; text-align: right;
  font-size: .78rem; color: rgba(245, 240, 232, .58);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-width: 0;
}
.b26-cur b { color: rgba(245, 240, 232, .88); font-weight: 500; }
.b26-cur .b26-ok,
.b26-ok { color: var(--oakl); font-style: normal; }
.b26-cur .b26-ok { margin-left: 6px; }
.b26-curm { font-family: var(--italic); font-style: italic; color: rgba(245, 240, 232, .45); }
.b26-chev {
  flex: 0 0 auto; color: rgba(245, 240, 232, .4); font-style: normal;
  transition: transform .25s ease, color .25s ease;
}
.b26-step.open .b26-chev { transform: rotate(180deg); color: var(--oakl); }

/* corpul pasului — se deschide la clic, listă verticală simplă */
.b26-acc-b {
  display: none;
  border-top: 1px solid rgba(245, 240, 232, .08);
  padding: 6px 10px 12px;
}
.b26-step.open .b26-acc-b { display: block; animation: b26fade .3s ease; }
@keyframes b26fade { from { opacity: 0; transform: translateY(-5px); } }

/* ── rânduri generice de listă (01 modele · 02 finisaje · 03 volieră) ── */
.b26-mrow, .b26-frow, .b26-trow {
  display: grid; align-items: center; gap: 14px;
  width: 100%; padding: 11px 10px;
  background: none; border: none;
  border-bottom: 1px solid rgba(245, 240, 232, .07);
  border-radius: 3px; cursor: pointer; text-align: left;
  font-family: var(--body); color: var(--cr);
  transition: background .15s ease;
}
.b26-mlist .b26-mrow:last-child,
.b26-flist .b26-frow:last-child,
.b26-tlist .b26-trow:last-child { border-bottom: none; }
.b26-mrow:hover, .b26-frow:hover, .b26-trow:hover { background: rgba(245, 240, 232, .04); }
.b26-mrow.on, .b26-frow.on, .b26-trow.on { background: rgba(184, 135, 58, .12); }
.b26-mrow:focus-visible, .b26-frow:focus-visible, .b26-trow:focus-visible,
.b26-orow:focus-visible, .b26-acc-btn:focus-visible, .b26-pill:focus-visible,
.b26-gata:focus-visible, .b26-copy:focus-visible {
  outline: 2px solid var(--oakl); outline-offset: -2px;
}

/* miniatura (foto de produs, ca peste tot în site) */
.b26-mrow, .b26-frow { grid-template-columns: 58px minmax(0, 1fr) auto; }
.b26-mthumb {
  width: 58px; height: 44px; border-radius: 3px; overflow: hidden;
  background: #2D4A2A; flex: 0 0 auto;
}
.b26-mthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.b26-mname {
  display: block; font-family: var(--serif); font-size: .98rem;
  font-weight: 600; color: var(--wh); line-height: 1.25;
}
.b26-msize {
  font-family: var(--body); font-style: normal; font-size: .64rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(245, 240, 232, .5); margin-left: 7px;
}
.b26-mcap {
  display: block; font-size: .72rem; color: rgba(245, 240, 232, .5);
  margin-top: 2px; line-height: 1.45;
}
.b26-mmeta { display: flex; align-items: center; gap: 10px; }
.b26-mprice {
  font-size: .88rem; font-weight: 600; color: var(--oakl); white-space: nowrap;
}
.b26-mrow .b26-ok, .b26-frow .b26-ok { display: none; font-weight: 700; }
.b26-mrow.on .b26-ok, .b26-frow.on .b26-ok { display: inline; }

/* ── 03 volieră: etichetă + tarif + bifă ── */
.b26-trow { grid-template-columns: minmax(0, 1fr) auto auto; }
.b26-tlab { font-size: .88rem; color: var(--cr); }
.b26-trow.on .b26-tlab { color: var(--wh); font-weight: 600; }
.b26-tp { font-size: .84rem; font-weight: 600; color: var(--oakl); white-space: nowrap; }
.b26-tp0 { visibility: hidden; }
.b26-trow .b26-ok { display: none; font-weight: 700; }
.b26-trow.on .b26-ok { display: inline; }

/* sub-bloc discret: ușa volierei (doar cu volieră > 0, §18) */
.b26-sub {
  margin-top: 10px; padding-top: 12px;
  border-top: 1px dashed rgba(245, 240, 232, .14);
}
.b26-subh {
  margin: 0 0 10px; font-size: .66rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(245, 240, 232, .5);
}
.b26-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.b26-pill {
  padding: 8px 13px; border: 1px solid rgba(245, 240, 232, .16);
  border-radius: 3px; background: none; cursor: pointer;
  font-family: var(--body); font-size: .76rem; color: rgba(245, 240, 232, .72);
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.b26-pill:hover { border-color: rgba(245, 240, 232, .3); color: var(--cr); }
.b26-pill.on {
  border-color: var(--oak); color: var(--oakl);
  background: rgba(184, 135, 58, .12); font-weight: 600;
}

/* ── 04 dotări: multi-alegere cu bifă + preț pe model ── */
.b26-orow {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 12px 10px;
  background: none; border: none;
  border-bottom: 1px solid rgba(245, 240, 232, .07);
  border-radius: 3px; cursor: pointer; text-align: left;
  font-family: var(--body); color: var(--cr);
  transition: background .15s ease;
}
.b26-olist .b26-orow:last-child { border-bottom: none; }
.b26-orow:hover { background: rgba(245, 240, 232, .04); }
.b26-orow.on { background: rgba(184, 135, 58, .12); }
.b26-ocheck {
  flex: 0 0 20px; width: 20px; height: 20px; border-radius: 3px;
  border: 1.5px solid rgba(245, 240, 232, .3); position: relative;
  transition: border-color .15s ease, background .15s ease;
}
.b26-orow.on .b26-ocheck { border-color: var(--oak); background: var(--oak); }
.b26-orow.on .b26-ocheck::after {
  content: ''; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 10px;
  border: solid var(--ch); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.b26-on { font-size: .88rem; font-weight: 600; color: var(--wh); }
.b26-od { font-size: .74rem; color: rgba(245, 240, 232, .5); line-height: 1.5; margin-top: 2px; }
.b26-op { font-size: .84rem; font-weight: 600; color: var(--oakl); white-space: nowrap; }

/* «Gata» — închide lista de dotări (limba .btn-g a site-ului) */
.b26-gata {
  display: block; width: 100%; margin-top: 10px; padding: 12px;
  background: none; border: 1px solid rgba(245, 240, 232, .2); border-radius: 2px;
  color: var(--cr); font-family: var(--body); font-size: .7rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.b26-gata:hover { border-color: var(--oak); color: var(--oakl); background: rgba(184, 135, 58, .05); }

/* ── personalizarea discretă a finisajului (§13, închisă implicit) ── */
.b26-fperso {
  margin: 12px 10px 0; font-size: .76rem; color: var(--oakl);
  letter-spacing: .03em;
}
.b26-fperso::before { content: '●'; font-size: .5rem; vertical-align: middle; margin-right: 7px; }
.b26-perso {
  margin: 12px 10px 2px; border: 1px solid rgba(245, 240, 232, .12); border-radius: 3px;
}
.b26-perso > summary {
  list-style: none; cursor: pointer; padding: 11px 14px;
  font-size: .78rem; color: rgba(245, 240, 232, .55); user-select: none;
}
.b26-perso > summary::before { content: '▾ '; color: rgba(245, 240, 232, .4); }
.b26-perso[open] > summary { border-bottom: 1px solid rgba(245, 240, 232, .08); }
.b26-perso[open] > summary::before { content: '▴ '; }
.b26-perso > summary:hover { color: var(--cr); }
.b26-perso-in { padding: 4px 14px 14px; }
.b26-crow { display: flex; align-items: flex-start; gap: 14px; padding: 10px 0; }
.b26-crow + .b26-crow { border-top: 1px solid rgba(245, 240, 232, .08); }
.b26-clab {
  flex: 0 0 74px; font-size: .72rem; font-weight: 600; color: rgba(245, 240, 232, .5);
  letter-spacing: .05em; text-transform: uppercase; padding-top: 9px;
}
.b26-swlist { display: flex; flex-wrap: wrap; gap: 8px; }
.b26-sw {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 76px; padding: 8px 4px 7px; cursor: pointer;
  background: none; border: 1px solid rgba(245, 240, 232, .14); border-radius: 3px;
  font-family: var(--body); font-size: .66rem; color: rgba(245, 240, 232, .6);
  transition: border-color .15s ease, color .15s ease;
}
.b26-sw i {
  width: 26px; height: 26px; border-radius: 50%; display: block;
  border: 1px solid rgba(245, 240, 232, .2);
}
.b26-sw:hover { border-color: rgba(245, 240, 232, .32); color: var(--cr); }
.b26-sw.on { border-color: var(--oak); color: var(--cr); background: rgba(184, 135, 58, .1); }
.b26-sw span { text-align: center; line-height: 1.25; }

/* ═══════════════ CONFIGURAȚIA TA (apare automat; §21/§22) ═══════════════ */
.b26-step-rez { margin: 26px 0 0; }
#b26-rezumat[hidden] { display: none; }
.b26-rez {
  background: linear-gradient(165deg, rgba(184, 135, 58, .12), rgba(245, 240, 232, .03));
  border: 1px solid rgba(184, 135, 58, .35);
  border-radius: 4px;
  padding: 22px 22px 20px;
  animation: b26sum .45s ease;
}
@keyframes b26sum { from { opacity: 0; transform: translateY(14px); } }
@media (min-width: 1024px) { .b26-rez { position: sticky; bottom: 20px; } }

.b26-rez-tag {
  margin: 0 0 4px; font-size: .64rem; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; color: var(--oakl);
}
.b26-lines { margin-bottom: 4px; }
.b26-line {
  padding: 7px 0; border-bottom: 1px dashed rgba(245, 240, 232, .12);
  font-size: .84rem; color: var(--cr); line-height: 1.45;
}
.b26-lines .b26-line:first-child { padding-top: 10px; }

.b26-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  border-top: 1px solid rgba(245, 240, 232, .14); padding-top: 13px; margin-top: 4px;
}
.b26-total > span {
  font-size: .66rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(245, 240, 232, .55);
}
.b26-total strong { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--oakl); }
.b26-total em {
  font-style: normal; font-family: var(--body); font-size: .64rem;
  font-weight: 400; color: rgba(245, 240, 232, .5); margin-left: 6px;
}

.b26-id {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgba(245, 240, 232, .12);
}
.b26-idlab { font-size: .68rem; color: rgba(245, 240, 232, .45); letter-spacing: .03em; }
.b26-id code {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: .74rem; color: var(--cr); background: rgba(245, 240, 232, .06);
  border: 1px solid rgba(245, 240, 232, .14); border-radius: 3px; padding: 3px 8px;
}
.b26-copy {
  margin-left: auto; background: none; border: 1px solid rgba(245, 240, 232, .2);
  border-radius: 2px; padding: 4px 10px; font-family: var(--body);
  font-size: .68rem; letter-spacing: .06em; color: rgba(245, 240, 232, .6); cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.b26-copy:hover { border-color: var(--oak); color: var(--oakl); }

/* UN SINGUR CTA principal — limba exactă a .btn-p din site (oak, 2px, sweep) */
.b26-cta {
  display: block; width: 100%; margin-top: 16px;
  background: var(--oak); color: var(--ch); border: none; border-radius: 2px;
  padding: 15px 20px; font-family: var(--body); font-size: .78rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; cursor: pointer;
  position: relative; overflow: hidden; text-align: center;
  transition: all .3s cubic-bezier(.23, 1, .32, 1);
}
.b26-cta::after {
  content: ''; position: absolute; inset: 0; background: var(--oakl);
  transform: translateX(-101%); transition: transform .3s cubic-bezier(.23, 1, .32, 1);
}
.b26-cta:hover::after { transform: translateX(0); }
.b26-cta span { position: relative; z-index: 1; }
.b26-cta:focus-visible { outline: 2px solid var(--wh); outline-offset: 2px; }

/* ── bara compactă mobil (§21: proxy discret al rezumatului, limba site-ului) ── */
.b26-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; align-items: center; gap: 12px;
  background: rgba(26, 26, 24, .97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(245, 240, 232, .12);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .35);
}
@media (max-width: 1023px) { .b26-bar[hidden] { display: none; } .b26-bar { display: flex; } }
.b26-bar-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.b26-bar-info b { font-size: .84rem; font-weight: 700; color: var(--wh); }
.b26-bar-info span {
  font-size: .68rem; color: rgba(245, 240, 232, .55); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.b26-bar-info strong { font-size: .9rem; font-weight: 700; color: var(--oakl); }
.b26-bar-cta {
  flex: 0 0 auto; background: var(--oak); color: var(--ch); border: none;
  border-radius: 2px; padding: 11px 15px; font-family: var(--body);
  font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; transition: background .2s ease;
}
.b26-bar-cta:hover { background: var(--oakl); }
@media (min-width: 1024px) { .b26-bar { display: none !important; } }

/* ── mobil: antete mai compacte, eticheta curentă pe 2 rânduri maxim ── */
@media (max-width: 767px) {
  .b26-acc-btn { padding: 14px 14px; gap: 10px; }
  .b26-sn { letter-spacing: .14em; }
  .b26-st { font-size: 1rem; }
  .b26-cur { font-size: .72rem; max-width: 44%; }
  .b26-mrow, .b26-frow { grid-template-columns: 50px minmax(0, 1fr) auto; gap: 11px; }
  .b26-mthumb { width: 50px; height: 40px; }
  .b26-acc-b { padding: 4px 8px 10px; }
  .b26-rez { padding: 18px 16px 16px; }
  .b26-total strong { font-size: 1.38rem; }
}
